@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.

Files changed (889) hide show
  1. package/dist/api/generated/AccountAdminProto/AccountAdminProto.CancelCardRequest.js +15 -0
  2. package/dist/api/generated/AccountAdminProto/AccountAdminProto.GetAccountResponse.js +15 -0
  3. package/dist/api/generated/AccountAdminProto/AccountAdminProto.GetExternalAccountResponse.js +15 -0
  4. package/dist/api/generated/AccountAdminProto/AccountAdminProto.GetExternalAccountsResponse.js +15 -0
  5. package/dist/api/generated/AccountAdminProto/AccountAdminProto.ManualBillPayRequest.js +15 -0
  6. package/dist/api/generated/AccountAdminProto/AccountAdminProto.RegenerateStatementRequest.js +15 -0
  7. package/dist/api/generated/AccountAdminProto/AccountAdminProto.ReplaceCardRequest.js +15 -0
  8. package/dist/api/generated/AccountAdminProto/AccountAdminProto.ReplaceCardResponse.js +15 -0
  9. package/dist/api/generated/AccountAdminProto/index.js +22 -0
  10. package/dist/api/generated/AccountInternalProto/AccountInternalProto.ExternalAccountInfo.js +15 -0
  11. package/dist/api/generated/AccountInternalProto/AccountInternalProto.ExternalAccountInfoStatus.js +28 -0
  12. package/dist/api/generated/AccountInternalProto/AccountInternalProto.ExternalAccountInternalContext.js +15 -0
  13. package/dist/api/generated/AccountInternalProto/AccountInternalProto.ExternalCardInternalContext.js +15 -0
  14. package/dist/api/generated/AccountInternalProto/AccountInternalProto.OwnerIdentity.js +15 -0
  15. package/dist/api/generated/AccountInternalProto/AccountInternalProto.OwnerIdentityOwnedAccount.js +15 -0
  16. package/dist/api/generated/AccountInternalProto/index.js +20 -0
  17. package/dist/api/generated/AccountProto/AccountProto.Account.js +15 -0
  18. package/dist/api/generated/AccountProto/AccountProto.AccountAccessLevel.js +27 -0
  19. package/dist/api/generated/AccountProto/AccountProto.AccountClosability.js +30 -0
  20. package/dist/api/generated/AccountProto/AccountProto.AccountPermission.js +15 -0
  21. package/dist/api/generated/AccountProto/AccountProto.AccountPermissionGroup.js +15 -0
  22. package/dist/api/generated/AccountProto/AccountProto.AccountSubAccount.js +15 -0
  23. package/dist/api/generated/AccountProto/AccountProto.AccountType.js +28 -0
  24. package/dist/api/generated/AccountProto/AccountProto.ActivateCardResponse.js +15 -0
  25. package/dist/api/generated/AccountProto/AccountProto.CanCloseSavingsGoalResponse.js +15 -0
  26. package/dist/api/generated/AccountProto/AccountProto.Card.js +15 -0
  27. package/dist/api/generated/AccountProto/AccountProto.CardTemplate.js +15 -0
  28. package/dist/api/generated/AccountProto/AccountProto.CloseSavingsGoalResponse.js +15 -0
  29. package/dist/api/generated/AccountProto/AccountProto.CreateSavingsGoalRequest.js +15 -0
  30. package/dist/api/generated/AccountProto/AccountProto.CreateSavingsGoalResponse.js +15 -0
  31. package/dist/api/generated/AccountProto/AccountProto.GetAccountsResponse.js +15 -0
  32. package/dist/api/generated/AccountProto/AccountProto.GetCardTemplateResponse.js +15 -0
  33. package/dist/api/generated/AccountProto/AccountProto.GetCardsResponse.js +15 -0
  34. package/dist/api/generated/AccountProto/AccountProto.GetDefaultAccountResponse.js +15 -0
  35. package/dist/api/generated/AccountProto/AccountProto.GetExternalAccountsResponse.js +15 -0
  36. package/dist/api/generated/AccountProto/AccountProto.GetLimitStateResponse.js +15 -0
  37. package/dist/api/generated/AccountProto/AccountProto.GetSuggestedSavingsGoalsResponse.js +15 -0
  38. package/dist/api/generated/AccountProto/AccountProto.Image.js +15 -0
  39. package/dist/api/generated/AccountProto/AccountProto.IssueCardRequest.js +15 -0
  40. package/dist/api/generated/AccountProto/AccountProto.IssueCardResponse.js +15 -0
  41. package/dist/api/generated/AccountProto/AccountProto.LimitState.js +15 -0
  42. package/dist/api/generated/AccountProto/AccountProto.ListStatementsResponse.js +15 -0
  43. package/dist/api/generated/AccountProto/AccountProto.ReplaceCardRequest.js +15 -0
  44. package/dist/api/generated/AccountProto/AccountProto.ReplaceCardResponse.js +15 -0
  45. package/dist/api/generated/AccountProto/AccountProto.Savings.js +15 -0
  46. package/dist/api/generated/AccountProto/AccountProto.SetCardTemplateRequest.js +15 -0
  47. package/dist/api/generated/AccountProto/AccountProto.Statement.js +15 -0
  48. package/dist/api/generated/AccountProto/AccountProto.SubAccountContext.js +15 -0
  49. package/dist/api/generated/AccountProto/AccountProto.SuggestedSavingsGoal.js +15 -0
  50. package/dist/api/generated/AccountProto/AccountProto.UpdateCardAtmRequest.js +15 -0
  51. package/dist/api/generated/AccountProto/AccountProto.UpdateCardAtmResponse.js +15 -0
  52. package/dist/api/generated/AccountProto/AccountProto.UpdateCardRequest.js +15 -0
  53. package/dist/api/generated/AccountProto/AccountProto.UpdateCardResponse.js +15 -0
  54. package/dist/api/generated/AccountProto/AccountProto.UpdateExternalAccountRequest.js +15 -0
  55. package/dist/api/generated/AccountProto/AccountProto.UpdateExternalAccountResponse.js +15 -0
  56. package/dist/api/generated/AccountProto/AccountProto.UpdateSavingsGoalRequest.js +15 -0
  57. package/dist/api/generated/AccountProto/AccountProto.UpdateSavingsGoalResponse.js +15 -0
  58. package/dist/api/generated/AccountProto/index.js +55 -0
  59. package/dist/api/generated/AchAdminProto/AchAdminProto.AchCaseOutcome.js +27 -0
  60. package/dist/api/generated/AchAdminProto/AchAdminProto.AchFile.js +15 -0
  61. package/dist/api/generated/AchAdminProto/AchAdminProto.AchInCase.js +15 -0
  62. package/dist/api/generated/AchAdminProto/AchAdminProto.GetInputFilesResponse.js +15 -0
  63. package/dist/api/generated/AchAdminProto/AchAdminProto.GetOutgoingReturnsResponse.js +15 -0
  64. package/dist/api/generated/AchAdminProto/AchAdminProto.GetOutputFilesResponse.js +15 -0
  65. package/dist/api/generated/AchAdminProto/AchAdminProto.NoOpRequest.js +15 -0
  66. package/dist/api/generated/AchAdminProto/AchAdminProto.ReturnTransactionRequest.js +15 -0
  67. package/dist/api/generated/AchAdminProto/index.js +22 -0
  68. package/dist/api/generated/AchProto/AchProto.AddAccountRequest.js +15 -0
  69. package/dist/api/generated/AchProto/AchProto.AddAccountResponse.js +15 -0
  70. package/dist/api/generated/AchProto/AchProto.FakeLinkingRequest.js +15 -0
  71. package/dist/api/generated/AchProto/AchProto.GetLinkingTokenResponse.js +15 -0
  72. package/dist/api/generated/AchProto/AchProto.GetRelinkingTokenResponse.js +15 -0
  73. package/dist/api/generated/AchProto/AchProto.LinkingRequest.js +15 -0
  74. package/dist/api/generated/AchProto/AchProto.LinkingToken.js +15 -0
  75. package/dist/api/generated/AchProto/AchProto.PlaidLinkingRequest.js +15 -0
  76. package/dist/api/generated/AchProto/AchProto.RefreshBalanceResponse.js +15 -0
  77. package/dist/api/generated/AchProto/AchProto.RelinkResponse.js +15 -0
  78. package/dist/api/generated/AchProto/index.js +24 -0
  79. package/dist/api/generated/AcquiringProto/AcquiringProto.AddCardRequest.js +15 -0
  80. package/dist/api/generated/AcquiringProto/AcquiringProto.AddCardResponse.js +15 -0
  81. package/dist/api/generated/AcquiringProto/AcquiringProto.GetProviderKeyResponse.js +15 -0
  82. package/dist/api/generated/AcquiringProto/index.js +17 -0
  83. package/dist/api/generated/AdminProto/AdminProto.Action.js +15 -0
  84. package/dist/api/generated/AdminProto/AdminProto.AdminUser.js +15 -0
  85. package/dist/api/generated/AdminProto/AdminProto.CloseUserAccountRequest.js +15 -0
  86. package/dist/api/generated/AdminProto/AdminProto.CreateDocumentRequestRequest.js +15 -0
  87. package/dist/api/generated/AdminProto/AdminProto.CreateDocumentRequestResponse.js +15 -0
  88. package/dist/api/generated/AdminProto/AdminProto.CreateUserDashboardRequest.js +15 -0
  89. package/dist/api/generated/AdminProto/AdminProto.CreateUserDashboardResponse.js +15 -0
  90. package/dist/api/generated/AdminProto/AdminProto.CustomerTransferRequest.js +15 -0
  91. package/dist/api/generated/AdminProto/AdminProto.CustomerTransferResponse.js +15 -0
  92. package/dist/api/generated/AdminProto/AdminProto.Document.js +15 -0
  93. package/dist/api/generated/AdminProto/AdminProto.DocumentLocation.js +15 -0
  94. package/dist/api/generated/AdminProto/AdminProto.DocumentRequest.js +15 -0
  95. package/dist/api/generated/AdminProto/AdminProto.DocumentRequestChannel.js +15 -0
  96. package/dist/api/generated/AdminProto/AdminProto.DocumentRequestChannelType.js +27 -0
  97. package/dist/api/generated/AdminProto/AdminProto.DocumentSubject.js +15 -0
  98. package/dist/api/generated/AdminProto/AdminProto.DocumentType.js +38 -0
  99. package/dist/api/generated/AdminProto/AdminProto.GetAllDocumentRequestsResponse.js +15 -0
  100. package/dist/api/generated/AdminProto/AdminProto.GetAllUserDashboardsResponse.js +15 -0
  101. package/dist/api/generated/AdminProto/AdminProto.GetBalanceRequest.js +15 -0
  102. package/dist/api/generated/AdminProto/AdminProto.GetBalanceResponse.js +15 -0
  103. package/dist/api/generated/AdminProto/AdminProto.GetDeviceUsersResponse.js +15 -0
  104. package/dist/api/generated/AdminProto/AdminProto.GetNotesResponse.js +15 -0
  105. package/dist/api/generated/AdminProto/AdminProto.GetPaymentInfoRequest.js +15 -0
  106. package/dist/api/generated/AdminProto/AdminProto.GetPaymentInfoResponse.js +15 -0
  107. package/dist/api/generated/AdminProto/AdminProto.GetPaymentsRequest.js +15 -0
  108. package/dist/api/generated/AdminProto/AdminProto.GetPaymentsRequestAccountPair.js +15 -0
  109. package/dist/api/generated/AdminProto/AdminProto.GetPaymentsResponse.js +15 -0
  110. package/dist/api/generated/AdminProto/AdminProto.GetTransactionsRequest.js +15 -0
  111. package/dist/api/generated/AdminProto/AdminProto.GetTransactionsResponse.js +15 -0
  112. package/dist/api/generated/AdminProto/AdminProto.GetUserDashboardResponse.js +15 -0
  113. package/dist/api/generated/AdminProto/AdminProto.GetUserPropertiesResponse.js +15 -0
  114. package/dist/api/generated/AdminProto/AdminProto.GetUserStatsResponse.js +15 -0
  115. package/dist/api/generated/AdminProto/AdminProto.Note.js +15 -0
  116. package/dist/api/generated/AdminProto/AdminProto.NoteEntityType.js +29 -0
  117. package/dist/api/generated/AdminProto/AdminProto.PollTransactionFeedResponse.js +15 -0
  118. package/dist/api/generated/AdminProto/AdminProto.ReconcileTransactionsRequest.js +15 -0
  119. package/dist/api/generated/AdminProto/AdminProto.RecordNoteRequest.js +15 -0
  120. package/dist/api/generated/AdminProto/AdminProto.RecordReceivablesPurchaseRequest.js +15 -0
  121. package/dist/api/generated/AdminProto/AdminProto.RecordUploadedDocumentRequest.js +15 -0
  122. package/dist/api/generated/AdminProto/AdminProto.ResendDocumentRequestsRequest.js +15 -0
  123. package/dist/api/generated/AdminProto/AdminProto.SearchRequest.js +15 -0
  124. package/dist/api/generated/AdminProto/AdminProto.SearchResponse.js +15 -0
  125. package/dist/api/generated/AdminProto/AdminProto.SearchResponseMatch.js +15 -0
  126. package/dist/api/generated/AdminProto/AdminProto.SetUserPropertyRequest.js +15 -0
  127. package/dist/api/generated/AdminProto/AdminProto.SettleLedgersRequest.js +15 -0
  128. package/dist/api/generated/AdminProto/AdminProto.SettleLedgersRequestLedgerSettlementAccounts.js +15 -0
  129. package/dist/api/generated/AdminProto/AdminProto.TagTransactionsRequest.js +15 -0
  130. package/dist/api/generated/AdminProto/AdminProto.TransferRequest.js +15 -0
  131. package/dist/api/generated/AdminProto/AdminProto.TransferResponse.js +15 -0
  132. package/dist/api/generated/AdminProto/AdminProto.UpdateUserDashboardRequest.js +15 -0
  133. package/dist/api/generated/AdminProto/AdminProto.UpdateUserDashboardResponse.js +15 -0
  134. package/dist/api/generated/AdminProto/AdminProto.UploadedDocument.js +15 -0
  135. package/dist/api/generated/AdminProto/AdminProto.UserDashboard.js +15 -0
  136. package/dist/api/generated/AdminProto/AdminProto.UserDashboardModule.js +15 -0
  137. package/dist/api/generated/AdminProto/AdminProto.UserDashboardModuleList.js +15 -0
  138. package/dist/api/generated/AdminProto/AdminProto.UserProperties.js +15 -0
  139. package/dist/api/generated/AdminProto/index.js +70 -0
  140. package/dist/api/generated/AdminbatchProto/AdminbatchProto.Action.js +15 -0
  141. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAddLimitOverride.js +15 -0
  142. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAddToGroup.js +15 -0
  143. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAssertStaleIntercomConversation.js +15 -0
  144. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAssignIntercomConversation.js +15 -0
  145. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionAssignReferralCampaign.js +15 -0
  146. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionClearFeatureFlag.js +15 -0
  147. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionCloseIntercomConversation.js +15 -0
  148. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionCloseUserAccount.js +15 -0
  149. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionCreditUser.js +15 -0
  150. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionDebitUser.js +15 -0
  151. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionDeleteUser.js +15 -0
  152. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionLog.js +15 -0
  153. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionRemoveFromGroup.js +15 -0
  154. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionRemoveLimitLevel.js +15 -0
  155. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionRemoveLimitOverride.js +15 -0
  156. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionRemoveReferralCampaign.js +15 -0
  157. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionReplaceCard.js +15 -0
  158. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionReplyToIntercomConversation.js +15 -0
  159. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSendIntercomMessage.js +15 -0
  160. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSendStepFundedP2P.js +15 -0
  161. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetDeviceBlockedFlag.js +15 -0
  162. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetFeatureFlag.js +15 -0
  163. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetKycStatus.js +15 -0
  164. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetLimitLevel.js +15 -0
  165. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionSetReferralCodeStatus.js +15 -0
  166. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionTagIntercomConversation.js +15 -0
  167. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionTriggerBrazeCanvas.js +15 -0
  168. package/dist/api/generated/AdminbatchProto/AdminbatchProto.ActionTriggerBrazeMessage.js +15 -0
  169. package/dist/api/generated/AdminbatchProto/AdminbatchProto.Batch.js +15 -0
  170. package/dist/api/generated/AdminbatchProto/AdminbatchProto.CreateBatchRequest.js +15 -0
  171. package/dist/api/generated/AdminbatchProto/AdminbatchProto.CreateBatchResponse.js +15 -0
  172. package/dist/api/generated/AdminbatchProto/AdminbatchProto.Execution.js +15 -0
  173. package/dist/api/generated/AdminbatchProto/AdminbatchProto.GetBatchesResponse.js +15 -0
  174. package/dist/api/generated/AdminbatchProto/AdminbatchProto.GetExecutionResponse.js +15 -0
  175. package/dist/api/generated/AdminbatchProto/AdminbatchProto.GetExecutionTasksResponse.js +15 -0
  176. package/dist/api/generated/AdminbatchProto/AdminbatchProto.GetExecutionsResponse.js +15 -0
  177. package/dist/api/generated/AdminbatchProto/AdminbatchProto.PreviewBatchQueryRequest.js +15 -0
  178. package/dist/api/generated/AdminbatchProto/AdminbatchProto.PreviewBatchQueryResponse.js +15 -0
  179. package/dist/api/generated/AdminbatchProto/AdminbatchProto.Task.js +15 -0
  180. package/dist/api/generated/AdminbatchProto/AdminbatchProto.TaskResult.js +27 -0
  181. package/dist/api/generated/AdminbatchProto/AdminbatchProto.UpdateBatchRequest.js +15 -0
  182. package/dist/api/generated/AdminbatchProto/AdminbatchProto.UpdateBatchResponse.js +15 -0
  183. package/dist/api/generated/AdminbatchProto/index.js +57 -0
  184. package/dist/api/generated/AuditlogProto/AuditlogProto.AuditLog.js +15 -0
  185. package/dist/api/generated/AuditlogProto/AuditlogProto.GetAuditLogsRequest.js +15 -0
  186. package/dist/api/generated/AuditlogProto/AuditlogProto.GetAuditLogsResponse.js +15 -0
  187. package/dist/api/generated/AuditlogProto/AuditlogProto.LogEntryType.js +15 -0
  188. package/dist/api/generated/AuditlogProto/index.js +18 -0
  189. package/dist/api/generated/AuthAdminProto/AuthAdminProto.BlockUserRequest.js +15 -0
  190. package/dist/api/generated/AuthAdminProto/AuthAdminProto.CloseUserRequest.js +15 -0
  191. package/dist/api/generated/AuthAdminProto/AuthAdminProto.GenerateKeyResponse.js +15 -0
  192. package/dist/api/generated/AuthAdminProto/AuthAdminProto.GetSessionsRequest.js +15 -0
  193. package/dist/api/generated/AuthAdminProto/AuthAdminProto.GetSessionsResponse.js +15 -0
  194. package/dist/api/generated/AuthAdminProto/AuthAdminProto.GetUserDevicesResponse.js +15 -0
  195. package/dist/api/generated/AuthAdminProto/AuthAdminProto.GetUserProfileResponse.js +15 -0
  196. package/dist/api/generated/AuthAdminProto/AuthAdminProto.ImpersonateRequest.js +15 -0
  197. package/dist/api/generated/AuthAdminProto/AuthAdminProto.ImpersonateResponse.js +15 -0
  198. package/dist/api/generated/AuthAdminProto/index.js +23 -0
  199. package/dist/api/generated/AuthProto/AuthProto.AccountClosure.js +15 -0
  200. package/dist/api/generated/AuthProto/AuthProto.AccountClosureReason.js +46 -0
  201. package/dist/api/generated/AuthProto/AuthProto.AccountClosureType.js +28 -0
  202. package/dist/api/generated/AuthProto/AuthProto.AddEmail.js +15 -0
  203. package/dist/api/generated/AuthProto/AuthProto.AddKey.js +15 -0
  204. package/dist/api/generated/AuthProto/AuthProto.AddPhone.js +15 -0
  205. package/dist/api/generated/AuthProto/AuthProto.AliasExistsRequest.js +15 -0
  206. package/dist/api/generated/AuthProto/AuthProto.AliasExistsResponse.js +15 -0
  207. package/dist/api/generated/AuthProto/AuthProto.AppleIdCredential.js +15 -0
  208. package/dist/api/generated/AuthProto/AuthProto.AuthEvent.js +28 -0
  209. package/dist/api/generated/AuthProto/AuthProto.Credential.js +15 -0
  210. package/dist/api/generated/AuthProto/AuthProto.Device.js +15 -0
  211. package/dist/api/generated/AuthProto/AuthProto.DeviceCheck.js +15 -0
  212. package/dist/api/generated/AuthProto/AuthProto.DeviceCheckDecision.js +27 -0
  213. package/dist/api/generated/AuthProto/AuthProto.DeviceCheckProvider.js +28 -0
  214. package/dist/api/generated/AuthProto/AuthProto.GetKeysResponse.js +15 -0
  215. package/dist/api/generated/AuthProto/AuthProto.GetProfileResponse.js +15 -0
  216. package/dist/api/generated/AuthProto/AuthProto.GetSessionResponse.js +15 -0
  217. package/dist/api/generated/AuthProto/AuthProto.GoogleLoginResponse.js +15 -0
  218. package/dist/api/generated/AuthProto/AuthProto.GoogleUser.js +15 -0
  219. package/dist/api/generated/AuthProto/AuthProto.Key.js +15 -0
  220. package/dist/api/generated/AuthProto/AuthProto.LoginFactorType.js +32 -0
  221. package/dist/api/generated/AuthProto/AuthProto.LoginRequest.js +15 -0
  222. package/dist/api/generated/AuthProto/AuthProto.LoginResponse.js +15 -0
  223. package/dist/api/generated/AuthProto/AuthProto.LoginWithIapTokenRequest.js +15 -0
  224. package/dist/api/generated/AuthProto/AuthProto.LoginWithTokenIdRequest.js +15 -0
  225. package/dist/api/generated/AuthProto/AuthProto.Profile.js +15 -0
  226. package/dist/api/generated/AuthProto/AuthProto.ProfileOperation.js +15 -0
  227. package/dist/api/generated/AuthProto/AuthProto.RefreshRequest.js +15 -0
  228. package/dist/api/generated/AuthProto/AuthProto.RefreshResponse.js +15 -0
  229. package/dist/api/generated/AuthProto/AuthProto.RemoveAppleId.js +15 -0
  230. package/dist/api/generated/AuthProto/AuthProto.RemoveDeviceKeys.js +15 -0
  231. package/dist/api/generated/AuthProto/AuthProto.RemoveEmail.js +15 -0
  232. package/dist/api/generated/AuthProto/AuthProto.RemoveGoogleId.js +15 -0
  233. package/dist/api/generated/AuthProto/AuthProto.RemoveKey.js +15 -0
  234. package/dist/api/generated/AuthProto/AuthProto.RemovePhone.js +15 -0
  235. package/dist/api/generated/AuthProto/AuthProto.SetAppleId.js +15 -0
  236. package/dist/api/generated/AuthProto/AuthProto.SetEmail.js +15 -0
  237. package/dist/api/generated/AuthProto/AuthProto.SetGoogleId.js +15 -0
  238. package/dist/api/generated/AuthProto/AuthProto.SetPassword.js +15 -0
  239. package/dist/api/generated/AuthProto/AuthProto.SetUsername.js +15 -0
  240. package/dist/api/generated/AuthProto/AuthProto.TestRequest.js +15 -0
  241. package/dist/api/generated/AuthProto/AuthProto.TestResponse.js +15 -0
  242. package/dist/api/generated/AuthProto/AuthProto.TokenCredential.js +15 -0
  243. package/dist/api/generated/AuthProto/AuthProto.UpdateRequest.js +15 -0
  244. package/dist/api/generated/AuthProto/index.js +59 -0
  245. package/dist/api/generated/CommonProto/CommonProto.AccountLimits.js +15 -0
  246. package/dist/api/generated/CommonProto/CommonProto.AccountingSummary.js +15 -0
  247. package/dist/api/generated/CommonProto/CommonProto.AchAccount.js +15 -0
  248. package/dist/api/generated/CommonProto/CommonProto.AchAccountBalance.js +15 -0
  249. package/dist/api/generated/CommonProto/CommonProto.AchAccountType.js +27 -0
  250. package/dist/api/generated/CommonProto/CommonProto.AchBatchSummary.js +15 -0
  251. package/dist/api/generated/CommonProto/CommonProto.AchInInternalPaymentContext.js +15 -0
  252. package/dist/api/generated/CommonProto/CommonProto.AchInInternalPaymentContextRiskScore.js +15 -0
  253. package/dist/api/generated/CommonProto/CommonProto.AchInPaymentContext.js +15 -0
  254. package/dist/api/generated/CommonProto/CommonProto.AchInPaymentType.js +26 -0
  255. package/dist/api/generated/CommonProto/CommonProto.AchOutInternalPaymentContext.js +15 -0
  256. package/dist/api/generated/CommonProto/CommonProto.AchOutInternalPaymentContextLinkedAccount.js +15 -0
  257. package/dist/api/generated/CommonProto/CommonProto.AchOutInternalPaymentContextRiskScore.js +15 -0
  258. package/dist/api/generated/CommonProto/CommonProto.AchOutPaymentContext.js +15 -0
  259. package/dist/api/generated/CommonProto/CommonProto.AchOutPaymentContextReturnReason.js +27 -0
  260. package/dist/api/generated/CommonProto/CommonProto.AchOutPaymentContextReversal.js +15 -0
  261. package/dist/api/generated/CommonProto/CommonProto.AchTotals.js +15 -0
  262. package/dist/api/generated/CommonProto/CommonProto.Address.js +15 -0
  263. package/dist/api/generated/CommonProto/CommonProto.Alias.js +15 -0
  264. package/dist/api/generated/CommonProto/CommonProto.Amount.js +15 -0
  265. package/dist/api/generated/CommonProto/CommonProto.AppleId.js +15 -0
  266. package/dist/api/generated/CommonProto/CommonProto.AtmDescriptor.js +15 -0
  267. package/dist/api/generated/CommonProto/CommonProto.AtmWithdrawalContext.js +15 -0
  268. package/dist/api/generated/CommonProto/CommonProto.AuthToken.js +15 -0
  269. package/dist/api/generated/CommonProto/CommonProto.BankDescriptor.js +15 -0
  270. package/dist/api/generated/CommonProto/CommonProto.BankProvider.js +27 -0
  271. package/dist/api/generated/CommonProto/CommonProto.CardEntryType.js +31 -0
  272. package/dist/api/generated/CommonProto/CommonProto.CardFundingContext.js +15 -0
  273. package/dist/api/generated/CommonProto/CommonProto.CardFundingInternalContext.js +15 -0
  274. package/dist/api/generated/CommonProto/CommonProto.CardFundingInternalContextStripeChargeMetadata.js +15 -0
  275. package/dist/api/generated/CommonProto/CommonProto.CardFundingInternalContextStripeOutcome.js +15 -0
  276. package/dist/api/generated/CommonProto/CommonProto.CardInternalPaymentContext.js +15 -0
  277. package/dist/api/generated/CommonProto/CommonProto.CardPaymentContext.js +15 -0
  278. package/dist/api/generated/CommonProto/CommonProto.CardReplacementReason.js +29 -0
  279. package/dist/api/generated/CommonProto/CommonProto.CardShipping.js +15 -0
  280. package/dist/api/generated/CommonProto/CommonProto.CardShippingShipmentService.js +28 -0
  281. package/dist/api/generated/CommonProto/CommonProto.CardShippingStatus.js +31 -0
  282. package/dist/api/generated/CommonProto/CommonProto.CardStatus.js +32 -0
  283. package/dist/api/generated/CommonProto/CommonProto.CardToken.js +15 -0
  284. package/dist/api/generated/CommonProto/CommonProto.CardType.js +28 -0
  285. package/dist/api/generated/CommonProto/CommonProto.CashDepositDescriptor.js +15 -0
  286. package/dist/api/generated/CommonProto/CommonProto.CashDepositInternalPaymentContext.js +15 -0
  287. package/dist/api/generated/CommonProto/CommonProto.CashDepositMerchant.js +15 -0
  288. package/dist/api/generated/CommonProto/CommonProto.CashDepositPaymentContext.js +15 -0
  289. package/dist/api/generated/CommonProto/CommonProto.CashDepositSettlementContext.js +15 -0
  290. package/dist/api/generated/CommonProto/CommonProto.ClientMetadata.js +15 -0
  291. package/dist/api/generated/CommonProto/CommonProto.ControlCategory.js +40 -0
  292. package/dist/api/generated/CommonProto/CommonProto.Date.js +15 -0
  293. package/dist/api/generated/CommonProto/CommonProto.DeviceProvider.js +26 -0
  294. package/dist/api/generated/CommonProto/CommonProto.DeviceToken.js +15 -0
  295. package/dist/api/generated/CommonProto/CommonProto.DisputeCloseReason.js +34 -0
  296. package/dist/api/generated/CommonProto/CommonProto.DisputeContext.js +15 -0
  297. package/dist/api/generated/CommonProto/CommonProto.DisputeReason.js +31 -0
  298. package/dist/api/generated/CommonProto/CommonProto.ExpirationDate.js +15 -0
  299. package/dist/api/generated/CommonProto/CommonProto.ExternalAccount.js +15 -0
  300. package/dist/api/generated/CommonProto/CommonProto.ExternalAccountErrorCode.js +40 -0
  301. package/dist/api/generated/CommonProto/CommonProto.ExternalBank.js +15 -0
  302. package/dist/api/generated/CommonProto/CommonProto.ExternalBankStatus.js +29 -0
  303. package/dist/api/generated/CommonProto/CommonProto.ExternalCard.js +15 -0
  304. package/dist/api/generated/CommonProto/CommonProto.ExternalCardEntryMethod.js +27 -0
  305. package/dist/api/generated/CommonProto/CommonProto.ExternalCardProvider.js +27 -0
  306. package/dist/api/generated/CommonProto/CommonProto.ExternalCardType.js +28 -0
  307. package/dist/api/generated/CommonProto/CommonProto.FamilyGroup.js +27 -0
  308. package/dist/api/generated/CommonProto/CommonProto.FundingInternalPaymentContext.js +15 -0
  309. package/dist/api/generated/CommonProto/CommonProto.FundingPaymentContext.js +15 -0
  310. package/dist/api/generated/CommonProto/CommonProto.GeoLocation.js +15 -0
  311. package/dist/api/generated/CommonProto/CommonProto.GoogleId.js +15 -0
  312. package/dist/api/generated/CommonProto/CommonProto.Image.js +15 -0
  313. package/dist/api/generated/CommonProto/CommonProto.InternalPaymentContext.js +15 -0
  314. package/dist/api/generated/CommonProto/CommonProto.KycError.js +29 -0
  315. package/dist/api/generated/CommonProto/CommonProto.KycStatus.js +31 -0
  316. package/dist/api/generated/CommonProto/CommonProto.LegalName.js +15 -0
  317. package/dist/api/generated/CommonProto/CommonProto.LocalDate.js +15 -0
  318. package/dist/api/generated/CommonProto/CommonProto.MaskedAlias.js +15 -0
  319. package/dist/api/generated/CommonProto/CommonProto.MaskedAliasType.js +29 -0
  320. package/dist/api/generated/CommonProto/CommonProto.MaskedEmail.js +15 -0
  321. package/dist/api/generated/CommonProto/CommonProto.MatchedProfile.js +15 -0
  322. package/dist/api/generated/CommonProto/CommonProto.MatchedProfileMatchedAlias.js +15 -0
  323. package/dist/api/generated/CommonProto/CommonProto.MatchedReferralCode.js +15 -0
  324. package/dist/api/generated/CommonProto/CommonProto.MatchedUser.js +15 -0
  325. package/dist/api/generated/CommonProto/CommonProto.Merchant.js +15 -0
  326. package/dist/api/generated/CommonProto/CommonProto.MerchantAddress.js +15 -0
  327. package/dist/api/generated/CommonProto/CommonProto.MerchantContactInfo.js +15 -0
  328. package/dist/api/generated/CommonProto/CommonProto.MerchantDescriptor.js +15 -0
  329. package/dist/api/generated/CommonProto/CommonProto.MerchantPreview.js +15 -0
  330. package/dist/api/generated/CommonProto/CommonProto.MerchantReportedLocation.js +15 -0
  331. package/dist/api/generated/CommonProto/CommonProto.Override.js +32 -0
  332. package/dist/api/generated/CommonProto/CommonProto.P2PPaymentContext.js +15 -0
  333. package/dist/api/generated/CommonProto/CommonProto.P2PPaymentContextParty.js +15 -0
  334. package/dist/api/generated/CommonProto/CommonProto.Payment.js +15 -0
  335. package/dist/api/generated/CommonProto/CommonProto.PaymentContext.js +15 -0
  336. package/dist/api/generated/CommonProto/CommonProto.ProtoBool.js +15 -0
  337. package/dist/api/generated/CommonProto/CommonProto.ProtoString.js +15 -0
  338. package/dist/api/generated/CommonProto/CommonProto.RedeemerReward.js +15 -0
  339. package/dist/api/generated/CommonProto/CommonProto.RedemptionType.js +27 -0
  340. package/dist/api/generated/CommonProto/CommonProto.ReferralErrorCode.js +35 -0
  341. package/dist/api/generated/CommonProto/CommonProto.ReferralInvite.js +15 -0
  342. package/dist/api/generated/CommonProto/CommonProto.ReferralInviteStatus.js +31 -0
  343. package/dist/api/generated/CommonProto/CommonProto.ReferralRedemptionPaymentContext.js +15 -0
  344. package/dist/api/generated/CommonProto/CommonProto.RewardedReferral.js +15 -0
  345. package/dist/api/generated/CommonProto/CommonProto.SavingsGoal.js +15 -0
  346. package/dist/api/generated/CommonProto/CommonProto.SettlementPaymentContext.js +15 -0
  347. package/dist/api/generated/CommonProto/CommonProto.StepColor.js +28 -0
  348. package/dist/api/generated/CommonProto/CommonProto.StepUserGroup.js +43 -0
  349. package/dist/api/generated/CommonProto/CommonProto.StripeToken.js +15 -0
  350. package/dist/api/generated/CommonProto/CommonProto.TestCardToken.js +15 -0
  351. package/dist/api/generated/CommonProto/CommonProto.Transaction.js +15 -0
  352. package/dist/api/generated/CommonProto/CommonProto.TransactionCategory.js +15 -0
  353. package/dist/api/generated/CommonProto/CommonProto.TransactionCategoryIcon.js +15 -0
  354. package/dist/api/generated/CommonProto/CommonProto.TransactionInfo.js +15 -0
  355. package/dist/api/generated/CommonProto/CommonProto.TransactionLimit.js +15 -0
  356. package/dist/api/generated/CommonProto/CommonProto.TransactionLimitError.js +15 -0
  357. package/dist/api/generated/CommonProto/CommonProto.TransactionLimitFilter.js +28 -0
  358. package/dist/api/generated/CommonProto/CommonProto.TransactionLimitTransactionQuery.js +15 -0
  359. package/dist/api/generated/CommonProto/CommonProto.TransactionType.js +57 -0
  360. package/dist/api/generated/CommonProto/CommonProto.TransactionWithBalance.js +15 -0
  361. package/dist/api/generated/CommonProto/CommonProto.TransferPaymentContext.js +15 -0
  362. package/dist/api/generated/CommonProto/CommonProto.TransferType.js +29 -0
  363. package/dist/api/generated/CommonProto/CommonProto.UserGeolocation.js +15 -0
  364. package/dist/api/generated/CommonProto/CommonProto.WalletProvider.js +29 -0
  365. package/dist/api/generated/CommonProto/index.js +134 -0
  366. package/dist/api/generated/CommonTransactionProto/CommonTransactionProto.TransactionErrorCode.js +55 -0
  367. package/dist/api/generated/CommonTransactionProto/CommonTransactionProto.TransactionStatus.js +28 -0
  368. package/dist/api/generated/CommonTransactionProto/index.js +16 -0
  369. package/dist/api/generated/ContactsProto/ContactsProto.BucketsHashesRequest.js +15 -0
  370. package/dist/api/generated/ContactsProto/ContactsProto.BucketsHashesResponse.js +15 -0
  371. package/dist/api/generated/ContactsProto/ContactsProto.Contact.js +15 -0
  372. package/dist/api/generated/ContactsProto/ContactsProto.DataHashResponse.js +15 -0
  373. package/dist/api/generated/ContactsProto/ContactsProto.DeleteContactsRequest.js +15 -0
  374. package/dist/api/generated/ContactsProto/ContactsProto.GetContactsRequest.js +15 -0
  375. package/dist/api/generated/ContactsProto/ContactsProto.GetContactsResponse.js +15 -0
  376. package/dist/api/generated/ContactsProto/ContactsProto.PutContactsRequest.js +15 -0
  377. package/dist/api/generated/ContactsProto/ContactsProto.PutContactsResponse.js +15 -0
  378. package/dist/api/generated/ContactsProto/ContactsProto.RecordsHashesRequest.js +15 -0
  379. package/dist/api/generated/ContactsProto/ContactsProto.RecordsHashesResponse.js +15 -0
  380. package/dist/api/generated/ContactsProto/index.js +25 -0
  381. package/dist/api/generated/DefaultApi.js +20607 -0
  382. package/dist/api/generated/FeatureProto/FeatureProto.AddFeatureRequest.js +15 -0
  383. package/dist/api/generated/FeatureProto/FeatureProto.AddGroupFeatureRequest.js +15 -0
  384. package/dist/api/generated/FeatureProto/FeatureProto.CreateUserGroupRequest.js +15 -0
  385. package/dist/api/generated/FeatureProto/FeatureProto.CreateUserGroupResponse.js +15 -0
  386. package/dist/api/generated/FeatureProto/FeatureProto.Feature.js +125 -0
  387. package/dist/api/generated/FeatureProto/FeatureProto.FeatureCascade.js +29 -0
  388. package/dist/api/generated/FeatureProto/FeatureProto.FeatureFlag.js +15 -0
  389. package/dist/api/generated/FeatureProto/FeatureProto.FeatureFlagReason.js +30 -0
  390. package/dist/api/generated/FeatureProto/FeatureProto.FeatureInfo.js +15 -0
  391. package/dist/api/generated/FeatureProto/FeatureProto.GetAllFeaturesResponse.js +15 -0
  392. package/dist/api/generated/FeatureProto/FeatureProto.GetFeaturesResponse.js +15 -0
  393. package/dist/api/generated/FeatureProto/FeatureProto.GetGroupsForUserResponse.js +15 -0
  394. package/dist/api/generated/FeatureProto/FeatureProto.ListUserGroupFeaturesResponse.js +15 -0
  395. package/dist/api/generated/FeatureProto/FeatureProto.UserGroup.js +15 -0
  396. package/dist/api/generated/FeatureProto/FeatureProto.UserGroupFeatures.js +15 -0
  397. package/dist/api/generated/FeatureProto/index.js +29 -0
  398. package/dist/api/generated/GoogleProtobuf/GoogleProtobuf.Timestamp.js +15 -0
  399. package/dist/api/generated/GoogleProtobuf/index.js +15 -0
  400. package/dist/api/generated/IdentityProto/IdentityProto.DocumentType.js +29 -0
  401. package/dist/api/generated/IdentityProto/IdentityProto.GetPersonaFlowRequest.js +15 -0
  402. package/dist/api/generated/IdentityProto/IdentityProto.GetPersonaFlowResponse.js +15 -0
  403. package/dist/api/generated/IdentityProto/IdentityProto.GetPersonaInquiryUrlResponse.js +15 -0
  404. package/dist/api/generated/IdentityProto/IdentityProto.GovernmentIdDocument.js +15 -0
  405. package/dist/api/generated/IdentityProto/IdentityProto.IdType.js +33 -0
  406. package/dist/api/generated/IdentityProto/IdentityProto.ScanDocuments.js +15 -0
  407. package/dist/api/generated/IdentityProto/IdentityProto.UploadPersonaDocumentRequest.js +15 -0
  408. package/dist/api/generated/IdentityProto/index.js +22 -0
  409. package/dist/api/generated/IntercomProto/IntercomProto.AuthenticateRequest.js +15 -0
  410. package/dist/api/generated/IntercomProto/IntercomProto.AuthenticateResponse.js +15 -0
  411. package/dist/api/generated/IntercomProto/IntercomProto.IntercomKeyType.js +27 -0
  412. package/dist/api/generated/IntercomProto/index.js +17 -0
  413. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.ApplyCreditRequest.js +15 -0
  414. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.CloseDisputeRequest.js +15 -0
  415. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.Dispute.js +15 -0
  416. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.DisputeStatus.js +31 -0
  417. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.GetDisputeResponse.js +15 -0
  418. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.GetDisputesRequest.js +15 -0
  419. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.GetDisputesRequestOrderBy.js +26 -0
  420. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.GetDisputesResponse.js +15 -0
  421. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.NoOpRequest.js +15 -0
  422. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.OpenDisputeRequest.js +15 -0
  423. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.OpenDisputeResponse.js +15 -0
  424. package/dist/api/generated/IssuingInternalProto/IssuingInternalProto.UpdateDisputeRequest.js +15 -0
  425. package/dist/api/generated/IssuingInternalProto/index.js +26 -0
  426. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.AccountStats.js +15 -0
  427. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterCondition.js +15 -0
  428. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterConditionAccountIds.js +15 -0
  429. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterConditionTags.js +15 -0
  430. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterConditionTransactionStatuses.js +15 -0
  431. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.FilterConditionTransactionTypes.js +15 -0
  432. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.PaymentInfo.js +15 -0
  433. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.TransactionFilter.js +15 -0
  434. package/dist/api/generated/LedgerInternalProto/LedgerInternalProto.TransactionFilterFilterConditions.js +15 -0
  435. package/dist/api/generated/LedgerInternalProto/index.js +23 -0
  436. package/dist/api/generated/LedgerProto/LedgerProto.GetAccountBalanceResponse.js +15 -0
  437. package/dist/api/generated/LedgerProto/LedgerProto.GetPaymentResponse.js +15 -0
  438. package/dist/api/generated/LedgerProto/LedgerProto.GetTransactionsResponse.js +15 -0
  439. package/dist/api/generated/LedgerProto/index.js +17 -0
  440. package/dist/api/generated/LimitProto/LimitProto.AddOverrideRequest.js +15 -0
  441. package/dist/api/generated/LimitProto/LimitProto.ConfiguredOverride.js +15 -0
  442. package/dist/api/generated/LimitProto/LimitProto.CustomOverrideInfo.js +15 -0
  443. package/dist/api/generated/LimitProto/LimitProto.GetAllConfiguredOverridesResponse.js +15 -0
  444. package/dist/api/generated/LimitProto/LimitProto.GetLimitsResponse.js +15 -0
  445. package/dist/api/generated/LimitProto/LimitProto.GetOverridesResponse.js +15 -0
  446. package/dist/api/generated/LimitProto/LimitProto.Level.js +29 -0
  447. package/dist/api/generated/LimitProto/LimitProto.LevelLimits.js +15 -0
  448. package/dist/api/generated/LimitProto/LimitProto.LinkedAccount.js +15 -0
  449. package/dist/api/generated/LimitProto/LimitProto.NoOpRequest.js +15 -0
  450. package/dist/api/generated/LimitProto/LimitProto.OverrideCause.js +15 -0
  451. package/dist/api/generated/LimitProto/LimitProto.OverrideInfo.js +15 -0
  452. package/dist/api/generated/LimitProto/LimitProto.OverrideLimits.js +15 -0
  453. package/dist/api/generated/LimitProto/LimitProto.OverrideReview.js +15 -0
  454. package/dist/api/generated/LimitProto/LimitProto.OverrideSource.js +32 -0
  455. package/dist/api/generated/LimitProto/LimitProto.RemoveOverridesRequest.js +15 -0
  456. package/dist/api/generated/LimitProto/LimitProto.RemoveUserLevelRequest.js +15 -0
  457. package/dist/api/generated/LimitProto/LimitProto.SetCustomOverrideRequest.js +15 -0
  458. package/dist/api/generated/LimitProto/LimitProto.SetUserLevelRequest.js +15 -0
  459. package/dist/api/generated/LimitProto/LimitProto.Transaction.js +15 -0
  460. package/dist/api/generated/LimitProto/index.js +34 -0
  461. package/dist/api/generated/MerchantProto/MerchantProto.GetMerchantLocationResponse.js +15 -0
  462. package/dist/api/generated/MerchantProto/MerchantProto.GetReportedLocationsResponse.js +15 -0
  463. package/dist/api/generated/MerchantProto/MerchantProto.LookupMerchantResponse.js +15 -0
  464. package/dist/api/generated/MerchantProto/MerchantProto.MerchantLocationReport.js +15 -0
  465. package/dist/api/generated/MerchantProto/MerchantProto.SubmitReportsRequest.js +15 -0
  466. package/dist/api/generated/MerchantProto/index.js +19 -0
  467. package/dist/api/generated/NotificationProto/NotificationProto.AccountLinkExpired.js +15 -0
  468. package/dist/api/generated/NotificationProto/NotificationProto.AchInFundingSuccess.js +15 -0
  469. package/dist/api/generated/NotificationProto/NotificationProto.AchOutFundingFailed.js +15 -0
  470. package/dist/api/generated/NotificationProto/NotificationProto.AchOutFundingFailedInsufficientFunds.js +15 -0
  471. package/dist/api/generated/NotificationProto/NotificationProto.AchOutFundingReturn.js +15 -0
  472. package/dist/api/generated/NotificationProto/NotificationProto.AchOutFundingSuccess.js +15 -0
  473. package/dist/api/generated/NotificationProto/NotificationProto.AchP2pCancel.js +15 -0
  474. package/dist/api/generated/NotificationProto/NotificationProto.AchP2pFailed.js +15 -0
  475. package/dist/api/generated/NotificationProto/NotificationProto.AchP2pFailedInsufficientFunds.js +15 -0
  476. package/dist/api/generated/NotificationProto/NotificationProto.AchP2pSuccess.js +15 -0
  477. package/dist/api/generated/NotificationProto/NotificationProto.AtmAccessDisabled.js +15 -0
  478. package/dist/api/generated/NotificationProto/NotificationProto.AtmWithdrawalAccessDisabled.js +15 -0
  479. package/dist/api/generated/NotificationProto/NotificationProto.AtmWithdrawalAuthorized.js +15 -0
  480. package/dist/api/generated/NotificationProto/NotificationProto.AtmWithdrawalInsufficientFunds.js +15 -0
  481. package/dist/api/generated/NotificationProto/NotificationProto.AtmWithdrawalLimitExceeded.js +15 -0
  482. package/dist/api/generated/NotificationProto/NotificationProto.CardFundingApproved.js +15 -0
  483. package/dist/api/generated/NotificationProto/NotificationProto.CardInactive.js +15 -0
  484. package/dist/api/generated/NotificationProto/NotificationProto.CardOrdered.js +15 -0
  485. package/dist/api/generated/NotificationProto/NotificationProto.CardPinBlocked.js +15 -0
  486. package/dist/api/generated/NotificationProto/NotificationProto.CardPurchaseAuthorized.js +15 -0
  487. package/dist/api/generated/NotificationProto/NotificationProto.CardPurchaseInsufficientFunds.js +15 -0
  488. package/dist/api/generated/NotificationProto/NotificationProto.CardPurchaseRefunded.js +15 -0
  489. package/dist/api/generated/NotificationProto/NotificationProto.CardPurchaseReversed.js +15 -0
  490. package/dist/api/generated/NotificationProto/NotificationProto.CardShipped.js +15 -0
  491. package/dist/api/generated/NotificationProto/NotificationProto.ContributedToSavingsGoal.js +15 -0
  492. package/dist/api/generated/NotificationProto/NotificationProto.CustomerRecoupment.js +15 -0
  493. package/dist/api/generated/NotificationProto/NotificationProto.CustomerTransfer.js +15 -0
  494. package/dist/api/generated/NotificationProto/NotificationProto.DisputeCredit.js +15 -0
  495. package/dist/api/generated/NotificationProto/NotificationProto.DisputeCreditReversal.js +15 -0
  496. package/dist/api/generated/NotificationProto/NotificationProto.FailedTransfer.js +15 -0
  497. package/dist/api/generated/NotificationProto/NotificationProto.FamilyInvite.js +15 -0
  498. package/dist/api/generated/NotificationProto/NotificationProto.JoinedFamily.js +15 -0
  499. package/dist/api/generated/NotificationProto/NotificationProto.KycStatusUpdate.js +15 -0
  500. package/dist/api/generated/NotificationProto/NotificationProto.Limit.js +15 -0
  501. package/dist/api/generated/NotificationProto/NotificationProto.LockCard.js +15 -0
  502. package/dist/api/generated/NotificationProto/NotificationProto.MoneyReceived.js +15 -0
  503. package/dist/api/generated/NotificationProto/NotificationProto.MoneyRequested.js +15 -0
  504. package/dist/api/generated/NotificationProto/NotificationProto.MoneyRequestedExpired.js +15 -0
  505. package/dist/api/generated/NotificationProto/NotificationProto.MoneyRequestedRejected.js +15 -0
  506. package/dist/api/generated/NotificationProto/NotificationProto.MoneySentExpired.js +15 -0
  507. package/dist/api/generated/NotificationProto/NotificationProto.MoneySentLimitExceeded.js +15 -0
  508. package/dist/api/generated/NotificationProto/NotificationProto.NoOpRequest.js +15 -0
  509. package/dist/api/generated/NotificationProto/NotificationProto.Notification.js +15 -0
  510. package/dist/api/generated/NotificationProto/NotificationProto.NotificationUser.js +15 -0
  511. package/dist/api/generated/NotificationProto/NotificationProto.Purchase.js +15 -0
  512. package/dist/api/generated/NotificationProto/NotificationProto.PurchaseCardLocked.js +15 -0
  513. package/dist/api/generated/NotificationProto/NotificationProto.RedeemerReward.js +15 -0
  514. package/dist/api/generated/NotificationProto/NotificationProto.RedeemerRewardRewarded.js +15 -0
  515. package/dist/api/generated/NotificationProto/NotificationProto.ReferralBonus.js +15 -0
  516. package/dist/api/generated/NotificationProto/NotificationProto.ReferralRedemptionReminder.js +15 -0
  517. package/dist/api/generated/NotificationProto/NotificationProto.ReferralReward.js +15 -0
  518. package/dist/api/generated/NotificationProto/NotificationProto.ReferralRewardReferral.js +15 -0
  519. package/dist/api/generated/NotificationProto/NotificationProto.ReferralUser.js +15 -0
  520. package/dist/api/generated/NotificationProto/NotificationProto.SavingsGoal.js +15 -0
  521. package/dist/api/generated/NotificationProto/NotificationProto.ScheduledTransferSent.js +15 -0
  522. package/dist/api/generated/NotificationProto/NotificationProto.SendTestNotificationRequest.js +15 -0
  523. package/dist/api/generated/NotificationProto/NotificationProto.SponseeCreatedSavingsGoal.js +15 -0
  524. package/dist/api/generated/NotificationProto/NotificationProto.StartedRedemption.js +15 -0
  525. package/dist/api/generated/NotificationProto/NotificationProto.SubscribeToPushRequest.js +15 -0
  526. package/dist/api/generated/NotificationProto/NotificationProto.SubscribeToPushRequestType.js +28 -0
  527. package/dist/api/generated/NotificationProto/NotificationProto.TestMessage.js +15 -0
  528. package/dist/api/generated/NotificationProto/NotificationProto.UnlockCard.js +15 -0
  529. package/dist/api/generated/NotificationProto/NotificationProto.UnsubscribeToPushRequest.js +15 -0
  530. package/dist/api/generated/NotificationProto/NotificationProto.UpcomingTransfer.js +15 -0
  531. package/dist/api/generated/NotificationProto/NotificationProto.UpcomingTransferAccountExpired.js +15 -0
  532. package/dist/api/generated/NotificationProto/NotificationProto.UpcomingTransferInsufficientFunds.js +15 -0
  533. package/dist/api/generated/NotificationProto/NotificationProto.UpcomingTransferReminder.js +15 -0
  534. package/dist/api/generated/NotificationProto/NotificationProto.WithdrawReturn.js +15 -0
  535. package/dist/api/generated/NotificationProto/index.js +82 -0
  536. package/dist/api/generated/ProfileProto/ProfileProto.GetProfileResponse.js +15 -0
  537. package/dist/api/generated/ProfileProto/ProfileProto.LookupProfileRequest.js +15 -0
  538. package/dist/api/generated/ProfileProto/ProfileProto.LookupProfileResponse.js +15 -0
  539. package/dist/api/generated/ProfileProto/ProfileProto.Profile.js +15 -0
  540. package/dist/api/generated/ProfileProto/ProfileProto.SetProfileRequest.js +15 -0
  541. package/dist/api/generated/ProfileProto/ProfileProto.Status.js +27 -0
  542. package/dist/api/generated/ProfileProto/index.js +20 -0
  543. package/dist/api/generated/ReconciliationProto/ReconciliationProto.BankTransaction.js +15 -0
  544. package/dist/api/generated/ReconciliationProto/ReconciliationProto.GetReconciliationResponse.js +15 -0
  545. package/dist/api/generated/ReconciliationProto/ReconciliationProto.GetTransactionsRequest.js +15 -0
  546. package/dist/api/generated/ReconciliationProto/ReconciliationProto.GetTransactionsResponse.js +15 -0
  547. package/dist/api/generated/ReconciliationProto/ReconciliationProto.ReconcileTransactionsRequest.js +15 -0
  548. package/dist/api/generated/ReconciliationProto/ReconciliationProto.TransactionCode.js +50 -0
  549. package/dist/api/generated/ReconciliationProto/index.js +20 -0
  550. package/dist/api/generated/ReferralProto/ReferralProto.AssignCampaignToUserRequest.js +15 -0
  551. package/dist/api/generated/ReferralProto/ReferralProto.Assigned.js +15 -0
  552. package/dist/api/generated/ReferralProto/ReferralProto.BasicRewards.js +15 -0
  553. package/dist/api/generated/ReferralProto/ReferralProto.CampaignChangelog.js +15 -0
  554. package/dist/api/generated/ReferralProto/ReferralProto.CampaignContent.js +15 -0
  555. package/dist/api/generated/ReferralProto/ReferralProto.CampaignProgress.js +15 -0
  556. package/dist/api/generated/ReferralProto/ReferralProto.CellContent.js +15 -0
  557. package/dist/api/generated/ReferralProto/ReferralProto.GetAvailableCampaignsResponse.js +15 -0
  558. package/dist/api/generated/ReferralProto/ReferralProto.GetCampaignHistoryResponse.js +15 -0
  559. package/dist/api/generated/ReferralProto/ReferralProto.GetReferralCampaignResponse.js +15 -0
  560. package/dist/api/generated/ReferralProto/ReferralProto.GetReferralCodeResponse.js +15 -0
  561. package/dist/api/generated/ReferralProto/ReferralProto.GetReferralCodeStatusResponse.js +15 -0
  562. package/dist/api/generated/ReferralProto/ReferralProto.GetReferralInfoResponse.js +15 -0
  563. package/dist/api/generated/ReferralProto/ReferralProto.GetReferralInvitesResponse.js +15 -0
  564. package/dist/api/generated/ReferralProto/ReferralProto.GetStepSquadRewardsResponse.js +15 -0
  565. package/dist/api/generated/ReferralProto/ReferralProto.Image.js +15 -0
  566. package/dist/api/generated/ReferralProto/ReferralProto.MigrateResponse.js +15 -0
  567. package/dist/api/generated/ReferralProto/ReferralProto.OfferDetails.js +15 -0
  568. package/dist/api/generated/ReferralProto/ReferralProto.OfferRedemption.js +15 -0
  569. package/dist/api/generated/ReferralProto/ReferralProto.RedeemOfferCodeResponse.js +15 -0
  570. package/dist/api/generated/ReferralProto/ReferralProto.RedeemReferralCodeResponse.js +15 -0
  571. package/dist/api/generated/ReferralProto/ReferralProto.ReferralCampaign.js +15 -0
  572. package/dist/api/generated/ReferralProto/ReferralProto.ReferralCodeStatus.js +28 -0
  573. package/dist/api/generated/ReferralProto/ReferralProto.ReferralRedemption.js +15 -0
  574. package/dist/api/generated/ReferralProto/ReferralProto.Removed.js +15 -0
  575. package/dist/api/generated/ReferralProto/ReferralProto.SnapchatSharingContent.js +15 -0
  576. package/dist/api/generated/ReferralProto/ReferralProto.SnapchatStickerImages.js +15 -0
  577. package/dist/api/generated/ReferralProto/ReferralProto.SocialContent.js +15 -0
  578. package/dist/api/generated/ReferralProto/ReferralProto.StickerImage.js +15 -0
  579. package/dist/api/generated/ReferralProto/ReferralProto.StickerImageUrls.js +15 -0
  580. package/dist/api/generated/ReferralProto/ReferralProto.TrackReferralInviteRequest.js +15 -0
  581. package/dist/api/generated/ReferralProto/ReferralProto.UpdateReferralCodeStatusRequest.js +15 -0
  582. package/dist/api/generated/ReferralProto/ReferralProto.VerifyReferralInviteRequest.js +15 -0
  583. package/dist/api/generated/ReferralProto/index.js +47 -0
  584. package/dist/api/generated/ServiceInfra/ServiceInfra.GetManifestResponse.js +15 -0
  585. package/dist/api/generated/ServiceInfra/index.js +15 -0
  586. package/dist/api/generated/StripeProto/StripeProto.CreateEphemeralKeyRequest.js +15 -0
  587. package/dist/api/generated/StripeProto/StripeProto.CreateEphemeralKeyResponse.js +15 -0
  588. package/dist/api/generated/StripeProto/StripeProto.UpdatePinRequest.js +15 -0
  589. package/dist/api/generated/StripeProto/StripeProto.Verification.js +15 -0
  590. package/dist/api/generated/StripeProto/StripeProto.VerificationResponse.js +15 -0
  591. package/dist/api/generated/StripeProto/index.js +19 -0
  592. package/dist/api/generated/TestapiProto/TestapiProto.CardBackend.js +27 -0
  593. package/dist/api/generated/TestapiProto/TestapiProto.CloseFundingDisputeRequest.js +15 -0
  594. package/dist/api/generated/TestapiProto/TestapiProto.CreateUsersRequest.js +15 -0
  595. package/dist/api/generated/TestapiProto/TestapiProto.CreateUsersResponse.js +15 -0
  596. package/dist/api/generated/TestapiProto/TestapiProto.CreateVirtualAccountSimulationRequest.js +15 -0
  597. package/dist/api/generated/TestapiProto/TestapiProto.CreateVirtualAccountSimulationResponse.js +15 -0
  598. package/dist/api/generated/TestapiProto/TestapiProto.Dob.js +15 -0
  599. package/dist/api/generated/TestapiProto/TestapiProto.EchoRequest.js +15 -0
  600. package/dist/api/generated/TestapiProto/TestapiProto.EnableFeatureRequest.js +15 -0
  601. package/dist/api/generated/TestapiProto/TestapiProto.GetVirtualAccountStatusResponse.js +15 -0
  602. package/dist/api/generated/TestapiProto/TestapiProto.LoadFundsRequest.js +15 -0
  603. package/dist/api/generated/TestapiProto/TestapiProto.RandomAlias.js +15 -0
  604. package/dist/api/generated/TestapiProto/TestapiProto.RandomAliasRandomAppleSso.js +15 -0
  605. package/dist/api/generated/TestapiProto/TestapiProto.RandomAliasRandomGoogleSso.js +15 -0
  606. package/dist/api/generated/TestapiProto/TestapiProto.RandomAliasRandomPhone.js +15 -0
  607. package/dist/api/generated/TestapiProto/TestapiProto.RejectedTransfer.js +15 -0
  608. package/dist/api/generated/TestapiProto/TestapiProto.ReverseCashDepositRequest.js +15 -0
  609. package/dist/api/generated/TestapiProto/TestapiProto.ReverseFundingTransactionRequest.js +15 -0
  610. package/dist/api/generated/TestapiProto/TestapiProto.SetAddress.js +15 -0
  611. package/dist/api/generated/TestapiProto/TestapiProto.SetupUserRequest.js +15 -0
  612. package/dist/api/generated/TestapiProto/TestapiProto.SetupUserResponse.js +15 -0
  613. package/dist/api/generated/TestapiProto/TestapiProto.SimulateAuthorizationRequest.js +15 -0
  614. package/dist/api/generated/TestapiProto/TestapiProto.SimulateAuthorizationResponse.js +15 -0
  615. package/dist/api/generated/TestapiProto/TestapiProto.SimulateCaptureRequest.js +15 -0
  616. package/dist/api/generated/TestapiProto/TestapiProto.SimulateCaptureResponse.js +15 -0
  617. package/dist/api/generated/TestapiProto/TestapiProto.SimulateCashDepositRequest.js +15 -0
  618. package/dist/api/generated/TestapiProto/TestapiProto.SimulateForceCaptureRequest.js +15 -0
  619. package/dist/api/generated/TestapiProto/TestapiProto.SimulateForceCaptureResponse.js +15 -0
  620. package/dist/api/generated/TestapiProto/TestapiProto.SimulateForceRefundRequest.js +15 -0
  621. package/dist/api/generated/TestapiProto/TestapiProto.SimulateForceRefundResponse.js +15 -0
  622. package/dist/api/generated/TestapiProto/TestapiProto.SimulateRefundRequest.js +15 -0
  623. package/dist/api/generated/TestapiProto/TestapiProto.SimulateRefundResponse.js +15 -0
  624. package/dist/api/generated/TestapiProto/TestapiProto.SimulateReversalRequest.js +15 -0
  625. package/dist/api/generated/TestapiProto/TestapiProto.SimulateReversalResponse.js +15 -0
  626. package/dist/api/generated/TestapiProto/TestapiProto.TestAdminLoginRequest.js +15 -0
  627. package/dist/api/generated/TestapiProto/TestapiProto.TestAdminLoginResponse.js +15 -0
  628. package/dist/api/generated/TestapiProto/TestapiProto.TestVirtualAccountTransfer.js +15 -0
  629. package/dist/api/generated/TestapiProto/TestapiProto.UnlinkAliasRequest.js +15 -0
  630. package/dist/api/generated/TestapiProto/TestapiProto.UnlinkSandboxPlaidAccountRequest.js +15 -0
  631. package/dist/api/generated/TestapiProto/TestapiProto.UpdateTransactionRequest.js +15 -0
  632. package/dist/api/generated/TestapiProto/TestapiProto.UserLink.js +15 -0
  633. package/dist/api/generated/TestapiProto/index.js +55 -0
  634. package/dist/api/generated/TransferAdminProto/TransferAdminProto.AchOutCase.js +15 -0
  635. package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetRecurringTransfersResponse.js +15 -0
  636. package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetRecurringTransfersResponseIncoming.js +15 -0
  637. package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetRecurringTransfersResponseOutgoing.js +15 -0
  638. package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetRecurringTransfersResponseTransfer.js +15 -0
  639. package/dist/api/generated/TransferAdminProto/TransferAdminProto.GetTransferRequestsResponse.js +15 -0
  640. package/dist/api/generated/TransferAdminProto/TransferAdminProto.NoOpRequest.js +15 -0
  641. package/dist/api/generated/TransferAdminProto/TransferAdminProto.UpdateRecurringTransferRequest.js +15 -0
  642. package/dist/api/generated/TransferAdminProto/index.js +22 -0
  643. package/dist/api/generated/TransferProto/TransferProto.EvaluateAllSchedulesRequest.js +15 -0
  644. package/dist/api/generated/TransferProto/TransferProto.EvaluateAllSchedulesResponse.js +15 -0
  645. package/dist/api/generated/TransferProto/TransferProto.EvaluateAllSchedulesResponseScheduleNextTransferPair.js +15 -0
  646. package/dist/api/generated/TransferProto/TransferProto.EvaluateScheduleRequest.js +15 -0
  647. package/dist/api/generated/TransferProto/TransferProto.EvaluateScheduleResponse.js +15 -0
  648. package/dist/api/generated/TransferProto/TransferProto.ExternalBank.js +15 -0
  649. package/dist/api/generated/TransferProto/TransferProto.ExternalCard.js +15 -0
  650. package/dist/api/generated/TransferProto/TransferProto.GetRecurringTransferRequest.js +15 -0
  651. package/dist/api/generated/TransferProto/TransferProto.GetRecurringTransferResponse.js +15 -0
  652. package/dist/api/generated/TransferProto/TransferProto.GetRecurringTransfersResponse.js +15 -0
  653. package/dist/api/generated/TransferProto/TransferProto.GetTransferRequestResponse.js +15 -0
  654. package/dist/api/generated/TransferProto/TransferProto.GetTransferRequestsResponse.js +15 -0
  655. package/dist/api/generated/TransferProto/TransferProto.RecurringTransfer.js +15 -0
  656. package/dist/api/generated/TransferProto/TransferProto.RecurringTransferDate.js +15 -0
  657. package/dist/api/generated/TransferProto/TransferProto.RecurringTransferDateStatus.js +30 -0
  658. package/dist/api/generated/TransferProto/TransferProto.RequestMoneyRequest.js +15 -0
  659. package/dist/api/generated/TransferProto/TransferProto.RequestMoneyResponse.js +15 -0
  660. package/dist/api/generated/TransferProto/TransferProto.SendMoneyRequest.js +15 -0
  661. package/dist/api/generated/TransferProto/TransferProto.SendMoneyResponse.js +15 -0
  662. package/dist/api/generated/TransferProto/TransferProto.SetRecurringTransferRequest.js +15 -0
  663. package/dist/api/generated/TransferProto/TransferProto.SetRecurringTransferResponse.js +15 -0
  664. package/dist/api/generated/TransferProto/TransferProto.TransferFrom.js +15 -0
  665. package/dist/api/generated/TransferProto/TransferProto.TransferRequest.js +15 -0
  666. package/dist/api/generated/TransferProto/TransferProto.TransferRequestFrom.js +15 -0
  667. package/dist/api/generated/TransferProto/TransferProto.TransferRequestTransferCounterparty.js +15 -0
  668. package/dist/api/generated/TransferProto/TransferProto.TransferRequestTransferUser.js +15 -0
  669. package/dist/api/generated/TransferProto/TransferProto.TransferRequestType.js +27 -0
  670. package/dist/api/generated/TransferProto/TransferProto.TransferSchedule.js +15 -0
  671. package/dist/api/generated/TransferProto/TransferProto.TransferScheduleMonthly.js +15 -0
  672. package/dist/api/generated/TransferProto/TransferProto.TransferScheduleMonthlyDayOfMonth.js +28 -0
  673. package/dist/api/generated/TransferProto/TransferProto.TransferScheduleMonthlyTwice.js +15 -0
  674. package/dist/api/generated/TransferProto/TransferProto.TransferScheduleMonthlyTwiceStartOnDay.js +27 -0
  675. package/dist/api/generated/TransferProto/TransferProto.TransferScheduleWeekly.js +15 -0
  676. package/dist/api/generated/TransferProto/TransferProto.TransferTo.js +15 -0
  677. package/dist/api/generated/TransferProto/TransferProto.TransferToToUser.js +15 -0
  678. package/dist/api/generated/TransferProto/TransferProto.UpdateRecurringTransferDateStatusRequest.js +15 -0
  679. package/dist/api/generated/TransferProto/TransferProto.UpdateRecurringTransferDateStatusResponse.js +15 -0
  680. package/dist/api/generated/TransferProto/TransferProto.UpdateTransferRequestStatusRequest.js +15 -0
  681. package/dist/api/generated/TransferProto/index.js +52 -0
  682. package/dist/api/generated/TxactivityProto/TxactivityProto.AchInCredit.js +15 -0
  683. package/dist/api/generated/TxactivityProto/TxactivityProto.AchInCreditReversal.js +15 -0
  684. package/dist/api/generated/TxactivityProto/TxactivityProto.AchInDebit.js +15 -0
  685. package/dist/api/generated/TxactivityProto/TxactivityProto.AchInDebitReversal.js +15 -0
  686. package/dist/api/generated/TxactivityProto/TxactivityProto.AchInParties.js +15 -0
  687. package/dist/api/generated/TxactivityProto/TxactivityProto.AchOutCredit.js +15 -0
  688. package/dist/api/generated/TxactivityProto/TxactivityProto.AchOutCreditReversal.js +15 -0
  689. package/dist/api/generated/TxactivityProto/TxactivityProto.AchOutDebit.js +15 -0
  690. package/dist/api/generated/TxactivityProto/TxactivityProto.AchOutDebitReversal.js +15 -0
  691. package/dist/api/generated/TxactivityProto/TxactivityProto.ActivityContext.js +15 -0
  692. package/dist/api/generated/TxactivityProto/TxactivityProto.ActivityItem.js +15 -0
  693. package/dist/api/generated/TxactivityProto/TxactivityProto.ActivityStatus.js +28 -0
  694. package/dist/api/generated/TxactivityProto/TxactivityProto.AtmWithdrawal.js +15 -0
  695. package/dist/api/generated/TxactivityProto/TxactivityProto.Bank.js +15 -0
  696. package/dist/api/generated/TxactivityProto/TxactivityProto.CardDetails.js +15 -0
  697. package/dist/api/generated/TxactivityProto/TxactivityProto.CashDeposit.js +15 -0
  698. package/dist/api/generated/TxactivityProto/TxactivityProto.Credit.js +15 -0
  699. package/dist/api/generated/TxactivityProto/TxactivityProto.Debit.js +15 -0
  700. package/dist/api/generated/TxactivityProto/TxactivityProto.Dispute.js +15 -0
  701. package/dist/api/generated/TxactivityProto/TxactivityProto.DisputeReversal.js +15 -0
  702. package/dist/api/generated/TxactivityProto/TxactivityProto.Funding.js +15 -0
  703. package/dist/api/generated/TxactivityProto/TxactivityProto.FundingDetails.js +15 -0
  704. package/dist/api/generated/TxactivityProto/TxactivityProto.FundingDispute.js +15 -0
  705. package/dist/api/generated/TxactivityProto/TxactivityProto.FundingDisputeReversal.js +15 -0
  706. package/dist/api/generated/TxactivityProto/TxactivityProto.FundingReversal.js +15 -0
  707. package/dist/api/generated/TxactivityProto/TxactivityProto.GetAccountActivityResponse.js +15 -0
  708. package/dist/api/generated/TxactivityProto/TxactivityProto.GetActivityByPaymentResponse.js +15 -0
  709. package/dist/api/generated/TxactivityProto/TxactivityProto.GetActivityByTransactionResponse.js +15 -0
  710. package/dist/api/generated/TxactivityProto/TxactivityProto.Merchant.js +15 -0
  711. package/dist/api/generated/TxactivityProto/TxactivityProto.P2P.js +15 -0
  712. package/dist/api/generated/TxactivityProto/TxactivityProto.P2PReversal.js +15 -0
  713. package/dist/api/generated/TxactivityProto/TxactivityProto.Purchase.js +15 -0
  714. package/dist/api/generated/TxactivityProto/TxactivityProto.Referral.js +15 -0
  715. package/dist/api/generated/TxactivityProto/TxactivityProto.Refund.js +15 -0
  716. package/dist/api/generated/TxactivityProto/TxactivityProto.Transfer.js +15 -0
  717. package/dist/api/generated/TxactivityProto/index.js +49 -0
  718. package/dist/api/generated/UserAdminProto/UserAdminProto.FamilyActivity.js +15 -0
  719. package/dist/api/generated/UserAdminProto/UserAdminProto.FamilyMemberDetails.js +15 -0
  720. package/dist/api/generated/UserAdminProto/UserAdminProto.GetSsnChangeHistoryResponse.js +15 -0
  721. package/dist/api/generated/UserAdminProto/UserAdminProto.GetSsnResponse.js +15 -0
  722. package/dist/api/generated/UserAdminProto/UserAdminProto.GetUserChangeHistoryResponse.js +15 -0
  723. package/dist/api/generated/UserAdminProto/UserAdminProto.LookupFamilyHistoryResponse.js +15 -0
  724. package/dist/api/generated/UserAdminProto/UserAdminProto.LookupFamilyResponse.js +15 -0
  725. package/dist/api/generated/UserAdminProto/UserAdminProto.LookupUsersRequest.js +15 -0
  726. package/dist/api/generated/UserAdminProto/UserAdminProto.LookupUsersResponse.js +15 -0
  727. package/dist/api/generated/UserAdminProto/UserAdminProto.SsnSnapshot.js +15 -0
  728. package/dist/api/generated/UserAdminProto/UserAdminProto.UpdateRequest.js +15 -0
  729. package/dist/api/generated/UserAdminProto/UserAdminProto.UpdateResponse.js +15 -0
  730. package/dist/api/generated/UserAdminProto/index.js +26 -0
  731. package/dist/api/generated/UserProto/UserProto.AppleSsoVerificationMethod.js +15 -0
  732. package/dist/api/generated/UserProto/UserProto.ApproveFamilyInviteRequest.js +15 -0
  733. package/dist/api/generated/UserProto/UserProto.CreateUserResponse.js +15 -0
  734. package/dist/api/generated/UserProto/UserProto.EmailDeliveryMethod.js +26 -0
  735. package/dist/api/generated/UserProto/UserProto.EmailVerificationMethod.js +15 -0
  736. package/dist/api/generated/UserProto/UserProto.FamilyInviteInfo.js +15 -0
  737. package/dist/api/generated/UserProto/UserProto.FamilyInviteStatus.js +31 -0
  738. package/dist/api/generated/UserProto/UserProto.FamilyMember.js +15 -0
  739. package/dist/api/generated/UserProto/UserProto.GetFamilyAddressResponse.js +15 -0
  740. package/dist/api/generated/UserProto/UserProto.GetFamilyInvitesResponse.js +15 -0
  741. package/dist/api/generated/UserProto/UserProto.GetFamilyInvitesResponseInvite.js +15 -0
  742. package/dist/api/generated/UserProto/UserProto.GetFamilyInvitesResponseInviteMember.js +15 -0
  743. package/dist/api/generated/UserProto/UserProto.GetFamilyResponse.js +15 -0
  744. package/dist/api/generated/UserProto/UserProto.GetFamilyResponseInvite.js +15 -0
  745. package/dist/api/generated/UserProto/UserProto.GetPayfoneRedirectUrlRequest.js +15 -0
  746. package/dist/api/generated/UserProto/UserProto.GetPayfoneRedirectUrlResponse.js +15 -0
  747. package/dist/api/generated/UserProto/UserProto.GetProfilePicturesResponse.js +15 -0
  748. package/dist/api/generated/UserProto/UserProto.GetUserResponse.js +15 -0
  749. package/dist/api/generated/UserProto/UserProto.GetVerificationMethodResponse.js +15 -0
  750. package/dist/api/generated/UserProto/UserProto.GetVerificationMethodResponseMethod.js +27 -0
  751. package/dist/api/generated/UserProto/UserProto.GoogleSsoVerificationMethod.js +15 -0
  752. package/dist/api/generated/UserProto/UserProto.InviteMemberRequest.js +15 -0
  753. package/dist/api/generated/UserProto/UserProto.JoinFamilyRequest.js +15 -0
  754. package/dist/api/generated/UserProto/UserProto.OffboardResponse.js +15 -0
  755. package/dist/api/generated/UserProto/UserProto.OnboardRequest.js +15 -0
  756. package/dist/api/generated/UserProto/UserProto.OnboardResponse.js +15 -0
  757. package/dist/api/generated/UserProto/UserProto.OtpDeliveryMethod.js +15 -0
  758. package/dist/api/generated/UserProto/UserProto.PhoneDeliveryMethod.js +27 -0
  759. package/dist/api/generated/UserProto/UserProto.PhoneVerificationMethod.js +15 -0
  760. package/dist/api/generated/UserProto/UserProto.ReVerifyRequest.js +15 -0
  761. package/dist/api/generated/UserProto/UserProto.RejectFamilyInviteRequest.js +15 -0
  762. package/dist/api/generated/UserProto/UserProto.SendSponsorVerificationResponse.js +15 -0
  763. package/dist/api/generated/UserProto/UserProto.SetProfilePictureRequest.js +15 -0
  764. package/dist/api/generated/UserProto/UserProto.SetProfilePictureResponse.js +15 -0
  765. package/dist/api/generated/UserProto/UserProto.StartOnboardingRequest.js +15 -0
  766. package/dist/api/generated/UserProto/UserProto.StartOnboardingResponse.js +15 -0
  767. package/dist/api/generated/UserProto/UserProto.UnInviteMemberRequest.js +15 -0
  768. package/dist/api/generated/UserProto/UserProto.UpdateAliasRequest.js +15 -0
  769. package/dist/api/generated/UserProto/UserProto.UpdateFamilyMemberRequest.js +15 -0
  770. package/dist/api/generated/UserProto/UserProto.UpdateFamilyMemberResponse.js +15 -0
  771. package/dist/api/generated/UserProto/UserProto.UpdateUserRequest.js +15 -0
  772. package/dist/api/generated/UserProto/UserProto.UpdateUserRequestSetAutoBilling.js +15 -0
  773. package/dist/api/generated/UserProto/UserProto.UpdateUserResponse.js +15 -0
  774. package/dist/api/generated/UserProto/UserProto.User.js +15 -0
  775. package/dist/api/generated/UserProto/UserProto.UserShipping.js +15 -0
  776. package/dist/api/generated/UserProto/UserProto.VerificationMethod.js +15 -0
  777. package/dist/api/generated/UserProto/UserProto.VerifyRequest.js +15 -0
  778. package/dist/api/generated/UserProto/UserProto.VerifyResponse.js +15 -0
  779. package/dist/api/generated/UserProto/UserProto.VerifyUserRequest.js +15 -0
  780. package/dist/api/generated/UserProto/UserProto.VerifyUserResponse.js +15 -0
  781. package/dist/api/generated/UserProto/index.js +64 -0
  782. package/dist/api/generated/api.js +26 -0
  783. package/dist/api/generated/base.js +65 -0
  784. package/dist/api/generated/configuration.js +26 -0
  785. package/dist/api/generated/index.js +27 -0
  786. package/dist/http/Api.js +828 -0
  787. package/dist/http/AppMetadata.js +3 -0
  788. package/dist/http/AxiosFactory.js +58 -0
  789. package/dist/http/DataUri.js +28 -0
  790. package/dist/http/HttpClient.js +50 -0
  791. package/dist/http/HttpError.js +247 -0
  792. package/dist/http/PublicApi.js +32 -0
  793. package/dist/http/StripeHttpClient.js +59 -0
  794. package/dist/http/TestApi.js +139 -0
  795. package/dist/http/auth/AccessTokenProvider.js +10 -0
  796. package/dist/http/auth/AccessTokenRefresher.js +45 -0
  797. package/dist/http/auth/AuthenticationFailureError.js +10 -0
  798. package/dist/http/auth/KeySetAccessTokenProvider.js +84 -0
  799. package/dist/http/auth/RefreshingAccessTokenProvider.js +27 -0
  800. package/dist/http/auth/index.js +18 -0
  801. package/dist/http/index.js +20 -0
  802. package/dist/http/models/Alias.js +76 -0
  803. package/dist/http/models/Amount.js +52 -0
  804. package/dist/http/models/AuthResult.js +3 -0
  805. package/dist/http/models/AuthToken.js +51 -0
  806. package/dist/http/models/DebitCard.js +30 -0
  807. package/dist/http/models/FeatureDescriptor.js +35 -0
  808. package/dist/http/models/JwtToken.js +3 -0
  809. package/dist/http/models/OtpSession.js +3 -0
  810. package/dist/http/models/Page.js +43 -0
  811. package/dist/http/models/PersonaFlow.js +11 -0
  812. package/dist/http/models/Profile.js +11 -0
  813. package/dist/http/models/Referrals.js +3 -0
  814. package/dist/http/models/ScheduleDatePair.js +3 -0
  815. package/dist/http/models/SubAccount.js +3 -0
  816. package/dist/http/models/SubAccountType.js +10 -0
  817. package/dist/http/models/User.js +13 -0
  818. package/dist/http/models/VerificationMethod.js +3 -0
  819. package/dist/index.js +28 -0
  820. package/dist/internal.js +118 -0
  821. package/dist/keystore/AuthLevel.js +13 -0
  822. package/dist/keystore/InMemoryKeySet.js +123 -0
  823. package/dist/keystore/KeySet.js +3 -0
  824. package/dist/store/AccountListStore.js +227 -0
  825. package/dist/store/AccountStore.js +297 -0
  826. package/dist/store/ActivityStore.js +75 -0
  827. package/dist/store/AuthStore.js +158 -0
  828. package/dist/store/CardTemplateStore.js +78 -0
  829. package/dist/store/ExternalAccountsStore.js +200 -0
  830. package/dist/store/FamilyStore.js +144 -0
  831. package/dist/store/FeatureStore.js +119 -0
  832. package/dist/store/MerchantStore.js +25 -0
  833. package/dist/store/PublicProfileStore.js +149 -0
  834. package/dist/store/ReferralStore.js +136 -0
  835. package/dist/store/StatementStore.js +49 -0
  836. package/dist/store/StripeAcquiring.js +38 -0
  837. package/dist/store/SubAccountStore.js +86 -0
  838. package/dist/store/TestApiStore.js +59 -0
  839. package/dist/store/TransactionsStore.js +90 -0
  840. package/dist/store/TransferStore.js +113 -0
  841. package/dist/store/UserStore.js +785 -0
  842. package/dist/store/Util.js +34 -0
  843. package/dist/store/common/AggregatingDataStore.js +40 -0
  844. package/dist/store/common/Arrays.js +77 -0
  845. package/dist/store/common/ClassName.js +14 -0
  846. package/dist/store/common/DataStore.js +197 -0
  847. package/dist/store/common/index.js +17 -0
  848. package/dist/store/intercom/Screens.js +132 -0
  849. package/dist/store/testing/BaseTestApiFactory.js +229 -0
  850. package/dist/store/testing/CreateUserBuilder.js +64 -0
  851. package/dist/store/testing/CreateUserResult.js +30 -0
  852. package/dist/store/testing/generators.js +93 -0
  853. package/dist/store/testing/index.js +18 -0
  854. package/dist/store/testing/legacyGenerators.js +44 -0
  855. package/dist/store/testing/types.js +22 -0
  856. package/dist/store/txhistory/AchInHistoryItem.js +33 -0
  857. package/dist/store/txhistory/AchOutCreditTxHistoryItem.js +96 -0
  858. package/dist/store/txhistory/AchOutDebitTxHistoryItem.js +32 -0
  859. package/dist/store/txhistory/CardFundingTxHistoryItem.js +84 -0
  860. package/dist/store/txhistory/CashDepositTxHistoryItem.js +26 -0
  861. package/dist/store/txhistory/P2PTxHistoryItem.js +38 -0
  862. package/dist/store/txhistory/PurchaseTxHistoryItem.js +96 -0
  863. package/dist/store/txhistory/TxDisplayStatus.js +21 -0
  864. package/dist/store/txhistory/TxHistory.js +281 -0
  865. package/dist/store/txhistory/TxHistoryItem.js +370 -0
  866. package/dist/store/txhistory/TxHistoryUpdate.js +176 -0
  867. package/dist/store/txhistory/TxItemType.js +26 -0
  868. package/dist/test/AccountFactory.js +28 -0
  869. package/dist/test/ApiFactory.js +50 -0
  870. package/dist/test/DebitCardFactory.js +26 -0
  871. package/dist/test/ExternalAccountFactory.js +18 -0
  872. package/dist/test/UserFactory.js +154 -0
  873. package/dist/test/index.js +18 -0
  874. package/dist/util/Assert.js +33 -0
  875. package/dist/util/Chaos.js +38 -0
  876. package/dist/util/ConsoleStamp.js +55 -0
  877. package/dist/util/Date.js +12 -0
  878. package/dist/util/Format.js +21 -0
  879. package/dist/util/Names.js +110 -0
  880. package/dist/util/Phones.js +136 -0
  881. package/dist/util/PublicProfile.js +56 -0
  882. package/dist/util/Random.js +303 -0
  883. package/dist/util/ReportTimeout.js +18 -0
  884. package/dist/util/Sleep.js +8 -0
  885. package/dist/util/Url.js +15 -0
  886. package/dist/util/index.js +21 -0
  887. package/index.js +30 -0
  888. package/package.json +34 -4
  889. package/README.md +0 -5
@@ -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