@rulebricks/sdk 1.5.0 → 2.0.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/BaseClient.d.ts +39 -0
- package/BaseClient.js +59 -0
- package/Client.d.ts +30 -43
- package/Client.js +23 -19
- package/api/errors/BadRequestError.d.ts +3 -5
- package/api/errors/BadRequestError.js +26 -13
- package/api/errors/ForbiddenError.d.ts +3 -5
- package/api/errors/ForbiddenError.js +26 -13
- package/api/errors/InternalServerError.d.ts +3 -5
- package/api/errors/InternalServerError.js +26 -13
- package/api/errors/NotFoundError.d.ts +3 -5
- package/api/errors/NotFoundError.js +26 -13
- package/api/errors/index.d.ts +4 -4
- package/api/errors/index.js +4 -4
- package/api/index.d.ts +3 -3
- package/api/index.js +3 -3
- package/api/resources/assets/client/Client.d.ts +76 -39
- package/api/resources/assets/client/Client.js +184 -59
- package/api/resources/assets/client/index.d.ts +1 -1
- package/api/resources/assets/client/index.js +15 -0
- package/api/resources/assets/client/requests/ExportManifestRequest.d.ts +23 -0
- package/api/resources/assets/client/requests/ExportManifestRequest.js +3 -0
- package/api/resources/assets/client/requests/ImportManifestRequest.d.ts +48 -0
- package/api/resources/assets/client/requests/ImportManifestRequest.js +3 -0
- package/api/resources/assets/client/requests/index.d.ts +2 -0
- package/api/resources/assets/index.d.ts +3 -2
- package/api/resources/assets/index.js +3 -2
- package/api/resources/assets/resources/flows/client/Client.d.ts +13 -30
- package/api/resources/assets/resources/flows/client/Client.js +48 -58
- package/api/resources/assets/resources/flows/index.d.ts +1 -1
- package/api/resources/assets/resources/flows/index.js +1 -1
- package/api/resources/assets/resources/folders/client/Client.d.ts +19 -34
- package/api/resources/assets/resources/folders/client/Client.js +89 -115
- package/api/resources/assets/resources/folders/client/index.d.ts +1 -1
- package/api/resources/assets/resources/folders/client/index.js +1 -1
- package/api/resources/assets/resources/folders/client/requests/DeleteFolderRequest.d.ts +0 -3
- package/api/resources/assets/resources/folders/client/requests/DeleteFolderRequest.js +1 -3
- package/api/resources/assets/resources/folders/client/requests/UpsertFolderRequest.d.ts +0 -3
- package/api/resources/assets/resources/folders/client/requests/UpsertFolderRequest.js +1 -3
- package/api/resources/assets/resources/folders/client/requests/index.d.ts +2 -2
- package/api/resources/assets/resources/folders/index.d.ts +1 -1
- package/api/resources/assets/resources/folders/index.js +1 -1
- package/api/resources/assets/resources/index.d.ts +5 -5
- package/api/resources/assets/resources/index.js +23 -13
- package/api/resources/assets/resources/rules/client/Client.d.ts +31 -42
- package/api/resources/assets/resources/rules/client/Client.js +123 -158
- package/api/resources/assets/resources/rules/client/index.d.ts +1 -1
- package/api/resources/assets/resources/rules/client/index.js +1 -1
- package/api/resources/assets/resources/rules/client/requests/DeleteRuleRequest.d.ts +1 -4
- package/api/resources/assets/resources/rules/client/requests/DeleteRuleRequest.js +1 -3
- package/api/resources/assets/resources/rules/client/requests/ImportRuleRequest.d.ts +2 -4
- package/api/resources/assets/resources/rules/client/requests/ImportRuleRequest.js +1 -3
- package/api/resources/assets/resources/rules/client/requests/ListRulesRequest.d.ts +10 -0
- package/api/resources/assets/resources/rules/client/requests/ListRulesRequest.js +3 -0
- package/api/resources/assets/resources/rules/client/requests/PullRulesRequest.d.ts +10 -0
- package/api/resources/assets/resources/rules/client/requests/PullRulesRequest.js +3 -0
- package/api/resources/assets/resources/rules/client/requests/index.d.ts +4 -4
- package/api/resources/assets/resources/rules/index.d.ts +1 -1
- package/api/resources/assets/resources/rules/index.js +1 -1
- package/api/resources/assets/types/ExportAssetsResponse.d.ts +2 -0
- package/api/resources/assets/types/ExportAssetsResponse.js +3 -0
- package/api/resources/assets/types/index.d.ts +1 -0
- package/api/resources/assets/types/index.js +17 -0
- package/api/resources/contexts/client/Client.d.ts +167 -0
- package/api/resources/contexts/client/Client.js +563 -0
- package/api/resources/contexts/client/index.d.ts +1 -0
- package/api/resources/contexts/client/index.js +17 -0
- package/api/resources/contexts/client/requests/CascadeContextRequest.d.ts +15 -0
- package/api/resources/contexts/client/requests/CascadeContextRequest.js +3 -0
- package/api/resources/contexts/client/requests/DeleteInstanceContextsRequest.d.ts +13 -0
- package/api/resources/contexts/client/requests/DeleteInstanceContextsRequest.js +3 -0
- package/api/resources/contexts/client/requests/GetHistoryContextsRequest.d.ts +17 -0
- package/api/resources/contexts/client/requests/GetHistoryContextsRequest.js +3 -0
- package/api/resources/contexts/client/requests/GetInstanceContextsRequest.d.ts +13 -0
- package/api/resources/contexts/client/requests/GetInstanceContextsRequest.js +3 -0
- package/api/resources/contexts/client/requests/GetPendingContextsRequest.d.ts +13 -0
- package/api/resources/contexts/client/requests/GetPendingContextsRequest.js +3 -0
- package/api/resources/contexts/client/requests/SolveContextFlowRequest.d.ts +20 -0
- package/api/resources/contexts/client/requests/SolveContextFlowRequest.js +3 -0
- package/api/resources/contexts/client/requests/SolveContextRuleRequest.d.ts +20 -0
- package/api/resources/contexts/client/requests/SolveContextRuleRequest.js +3 -0
- package/api/resources/contexts/client/requests/SubmitContextsRequest.d.ts +19 -0
- package/api/resources/contexts/client/requests/SubmitContextsRequest.js +3 -0
- package/api/resources/contexts/client/requests/index.d.ts +8 -0
- package/api/resources/contexts/index.d.ts +2 -0
- package/api/resources/contexts/index.js +18 -0
- package/api/resources/contexts/resources/admin/client/Client.d.ts +102 -0
- package/api/resources/contexts/resources/admin/client/Client.js +353 -0
- package/api/resources/contexts/resources/admin/client/index.d.ts +1 -0
- package/api/resources/contexts/resources/admin/client/index.js +17 -0
- package/api/resources/contexts/resources/admin/client/requests/CreateContextRequest.d.ts +55 -0
- package/api/resources/contexts/resources/admin/client/requests/CreateContextRequest.js +12 -0
- package/api/resources/contexts/resources/admin/client/requests/DeleteAdminRequest.d.ts +10 -0
- package/api/resources/contexts/resources/admin/client/requests/DeleteAdminRequest.js +3 -0
- package/api/resources/contexts/resources/admin/client/requests/GetAdminRequest.d.ts +10 -0
- package/api/resources/contexts/resources/admin/client/requests/GetAdminRequest.js +3 -0
- package/api/resources/contexts/resources/admin/client/requests/UpdateContextRequest.d.ts +49 -0
- package/api/resources/contexts/resources/admin/client/requests/UpdateContextRequest.js +12 -0
- package/api/resources/contexts/resources/admin/client/requests/index.d.ts +4 -0
- package/api/resources/contexts/resources/admin/index.d.ts +1 -0
- package/api/resources/contexts/resources/admin/index.js +17 -0
- package/api/resources/contexts/resources/index.d.ts +4 -0
- package/api/resources/contexts/resources/index.js +43 -0
- package/api/resources/contexts/resources/relationships/client/Client.d.ts +67 -0
- package/api/resources/contexts/resources/relationships/client/Client.js +252 -0
- package/api/resources/contexts/resources/relationships/client/index.d.ts +1 -0
- package/api/resources/contexts/resources/relationships/client/index.js +17 -0
- package/api/resources/contexts/resources/relationships/client/requests/CreateRelationshipRequest.d.ts +33 -0
- package/api/resources/contexts/resources/relationships/client/requests/CreateRelationshipRequest.js +13 -0
- package/api/resources/contexts/resources/relationships/client/requests/DeleteRelationshipsRequest.d.ts +13 -0
- package/api/resources/contexts/resources/relationships/client/requests/DeleteRelationshipsRequest.js +3 -0
- package/api/resources/contexts/resources/relationships/client/requests/ListRelationshipsRequest.d.ts +10 -0
- package/api/resources/contexts/resources/relationships/client/requests/ListRelationshipsRequest.js +3 -0
- package/api/resources/contexts/resources/relationships/client/requests/index.d.ts +3 -0
- package/api/resources/contexts/resources/relationships/index.d.ts +1 -0
- package/api/resources/contexts/resources/relationships/index.js +17 -0
- package/api/resources/decisions/client/Client.d.ts +19 -34
- package/api/resources/decisions/client/Client.js +79 -74
- package/api/resources/decisions/client/index.d.ts +1 -1
- package/api/resources/decisions/client/index.js +1 -1
- package/api/resources/decisions/client/requests/QueryDecisionsRequest.d.ts +36 -0
- package/api/resources/decisions/client/requests/QueryDecisionsRequest.js +3 -0
- package/api/resources/decisions/client/requests/index.d.ts +1 -1
- package/api/resources/decisions/index.d.ts +2 -1
- package/api/resources/decisions/index.js +2 -1
- package/api/resources/decisions/types/QueryDecisionsRequestCount.d.ts +5 -0
- package/api/resources/decisions/types/QueryDecisionsRequestCount.js +8 -0
- package/api/resources/decisions/types/index.d.ts +1 -0
- package/api/resources/decisions/types/index.js +17 -0
- package/api/resources/flows/client/Client.d.ts +23 -36
- package/api/resources/flows/client/Client.js +62 -65
- package/api/resources/flows/client/index.d.ts +1 -1
- package/api/resources/flows/client/index.js +15 -0
- package/api/resources/flows/client/requests/ExecuteFlowsRequest.d.ts +19 -0
- package/api/resources/flows/client/requests/ExecuteFlowsRequest.js +3 -0
- package/api/resources/flows/client/requests/index.d.ts +1 -0
- package/api/resources/flows/index.d.ts +1 -1
- package/api/resources/flows/index.js +1 -1
- package/api/resources/index.d.ts +17 -11
- package/api/resources/index.js +35 -19
- package/api/resources/rules/client/Client.d.ts +55 -56
- package/api/resources/rules/client/Client.js +130 -138
- package/api/resources/rules/client/index.d.ts +1 -1
- package/api/resources/rules/client/index.js +15 -0
- package/api/resources/rules/client/requests/BulkSolveRulesRequest.d.ts +21 -0
- package/api/resources/rules/client/requests/BulkSolveRulesRequest.js +3 -0
- package/api/resources/rules/client/requests/SolveRulesRequest.d.ts +19 -0
- package/api/resources/rules/client/requests/SolveRulesRequest.js +3 -0
- package/api/resources/rules/client/requests/index.d.ts +2 -0
- package/api/resources/rules/index.d.ts +1 -1
- package/api/resources/rules/index.js +1 -1
- package/api/resources/tests/client/Client.d.ts +13 -21
- package/api/resources/tests/client/Client.js +11 -12
- package/api/resources/tests/index.d.ts +2 -2
- package/api/resources/tests/index.js +2 -2
- package/api/resources/tests/resources/flows/client/Client.d.ts +41 -50
- package/api/resources/tests/resources/flows/client/Client.js +117 -136
- package/api/resources/tests/resources/flows/client/index.d.ts +1 -1
- package/api/resources/tests/resources/flows/client/index.js +15 -0
- package/api/resources/tests/resources/flows/client/requests/CreateFlowsRequest.d.ts +22 -0
- package/api/resources/tests/resources/flows/client/requests/CreateFlowsRequest.js +3 -0
- package/api/resources/tests/resources/flows/client/requests/DeleteFlowsRequest.d.ts +13 -0
- package/api/resources/tests/resources/flows/client/requests/DeleteFlowsRequest.js +3 -0
- package/api/resources/tests/resources/flows/client/requests/ListFlowsRequest.d.ts +10 -0
- package/api/resources/tests/resources/flows/client/requests/ListFlowsRequest.js +3 -0
- package/api/resources/tests/resources/flows/client/requests/index.d.ts +3 -0
- package/api/resources/tests/resources/flows/index.d.ts +1 -1
- package/api/resources/tests/resources/flows/index.js +1 -1
- package/api/resources/tests/resources/index.d.ts +4 -2
- package/api/resources/tests/resources/index.js +24 -9
- package/api/resources/tests/resources/rules/client/Client.d.ts +41 -50
- package/api/resources/tests/resources/rules/client/Client.js +117 -136
- package/api/resources/tests/resources/rules/client/index.d.ts +1 -1
- package/api/resources/tests/resources/rules/client/index.js +15 -0
- package/api/resources/tests/resources/rules/client/requests/CreateRulesRequest.d.ts +22 -0
- package/api/resources/tests/resources/rules/client/requests/CreateRulesRequest.js +3 -0
- package/api/resources/tests/resources/rules/client/requests/DeleteRulesRequest.d.ts +13 -0
- package/api/resources/tests/resources/rules/client/requests/DeleteRulesRequest.js +3 -0
- package/api/resources/tests/resources/rules/client/requests/ListRulesRequest.d.ts +10 -0
- package/api/resources/tests/resources/rules/client/requests/ListRulesRequest.js +3 -0
- package/api/resources/tests/resources/rules/client/requests/index.d.ts +3 -0
- package/api/resources/tests/resources/rules/index.d.ts +1 -1
- package/api/resources/tests/resources/rules/index.js +1 -1
- package/api/resources/users/client/Client.d.ts +57 -35
- package/api/resources/users/client/Client.js +166 -58
- package/api/resources/users/client/index.d.ts +1 -1
- package/api/resources/users/client/index.js +1 -1
- package/api/resources/users/client/requests/CreateUserRequest.d.ts +28 -0
- package/api/resources/users/client/requests/CreateUserRequest.js +3 -0
- package/api/resources/users/client/requests/UserInviteRequest.d.ts +17 -11
- package/api/resources/users/client/requests/UserInviteRequest.js +12 -3
- package/api/resources/users/client/requests/index.d.ts +2 -1
- package/api/resources/users/index.d.ts +2 -3
- package/api/resources/users/index.js +2 -3
- package/api/resources/users/resources/groups/client/Client.d.ts +16 -32
- package/api/resources/users/resources/groups/client/Client.js +68 -86
- package/api/resources/users/resources/groups/client/index.d.ts +1 -1
- package/api/resources/users/resources/groups/client/index.js +1 -1
- package/api/resources/users/resources/groups/client/requests/CreateUserGroupRequest.d.ts +0 -3
- package/api/resources/users/resources/groups/client/requests/CreateUserGroupRequest.js +1 -3
- package/api/resources/users/resources/groups/client/requests/index.d.ts +1 -1
- package/api/resources/users/resources/groups/index.d.ts +1 -1
- package/api/resources/users/resources/groups/index.js +1 -1
- package/api/resources/users/resources/index.d.ts +2 -2
- package/api/resources/users/resources/index.js +19 -9
- package/api/resources/values/client/Client.d.ts +24 -39
- package/api/resources/values/client/Client.js +99 -129
- package/api/resources/values/client/index.d.ts +1 -1
- package/api/resources/values/client/index.js +1 -1
- package/api/resources/values/client/requests/DeleteValuesRequest.d.ts +10 -0
- package/api/resources/values/client/requests/DeleteValuesRequest.js +3 -0
- package/api/resources/values/client/requests/ListValuesRequest.d.ts +17 -0
- package/api/resources/values/client/requests/ListValuesRequest.js +3 -0
- package/api/resources/values/client/requests/UpdateValuesRequest.d.ts +6 -9
- package/api/resources/values/client/requests/UpdateValuesRequest.js +1 -3
- package/api/resources/values/client/requests/index.d.ts +3 -3
- package/api/resources/values/index.d.ts +1 -1
- package/api/resources/values/index.js +1 -1
- package/api/types/BulkRuleResponseItem.d.ts +4 -5
- package/api/types/BulkRuleResponseItem.js +1 -3
- package/api/types/CascadeContextResponse.d.ts +10 -0
- package/api/types/CascadeContextResponse.js +3 -0
- package/api/types/CascadeResult.d.ts +29 -0
- package/api/types/CascadeResult.js +12 -0
- package/api/types/ContextBase.d.ts +33 -0
- package/api/types/ContextBase.js +12 -0
- package/api/types/ContextDetail.d.ts +58 -0
- package/api/types/ContextDetail.js +3 -0
- package/api/types/ContextInstanceHistory.d.ts +10 -0
- package/api/types/ContextInstanceHistory.js +3 -0
- package/api/types/ContextInstanceHistoryEntry.d.ts +9 -0
- package/api/types/ContextInstanceHistoryEntry.js +3 -0
- package/api/types/ContextInstancePendingEvaluation.d.ts +29 -0
- package/api/types/ContextInstancePendingEvaluation.js +12 -0
- package/api/types/ContextInstancePendingResponse.d.ts +8 -0
- package/api/types/ContextInstancePendingResponse.js +3 -0
- package/api/types/ContextInstanceState.d.ts +31 -0
- package/api/types/ContextInstanceState.js +12 -0
- package/api/types/ContextListResponse.d.ts +2 -0
- package/api/types/ContextListResponse.js +3 -0
- package/api/types/ContextRelationshipBase.d.ts +21 -0
- package/api/types/ContextRelationshipBase.js +13 -0
- package/api/types/ContextRelationshipIncoming.d.ts +11 -0
- package/api/types/ContextRelationshipIncoming.js +3 -0
- package/api/types/ContextRelationshipOutgoing.d.ts +11 -0
- package/api/types/ContextRelationshipOutgoing.js +3 -0
- package/api/types/ContextRelationshipsResponse.d.ts +5 -0
- package/api/types/ContextRelationshipsResponse.js +3 -0
- package/api/types/ContextSchema.d.ts +10 -0
- package/api/types/ContextSchema.js +3 -0
- package/api/types/ContextSchemaField.d.ts +35 -0
- package/api/types/ContextSchemaField.js +16 -0
- package/api/types/CreateContextResponse.d.ts +2 -0
- package/api/types/CreateContextResponse.js +3 -0
- package/api/types/CreateRelationshipResponse.d.ts +2 -0
- package/api/types/CreateRelationshipResponse.js +3 -0
- package/api/types/CreateTestRequest.d.ts +0 -3
- package/api/types/CreateTestRequest.js +1 -3
- package/api/types/CreateUserResponse.d.ts +26 -0
- package/api/types/CreateUserResponse.js +3 -0
- package/api/types/DecisionLog.d.ts +21 -5
- package/api/types/DecisionLog.js +1 -3
- package/api/types/DecisionLogResponse.d.ts +7 -4
- package/api/types/DecisionLogResponse.js +1 -3
- package/api/types/DeleteContextInstanceResponse.d.ts +9 -0
- package/api/types/DeleteContextInstanceResponse.js +3 -0
- package/api/types/DeleteContextResponse.d.ts +13 -0
- package/api/types/DeleteContextResponse.js +3 -0
- package/api/types/DeleteRelationshipResponse.d.ts +4 -0
- package/api/types/DeleteRelationshipResponse.js +3 -0
- package/api/types/DynamicRequestPayload.d.ts +1 -4
- package/api/types/DynamicRequestPayload.js +1 -3
- package/api/types/DynamicResponsePayload.d.ts +1 -4
- package/api/types/DynamicResponsePayload.js +1 -3
- package/api/types/DynamicValue.d.ts +11 -7
- package/api/types/DynamicValue.js +1 -3
- package/api/types/DynamicValueListResponse.d.ts +2 -5
- package/api/types/DynamicValueListResponse.js +1 -3
- package/api/types/Error_.d.ts +0 -3
- package/api/types/Error_.js +1 -3
- package/api/types/ExportManifestPreviewResponse.d.ts +51 -0
- package/api/types/ExportManifestPreviewResponse.js +3 -0
- package/api/types/ExportManifestResponse.d.ts +9 -0
- package/api/types/ExportManifestResponse.js +3 -0
- package/api/types/FlowBase.d.ts +0 -3
- package/api/types/FlowBase.js +1 -3
- package/api/types/FlowDetail.d.ts +30 -5
- package/api/types/FlowDetail.js +1 -3
- package/api/types/FlowExecutionError.d.ts +0 -3
- package/api/types/FlowExecutionError.js +1 -3
- package/api/types/FlowListResponse.d.ts +2 -5
- package/api/types/FlowListResponse.js +1 -3
- package/api/types/Folder.d.ts +1 -4
- package/api/types/Folder.js +1 -3
- package/api/types/FolderListResponse.d.ts +2 -5
- package/api/types/FolderListResponse.js +1 -3
- package/api/types/ImportManifestResponse.d.ts +38 -0
- package/api/types/ImportManifestResponse.js +3 -0
- package/api/types/ParallelSolveRequest.d.ts +11 -5
- package/api/types/ParallelSolveRequest.js +1 -3
- package/api/types/ParallelSolveResponse.d.ts +2 -5
- package/api/types/ParallelSolveResponse.js +1 -3
- package/api/types/RuleBase.d.ts +0 -3
- package/api/types/RuleBase.js +1 -3
- package/api/types/RuleDetail.d.ts +21 -7
- package/api/types/RuleDetail.js +1 -3
- package/api/types/RuleExport.d.ts +1 -4
- package/api/types/RuleExport.js +1 -3
- package/api/types/RuleListResponse.d.ts +2 -5
- package/api/types/RuleListResponse.js +1 -3
- package/api/types/RuleUsage.d.ts +1 -4
- package/api/types/RuleUsage.js +1 -3
- package/api/types/SchemaField.d.ts +18 -7
- package/api/types/SchemaField.js +13 -3
- package/api/types/SolveContextFlowResponse.d.ts +23 -0
- package/api/types/SolveContextFlowResponse.js +12 -0
- package/api/types/SolveContextRuleResponse.d.ts +26 -0
- package/api/types/SolveContextRuleResponse.js +12 -0
- package/api/types/SubmitContextDataRequest.d.ts +4 -0
- package/api/types/SubmitContextDataRequest.js +3 -0
- package/api/types/SubmitContextDataResponse.d.ts +30 -0
- package/api/types/SubmitContextDataResponse.js +12 -0
- package/api/types/SuccessMessage.d.ts +0 -3
- package/api/types/SuccessMessage.js +1 -3
- package/api/types/Test.d.ts +25 -6
- package/api/types/Test.js +1 -3
- package/api/types/TestListResponse.d.ts +2 -5
- package/api/types/TestListResponse.js +1 -3
- package/api/types/UpdateContextResponse.d.ts +2 -0
- package/api/types/UpdateContextResponse.js +3 -0
- package/api/types/UsageStatistics.d.ts +5 -8
- package/api/types/UsageStatistics.js +1 -3
- package/api/types/UserDetail.d.ts +19 -0
- package/api/types/UserDetail.js +3 -0
- package/api/types/UserGroup.d.ts +0 -3
- package/api/types/UserGroup.js +1 -3
- package/api/types/UserGroupListResponse.d.ts +2 -5
- package/api/types/UserGroupListResponse.js +1 -3
- package/api/types/UserInviteResponse.d.ts +11 -5
- package/api/types/UserInviteResponse.js +1 -3
- package/api/types/UserListResponse.d.ts +5 -0
- package/api/types/UserListResponse.js +3 -0
- package/api/types/ValueLimits.d.ts +4 -7
- package/api/types/ValueLimits.js +1 -3
- package/api/types/index.d.ts +63 -39
- package/api/types/index.js +63 -39
- package/auth/HeaderAuthProvider.d.ts +16 -0
- package/auth/HeaderAuthProvider.js +71 -0
- package/auth/index.d.ts +1 -0
- package/auth/index.js +5 -0
- package/core/auth/AuthProvider.d.ts +7 -0
- package/core/auth/AuthRequest.d.ts +9 -0
- package/core/auth/BasicAuth.d.ts +8 -0
- package/core/auth/BasicAuth.js +27 -0
- package/core/auth/BearerToken.d.ts +7 -0
- package/core/auth/BearerToken.js +16 -0
- package/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/core/auth/NoOpAuthProvider.js +9 -0
- package/core/auth/index.d.ts +5 -0
- package/core/auth/index.js +9 -0
- package/core/base64.d.ts +2 -0
- package/core/base64.js +26 -0
- package/core/exports.d.ts +1 -0
- package/core/exports.js +17 -0
- package/core/fetcher/APIResponse.d.ts +11 -1
- package/core/fetcher/BinaryResponse.d.ts +19 -0
- package/core/fetcher/BinaryResponse.js +17 -0
- package/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/core/fetcher/EndpointSupplier.js +22 -0
- package/core/fetcher/Fetcher.d.ts +17 -7
- package/core/fetcher/Fetcher.js +244 -28
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/Supplier.d.ts +1 -1
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +4 -9
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +45 -0
- package/core/fetcher/getFetchFn.d.ts +1 -4
- package/core/fetcher/getFetchFn.js +2 -44
- package/core/fetcher/getHeader.js +1 -2
- package/core/fetcher/getRequestBody.d.ts +1 -1
- package/core/fetcher/getRequestBody.js +9 -6
- package/core/fetcher/getResponseBody.js +43 -29
- package/core/fetcher/index.d.ts +11 -5
- package/core/fetcher/index.js +15 -7
- package/core/fetcher/makeRequest.d.ts +1 -1
- package/core/fetcher/makeRequest.js +4 -6
- package/core/fetcher/requestWithRetries.js +38 -12
- package/core/fetcher/signals.d.ts +1 -8
- package/core/fetcher/signals.js +2 -15
- package/core/headers.d.ts +2 -0
- package/core/headers.js +31 -0
- package/core/index.d.ts +6 -3
- package/core/index.js +24 -11
- package/core/json.d.ts +1 -1
- package/core/json.js +2 -2
- package/core/logging/exports.d.ts +18 -0
- package/core/logging/exports.js +45 -0
- package/core/logging/index.d.ts +1 -0
- package/core/logging/index.js +17 -0
- package/core/logging/logger.d.ts +126 -0
- package/core/logging/logger.js +144 -0
- package/core/runtime/index.d.ts +1 -1
- package/core/runtime/index.js +2 -2
- package/core/runtime/runtime.js +11 -11
- package/core/url/encodePathParam.d.ts +1 -0
- package/core/url/encodePathParam.js +21 -0
- package/core/url/index.d.ts +3 -0
- package/core/url/index.js +9 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +68 -0
- package/core/url/qs.d.ts +6 -0
- package/core/url/qs.js +64 -0
- package/dist/BaseClient.d.ts +39 -0
- package/dist/BaseClient.js +59 -0
- package/dist/Client.d.ts +30 -43
- package/dist/Client.js +23 -19
- package/dist/api/errors/BadRequestError.d.ts +3 -5
- package/dist/api/errors/BadRequestError.js +26 -13
- package/dist/api/errors/ForbiddenError.d.ts +3 -5
- package/dist/api/errors/ForbiddenError.js +26 -13
- package/dist/api/errors/InternalServerError.d.ts +3 -5
- package/dist/api/errors/InternalServerError.js +26 -13
- package/dist/api/errors/NotFoundError.d.ts +3 -5
- package/dist/api/errors/NotFoundError.js +26 -13
- package/dist/api/errors/index.d.ts +4 -4
- package/dist/api/errors/index.js +4 -4
- package/dist/api/index.d.ts +3 -3
- package/dist/api/index.js +3 -3
- package/dist/api/resources/assets/client/Client.d.ts +76 -39
- package/dist/api/resources/assets/client/Client.js +184 -59
- package/dist/api/resources/assets/client/index.d.ts +1 -1
- package/dist/api/resources/assets/client/index.js +15 -0
- package/dist/api/resources/assets/client/requests/ExportManifestRequest.d.ts +23 -0
- package/dist/api/resources/assets/client/requests/ExportManifestRequest.js +3 -0
- package/dist/api/resources/assets/client/requests/ImportManifestRequest.d.ts +48 -0
- package/dist/api/resources/assets/client/requests/ImportManifestRequest.js +3 -0
- package/dist/api/resources/assets/client/requests/index.d.ts +2 -0
- package/dist/api/resources/assets/index.d.ts +3 -2
- package/dist/api/resources/assets/index.js +3 -2
- package/dist/api/resources/assets/resources/flows/client/Client.d.ts +13 -30
- package/dist/api/resources/assets/resources/flows/client/Client.js +48 -58
- package/dist/api/resources/assets/resources/flows/index.d.ts +1 -1
- package/dist/api/resources/assets/resources/flows/index.js +1 -1
- package/dist/api/resources/assets/resources/folders/client/Client.d.ts +19 -34
- package/dist/api/resources/assets/resources/folders/client/Client.js +89 -115
- package/dist/api/resources/assets/resources/folders/client/index.d.ts +1 -1
- package/dist/api/resources/assets/resources/folders/client/index.js +1 -1
- package/dist/api/resources/assets/resources/folders/client/requests/DeleteFolderRequest.d.ts +0 -3
- package/dist/api/resources/assets/resources/folders/client/requests/DeleteFolderRequest.js +1 -3
- package/dist/api/resources/assets/resources/folders/client/requests/UpsertFolderRequest.d.ts +0 -3
- package/dist/api/resources/assets/resources/folders/client/requests/UpsertFolderRequest.js +1 -3
- package/dist/api/resources/assets/resources/folders/client/requests/index.d.ts +2 -2
- package/dist/api/resources/assets/resources/folders/index.d.ts +1 -1
- package/dist/api/resources/assets/resources/folders/index.js +1 -1
- package/dist/api/resources/assets/resources/index.d.ts +5 -5
- package/dist/api/resources/assets/resources/index.js +23 -13
- package/dist/api/resources/assets/resources/rules/client/Client.d.ts +31 -42
- package/dist/api/resources/assets/resources/rules/client/Client.js +123 -158
- package/dist/api/resources/assets/resources/rules/client/index.d.ts +1 -1
- package/dist/api/resources/assets/resources/rules/client/index.js +1 -1
- package/dist/api/resources/assets/resources/rules/client/requests/DeleteRuleRequest.d.ts +1 -4
- package/dist/api/resources/assets/resources/rules/client/requests/DeleteRuleRequest.js +1 -3
- package/dist/api/resources/assets/resources/rules/client/requests/ImportRuleRequest.d.ts +2 -4
- package/dist/api/resources/assets/resources/rules/client/requests/ImportRuleRequest.js +1 -3
- package/dist/api/resources/assets/resources/rules/client/requests/ListRulesRequest.d.ts +10 -0
- package/dist/api/resources/assets/resources/rules/client/requests/ListRulesRequest.js +3 -0
- package/dist/api/resources/assets/resources/rules/client/requests/PullRulesRequest.d.ts +10 -0
- package/dist/api/resources/assets/resources/rules/client/requests/PullRulesRequest.js +3 -0
- package/dist/api/resources/assets/resources/rules/client/requests/index.d.ts +4 -4
- package/dist/api/resources/assets/resources/rules/index.d.ts +1 -1
- package/dist/api/resources/assets/resources/rules/index.js +1 -1
- package/dist/api/resources/assets/types/ExportAssetsResponse.d.ts +2 -0
- package/dist/api/resources/assets/types/ExportAssetsResponse.js +3 -0
- package/dist/api/resources/assets/types/index.d.ts +1 -0
- package/dist/api/resources/assets/types/index.js +17 -0
- package/dist/api/resources/contexts/client/Client.d.ts +167 -0
- package/dist/api/resources/contexts/client/Client.js +563 -0
- package/dist/api/resources/contexts/client/index.d.ts +1 -0
- package/dist/api/resources/contexts/client/index.js +17 -0
- package/dist/api/resources/contexts/client/requests/CascadeContextRequest.d.ts +15 -0
- package/dist/api/resources/contexts/client/requests/CascadeContextRequest.js +3 -0
- package/dist/api/resources/contexts/client/requests/DeleteInstanceContextsRequest.d.ts +13 -0
- package/dist/api/resources/contexts/client/requests/DeleteInstanceContextsRequest.js +3 -0
- package/dist/api/resources/contexts/client/requests/GetHistoryContextsRequest.d.ts +17 -0
- package/dist/api/resources/contexts/client/requests/GetHistoryContextsRequest.js +3 -0
- package/dist/api/resources/contexts/client/requests/GetInstanceContextsRequest.d.ts +13 -0
- package/dist/api/resources/contexts/client/requests/GetInstanceContextsRequest.js +3 -0
- package/dist/api/resources/contexts/client/requests/GetPendingContextsRequest.d.ts +13 -0
- package/dist/api/resources/contexts/client/requests/GetPendingContextsRequest.js +3 -0
- package/dist/api/resources/contexts/client/requests/SolveContextFlowRequest.d.ts +20 -0
- package/dist/api/resources/contexts/client/requests/SolveContextFlowRequest.js +3 -0
- package/dist/api/resources/contexts/client/requests/SolveContextRuleRequest.d.ts +20 -0
- package/dist/api/resources/contexts/client/requests/SolveContextRuleRequest.js +3 -0
- package/dist/api/resources/contexts/client/requests/SubmitContextsRequest.d.ts +19 -0
- package/dist/api/resources/contexts/client/requests/SubmitContextsRequest.js +3 -0
- package/dist/api/resources/contexts/client/requests/index.d.ts +8 -0
- package/dist/api/resources/contexts/index.d.ts +2 -0
- package/dist/api/resources/contexts/index.js +18 -0
- package/dist/api/resources/contexts/resources/admin/client/Client.d.ts +102 -0
- package/dist/api/resources/contexts/resources/admin/client/Client.js +353 -0
- package/dist/api/resources/contexts/resources/admin/client/index.d.ts +1 -0
- package/dist/api/resources/contexts/resources/admin/client/index.js +17 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/CreateContextRequest.d.ts +55 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/CreateContextRequest.js +12 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/DeleteAdminRequest.d.ts +10 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/DeleteAdminRequest.js +3 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/GetAdminRequest.d.ts +10 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/GetAdminRequest.js +3 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/UpdateContextRequest.d.ts +49 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/UpdateContextRequest.js +12 -0
- package/dist/api/resources/contexts/resources/admin/client/requests/index.d.ts +4 -0
- package/dist/api/resources/contexts/resources/admin/index.d.ts +1 -0
- package/dist/api/resources/contexts/resources/admin/index.js +17 -0
- package/dist/api/resources/contexts/resources/index.d.ts +4 -0
- package/dist/api/resources/contexts/resources/index.js +43 -0
- package/dist/api/resources/contexts/resources/relationships/client/Client.d.ts +67 -0
- package/dist/api/resources/contexts/resources/relationships/client/Client.js +252 -0
- package/dist/api/resources/contexts/resources/relationships/client/index.d.ts +1 -0
- package/dist/api/resources/contexts/resources/relationships/client/index.js +17 -0
- package/dist/api/resources/contexts/resources/relationships/client/requests/CreateRelationshipRequest.d.ts +33 -0
- package/dist/api/resources/contexts/resources/relationships/client/requests/CreateRelationshipRequest.js +13 -0
- package/dist/api/resources/contexts/resources/relationships/client/requests/DeleteRelationshipsRequest.d.ts +13 -0
- package/dist/api/resources/contexts/resources/relationships/client/requests/DeleteRelationshipsRequest.js +3 -0
- package/dist/api/resources/contexts/resources/relationships/client/requests/ListRelationshipsRequest.d.ts +10 -0
- package/dist/api/resources/contexts/resources/relationships/client/requests/ListRelationshipsRequest.js +3 -0
- package/dist/api/resources/contexts/resources/relationships/client/requests/index.d.ts +3 -0
- package/dist/api/resources/contexts/resources/relationships/client/requests/index.js +2 -0
- package/dist/api/resources/contexts/resources/relationships/index.d.ts +1 -0
- package/dist/api/resources/contexts/resources/relationships/index.js +17 -0
- package/dist/api/resources/decisions/client/Client.d.ts +19 -34
- package/dist/api/resources/decisions/client/Client.js +79 -74
- package/dist/api/resources/decisions/client/index.d.ts +1 -1
- package/dist/api/resources/decisions/client/index.js +1 -1
- package/dist/api/resources/decisions/client/requests/QueryDecisionsRequest.d.ts +36 -0
- package/dist/api/resources/decisions/client/requests/QueryDecisionsRequest.js +3 -0
- package/dist/api/resources/decisions/client/requests/index.d.ts +1 -1
- package/dist/api/resources/decisions/index.d.ts +2 -1
- package/dist/api/resources/decisions/index.js +2 -1
- package/dist/api/resources/decisions/types/QueryDecisionsRequestCount.d.ts +5 -0
- package/dist/api/resources/decisions/types/QueryDecisionsRequestCount.js +8 -0
- package/dist/api/resources/decisions/types/index.d.ts +1 -0
- package/dist/api/resources/decisions/types/index.js +17 -0
- package/dist/api/resources/flows/client/Client.d.ts +23 -36
- package/dist/api/resources/flows/client/Client.js +62 -65
- package/dist/api/resources/flows/client/index.d.ts +1 -1
- package/dist/api/resources/flows/client/index.js +15 -0
- package/dist/api/resources/flows/client/requests/ExecuteFlowsRequest.d.ts +19 -0
- package/dist/api/resources/flows/client/requests/ExecuteFlowsRequest.js +3 -0
- package/dist/api/resources/flows/client/requests/index.d.ts +1 -0
- package/dist/api/resources/flows/client/requests/index.js +2 -0
- package/dist/api/resources/flows/index.d.ts +1 -1
- package/dist/api/resources/flows/index.js +1 -1
- package/dist/api/resources/index.d.ts +17 -11
- package/dist/api/resources/index.js +35 -19
- package/dist/api/resources/rules/client/Client.d.ts +55 -56
- package/dist/api/resources/rules/client/Client.js +130 -138
- package/dist/api/resources/rules/client/index.d.ts +1 -1
- package/dist/api/resources/rules/client/index.js +15 -0
- package/dist/api/resources/rules/client/requests/BulkSolveRulesRequest.d.ts +21 -0
- package/dist/api/resources/rules/client/requests/BulkSolveRulesRequest.js +3 -0
- package/dist/api/resources/rules/client/requests/SolveRulesRequest.d.ts +19 -0
- package/dist/api/resources/rules/client/requests/SolveRulesRequest.js +3 -0
- package/dist/api/resources/rules/client/requests/index.d.ts +2 -0
- package/dist/api/resources/rules/client/requests/index.js +2 -0
- package/dist/api/resources/rules/index.d.ts +1 -1
- package/dist/api/resources/rules/index.js +1 -1
- package/dist/api/resources/tests/client/Client.d.ts +13 -21
- package/dist/api/resources/tests/client/Client.js +11 -12
- package/dist/api/resources/tests/index.d.ts +2 -2
- package/dist/api/resources/tests/index.js +2 -2
- package/dist/api/resources/tests/resources/flows/client/Client.d.ts +41 -50
- package/dist/api/resources/tests/resources/flows/client/Client.js +117 -136
- package/dist/api/resources/tests/resources/flows/client/index.d.ts +1 -1
- package/dist/api/resources/tests/resources/flows/client/index.js +15 -0
- package/dist/api/resources/tests/resources/flows/client/requests/CreateFlowsRequest.d.ts +22 -0
- package/dist/api/resources/tests/resources/flows/client/requests/CreateFlowsRequest.js +3 -0
- package/dist/api/resources/tests/resources/flows/client/requests/DeleteFlowsRequest.d.ts +13 -0
- package/dist/api/resources/tests/resources/flows/client/requests/DeleteFlowsRequest.js +3 -0
- package/dist/api/resources/tests/resources/flows/client/requests/ListFlowsRequest.d.ts +10 -0
- package/dist/api/resources/tests/resources/flows/client/requests/ListFlowsRequest.js +3 -0
- package/dist/api/resources/tests/resources/flows/client/requests/index.d.ts +3 -0
- package/dist/api/resources/tests/resources/flows/client/requests/index.js +2 -0
- package/dist/api/resources/tests/resources/flows/index.d.ts +1 -1
- package/dist/api/resources/tests/resources/flows/index.js +1 -1
- package/dist/api/resources/tests/resources/index.d.ts +4 -2
- package/dist/api/resources/tests/resources/index.js +24 -9
- package/dist/api/resources/tests/resources/rules/client/Client.d.ts +41 -50
- package/dist/api/resources/tests/resources/rules/client/Client.js +117 -136
- package/dist/api/resources/tests/resources/rules/client/index.d.ts +1 -1
- package/dist/api/resources/tests/resources/rules/client/index.js +15 -0
- package/dist/api/resources/tests/resources/rules/client/requests/CreateRulesRequest.d.ts +22 -0
- package/dist/api/resources/tests/resources/rules/client/requests/CreateRulesRequest.js +3 -0
- package/dist/api/resources/tests/resources/rules/client/requests/DeleteRulesRequest.d.ts +13 -0
- package/dist/api/resources/tests/resources/rules/client/requests/DeleteRulesRequest.js +3 -0
- package/dist/api/resources/tests/resources/rules/client/requests/ListRulesRequest.d.ts +10 -0
- package/dist/api/resources/tests/resources/rules/client/requests/ListRulesRequest.js +3 -0
- package/dist/api/resources/tests/resources/rules/client/requests/index.d.ts +3 -0
- package/dist/api/resources/tests/resources/rules/client/requests/index.js +2 -0
- package/dist/api/resources/tests/resources/rules/index.d.ts +1 -1
- package/dist/api/resources/tests/resources/rules/index.js +1 -1
- package/dist/api/resources/users/client/Client.d.ts +57 -35
- package/dist/api/resources/users/client/Client.js +166 -58
- package/dist/api/resources/users/client/index.d.ts +1 -1
- package/dist/api/resources/users/client/index.js +1 -1
- package/dist/api/resources/users/client/requests/CreateUserRequest.d.ts +28 -0
- package/dist/api/resources/users/client/requests/CreateUserRequest.js +3 -0
- package/dist/api/resources/users/client/requests/UserInviteRequest.d.ts +17 -11
- package/dist/api/resources/users/client/requests/UserInviteRequest.js +12 -3
- package/dist/api/resources/users/client/requests/index.d.ts +2 -1
- package/dist/api/resources/users/index.d.ts +2 -3
- package/dist/api/resources/users/index.js +2 -3
- package/dist/api/resources/users/resources/groups/client/Client.d.ts +16 -32
- package/dist/api/resources/users/resources/groups/client/Client.js +68 -86
- package/dist/api/resources/users/resources/groups/client/index.d.ts +1 -1
- package/dist/api/resources/users/resources/groups/client/index.js +1 -1
- package/dist/api/resources/users/resources/groups/client/requests/CreateUserGroupRequest.d.ts +0 -3
- package/dist/api/resources/users/resources/groups/client/requests/CreateUserGroupRequest.js +1 -3
- package/dist/api/resources/users/resources/groups/client/requests/index.d.ts +1 -1
- package/dist/api/resources/users/resources/groups/index.d.ts +1 -1
- package/dist/api/resources/users/resources/groups/index.js +1 -1
- package/dist/api/resources/users/resources/index.d.ts +2 -2
- package/dist/api/resources/users/resources/index.js +19 -9
- package/dist/api/resources/values/client/Client.d.ts +24 -39
- package/dist/api/resources/values/client/Client.js +99 -129
- package/dist/api/resources/values/client/index.d.ts +1 -1
- package/dist/api/resources/values/client/index.js +1 -1
- package/dist/api/resources/values/client/requests/DeleteValuesRequest.d.ts +10 -0
- package/dist/api/resources/values/client/requests/DeleteValuesRequest.js +3 -0
- package/dist/api/resources/values/client/requests/ListValuesRequest.d.ts +17 -0
- package/dist/api/resources/values/client/requests/ListValuesRequest.js +3 -0
- package/dist/api/resources/values/client/requests/UpdateValuesRequest.d.ts +6 -9
- package/dist/api/resources/values/client/requests/UpdateValuesRequest.js +1 -3
- package/dist/api/resources/values/client/requests/index.d.ts +3 -3
- package/dist/api/resources/values/index.d.ts +1 -1
- package/dist/api/resources/values/index.js +1 -1
- package/dist/api/types/BulkRuleResponseItem.d.ts +4 -5
- package/dist/api/types/BulkRuleResponseItem.js +1 -3
- package/dist/api/types/CascadeContextResponse.d.ts +10 -0
- package/dist/api/types/CascadeContextResponse.js +3 -0
- package/dist/api/types/CascadeResult.d.ts +29 -0
- package/dist/api/types/CascadeResult.js +12 -0
- package/dist/api/types/ContextBase.d.ts +33 -0
- package/dist/api/types/ContextBase.js +12 -0
- package/dist/api/types/ContextDetail.d.ts +58 -0
- package/dist/api/types/ContextDetail.js +3 -0
- package/dist/api/types/ContextInstanceHistory.d.ts +10 -0
- package/dist/api/types/ContextInstanceHistory.js +3 -0
- package/dist/api/types/ContextInstanceHistoryEntry.d.ts +9 -0
- package/dist/api/types/ContextInstanceHistoryEntry.js +3 -0
- package/dist/api/types/ContextInstancePendingEvaluation.d.ts +29 -0
- package/dist/api/types/ContextInstancePendingEvaluation.js +12 -0
- package/dist/api/types/ContextInstancePendingResponse.d.ts +8 -0
- package/dist/api/types/ContextInstancePendingResponse.js +3 -0
- package/dist/api/types/ContextInstanceState.d.ts +31 -0
- package/dist/api/types/ContextInstanceState.js +12 -0
- package/dist/api/types/ContextListResponse.d.ts +2 -0
- package/dist/api/types/ContextListResponse.js +3 -0
- package/dist/api/types/ContextRelationshipBase.d.ts +21 -0
- package/dist/api/types/ContextRelationshipBase.js +13 -0
- package/dist/api/types/ContextRelationshipIncoming.d.ts +11 -0
- package/dist/api/types/ContextRelationshipIncoming.js +3 -0
- package/dist/api/types/ContextRelationshipOutgoing.d.ts +11 -0
- package/dist/api/types/ContextRelationshipOutgoing.js +3 -0
- package/dist/api/types/ContextRelationshipsResponse.d.ts +5 -0
- package/dist/api/types/ContextRelationshipsResponse.js +3 -0
- package/dist/api/types/ContextSchema.d.ts +10 -0
- package/dist/api/types/ContextSchema.js +3 -0
- package/dist/api/types/ContextSchemaField.d.ts +35 -0
- package/dist/api/types/ContextSchemaField.js +16 -0
- package/dist/api/types/CreateContextResponse.d.ts +2 -0
- package/dist/api/types/CreateContextResponse.js +3 -0
- package/dist/api/types/CreateRelationshipResponse.d.ts +2 -0
- package/dist/api/types/CreateRelationshipResponse.js +3 -0
- package/dist/api/types/CreateTestRequest.d.ts +0 -3
- package/dist/api/types/CreateTestRequest.js +1 -3
- package/dist/api/types/CreateUserResponse.d.ts +26 -0
- package/dist/api/types/CreateUserResponse.js +3 -0
- package/dist/api/types/DecisionLog.d.ts +21 -5
- package/dist/api/types/DecisionLog.js +1 -3
- package/dist/api/types/DecisionLogResponse.d.ts +7 -4
- package/dist/api/types/DecisionLogResponse.js +1 -3
- package/dist/api/types/DeleteContextInstanceResponse.d.ts +9 -0
- package/dist/api/types/DeleteContextInstanceResponse.js +3 -0
- package/dist/api/types/DeleteContextResponse.d.ts +13 -0
- package/dist/api/types/DeleteContextResponse.js +3 -0
- package/dist/api/types/DeleteRelationshipResponse.d.ts +4 -0
- package/dist/api/types/DeleteRelationshipResponse.js +3 -0
- package/dist/api/types/DynamicRequestPayload.d.ts +1 -4
- package/dist/api/types/DynamicRequestPayload.js +1 -3
- package/dist/api/types/DynamicResponsePayload.d.ts +1 -4
- package/dist/api/types/DynamicResponsePayload.js +1 -3
- package/dist/api/types/DynamicValue.d.ts +11 -7
- package/dist/api/types/DynamicValue.js +1 -3
- package/dist/api/types/DynamicValueListResponse.d.ts +2 -5
- package/dist/api/types/DynamicValueListResponse.js +1 -3
- package/dist/api/types/Error_.d.ts +0 -3
- package/dist/api/types/Error_.js +1 -3
- package/dist/api/types/ExportManifestPreviewResponse.d.ts +51 -0
- package/dist/api/types/ExportManifestPreviewResponse.js +3 -0
- package/dist/api/types/ExportManifestResponse.d.ts +9 -0
- package/dist/api/types/ExportManifestResponse.js +3 -0
- package/dist/api/types/FlowBase.d.ts +0 -3
- package/dist/api/types/FlowBase.js +1 -3
- package/dist/api/types/FlowDetail.d.ts +30 -5
- package/dist/api/types/FlowDetail.js +1 -3
- package/dist/api/types/FlowExecutionError.d.ts +0 -3
- package/dist/api/types/FlowExecutionError.js +1 -3
- package/dist/api/types/FlowListResponse.d.ts +2 -5
- package/dist/api/types/FlowListResponse.js +1 -3
- package/dist/api/types/Folder.d.ts +1 -4
- package/dist/api/types/Folder.js +1 -3
- package/dist/api/types/FolderListResponse.d.ts +2 -5
- package/dist/api/types/FolderListResponse.js +1 -3
- package/dist/api/types/ImportManifestResponse.d.ts +38 -0
- package/dist/api/types/ImportManifestResponse.js +3 -0
- package/dist/api/types/ParallelSolveRequest.d.ts +11 -5
- package/dist/api/types/ParallelSolveRequest.js +1 -3
- package/dist/api/types/ParallelSolveResponse.d.ts +2 -5
- package/dist/api/types/ParallelSolveResponse.js +1 -3
- package/dist/api/types/RuleBase.d.ts +0 -3
- package/dist/api/types/RuleBase.js +1 -3
- package/dist/api/types/RuleDetail.d.ts +21 -7
- package/dist/api/types/RuleDetail.js +1 -3
- package/dist/api/types/RuleExport.d.ts +1 -4
- package/dist/api/types/RuleExport.js +1 -3
- package/dist/api/types/RuleListResponse.d.ts +2 -5
- package/dist/api/types/RuleListResponse.js +1 -3
- package/dist/api/types/RuleUsage.d.ts +1 -4
- package/dist/api/types/RuleUsage.js +1 -3
- package/dist/api/types/SchemaField.d.ts +18 -7
- package/dist/api/types/SchemaField.js +13 -3
- package/dist/api/types/SolveContextFlowResponse.d.ts +23 -0
- package/dist/api/types/SolveContextFlowResponse.js +12 -0
- package/dist/api/types/SolveContextRuleResponse.d.ts +26 -0
- package/dist/api/types/SolveContextRuleResponse.js +12 -0
- package/dist/api/types/SubmitContextDataRequest.d.ts +4 -0
- package/dist/api/types/SubmitContextDataRequest.js +3 -0
- package/dist/api/types/SubmitContextDataResponse.d.ts +30 -0
- package/dist/api/types/SubmitContextDataResponse.js +12 -0
- package/dist/api/types/SuccessMessage.d.ts +0 -3
- package/dist/api/types/SuccessMessage.js +1 -3
- package/dist/api/types/Test.d.ts +25 -6
- package/dist/api/types/Test.js +1 -3
- package/dist/api/types/TestListResponse.d.ts +2 -5
- package/dist/api/types/TestListResponse.js +1 -3
- package/dist/api/types/UpdateContextResponse.d.ts +2 -0
- package/dist/api/types/UpdateContextResponse.js +3 -0
- package/dist/api/types/UsageStatistics.d.ts +5 -8
- package/dist/api/types/UsageStatistics.js +1 -3
- package/dist/api/types/UserDetail.d.ts +19 -0
- package/dist/api/types/UserDetail.js +3 -0
- package/dist/api/types/UserGroup.d.ts +0 -3
- package/dist/api/types/UserGroup.js +1 -3
- package/dist/api/types/UserGroupListResponse.d.ts +2 -5
- package/dist/api/types/UserGroupListResponse.js +1 -3
- package/dist/api/types/UserInviteResponse.d.ts +11 -5
- package/dist/api/types/UserInviteResponse.js +1 -3
- package/dist/api/types/UserListResponse.d.ts +5 -0
- package/dist/api/types/UserListResponse.js +3 -0
- package/dist/api/types/ValueLimits.d.ts +4 -7
- package/dist/api/types/ValueLimits.js +1 -3
- package/dist/api/types/index.d.ts +63 -39
- package/dist/api/types/index.js +63 -39
- package/dist/auth/HeaderAuthProvider.d.ts +16 -0
- package/dist/auth/HeaderAuthProvider.js +71 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +5 -0
- package/dist/core/auth/AuthProvider.d.ts +7 -0
- package/dist/core/auth/AuthProvider.js +2 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +27 -0
- package/dist/core/auth/BearerToken.d.ts +7 -0
- package/dist/core/auth/BearerToken.js +16 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/core/auth/index.d.ts +5 -0
- package/dist/core/auth/index.js +9 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +26 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/exports.js +17 -0
- package/dist/core/fetcher/APIResponse.d.ts +11 -1
- package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/core/fetcher/BinaryResponse.js +17 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/core/fetcher/Fetcher.d.ts +17 -7
- package/dist/core/fetcher/Fetcher.js +244 -28
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +44 -0
- package/dist/core/fetcher/Supplier.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +4 -9
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +45 -0
- package/dist/core/fetcher/getFetchFn.d.ts +1 -4
- package/dist/core/fetcher/getFetchFn.js +2 -44
- package/dist/core/fetcher/getHeader.js +1 -2
- package/dist/core/fetcher/getRequestBody.d.ts +1 -1
- package/dist/core/fetcher/getRequestBody.js +9 -6
- package/dist/core/fetcher/getResponseBody.js +43 -29
- package/dist/core/fetcher/index.d.ts +11 -5
- package/dist/core/fetcher/index.js +15 -7
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/core/fetcher/makeRequest.js +4 -6
- package/dist/core/fetcher/requestWithRetries.js +38 -12
- package/dist/core/fetcher/signals.d.ts +1 -8
- package/dist/core/fetcher/signals.js +2 -15
- package/dist/core/headers.d.ts +2 -0
- package/dist/core/headers.js +31 -0
- package/dist/core/index.d.ts +6 -3
- package/dist/core/index.js +24 -11
- package/dist/core/json.d.ts +1 -1
- package/dist/core/json.js +2 -2
- package/dist/core/logging/exports.d.ts +18 -0
- package/dist/core/logging/exports.js +45 -0
- package/dist/core/logging/index.d.ts +1 -0
- package/dist/core/logging/index.js +17 -0
- package/dist/core/logging/logger.d.ts +126 -0
- package/dist/core/logging/logger.js +144 -0
- package/dist/core/runtime/index.d.ts +1 -1
- package/dist/core/runtime/index.js +2 -2
- package/dist/core/runtime/runtime.js +11 -11
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/encodePathParam.js +21 -0
- package/dist/core/url/index.d.ts +3 -0
- package/dist/core/url/index.js +9 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +68 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/core/url/qs.js +64 -0
- package/dist/environments.d.ts +2 -5
- package/dist/environments.js +2 -4
- package/dist/errors/RulebricksError.d.ts +4 -4
- package/dist/errors/RulebricksError.js +12 -13
- package/dist/errors/RulebricksTimeoutError.d.ts +0 -3
- package/dist/errors/RulebricksTimeoutError.js +6 -4
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/errors/handleNonStatusCodeError.js +65 -0
- package/dist/errors/index.d.ts +2 -2
- package/dist/errors/index.js +4 -4
- package/dist/exports.d.ts +1 -0
- package/dist/exports.js +17 -0
- package/dist/forge/operators.d.ts +1 -1
- package/dist/forge/rule.js +4 -4
- package/dist/forge/types.d.ts +1 -1
- package/dist/forge/types.js +2 -2
- package/dist/forge/values.d.ts +1 -1
- package/dist/forge/values.js +3 -3
- package/dist/index.d.ts +6 -5
- package/dist/index.js +29 -16
- package/environments.d.ts +2 -5
- package/environments.js +2 -4
- package/errors/RulebricksError.d.ts +4 -4
- package/errors/RulebricksError.js +12 -13
- package/errors/RulebricksTimeoutError.d.ts +0 -3
- package/errors/RulebricksTimeoutError.js +6 -4
- package/errors/handleNonStatusCodeError.d.ts +2 -0
- package/errors/handleNonStatusCodeError.js +65 -0
- package/errors/index.d.ts +2 -2
- package/errors/index.js +4 -4
- package/exports.d.ts +1 -0
- package/exports.js +17 -0
- package/forge/operators.d.ts +1 -1
- package/forge/rule.js +4 -4
- package/forge/types.d.ts +1 -1
- package/forge/types.js +2 -2
- package/forge/values.d.ts +1 -1
- package/forge/values.js +3 -3
- package/index.d.ts +6 -5
- package/index.js +29 -16
- package/package.json +43 -39
- package/api/resources/assets/resources/rules/client/requests/RulesListRequest.d.ts +0 -13
- package/api/resources/assets/resources/rules/client/requests/RulesListRequest.js +0 -5
- package/api/resources/assets/resources/rules/client/requests/RulesPullRequest.d.ts +0 -15
- package/api/resources/assets/resources/rules/client/requests/RulesPullRequest.js +0 -5
- package/api/resources/decisions/client/requests/DecisionsQueryRequest.d.ts +0 -31
- package/api/resources/decisions/client/requests/DecisionsQueryRequest.js +0 -5
- package/api/resources/users/types/UserInviteRequestRole.d.ts +0 -13
- package/api/resources/users/types/UserInviteRequestRole.js +0 -12
- package/api/resources/users/types/index.d.ts +0 -1
- package/api/resources/users/types/index.js +0 -17
- package/api/resources/values/client/requests/ValuesDeleteRequest.d.ts +0 -15
- package/api/resources/values/client/requests/ValuesDeleteRequest.js +0 -5
- package/api/resources/values/client/requests/ValuesListRequest.d.ts +0 -24
- package/api/resources/values/client/requests/ValuesListRequest.js +0 -5
- package/api/types/BulkRuleResponseItemError.d.ts +0 -7
- package/api/types/BulkRuleResponseItemError.js +0 -5
- package/api/types/ParallelSolveRequestValue.d.ts +0 -11
- package/api/types/ParallelSolveRequestValue.js +0 -5
- package/api/types/SchemaFieldDefaultValue.d.ts +0 -7
- package/api/types/SchemaFieldDefaultValue.js +0 -5
- package/api/types/SchemaFieldType.d.ts +0 -14
- package/api/types/SchemaFieldType.js +0 -13
- package/api/types/TestTestState.d.ts +0 -19
- package/api/types/TestTestState.js +0 -5
- package/api/types/TestTestStateConditionsItemValue.d.ts +0 -7
- package/api/types/TestTestStateConditionsItemValue.js +0 -5
- package/api/types/TestTestStateEvaluationError.d.ts +0 -7
- package/api/types/TestTestStateEvaluationError.js +0 -5
- package/api/types/UserInviteResponseUser.d.ts +0 -11
- package/api/types/UserInviteResponseUser.js +0 -5
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -22
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -124
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -50
- package/core/schemas/Schema.d.ts +0 -87
- package/core/schemas/Schema.js +0 -24
- package/core/schemas/builders/bigint/bigint.d.ts +0 -2
- package/core/schemas/builders/bigint/bigint.js +0 -54
- package/core/schemas/builders/bigint/index.d.ts +0 -1
- package/core/schemas/builders/bigint/index.js +0 -5
- package/core/schemas/builders/date/date.d.ts +0 -2
- package/core/schemas/builders/date/date.js +0 -63
- package/core/schemas/builders/date/index.d.ts +0 -1
- package/core/schemas/builders/date/index.js +0 -5
- package/core/schemas/builders/enum/enum.d.ts +0 -2
- package/core/schemas/builders/enum/enum.js +0 -39
- package/core/schemas/builders/enum/index.d.ts +0 -1
- package/core/schemas/builders/enum/index.js +0 -5
- package/core/schemas/builders/index.d.ts +0 -14
- package/core/schemas/builders/index.js +0 -30
- package/core/schemas/builders/lazy/index.d.ts +0 -3
- package/core/schemas/builders/lazy/index.js +0 -7
- package/core/schemas/builders/lazy/lazy.d.ts +0 -5
- package/core/schemas/builders/lazy/lazy.js +0 -25
- package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
- package/core/schemas/builders/lazy/lazyObject.js +0 -12
- package/core/schemas/builders/list/index.d.ts +0 -1
- package/core/schemas/builders/list/index.js +0 -5
- package/core/schemas/builders/list/list.d.ts +0 -2
- package/core/schemas/builders/list/list.js +0 -55
- package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
- package/core/schemas/builders/literals/booleanLiteral.js +0 -29
- package/core/schemas/builders/literals/index.d.ts +0 -2
- package/core/schemas/builders/literals/index.js +0 -7
- package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
- package/core/schemas/builders/literals/stringLiteral.js +0 -29
- package/core/schemas/builders/object/index.d.ts +0 -6
- package/core/schemas/builders/object/index.js +0 -11
- package/core/schemas/builders/object/object.d.ts +0 -3
- package/core/schemas/builders/object/object.js +0 -262
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -8
- package/core/schemas/builders/object/property.d.ts +0 -8
- package/core/schemas/builders/object/property.js +0 -16
- package/core/schemas/builders/object/types.d.ts +0 -31
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -54
- package/core/schemas/builders/object-like/index.d.ts +0 -2
- package/core/schemas/builders/object-like/index.js +0 -6
- package/core/schemas/builders/object-like/types.d.ts +0 -7
- package/core/schemas/builders/primitives/any.d.ts +0 -1
- package/core/schemas/builders/primitives/any.js +0 -6
- package/core/schemas/builders/primitives/boolean.d.ts +0 -1
- package/core/schemas/builders/primitives/boolean.js +0 -25
- package/core/schemas/builders/primitives/index.d.ts +0 -5
- package/core/schemas/builders/primitives/index.js +0 -13
- package/core/schemas/builders/primitives/number.d.ts +0 -1
- package/core/schemas/builders/primitives/number.js +0 -25
- package/core/schemas/builders/primitives/string.d.ts +0 -1
- package/core/schemas/builders/primitives/string.js +0 -25
- package/core/schemas/builders/primitives/unknown.d.ts +0 -1
- package/core/schemas/builders/primitives/unknown.js +0 -6
- package/core/schemas/builders/record/index.d.ts +0 -2
- package/core/schemas/builders/record/index.js +0 -5
- package/core/schemas/builders/record/record.d.ts +0 -3
- package/core/schemas/builders/record/record.js +0 -94
- package/core/schemas/builders/record/types.d.ts +0 -4
- package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
- package/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
- package/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -146
- package/core/schemas/builders/schema-utils/index.d.ts +0 -4
- package/core/schemas/builders/schema-utils/index.js +0 -11
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -10
- package/core/schemas/builders/set/index.d.ts +0 -1
- package/core/schemas/builders/set/index.js +0 -5
- package/core/schemas/builders/set/set.d.ts +0 -2
- package/core/schemas/builders/set/set.js +0 -44
- package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
- package/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -40
- package/core/schemas/builders/union/discriminant.d.ts +0 -5
- package/core/schemas/builders/union/discriminant.js +0 -10
- package/core/schemas/builders/union/index.d.ts +0 -4
- package/core/schemas/builders/union/index.js +0 -7
- package/core/schemas/builders/union/types.d.ts +0 -13
- package/core/schemas/builders/union/union.d.ts +0 -4
- package/core/schemas/builders/union/union.js +0 -130
- package/core/schemas/index.d.ts +0 -2
- package/core/schemas/index.js +0 -17
- package/core/schemas/utils/MaybePromise.d.ts +0 -1
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
- package/core/schemas/utils/createIdentitySchemaCreator.js +0 -16
- package/core/schemas/utils/entries.d.ts +0 -1
- package/core/schemas/utils/entries.js +0 -7
- package/core/schemas/utils/filterObject.d.ts +0 -1
- package/core/schemas/utils/filterObject.js +0 -14
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -28
- package/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/core/schemas/utils/isPlainObject.js +0 -18
- package/core/schemas/utils/keys.d.ts +0 -1
- package/core/schemas/utils/keys.js +0 -7
- package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
- package/core/schemas/utils/maybeSkipValidation.js +0 -28
- package/core/schemas/utils/partition.d.ts +0 -1
- package/core/schemas/utils/partition.js +0 -16
- package/dist/api/resources/assets/resources/rules/client/requests/RulesListRequest.d.ts +0 -13
- package/dist/api/resources/assets/resources/rules/client/requests/RulesListRequest.js +0 -5
- package/dist/api/resources/assets/resources/rules/client/requests/RulesPullRequest.d.ts +0 -15
- package/dist/api/resources/assets/resources/rules/client/requests/RulesPullRequest.js +0 -5
- package/dist/api/resources/decisions/client/requests/DecisionsQueryRequest.d.ts +0 -31
- package/dist/api/resources/decisions/client/requests/DecisionsQueryRequest.js +0 -5
- package/dist/api/resources/users/types/UserInviteRequestRole.d.ts +0 -13
- package/dist/api/resources/users/types/UserInviteRequestRole.js +0 -12
- package/dist/api/resources/users/types/index.d.ts +0 -1
- package/dist/api/resources/users/types/index.js +0 -17
- package/dist/api/resources/values/client/requests/ValuesDeleteRequest.d.ts +0 -15
- package/dist/api/resources/values/client/requests/ValuesDeleteRequest.js +0 -5
- package/dist/api/resources/values/client/requests/ValuesListRequest.d.ts +0 -24
- package/dist/api/resources/values/client/requests/ValuesListRequest.js +0 -5
- package/dist/api/types/BulkRuleResponseItemError.d.ts +0 -7
- package/dist/api/types/BulkRuleResponseItemError.js +0 -5
- package/dist/api/types/ParallelSolveRequestValue.d.ts +0 -11
- package/dist/api/types/ParallelSolveRequestValue.js +0 -5
- package/dist/api/types/SchemaFieldDefaultValue.d.ts +0 -7
- package/dist/api/types/SchemaFieldDefaultValue.js +0 -5
- package/dist/api/types/SchemaFieldType.d.ts +0 -14
- package/dist/api/types/SchemaFieldType.js +0 -13
- package/dist/api/types/TestTestState.d.ts +0 -19
- package/dist/api/types/TestTestState.js +0 -5
- package/dist/api/types/TestTestStateConditionsItemValue.d.ts +0 -7
- package/dist/api/types/TestTestStateConditionsItemValue.js +0 -5
- package/dist/api/types/TestTestStateEvaluationError.d.ts +0 -7
- package/dist/api/types/TestTestStateEvaluationError.js +0 -5
- package/dist/api/types/UserInviteResponseUser.d.ts +0 -11
- package/dist/api/types/UserInviteResponseUser.js +0 -5
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -22
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -124
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -50
- package/dist/core/schemas/Schema.d.ts +0 -87
- package/dist/core/schemas/Schema.js +0 -24
- package/dist/core/schemas/builders/bigint/bigint.d.ts +0 -2
- package/dist/core/schemas/builders/bigint/bigint.js +0 -54
- package/dist/core/schemas/builders/bigint/index.d.ts +0 -1
- package/dist/core/schemas/builders/bigint/index.js +0 -5
- package/dist/core/schemas/builders/date/date.d.ts +0 -2
- package/dist/core/schemas/builders/date/date.js +0 -63
- package/dist/core/schemas/builders/date/index.d.ts +0 -1
- package/dist/core/schemas/builders/date/index.js +0 -5
- package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
- package/dist/core/schemas/builders/enum/enum.js +0 -39
- package/dist/core/schemas/builders/enum/index.d.ts +0 -1
- package/dist/core/schemas/builders/enum/index.js +0 -5
- package/dist/core/schemas/builders/index.d.ts +0 -14
- package/dist/core/schemas/builders/index.js +0 -30
- package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
- package/dist/core/schemas/builders/lazy/index.js +0 -7
- package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
- package/dist/core/schemas/builders/lazy/lazy.js +0 -25
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
- package/dist/core/schemas/builders/lazy/lazyObject.js +0 -12
- package/dist/core/schemas/builders/list/index.d.ts +0 -1
- package/dist/core/schemas/builders/list/index.js +0 -5
- package/dist/core/schemas/builders/list/list.d.ts +0 -2
- package/dist/core/schemas/builders/list/list.js +0 -55
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -29
- package/dist/core/schemas/builders/literals/index.d.ts +0 -2
- package/dist/core/schemas/builders/literals/index.js +0 -7
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +0 -29
- package/dist/core/schemas/builders/object/index.d.ts +0 -6
- package/dist/core/schemas/builders/object/index.js +0 -11
- package/dist/core/schemas/builders/object/object.d.ts +0 -3
- package/dist/core/schemas/builders/object/object.js +0 -262
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -8
- package/dist/core/schemas/builders/object/property.d.ts +0 -8
- package/dist/core/schemas/builders/object/property.js +0 -16
- package/dist/core/schemas/builders/object/types.d.ts +0 -31
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -54
- package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
- package/dist/core/schemas/builders/object-like/index.js +0 -6
- package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
- package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/any.js +0 -6
- package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/boolean.js +0 -25
- package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
- package/dist/core/schemas/builders/primitives/index.js +0 -13
- package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/number.js +0 -25
- package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/string.js +0 -25
- package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/unknown.js +0 -6
- package/dist/core/schemas/builders/record/index.d.ts +0 -2
- package/dist/core/schemas/builders/record/index.js +0 -5
- package/dist/core/schemas/builders/record/record.d.ts +0 -3
- package/dist/core/schemas/builders/record/record.js +0 -94
- package/dist/core/schemas/builders/record/types.d.ts +0 -4
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
- package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
- package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -146
- package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
- package/dist/core/schemas/builders/schema-utils/index.js +0 -11
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -10
- package/dist/core/schemas/builders/set/index.d.ts +0 -1
- package/dist/core/schemas/builders/set/index.js +0 -5
- package/dist/core/schemas/builders/set/set.d.ts +0 -2
- package/dist/core/schemas/builders/set/set.js +0 -44
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
- package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -40
- package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
- package/dist/core/schemas/builders/union/discriminant.js +0 -10
- package/dist/core/schemas/builders/union/index.d.ts +0 -4
- package/dist/core/schemas/builders/union/index.js +0 -7
- package/dist/core/schemas/builders/union/types.d.ts +0 -13
- package/dist/core/schemas/builders/union/union.d.ts +0 -4
- package/dist/core/schemas/builders/union/union.js +0 -130
- package/dist/core/schemas/index.d.ts +0 -2
- package/dist/core/schemas/index.js +0 -17
- package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -16
- package/dist/core/schemas/utils/entries.d.ts +0 -1
- package/dist/core/schemas/utils/entries.js +0 -7
- package/dist/core/schemas/utils/filterObject.d.ts +0 -1
- package/dist/core/schemas/utils/filterObject.js +0 -14
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -28
- package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/dist/core/schemas/utils/isPlainObject.js +0 -18
- package/dist/core/schemas/utils/keys.d.ts +0 -1
- package/dist/core/schemas/utils/keys.js +0 -7
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
- package/dist/core/schemas/utils/maybeSkipValidation.js +0 -28
- package/dist/core/schemas/utils/partition.d.ts +0 -1
- package/dist/core/schemas/utils/partition.js +0 -16
- package/dist/serialization/index.d.ts +0 -2
- package/dist/serialization/index.js +0 -18
- package/dist/serialization/resources/assets/index.d.ts +0 -1
- package/dist/serialization/resources/assets/index.js +0 -17
- package/dist/serialization/resources/assets/resources/folders/client/index.d.ts +0 -1
- package/dist/serialization/resources/assets/resources/folders/client/index.js +0 -17
- package/dist/serialization/resources/assets/resources/folders/client/requests/DeleteFolderRequest.d.ts +0 -12
- package/dist/serialization/resources/assets/resources/folders/client/requests/DeleteFolderRequest.js +0 -33
- package/dist/serialization/resources/assets/resources/folders/client/requests/UpsertFolderRequest.d.ts +0 -14
- package/dist/serialization/resources/assets/resources/folders/client/requests/UpsertFolderRequest.js +0 -35
- package/dist/serialization/resources/assets/resources/folders/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/assets/resources/folders/client/requests/index.js +0 -7
- package/dist/serialization/resources/assets/resources/folders/index.d.ts +0 -1
- package/dist/serialization/resources/assets/resources/folders/index.js +0 -17
- package/dist/serialization/resources/assets/resources/index.d.ts +0 -4
- package/dist/serialization/resources/assets/resources/index.js +0 -33
- package/dist/serialization/resources/assets/resources/rules/client/index.d.ts +0 -1
- package/dist/serialization/resources/assets/resources/rules/client/index.js +0 -17
- package/dist/serialization/resources/assets/resources/rules/client/requests/DeleteRuleRequest.d.ts +0 -12
- package/dist/serialization/resources/assets/resources/rules/client/requests/DeleteRuleRequest.js +0 -33
- package/dist/serialization/resources/assets/resources/rules/client/requests/ImportRuleRequest.d.ts +0 -12
- package/dist/serialization/resources/assets/resources/rules/client/requests/ImportRuleRequest.js +0 -33
- package/dist/serialization/resources/assets/resources/rules/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/assets/resources/rules/client/requests/index.js +0 -7
- package/dist/serialization/resources/assets/resources/rules/index.d.ts +0 -1
- package/dist/serialization/resources/assets/resources/rules/index.js +0 -17
- package/dist/serialization/resources/index.d.ts +0 -7
- package/dist/serialization/resources/index.js +0 -36
- package/dist/serialization/resources/rules/client/bulkSolve.d.ts +0 -16
- package/dist/serialization/resources/rules/client/bulkSolve.js +0 -34
- package/dist/serialization/resources/rules/client/index.d.ts +0 -1
- package/dist/serialization/resources/rules/client/index.js +0 -27
- package/dist/serialization/resources/rules/index.d.ts +0 -1
- package/dist/serialization/resources/rules/index.js +0 -17
- package/dist/serialization/resources/users/client/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/index.js +0 -17
- package/dist/serialization/resources/users/client/requests/UserInviteRequest.d.ts +0 -15
- package/dist/serialization/resources/users/client/requests/UserInviteRequest.js +0 -36
- package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/requests/index.js +0 -5
- package/dist/serialization/resources/users/index.d.ts +0 -3
- package/dist/serialization/resources/users/index.js +0 -19
- package/dist/serialization/resources/users/resources/groups/client/index.d.ts +0 -1
- package/dist/serialization/resources/users/resources/groups/client/index.js +0 -17
- package/dist/serialization/resources/users/resources/groups/client/requests/CreateUserGroupRequest.d.ts +0 -13
- package/dist/serialization/resources/users/resources/groups/client/requests/CreateUserGroupRequest.js +0 -34
- package/dist/serialization/resources/users/resources/groups/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/users/resources/groups/client/requests/index.js +0 -5
- package/dist/serialization/resources/users/resources/groups/index.d.ts +0 -1
- package/dist/serialization/resources/users/resources/groups/index.js +0 -17
- package/dist/serialization/resources/users/resources/index.d.ts +0 -2
- package/dist/serialization/resources/users/resources/index.js +0 -31
- package/dist/serialization/resources/users/types/UserInviteRequestRole.d.ts +0 -10
- package/dist/serialization/resources/users/types/UserInviteRequestRole.js +0 -31
- package/dist/serialization/resources/users/types/index.d.ts +0 -1
- package/dist/serialization/resources/users/types/index.js +0 -17
- package/dist/serialization/resources/values/client/index.d.ts +0 -1
- package/dist/serialization/resources/values/client/index.js +0 -17
- package/dist/serialization/resources/values/client/requests/UpdateValuesRequest.d.ts +0 -13
- package/dist/serialization/resources/values/client/requests/UpdateValuesRequest.js +0 -34
- package/dist/serialization/resources/values/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/values/client/requests/index.js +0 -5
- package/dist/serialization/resources/values/index.d.ts +0 -1
- package/dist/serialization/resources/values/index.js +0 -17
- package/dist/serialization/types/BulkRuleResponseItem.d.ts +0 -12
- package/dist/serialization/types/BulkRuleResponseItem.js +0 -33
- package/dist/serialization/types/BulkRuleResponseItemError.d.ts +0 -12
- package/dist/serialization/types/BulkRuleResponseItemError.js +0 -33
- package/dist/serialization/types/CreateTestRequest.d.ts +0 -15
- package/dist/serialization/types/CreateTestRequest.js +0 -36
- package/dist/serialization/types/DecisionLog.d.ts +0 -10
- package/dist/serialization/types/DecisionLog.js +0 -31
- package/dist/serialization/types/DecisionLogResponse.d.ts +0 -14
- package/dist/serialization/types/DecisionLogResponse.js +0 -35
- package/dist/serialization/types/DynamicRequestPayload.d.ts +0 -10
- package/dist/serialization/types/DynamicRequestPayload.js +0 -31
- package/dist/serialization/types/DynamicResponsePayload.d.ts +0 -10
- package/dist/serialization/types/DynamicResponsePayload.js +0 -31
- package/dist/serialization/types/DynamicValue.d.ts +0 -18
- package/dist/serialization/types/DynamicValue.js +0 -39
- package/dist/serialization/types/DynamicValueListResponse.d.ts +0 -11
- package/dist/serialization/types/DynamicValueListResponse.js +0 -32
- package/dist/serialization/types/Error_.d.ts +0 -12
- package/dist/serialization/types/Error_.js +0 -33
- package/dist/serialization/types/FlowBase.d.ts +0 -15
- package/dist/serialization/types/FlowBase.js +0 -36
- package/dist/serialization/types/FlowDetail.d.ts +0 -14
- package/dist/serialization/types/FlowDetail.js +0 -37
- package/dist/serialization/types/FlowExecutionError.d.ts +0 -14
- package/dist/serialization/types/FlowExecutionError.js +0 -35
- package/dist/serialization/types/FlowListResponse.d.ts +0 -11
- package/dist/serialization/types/FlowListResponse.js +0 -32
- package/dist/serialization/types/Folder.d.ts +0 -15
- package/dist/serialization/types/Folder.js +0 -36
- package/dist/serialization/types/FolderListResponse.d.ts +0 -11
- package/dist/serialization/types/FolderListResponse.js +0 -32
- package/dist/serialization/types/ParallelSolveRequest.d.ts +0 -11
- package/dist/serialization/types/ParallelSolveRequest.js +0 -32
- package/dist/serialization/types/ParallelSolveRequestValue.d.ts +0 -14
- package/dist/serialization/types/ParallelSolveRequestValue.js +0 -36
- package/dist/serialization/types/ParallelSolveResponse.d.ts +0 -11
- package/dist/serialization/types/ParallelSolveResponse.js +0 -32
- package/dist/serialization/types/RuleBase.d.ts +0 -15
- package/dist/serialization/types/RuleBase.js +0 -36
- package/dist/serialization/types/RuleDetail.d.ts +0 -18
- package/dist/serialization/types/RuleDetail.js +0 -41
- package/dist/serialization/types/RuleExport.d.ts +0 -10
- package/dist/serialization/types/RuleExport.js +0 -31
- package/dist/serialization/types/RuleListResponse.d.ts +0 -11
- package/dist/serialization/types/RuleListResponse.js +0 -32
- package/dist/serialization/types/RuleUsage.d.ts +0 -17
- package/dist/serialization/types/RuleUsage.js +0 -38
- package/dist/serialization/types/SchemaField.d.ts +0 -21
- package/dist/serialization/types/SchemaField.js +0 -42
- package/dist/serialization/types/SchemaFieldDefaultValue.d.ts +0 -10
- package/dist/serialization/types/SchemaFieldDefaultValue.js +0 -37
- package/dist/serialization/types/SchemaFieldType.d.ts +0 -10
- package/dist/serialization/types/SchemaFieldType.js +0 -31
- package/dist/serialization/types/SuccessMessage.d.ts +0 -12
- package/dist/serialization/types/SuccessMessage.js +0 -33
- package/dist/serialization/types/Test.d.ts +0 -21
- package/dist/serialization/types/Test.js +0 -42
- package/dist/serialization/types/TestListResponse.d.ts +0 -11
- package/dist/serialization/types/TestListResponse.js +0 -32
- package/dist/serialization/types/TestTestState.d.ts +0 -19
- package/dist/serialization/types/TestTestState.js +0 -42
- package/dist/serialization/types/TestTestStateConditionsItemValue.d.ts +0 -13
- package/dist/serialization/types/TestTestStateConditionsItemValue.js +0 -34
- package/dist/serialization/types/TestTestStateEvaluationError.d.ts +0 -10
- package/dist/serialization/types/TestTestStateEvaluationError.js +0 -31
- package/dist/serialization/types/UsageStatistics.d.ts +0 -17
- package/dist/serialization/types/UsageStatistics.js +0 -38
- package/dist/serialization/types/UserGroup.d.ts +0 -15
- package/dist/serialization/types/UserGroup.js +0 -36
- package/dist/serialization/types/UserGroupListResponse.d.ts +0 -11
- package/dist/serialization/types/UserGroupListResponse.js +0 -32
- package/dist/serialization/types/UserInviteResponse.d.ts +0 -14
- package/dist/serialization/types/UserInviteResponse.js +0 -35
- package/dist/serialization/types/UserInviteResponseUser.d.ts +0 -14
- package/dist/serialization/types/UserInviteResponseUser.js +0 -35
- package/dist/serialization/types/ValueLimits.d.ts +0 -15
- package/dist/serialization/types/ValueLimits.js +0 -36
- package/dist/serialization/types/index.d.ts +0 -39
- package/dist/serialization/types/index.js +0 -55
- package/serialization/index.d.ts +0 -2
- package/serialization/index.js +0 -18
- package/serialization/resources/assets/index.d.ts +0 -1
- package/serialization/resources/assets/index.js +0 -17
- package/serialization/resources/assets/resources/folders/client/index.d.ts +0 -1
- package/serialization/resources/assets/resources/folders/client/index.js +0 -17
- package/serialization/resources/assets/resources/folders/client/requests/DeleteFolderRequest.d.ts +0 -12
- package/serialization/resources/assets/resources/folders/client/requests/DeleteFolderRequest.js +0 -33
- package/serialization/resources/assets/resources/folders/client/requests/UpsertFolderRequest.d.ts +0 -14
- package/serialization/resources/assets/resources/folders/client/requests/UpsertFolderRequest.js +0 -35
- package/serialization/resources/assets/resources/folders/client/requests/index.d.ts +0 -2
- package/serialization/resources/assets/resources/folders/client/requests/index.js +0 -7
- package/serialization/resources/assets/resources/folders/index.d.ts +0 -1
- package/serialization/resources/assets/resources/folders/index.js +0 -17
- package/serialization/resources/assets/resources/index.d.ts +0 -4
- package/serialization/resources/assets/resources/index.js +0 -33
- package/serialization/resources/assets/resources/rules/client/index.d.ts +0 -1
- package/serialization/resources/assets/resources/rules/client/index.js +0 -17
- package/serialization/resources/assets/resources/rules/client/requests/DeleteRuleRequest.d.ts +0 -12
- package/serialization/resources/assets/resources/rules/client/requests/DeleteRuleRequest.js +0 -33
- package/serialization/resources/assets/resources/rules/client/requests/ImportRuleRequest.d.ts +0 -12
- package/serialization/resources/assets/resources/rules/client/requests/ImportRuleRequest.js +0 -33
- package/serialization/resources/assets/resources/rules/client/requests/index.d.ts +0 -2
- package/serialization/resources/assets/resources/rules/client/requests/index.js +0 -7
- package/serialization/resources/assets/resources/rules/index.d.ts +0 -1
- package/serialization/resources/assets/resources/rules/index.js +0 -17
- package/serialization/resources/index.d.ts +0 -7
- package/serialization/resources/index.js +0 -36
- package/serialization/resources/rules/client/bulkSolve.d.ts +0 -16
- package/serialization/resources/rules/client/bulkSolve.js +0 -34
- package/serialization/resources/rules/client/index.d.ts +0 -1
- package/serialization/resources/rules/client/index.js +0 -27
- package/serialization/resources/rules/index.d.ts +0 -1
- package/serialization/resources/rules/index.js +0 -17
- package/serialization/resources/users/client/index.d.ts +0 -1
- package/serialization/resources/users/client/index.js +0 -17
- package/serialization/resources/users/client/requests/UserInviteRequest.d.ts +0 -15
- package/serialization/resources/users/client/requests/UserInviteRequest.js +0 -36
- package/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/serialization/resources/users/client/requests/index.js +0 -5
- package/serialization/resources/users/index.d.ts +0 -3
- package/serialization/resources/users/index.js +0 -19
- package/serialization/resources/users/resources/groups/client/index.d.ts +0 -1
- package/serialization/resources/users/resources/groups/client/index.js +0 -17
- package/serialization/resources/users/resources/groups/client/requests/CreateUserGroupRequest.d.ts +0 -13
- package/serialization/resources/users/resources/groups/client/requests/CreateUserGroupRequest.js +0 -34
- package/serialization/resources/users/resources/groups/client/requests/index.d.ts +0 -1
- package/serialization/resources/users/resources/groups/client/requests/index.js +0 -5
- package/serialization/resources/users/resources/groups/index.d.ts +0 -1
- package/serialization/resources/users/resources/groups/index.js +0 -17
- package/serialization/resources/users/resources/index.d.ts +0 -2
- package/serialization/resources/users/resources/index.js +0 -31
- package/serialization/resources/users/types/UserInviteRequestRole.d.ts +0 -10
- package/serialization/resources/users/types/UserInviteRequestRole.js +0 -31
- package/serialization/resources/users/types/index.d.ts +0 -1
- package/serialization/resources/users/types/index.js +0 -17
- package/serialization/resources/values/client/index.d.ts +0 -1
- package/serialization/resources/values/client/index.js +0 -17
- package/serialization/resources/values/client/requests/UpdateValuesRequest.d.ts +0 -13
- package/serialization/resources/values/client/requests/UpdateValuesRequest.js +0 -34
- package/serialization/resources/values/client/requests/index.d.ts +0 -1
- package/serialization/resources/values/client/requests/index.js +0 -5
- package/serialization/resources/values/index.d.ts +0 -1
- package/serialization/resources/values/index.js +0 -17
- package/serialization/types/BulkRuleResponseItem.d.ts +0 -12
- package/serialization/types/BulkRuleResponseItem.js +0 -33
- package/serialization/types/BulkRuleResponseItemError.d.ts +0 -12
- package/serialization/types/BulkRuleResponseItemError.js +0 -33
- package/serialization/types/CreateTestRequest.d.ts +0 -15
- package/serialization/types/CreateTestRequest.js +0 -36
- package/serialization/types/DecisionLog.d.ts +0 -10
- package/serialization/types/DecisionLog.js +0 -31
- package/serialization/types/DecisionLogResponse.d.ts +0 -14
- package/serialization/types/DecisionLogResponse.js +0 -35
- package/serialization/types/DynamicRequestPayload.d.ts +0 -10
- package/serialization/types/DynamicRequestPayload.js +0 -31
- package/serialization/types/DynamicResponsePayload.d.ts +0 -10
- package/serialization/types/DynamicResponsePayload.js +0 -31
- package/serialization/types/DynamicValue.d.ts +0 -18
- package/serialization/types/DynamicValue.js +0 -39
- package/serialization/types/DynamicValueListResponse.d.ts +0 -11
- package/serialization/types/DynamicValueListResponse.js +0 -32
- package/serialization/types/Error_.d.ts +0 -12
- package/serialization/types/Error_.js +0 -33
- package/serialization/types/FlowBase.d.ts +0 -15
- package/serialization/types/FlowBase.js +0 -36
- package/serialization/types/FlowDetail.d.ts +0 -14
- package/serialization/types/FlowDetail.js +0 -37
- package/serialization/types/FlowExecutionError.d.ts +0 -14
- package/serialization/types/FlowExecutionError.js +0 -35
- package/serialization/types/FlowListResponse.d.ts +0 -11
- package/serialization/types/FlowListResponse.js +0 -32
- package/serialization/types/Folder.d.ts +0 -15
- package/serialization/types/Folder.js +0 -36
- package/serialization/types/FolderListResponse.d.ts +0 -11
- package/serialization/types/FolderListResponse.js +0 -32
- package/serialization/types/ParallelSolveRequest.d.ts +0 -11
- package/serialization/types/ParallelSolveRequest.js +0 -32
- package/serialization/types/ParallelSolveRequestValue.d.ts +0 -14
- package/serialization/types/ParallelSolveRequestValue.js +0 -36
- package/serialization/types/ParallelSolveResponse.d.ts +0 -11
- package/serialization/types/ParallelSolveResponse.js +0 -32
- package/serialization/types/RuleBase.d.ts +0 -15
- package/serialization/types/RuleBase.js +0 -36
- package/serialization/types/RuleDetail.d.ts +0 -18
- package/serialization/types/RuleDetail.js +0 -41
- package/serialization/types/RuleExport.d.ts +0 -10
- package/serialization/types/RuleExport.js +0 -31
- package/serialization/types/RuleListResponse.d.ts +0 -11
- package/serialization/types/RuleListResponse.js +0 -32
- package/serialization/types/RuleUsage.d.ts +0 -17
- package/serialization/types/RuleUsage.js +0 -38
- package/serialization/types/SchemaField.d.ts +0 -21
- package/serialization/types/SchemaField.js +0 -42
- package/serialization/types/SchemaFieldDefaultValue.d.ts +0 -10
- package/serialization/types/SchemaFieldDefaultValue.js +0 -37
- package/serialization/types/SchemaFieldType.d.ts +0 -10
- package/serialization/types/SchemaFieldType.js +0 -31
- package/serialization/types/SuccessMessage.d.ts +0 -12
- package/serialization/types/SuccessMessage.js +0 -33
- package/serialization/types/Test.d.ts +0 -21
- package/serialization/types/Test.js +0 -42
- package/serialization/types/TestListResponse.d.ts +0 -11
- package/serialization/types/TestListResponse.js +0 -32
- package/serialization/types/TestTestState.d.ts +0 -19
- package/serialization/types/TestTestState.js +0 -42
- package/serialization/types/TestTestStateConditionsItemValue.d.ts +0 -13
- package/serialization/types/TestTestStateConditionsItemValue.js +0 -34
- package/serialization/types/TestTestStateEvaluationError.d.ts +0 -10
- package/serialization/types/TestTestStateEvaluationError.js +0 -31
- package/serialization/types/UsageStatistics.d.ts +0 -17
- package/serialization/types/UsageStatistics.js +0 -38
- package/serialization/types/UserGroup.d.ts +0 -15
- package/serialization/types/UserGroup.js +0 -36
- package/serialization/types/UserGroupListResponse.d.ts +0 -11
- package/serialization/types/UserGroupListResponse.js +0 -32
- package/serialization/types/UserInviteResponse.d.ts +0 -14
- package/serialization/types/UserInviteResponse.js +0 -35
- package/serialization/types/UserInviteResponseUser.d.ts +0 -14
- package/serialization/types/UserInviteResponseUser.js +0 -35
- package/serialization/types/ValueLimits.d.ts +0 -15
- package/serialization/types/ValueLimits.js +0 -36
- package/serialization/types/index.d.ts +0 -39
- package/serialization/types/index.js +0 -55
- /package/{core/schemas/builders/object-like/types.js → api/resources/assets/client/requests/index.js} +0 -0
- /package/{core/schemas/builders/object/types.js → api/resources/contexts/client/requests/index.js} +0 -0
- /package/{core/schemas/builders/record/types.js → api/resources/contexts/resources/admin/client/requests/index.js} +0 -0
- /package/{core/schemas/builders/undiscriminated-union/types.js → api/resources/contexts/resources/relationships/client/requests/index.js} +0 -0
- /package/{core/schemas/builders/union/types.js → api/resources/flows/client/requests/index.js} +0 -0
- /package/{core/schemas/utils/MaybePromise.js → api/resources/rules/client/requests/index.js} +0 -0
- /package/{core/schemas/utils/addQuestionMarksToNullableProperties.js → api/resources/tests/resources/flows/client/requests/index.js} +0 -0
- /package/{dist/core/schemas/builders/object-like/types.js → api/resources/tests/resources/rules/client/requests/index.js} +0 -0
- /package/{dist/core/schemas/builders/object/types.js → core/auth/AuthProvider.js} +0 -0
- /package/{dist/core/schemas/builders/record/types.js → core/auth/AuthRequest.js} +0 -0
- /package/{dist/core/schemas/builders/undiscriminated-union/types.js → core/fetcher/EndpointMetadata.js} +0 -0
- /package/dist/{core/schemas/builders/union/types.js → api/resources/assets/client/requests/index.js} +0 -0
- /package/dist/{core/schemas/utils/MaybePromise.js → api/resources/contexts/client/requests/index.js} +0 -0
- /package/dist/{core/schemas/utils/addQuestionMarksToNullableProperties.js → api/resources/contexts/resources/admin/client/requests/index.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
1
|
+
import type * as core from "../core/index.js";
|
|
4
2
|
export declare class RulebricksError extends Error {
|
|
5
3
|
readonly statusCode?: number;
|
|
6
4
|
readonly body?: unknown;
|
|
7
|
-
|
|
5
|
+
readonly rawResponse?: core.RawResponse;
|
|
6
|
+
constructor({ message, statusCode, body, rawResponse, }: {
|
|
8
7
|
message?: string;
|
|
9
8
|
statusCode?: number;
|
|
10
9
|
body?: unknown;
|
|
10
|
+
rawResponse?: core.RawResponse;
|
|
11
11
|
});
|
|
12
12
|
}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
5
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
4
|
exports.RulebricksError = void 0;
|
|
7
|
-
const
|
|
5
|
+
const json_js_1 = require("../core/json.js");
|
|
8
6
|
class RulebricksError extends Error {
|
|
9
|
-
constructor({ message, statusCode, body }) {
|
|
7
|
+
constructor({ message, statusCode, body, rawResponse, }) {
|
|
10
8
|
super(buildMessage({ message, statusCode, body }));
|
|
11
|
-
Object.setPrototypeOf(this,
|
|
12
|
-
if (
|
|
13
|
-
this.
|
|
14
|
-
}
|
|
15
|
-
if (body !== undefined) {
|
|
16
|
-
this.body = body;
|
|
9
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
10
|
+
if (Error.captureStackTrace) {
|
|
11
|
+
Error.captureStackTrace(this, this.constructor);
|
|
17
12
|
}
|
|
13
|
+
this.name = this.constructor.name;
|
|
14
|
+
this.statusCode = statusCode;
|
|
15
|
+
this.body = body;
|
|
16
|
+
this.rawResponse = rawResponse;
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
exports.RulebricksError = RulebricksError;
|
|
21
20
|
function buildMessage({ message, statusCode, body, }) {
|
|
22
|
-
|
|
21
|
+
const lines = [];
|
|
23
22
|
if (message != null) {
|
|
24
23
|
lines.push(message);
|
|
25
24
|
}
|
|
@@ -27,7 +26,7 @@ function buildMessage({ message, statusCode, body, }) {
|
|
|
27
26
|
lines.push(`Status code: ${statusCode.toString()}`);
|
|
28
27
|
}
|
|
29
28
|
if (body != null) {
|
|
30
|
-
lines.push(`Body: ${(0,
|
|
29
|
+
lines.push(`Body: ${(0, json_js_1.toJson)(body, undefined, 2)}`);
|
|
31
30
|
}
|
|
32
31
|
return lines.join("\n");
|
|
33
32
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
5
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
4
|
exports.RulebricksTimeoutError = void 0;
|
|
7
5
|
class RulebricksTimeoutError extends Error {
|
|
8
6
|
constructor(message) {
|
|
9
7
|
super(message);
|
|
10
|
-
Object.setPrototypeOf(this,
|
|
8
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
9
|
+
if (Error.captureStackTrace) {
|
|
10
|
+
Error.captureStackTrace(this, this.constructor);
|
|
11
|
+
}
|
|
12
|
+
this.name = this.constructor.name;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
13
15
|
exports.RulebricksTimeoutError = RulebricksTimeoutError;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.handleNonStatusCodeError = handleNonStatusCodeError;
|
|
38
|
+
const errors = __importStar(require("./index.js"));
|
|
39
|
+
function handleNonStatusCodeError(error, rawResponse, method, path) {
|
|
40
|
+
switch (error.reason) {
|
|
41
|
+
case "non-json":
|
|
42
|
+
throw new errors.RulebricksError({
|
|
43
|
+
statusCode: error.statusCode,
|
|
44
|
+
body: error.rawBody,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
case "body-is-null":
|
|
48
|
+
throw new errors.RulebricksError({
|
|
49
|
+
statusCode: error.statusCode,
|
|
50
|
+
rawResponse: rawResponse,
|
|
51
|
+
});
|
|
52
|
+
case "timeout":
|
|
53
|
+
throw new errors.RulebricksTimeoutError(`Timeout exceeded when calling ${method} ${path}.`);
|
|
54
|
+
case "unknown":
|
|
55
|
+
throw new errors.RulebricksError({
|
|
56
|
+
message: error.errorMessage,
|
|
57
|
+
rawResponse: rawResponse,
|
|
58
|
+
});
|
|
59
|
+
default:
|
|
60
|
+
throw new errors.RulebricksError({
|
|
61
|
+
message: "Unknown error",
|
|
62
|
+
rawResponse: rawResponse,
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
package/errors/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RulebricksError } from "./RulebricksError";
|
|
2
|
-
export { RulebricksTimeoutError } from "./RulebricksTimeoutError";
|
|
1
|
+
export { RulebricksError } from "./RulebricksError.js";
|
|
2
|
+
export { RulebricksTimeoutError } from "./RulebricksTimeoutError.js";
|
package/errors/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RulebricksTimeoutError = exports.RulebricksError = void 0;
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "RulebricksError", { enumerable: true, get: function () { return
|
|
6
|
-
var
|
|
7
|
-
Object.defineProperty(exports, "RulebricksTimeoutError", { enumerable: true, get: function () { return
|
|
4
|
+
var RulebricksError_js_1 = require("./RulebricksError.js");
|
|
5
|
+
Object.defineProperty(exports, "RulebricksError", { enumerable: true, get: function () { return RulebricksError_js_1.RulebricksError; } });
|
|
6
|
+
var RulebricksTimeoutError_js_1 = require("./RulebricksTimeoutError.js");
|
|
7
|
+
Object.defineProperty(exports, "RulebricksTimeoutError", { enumerable: true, get: function () { return RulebricksTimeoutError_js_1.RulebricksTimeoutError; } });
|
package/exports.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./core/exports.js";
|
package/exports.js
ADDED
|
@@ -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("./core/exports.js"), exports);
|
package/forge/operators.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Field, RuleType, OperatorDef, DynamicValueType } from "./types.js";
|
|
2
2
|
import { DynamicValue } from "./values.js";
|
|
3
|
-
export
|
|
3
|
+
export type OperatorResult = [string, any[]];
|
|
4
4
|
export declare class Argument<T> {
|
|
5
5
|
private value;
|
|
6
6
|
private expectedType;
|
package/forge/rule.js
CHANGED
|
@@ -270,8 +270,8 @@ class Rule {
|
|
|
270
270
|
this.description = description;
|
|
271
271
|
return this;
|
|
272
272
|
}
|
|
273
|
-
setFolder(
|
|
274
|
-
return __awaiter(this,
|
|
273
|
+
setFolder(folderName_1) {
|
|
274
|
+
return __awaiter(this, arguments, void 0, function* (folderName, createIfMissing = false) {
|
|
275
275
|
if (!this.workspace) {
|
|
276
276
|
throw new Error("A Rulebricks client is required to set a folder by name");
|
|
277
277
|
}
|
|
@@ -358,8 +358,8 @@ class Rule {
|
|
|
358
358
|
this.settings.lockSchema = enabled;
|
|
359
359
|
return this;
|
|
360
360
|
}
|
|
361
|
-
addAccessGroup(
|
|
362
|
-
return __awaiter(this,
|
|
361
|
+
addAccessGroup(groupName_1) {
|
|
362
|
+
return __awaiter(this, arguments, void 0, function* (groupName, createIfMissing = false) {
|
|
363
363
|
if (!this.workspace) {
|
|
364
364
|
throw new Error("A Rulebricks client is required to manage access groups");
|
|
365
365
|
}
|
package/forge/types.d.ts
CHANGED
package/forge/types.js
CHANGED
|
@@ -10,7 +10,7 @@ var DynamicValueType;
|
|
|
10
10
|
DynamicValueType["LIST"] = "list";
|
|
11
11
|
DynamicValueType["FUNCTION"] = "function";
|
|
12
12
|
DynamicValueType["OBJECT"] = "object";
|
|
13
|
-
})(DynamicValueType
|
|
13
|
+
})(DynamicValueType || (exports.DynamicValueType = DynamicValueType = {}));
|
|
14
14
|
var RuleType;
|
|
15
15
|
(function (RuleType) {
|
|
16
16
|
RuleType["BOOLEAN"] = "boolean";
|
|
@@ -19,7 +19,7 @@ var RuleType;
|
|
|
19
19
|
RuleType["DATE"] = "date";
|
|
20
20
|
RuleType["LIST"] = "list";
|
|
21
21
|
RuleType["FUNCTION"] = "function";
|
|
22
|
-
})(RuleType
|
|
22
|
+
})(RuleType || (exports.RuleType = RuleType = {}));
|
|
23
23
|
class TypeMismatchError extends Error {
|
|
24
24
|
constructor(message) {
|
|
25
25
|
super(message);
|
package/forge/values.d.ts
CHANGED
|
@@ -15,6 +15,6 @@ export declare class DynamicValues {
|
|
|
15
15
|
private static cache;
|
|
16
16
|
static configure(client: RulebricksClient): void;
|
|
17
17
|
static get(name: string): Promise<DynamicValue>;
|
|
18
|
-
static set(dynamicValues: Record<string, any>,
|
|
18
|
+
static set(dynamicValues: Record<string, any>, user_groups?: string[]): Promise<void>;
|
|
19
19
|
static clearCache(): void;
|
|
20
20
|
}
|
package/forge/values.js
CHANGED
|
@@ -72,12 +72,12 @@ class DynamicValues {
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
static set(
|
|
76
|
-
return __awaiter(this,
|
|
75
|
+
static set(dynamicValues_1) {
|
|
76
|
+
return __awaiter(this, arguments, void 0, function* (dynamicValues, user_groups = []) {
|
|
77
77
|
if (!this.workspace) {
|
|
78
78
|
throw new Error("Workspace not configured. Call configure() first.");
|
|
79
79
|
}
|
|
80
|
-
yield this.workspace.values.update({ values: dynamicValues,
|
|
80
|
+
yield this.workspace.values.update({ values: dynamicValues, user_groups });
|
|
81
81
|
this.cache.clear();
|
|
82
82
|
});
|
|
83
83
|
}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export * as Rulebricks from "./api";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export
|
|
1
|
+
export * as Rulebricks from "./api/index.js";
|
|
2
|
+
export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
3
|
+
export { RulebricksClient } from "./Client.js";
|
|
4
|
+
export { RulebricksEnvironment } from "./environments.js";
|
|
5
|
+
export { RulebricksError, RulebricksTimeoutError } from "./errors/index.js";
|
|
6
|
+
export * from "./exports.js";
|
|
6
7
|
export { Rule, Condition, DynamicValue, DynamicValues, DynamicValueType, DynamicValueNotFoundError, TypeMismatchError, RuleTest, RuleSettings, } from "./forge";
|
package/index.js
CHANGED
|
@@ -15,24 +15,37 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
24
37
|
};
|
|
25
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.RuleTest = exports.TypeMismatchError = exports.DynamicValueNotFoundError = exports.DynamicValueType = exports.DynamicValues = exports.DynamicValue = exports.Condition = exports.Rule = exports.
|
|
27
|
-
exports.Rulebricks = __importStar(require("./api"));
|
|
28
|
-
var
|
|
29
|
-
Object.defineProperty(exports, "RulebricksClient", { enumerable: true, get: function () { return
|
|
30
|
-
var
|
|
31
|
-
Object.defineProperty(exports, "RulebricksEnvironment", { enumerable: true, get: function () { return
|
|
32
|
-
var
|
|
33
|
-
Object.defineProperty(exports, "RulebricksError", { enumerable: true, get: function () { return
|
|
34
|
-
Object.defineProperty(exports, "RulebricksTimeoutError", { enumerable: true, get: function () { return
|
|
35
|
-
|
|
39
|
+
exports.RuleTest = exports.TypeMismatchError = exports.DynamicValueNotFoundError = exports.DynamicValueType = exports.DynamicValues = exports.DynamicValue = exports.Condition = exports.Rule = exports.RulebricksTimeoutError = exports.RulebricksError = exports.RulebricksEnvironment = exports.RulebricksClient = exports.Rulebricks = void 0;
|
|
40
|
+
exports.Rulebricks = __importStar(require("./api/index.js"));
|
|
41
|
+
var Client_js_1 = require("./Client.js");
|
|
42
|
+
Object.defineProperty(exports, "RulebricksClient", { enumerable: true, get: function () { return Client_js_1.RulebricksClient; } });
|
|
43
|
+
var environments_js_1 = require("./environments.js");
|
|
44
|
+
Object.defineProperty(exports, "RulebricksEnvironment", { enumerable: true, get: function () { return environments_js_1.RulebricksEnvironment; } });
|
|
45
|
+
var index_js_1 = require("./errors/index.js");
|
|
46
|
+
Object.defineProperty(exports, "RulebricksError", { enumerable: true, get: function () { return index_js_1.RulebricksError; } });
|
|
47
|
+
Object.defineProperty(exports, "RulebricksTimeoutError", { enumerable: true, get: function () { return index_js_1.RulebricksTimeoutError; } });
|
|
48
|
+
__exportStar(require("./exports.js"), exports);
|
|
36
49
|
var forge_1 = require("./forge");
|
|
37
50
|
Object.defineProperty(exports, "Rule", { enumerable: true, get: function () { return forge_1.Rule; } });
|
|
38
51
|
Object.defineProperty(exports, "Condition", { enumerable: true, get: function () { return forge_1.Condition; } });
|
package/package.json
CHANGED
|
@@ -1,41 +1,45 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
2
|
+
"name": "@rulebricks/sdk",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"repository": "https://github.com/rulebricks/node-sdk",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"types": "./index.d.ts",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"author": "Rulebricks",
|
|
10
|
+
"description": "Rulebricks API – Node SDK",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"rulebricks",
|
|
13
|
+
"javascript",
|
|
14
|
+
"rule engine",
|
|
15
|
+
"sdk"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"format": "prettier . --write --ignore-unknown",
|
|
19
|
+
"build": "tsc",
|
|
20
|
+
"prepack": "cp -rv dist/. .",
|
|
21
|
+
"test": "jest"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@types/pako": "2.0.1",
|
|
25
|
+
"form-data": "4.0.0",
|
|
26
|
+
"js-base64": "3.7.2",
|
|
27
|
+
"node-fetch": "2.7.0",
|
|
28
|
+
"pako": "2.0.1",
|
|
29
|
+
"qs": "6.11.2",
|
|
30
|
+
"readable-stream": "^4.7.0",
|
|
31
|
+
"url-join": "4.0.1"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/jest": "^29.5.5",
|
|
35
|
+
"@types/node": "20.0.0",
|
|
36
|
+
"@types/node-fetch": "2.6.9",
|
|
37
|
+
"@types/qs": "6.9.8",
|
|
38
|
+
"@types/readable-stream": "^4.0.18",
|
|
39
|
+
"@types/url-join": "4.0.1",
|
|
40
|
+
"jest": "^29.7.0",
|
|
41
|
+
"prettier": "2.7.1",
|
|
42
|
+
"ts-jest": "^29.1.1",
|
|
43
|
+
"typescript": "^5.3.0"
|
|
44
|
+
}
|
|
41
45
|
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* slug: "slug"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface DecisionsQueryRequest {
|
|
11
|
-
/**
|
|
12
|
-
* The slug of the rule to query logs for.
|
|
13
|
-
*/
|
|
14
|
-
slug: string;
|
|
15
|
-
/**
|
|
16
|
-
* Start date for the query range (ISO8601 format).
|
|
17
|
-
*/
|
|
18
|
-
from?: Date;
|
|
19
|
-
/**
|
|
20
|
-
* End date for the query range (ISO8601 format).
|
|
21
|
-
*/
|
|
22
|
-
to?: Date;
|
|
23
|
-
/**
|
|
24
|
-
* Cursor for pagination.
|
|
25
|
-
*/
|
|
26
|
-
cursor?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Number of results to return per page.
|
|
29
|
-
*/
|
|
30
|
-
limit?: number;
|
|
31
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* System or custom role ID to assign to the user. Available system roles include 'admin', 'editor', and 'developer'.
|
|
6
|
-
*/
|
|
7
|
-
export declare type UserInviteRequestRole = "admin" | "editor" | "developer" | "custom-role";
|
|
8
|
-
export declare const UserInviteRequestRole: {
|
|
9
|
-
readonly Admin: "admin";
|
|
10
|
-
readonly Editor: "editor";
|
|
11
|
-
readonly Developer: "developer";
|
|
12
|
-
readonly CustomRole: "custom-role";
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
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.UserInviteRequestRole = void 0;
|
|
7
|
-
exports.UserInviteRequestRole = {
|
|
8
|
-
Admin: "admin",
|
|
9
|
-
Editor: "editor",
|
|
10
|
-
Developer: "developer",
|
|
11
|
-
CustomRole: "custom-role",
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./UserInviteRequestRole";
|
|
@@ -1,17 +0,0 @@
|
|
|
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("./UserInviteRequestRole"), exports);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* include: "usage"
|
|
8
|
-
* }
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* {
|
|
12
|
-
* include: "usage"
|
|
13
|
-
* }
|
|
14
|
-
*/
|
|
15
|
-
export interface ValuesListRequest {
|
|
16
|
-
/**
|
|
17
|
-
* Query all dynamic values containing a specific name
|
|
18
|
-
*/
|
|
19
|
-
name?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Comma-separated list of additional data to include. Use 'usage' to include which rules reference each value.
|
|
22
|
-
*/
|
|
23
|
-
include?: string;
|
|
24
|
-
}
|