@getstep/sdk 0.0.1-security → 982.649.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @getstep/sdk might be problematic. Click here for more details.
- package/dist/api/generated/AccountAdminProto/AccountAdminProto.CancelCardRequest.js +15 -0
- package/dist/api/generated/AccountAdminProto/AccountAdminProto.GetAccountResponse.js +15 -0
- package/dist/api/generated/AccountAdminProto/AccountAdminProto.GetExternalAccountResponse.js +15 -0
- package/dist/api/generated/AccountAdminProto/AccountAdminProto.GetExternalAccountsResponse.js +15 -0
- package/dist/api/generated/AccountAdminProto/AccountAdminProto.ManualBillPayRequest.js +15 -0
- package/dist/api/generated/AccountAdminProto/AccountAdminProto.RegenerateStatementRequest.js +15 -0
- package/dist/api/generated/AccountAdminProto/AccountAdminProto.ReplaceCardRequest.js +15 -0
- package/dist/api/generated/AccountAdminProto/AccountAdminProto.ReplaceCardResponse.js +15 -0
- package/dist/api/generated/AccountAdminProto/index.js +22 -0
- package/dist/api/generated/AccountInternalProto/AccountInternalProto.ExternalAccountInfo.js +15 -0
- package/dist/api/generated/AccountInternalProto/AccountInternalProto.ExternalAccountInfoStatus.js +28 -0
- package/dist/api/generated/AccountInternalProto/AccountInternalProto.ExternalAccountInternalContext.js +15 -0
- package/dist/api/generated/AccountInternalProto/AccountInternalProto.ExternalCardInternalContext.js +15 -0
- package/dist/api/generated/AccountInternalProto/AccountInternalProto.OwnerIdentity.js +15 -0
- package/dist/api/generated/AccountInternalProto/AccountInternalProto.OwnerIdentityOwnedAccount.js +15 -0
- package/dist/api/generated/AccountInternalProto/index.js +20 -0
- package/dist/api/generated/AccountProto/AccountProto.Account.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.AccountAccessLevel.js +27 -0
- package/dist/api/generated/AccountProto/AccountProto.AccountClosability.js +30 -0
- package/dist/api/generated/AccountProto/AccountProto.AccountPermission.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.AccountPermissionGroup.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.AccountSubAccount.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.AccountType.js +28 -0
- package/dist/api/generated/AccountProto/AccountProto.ActivateCardResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.CanCloseSavingsGoalResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.Card.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.CardTemplate.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.CloseSavingsGoalResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.CreateSavingsGoalRequest.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.CreateSavingsGoalResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.GetAccountsResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.GetCardTemplateResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.GetCardsResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.GetDefaultAccountResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.GetExternalAccountsResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.GetLimitStateResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.GetSuggestedSavingsGoalsResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.Image.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.IssueCardRequest.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.IssueCardResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.LimitState.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.ListStatementsResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.ReplaceCardRequest.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.ReplaceCardResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.Savings.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.SetCardTemplateRequest.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.Statement.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.SubAccountContext.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.SuggestedSavingsGoal.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.UpdateCardAtmRequest.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.UpdateCardAtmResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.UpdateCardRequest.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.UpdateCardResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.UpdateExternalAccountRequest.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.UpdateExternalAccountResponse.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.UpdateSavingsGoalRequest.js +15 -0
- package/dist/api/generated/AccountProto/AccountProto.UpdateSavingsGoalResponse.js +15 -0
- package/dist/api/generated/AccountProto/index.js +55 -0
- package/dist/api/generated/AchAdminProto/AchAdminProto.AchCaseOutcome.js +27 -0
- package/dist/api/generated/AchAdminProto/AchAdminProto.AchFile.js +15 -0
- package/dist/api/generated/AchAdminProto/AchAdminProto.AchInCase.js +15 -0
- package/dist/api/generated/AchAdminProto/AchAdminProto.GetInputFilesResponse.js +15 -0
- package/dist/api/generated/AchAdminProto/AchAdminProto.GetOutgoingReturnsResponse.js +15 -0
- package/dist/api/generated/AchAdminProto/AchAdminProto.GetOutputFilesResponse.js +15 -0
- package/dist/api/generated/AchAdminProto/AchAdminProto.NoOpRequest.js +15 -0
- package/dist/api/generated/AchAdminProto/AchAdminProto.ReturnTransactionRequest.js +15 -0
- package/dist/api/generated/AchAdminProto/index.js +22 -0
- package/dist/api/generated/AchProto/AchProto.AddAccountRequest.js +15 -0
- package/dist/api/generated/AchProto/AchProto.AddAccountResponse.js +15 -0
- package/dist/api/generated/AchProto/AchProto.FakeLinkingRequest.js +15 -0
- package/dist/api/generated/AchProto/AchProto.GetLinkingTokenResponse.js +15 -0
- package/dist/api/generated/AchProto/AchProto.GetRelinkingTokenResponse.js +15 -0
- package/dist/api/generated/AchProto/AchProto.LinkingRequest.js +15 -0
- package/dist/api/generated/AchProto/AchProto.LinkingToken.js +15 -0
- package/dist/api/generated/AchProto/AchProto.PlaidLinkingRequest.js +15 -0
- package/dist/api/generated/AchProto/AchProto.RefreshBalanceResponse.js +15 -0
- package/dist/api/generated/AchProto/AchProto.RelinkResponse.js +15 -0
- package/dist/api/generated/AchProto/index.js +24 -0
- package/dist/api/generated/AcquiringProto/AcquiringProto.AddCardRequest.js +15 -0
- package/dist/api/generated/AcquiringProto/AcquiringProto.AddCardResponse.js +15 -0
- package/dist/api/generated/AcquiringProto/AcquiringProto.GetProviderKeyResponse.js +15 -0
- package/dist/api/generated/AcquiringProto/index.js +17 -0
- package/dist/api/generated/AdminProto/AdminProto.Action.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.AdminUser.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.CloseUserAccountRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.CreateDocumentRequestRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.CreateDocumentRequestResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.CreateUserDashboardRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.CreateUserDashboardResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.CustomerTransferRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.CustomerTransferResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.Document.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.DocumentLocation.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.DocumentRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.DocumentRequestChannel.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.DocumentRequestChannelType.js +27 -0
- package/dist/api/generated/AdminProto/AdminProto.DocumentSubject.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.DocumentType.js +38 -0
- package/dist/api/generated/AdminProto/AdminProto.GetAllDocumentRequestsResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetAllUserDashboardsResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetBalanceRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetBalanceResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetDeviceUsersResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetNotesResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetPaymentInfoRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetPaymentInfoResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetPaymentsRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetPaymentsRequestAccountPair.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetPaymentsResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetTransactionsRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetTransactionsResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetUserDashboardResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetUserPropertiesResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.GetUserStatsResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.Note.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.NoteEntityType.js +29 -0
- package/dist/api/generated/AdminProto/AdminProto.PollTransactionFeedResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.ReconcileTransactionsRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.RecordNoteRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.RecordReceivablesPurchaseRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.RecordUploadedDocumentRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.ResendDocumentRequestsRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.SearchRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.SearchResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.SearchResponseMatch.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.SetUserPropertyRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.SettleLedgersRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.SettleLedgersRequestLedgerSettlementAccounts.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.TagTransactionsRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.TransferRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.TransferResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.UpdateUserDashboardRequest.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.UpdateUserDashboardResponse.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.UploadedDocument.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.UserDashboard.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.UserDashboardModule.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.UserDashboardModuleList.js +15 -0
- package/dist/api/generated/AdminProto/AdminProto.UserProperties.js +15 -0
- package/dist/api/generated/AdminProto/index.js +70 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.Action.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAddLimitOverride.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAddToGroup.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAssertStaleIntercomConversation.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAssignIntercomConversation.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAssignReferralCampaign.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionClearFeatureFlag.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionCloseIntercomConversation.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionCloseUserAccount.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionCreditUser.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionDebitUser.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionDeleteUser.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionLog.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionRemoveFromGroup.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionRemoveLimitLevel.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionRemoveLimitOverride.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionRemoveReferralCampaign.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionReplaceCard.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionReplyToIntercomConversation.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSendIntercomMessage.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSendStepFundedP2P.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetDeviceBlockedFlag.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetFeatureFlag.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetKycStatus.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetLimitLevel.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetReferralCodeStatus.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionTagIntercomConversation.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionTriggerBrazeCanvas.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionTriggerBrazeMessage.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.Batch.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.CreateBatchRequest.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.CreateBatchResponse.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.Execution.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.GetBatchesResponse.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.GetExecutionResponse.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.GetExecutionTasksResponse.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.GetExecutionsResponse.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.PreviewBatchQueryRequest.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.PreviewBatchQueryResponse.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.Task.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.TaskResult.js +27 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.UpdateBatchRequest.js +15 -0
- package/dist/api/generated/AdminbatchProto/AdminbatchProto.UpdateBatchResponse.js +15 -0
- package/dist/api/generated/AdminbatchProto/index.js +57 -0
- package/dist/api/generated/AuditlogProto/AuditlogProto.AuditLog.js +15 -0
- package/dist/api/generated/AuditlogProto/AuditlogProto.GetAuditLogsRequest.js +15 -0
- package/dist/api/generated/AuditlogProto/AuditlogProto.GetAuditLogsResponse.js +15 -0
- package/dist/api/generated/AuditlogProto/AuditlogProto.LogEntryType.js +15 -0
- package/dist/api/generated/AuditlogProto/index.js +18 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.BlockUserRequest.js +15 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.CloseUserRequest.js +15 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.GenerateKeyResponse.js +15 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.GetSessionsRequest.js +15 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.GetSessionsResponse.js +15 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.GetUserDevicesResponse.js +15 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.GetUserProfileResponse.js +15 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.ImpersonateRequest.js +15 -0
- package/dist/api/generated/AuthAdminProto/AuthAdminProto.ImpersonateResponse.js +15 -0
- package/dist/api/generated/AuthAdminProto/index.js +23 -0
- package/dist/api/generated/AuthProto/AuthProto.AccountClosure.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.AccountClosureReason.js +46 -0
- package/dist/api/generated/AuthProto/AuthProto.AccountClosureType.js +28 -0
- package/dist/api/generated/AuthProto/AuthProto.AddEmail.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.AddKey.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.AddPhone.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.AliasExistsRequest.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.AliasExistsResponse.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.AppleIdCredential.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.AuthEvent.js +28 -0
- package/dist/api/generated/AuthProto/AuthProto.Credential.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.Device.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.DeviceCheck.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.DeviceCheckDecision.js +27 -0
- package/dist/api/generated/AuthProto/AuthProto.DeviceCheckProvider.js +28 -0
- package/dist/api/generated/AuthProto/AuthProto.GetKeysResponse.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.GetProfileResponse.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.GetSessionResponse.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.GoogleLoginResponse.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.GoogleUser.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.Key.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.LoginFactorType.js +32 -0
- package/dist/api/generated/AuthProto/AuthProto.LoginRequest.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.LoginResponse.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.LoginWithIapTokenRequest.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.LoginWithTokenIdRequest.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.Profile.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.ProfileOperation.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.RefreshRequest.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.RefreshResponse.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.RemoveAppleId.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.RemoveDeviceKeys.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.RemoveEmail.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.RemoveGoogleId.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.RemoveKey.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.RemovePhone.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.SetAppleId.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.SetEmail.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.SetGoogleId.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.SetPassword.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.SetUsername.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.TestRequest.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.TestResponse.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.TokenCredential.js +15 -0
- package/dist/api/generated/AuthProto/AuthProto.UpdateRequest.js +15 -0
- package/dist/api/generated/AuthProto/index.js +59 -0
- package/dist/api/generated/CommonProto/CommonProto.AccountLimits.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AccountingSummary.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchAccount.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchAccountBalance.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchAccountType.js +27 -0
- package/dist/api/generated/CommonProto/CommonProto.AchBatchSummary.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchInInternalPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchInInternalPaymentContextRiskScore.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchInPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchInPaymentType.js +26 -0
- package/dist/api/generated/CommonProto/CommonProto.AchOutInternalPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchOutInternalPaymentContextLinkedAccount.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchOutInternalPaymentContextRiskScore.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchOutPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchOutPaymentContextReturnReason.js +27 -0
- package/dist/api/generated/CommonProto/CommonProto.AchOutPaymentContextReversal.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AchTotals.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.Address.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.Alias.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.Amount.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AppleId.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AtmDescriptor.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AtmWithdrawalContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.AuthToken.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.BankDescriptor.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.BankProvider.js +27 -0
- package/dist/api/generated/CommonProto/CommonProto.CardEntryType.js +31 -0
- package/dist/api/generated/CommonProto/CommonProto.CardFundingContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CardFundingInternalContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CardFundingInternalContextStripeChargeMetadata.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CardFundingInternalContextStripeOutcome.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CardInternalPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CardPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CardReplacementReason.js +29 -0
- package/dist/api/generated/CommonProto/CommonProto.CardShipping.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CardShippingShipmentService.js +28 -0
- package/dist/api/generated/CommonProto/CommonProto.CardShippingStatus.js +31 -0
- package/dist/api/generated/CommonProto/CommonProto.CardStatus.js +32 -0
- package/dist/api/generated/CommonProto/CommonProto.CardToken.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CardType.js +28 -0
- package/dist/api/generated/CommonProto/CommonProto.CashDepositDescriptor.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CashDepositInternalPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CashDepositMerchant.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CashDepositPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.CashDepositSettlementContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ClientMetadata.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ControlCategory.js +40 -0
- package/dist/api/generated/CommonProto/CommonProto.Date.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.DeviceProvider.js +26 -0
- package/dist/api/generated/CommonProto/CommonProto.DeviceToken.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.DisputeCloseReason.js +34 -0
- package/dist/api/generated/CommonProto/CommonProto.DisputeContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.DisputeReason.js +31 -0
- package/dist/api/generated/CommonProto/CommonProto.ExpirationDate.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ExternalAccount.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ExternalAccountErrorCode.js +40 -0
- package/dist/api/generated/CommonProto/CommonProto.ExternalBank.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ExternalBankStatus.js +29 -0
- package/dist/api/generated/CommonProto/CommonProto.ExternalCard.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ExternalCardEntryMethod.js +27 -0
- package/dist/api/generated/CommonProto/CommonProto.ExternalCardProvider.js +27 -0
- package/dist/api/generated/CommonProto/CommonProto.ExternalCardType.js +28 -0
- package/dist/api/generated/CommonProto/CommonProto.FamilyGroup.js +27 -0
- package/dist/api/generated/CommonProto/CommonProto.FundingInternalPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.FundingPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.GeoLocation.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.GoogleId.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.Image.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.InternalPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.KycError.js +29 -0
- package/dist/api/generated/CommonProto/CommonProto.KycStatus.js +31 -0
- package/dist/api/generated/CommonProto/CommonProto.LegalName.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.LocalDate.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MaskedAlias.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MaskedAliasType.js +29 -0
- package/dist/api/generated/CommonProto/CommonProto.MaskedEmail.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MatchedProfile.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MatchedProfileMatchedAlias.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MatchedReferralCode.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MatchedUser.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.Merchant.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MerchantAddress.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MerchantContactInfo.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MerchantDescriptor.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MerchantPreview.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.MerchantReportedLocation.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.Override.js +32 -0
- package/dist/api/generated/CommonProto/CommonProto.P2PPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.P2PPaymentContextParty.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.Payment.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.PaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ProtoBool.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ProtoString.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.RedeemerReward.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.RedemptionType.js +27 -0
- package/dist/api/generated/CommonProto/CommonProto.ReferralErrorCode.js +35 -0
- package/dist/api/generated/CommonProto/CommonProto.ReferralInvite.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.ReferralInviteStatus.js +31 -0
- package/dist/api/generated/CommonProto/CommonProto.ReferralRedemptionPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.RewardedReferral.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.SavingsGoal.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.SettlementPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.StepColor.js +28 -0
- package/dist/api/generated/CommonProto/CommonProto.StepUserGroup.js +43 -0
- package/dist/api/generated/CommonProto/CommonProto.StripeToken.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TestCardToken.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.Transaction.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionCategory.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionCategoryIcon.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionInfo.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionLimit.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionLimitError.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionLimitFilter.js +28 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionLimitTransactionQuery.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionType.js +57 -0
- package/dist/api/generated/CommonProto/CommonProto.TransactionWithBalance.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransferPaymentContext.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.TransferType.js +29 -0
- package/dist/api/generated/CommonProto/CommonProto.UserGeolocation.js +15 -0
- package/dist/api/generated/CommonProto/CommonProto.WalletProvider.js +29 -0
- package/dist/api/generated/CommonProto/index.js +134 -0
- package/dist/api/generated/CommonTransactionProto/CommonTransactionProto.TransactionErrorCode.js +55 -0
- package/dist/api/generated/CommonTransactionProto/CommonTransactionProto.TransactionStatus.js +28 -0
- package/dist/api/generated/CommonTransactionProto/index.js +16 -0
- package/dist/api/generated/ContactsProto/ContactsProto.BucketsHashesRequest.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.BucketsHashesResponse.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.Contact.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.DataHashResponse.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.DeleteContactsRequest.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.GetContactsRequest.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.GetContactsResponse.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.PutContactsRequest.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.PutContactsResponse.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.RecordsHashesRequest.js +15 -0
- package/dist/api/generated/ContactsProto/ContactsProto.RecordsHashesResponse.js +15 -0
- package/dist/api/generated/ContactsProto/index.js +25 -0
- package/dist/api/generated/DefaultApi.js +20607 -0
- package/dist/api/generated/FeatureProto/FeatureProto.AddFeatureRequest.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.AddGroupFeatureRequest.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.CreateUserGroupRequest.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.CreateUserGroupResponse.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.Feature.js +125 -0
- package/dist/api/generated/FeatureProto/FeatureProto.FeatureCascade.js +29 -0
- package/dist/api/generated/FeatureProto/FeatureProto.FeatureFlag.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.FeatureFlagReason.js +30 -0
- package/dist/api/generated/FeatureProto/FeatureProto.FeatureInfo.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.GetAllFeaturesResponse.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.GetFeaturesResponse.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.GetGroupsForUserResponse.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.ListUserGroupFeaturesResponse.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.UserGroup.js +15 -0
- package/dist/api/generated/FeatureProto/FeatureProto.UserGroupFeatures.js +15 -0
- package/dist/api/generated/FeatureProto/index.js +29 -0
- package/dist/api/generated/GoogleProtobuf/GoogleProtobuf.Timestamp.js +15 -0
- package/dist/api/generated/GoogleProtobuf/index.js +15 -0
- package/dist/api/generated/IdentityProto/IdentityProto.DocumentType.js +29 -0
- package/dist/api/generated/IdentityProto/IdentityProto.GetPersonaFlowRequest.js +15 -0
- package/dist/api/generated/IdentityProto/IdentityProto.GetPersonaFlowResponse.js +15 -0
- package/dist/api/generated/IdentityProto/IdentityProto.GetPersonaInquiryUrlResponse.js +15 -0
- package/dist/api/generated/IdentityProto/IdentityProto.GovernmentIdDocument.js +15 -0
- package/dist/api/generated/IdentityProto/IdentityProto.IdType.js +33 -0
- package/dist/api/generated/IdentityProto/IdentityProto.ScanDocuments.js +15 -0
- package/dist/api/generated/IdentityProto/IdentityProto.UploadPersonaDocumentRequest.js +15 -0
- package/dist/api/generated/IdentityProto/index.js +22 -0
- package/dist/api/generated/IntercomProto/IntercomProto.AuthenticateRequest.js +15 -0
- package/dist/api/generated/IntercomProto/IntercomProto.AuthenticateResponse.js +15 -0
- package/dist/api/generated/IntercomProto/IntercomProto.IntercomKeyType.js +27 -0
- package/dist/api/generated/IntercomProto/index.js +17 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.ApplyCreditRequest.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.CloseDisputeRequest.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.Dispute.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.DisputeStatus.js +31 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.GetDisputeResponse.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.GetDisputesRequest.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.GetDisputesRequestOrderBy.js +26 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.GetDisputesResponse.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.NoOpRequest.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.OpenDisputeRequest.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.OpenDisputeResponse.js +15 -0
- package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.UpdateDisputeRequest.js +15 -0
- package/dist/api/generated/IssuingInternalProto/index.js +26 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.AccountStats.js +15 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterCondition.js +15 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterConditionAccountIds.js +15 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterConditionTags.js +15 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterConditionTransactionStatuses.js +15 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterConditionTransactionTypes.js +15 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.PaymentInfo.js +15 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.TransactionFilter.js +15 -0
- package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.TransactionFilterFilterConditions.js +15 -0
- package/dist/api/generated/LedgerInternalProto/index.js +23 -0
- package/dist/api/generated/LedgerProto/LedgerProto.GetAccountBalanceResponse.js +15 -0
- package/dist/api/generated/LedgerProto/LedgerProto.GetPaymentResponse.js +15 -0
- package/dist/api/generated/LedgerProto/LedgerProto.GetTransactionsResponse.js +15 -0
- package/dist/api/generated/LedgerProto/index.js +17 -0
- package/dist/api/generated/LimitProto/LimitProto.AddOverrideRequest.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.ConfiguredOverride.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.CustomOverrideInfo.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.GetAllConfiguredOverridesResponse.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.GetLimitsResponse.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.GetOverridesResponse.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.Level.js +29 -0
- package/dist/api/generated/LimitProto/LimitProto.LevelLimits.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.LinkedAccount.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.NoOpRequest.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.OverrideCause.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.OverrideInfo.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.OverrideLimits.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.OverrideReview.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.OverrideSource.js +32 -0
- package/dist/api/generated/LimitProto/LimitProto.RemoveOverridesRequest.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.RemoveUserLevelRequest.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.SetCustomOverrideRequest.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.SetUserLevelRequest.js +15 -0
- package/dist/api/generated/LimitProto/LimitProto.Transaction.js +15 -0
- package/dist/api/generated/LimitProto/index.js +34 -0
- package/dist/api/generated/MerchantProto/MerchantProto.GetMerchantLocationResponse.js +15 -0
- package/dist/api/generated/MerchantProto/MerchantProto.GetReportedLocationsResponse.js +15 -0
- package/dist/api/generated/MerchantProto/MerchantProto.LookupMerchantResponse.js +15 -0
- package/dist/api/generated/MerchantProto/MerchantProto.MerchantLocationReport.js +15 -0
- package/dist/api/generated/MerchantProto/MerchantProto.SubmitReportsRequest.js +15 -0
- package/dist/api/generated/MerchantProto/index.js +19 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AccountLinkExpired.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchInFundingSuccess.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchOutFundingFailed.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchOutFundingFailedInsufficientFunds.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchOutFundingReturn.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchOutFundingSuccess.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchP2pCancel.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchP2pFailed.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchP2pFailedInsufficientFunds.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AchP2pSuccess.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AtmAccessDisabled.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AtmWithdrawalAccessDisabled.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AtmWithdrawalAuthorized.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AtmWithdrawalInsufficientFunds.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.AtmWithdrawalLimitExceeded.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardFundingApproved.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardInactive.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardOrdered.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardPinBlocked.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardPurchaseAuthorized.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardPurchaseInsufficientFunds.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardPurchaseRefunded.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardPurchaseReversed.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CardShipped.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.ContributedToSavingsGoal.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CustomerRecoupment.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.CustomerTransfer.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.DisputeCredit.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.DisputeCreditReversal.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.FailedTransfer.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.FamilyInvite.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.JoinedFamily.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.KycStatusUpdate.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.Limit.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.LockCard.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.MoneyReceived.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.MoneyRequested.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.MoneyRequestedExpired.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.MoneyRequestedRejected.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.MoneySentExpired.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.MoneySentLimitExceeded.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.NoOpRequest.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.Notification.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.NotificationUser.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.Purchase.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.PurchaseCardLocked.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.RedeemerReward.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.RedeemerRewardRewarded.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.ReferralBonus.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.ReferralRedemptionReminder.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.ReferralReward.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.ReferralRewardReferral.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.ReferralUser.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.SavingsGoal.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.ScheduledTransferSent.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.SendTestNotificationRequest.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.SponseeCreatedSavingsGoal.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.StartedRedemption.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.SubscribeToPushRequest.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.SubscribeToPushRequestType.js +28 -0
- package/dist/api/generated/NotificationProto/NotificationProto.TestMessage.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.UnlockCard.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.UnsubscribeToPushRequest.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.UpcomingTransfer.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.UpcomingTransferAccountExpired.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.UpcomingTransferInsufficientFunds.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.UpcomingTransferReminder.js +15 -0
- package/dist/api/generated/NotificationProto/NotificationProto.WithdrawReturn.js +15 -0
- package/dist/api/generated/NotificationProto/index.js +82 -0
- package/dist/api/generated/ProfileProto/ProfileProto.GetProfileResponse.js +15 -0
- package/dist/api/generated/ProfileProto/ProfileProto.LookupProfileRequest.js +15 -0
- package/dist/api/generated/ProfileProto/ProfileProto.LookupProfileResponse.js +15 -0
- package/dist/api/generated/ProfileProto/ProfileProto.Profile.js +15 -0
- package/dist/api/generated/ProfileProto/ProfileProto.SetProfileRequest.js +15 -0
- package/dist/api/generated/ProfileProto/ProfileProto.Status.js +27 -0
- package/dist/api/generated/ProfileProto/index.js +20 -0
- package/dist/api/generated/ReconciliationProto/ReconciliationProto.BankTransaction.js +15 -0
- package/dist/api/generated/ReconciliationProto/ReconciliationProto.GetReconciliationResponse.js +15 -0
- package/dist/api/generated/ReconciliationProto/ReconciliationProto.GetTransactionsRequest.js +15 -0
- package/dist/api/generated/ReconciliationProto/ReconciliationProto.GetTransactionsResponse.js +15 -0
- package/dist/api/generated/ReconciliationProto/ReconciliationProto.ReconcileTransactionsRequest.js +15 -0
- package/dist/api/generated/ReconciliationProto/ReconciliationProto.TransactionCode.js +50 -0
- package/dist/api/generated/ReconciliationProto/index.js +20 -0
- package/dist/api/generated/ReferralProto/ReferralProto.AssignCampaignToUserRequest.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.Assigned.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.BasicRewards.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.CampaignChangelog.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.CampaignContent.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.CampaignProgress.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.CellContent.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.GetAvailableCampaignsResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.GetCampaignHistoryResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.GetReferralCampaignResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.GetReferralCodeResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.GetReferralCodeStatusResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.GetReferralInfoResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.GetReferralInvitesResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.GetStepSquadRewardsResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.Image.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.MigrateResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.OfferDetails.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.OfferRedemption.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.RedeemOfferCodeResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.RedeemReferralCodeResponse.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.ReferralCampaign.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.ReferralCodeStatus.js +28 -0
- package/dist/api/generated/ReferralProto/ReferralProto.ReferralRedemption.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.Removed.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.SnapchatSharingContent.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.SnapchatStickerImages.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.SocialContent.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.StickerImage.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.StickerImageUrls.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.TrackReferralInviteRequest.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.UpdateReferralCodeStatusRequest.js +15 -0
- package/dist/api/generated/ReferralProto/ReferralProto.VerifyReferralInviteRequest.js +15 -0
- package/dist/api/generated/ReferralProto/index.js +47 -0
- package/dist/api/generated/ServiceInfra/ServiceInfra.GetManifestResponse.js +15 -0
- package/dist/api/generated/ServiceInfra/index.js +15 -0
- package/dist/api/generated/StripeProto/StripeProto.CreateEphemeralKeyRequest.js +15 -0
- package/dist/api/generated/StripeProto/StripeProto.CreateEphemeralKeyResponse.js +15 -0
- package/dist/api/generated/StripeProto/StripeProto.UpdatePinRequest.js +15 -0
- package/dist/api/generated/StripeProto/StripeProto.Verification.js +15 -0
- package/dist/api/generated/StripeProto/StripeProto.VerificationResponse.js +15 -0
- package/dist/api/generated/StripeProto/index.js +19 -0
- package/dist/api/generated/TestapiProto/TestapiProto.CardBackend.js +27 -0
- package/dist/api/generated/TestapiProto/TestapiProto.CloseFundingDisputeRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.CreateUsersRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.CreateUsersResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.CreateVirtualAccountSimulationRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.CreateVirtualAccountSimulationResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.Dob.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.EchoRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.EnableFeatureRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.GetVirtualAccountStatusResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.LoadFundsRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.RandomAlias.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.RandomAliasRandomAppleSso.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.RandomAliasRandomGoogleSso.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.RandomAliasRandomPhone.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.RejectedTransfer.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.ReverseCashDepositRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.ReverseFundingTransactionRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SetAddress.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SetupUserRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SetupUserResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateAuthorizationRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateAuthorizationResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateCaptureRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateCaptureResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateCashDepositRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateForceCaptureRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateForceCaptureResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateForceRefundRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateForceRefundResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateRefundRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateRefundResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateReversalRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.SimulateReversalResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.TestAdminLoginRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.TestAdminLoginResponse.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.TestVirtualAccountTransfer.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.UnlinkAliasRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.UnlinkSandboxPlaidAccountRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.UpdateTransactionRequest.js +15 -0
- package/dist/api/generated/TestapiProto/TestapiProto.UserLink.js +15 -0
- package/dist/api/generated/TestapiProto/index.js +55 -0
- package/dist/api/generated/TransferAdminProto/TransferAdminProto.AchOutCase.js +15 -0
- package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetRecurringTransfersResponse.js +15 -0
- package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetRecurringTransfersResponseIncoming.js +15 -0
- package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetRecurringTransfersResponseOutgoing.js +15 -0
- package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetRecurringTransfersResponseTransfer.js +15 -0
- package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetTransferRequestsResponse.js +15 -0
- package/dist/api/generated/TransferAdminProto/TransferAdminProto.NoOpRequest.js +15 -0
- package/dist/api/generated/TransferAdminProto/TransferAdminProto.UpdateRecurringTransferRequest.js +15 -0
- package/dist/api/generated/TransferAdminProto/index.js +22 -0
- package/dist/api/generated/TransferProto/TransferProto.EvaluateAllSchedulesRequest.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.EvaluateAllSchedulesResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.EvaluateAllSchedulesResponseScheduleNextTransferPair.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.EvaluateScheduleRequest.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.EvaluateScheduleResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.ExternalBank.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.ExternalCard.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.GetRecurringTransferRequest.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.GetRecurringTransferResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.GetRecurringTransfersResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.GetTransferRequestResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.GetTransferRequestsResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.RecurringTransfer.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.RecurringTransferDate.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.RecurringTransferDateStatus.js +30 -0
- package/dist/api/generated/TransferProto/TransferProto.RequestMoneyRequest.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.RequestMoneyResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.SendMoneyRequest.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.SendMoneyResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.SetRecurringTransferRequest.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.SetRecurringTransferResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferFrom.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferRequest.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferRequestFrom.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferRequestTransferCounterparty.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferRequestTransferUser.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferRequestType.js +27 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferSchedule.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferScheduleMonthly.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferScheduleMonthlyDayOfMonth.js +28 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferScheduleMonthlyTwice.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferScheduleMonthlyTwiceStartOnDay.js +27 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferScheduleWeekly.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferTo.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.TransferToToUser.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.UpdateRecurringTransferDateStatusRequest.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.UpdateRecurringTransferDateStatusResponse.js +15 -0
- package/dist/api/generated/TransferProto/TransferProto.UpdateTransferRequestStatusRequest.js +15 -0
- package/dist/api/generated/TransferProto/index.js +52 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchInCredit.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchInCreditReversal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchInDebit.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchInDebitReversal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchInParties.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchOutCredit.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchOutCreditReversal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchOutDebit.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AchOutDebitReversal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.ActivityContext.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.ActivityItem.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.ActivityStatus.js +28 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.AtmWithdrawal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Bank.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.CardDetails.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.CashDeposit.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Credit.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Debit.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Dispute.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.DisputeReversal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Funding.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.FundingDetails.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.FundingDispute.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.FundingDisputeReversal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.FundingReversal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.GetAccountActivityResponse.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.GetActivityByPaymentResponse.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.GetActivityByTransactionResponse.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Merchant.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.P2P.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.P2PReversal.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Purchase.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Referral.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Refund.js +15 -0
- package/dist/api/generated/TxactivityProto/TxactivityProto.Transfer.js +15 -0
- package/dist/api/generated/TxactivityProto/index.js +49 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.FamilyActivity.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.FamilyMemberDetails.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.GetSsnChangeHistoryResponse.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.GetSsnResponse.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.GetUserChangeHistoryResponse.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.LookupFamilyHistoryResponse.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.LookupFamilyResponse.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.LookupUsersRequest.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.LookupUsersResponse.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.SsnSnapshot.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.UpdateRequest.js +15 -0
- package/dist/api/generated/UserAdminProto/UserAdminProto.UpdateResponse.js +15 -0
- package/dist/api/generated/UserAdminProto/index.js +26 -0
- package/dist/api/generated/UserProto/UserProto.AppleSsoVerificationMethod.js +15 -0
- package/dist/api/generated/UserProto/UserProto.ApproveFamilyInviteRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.CreateUserResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.EmailDeliveryMethod.js +26 -0
- package/dist/api/generated/UserProto/UserProto.EmailVerificationMethod.js +15 -0
- package/dist/api/generated/UserProto/UserProto.FamilyInviteInfo.js +15 -0
- package/dist/api/generated/UserProto/UserProto.FamilyInviteStatus.js +31 -0
- package/dist/api/generated/UserProto/UserProto.FamilyMember.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetFamilyAddressResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetFamilyInvitesResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetFamilyInvitesResponseInvite.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetFamilyInvitesResponseInviteMember.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetFamilyResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetFamilyResponseInvite.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetPayfoneRedirectUrlRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetPayfoneRedirectUrlResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetProfilePicturesResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetUserResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetVerificationMethodResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.GetVerificationMethodResponseMethod.js +27 -0
- package/dist/api/generated/UserProto/UserProto.GoogleSsoVerificationMethod.js +15 -0
- package/dist/api/generated/UserProto/UserProto.InviteMemberRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.JoinFamilyRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.OffboardResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.OnboardRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.OnboardResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.OtpDeliveryMethod.js +15 -0
- package/dist/api/generated/UserProto/UserProto.PhoneDeliveryMethod.js +27 -0
- package/dist/api/generated/UserProto/UserProto.PhoneVerificationMethod.js +15 -0
- package/dist/api/generated/UserProto/UserProto.ReVerifyRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.RejectFamilyInviteRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.SendSponsorVerificationResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.SetProfilePictureRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.SetProfilePictureResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.StartOnboardingRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.StartOnboardingResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.UnInviteMemberRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.UpdateAliasRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.UpdateFamilyMemberRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.UpdateFamilyMemberResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.UpdateUserRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.UpdateUserRequestSetAutoBilling.js +15 -0
- package/dist/api/generated/UserProto/UserProto.UpdateUserResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.User.js +15 -0
- package/dist/api/generated/UserProto/UserProto.UserShipping.js +15 -0
- package/dist/api/generated/UserProto/UserProto.VerificationMethod.js +15 -0
- package/dist/api/generated/UserProto/UserProto.VerifyRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.VerifyResponse.js +15 -0
- package/dist/api/generated/UserProto/UserProto.VerifyUserRequest.js +15 -0
- package/dist/api/generated/UserProto/UserProto.VerifyUserResponse.js +15 -0
- package/dist/api/generated/UserProto/index.js +64 -0
- package/dist/api/generated/api.js +26 -0
- package/dist/api/generated/base.js +65 -0
- package/dist/api/generated/configuration.js +26 -0
- package/dist/api/generated/index.js +27 -0
- package/dist/http/Api.js +828 -0
- package/dist/http/AppMetadata.js +3 -0
- package/dist/http/AxiosFactory.js +58 -0
- package/dist/http/DataUri.js +28 -0
- package/dist/http/HttpClient.js +50 -0
- package/dist/http/HttpError.js +247 -0
- package/dist/http/PublicApi.js +32 -0
- package/dist/http/StripeHttpClient.js +59 -0
- package/dist/http/TestApi.js +139 -0
- package/dist/http/auth/AccessTokenProvider.js +10 -0
- package/dist/http/auth/AccessTokenRefresher.js +45 -0
- package/dist/http/auth/AuthenticationFailureError.js +10 -0
- package/dist/http/auth/KeySetAccessTokenProvider.js +84 -0
- package/dist/http/auth/RefreshingAccessTokenProvider.js +27 -0
- package/dist/http/auth/index.js +18 -0
- package/dist/http/index.js +20 -0
- package/dist/http/models/Alias.js +76 -0
- package/dist/http/models/Amount.js +52 -0
- package/dist/http/models/AuthResult.js +3 -0
- package/dist/http/models/AuthToken.js +51 -0
- package/dist/http/models/DebitCard.js +30 -0
- package/dist/http/models/FeatureDescriptor.js +35 -0
- package/dist/http/models/JwtToken.js +3 -0
- package/dist/http/models/OtpSession.js +3 -0
- package/dist/http/models/Page.js +43 -0
- package/dist/http/models/PersonaFlow.js +11 -0
- package/dist/http/models/Profile.js +11 -0
- package/dist/http/models/Referrals.js +3 -0
- package/dist/http/models/ScheduleDatePair.js +3 -0
- package/dist/http/models/SubAccount.js +3 -0
- package/dist/http/models/SubAccountType.js +10 -0
- package/dist/http/models/User.js +13 -0
- package/dist/http/models/VerificationMethod.js +3 -0
- package/dist/index.js +28 -0
- package/dist/internal.js +118 -0
- package/dist/keystore/AuthLevel.js +13 -0
- package/dist/keystore/InMemoryKeySet.js +123 -0
- package/dist/keystore/KeySet.js +3 -0
- package/dist/store/AccountListStore.js +227 -0
- package/dist/store/AccountStore.js +297 -0
- package/dist/store/ActivityStore.js +75 -0
- package/dist/store/AuthStore.js +158 -0
- package/dist/store/CardTemplateStore.js +78 -0
- package/dist/store/ExternalAccountsStore.js +200 -0
- package/dist/store/FamilyStore.js +144 -0
- package/dist/store/FeatureStore.js +119 -0
- package/dist/store/MerchantStore.js +25 -0
- package/dist/store/PublicProfileStore.js +149 -0
- package/dist/store/ReferralStore.js +136 -0
- package/dist/store/StatementStore.js +49 -0
- package/dist/store/StripeAcquiring.js +38 -0
- package/dist/store/SubAccountStore.js +86 -0
- package/dist/store/TestApiStore.js +59 -0
- package/dist/store/TransactionsStore.js +90 -0
- package/dist/store/TransferStore.js +113 -0
- package/dist/store/UserStore.js +785 -0
- package/dist/store/Util.js +34 -0
- package/dist/store/common/AggregatingDataStore.js +40 -0
- package/dist/store/common/Arrays.js +77 -0
- package/dist/store/common/ClassName.js +14 -0
- package/dist/store/common/DataStore.js +197 -0
- package/dist/store/common/index.js +17 -0
- package/dist/store/intercom/Screens.js +132 -0
- package/dist/store/testing/BaseTestApiFactory.js +229 -0
- package/dist/store/testing/CreateUserBuilder.js +64 -0
- package/dist/store/testing/CreateUserResult.js +30 -0
- package/dist/store/testing/generators.js +93 -0
- package/dist/store/testing/index.js +18 -0
- package/dist/store/testing/legacyGenerators.js +44 -0
- package/dist/store/testing/types.js +22 -0
- package/dist/store/txhistory/AchInHistoryItem.js +33 -0
- package/dist/store/txhistory/AchOutCreditTxHistoryItem.js +96 -0
- package/dist/store/txhistory/AchOutDebitTxHistoryItem.js +32 -0
- package/dist/store/txhistory/CardFundingTxHistoryItem.js +84 -0
- package/dist/store/txhistory/CashDepositTxHistoryItem.js +26 -0
- package/dist/store/txhistory/P2PTxHistoryItem.js +38 -0
- package/dist/store/txhistory/PurchaseTxHistoryItem.js +96 -0
- package/dist/store/txhistory/TxDisplayStatus.js +21 -0
- package/dist/store/txhistory/TxHistory.js +281 -0
- package/dist/store/txhistory/TxHistoryItem.js +370 -0
- package/dist/store/txhistory/TxHistoryUpdate.js +176 -0
- package/dist/store/txhistory/TxItemType.js +26 -0
- package/dist/test/AccountFactory.js +28 -0
- package/dist/test/ApiFactory.js +50 -0
- package/dist/test/DebitCardFactory.js +26 -0
- package/dist/test/ExternalAccountFactory.js +18 -0
- package/dist/test/UserFactory.js +154 -0
- package/dist/test/index.js +18 -0
- package/dist/util/Assert.js +33 -0
- package/dist/util/Chaos.js +38 -0
- package/dist/util/ConsoleStamp.js +55 -0
- package/dist/util/Date.js +12 -0
- package/dist/util/Format.js +21 -0
- package/dist/util/Names.js +110 -0
- package/dist/util/Phones.js +136 -0
- package/dist/util/PublicProfile.js +56 -0
- package/dist/util/Random.js +303 -0
- package/dist/util/ReportTimeout.js +18 -0
- package/dist/util/Sleep.js +8 -0
- package/dist/util/Url.js +15 -0
- package/dist/util/index.js +21 -0
- package/index.js +30 -0
- package/package.json +34 -4
- package/README.md +0 -5
package/dist/http/Api.js
ADDED
@@ -0,0 +1,828 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
5
|
+
}) : (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
o[k2] = m[k];
|
8
|
+
}));
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
11
|
+
}) : function(o, v) {
|
12
|
+
o["default"] = v;
|
13
|
+
});
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
15
|
+
if (mod && mod.__esModule) return mod;
|
16
|
+
var result = {};
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
18
|
+
__setModuleDefault(result, mod);
|
19
|
+
return result;
|
20
|
+
};
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
22
|
+
exports.Api = void 0;
|
23
|
+
const __1 = require("..");
|
24
|
+
const CommonProto = __importStar(require("../api/generated/CommonProto"));
|
25
|
+
const NotificationProto_1 = require("../api/generated/NotificationProto");
|
26
|
+
const Alias_1 = require("./models/Alias");
|
27
|
+
const AuthToken_1 = require("./models/AuthToken");
|
28
|
+
const PersonaFlow_1 = require("./models/PersonaFlow");
|
29
|
+
const PublicApi_1 = require("./PublicApi");
|
30
|
+
/**
|
31
|
+
* A wrapper around authenticated API calls. Refreshes the JWT tokens as needed before
|
32
|
+
* performing an API call.
|
33
|
+
*/
|
34
|
+
class Api extends PublicApi_1.PublicApi {
|
35
|
+
constructor(client, settings, storage, auth, keyAuthenticator = __1.NullAuthenticator, device) {
|
36
|
+
super(client);
|
37
|
+
this.settings = settings;
|
38
|
+
this.storage = storage;
|
39
|
+
this.auth = auth;
|
40
|
+
this.keyAuthenticator = keyAuthenticator;
|
41
|
+
this.device = device;
|
42
|
+
}
|
43
|
+
get tokenProvider() {
|
44
|
+
return this.auth;
|
45
|
+
}
|
46
|
+
async verifyStart(alias, otpDeliveryMethod) {
|
47
|
+
return await this.authenticated((api) => api.verificationServiceVerify({ alias, otpDeliveryMethod }));
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* Initiates alias verification for the given masked alias. Allows user to
|
51
|
+
* continue recovery process.
|
52
|
+
*
|
53
|
+
* @param alias masked alias
|
54
|
+
* @param otpDeliveryMethod optional param to configure OTP delivery methods
|
55
|
+
*/
|
56
|
+
async reVerify(alias, otpDeliveryMethod) {
|
57
|
+
await this.restrictedAuthenticated((api) => api.verificationServiceReVerify({ alias, otpDeliveryMethod }));
|
58
|
+
}
|
59
|
+
async addPhone(phone, prompt) {
|
60
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
61
|
+
operations: [{ addPhone: { phone } }],
|
62
|
+
}), prompt);
|
63
|
+
}
|
64
|
+
async removePhone(phone, prompt) {
|
65
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
66
|
+
operations: [{ removePhone: { phone } }],
|
67
|
+
}), prompt);
|
68
|
+
}
|
69
|
+
async addEmail(email, prompt) {
|
70
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
71
|
+
operations: [{ addEmail: { email } }],
|
72
|
+
}), prompt);
|
73
|
+
}
|
74
|
+
async setEmail(email, prompt) {
|
75
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
76
|
+
operations: [{ setEmail: { email } }],
|
77
|
+
}), prompt);
|
78
|
+
}
|
79
|
+
async removeEmail(email, prompt) {
|
80
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
81
|
+
operations: [{ removeEmail: { email } }],
|
82
|
+
}), prompt);
|
83
|
+
}
|
84
|
+
async setUsername(username, prompt) {
|
85
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
86
|
+
operations: [{ setUsername: { username } }],
|
87
|
+
}), prompt);
|
88
|
+
}
|
89
|
+
async setAppleId(clientId, authCode, prompt) {
|
90
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
91
|
+
operations: [{ setAppleId: { clientId, authCode } }],
|
92
|
+
}), prompt);
|
93
|
+
}
|
94
|
+
async removeAppleId(appleId, prompt) {
|
95
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
96
|
+
operations: [{ removeAppleId: { appleId } }],
|
97
|
+
}), prompt);
|
98
|
+
}
|
99
|
+
async setGoogleId(idToken, prompt) {
|
100
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
101
|
+
operations: [{ setGoogleId: { idToken } }],
|
102
|
+
}), prompt);
|
103
|
+
}
|
104
|
+
async removeGoogleId(googleId, prompt) {
|
105
|
+
await this.stronglyAuthenticated((api) => api.authServiceUpdate({
|
106
|
+
operations: [{ removeGoogleId: { googleId } }],
|
107
|
+
}), prompt);
|
108
|
+
}
|
109
|
+
async aliasExists(alias) {
|
110
|
+
const response = await this.authenticated((api) => api.authServiceAliasExists({ alias }));
|
111
|
+
return response.exists;
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* Resets user keys used for authentication. If the keys are not specified, then
|
115
|
+
* the keys are cleared.
|
116
|
+
*
|
117
|
+
* @param keys new set of keys
|
118
|
+
* @param options additional options for resetting keys, see {@link ResetKeysOptions}
|
119
|
+
*/
|
120
|
+
async resetKeys(keys, options = {}) {
|
121
|
+
const { prompt, newPassword } = options;
|
122
|
+
const { userId } = await this.stronglyAuthenticated(async (api, userId) => {
|
123
|
+
const response = await api.authServiceUpdate({
|
124
|
+
operations: keys.publicKeys().map((key) => ({
|
125
|
+
addKey: {
|
126
|
+
factors: key.factors,
|
127
|
+
jwkBase64: key.jwkBase64,
|
128
|
+
keyId: key.id,
|
129
|
+
password: key.factors > 1 ? newPassword : undefined,
|
130
|
+
},
|
131
|
+
})),
|
132
|
+
});
|
133
|
+
return Object.assign(Object.assign({}, response), { data: { userId } });
|
134
|
+
}, prompt);
|
135
|
+
// clear stored refresh token
|
136
|
+
this.storage.refreshToken = undefined;
|
137
|
+
// switch to using keys for authentication
|
138
|
+
this.auth = new __1.KeySetAccessTokenProvider(this.client, this.settings, userId, keys, this.keyAuthenticator, this.device);
|
139
|
+
}
|
140
|
+
/**
|
141
|
+
* Verify User via MFA using specified factor
|
142
|
+
*
|
143
|
+
* @param factor verification factor {@see EnableAccountMethod}
|
144
|
+
*/
|
145
|
+
async verifyUser(factor) {
|
146
|
+
const { accessToken, refreshToken, } = await this.restrictedAuthenticated((api) => api.userServiceVerify(Object.assign({ sessionLifetimeMs: __1.STRONG_AUTH_TOKEN_TTL_MS.toString(10), clientTimeMs: Date.now().toString() }, factor)));
|
147
|
+
const tokens = {
|
148
|
+
accessToken: AuthToken_1.AuthToken.parse(accessToken.value),
|
149
|
+
refreshToken: AuthToken_1.AuthToken.parse(refreshToken.value),
|
150
|
+
};
|
151
|
+
// store refresh token and clockSkew for future use
|
152
|
+
this.storage.refreshToken = tokens.refreshToken;
|
153
|
+
this.settings.clockSkew = tokens.refreshToken.clockSkew;
|
154
|
+
this.auth = new __1.RefreshingAccessTokenProvider(this.client, tokens);
|
155
|
+
}
|
156
|
+
async requestSponsorApproval() {
|
157
|
+
const { otpTtlMs } = await this.restrictedAuthenticated((api) => api.verificationServiceSendSponsorVerification());
|
158
|
+
return parseInt(otpTtlMs, 10);
|
159
|
+
}
|
160
|
+
async getAuthProfile() {
|
161
|
+
const response = await this.authenticated((api) => api.authServiceGetProfile());
|
162
|
+
return Alias_1.fromProfileProto(response.profile);
|
163
|
+
}
|
164
|
+
/* User Requests */
|
165
|
+
async getUser() {
|
166
|
+
const response = await this.authenticated((api) => api.userServiceGet());
|
167
|
+
return response.user;
|
168
|
+
}
|
169
|
+
async createUser() {
|
170
|
+
const response = await this.authenticated((api) => api.userServiceCreate());
|
171
|
+
return response.user;
|
172
|
+
}
|
173
|
+
async verificationMethod() {
|
174
|
+
const response = await this.restrictedAuthenticated((api) => api.userServiceGetVerificationMethod());
|
175
|
+
return response.method;
|
176
|
+
}
|
177
|
+
async getSession() {
|
178
|
+
const response = await this.restrictedAuthenticated((api) => api.authServiceGetSession());
|
179
|
+
return response.session;
|
180
|
+
}
|
181
|
+
async updateUser(update) {
|
182
|
+
const response = await this.authenticated((api) => api.userServiceUpdate(update));
|
183
|
+
return response.user;
|
184
|
+
}
|
185
|
+
async setProfilePicture(image) {
|
186
|
+
const response = await this.authenticated((api) => api.userServiceSetProfilePicture({ image }));
|
187
|
+
return response.pictureUrl;
|
188
|
+
}
|
189
|
+
async removeProfilePicture() {
|
190
|
+
await this.authenticated((api) => api.userServiceRemoveProfilePicture());
|
191
|
+
}
|
192
|
+
async getProfilePictures() {
|
193
|
+
const response = await this.authenticated((api) => api.userServiceGetProfilePictures());
|
194
|
+
return response.pictureUrls;
|
195
|
+
}
|
196
|
+
/**
|
197
|
+
* This will return our own public profile, if we have one.
|
198
|
+
* Make a setPublicProfileVisibility call, if you need one initialized.
|
199
|
+
*/
|
200
|
+
async getOwnPublicProfile() {
|
201
|
+
const { profile } = await this.authenticated((api) => api.profileServiceGetProfile());
|
202
|
+
return profile;
|
203
|
+
}
|
204
|
+
/**
|
205
|
+
* This will allow/disallow requests for user's public profile.
|
206
|
+
* DANGER! Be sure to call this and pick the public data responsibly.
|
207
|
+
* This will initialize the profile the first time it is called,
|
208
|
+
* and will update its visibility on subsequent calls.
|
209
|
+
*
|
210
|
+
* @param status profile visibility
|
211
|
+
*/
|
212
|
+
async setPublicProfileVisibility(status) {
|
213
|
+
await this.authenticated((api) => api.profileServiceSetProfile({ status }));
|
214
|
+
}
|
215
|
+
/* KYC Requests */
|
216
|
+
async onboard(performKyc, prompt) {
|
217
|
+
const device = this.device && (await this.device());
|
218
|
+
return this.stronglyAuthenticated((api) => api.userServiceOnboard({ device, performKyc }), prompt);
|
219
|
+
}
|
220
|
+
async offboard() {
|
221
|
+
const response = await this.authenticated((api) => api.userServiceOffboard());
|
222
|
+
return response.kycStatus;
|
223
|
+
}
|
224
|
+
async getPersonaFlow(supportedScanDocuments) {
|
225
|
+
const response = await this.authenticated((api) => api.identityServiceGetPersonaFlow({ supportedScanDocuments }));
|
226
|
+
return response.inquiryUrl
|
227
|
+
? new PersonaFlow_1.PersonaFlow(response.inquiryUrl, undefined)
|
228
|
+
: response.scanDocuments
|
229
|
+
? new PersonaFlow_1.PersonaFlow(undefined, response.scanDocuments.scanDocuments)
|
230
|
+
: undefined;
|
231
|
+
}
|
232
|
+
/**
|
233
|
+
* governmentId is the only option at the moment
|
234
|
+
*
|
235
|
+
* @param governmentId government id document details
|
236
|
+
* @param frontPhoto data:uri encoded front photo
|
237
|
+
* @param backPhoto optional data:uri encoded back photo
|
238
|
+
*/
|
239
|
+
async uploadPersonaDocument(governmentId, frontPhoto, backPhoto) {
|
240
|
+
await this.authenticated((api) => api.identityServiceUploadPersonaDocument({
|
241
|
+
governmentId,
|
242
|
+
frontPhoto,
|
243
|
+
backPhoto,
|
244
|
+
}));
|
245
|
+
}
|
246
|
+
/* Family Requests */
|
247
|
+
async getFamily() {
|
248
|
+
const { members, invites } = await this.authenticated((api) => api.familyServiceGet());
|
249
|
+
return { members, invites };
|
250
|
+
}
|
251
|
+
async updateFamilyMember(userToEditId, isAdmin) {
|
252
|
+
const response = await this.stronglyAuthenticated((api) => api.familyServiceUpdateFamilyMember(userToEditId, {
|
253
|
+
group: isAdmin
|
254
|
+
? CommonProto.FamilyGroup.ADMIN
|
255
|
+
: CommonProto.FamilyGroup.MEMBER,
|
256
|
+
}));
|
257
|
+
return response.member;
|
258
|
+
}
|
259
|
+
async deleteFamilyMember(userToDeleteId) {
|
260
|
+
await this.stronglyAuthenticated((api) => api.familyServiceRemoveFamilyMember(userToDeleteId));
|
261
|
+
}
|
262
|
+
async inviteFamilyMember(inviteeAlias, group = CommonProto.FamilyGroup.MEMBER) {
|
263
|
+
await this.authenticated((api) => api.familyServiceInviteMember({
|
264
|
+
group,
|
265
|
+
inviteeAlias,
|
266
|
+
}));
|
267
|
+
}
|
268
|
+
async unInviteFamilyMember(inviteeAlias) {
|
269
|
+
await this.authenticated((api) => api.familyServiceUnInviteMember({ inviteeAlias }));
|
270
|
+
}
|
271
|
+
async getFamilyInvites() {
|
272
|
+
const response = await this.authenticated((api) => api.familyServiceGetFamilyInvites());
|
273
|
+
return response.invites;
|
274
|
+
}
|
275
|
+
async acceptFamilyInvite(familyId, prompt) {
|
276
|
+
await this.stronglyAuthenticated((api) => api.familyServiceJoinFamily({
|
277
|
+
familyId,
|
278
|
+
}), prompt);
|
279
|
+
}
|
280
|
+
async rejectFamilyInvite(familyId) {
|
281
|
+
await this.authenticated((api) => api.familyServiceRejectFamilyInvite({
|
282
|
+
familyId,
|
283
|
+
}));
|
284
|
+
}
|
285
|
+
async getFamilyAddress() {
|
286
|
+
const response = await this.authenticated((api) => api.familyServiceGetFamilyAddress());
|
287
|
+
return response.address;
|
288
|
+
}
|
289
|
+
/* Account Requests */
|
290
|
+
async getAccounts(includeClosed) {
|
291
|
+
const response = await this.authenticated((api) => api.accountServiceGet(includeClosed));
|
292
|
+
return response.accounts;
|
293
|
+
}
|
294
|
+
async getDefaultAccount() {
|
295
|
+
const response = await this.authenticated((api) => api.accountServiceGetDefault());
|
296
|
+
return response.account;
|
297
|
+
}
|
298
|
+
async closeAccount(primaryAccountId) {
|
299
|
+
await this.stronglyAuthenticated((api) => api.accountServiceClose(primaryAccountId));
|
300
|
+
}
|
301
|
+
async createSavingsGoal(savings, currency = 'USD') {
|
302
|
+
const response = await this.authenticated((api) => api.savingsGoalServiceCreateSavingsGoal({ savings, currency }));
|
303
|
+
return response.account;
|
304
|
+
}
|
305
|
+
async updateSavingsGoal(subAccountId, savings) {
|
306
|
+
const response = await this.authenticated((api) => api.savingsGoalServiceUpdateSavingsGoal(subAccountId, { savings }));
|
307
|
+
return response.account;
|
308
|
+
}
|
309
|
+
async canCloseSavingsGoal(subAccountId) {
|
310
|
+
const response = await this.authenticated((api) => api.savingsGoalServiceCanCloseSavingsGoal(subAccountId));
|
311
|
+
return response.closability;
|
312
|
+
}
|
313
|
+
async closeSavingsGoal(subAccountId) {
|
314
|
+
const response = await this.authenticated((api) => api.savingsGoalServiceCloseSavingsGoal(subAccountId));
|
315
|
+
return response.account;
|
316
|
+
}
|
317
|
+
async getSuggestedSavingsGoals() {
|
318
|
+
return await this.authenticated((api) => api.savingsGoalServiceGetSuggestedSavingsGoals());
|
319
|
+
}
|
320
|
+
/* Transaction Requests */
|
321
|
+
async getTransactions(primaryAccountId, statuses, prevOffset, nextOffset, limit) {
|
322
|
+
if (prevOffset && nextOffset) {
|
323
|
+
throw Error('Either next or prev offsets must be defined');
|
324
|
+
}
|
325
|
+
const { transactions, updatedTransactions, paging, } = await this.authenticated((api) => api.transactionServiceGetTransactions(primaryAccountId, statuses, limit, nextOffset, prevOffset));
|
326
|
+
return {
|
327
|
+
transactions,
|
328
|
+
updatedTransactions,
|
329
|
+
nextOffset: paging === null || paging === void 0 ? void 0 : paging.nextOffset,
|
330
|
+
prevOffset: paging === null || paging === void 0 ? void 0 : paging.prevOffset,
|
331
|
+
};
|
332
|
+
}
|
333
|
+
async getPayment(primaryAccountId, paymentId, statuses) {
|
334
|
+
const response = await this.authenticated((api) => api.transactionServiceGetPayment(primaryAccountId, paymentId, statuses));
|
335
|
+
return response.payment;
|
336
|
+
}
|
337
|
+
async getBalance(primaryAccountId, subAccountId) {
|
338
|
+
const response = await this.authenticated((api) => api.transactionServiceGetBalance(primaryAccountId, subAccountId));
|
339
|
+
return response.available;
|
340
|
+
}
|
341
|
+
/* Card Requests */
|
342
|
+
async getCardTemplate() {
|
343
|
+
const response = await this.authenticated((api) => api.cardServiceGetCardTemplate());
|
344
|
+
return response.template || {};
|
345
|
+
}
|
346
|
+
async setCardTemplate(update) {
|
347
|
+
await this.authenticated((api) => api.cardServiceSetCardTemplate(update));
|
348
|
+
}
|
349
|
+
async issueCard(primaryAccountId, cardType, nameOnCard, prompt) {
|
350
|
+
const response = await this.stronglyAuthenticated((api) => api.cardServiceIssue({
|
351
|
+
primaryAccountId,
|
352
|
+
cardType,
|
353
|
+
nameOnCard,
|
354
|
+
}), prompt);
|
355
|
+
return response.card;
|
356
|
+
}
|
357
|
+
async replaceCard(cardId, reason, prompt) {
|
358
|
+
return this.stronglyAuthenticated((api) => api.cardServiceReplace(cardId, { reason }), prompt);
|
359
|
+
}
|
360
|
+
async activateCard(cardId, prompt) {
|
361
|
+
const response = await this.stronglyAuthenticated((api) => api.cardServiceActivate(cardId), prompt);
|
362
|
+
return response.card;
|
363
|
+
}
|
364
|
+
async updateCard(cardId, cardStatus, prompt) {
|
365
|
+
const response = await this.stronglyAuthenticated((api) => api.cardServiceUpdate(cardId, { cardStatus }), prompt);
|
366
|
+
return response.card;
|
367
|
+
}
|
368
|
+
async listCards(primaryAccountId, includeCanceled = false) {
|
369
|
+
const response = await this.authenticated((api) => api.cardServiceGet(primaryAccountId, includeCanceled));
|
370
|
+
return response.cards;
|
371
|
+
}
|
372
|
+
async cancelCard(cardId, prompt) {
|
373
|
+
await this.stronglyAuthenticated((api) => api.cardServiceUpdate(cardId, {
|
374
|
+
cardStatus: CommonProto.CardStatus.CANCELED,
|
375
|
+
}), prompt);
|
376
|
+
}
|
377
|
+
/* External Accounts */
|
378
|
+
async listExternalAccounts() {
|
379
|
+
const response = await this.authenticated((api) => api.externalAccountServiceGetExternalAccounts());
|
380
|
+
return response.accounts;
|
381
|
+
}
|
382
|
+
async addExternalCard(token, name, entryMethod) {
|
383
|
+
const response = await this.authenticated((api) => api.cardAcquiringServiceAddCard({ name, token, entryMethod }));
|
384
|
+
return response.account;
|
385
|
+
}
|
386
|
+
async getBankLinkingToken(provider) {
|
387
|
+
const response = await this.authenticated((api) => api.achServiceGetLinkingToken(provider));
|
388
|
+
return response.linkingToken;
|
389
|
+
}
|
390
|
+
async getBankRelinkingToken(externalAccountId) {
|
391
|
+
const response = await this.authenticated((api) => api.achServiceGetRelinkingToken(externalAccountId));
|
392
|
+
return response.linkingToken;
|
393
|
+
}
|
394
|
+
async addExternalBank(request, name) {
|
395
|
+
const response = await this.authenticated((api) => api.achServiceAddAccount({ name, request }));
|
396
|
+
return response.account;
|
397
|
+
}
|
398
|
+
async relinkExternalBank(externalAccountId) {
|
399
|
+
const response = await this.authenticated((api) => api.achServiceRelink(externalAccountId));
|
400
|
+
return response.account;
|
401
|
+
}
|
402
|
+
async getCardProviderKey(provider) {
|
403
|
+
return this.authenticated((api) => api.cardAcquiringServiceGetProviderKey(provider));
|
404
|
+
}
|
405
|
+
async updateExternalAccount(externalAccountId, name) {
|
406
|
+
const response = await this.authenticated((api) => api.externalAccountServiceUpdateExternalAccount(externalAccountId, {
|
407
|
+
name,
|
408
|
+
}));
|
409
|
+
return response.externalAccount;
|
410
|
+
}
|
411
|
+
async removeExternalAccount(externalAccountId) {
|
412
|
+
await this.authenticated((api) => api.externalAccountServiceRemoveExternalAccount(externalAccountId));
|
413
|
+
}
|
414
|
+
async refreshExternalAccountBalance(externalAccountId) {
|
415
|
+
const response = await this.authenticated((api) => api.achServiceRefreshBalance(externalAccountId));
|
416
|
+
return response.account;
|
417
|
+
}
|
418
|
+
/* Stripe Card Operations */
|
419
|
+
async initiateVerification(cardId) {
|
420
|
+
const response = await this.authenticated((api) => api.stripeCardServiceInitiateVerification(cardId));
|
421
|
+
return response.verification;
|
422
|
+
}
|
423
|
+
async createEphemeralKey(cardId, apiVersion, prompt) {
|
424
|
+
const { bankCardId, encodedKey } = await this.stronglyAuthenticated((api) => api.stripeCardServiceCreateEphemeralKey(cardId, { apiVersion }), prompt);
|
425
|
+
return { bankCardId, encodedKey };
|
426
|
+
}
|
427
|
+
/* ATM access management */
|
428
|
+
async updateCardAtm(cardId, enabled, prompt) {
|
429
|
+
const result = await this.stronglyAuthenticated((api) => api.cardServiceUpdateCardAtm(cardId, {
|
430
|
+
enabled,
|
431
|
+
}), prompt);
|
432
|
+
return result.card;
|
433
|
+
}
|
434
|
+
async updateCardPinStatus(cardId, pinStatus) {
|
435
|
+
const result = await this.stronglyAuthenticated((api) => api.cardServiceUpdateCardAtm(cardId, {
|
436
|
+
pinStatus,
|
437
|
+
}));
|
438
|
+
return result.card;
|
439
|
+
}
|
440
|
+
async updateCardPin(cardId, encryptedNumber, prompt) {
|
441
|
+
await this.stronglyAuthenticated((api) => api.stripeCardServiceUpdatePin(cardId, { encryptedNumber }), prompt);
|
442
|
+
}
|
443
|
+
/* Push Notifications */
|
444
|
+
async subscribeToPush(instanceId, token, type) {
|
445
|
+
await this.authenticated((api) => api.notificationServiceSubscribeToPush({
|
446
|
+
instanceId,
|
447
|
+
token,
|
448
|
+
type: NotificationProto_1.SubscribeToPushRequestType[type],
|
449
|
+
}));
|
450
|
+
}
|
451
|
+
async unsubscribeToPush(instanceId) {
|
452
|
+
await this.authenticated((api) => api.notificationServiceUnsubscribeToPush({ instanceId }));
|
453
|
+
}
|
454
|
+
async sendTestNotification(delayMs) {
|
455
|
+
await this.authenticated((api) => api.notificationServiceSendTestNotification(delayMs ? { delayMs: delayMs.toString() } : {}));
|
456
|
+
}
|
457
|
+
/* Referral Requests */
|
458
|
+
async migrate() {
|
459
|
+
const response = await this.authenticated((api) => api.referralServiceMigrate());
|
460
|
+
return response.migrated;
|
461
|
+
}
|
462
|
+
async getReferralCode() {
|
463
|
+
return this.authenticated((api) => api.referralServiceReferralCode());
|
464
|
+
}
|
465
|
+
async redeemReferralCode(code) {
|
466
|
+
return await this.authenticated((api) => api.referralServiceRedeem(code));
|
467
|
+
}
|
468
|
+
async getReferralCampaign() {
|
469
|
+
return this.authenticated((api) => api.referralServiceGetReferralCampaign());
|
470
|
+
}
|
471
|
+
async getStepSquadRewards() {
|
472
|
+
const response = await this.authenticated((api) => api.referralServiceGetStepSquadRewards());
|
473
|
+
return response.rewards;
|
474
|
+
}
|
475
|
+
async trackReferralInvite(trackReferralInviteRequest) {
|
476
|
+
await this.authenticated((api) => api.referralServiceTrackReferralInvite(trackReferralInviteRequest));
|
477
|
+
}
|
478
|
+
async verifyReferralInvite(verifyReferralInviteRequest) {
|
479
|
+
await this.authenticated((api) => api.referralServiceVerifyReferralInvite(verifyReferralInviteRequest));
|
480
|
+
}
|
481
|
+
async getReferralInvites(status, pagingLimit, pagingNextOffset, pagingPrevOffset) {
|
482
|
+
return await this.authenticated((api) => api.referralServiceGetReferralInvites(status, pagingLimit, pagingNextOffset, pagingPrevOffset));
|
483
|
+
}
|
484
|
+
/* Contacts Sync */
|
485
|
+
async getDataHash(addressBookId) {
|
486
|
+
const response = await this.authenticated((api) => api.contactsServiceDataHash(addressBookId));
|
487
|
+
return response.hash;
|
488
|
+
}
|
489
|
+
async getBucketsHashes(addressBookId, bucketCount) {
|
490
|
+
const response = await this.authenticated((api) => api.contactsServiceBucketsHashes(addressBookId, {
|
491
|
+
bucketCount,
|
492
|
+
}));
|
493
|
+
return new Map(Object.entries(response.hashes).map(([key, val]) => [
|
494
|
+
parseInt(key),
|
495
|
+
val,
|
496
|
+
]));
|
497
|
+
}
|
498
|
+
async getRecordsHashes(addressBookId, bucketIndex, bucketCount) {
|
499
|
+
const response = await this.authenticated((api) => api.contactsServiceRecordsHashes(addressBookId, {
|
500
|
+
bucketIndex,
|
501
|
+
bucketCount,
|
502
|
+
}));
|
503
|
+
return new Map(Object.entries(response.hashes));
|
504
|
+
}
|
505
|
+
async putContacts(addressBookId, contacts) {
|
506
|
+
const response = await this.authenticated((api) => api.contactsServicePutContacts(addressBookId, {
|
507
|
+
contacts,
|
508
|
+
}));
|
509
|
+
return response.contacts;
|
510
|
+
}
|
511
|
+
async getContacts(addressBookId, referenceIds) {
|
512
|
+
const response = await this.authenticated((api) => api.contactsServiceGetContacts(addressBookId, {
|
513
|
+
referenceIds,
|
514
|
+
}));
|
515
|
+
return response.contacts;
|
516
|
+
}
|
517
|
+
async deleteContacts(addressBookId, referenceIds) {
|
518
|
+
await this.authenticated((api) => api.contactsServiceDeleteContacts(addressBookId, {
|
519
|
+
referenceIds,
|
520
|
+
}));
|
521
|
+
}
|
522
|
+
/**
|
523
|
+
* Authenticates user for Intercom.
|
524
|
+
*
|
525
|
+
* @param env intercom environment to use
|
526
|
+
* @param keyType key type to use
|
527
|
+
*/
|
528
|
+
async intercomAuthenticate(env, keyType) {
|
529
|
+
const response = await this.authenticated((api) => api.intercomServiceAuthenticate({
|
530
|
+
env,
|
531
|
+
keyType,
|
532
|
+
}));
|
533
|
+
return response.userHash;
|
534
|
+
}
|
535
|
+
/**
|
536
|
+
* Returns the features enabled for the user, as well as all available features.
|
537
|
+
*
|
538
|
+
* @param includeUpcoming
|
539
|
+
* @param forceRefresh force a refresh of the features enabled for the user on the server
|
540
|
+
*/
|
541
|
+
async getFeatures(includeUpcoming = false, forceRefresh = false) {
|
542
|
+
const { features, availableFeatures, } = await this.restrictedAuthenticated((api) => api.featureServiceGetFeatures(includeUpcoming, forceRefresh));
|
543
|
+
return { features, availableFeatures };
|
544
|
+
}
|
545
|
+
/**
|
546
|
+
* Transfer money from/to accounts.
|
547
|
+
*
|
548
|
+
* @param from source account
|
549
|
+
* @param to destination account
|
550
|
+
* @param amount amount to transfer
|
551
|
+
* @param description optional description
|
552
|
+
*/
|
553
|
+
async transferSend(from, to, amount, description, prompt) {
|
554
|
+
return await this.stronglyAuthenticated((api) => api.transferServiceSendMoney({
|
555
|
+
amount,
|
556
|
+
description,
|
557
|
+
from,
|
558
|
+
to,
|
559
|
+
}), prompt);
|
560
|
+
}
|
561
|
+
/**
|
562
|
+
* Request money from someone.
|
563
|
+
*
|
564
|
+
* @param fromAlias points to the user the money is being requested from
|
565
|
+
* @param toAccountId specifies account id to deposit funds to
|
566
|
+
* @param amount amount to transfer
|
567
|
+
* @param description optional description
|
568
|
+
*/
|
569
|
+
async transferRequest(fromAlias, toAccountId, amount, description) {
|
570
|
+
return await this.authenticated((api) => api.transferServiceRequestMoney({
|
571
|
+
amount,
|
572
|
+
description,
|
573
|
+
fromAlias,
|
574
|
+
toAccountId,
|
575
|
+
}));
|
576
|
+
}
|
577
|
+
/**
|
578
|
+
* Set a recurring transfer.
|
579
|
+
*
|
580
|
+
* @param from source account
|
581
|
+
* @param to destination account
|
582
|
+
* @param amount amount to transfers
|
583
|
+
* @param schedule of the recurring transfer
|
584
|
+
* @param timeZone of the user for the schedule
|
585
|
+
* @param enabled whether the transfer is paused or not.
|
586
|
+
* @param description optional description
|
587
|
+
*/
|
588
|
+
async setRecurringTransfer(from, to, amount, schedule, timeZone, enabled, description) {
|
589
|
+
const response = await this.stronglyAuthenticated((api) => api.transferServiceSetRecurringTransfer({
|
590
|
+
amount,
|
591
|
+
description,
|
592
|
+
from,
|
593
|
+
to,
|
594
|
+
schedule,
|
595
|
+
timeZone,
|
596
|
+
enabled,
|
597
|
+
}));
|
598
|
+
return response.transfer;
|
599
|
+
}
|
600
|
+
/**
|
601
|
+
* Retrieves a recurring transfer if exists.
|
602
|
+
*
|
603
|
+
* @param to destination account
|
604
|
+
*/
|
605
|
+
async getRecurringTransfer(to) {
|
606
|
+
const response = await this.authenticated((api) => api.transferServiceGetRecurringTransfer({
|
607
|
+
to,
|
608
|
+
}));
|
609
|
+
return response.transfer;
|
610
|
+
}
|
611
|
+
/**
|
612
|
+
* Retrieves all recurring transfers.
|
613
|
+
*/
|
614
|
+
async getRecurringTransfers(activeOnly) {
|
615
|
+
const response = await this.authenticated((api) => api.transferServiceGetRecurringTransfers(activeOnly));
|
616
|
+
return response.transfers;
|
617
|
+
}
|
618
|
+
/**
|
619
|
+
* Computes next payment date for given recurring transfer schedule and source.
|
620
|
+
* @param from source account
|
621
|
+
* @param schedule
|
622
|
+
* @param timeZone
|
623
|
+
*/
|
624
|
+
async evaluateRecurringTransferSchedule(from, schedule, timeZone, lastTransferDate) {
|
625
|
+
const response = await this.authenticated((api) => api.transferServiceEvaluateSchedule({
|
626
|
+
from,
|
627
|
+
schedule,
|
628
|
+
timeZone,
|
629
|
+
lastTransferDate,
|
630
|
+
}));
|
631
|
+
return response.nextTransfers || [];
|
632
|
+
}
|
633
|
+
/**
|
634
|
+
* Computes next payment dates for given source for all possible schedules.
|
635
|
+
* @param from source account
|
636
|
+
* @param timeZone
|
637
|
+
*/
|
638
|
+
async evaluateRecurringTransferAllSchedules(from, timeZone, lastTransferDate) {
|
639
|
+
var _a, _b;
|
640
|
+
const response = await this.authenticated((api) => api.transferServiceEvaluateAllSchedules({
|
641
|
+
from,
|
642
|
+
timeZone,
|
643
|
+
lastTransferDate,
|
644
|
+
}));
|
645
|
+
return ((_b = (_a = response.nextTransfers) === null || _a === void 0 ? void 0 : _a.map((p) => {
|
646
|
+
return {
|
647
|
+
schedule: p.schedule,
|
648
|
+
date: p.nextTransfer,
|
649
|
+
};
|
650
|
+
})) !== null && _b !== void 0 ? _b : []);
|
651
|
+
}
|
652
|
+
async updateRecurringTransferDateStatus(transferDateId, shouldSkip) {
|
653
|
+
const response = await this.authenticated((api) => api.transferServiceUpdateRecurringTransferDateStatus(transferDateId, {
|
654
|
+
shouldSkip,
|
655
|
+
}));
|
656
|
+
return response.transferDate;
|
657
|
+
}
|
658
|
+
/**
|
659
|
+
* Returns a list of transfer requests enqueued for the user.
|
660
|
+
*/
|
661
|
+
async transferGetTransferRequests() {
|
662
|
+
const response = await this.authenticated((api) => api.transferServiceGetTransferRequests());
|
663
|
+
return response.requests;
|
664
|
+
}
|
665
|
+
/**
|
666
|
+
* Retrieves transfer request by ID.
|
667
|
+
*
|
668
|
+
* @param transferRequestId transfer request ID
|
669
|
+
*/
|
670
|
+
async transferGetTransferRequest(transferRequestId) {
|
671
|
+
const response = await this.authenticated((api) => api.transferServiceGetTransferRequest(transferRequestId));
|
672
|
+
return response.request;
|
673
|
+
}
|
674
|
+
/**
|
675
|
+
* Sets transfer request status to REJECTED.
|
676
|
+
*/
|
677
|
+
async transferDeleteTransferRequest(transferRequestId) {
|
678
|
+
await this.authenticated((api) => api.transferServiceDeleteTransferRequest(transferRequestId));
|
679
|
+
}
|
680
|
+
/**
|
681
|
+
* Updates transfer request status
|
682
|
+
* @param transferRequestId transfer request ID
|
683
|
+
* @param status desired status
|
684
|
+
*/
|
685
|
+
async transferUpdateTransferRequestStatus(transferRequestId, status) {
|
686
|
+
await this.authenticated((api) => api.transferServiceUpdateTransferRequestStatus(transferRequestId, {
|
687
|
+
status,
|
688
|
+
}));
|
689
|
+
}
|
690
|
+
/**
|
691
|
+
* Looks up merchant information for the given location id.
|
692
|
+
*
|
693
|
+
* @param locationId location id
|
694
|
+
*/
|
695
|
+
async merchantLookup(locationId) {
|
696
|
+
const response = await this.authenticated((api) => api.merchantServiceLookupMerchant(locationId));
|
697
|
+
return response.merchant;
|
698
|
+
}
|
699
|
+
/**
|
700
|
+
* Submits merchant location reports.
|
701
|
+
* Location information will be retrieved on the server side by
|
702
|
+
* payment id.
|
703
|
+
*
|
704
|
+
* @param reports list of [MerchantLocationReport] items
|
705
|
+
*/
|
706
|
+
async submitMerchantReports(reports) {
|
707
|
+
await this.authenticated((api) => api.merchantServiceSubmitReports({ reports }));
|
708
|
+
}
|
709
|
+
async getAccountStatements(accountId) {
|
710
|
+
const response = await this.authenticated((api) => api.accountServiceListStatements(accountId));
|
711
|
+
return response.statement;
|
712
|
+
}
|
713
|
+
async getAccountStatementSource(primaryAccountId, statementId) {
|
714
|
+
const accessToken = await this.auth.token(__1.AuthLevel.LOW);
|
715
|
+
const encodedAccountId = encodeURIComponent(primaryAccountId);
|
716
|
+
const encodedStatementId = encodeURIComponent(statementId);
|
717
|
+
return {
|
718
|
+
accessToken: accessToken.value,
|
719
|
+
uri: `${this.client.baseURL}/account/${encodedAccountId}/statement/${encodedStatementId}`,
|
720
|
+
};
|
721
|
+
}
|
722
|
+
async getDirectDepositForm(primaryAccountId) {
|
723
|
+
const accessToken = await this.auth.token(__1.AuthLevel.LOW);
|
724
|
+
const encodedAccountId = encodeURIComponent(primaryAccountId);
|
725
|
+
return {
|
726
|
+
accessToken: accessToken.value,
|
727
|
+
uri: `${this.client.baseURL}/account/${encodedAccountId}/direct-deposit`,
|
728
|
+
};
|
729
|
+
}
|
730
|
+
/**
|
731
|
+
* Checks if the user has an active Plaid Exchange OTP and, if so, returns
|
732
|
+
* the expiry.
|
733
|
+
*
|
734
|
+
* @return expiry of the OTP or undefined if none
|
735
|
+
*/
|
736
|
+
async hasPlaidOtp() {
|
737
|
+
const response = await this.authenticated((api) => api.plaidServiceHasOtpCode());
|
738
|
+
return response.expiresAtMs
|
739
|
+
? new Date(parseInt(response.expiresAtMs, 10))
|
740
|
+
: undefined;
|
741
|
+
}
|
742
|
+
/**
|
743
|
+
* Enables and returns the OTP code used to complete Plaid Exchange linking.
|
744
|
+
*
|
745
|
+
* @return Plaid OTP code and expiry
|
746
|
+
*/
|
747
|
+
async enablePlaidOtp() {
|
748
|
+
return await this.stronglyAuthenticated((api) => api.plaidServiceEnableOtpCode());
|
749
|
+
}
|
750
|
+
/**
|
751
|
+
* Opens a dispute for a transaction by a user
|
752
|
+
*
|
753
|
+
* @param openDisputeRequest the transaction and reason for the dispute
|
754
|
+
*/
|
755
|
+
async openDispute(openDisputeRequest) {
|
756
|
+
return await this.authenticated((api) => api.disputeServiceOpenDispute(openDisputeRequest));
|
757
|
+
}
|
758
|
+
async assignBarcode() {
|
759
|
+
return await this.authenticated((api) => api.cashDepositServiceAssignBarcode());
|
760
|
+
}
|
761
|
+
async getBarcode(barcode) {
|
762
|
+
return await this.authenticated((api) => api.cashDepositServiceGetBarcode(barcode));
|
763
|
+
}
|
764
|
+
async getActiveBarcode() {
|
765
|
+
return await this.authenticated((api) => api.cashDepositServiceGetActiveBarcode());
|
766
|
+
}
|
767
|
+
async getCashDepositLocations(latitude, longitude, address) {
|
768
|
+
const response = await this.authenticated((api) => api.cashDepositServiceGetLocations(latitude, longitude, address));
|
769
|
+
return response.locations;
|
770
|
+
}
|
771
|
+
/**
|
772
|
+
* Revokes Plaid's access to the user's account.
|
773
|
+
*/
|
774
|
+
async revokePlaidAccess() {
|
775
|
+
await this.authenticated((api) => api.plaidServiceRevokeAccess());
|
776
|
+
}
|
777
|
+
/**
|
778
|
+
* List of the ATMs nearest to the provided geolocation.
|
779
|
+
* @param latitude location latitude
|
780
|
+
* @param longitude location longitude
|
781
|
+
* @param noFeesOnly return only no-fee ATMs
|
782
|
+
*/
|
783
|
+
async locateAtms(latitude, longitude, noFeesOnly) {
|
784
|
+
const response = await this.authenticated((api) => api.atmServiceLocateAtms(latitude, longitude, noFeesOnly));
|
785
|
+
return response.locations;
|
786
|
+
}
|
787
|
+
/**
|
788
|
+
* Fetches account limits.
|
789
|
+
* @param primaryAccountId account primary id
|
790
|
+
*/
|
791
|
+
async getLimitState(primaryAccountId) {
|
792
|
+
var _a;
|
793
|
+
const response = await this.authenticated((api) => api.accountServiceGetLimitState(primaryAccountId));
|
794
|
+
return (_a = response.limits) !== null && _a !== void 0 ? _a : [];
|
795
|
+
}
|
796
|
+
/**
|
797
|
+
* Fetches account activity, either by primary account id or sub-account id.
|
798
|
+
*
|
799
|
+
* @param primaryAccountId account primary id
|
800
|
+
* @param subAccountId sub-account id
|
801
|
+
* @param pagingLimit page size
|
802
|
+
* @param pagingNextOffset next offset
|
803
|
+
* @param pagingPrevOffset prev offset
|
804
|
+
*/
|
805
|
+
getAccountActivity(primaryAccountId, subAccountId, pagingLimit, pagingNextOffset, pagingPrevOffset) {
|
806
|
+
return this.authenticated((api) => api.txActivityServiceGetAccountActivity(primaryAccountId, subAccountId, pagingLimit, pagingNextOffset, pagingPrevOffset));
|
807
|
+
}
|
808
|
+
getActivityByPaymentId(primaryAccountId, paymentId) {
|
809
|
+
return this.authenticated((api) => api.txActivityServiceGetActivityByPayment(primaryAccountId, paymentId));
|
810
|
+
}
|
811
|
+
async token(authLevel, prompt) {
|
812
|
+
return this.auth.token(authLevel, prompt);
|
813
|
+
}
|
814
|
+
async authenticated(action, authLevel = __1.AuthLevel.LOW, prompt) {
|
815
|
+
const authToken = await this.auth.token(authLevel, prompt);
|
816
|
+
return this.client.execute((api) => action(api, authToken.subject), {
|
817
|
+
authToken,
|
818
|
+
});
|
819
|
+
}
|
820
|
+
async stronglyAuthenticated(action, prompt) {
|
821
|
+
return this.authenticated(action, __1.AuthLevel.STRONG, prompt);
|
822
|
+
}
|
823
|
+
async restrictedAuthenticated(action) {
|
824
|
+
return this.authenticated(action, __1.AuthLevel.RESTRICTED);
|
825
|
+
}
|
826
|
+
}
|
827
|
+
exports.Api = Api;
|
828
|
+
//# sourceMappingURL=Api.js.map
|