@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
package/BaseClient.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HeaderAuthProvider } from "./auth/HeaderAuthProvider.js";
|
|
2
|
+
import * as core from "./core/index.js";
|
|
3
|
+
import type * as environments from "./environments.js";
|
|
4
|
+
export type BaseClientOptions = {
|
|
5
|
+
environment?: core.Supplier<environments.RulebricksEnvironment | string>;
|
|
6
|
+
/** Specify a custom URL to connect the client to. */
|
|
7
|
+
baseUrl?: core.Supplier<string>;
|
|
8
|
+
/** Additional headers to include in requests. */
|
|
9
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
10
|
+
/** The default maximum time to wait for a response in seconds. */
|
|
11
|
+
timeoutInSeconds?: number;
|
|
12
|
+
/** The default number of times to retry the request. Defaults to 2. */
|
|
13
|
+
maxRetries?: number;
|
|
14
|
+
/** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
|
|
15
|
+
fetch?: typeof fetch;
|
|
16
|
+
/** Configure logging for the client. */
|
|
17
|
+
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
18
|
+
} & HeaderAuthProvider.AuthOptions;
|
|
19
|
+
export interface BaseRequestOptions {
|
|
20
|
+
/** The maximum time to wait for a response in seconds. */
|
|
21
|
+
timeoutInSeconds?: number;
|
|
22
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
23
|
+
maxRetries?: number;
|
|
24
|
+
/** A hook to abort the request. */
|
|
25
|
+
abortSignal?: AbortSignal;
|
|
26
|
+
/** Additional query string parameters to include in the request. */
|
|
27
|
+
queryParams?: Record<string, unknown>;
|
|
28
|
+
/** Additional headers to include in the request. */
|
|
29
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
30
|
+
}
|
|
31
|
+
export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
|
|
32
|
+
logging: core.logging.Logger;
|
|
33
|
+
authProvider?: core.AuthProvider;
|
|
34
|
+
};
|
|
35
|
+
export type NormalizedClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions> = NormalizedClientOptions<T> & {
|
|
36
|
+
authProvider: core.AuthProvider;
|
|
37
|
+
};
|
|
38
|
+
export declare function normalizeClientOptions<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptions<T>;
|
|
39
|
+
export declare function normalizeClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptionsWithAuth<T>;
|
package/BaseClient.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
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.normalizeClientOptions = normalizeClientOptions;
|
|
38
|
+
exports.normalizeClientOptionsWithAuth = normalizeClientOptionsWithAuth;
|
|
39
|
+
const HeaderAuthProvider_js_1 = require("./auth/HeaderAuthProvider.js");
|
|
40
|
+
const headers_js_1 = require("./core/headers.js");
|
|
41
|
+
const core = __importStar(require("./core/index.js"));
|
|
42
|
+
function normalizeClientOptions(options) {
|
|
43
|
+
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
|
+
"X-Fern-Language": "JavaScript",
|
|
45
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
46
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
47
|
+
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
48
|
+
return Object.assign(Object.assign({}, options), { logging: core.logging.createLogger(options === null || options === void 0 ? void 0 : options.logging), headers });
|
|
49
|
+
}
|
|
50
|
+
function normalizeClientOptionsWithAuth(options) {
|
|
51
|
+
var _a;
|
|
52
|
+
const normalized = normalizeClientOptions(options);
|
|
53
|
+
const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);
|
|
54
|
+
(_a = normalized.authProvider) !== null && _a !== void 0 ? _a : (normalized.authProvider = new HeaderAuthProvider_js_1.HeaderAuthProvider(normalizedWithNoOpAuthProvider));
|
|
55
|
+
return normalized;
|
|
56
|
+
}
|
|
57
|
+
function withNoOpAuthProvider(options) {
|
|
58
|
+
return Object.assign(Object.assign({}, options), { authProvider: new core.NoOpAuthProvider() });
|
|
59
|
+
}
|
package/Client.d.ts
CHANGED
|
@@ -1,48 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { Values } from "./api/resources/values/client/Client";
|
|
12
|
-
import { Tests } from "./api/resources/tests/client/Client";
|
|
1
|
+
import { AssetsClient } from "./api/resources/assets/client/Client.js";
|
|
2
|
+
import { ContextsClient } from "./api/resources/contexts/client/Client.js";
|
|
3
|
+
import { DecisionsClient } from "./api/resources/decisions/client/Client.js";
|
|
4
|
+
import { FlowsClient } from "./api/resources/flows/client/Client.js";
|
|
5
|
+
import { RulesClient } from "./api/resources/rules/client/Client.js";
|
|
6
|
+
import { TestsClient } from "./api/resources/tests/client/Client.js";
|
|
7
|
+
import { UsersClient } from "./api/resources/users/client/Client.js";
|
|
8
|
+
import { ValuesClient } from "./api/resources/values/client/Client.js";
|
|
9
|
+
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
10
|
+
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
|
|
13
11
|
export declare namespace RulebricksClient {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/** Specify a custom URL to connect the client to. */
|
|
17
|
-
baseUrl?: core.Supplier<string>;
|
|
18
|
-
apiKey: core.Supplier<string>;
|
|
19
|
-
}
|
|
20
|
-
interface RequestOptions {
|
|
21
|
-
/** The maximum time to wait for a response in seconds. */
|
|
22
|
-
timeoutInSeconds?: number;
|
|
23
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
24
|
-
maxRetries?: number;
|
|
25
|
-
/** A hook to abort the request. */
|
|
26
|
-
abortSignal?: AbortSignal;
|
|
27
|
-
/** Additional headers to include in the request. */
|
|
28
|
-
headers?: Record<string, string>;
|
|
12
|
+
type Options = BaseClientOptions;
|
|
13
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
29
14
|
}
|
|
30
15
|
}
|
|
31
16
|
export declare class RulebricksClient {
|
|
32
|
-
protected readonly _options: RulebricksClient.Options
|
|
33
|
-
protected _rules:
|
|
34
|
-
protected _flows:
|
|
35
|
-
protected _decisions:
|
|
36
|
-
protected _users:
|
|
37
|
-
protected _assets:
|
|
38
|
-
protected _values:
|
|
39
|
-
protected
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
get
|
|
43
|
-
get
|
|
44
|
-
get
|
|
45
|
-
get
|
|
46
|
-
get
|
|
47
|
-
get
|
|
17
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<RulebricksClient.Options>;
|
|
18
|
+
protected _rules: RulesClient | undefined;
|
|
19
|
+
protected _flows: FlowsClient | undefined;
|
|
20
|
+
protected _decisions: DecisionsClient | undefined;
|
|
21
|
+
protected _users: UsersClient | undefined;
|
|
22
|
+
protected _assets: AssetsClient | undefined;
|
|
23
|
+
protected _values: ValuesClient | undefined;
|
|
24
|
+
protected _contexts: ContextsClient | undefined;
|
|
25
|
+
protected _tests: TestsClient | undefined;
|
|
26
|
+
constructor(options: RulebricksClient.Options);
|
|
27
|
+
get rules(): RulesClient;
|
|
28
|
+
get flows(): FlowsClient;
|
|
29
|
+
get decisions(): DecisionsClient;
|
|
30
|
+
get users(): UsersClient;
|
|
31
|
+
get assets(): AssetsClient;
|
|
32
|
+
get values(): ValuesClient;
|
|
33
|
+
get contexts(): ContextsClient;
|
|
34
|
+
get tests(): TestsClient;
|
|
48
35
|
}
|
package/Client.js
CHANGED
|
@@ -1,47 +1,51 @@
|
|
|
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.RulebricksClient = void 0;
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
5
|
+
const Client_js_1 = require("./api/resources/assets/client/Client.js");
|
|
6
|
+
const Client_js_2 = require("./api/resources/contexts/client/Client.js");
|
|
7
|
+
const Client_js_3 = require("./api/resources/decisions/client/Client.js");
|
|
8
|
+
const Client_js_4 = require("./api/resources/flows/client/Client.js");
|
|
9
|
+
const Client_js_5 = require("./api/resources/rules/client/Client.js");
|
|
10
|
+
const Client_js_6 = require("./api/resources/tests/client/Client.js");
|
|
11
|
+
const Client_js_7 = require("./api/resources/users/client/Client.js");
|
|
12
|
+
const Client_js_8 = require("./api/resources/values/client/Client.js");
|
|
13
|
+
const BaseClient_js_1 = require("./BaseClient.js");
|
|
14
14
|
class RulebricksClient {
|
|
15
|
-
constructor(
|
|
16
|
-
this._options =
|
|
15
|
+
constructor(options) {
|
|
16
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
17
17
|
}
|
|
18
18
|
get rules() {
|
|
19
19
|
var _a;
|
|
20
|
-
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new
|
|
20
|
+
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new Client_js_5.RulesClient(this._options)));
|
|
21
21
|
}
|
|
22
22
|
get flows() {
|
|
23
23
|
var _a;
|
|
24
|
-
return ((_a = this._flows) !== null && _a !== void 0 ? _a : (this._flows = new
|
|
24
|
+
return ((_a = this._flows) !== null && _a !== void 0 ? _a : (this._flows = new Client_js_4.FlowsClient(this._options)));
|
|
25
25
|
}
|
|
26
26
|
get decisions() {
|
|
27
27
|
var _a;
|
|
28
|
-
return ((_a = this._decisions) !== null && _a !== void 0 ? _a : (this._decisions = new
|
|
28
|
+
return ((_a = this._decisions) !== null && _a !== void 0 ? _a : (this._decisions = new Client_js_3.DecisionsClient(this._options)));
|
|
29
29
|
}
|
|
30
30
|
get users() {
|
|
31
31
|
var _a;
|
|
32
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
32
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_7.UsersClient(this._options)));
|
|
33
33
|
}
|
|
34
34
|
get assets() {
|
|
35
35
|
var _a;
|
|
36
|
-
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new
|
|
36
|
+
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Client_js_1.AssetsClient(this._options)));
|
|
37
37
|
}
|
|
38
38
|
get values() {
|
|
39
39
|
var _a;
|
|
40
|
-
return ((_a = this._values) !== null && _a !== void 0 ? _a : (this._values = new
|
|
40
|
+
return ((_a = this._values) !== null && _a !== void 0 ? _a : (this._values = new Client_js_8.ValuesClient(this._options)));
|
|
41
|
+
}
|
|
42
|
+
get contexts() {
|
|
43
|
+
var _a;
|
|
44
|
+
return ((_a = this._contexts) !== null && _a !== void 0 ? _a : (this._contexts = new Client_js_2.ContextsClient(this._options)));
|
|
41
45
|
}
|
|
42
46
|
get tests() {
|
|
43
47
|
var _a;
|
|
44
|
-
return ((_a = this._tests) !== null && _a !== void 0 ? _a : (this._tests = new
|
|
48
|
+
return ((_a = this._tests) !== null && _a !== void 0 ? _a : (this._tests = new Client_js_6.TestsClient(this._options)));
|
|
45
49
|
}
|
|
46
50
|
}
|
|
47
51
|
exports.RulebricksClient = RulebricksClient;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
5
3
|
export declare class BadRequestError extends errors.RulebricksError {
|
|
6
|
-
constructor(body?: unknown);
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
7
5
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
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
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
4
|
if (k2 === undefined) k2 = k;
|
|
7
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -18,24 +16,39 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
18
16
|
}) : function(o, v) {
|
|
19
17
|
o["default"] = v;
|
|
20
18
|
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
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
|
+
})();
|
|
28
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
37
|
exports.BadRequestError = void 0;
|
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
31
39
|
class BadRequestError extends errors.RulebricksError {
|
|
32
|
-
constructor(body) {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
33
41
|
super({
|
|
34
42
|
message: "BadRequestError",
|
|
35
43
|
statusCode: 400,
|
|
36
44
|
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
37
46
|
});
|
|
38
|
-
Object.setPrototypeOf(this,
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
39
52
|
}
|
|
40
53
|
}
|
|
41
54
|
exports.BadRequestError = BadRequestError;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
5
3
|
export declare class ForbiddenError extends errors.RulebricksError {
|
|
6
|
-
constructor(body?: unknown);
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
7
5
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
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
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
4
|
if (k2 === undefined) k2 = k;
|
|
7
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -18,24 +16,39 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
18
16
|
}) : function(o, v) {
|
|
19
17
|
o["default"] = v;
|
|
20
18
|
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
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
|
+
})();
|
|
28
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
37
|
exports.ForbiddenError = void 0;
|
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
31
39
|
class ForbiddenError extends errors.RulebricksError {
|
|
32
|
-
constructor(body) {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
33
41
|
super({
|
|
34
42
|
message: "ForbiddenError",
|
|
35
43
|
statusCode: 403,
|
|
36
44
|
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
37
46
|
});
|
|
38
|
-
Object.setPrototypeOf(this,
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
39
52
|
}
|
|
40
53
|
}
|
|
41
54
|
exports.ForbiddenError = ForbiddenError;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
5
3
|
export declare class InternalServerError extends errors.RulebricksError {
|
|
6
|
-
constructor(body?: unknown);
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
7
5
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
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
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
4
|
if (k2 === undefined) k2 = k;
|
|
7
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -18,24 +16,39 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
18
16
|
}) : function(o, v) {
|
|
19
17
|
o["default"] = v;
|
|
20
18
|
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
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
|
+
})();
|
|
28
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
37
|
exports.InternalServerError = void 0;
|
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
31
39
|
class InternalServerError extends errors.RulebricksError {
|
|
32
|
-
constructor(body) {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
33
41
|
super({
|
|
34
42
|
message: "InternalServerError",
|
|
35
43
|
statusCode: 500,
|
|
36
44
|
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
37
46
|
});
|
|
38
|
-
Object.setPrototypeOf(this,
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
39
52
|
}
|
|
40
53
|
}
|
|
41
54
|
exports.InternalServerError = InternalServerError;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
5
3
|
export declare class NotFoundError extends errors.RulebricksError {
|
|
6
|
-
constructor(body?: unknown);
|
|
4
|
+
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
7
5
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
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
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
4
|
if (k2 === undefined) k2 = k;
|
|
7
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -18,24 +16,39 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
18
16
|
}) : function(o, v) {
|
|
19
17
|
o["default"] = v;
|
|
20
18
|
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
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
|
+
})();
|
|
28
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
37
|
exports.NotFoundError = void 0;
|
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
31
39
|
class NotFoundError extends errors.RulebricksError {
|
|
32
|
-
constructor(body) {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
33
41
|
super({
|
|
34
42
|
message: "NotFoundError",
|
|
35
43
|
statusCode: 404,
|
|
36
44
|
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
37
46
|
});
|
|
38
|
-
Object.setPrototypeOf(this,
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
39
52
|
}
|
|
40
53
|
}
|
|
41
54
|
exports.NotFoundError = NotFoundError;
|
package/api/errors/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./BadRequestError";
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
1
|
+
export * from "./BadRequestError.js";
|
|
2
|
+
export * from "./ForbiddenError.js";
|
|
3
|
+
export * from "./InternalServerError.js";
|
|
4
|
+
export * from "./NotFoundError.js";
|
package/api/errors/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./BadRequestError"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./BadRequestError.js"), exports);
|
|
18
|
+
__exportStar(require("./ForbiddenError.js"), exports);
|
|
19
|
+
__exportStar(require("./InternalServerError.js"), exports);
|
|
20
|
+
__exportStar(require("./NotFoundError.js"), exports);
|
package/api/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
1
|
+
export * from "./errors/index.js";
|
|
2
|
+
export * from "./resources/index.js";
|
|
3
|
+
export * from "./types/index.js";
|
package/api/index.js
CHANGED
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./errors/index.js"), exports);
|
|
18
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
19
|
+
__exportStar(require("./types/index.js"), exports);
|