@inowu/cashdro 0.1.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/README.md +335 -0
- package/dist/BaseClient.d.ts +43 -0
- package/dist/BaseClient.d.ts.map +1 -0
- package/dist/BaseClient.js +44 -0
- package/dist/BaseClient.js.map +1 -0
- package/dist/Client.d.ts +181 -0
- package/dist/Client.d.ts.map +1 -0
- package/dist/Client.js +655 -0
- package/dist/Client.js.map +1 -0
- package/dist/api/client/index.d.ts +2 -0
- package/dist/api/client/index.d.ts.map +1 -0
- package/dist/api/client/index.js +2 -0
- package/dist/api/client/index.js.map +1 -0
- package/dist/api/client/requests/AcknowledgeOperationIdRequest.d.ts +13 -0
- package/dist/api/client/requests/AcknowledgeOperationIdRequest.d.ts.map +1 -0
- package/dist/api/client/requests/AcknowledgeOperationIdRequest.js +3 -0
- package/dist/api/client/requests/AcknowledgeOperationIdRequest.js.map +1 -0
- package/dist/api/client/requests/AskMovementsRequest.d.ts +21 -0
- package/dist/api/client/requests/AskMovementsRequest.d.ts.map +1 -0
- package/dist/api/client/requests/AskMovementsRequest.js +3 -0
- package/dist/api/client/requests/AskMovementsRequest.js.map +1 -0
- package/dist/api/client/requests/AskOperationExecutingRequest.d.ts +11 -0
- package/dist/api/client/requests/AskOperationExecutingRequest.d.ts.map +1 -0
- package/dist/api/client/requests/AskOperationExecutingRequest.js +3 -0
- package/dist/api/client/requests/AskOperationExecutingRequest.js.map +1 -0
- package/dist/api/client/requests/AskOperationRequest.d.ts +13 -0
- package/dist/api/client/requests/AskOperationRequest.d.ts.map +1 -0
- package/dist/api/client/requests/AskOperationRequest.js +3 -0
- package/dist/api/client/requests/AskOperationRequest.js.map +1 -0
- package/dist/api/client/requests/AskPendingOperationsRequest.d.ts +15 -0
- package/dist/api/client/requests/AskPendingOperationsRequest.d.ts.map +1 -0
- package/dist/api/client/requests/AskPendingOperationsRequest.js +3 -0
- package/dist/api/client/requests/AskPendingOperationsRequest.js.map +1 -0
- package/dist/api/client/requests/DoTestRequest.d.ts +11 -0
- package/dist/api/client/requests/DoTestRequest.d.ts.map +1 -0
- package/dist/api/client/requests/DoTestRequest.js +3 -0
- package/dist/api/client/requests/DoTestRequest.js.map +1 -0
- package/dist/api/client/requests/FinishOperationRequest.d.ts +18 -0
- package/dist/api/client/requests/FinishOperationRequest.d.ts.map +1 -0
- package/dist/api/client/requests/FinishOperationRequest.js +3 -0
- package/dist/api/client/requests/FinishOperationRequest.js.map +1 -0
- package/dist/api/client/requests/GetAlertsRequest.d.ts +11 -0
- package/dist/api/client/requests/GetAlertsRequest.d.ts.map +1 -0
- package/dist/api/client/requests/GetAlertsRequest.js +3 -0
- package/dist/api/client/requests/GetAlertsRequest.js.map +1 -0
- package/dist/api/client/requests/GetDiagnosisRequest.d.ts +11 -0
- package/dist/api/client/requests/GetDiagnosisRequest.d.ts.map +1 -0
- package/dist/api/client/requests/GetDiagnosisRequest.js +3 -0
- package/dist/api/client/requests/GetDiagnosisRequest.js.map +1 -0
- package/dist/api/client/requests/GetPiecesCurrencyRequest.d.ts +17 -0
- package/dist/api/client/requests/GetPiecesCurrencyRequest.d.ts.map +1 -0
- package/dist/api/client/requests/GetPiecesCurrencyRequest.js +3 -0
- package/dist/api/client/requests/GetPiecesCurrencyRequest.js.map +1 -0
- package/dist/api/client/requests/SetOperationImportedRequest.d.ts +13 -0
- package/dist/api/client/requests/SetOperationImportedRequest.d.ts.map +1 -0
- package/dist/api/client/requests/SetOperationImportedRequest.js +3 -0
- package/dist/api/client/requests/SetOperationImportedRequest.js.map +1 -0
- package/dist/api/client/requests/StartOperationRequest.d.ts +27 -0
- package/dist/api/client/requests/StartOperationRequest.d.ts.map +1 -0
- package/dist/api/client/requests/StartOperationRequest.js +3 -0
- package/dist/api/client/requests/StartOperationRequest.js.map +1 -0
- package/dist/api/client/requests/index.d.ts +13 -0
- package/dist/api/client/requests/index.d.ts.map +1 -0
- package/dist/api/client/requests/index.js +2 -0
- package/dist/api/client/requests/index.js.map +1 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +3 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/types/AcknowledgeOperationIdRequestOperation.d.ts +5 -0
- package/dist/api/types/AcknowledgeOperationIdRequestOperation.d.ts.map +1 -0
- package/dist/api/types/AcknowledgeOperationIdRequestOperation.js +5 -0
- package/dist/api/types/AcknowledgeOperationIdRequestOperation.js.map +1 -0
- package/dist/api/types/Alert.d.ts +12 -0
- package/dist/api/types/Alert.d.ts.map +1 -0
- package/dist/api/types/Alert.js +3 -0
- package/dist/api/types/Alert.js.map +1 -0
- package/dist/api/types/AlertsResponse.d.ts +21 -0
- package/dist/api/types/AlertsResponse.d.ts.map +1 -0
- package/dist/api/types/AlertsResponse.js +3 -0
- package/dist/api/types/AlertsResponse.js.map +1 -0
- package/dist/api/types/AskMovementsRequestOperation.d.ts +5 -0
- package/dist/api/types/AskMovementsRequestOperation.d.ts.map +1 -0
- package/dist/api/types/AskMovementsRequestOperation.js +5 -0
- package/dist/api/types/AskMovementsRequestOperation.js.map +1 -0
- package/dist/api/types/AskOperationExecutingRequestOperation.d.ts +5 -0
- package/dist/api/types/AskOperationExecutingRequestOperation.d.ts.map +1 -0
- package/dist/api/types/AskOperationExecutingRequestOperation.js +5 -0
- package/dist/api/types/AskOperationExecutingRequestOperation.js.map +1 -0
- package/dist/api/types/AskOperationRequestOperation.d.ts +5 -0
- package/dist/api/types/AskOperationRequestOperation.d.ts.map +1 -0
- package/dist/api/types/AskOperationRequestOperation.js +5 -0
- package/dist/api/types/AskOperationRequestOperation.js.map +1 -0
- package/dist/api/types/AskOperationResponse.d.ts +27 -0
- package/dist/api/types/AskOperationResponse.d.ts.map +1 -0
- package/dist/api/types/AskOperationResponse.js +3 -0
- package/dist/api/types/AskOperationResponse.js.map +1 -0
- package/dist/api/types/AskPendingOperationsRequestOperation.d.ts +5 -0
- package/dist/api/types/AskPendingOperationsRequestOperation.d.ts.map +1 -0
- package/dist/api/types/AskPendingOperationsRequestOperation.js +5 -0
- package/dist/api/types/AskPendingOperationsRequestOperation.js.map +1 -0
- package/dist/api/types/CurrencyPiece.d.ts +19 -0
- package/dist/api/types/CurrencyPiece.d.ts.map +1 -0
- package/dist/api/types/CurrencyPiece.js +3 -0
- package/dist/api/types/CurrencyPiece.js.map +1 -0
- package/dist/api/types/Device.d.ts +12 -0
- package/dist/api/types/Device.d.ts.map +1 -0
- package/dist/api/types/Device.js +3 -0
- package/dist/api/types/Device.js.map +1 -0
- package/dist/api/types/DiagnosisResponse.d.ts +22 -0
- package/dist/api/types/DiagnosisResponse.d.ts.map +1 -0
- package/dist/api/types/DiagnosisResponse.js +3 -0
- package/dist/api/types/DiagnosisResponse.js.map +1 -0
- package/dist/api/types/DoTestRequestOperation.d.ts +5 -0
- package/dist/api/types/DoTestRequestOperation.d.ts.map +1 -0
- package/dist/api/types/DoTestRequestOperation.js +5 -0
- package/dist/api/types/DoTestRequestOperation.js.map +1 -0
- package/dist/api/types/ExecutingOperation.d.ts +33 -0
- package/dist/api/types/ExecutingOperation.d.ts.map +1 -0
- package/dist/api/types/ExecutingOperation.js +3 -0
- package/dist/api/types/ExecutingOperation.js.map +1 -0
- package/dist/api/types/ExecutingResponse.d.ts +14 -0
- package/dist/api/types/ExecutingResponse.d.ts.map +1 -0
- package/dist/api/types/ExecutingResponse.js +3 -0
- package/dist/api/types/ExecutingResponse.js.map +1 -0
- package/dist/api/types/FinishOperationRequestOperation.d.ts +5 -0
- package/dist/api/types/FinishOperationRequestOperation.d.ts.map +1 -0
- package/dist/api/types/FinishOperationRequestOperation.js +5 -0
- package/dist/api/types/FinishOperationRequestOperation.js.map +1 -0
- package/dist/api/types/GetAlertsRequestOperation.d.ts +5 -0
- package/dist/api/types/GetAlertsRequestOperation.d.ts.map +1 -0
- package/dist/api/types/GetAlertsRequestOperation.js +5 -0
- package/dist/api/types/GetAlertsRequestOperation.js.map +1 -0
- package/dist/api/types/GetDiagnosisRequestOperation.d.ts +5 -0
- package/dist/api/types/GetDiagnosisRequestOperation.d.ts.map +1 -0
- package/dist/api/types/GetDiagnosisRequestOperation.js +5 -0
- package/dist/api/types/GetDiagnosisRequestOperation.js.map +1 -0
- package/dist/api/types/GetPiecesCurrencyRequestOperation.d.ts +5 -0
- package/dist/api/types/GetPiecesCurrencyRequestOperation.d.ts.map +1 -0
- package/dist/api/types/GetPiecesCurrencyRequestOperation.js +5 -0
- package/dist/api/types/GetPiecesCurrencyRequestOperation.js.map +1 -0
- package/dist/api/types/MovementsResponse.d.ts +20 -0
- package/dist/api/types/MovementsResponse.d.ts.map +1 -0
- package/dist/api/types/MovementsResponse.js +3 -0
- package/dist/api/types/MovementsResponse.js.map +1 -0
- package/dist/api/types/OperationStatus.d.ts +33 -0
- package/dist/api/types/OperationStatus.d.ts.map +1 -0
- package/dist/api/types/OperationStatus.js +3 -0
- package/dist/api/types/OperationStatus.js.map +1 -0
- package/dist/api/types/PendingOperationsResponse.d.ts +30 -0
- package/dist/api/types/PendingOperationsResponse.d.ts.map +1 -0
- package/dist/api/types/PendingOperationsResponse.js +3 -0
- package/dist/api/types/PendingOperationsResponse.js.map +1 -0
- package/dist/api/types/Piece.d.ts +22 -0
- package/dist/api/types/Piece.d.ts.map +1 -0
- package/dist/api/types/Piece.js +3 -0
- package/dist/api/types/Piece.js.map +1 -0
- package/dist/api/types/PiecesCurrencyResponse.d.ts +21 -0
- package/dist/api/types/PiecesCurrencyResponse.d.ts.map +1 -0
- package/dist/api/types/PiecesCurrencyResponse.js +3 -0
- package/dist/api/types/PiecesCurrencyResponse.js.map +1 -0
- package/dist/api/types/SetOperationImportedRequestOperation.d.ts +5 -0
- package/dist/api/types/SetOperationImportedRequestOperation.d.ts.map +1 -0
- package/dist/api/types/SetOperationImportedRequestOperation.js +5 -0
- package/dist/api/types/SetOperationImportedRequestOperation.js.map +1 -0
- package/dist/api/types/SimpleResponse.d.ts +13 -0
- package/dist/api/types/SimpleResponse.d.ts.map +1 -0
- package/dist/api/types/SimpleResponse.js +3 -0
- package/dist/api/types/SimpleResponse.js.map +1 -0
- package/dist/api/types/StartOperationRequestOperation.d.ts +5 -0
- package/dist/api/types/StartOperationRequestOperation.d.ts.map +1 -0
- package/dist/api/types/StartOperationRequestOperation.js +5 -0
- package/dist/api/types/StartOperationRequestOperation.js.map +1 -0
- package/dist/api/types/StartOperationResponse.d.ts +21 -0
- package/dist/api/types/StartOperationResponse.d.ts.map +1 -0
- package/dist/api/types/StartOperationResponse.js +3 -0
- package/dist/api/types/StartOperationResponse.js.map +1 -0
- package/dist/api/types/index.d.ts +28 -0
- package/dist/api/types/index.d.ts.map +1 -0
- package/dist/api/types/index.js +28 -0
- package/dist/api/types/index.js.map +1 -0
- package/dist/auth/BasicAuthProvider.d.ts +25 -0
- package/dist/auth/BasicAuthProvider.d.ts.map +1 -0
- package/dist/auth/BasicAuthProvider.js +42 -0
- package/dist/auth/BasicAuthProvider.js.map +1 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +2 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/cashdro.d.ts +194 -0
- package/dist/cashdro.d.ts.map +1 -0
- package/dist/cashdro.js +233 -0
- package/dist/cashdro.js.map +1 -0
- package/dist/core/auth/AuthProvider.d.ts +9 -0
- package/dist/core/auth/AuthProvider.d.ts.map +1 -0
- package/dist/core/auth/AuthProvider.js +7 -0
- package/dist/core/auth/AuthProvider.js.map +1 -0
- package/dist/core/auth/AuthRequest.d.ts +10 -0
- package/dist/core/auth/AuthRequest.d.ts.map +1 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/AuthRequest.js.map +1 -0
- package/dist/core/auth/BasicAuth.d.ts +9 -0
- package/dist/core/auth/BasicAuth.d.ts.map +1 -0
- package/dist/core/auth/BasicAuth.js +30 -0
- package/dist/core/auth/BasicAuth.js.map +1 -0
- package/dist/core/auth/BearerToken.d.ts +8 -0
- package/dist/core/auth/BearerToken.d.ts.map +1 -0
- package/dist/core/auth/BearerToken.js +14 -0
- package/dist/core/auth/BearerToken.js.map +1 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +6 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts.map +1 -0
- package/dist/core/auth/NoOpAuthProvider.js +6 -0
- package/dist/core/auth/NoOpAuthProvider.js.map +1 -0
- package/dist/core/auth/index.d.ts +6 -0
- package/dist/core/auth/index.d.ts.map +1 -0
- package/dist/core/auth/index.js +5 -0
- package/dist/core/auth/index.js.map +1 -0
- package/dist/core/base64.d.ts +3 -0
- package/dist/core/base64.d.ts.map +1 -0
- package/dist/core/base64.js +23 -0
- package/dist/core/base64.js.map +1 -0
- package/dist/core/exports.d.ts +2 -0
- package/dist/core/exports.d.ts.map +1 -0
- package/dist/core/exports.js +2 -0
- package/dist/core/exports.js.map +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +21 -0
- package/dist/core/fetcher/APIResponse.d.ts.map +1 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/APIResponse.js.map +1 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/core/fetcher/BinaryResponse.d.ts.map +1 -0
- package/dist/core/fetcher/BinaryResponse.js +15 -0
- package/dist/core/fetcher/BinaryResponse.js.map +1 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +14 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts.map +1 -0
- package/dist/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/core/fetcher/EndpointMetadata.js.map +1 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +13 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts.map +1 -0
- package/dist/core/fetcher/EndpointSupplier.js +11 -0
- package/dist/core/fetcher/EndpointSupplier.js.map +1 -0
- package/dist/core/fetcher/Fetcher.d.ts +57 -0
- package/dist/core/fetcher/Fetcher.d.ts.map +1 -0
- package/dist/core/fetcher/Fetcher.js +307 -0
- package/dist/core/fetcher/Fetcher.js.map +1 -0
- package/dist/core/fetcher/Headers.d.ts +3 -0
- package/dist/core/fetcher/Headers.d.ts.map +1 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/Headers.js.map +1 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +59 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts.map +1 -0
- package/dist/core/fetcher/HttpResponsePromise.js +91 -0
- package/dist/core/fetcher/HttpResponsePromise.js.map +1 -0
- package/dist/core/fetcher/RawResponse.d.ts +30 -0
- package/dist/core/fetcher/RawResponse.d.ts.map +1 -0
- package/dist/core/fetcher/RawResponse.js +41 -0
- package/dist/core/fetcher/RawResponse.js.map +1 -0
- package/dist/core/fetcher/Supplier.d.ts +5 -0
- package/dist/core/fetcher/Supplier.d.ts.map +1 -0
- package/dist/core/fetcher/Supplier.js +11 -0
- package/dist/core/fetcher/Supplier.js.map +1 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +2 -0
- package/dist/core/fetcher/createRequestUrl.d.ts.map +1 -0
- package/dist/core/fetcher/createRequestUrl.js +6 -0
- package/dist/core/fetcher/createRequestUrl.js.map +1 -0
- package/dist/core/fetcher/getErrorResponseBody.d.ts +2 -0
- package/dist/core/fetcher/getErrorResponseBody.d.ts.map +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +31 -0
- package/dist/core/fetcher/getErrorResponseBody.js.map +1 -0
- package/dist/core/fetcher/getFetchFn.d.ts +2 -0
- package/dist/core/fetcher/getFetchFn.d.ts.map +1 -0
- package/dist/core/fetcher/getFetchFn.js +4 -0
- package/dist/core/fetcher/getFetchFn.js.map +1 -0
- package/dist/core/fetcher/getHeader.d.ts +2 -0
- package/dist/core/fetcher/getHeader.d.ts.map +1 -0
- package/dist/core/fetcher/getHeader.js +9 -0
- package/dist/core/fetcher/getHeader.js.map +1 -0
- package/dist/core/fetcher/getRequestBody.d.ts +8 -0
- package/dist/core/fetcher/getRequestBody.d.ts.map +1 -0
- package/dist/core/fetcher/getRequestBody.js +14 -0
- package/dist/core/fetcher/getRequestBody.js.map +1 -0
- package/dist/core/fetcher/getResponseBody.d.ts +2 -0
- package/dist/core/fetcher/getResponseBody.d.ts.map +1 -0
- package/dist/core/fetcher/getResponseBody.js +56 -0
- package/dist/core/fetcher/getResponseBody.js.map +1 -0
- package/dist/core/fetcher/index.d.ts +14 -0
- package/dist/core/fetcher/index.d.ts.map +1 -0
- package/dist/core/fetcher/index.js +8 -0
- package/dist/core/fetcher/index.js.map +1 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts +50 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts.map +1 -0
- package/dist/core/fetcher/makePassthroughRequest.js +120 -0
- package/dist/core/fetcher/makePassthroughRequest.js.map +1 -0
- package/dist/core/fetcher/makeRequest.d.ts +7 -0
- package/dist/core/fetcher/makeRequest.d.ts.map +1 -0
- package/dist/core/fetcher/makeRequest.js +54 -0
- package/dist/core/fetcher/makeRequest.js.map +1 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +2 -0
- package/dist/core/fetcher/requestWithRetries.d.ts.map +1 -0
- package/dist/core/fetcher/requestWithRetries.js +57 -0
- package/dist/core/fetcher/requestWithRetries.js.map +1 -0
- package/dist/core/fetcher/signals.d.ts +6 -0
- package/dist/core/fetcher/signals.d.ts.map +1 -0
- package/dist/core/fetcher/signals.js +21 -0
- package/dist/core/fetcher/signals.js.map +1 -0
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.d.ts.map +1 -0
- package/dist/core/headers.js +28 -0
- package/dist/core/headers.js.map +1 -0
- package/dist/core/index.d.ts +7 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +7 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/json.d.ts +16 -0
- package/dist/core/json.d.ts.map +1 -0
- package/dist/core/json.js +20 -0
- package/dist/core/json.js.map +1 -0
- package/dist/core/logging/exports.d.ts +19 -0
- package/dist/core/logging/exports.d.ts.map +1 -0
- package/dist/core/logging/exports.js +10 -0
- package/dist/core/logging/exports.js.map +1 -0
- package/dist/core/logging/index.d.ts +2 -0
- package/dist/core/logging/index.d.ts.map +1 -0
- package/dist/core/logging/index.js +2 -0
- package/dist/core/logging/index.js.map +1 -0
- package/dist/core/logging/logger.d.ts +127 -0
- package/dist/core/logging/logger.d.ts.map +1 -0
- package/dist/core/logging/logger.js +141 -0
- package/dist/core/logging/logger.js.map +1 -0
- package/dist/core/runtime/index.d.ts +2 -0
- package/dist/core/runtime/index.d.ts.map +1 -0
- package/dist/core/runtime/index.js +2 -0
- package/dist/core/runtime/index.js.map +1 -0
- package/dist/core/runtime/runtime.d.ts +10 -0
- package/dist/core/runtime/runtime.d.ts.map +1 -0
- package/dist/core/runtime/runtime.js +101 -0
- package/dist/core/runtime/runtime.js.map +1 -0
- package/dist/core/url/QueryStringBuilder.d.ts +48 -0
- package/dist/core/url/QueryStringBuilder.d.ts.map +1 -0
- package/dist/core/url/QueryStringBuilder.js +79 -0
- package/dist/core/url/QueryStringBuilder.js.map +1 -0
- package/dist/core/url/encodePathParam.d.ts +2 -0
- package/dist/core/url/encodePathParam.d.ts.map +1 -0
- package/dist/core/url/encodePathParam.js +19 -0
- package/dist/core/url/encodePathParam.js.map +1 -0
- package/dist/core/url/index.d.ts +5 -0
- package/dist/core/url/index.d.ts.map +1 -0
- package/dist/core/url/index.js +5 -0
- package/dist/core/url/index.js.map +1 -0
- package/dist/core/url/join.d.ts +2 -0
- package/dist/core/url/join.d.ts.map +1 -0
- package/dist/core/url/join.js +66 -0
- package/dist/core/url/join.js.map +1 -0
- package/dist/core/url/qs.d.ts +8 -0
- package/dist/core/url/qs.d.ts.map +1 -0
- package/dist/core/url/qs.js +77 -0
- package/dist/core/url/qs.js.map +1 -0
- package/dist/environments.d.ts +5 -0
- package/dist/environments.d.ts.map +1 -0
- package/dist/environments.js +5 -0
- package/dist/environments.js.map +1 -0
- package/dist/errors/CashDroApiError.d.ts +15 -0
- package/dist/errors/CashDroApiError.d.ts.map +1 -0
- package/dist/errors/CashDroApiError.js +36 -0
- package/dist/errors/CashDroApiError.js.map +1 -0
- package/dist/errors/CashDroApiTimeoutError.d.ts +7 -0
- package/dist/errors/CashDroApiTimeoutError.d.ts.map +1 -0
- package/dist/errors/CashDroApiTimeoutError.js +16 -0
- package/dist/errors/CashDroApiTimeoutError.js.map +1 -0
- package/dist/errors/handleNonStatusCodeError.d.ts +3 -0
- package/dist/errors/handleNonStatusCodeError.d.ts.map +1 -0
- package/dist/errors/handleNonStatusCodeError.js +33 -0
- package/dist/errors/handleNonStatusCodeError.js.map +1 -0
- package/dist/errors/index.d.ts +3 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +3 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/exports.d.ts +2 -0
- package/dist/exports.d.ts.map +1 -0
- package/dist/exports.js +2 -0
- package/dist/exports.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +13 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +15 -0
- package/dist/main.js.map +1 -0
- package/package.json +47 -0
package/README.md
ADDED
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
# CashDro TypeScript SDK
|
|
2
|
+
|
|
3
|
+
`@inowu/cashdro` provides convenient, typed access to **CashDro** automated cash
|
|
4
|
+
recyclers from TypeScript and JavaScript — running sales, payments, deposits,
|
|
5
|
+
withdrawals and cash-management operations, plus cash-level and reporting queries.
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
- [Installation](#installation)
|
|
10
|
+
- [Quick start](#quick-start)
|
|
11
|
+
- [Authentication](#authentication)
|
|
12
|
+
- [Configuration](#configuration)
|
|
13
|
+
- [How transactions work](#how-transactions-work)
|
|
14
|
+
- [Client reference](#client-reference)
|
|
15
|
+
- [Connectivity & health](#connectivity--health)
|
|
16
|
+
- [Transactions — lifecycle](#transactions--lifecycle)
|
|
17
|
+
- [Transactions — convenience methods](#transactions--convenience-methods)
|
|
18
|
+
- [Orchestration helpers](#orchestration-helpers)
|
|
19
|
+
- [Queries & reports](#queries--reports)
|
|
20
|
+
- [Transaction types](#transaction-types)
|
|
21
|
+
- [Responses](#responses)
|
|
22
|
+
- [Error handling](#error-handling)
|
|
23
|
+
- [Advanced](#advanced)
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npm i @inowu/cashdro
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Requirements:** Node.js 18+ (or any runtime with a global `fetch`).
|
|
32
|
+
|
|
33
|
+
## Quick start
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { CashDroClient } from "@inowu/cashdro";
|
|
37
|
+
|
|
38
|
+
const cashdro = new CashDroClient({
|
|
39
|
+
baseUrl: "https://your-cashdro/",
|
|
40
|
+
username: "manager",
|
|
41
|
+
password: "••••",
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
// 1. Check connectivity + credentials
|
|
45
|
+
const ping = await cashdro.doTest();
|
|
46
|
+
if (ping.code !== 1) throw new Error("CashDro unreachable or bad credentials");
|
|
47
|
+
|
|
48
|
+
// 2. Take a 12.50 sale (amounts are in minor units — value × 100)
|
|
49
|
+
const { operationId } = await cashdro.sale(1250, { posuser: "Ana" });
|
|
50
|
+
|
|
51
|
+
// 3. Wait for the customer to finish paying
|
|
52
|
+
const final = await cashdro.pollUntilFinished(operationId);
|
|
53
|
+
const op = final.response?.operation?.operation;
|
|
54
|
+
console.log(`paid=${op?.totalin} change=${op?.totalout}`); // change is negative
|
|
55
|
+
|
|
56
|
+
// 4. Acknowledge you recorded the transaction
|
|
57
|
+
await cashdro.setOperationImported(operationId);
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Authentication
|
|
61
|
+
|
|
62
|
+
Every call authenticates as a **CashDro user** via HTTP Basic. The user must exist
|
|
63
|
+
on the machine and have permission for the operation.
|
|
64
|
+
|
|
65
|
+
```ts
|
|
66
|
+
const cashdro = new CashDroClient({ baseUrl, username: "manager", password: "••••" });
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
The optional `posuser`, `posid` and `aliasid` fields accepted by transactions are
|
|
70
|
+
**not** credentials — they only tag *who* (cashier), *which terminal*, and a
|
|
71
|
+
*host-side reference id* initiated an operation (≤ 50 chars each).
|
|
72
|
+
|
|
73
|
+
## Configuration
|
|
74
|
+
|
|
75
|
+
`CashDroClient` accepts the following options:
|
|
76
|
+
|
|
77
|
+
| Option | Description |
|
|
78
|
+
|--------|-------------|
|
|
79
|
+
| `baseUrl` | URL of the CashDro unit. Point this at your device / production unit. |
|
|
80
|
+
| `username`, `password` | CashDro user credentials (HTTP Basic). |
|
|
81
|
+
| `timeoutInSeconds` | Per-request timeout (default 60). |
|
|
82
|
+
| `maxRetries` | Automatic retries with exponential backoff (default 2). |
|
|
83
|
+
| `headers` | Extra headers to send on every request. |
|
|
84
|
+
| `fetch` | Custom `fetch` implementation (see [Advanced](#custom-fetch--self-signed-tls)). |
|
|
85
|
+
|
|
86
|
+
```ts
|
|
87
|
+
const cashdro = new CashDroClient({
|
|
88
|
+
baseUrl: "https://cashdro.prod.example/",
|
|
89
|
+
username: "manager",
|
|
90
|
+
password: "••••",
|
|
91
|
+
timeoutInSeconds: 30,
|
|
92
|
+
maxRetries: 3,
|
|
93
|
+
});
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## How transactions work
|
|
97
|
+
|
|
98
|
+
A cash-movement transaction (sale, payment, deposit, withdrawal, …) runs
|
|
99
|
+
**asynchronously on the hardware**, so it is driven through a short lifecycle:
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
start ─▶ acknowledge ─▶ (poll status) ─▶ finish? ─▶ import
|
|
103
|
+
id launch I → Q → E → F finalize record it
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
- **`start`** opens the transaction and returns an **`operationId`** (the handle for
|
|
107
|
+
everything else). The unit does nothing yet.
|
|
108
|
+
- **`acknowledge`** launches execution (acceptors open / dispensing begins).
|
|
109
|
+
- **poll status** until `state === "F"`. States: `I` pending, `Q` queued,
|
|
110
|
+
`E` executing, `F` finished.
|
|
111
|
+
- **`finish`** finalizes or cancels (only some transactions need an explicit finish).
|
|
112
|
+
- **`import`** tells the unit the host has recorded the result.
|
|
113
|
+
|
|
114
|
+
The convenience methods (`sale`, `payment`, …) and helpers (`runOperation`,
|
|
115
|
+
`pollUntilFinished`) collapse this boilerplate for you while still returning the
|
|
116
|
+
`operationId` and every raw response.
|
|
117
|
+
|
|
118
|
+
**Money:** all amounts are integers in **minor units** (value × 100 — `1250` = 12.50).
|
|
119
|
+
Dispensed amounts (`totalout`) are **negative**. The currency is whatever the unit
|
|
120
|
+
is configured for.
|
|
121
|
+
|
|
122
|
+
**One at a time:** a CashDro runs a single operation at a time; starting another
|
|
123
|
+
while one is active fails with `code -2`. Use `askOperationExecuting()` to detect
|
|
124
|
+
and recover a stuck operation.
|
|
125
|
+
|
|
126
|
+
## Client reference
|
|
127
|
+
|
|
128
|
+
Methods that map 1:1 to a device operation return the raw response; the convenience
|
|
129
|
+
and orchestration helpers compose several calls but never hide the underlying data.
|
|
130
|
+
|
|
131
|
+
### Connectivity & health
|
|
132
|
+
|
|
133
|
+
| Method | What it does / when to use |
|
|
134
|
+
|--------|----------------------------|
|
|
135
|
+
| `doTest()` | Authenticated ping. Verify reachability + credentials before transacting. |
|
|
136
|
+
| `getDiagnosis()` | Device error state (`WithError`) + device list. Gate transacting on this to avoid jammed hardware. |
|
|
137
|
+
| `getAlerts()` | Denominations at critical / inhibition / below-min / above-max levels. For restock/empty prompts. |
|
|
138
|
+
| `askOperationExecuting()` | The operation currently running (or `OperationId: -1` when idle). Recover an orphaned operation on startup. |
|
|
139
|
+
|
|
140
|
+
### Transactions — lifecycle
|
|
141
|
+
|
|
142
|
+
Low-level building blocks (usually you'll use the convenience methods below):
|
|
143
|
+
|
|
144
|
+
| Method | What it does / when to use |
|
|
145
|
+
|--------|----------------------------|
|
|
146
|
+
| `startOperation({ type, amount?, parameters?, … })` | Open a transaction of a given [type](#transaction-types); returns `operationId`. |
|
|
147
|
+
| `acknowledgeOperationId(id)` | Launch a started operation. |
|
|
148
|
+
| `askOperation(id)` | Poll full status (state, `total`, `totalin`, `totalout`, per-denomination levels, messages). |
|
|
149
|
+
| `finishOperation(id, type)` | `type 1` finalize/accept, `2` cancel, `4` finalize with an explicit piece list. |
|
|
150
|
+
| `setOperationImported(id)` | Mark the operation as recorded by the host (clears it from the pending list). |
|
|
151
|
+
|
|
152
|
+
### Transactions — convenience methods
|
|
153
|
+
|
|
154
|
+
Each opens + acknowledges a transaction and returns `{ operationId, started, … }`.
|
|
155
|
+
Options accept `posid` / `posuser` / `aliasid` and the [orchestration
|
|
156
|
+
options](#orchestration-helpers).
|
|
157
|
+
|
|
158
|
+
| Method | Transaction |
|
|
159
|
+
|--------|-------------|
|
|
160
|
+
| `sale(amount, opts?)` | Sale — customer pays, change returned. |
|
|
161
|
+
| `payment(amount, opts?)` | Payment / payout of an amount. |
|
|
162
|
+
| `paymentByDenomination(pieces, opts?)` | Pay out specific pieces (see below). |
|
|
163
|
+
| `depositByAmount(amount, opts?)` | Deposit up to a target amount. |
|
|
164
|
+
| `deposit(opts?)` | Open-ended deposit; finalize with `finishOperation(id, 1)`. |
|
|
165
|
+
| `change(opts?)` | Change / break a note. |
|
|
166
|
+
| `load(opts?)` | Load cash into the recyclers. |
|
|
167
|
+
| `withdraw(opts?)` | Withdraw cash (operator selects on the unit). |
|
|
168
|
+
| `transferToCassette(opts?)` | Move cash from recyclers to the cassette. |
|
|
169
|
+
| `emptyNoteCassette(opts?)` / `emptyCoinCassette(opts?)` | Register a cassette as emptied. |
|
|
170
|
+
| `finishWithPieces(id, { recycler?, cassette? })` | Finalize a withdrawal/transfer with an explicit piece list. |
|
|
171
|
+
|
|
172
|
+
```ts
|
|
173
|
+
// Pay out exactly 3×1.00 coins and 1×20.00 note
|
|
174
|
+
await cashdro.paymentByDenomination([
|
|
175
|
+
{ value: 100, level: 3, isBill: false },
|
|
176
|
+
{ value: 2000, level: 1, isBill: true },
|
|
177
|
+
]);
|
|
178
|
+
|
|
179
|
+
// Withdraw 1×500 note straight from the recyclers (no on-device selection)
|
|
180
|
+
const { operationId } = await cashdro.withdraw();
|
|
181
|
+
await cashdro.finishWithPieces(operationId, { recycler: [{ value: 500, level: 1, isBill: true }] });
|
|
182
|
+
await cashdro.setOperationImported(operationId);
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### Orchestration helpers
|
|
186
|
+
|
|
187
|
+
| Method | What it does |
|
|
188
|
+
|--------|--------------|
|
|
189
|
+
| `runOperation(params, opts?)` | The engine behind the convenience methods: `start → (acknowledge) → optional poll → optional import`. Returns `{ operationId, started, final?, imported? }`. |
|
|
190
|
+
| `pollUntilFinished(id, opts?)` | Poll `askOperation` until `state === "F"`; returns the full final response. Throws `CashDroTimeoutError` on timeout (the operation stays open). |
|
|
191
|
+
|
|
192
|
+
`runOperation` options: `acknowledge` (default `true`), `waitForFinish` (default
|
|
193
|
+
`false` — a sale blocks on the customer's cash), `autoImport`, an `onStart(id,
|
|
194
|
+
started)` callback, and `poll` (forwarded to `pollUntilFinished`).
|
|
195
|
+
`pollUntilFinished` options: `intervalMs`, `timeoutMs`, `signal` (`AbortSignal`),
|
|
196
|
+
`onPoll(status)`.
|
|
197
|
+
|
|
198
|
+
```ts
|
|
199
|
+
const { operationId } = await cashdro.sale(500, {
|
|
200
|
+
onStart: (id) => showOnScreen(id), // operationId the instant it's known
|
|
201
|
+
});
|
|
202
|
+
const final = await cashdro.pollUntilFinished(operationId, {
|
|
203
|
+
timeoutMs: 120_000,
|
|
204
|
+
onPoll: (s) => updateUi(s.response?.operation?.operation),
|
|
205
|
+
});
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Queries & reports
|
|
209
|
+
|
|
210
|
+
| Method | What it does / when to use |
|
|
211
|
+
|--------|----------------------------|
|
|
212
|
+
| `getPiecesCurrency({ currencyId, includeLevels?, includeImages? })` | Cash levels per denomination. For inventory UI and to pre-check a withdrawal. |
|
|
213
|
+
| `askPendingOperations({ terminal?, importManualOperations? })` | Operations not yet imported by the host. Reconcile before a cash close. |
|
|
214
|
+
| `askMovements({ fromDate, toDate, group?, operationType? })` | Operations between two dates, itemized or aggregated. For reporting. |
|
|
215
|
+
|
|
216
|
+
```ts
|
|
217
|
+
const levels = await cashdro.getPiecesCurrency({ currencyId: "EUR", includeLevels: 1 });
|
|
218
|
+
const report = await cashdro.askMovements({
|
|
219
|
+
fromDate: "2026-06-01_00:00:00",
|
|
220
|
+
toDate: "2026-06-30_23:59:59",
|
|
221
|
+
group: true,
|
|
222
|
+
operationType: JSON.stringify([{ Id: 4 }]), // sales only
|
|
223
|
+
});
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
## Transaction types
|
|
227
|
+
|
|
228
|
+
`startOperation` (and the convenience methods) accept a numeric `type`:
|
|
229
|
+
|
|
230
|
+
| `type` | Transaction | Amount/pieces |
|
|
231
|
+
|-------:|-------------|---------------|
|
|
232
|
+
| 1 | load | — |
|
|
233
|
+
| 2 | withdrawal | on-device, or `finishWithPieces` |
|
|
234
|
+
| 3 | payment | `amount`, or `paymentByDenomination` |
|
|
235
|
+
| 4 | sale | `amount` |
|
|
236
|
+
| 8 | transfer to cassette | on-device, or `finishWithPieces` |
|
|
237
|
+
| 10 | empty note cassette | — |
|
|
238
|
+
| 11 | empty coin cassette | — |
|
|
239
|
+
| 16 | deposit | finalize with `finishOperation(id, 1)` |
|
|
240
|
+
| 17 | deposit by amount | `amount` |
|
|
241
|
+
| 18 | change | — |
|
|
242
|
+
|
|
243
|
+
A "piece" (for `paymentByDenomination` / `finishWithPieces`) is
|
|
244
|
+
`{ value: number, level: number, isBill: boolean }` — `value` in minor units,
|
|
245
|
+
`level` the count, `isBill` `true` for notes.
|
|
246
|
+
|
|
247
|
+
## Responses
|
|
248
|
+
|
|
249
|
+
Every call resolves to a typed envelope:
|
|
250
|
+
|
|
251
|
+
```ts
|
|
252
|
+
{ code: number; response: { errorMessage: string; /* operation data */ } }
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
`code >= 1` means success; a negative `code` is an error (the convenience/helper
|
|
256
|
+
methods throw instead — see below). Request and response types are available under
|
|
257
|
+
the `CashDroApi` namespace:
|
|
258
|
+
|
|
259
|
+
```ts
|
|
260
|
+
import { CashDroApi } from "@inowu/cashdro";
|
|
261
|
+
const res: CashDroApi.AskOperationResponse = await cashdro.askOperation(id);
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
## Error handling
|
|
265
|
+
|
|
266
|
+
```ts
|
|
267
|
+
import { CashDroError, CashDroTimeoutError } from "@inowu/cashdro";
|
|
268
|
+
|
|
269
|
+
try {
|
|
270
|
+
const { operationId } = await cashdro.sale(1250);
|
|
271
|
+
await cashdro.pollUntilFinished(operationId, { timeoutMs: 60_000 });
|
|
272
|
+
await cashdro.setOperationImported(operationId);
|
|
273
|
+
} catch (err) {
|
|
274
|
+
if (err instanceof CashDroTimeoutError) {
|
|
275
|
+
// no cash inserted in time — the operation is still open; cancel it
|
|
276
|
+
await cashdro.finishOperation(err.operationId, 2);
|
|
277
|
+
} else if (err instanceof CashDroError) {
|
|
278
|
+
console.error("CashDro rejected the request:", err.response);
|
|
279
|
+
} else {
|
|
280
|
+
throw err; // transport/HTTP error
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
- **`CashDroError`** — a call returned a non-success `code` (carries the raw `response`).
|
|
286
|
+
- **`CashDroTimeoutError`** — `pollUntilFinished` timed out (carries `operationId` and the last poll).
|
|
287
|
+
|
|
288
|
+
Common device `code`s: `-1` bad credentials, `-2` busy / not found, `-3` wrong
|
|
289
|
+
amount, `-4` no permission, `-998`/`-999` device unavailable (check diagnosis).
|
|
290
|
+
|
|
291
|
+
## Advanced
|
|
292
|
+
|
|
293
|
+
### Raw response access
|
|
294
|
+
|
|
295
|
+
Methods that map 1:1 to a device operation return an awaitable that also exposes the
|
|
296
|
+
raw HTTP response:
|
|
297
|
+
|
|
298
|
+
```ts
|
|
299
|
+
const { data, rawResponse } = await cashdro.askOperation(id).withRawResponse();
|
|
300
|
+
console.log(rawResponse.headers);
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
### Custom fetch / self-signed TLS
|
|
304
|
+
|
|
305
|
+
Provide your own `fetch` for platforms without a built-in one, or to reach a unit
|
|
306
|
+
that serves a **self-signed certificate**. Prefer installing the unit's CA in your
|
|
307
|
+
trust store; only relax verification in trusted, non-production environments.
|
|
308
|
+
|
|
309
|
+
```ts
|
|
310
|
+
import { Agent, setGlobalDispatcher } from "undici";
|
|
311
|
+
setGlobalDispatcher(new Agent({ connect: { rejectUnauthorized: false } })); // non-prod only
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
### Per-request options
|
|
315
|
+
|
|
316
|
+
Each 1:1 method takes an optional second argument for per-call overrides:
|
|
317
|
+
|
|
318
|
+
```ts
|
|
319
|
+
const controller = new AbortController();
|
|
320
|
+
await cashdro.askOperation(id, {
|
|
321
|
+
timeoutInSeconds: 10,
|
|
322
|
+
maxRetries: 0,
|
|
323
|
+
abortSignal: controller.signal,
|
|
324
|
+
headers: { "X-Trace-Id": "abc" },
|
|
325
|
+
});
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### Low-level client
|
|
329
|
+
|
|
330
|
+
For endpoints not yet wrapped, `cashdro.api` exposes the underlying client used to
|
|
331
|
+
make requests.
|
|
332
|
+
|
|
333
|
+
### Runtime compatibility
|
|
334
|
+
|
|
335
|
+
Works on Node.js 18+, Deno, Bun, Cloudflare Workers, Vercel, and React Native.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BasicAuthProvider } from "./auth/BasicAuthProvider.js";
|
|
2
|
+
import * as core from "./core/index.js";
|
|
3
|
+
import type * as environments from "./environments.js";
|
|
4
|
+
export type AuthOption = false | core.AuthProvider["getAuthRequest"] | core.AuthProvider | BasicAuthProvider.AuthOptions;
|
|
5
|
+
export type BaseClientOptions = {
|
|
6
|
+
environment?: core.Supplier<environments.CashDroApiEnvironment | string>;
|
|
7
|
+
/** Specify a custom URL to connect the client to. */
|
|
8
|
+
baseUrl?: core.Supplier<string>;
|
|
9
|
+
/** Additional headers to include in requests. */
|
|
10
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
11
|
+
/** The default maximum time to wait for a response in seconds. */
|
|
12
|
+
timeoutInSeconds?: number;
|
|
13
|
+
/** The default number of times to retry the request. Defaults to 2. */
|
|
14
|
+
maxRetries?: number;
|
|
15
|
+
/** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
|
|
16
|
+
fetch?: typeof fetch;
|
|
17
|
+
/** Configure logging for the client. */
|
|
18
|
+
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
19
|
+
/** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
|
|
20
|
+
auth?: AuthOption;
|
|
21
|
+
} & BasicAuthProvider.AuthOptions;
|
|
22
|
+
export interface BaseRequestOptions {
|
|
23
|
+
/** The maximum time to wait for a response in seconds. */
|
|
24
|
+
timeoutInSeconds?: number;
|
|
25
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
26
|
+
maxRetries?: number;
|
|
27
|
+
/** A hook to abort the request. */
|
|
28
|
+
abortSignal?: AbortSignal;
|
|
29
|
+
/** Additional query string parameters to include in the request. */
|
|
30
|
+
queryParams?: Record<string, unknown>;
|
|
31
|
+
/** Additional headers to include in the request. */
|
|
32
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
33
|
+
}
|
|
34
|
+
export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
|
|
35
|
+
logging: core.logging.Logger;
|
|
36
|
+
authProvider?: core.AuthProvider;
|
|
37
|
+
};
|
|
38
|
+
export type NormalizedClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions> = NormalizedClientOptions<T> & {
|
|
39
|
+
authProvider: core.AuthProvider;
|
|
40
|
+
};
|
|
41
|
+
export declare function normalizeClientOptions<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptions<T>;
|
|
42
|
+
export declare function normalizeClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptionsWithAuth<T>;
|
|
43
|
+
//# sourceMappingURL=BaseClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseClient.d.ts","sourceRoot":"","sources":["../BaseClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,UAAU,GAChB,KAAK,GACL,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,GACnC,IAAI,CAAC,YAAY,GACjB,iBAAiB,CAAC,WAAW,CAAC;AAEpC,MAAM,MAAM,iBAAiB,GAAG;IAC5B,WAAW,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,qBAAqB,GAAG,MAAM,CAAC,CAAC;IACzE,qDAAqD;IACrD,OAAO,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChC,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;IAC/F,kEAAkE;IAClE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oIAAoI;IACpI,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IACrB,wCAAwC;IACxC,OAAO,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;IACvD,iHAAiH;IACjH,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB,GAAG,iBAAiB,CAAC,WAAW,CAAC;AAElC,MAAM,WAAW,kBAAkB;IAC/B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+DAA+D;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mCAAmC;IACnC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;CAClG;AAED,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,IAAI,CAAC,GAAG;IACvF,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,+BAA+B,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,IACvF,uBAAuB,CAAC,CAAC,CAAC,GAAG;IACzB,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;CACnC,CAAC;AAEN,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,EAClF,OAAO,EAAE,CAAC,GACX,uBAAuB,CAAC,CAAC,CAAC,CAe5B;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,EAC1F,OAAO,EAAE,CAAC,GACX,+BAA+B,CAAC,CAAC,CAAC,CAsBpC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import { BasicAuthProvider } from "./auth/BasicAuthProvider.js";
|
|
3
|
+
import { mergeHeaders } from "./core/headers.js";
|
|
4
|
+
import * as core from "./core/index.js";
|
|
5
|
+
export function normalizeClientOptions(options) {
|
|
6
|
+
const headers = mergeHeaders({
|
|
7
|
+
"X-Fern-Language": "JavaScript",
|
|
8
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
9
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
10
|
+
}, options?.headers);
|
|
11
|
+
return {
|
|
12
|
+
...options,
|
|
13
|
+
logging: core.logging.createLogger(options?.logging),
|
|
14
|
+
headers,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function normalizeClientOptionsWithAuth(options) {
|
|
18
|
+
const normalized = normalizeClientOptions(options);
|
|
19
|
+
if (options.auth === false) {
|
|
20
|
+
normalized.authProvider = new core.NoOpAuthProvider();
|
|
21
|
+
return normalized;
|
|
22
|
+
}
|
|
23
|
+
if (options.auth != null) {
|
|
24
|
+
if (typeof options.auth === "function") {
|
|
25
|
+
normalized.authProvider = { getAuthRequest: options.auth };
|
|
26
|
+
return normalized;
|
|
27
|
+
}
|
|
28
|
+
if (core.isAuthProvider(options.auth)) {
|
|
29
|
+
normalized.authProvider = options.auth;
|
|
30
|
+
return normalized;
|
|
31
|
+
}
|
|
32
|
+
Object.assign(normalized, options.auth);
|
|
33
|
+
}
|
|
34
|
+
const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);
|
|
35
|
+
normalized.authProvider ??= new BasicAuthProvider(normalizedWithNoOpAuthProvider);
|
|
36
|
+
return normalized;
|
|
37
|
+
}
|
|
38
|
+
function withNoOpAuthProvider(options) {
|
|
39
|
+
return {
|
|
40
|
+
...options,
|
|
41
|
+
authProvider: new core.NoOpAuthProvider(),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=BaseClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseClient.js","sourceRoot":"","sources":["../BaseClient.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AAkDxC,MAAM,UAAU,sBAAsB,CAClC,OAAU;IAEV,MAAM,OAAO,GAAG,YAAY,CACxB;QACI,iBAAiB,EAAE,YAAY;QAC/B,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI;QACnC,wBAAwB,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO;KACjD,EACD,OAAO,EAAE,OAAO,CACnB,CAAC;IAEF,OAAO;QACH,GAAG,OAAO;QACV,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC;QACpD,OAAO;KACoB,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,8BAA8B,CAC1C,OAAU;IAEV,MAAM,UAAU,GAAG,sBAAsB,CAAC,OAAO,CAAuC,CAAC;IAEzF,IAAI,OAAO,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;QACzB,UAAU,CAAC,YAAY,GAAG,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtD,OAAO,UAAU,CAAC;IACtB,CAAC;IACD,IAAI,OAAO,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;YACrC,UAAU,CAAC,YAAY,GAAG,EAAE,cAAc,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC;YAC3D,OAAO,UAAU,CAAC;QACtB,CAAC;QACD,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACpC,UAAU,CAAC,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;YACvC,OAAO,UAAU,CAAC;QACtB,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;IAED,MAAM,8BAA8B,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;IACxE,UAAU,CAAC,YAAY,KAAK,IAAI,iBAAiB,CAAC,8BAA8B,CAAC,CAAC;IAClF,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,SAAS,oBAAoB,CACzB,OAAmC;IAEnC,OAAO;QACH,GAAG,OAAO;QACV,YAAY,EAAE,IAAI,IAAI,CAAC,gBAAgB,EAAE;KAC5C,CAAC;AACN,CAAC"}
|
package/dist/Client.d.ts
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type * as CashDroApi from "./api/index.js";
|
|
2
|
+
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
3
|
+
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
|
|
4
|
+
import * as core from "./core/index.js";
|
|
5
|
+
export declare namespace CashDroApiClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CashDroApiClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CashDroApiClient.Options>;
|
|
12
|
+
constructor(options: CashDroApiClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Lightweight authenticated ping. Returns code 1 when reachable and credentials are valid.
|
|
15
|
+
*
|
|
16
|
+
* @param {CashDroApi.DoTestRequest} request
|
|
17
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* await client.doTest({
|
|
21
|
+
* operation: "doTest"
|
|
22
|
+
* })
|
|
23
|
+
*/
|
|
24
|
+
doTest(request: CashDroApi.DoTestRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.SimpleResponse>;
|
|
25
|
+
private __doTest;
|
|
26
|
+
/**
|
|
27
|
+
* Opens a cash-movement transaction of the given `type` and returns an `operationId` to drive the rest of the lifecycle. Only one operation may run at a time; a busy unit returns code -2 "Operation not queued".
|
|
28
|
+
*
|
|
29
|
+
* @param {CashDroApi.StartOperationRequest} request
|
|
30
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* await client.startOperation({
|
|
34
|
+
* operation: "startOperation",
|
|
35
|
+
* type: 4,
|
|
36
|
+
* parameters: "{\"amount\":\"100\"}"
|
|
37
|
+
* })
|
|
38
|
+
*/
|
|
39
|
+
startOperation(request: CashDroApi.StartOperationRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.StartOperationResponse>;
|
|
40
|
+
private __startOperation;
|
|
41
|
+
/**
|
|
42
|
+
* Confirms execution of an operation previously returned by startOperation. The unit begins executing immediately.
|
|
43
|
+
*
|
|
44
|
+
* @param {CashDroApi.AcknowledgeOperationIdRequest} request
|
|
45
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* await client.acknowledgeOperationId({
|
|
49
|
+
* operation: "acknowledgeOperationId",
|
|
50
|
+
* operationId: 1
|
|
51
|
+
* })
|
|
52
|
+
*/
|
|
53
|
+
acknowledgeOperationId(request: CashDroApi.AcknowledgeOperationIdRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.SimpleResponse>;
|
|
54
|
+
private __acknowledgeOperationId;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the full status of an operation. Poll until `state` is `F` (finished). States: I = pending acknowledge, Q = queued, E = executing, F = finished.
|
|
57
|
+
*
|
|
58
|
+
* @param {CashDroApi.AskOperationRequest} request
|
|
59
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* await client.askOperation({
|
|
63
|
+
* operation: "askOperation",
|
|
64
|
+
* operationId: 1
|
|
65
|
+
* })
|
|
66
|
+
*/
|
|
67
|
+
askOperation(request: CashDroApi.AskOperationRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.AskOperationResponse>;
|
|
68
|
+
private __askOperation;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the operation currently in execution on the unit, or an OperationId of -1 when the unit is idle.
|
|
71
|
+
*
|
|
72
|
+
* @param {CashDroApi.AskOperationExecutingRequest} request
|
|
73
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* await client.askOperationExecuting({
|
|
77
|
+
* operation: "askOperationExecuting"
|
|
78
|
+
* })
|
|
79
|
+
*/
|
|
80
|
+
askOperationExecuting(request: CashDroApi.AskOperationExecutingRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.ExecutingResponse>;
|
|
81
|
+
private __askOperationExecuting;
|
|
82
|
+
/**
|
|
83
|
+
* Closes an in-progress operation. type=1 finalizes (accept), type=2 cancels, type=4 finalizes a withdrawal/transfer "sin interfaz web" while supplying the explicit piece list in `params`.
|
|
84
|
+
*
|
|
85
|
+
* @param {CashDroApi.FinishOperationRequest} request
|
|
86
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* await client.finishOperation({
|
|
90
|
+
* operation: "finishOperation",
|
|
91
|
+
* operationId: 1,
|
|
92
|
+
* type: 1
|
|
93
|
+
* })
|
|
94
|
+
*/
|
|
95
|
+
finishOperation(request: CashDroApi.FinishOperationRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.SimpleResponse>;
|
|
96
|
+
private __finishOperation;
|
|
97
|
+
/**
|
|
98
|
+
* Tells the unit the Host has received and processed the operation, clearing it from the pending-to-import list.
|
|
99
|
+
*
|
|
100
|
+
* @param {CashDroApi.SetOperationImportedRequest} request
|
|
101
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* await client.setOperationImported({
|
|
105
|
+
* operation: "setOperationImported",
|
|
106
|
+
* operationId: 1
|
|
107
|
+
* })
|
|
108
|
+
*/
|
|
109
|
+
setOperationImported(request: CashDroApi.SetOperationImportedRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.SimpleResponse>;
|
|
110
|
+
private __setOperationImported;
|
|
111
|
+
/**
|
|
112
|
+
* @param {CashDroApi.AskPendingOperationsRequest} request
|
|
113
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* await client.askPendingOperations({
|
|
117
|
+
* operation: "askPendingOperations"
|
|
118
|
+
* })
|
|
119
|
+
*/
|
|
120
|
+
askPendingOperations(request: CashDroApi.AskPendingOperationsRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.PendingOperationsResponse>;
|
|
121
|
+
private __askPendingOperations;
|
|
122
|
+
/**
|
|
123
|
+
* @param {CashDroApi.GetPiecesCurrencyRequest} request
|
|
124
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* await client.getPiecesCurrency({
|
|
128
|
+
* operation: "getPiecesCurrency",
|
|
129
|
+
* currencyId: "currencyId"
|
|
130
|
+
* })
|
|
131
|
+
*/
|
|
132
|
+
getPiecesCurrency(request: CashDroApi.GetPiecesCurrencyRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.PiecesCurrencyResponse>;
|
|
133
|
+
private __getPiecesCurrency;
|
|
134
|
+
/**
|
|
135
|
+
* @param {CashDroApi.GetAlertsRequest} request
|
|
136
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* await client.getAlerts({
|
|
140
|
+
* operation: "getAlerts"
|
|
141
|
+
* })
|
|
142
|
+
*/
|
|
143
|
+
getAlerts(request: CashDroApi.GetAlertsRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.AlertsResponse>;
|
|
144
|
+
private __getAlerts;
|
|
145
|
+
/**
|
|
146
|
+
* @param {CashDroApi.GetDiagnosisRequest} request
|
|
147
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
* await client.getDiagnosis({
|
|
151
|
+
* operation: "getDiagnosis"
|
|
152
|
+
* })
|
|
153
|
+
*/
|
|
154
|
+
getDiagnosis(request: CashDroApi.GetDiagnosisRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.DiagnosisResponse>;
|
|
155
|
+
private __getDiagnosis;
|
|
156
|
+
/**
|
|
157
|
+
* @param {CashDroApi.AskMovementsRequest} request
|
|
158
|
+
* @param {CashDroApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* await client.askMovements({
|
|
162
|
+
* operation: "askMovements",
|
|
163
|
+
* fromDate: "fromDate",
|
|
164
|
+
* toDate: "toDate"
|
|
165
|
+
* })
|
|
166
|
+
*/
|
|
167
|
+
askMovements(request: CashDroApi.AskMovementsRequest, requestOptions?: CashDroApiClient.RequestOptions): core.HttpResponsePromise<CashDroApi.MovementsResponse>;
|
|
168
|
+
private __askMovements;
|
|
169
|
+
/**
|
|
170
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
171
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
172
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
173
|
+
*
|
|
174
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
175
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
176
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
177
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
178
|
+
*/
|
|
179
|
+
fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise<Response>;
|
|
180
|
+
}
|
|
181
|
+
//# sourceMappingURL=Client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../Client.ts"],"names":[],"mappings":"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"}
|