@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,785 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UserStore = void 0;
13
+ const date_fns_1 = require("date-fns");
14
+ const lodash_1 = require("lodash");
15
+ const mobx_1 = require("mobx");
16
+ const __1 = require("..");
17
+ const CommonProto_1 = require("../api/generated/CommonProto");
18
+ const http_1 = require("../http");
19
+ const common_1 = require("./common");
20
+ class UserStore extends common_1.DataStore {
21
+ constructor(api, includePersona = true) {
22
+ super();
23
+ this.api = api;
24
+ this.includePersona = includePersona;
25
+ this.user = __1.emptyUser();
26
+ this.profilePictures = [];
27
+ this.profile = __1.emptyProfile();
28
+ this.personaFlow = undefined;
29
+ }
30
+ get fullNameForCard() {
31
+ const { user: { legalName }, } = this;
32
+ return legalName
33
+ ? __1.fullNameForCard(legalName.firstName, legalName.lastName) ||
34
+ undefined
35
+ : undefined;
36
+ }
37
+ get fullName() {
38
+ const { legalName } = this.user;
39
+ return legalName
40
+ ? __1.fullName(legalName.firstName, legalName.lastName) || undefined
41
+ : undefined;
42
+ }
43
+ /**
44
+ * Returns aliases, ordered so that verified ones are first
45
+ */
46
+ get aliases() {
47
+ return this.profile.aliases
48
+ .slice()
49
+ .sort((a, b) => a.verified === b.verified ? 0 : a.verified ? -1 : 1);
50
+ }
51
+ /**
52
+ * Returns first alias with a `googleId` type.
53
+ */
54
+ get googleIdAlias() {
55
+ return this.profile.aliases.find((a) => a.type === 'googleId');
56
+ }
57
+ /**
58
+ * Returns first alias with a `appleId` type.
59
+ */
60
+ get appleIdAlias() {
61
+ return this.profile.aliases.find((a) => a.type === 'appleId');
62
+ }
63
+ /**
64
+ * Returns first verified email alias.
65
+ */
66
+ get verifiedEmailAlias() {
67
+ return this.profile.aliases.find((a) => a.type === 'email' && a.verified);
68
+ }
69
+ get username() {
70
+ const alias = this.aliases.find((a) => a.type === 'username');
71
+ if (!alias) {
72
+ return;
73
+ }
74
+ return alias.value;
75
+ }
76
+ get isOnboarded() {
77
+ var _a;
78
+ return ![
79
+ CommonProto_1.KycStatus.UNKNOWN,
80
+ CommonProto_1.KycStatus.ATTEMPTED,
81
+ CommonProto_1.KycStatus.INVALID,
82
+ ].includes((_a = this.user.kycStatus) !== null && _a !== void 0 ? _a : CommonProto_1.KycStatus.INVALID);
83
+ }
84
+ get isKYCed() {
85
+ return this.user.kycStatus === CommonProto_1.KycStatus.SUCCESS;
86
+ }
87
+ get isKYCPending() {
88
+ var _a;
89
+ return [CommonProto_1.KycStatus.PROCESSING, CommonProto_1.KycStatus.FAILED].includes((_a = this.user.kycStatus) !== null && _a !== void 0 ? _a : CommonProto_1.KycStatus.INVALID);
90
+ }
91
+ get suspended() {
92
+ return !!this.profile.suspendedAtMs;
93
+ }
94
+ /**
95
+ * Returns phone alias if present (prefers verified aliases first).
96
+ */
97
+ get phoneAlias() {
98
+ return this.aliases.find((a) => a.type === 'phone');
99
+ }
100
+ /**
101
+ * Returns the email alias of a user if present.
102
+ */
103
+ get emailAlias() {
104
+ return this.aliases.find((a) => a.type === 'email');
105
+ }
106
+ /**
107
+ * Returns the shipping address of a user if present.
108
+ */
109
+ get shippingAddress() {
110
+ var _a;
111
+ return (_a = this.user.shipping) === null || _a === void 0 ? void 0 : _a.address;
112
+ }
113
+ /**
114
+ * Returns the shipping info of a user if present.
115
+ */
116
+ get userShipping() {
117
+ return this.user.shipping;
118
+ }
119
+ /**
120
+ * Creates a new user. This needs to be done once for a given user after
121
+ * authentication has been setup.
122
+ */
123
+ async createUser() {
124
+ const [user, profile, profilePictures] = await Promise.all([
125
+ this.api.createUser(),
126
+ this.api.getAuthProfile(),
127
+ this.api.getProfilePictures(),
128
+ ]);
129
+ mobx_1.runInAction(() => {
130
+ this.user = user;
131
+ this.profile = profile;
132
+ this.profilePictures = profilePictures;
133
+ });
134
+ return user;
135
+ }
136
+ /**
137
+ * Completes the recovery process by completing 'light' KYC process. The
138
+ * way we do it now is by asking user to verify DOB. After DOB has been
139
+ * verified we re-enable account and then get a new token and add keys
140
+ * to the account.
141
+ *
142
+ * We use this for kids who don't have SSN set.
143
+ *
144
+ * @param {string} dob date of birth to verify the account ownership
145
+ * @return auth result with unrestricted access tokens
146
+ */
147
+ async verifyUserByDob(dob) {
148
+ return this.execute(async () => {
149
+ await this.api.verifyUser({
150
+ dob: date_fns_1.formatISO(dob, { representation: 'date' }),
151
+ });
152
+ await this.performLoad();
153
+ });
154
+ }
155
+ /**
156
+ * Completes the recovery process by completing 'light' KYC process. The
157
+ * way we do it now is by asking user to verify SSN. After SSN has been
158
+ * verified we re-enable account and then get a new token and add keys
159
+ * to the account.
160
+ *
161
+ * We use this for adults that have SSN set.
162
+ *
163
+ * @param {string} lastFourSsn last four digits of SSN
164
+ * @return auth result with unrestricted access tokens
165
+ */
166
+ async verifyUserBySSN(lastFourSsn) {
167
+ return this.execute(async () => {
168
+ await this.api.verifyUser({ lastFourSsn });
169
+ await this.performLoad();
170
+ });
171
+ }
172
+ async requestSponsorApproval() {
173
+ return this.execute(async () => {
174
+ return await this.api.requestSponsorApproval();
175
+ });
176
+ }
177
+ /**
178
+ * Sets the username for the user.
179
+ *
180
+ * @param {string} username
181
+ */
182
+ async setUsername(username, prompt) {
183
+ return this.execute(async () => {
184
+ await this.api.setUsername(username, prompt);
185
+ this.profile = await this.api.getAuthProfile();
186
+ });
187
+ }
188
+ /**
189
+ * Sets the Apple ID for the user.
190
+ *
191
+ * @param {string} clientId to indicate the environment
192
+ * - com.step.step or com.step.dev for iOS
193
+ * - com.step.web or com.step.web.dev for Android
194
+ * @param {string} authCode retrieved from the Apple SSO process
195
+ * @param prompt prompt to be displayed to the customer for strong auth
196
+ */
197
+ async setAppleId(clientId, authCode, prompt) {
198
+ return this.execute(async () => {
199
+ await this.api.setAppleId(clientId, authCode, prompt);
200
+ this.profile = await this.api.getAuthProfile();
201
+ });
202
+ }
203
+ /**
204
+ * Removes the Apple ID for the user.
205
+ *
206
+ * @param {string} appleId an Apple ID
207
+ * @param {string} prompt prompt to be displayed to the customer for strong auth
208
+ */
209
+ async removeAppleId(appleId, prompt) {
210
+ return this.execute(async () => {
211
+ await this.api.removeAppleId(appleId, prompt);
212
+ this.profile = await this.api.getAuthProfile();
213
+ });
214
+ }
215
+ /**
216
+ * Sets the Google ID for the user
217
+ *
218
+ * @param {string} idToken retrieved from the Google SSO process
219
+ * @param {string} prompt prompt to be displayed to the customer for strong auth
220
+ */
221
+ async setGoogleId(idToken, prompt) {
222
+ return this.execute(async () => {
223
+ await this.api.setGoogleId(idToken, prompt);
224
+ this.profile = await this.api.getAuthProfile();
225
+ });
226
+ }
227
+ /**
228
+ * Removes the Google ID for the user.
229
+ *
230
+ * @param {string} googleId a Google ID
231
+ * @param {string} prompt prompt to be displayed to the customer for strong auth
232
+ */
233
+ async removeGoogleId(googleId, prompt) {
234
+ return this.execute(async () => {
235
+ await this.api.removeGoogleId(googleId, prompt);
236
+ this.profile = await this.api.getAuthProfile();
237
+ });
238
+ }
239
+ async setNickname(nickname) {
240
+ await this.updateUser({ nickname });
241
+ }
242
+ async setName(firstName, lastName) {
243
+ await this.updateUser({
244
+ legalName: {
245
+ firstName: firstName.trim(),
246
+ lastName: lastName.trim(),
247
+ },
248
+ });
249
+ }
250
+ async setAddress(address) {
251
+ await this.updateUser({ address });
252
+ }
253
+ async setShippingAddress(address, options = {}) {
254
+ const { skipShippingAddressValidation } = options;
255
+ // Make sure the address is actually different
256
+ const { shippingAddress } = this;
257
+ if (!shippingAddress || !lodash_1.isEqual(address, shippingAddress)) {
258
+ await this.updateUser({
259
+ shippingAddress: address,
260
+ skipShippingAddressValidation,
261
+ });
262
+ }
263
+ }
264
+ async setShippingAddressIsConfirmed(isConfirmed) {
265
+ await this.updateUser({ shippingAddressIsConfirmed: isConfirmed });
266
+ }
267
+ async setSsn(ssn) {
268
+ await this.updateUser({ ssn });
269
+ }
270
+ async setLastFourSsn(lastFourSsn) {
271
+ await this.updateUser({ lastFourSsn });
272
+ }
273
+ async setDateOfBirth(dob) {
274
+ const dateString = date_fns_1.formatISO(dob, { representation: 'date' });
275
+ return this.updateUser({ dob: dateString });
276
+ }
277
+ async setPictureUrl(pictureUrl) {
278
+ return this.updateUser({ pictureUrl });
279
+ }
280
+ async setAutoBilling(autoBilling) {
281
+ return this.updateUser({ setAutoBilling: { autoBilling } });
282
+ }
283
+ /**
284
+ * Update multiple properties on the user object
285
+ * TODO(alexey): Delete all the other update methods above?
286
+ *
287
+ * @param {*} request with the properties we want to update on the user
288
+ */
289
+ async updateUser(request) {
290
+ if (lodash_1.isEqual(this.user, Object.assign(Object.assign({}, this.user), request))) {
291
+ return this.user;
292
+ }
293
+ return this.execute(async () => {
294
+ this.user = await this.api.updateUser(request);
295
+ return this.user;
296
+ });
297
+ }
298
+ /**
299
+ * Update profile picture
300
+ *
301
+ * @param image image data encoded into a data uri, {@see DataUri}
302
+ */
303
+ async setProfilePicture(image) {
304
+ return this.execute(async () => {
305
+ this.user.pictureUrl = await this.api.setProfilePicture(image.encode());
306
+ return this.user;
307
+ });
308
+ }
309
+ /**
310
+ * Remove profile picture
311
+ */
312
+ async removeProfilePicture() {
313
+ return this.execute(async () => {
314
+ await this.api.removeProfilePicture();
315
+ delete this.user.pictureUrl;
316
+ return this.user;
317
+ });
318
+ }
319
+ async onboard(performKyc, prompt) {
320
+ return this.execute(async () => {
321
+ const onboardResponse = await this.api.onboard(performKyc, prompt);
322
+ this.user.kycStatus = onboardResponse.kycStatus;
323
+ await this.updatePersonaFlow();
324
+ return onboardResponse;
325
+ });
326
+ }
327
+ async offboard() {
328
+ return this.execute(async () => {
329
+ const kycStatus = await this.api.offboard();
330
+ this.user.kycStatus = kycStatus;
331
+ this.personaFlow = undefined;
332
+ return kycStatus;
333
+ });
334
+ }
335
+ /**
336
+ * governmentId is the only option at the moment
337
+ *
338
+ * @param governmentId government id document details
339
+ * @param frontPhoto data:uri encoded front photo
340
+ * @param backPhoto optional data:uri encoded back photo
341
+ */
342
+ async uploadPersonaDocument(governmentId, frontPhoto, backPhoto) {
343
+ return this.execute(async () => {
344
+ await this.api.uploadPersonaDocument(governmentId, frontPhoto, backPhoto);
345
+ await this.performLoad();
346
+ });
347
+ }
348
+ /**
349
+ * Adds a key set for an existing user. This is typically done post account
350
+ * recovery.
351
+ *
352
+ * @param keySet key set to add
353
+ * @param options additional options for resetting keys, see {@link ResetKeysOptions}
354
+ */
355
+ async resetKeys(keySet, options) {
356
+ await this.api.resetKeys(keySet, options);
357
+ this.profile = await this.api.getAuthProfile();
358
+ }
359
+ /**
360
+ * Returns verification method that must be used by the client as part
361
+ * of the account recovery process.
362
+ *
363
+ * @return required verification method
364
+ */
365
+ async verificationMethod() {
366
+ return this.execute(async () => {
367
+ return this.api.verificationMethod();
368
+ });
369
+ }
370
+ /**
371
+ * Returns user's account session.
372
+ *
373
+ * @return {Session} session
374
+ */
375
+ async getSession() {
376
+ return this.execute(async () => this.api.getSession());
377
+ }
378
+ /**
379
+ * Checks whether the alias has already been claimed on the server
380
+ *
381
+ * @param {LoginAlias} alias to check
382
+ */
383
+ async aliasExists(alias) {
384
+ return this.execute(async () => this.api.aliasExists(alias));
385
+ }
386
+ /**
387
+ * Initiates the alias verification process on the server. The process is
388
+ * completed by invoking [completeAliasVerification].
389
+ *
390
+ * @param {LoginAlias} alias alias to verify
391
+ * @param otpDeliveryMethod optional param to configure OTP delivery methods
392
+ */
393
+ async startAliasVerification(alias, otpDeliveryMethod) {
394
+ return this.execute(async () => {
395
+ const response = await this.api.verifyStart(alias, otpDeliveryMethod);
396
+ this.profile = await this.api.getAuthProfile();
397
+ return response;
398
+ });
399
+ }
400
+ /**
401
+ * Initiates the masked alias re-verification process on the server.
402
+ * For email it sends an OTP.
403
+ *
404
+ * @param {MaskedAlias} alias alias to re-verify
405
+ * @param otpDeliveryMethod optional param to configure OTP delivery methods
406
+ */
407
+ async startMaskedAliasReVerify(alias, otpDeliveryMethod) {
408
+ return this.execute(async () => this.api.reVerify(alias, otpDeliveryMethod));
409
+ }
410
+ /**
411
+ * Adds phone to the user profile. The phone is not verified yet after it
412
+ * has been added.
413
+ *
414
+ * @param {string} phone
415
+ */
416
+ async addPhone(phone, prompt) {
417
+ return this.execute(async () => {
418
+ await this.api.addPhone(phone, prompt);
419
+ this.profile = await this.api.getAuthProfile();
420
+ });
421
+ }
422
+ /**
423
+ * Removes the phone alias for the user.
424
+ *
425
+ * @param {string} phone
426
+ * @param prompt prompt to be displayed to the customer for strong auth
427
+ */
428
+ async removePhone(phone, prompt) {
429
+ return this.execute(async () => {
430
+ await this.api.removePhone(phone, prompt);
431
+ this.profile = await this.api.getAuthProfile();
432
+ });
433
+ }
434
+ /**
435
+ * Adds email to the user profile. The email is not verified yet after it
436
+ * has been added.
437
+ *
438
+ * @param {string} email
439
+ * @param prompt prompt to be displayed to the customer for strong auth
440
+ */
441
+ async addEmail(email, prompt) {
442
+ return this.execute(async () => {
443
+ await this.api.addEmail(email, prompt);
444
+ this.profile = await this.api.getAuthProfile();
445
+ });
446
+ }
447
+ /**
448
+ * Sets the email for the user. The email is not verified yet after it
449
+ * has been set. Any other email the user had before this operation are deleted.
450
+ *
451
+ * @param {string} email
452
+ * @param prompt prompt to be displayed to the customer for strong auth
453
+ */
454
+ async setEmail(email, prompt) {
455
+ return this.execute(async () => {
456
+ await this.api.setEmail(email, prompt);
457
+ this.profile = await this.api.getAuthProfile();
458
+ });
459
+ }
460
+ /**
461
+ * Removes the email for the user.
462
+ *
463
+ * @param {string} email
464
+ * @param prompt prompt to be displayed to the customer for strong auth
465
+ */
466
+ async removeEmail(email, prompt) {
467
+ return this.execute(async () => {
468
+ await this.api.removeEmail(email, prompt);
469
+ this.profile = await this.api.getAuthProfile();
470
+ });
471
+ }
472
+ /**
473
+ * Subscribe to push notifications
474
+ *
475
+ * @param {string} instanceId the id that uniquely identifies the device / app combination
476
+ * @param {string} token the push token
477
+ * @param {TokenType} type the type of push token
478
+ */
479
+ async subscribeToPush(instanceId, token, type) {
480
+ return this.execute(async () => {
481
+ await this.api.subscribeToPush(instanceId, token, type);
482
+ });
483
+ }
484
+ /**
485
+ * Unsubscribe from push notifications
486
+ *
487
+ * @param {string} instanceId the id that uniquely identifies the device / app combination
488
+ */
489
+ async unsubscribeToPush(instanceId) {
490
+ return this.execute(async () => {
491
+ await this.api.unsubscribeToPush(instanceId);
492
+ });
493
+ }
494
+ /**
495
+ * @return the expiration date of the OTP if there is one, otherwise undefined
496
+ */
497
+ async hasPlaidOtp() {
498
+ return this.execute(async () => {
499
+ return await this.api.hasPlaidOtp();
500
+ });
501
+ }
502
+ /**
503
+ * Enables and returns the OTP code used to complete Plaid Exchange linking.
504
+ *
505
+ * @return Plaid OTP code and expiry
506
+ */
507
+ async fetchPlaidOtp() {
508
+ return await this.execute(async () => {
509
+ return await this.api.enablePlaidOtp();
510
+ });
511
+ }
512
+ /**
513
+ * Persona flow is not updated until the supported scan documents has been explicitly set.
514
+ * The supported scan documents for the client may be determined by features (loaded after
515
+ * this store). The Persona flow is locked based on the supported scan documents used in the
516
+ * first request, so we need to wait until we know what the supported scan documents are.
517
+ *
518
+ * @param supportedScanDocuments the document types which the client supports in-app scanning
519
+ */
520
+ async setSupportedScanDocuments(supportedScanDocuments) {
521
+ this.supportedScanDocuments = supportedScanDocuments;
522
+ await this.updatePersonaFlow();
523
+ }
524
+ async performLoad() {
525
+ const [user, profile, profilePictures] = await Promise.all([
526
+ this.api.getUser(),
527
+ this.api.getAuthProfile(),
528
+ this.api.getProfilePictures(),
529
+ ]);
530
+ this.user = user;
531
+ this.profile = profile;
532
+ this.profilePictures = profilePictures;
533
+ await this.updatePersonaFlow();
534
+ }
535
+ async updatePersonaFlow() {
536
+ // Persona flow is not updated unless supported scan documents has been explicitly set
537
+ if (this.includePersona && !!this.supportedScanDocuments) {
538
+ this.personaFlow = await this.api.getPersonaFlow(this.supportedScanDocuments);
539
+ }
540
+ }
541
+ }
542
+ UserStore.className = 'UserStore';
543
+ __decorate([
544
+ mobx_1.observable,
545
+ __metadata("design:type", Object)
546
+ ], UserStore.prototype, "user", void 0);
547
+ __decorate([
548
+ mobx_1.observable,
549
+ __metadata("design:type", Array)
550
+ ], UserStore.prototype, "profilePictures", void 0);
551
+ __decorate([
552
+ mobx_1.observable,
553
+ __metadata("design:type", Object)
554
+ ], UserStore.prototype, "profile", void 0);
555
+ __decorate([
556
+ mobx_1.observable,
557
+ __metadata("design:type", Object)
558
+ ], UserStore.prototype, "personaFlow", void 0);
559
+ __decorate([
560
+ mobx_1.computed,
561
+ __metadata("design:type", Object),
562
+ __metadata("design:paramtypes", [])
563
+ ], UserStore.prototype, "fullNameForCard", null);
564
+ __decorate([
565
+ mobx_1.computed,
566
+ __metadata("design:type", Object),
567
+ __metadata("design:paramtypes", [])
568
+ ], UserStore.prototype, "fullName", null);
569
+ __decorate([
570
+ mobx_1.computed,
571
+ __metadata("design:type", Array),
572
+ __metadata("design:paramtypes", [])
573
+ ], UserStore.prototype, "aliases", null);
574
+ __decorate([
575
+ mobx_1.computed,
576
+ __metadata("design:type", Object),
577
+ __metadata("design:paramtypes", [])
578
+ ], UserStore.prototype, "googleIdAlias", null);
579
+ __decorate([
580
+ mobx_1.computed,
581
+ __metadata("design:type", Object),
582
+ __metadata("design:paramtypes", [])
583
+ ], UserStore.prototype, "appleIdAlias", null);
584
+ __decorate([
585
+ mobx_1.computed,
586
+ __metadata("design:type", Object),
587
+ __metadata("design:paramtypes", [])
588
+ ], UserStore.prototype, "verifiedEmailAlias", null);
589
+ __decorate([
590
+ mobx_1.computed,
591
+ __metadata("design:type", Object),
592
+ __metadata("design:paramtypes", [])
593
+ ], UserStore.prototype, "username", null);
594
+ __decorate([
595
+ mobx_1.computed,
596
+ __metadata("design:type", Boolean),
597
+ __metadata("design:paramtypes", [])
598
+ ], UserStore.prototype, "isOnboarded", null);
599
+ __decorate([
600
+ mobx_1.computed,
601
+ __metadata("design:type", Boolean),
602
+ __metadata("design:paramtypes", [])
603
+ ], UserStore.prototype, "isKYCed", null);
604
+ __decorate([
605
+ mobx_1.computed,
606
+ __metadata("design:type", Boolean),
607
+ __metadata("design:paramtypes", [])
608
+ ], UserStore.prototype, "isKYCPending", null);
609
+ __decorate([
610
+ mobx_1.computed,
611
+ __metadata("design:type", Boolean),
612
+ __metadata("design:paramtypes", [])
613
+ ], UserStore.prototype, "suspended", null);
614
+ __decorate([
615
+ mobx_1.computed,
616
+ __metadata("design:type", Object),
617
+ __metadata("design:paramtypes", [])
618
+ ], UserStore.prototype, "phoneAlias", null);
619
+ __decorate([
620
+ mobx_1.computed,
621
+ __metadata("design:type", Object),
622
+ __metadata("design:paramtypes", [])
623
+ ], UserStore.prototype, "emailAlias", null);
624
+ __decorate([
625
+ mobx_1.computed,
626
+ __metadata("design:type", Object),
627
+ __metadata("design:paramtypes", [])
628
+ ], UserStore.prototype, "shippingAddress", null);
629
+ __decorate([
630
+ mobx_1.computed,
631
+ __metadata("design:type", Object),
632
+ __metadata("design:paramtypes", [])
633
+ ], UserStore.prototype, "userShipping", null);
634
+ __decorate([
635
+ mobx_1.action,
636
+ __metadata("design:type", Function),
637
+ __metadata("design:paramtypes", []),
638
+ __metadata("design:returntype", Promise)
639
+ ], UserStore.prototype, "createUser", null);
640
+ __decorate([
641
+ mobx_1.action,
642
+ __metadata("design:type", Function),
643
+ __metadata("design:paramtypes", [Date]),
644
+ __metadata("design:returntype", Promise)
645
+ ], UserStore.prototype, "verifyUserByDob", null);
646
+ __decorate([
647
+ mobx_1.action,
648
+ __metadata("design:type", Function),
649
+ __metadata("design:paramtypes", [String]),
650
+ __metadata("design:returntype", Promise)
651
+ ], UserStore.prototype, "verifyUserBySSN", null);
652
+ __decorate([
653
+ mobx_1.action,
654
+ __metadata("design:type", Function),
655
+ __metadata("design:paramtypes", []),
656
+ __metadata("design:returntype", Promise)
657
+ ], UserStore.prototype, "requestSponsorApproval", null);
658
+ __decorate([
659
+ mobx_1.action,
660
+ __metadata("design:type", Function),
661
+ __metadata("design:paramtypes", [String, String]),
662
+ __metadata("design:returntype", Promise)
663
+ ], UserStore.prototype, "setUsername", null);
664
+ __decorate([
665
+ mobx_1.action,
666
+ __metadata("design:type", Function),
667
+ __metadata("design:paramtypes", [String, String, String]),
668
+ __metadata("design:returntype", Promise)
669
+ ], UserStore.prototype, "setAppleId", null);
670
+ __decorate([
671
+ mobx_1.action,
672
+ __metadata("design:type", Function),
673
+ __metadata("design:paramtypes", [String, String]),
674
+ __metadata("design:returntype", Promise)
675
+ ], UserStore.prototype, "removeAppleId", null);
676
+ __decorate([
677
+ mobx_1.action,
678
+ __metadata("design:type", Function),
679
+ __metadata("design:paramtypes", [String, String]),
680
+ __metadata("design:returntype", Promise)
681
+ ], UserStore.prototype, "setGoogleId", null);
682
+ __decorate([
683
+ mobx_1.action,
684
+ __metadata("design:type", Function),
685
+ __metadata("design:paramtypes", [String, String]),
686
+ __metadata("design:returntype", Promise)
687
+ ], UserStore.prototype, "removeGoogleId", null);
688
+ __decorate([
689
+ mobx_1.action,
690
+ __metadata("design:type", Function),
691
+ __metadata("design:paramtypes", [String]),
692
+ __metadata("design:returntype", Promise)
693
+ ], UserStore.prototype, "setNickname", null);
694
+ __decorate([
695
+ mobx_1.action,
696
+ __metadata("design:type", Function),
697
+ __metadata("design:paramtypes", [String, String]),
698
+ __metadata("design:returntype", Promise)
699
+ ], UserStore.prototype, "setName", null);
700
+ __decorate([
701
+ mobx_1.action,
702
+ __metadata("design:type", Function),
703
+ __metadata("design:paramtypes", [Object]),
704
+ __metadata("design:returntype", Promise)
705
+ ], UserStore.prototype, "setAddress", null);
706
+ __decorate([
707
+ mobx_1.action,
708
+ __metadata("design:type", Function),
709
+ __metadata("design:paramtypes", [Object, Object]),
710
+ __metadata("design:returntype", Promise)
711
+ ], UserStore.prototype, "setShippingAddress", null);
712
+ __decorate([
713
+ mobx_1.action,
714
+ __metadata("design:type", Function),
715
+ __metadata("design:paramtypes", [Boolean]),
716
+ __metadata("design:returntype", Promise)
717
+ ], UserStore.prototype, "setShippingAddressIsConfirmed", null);
718
+ __decorate([
719
+ mobx_1.action,
720
+ __metadata("design:type", Function),
721
+ __metadata("design:paramtypes", [String]),
722
+ __metadata("design:returntype", Promise)
723
+ ], UserStore.prototype, "setSsn", null);
724
+ __decorate([
725
+ mobx_1.action,
726
+ __metadata("design:type", Function),
727
+ __metadata("design:paramtypes", [String]),
728
+ __metadata("design:returntype", Promise)
729
+ ], UserStore.prototype, "setLastFourSsn", null);
730
+ __decorate([
731
+ mobx_1.action,
732
+ __metadata("design:type", Function),
733
+ __metadata("design:paramtypes", [Date]),
734
+ __metadata("design:returntype", Promise)
735
+ ], UserStore.prototype, "setDateOfBirth", null);
736
+ __decorate([
737
+ mobx_1.action,
738
+ __metadata("design:type", Function),
739
+ __metadata("design:paramtypes", [String]),
740
+ __metadata("design:returntype", Promise)
741
+ ], UserStore.prototype, "setPictureUrl", null);
742
+ __decorate([
743
+ mobx_1.action,
744
+ __metadata("design:type", Function),
745
+ __metadata("design:paramtypes", [Boolean]),
746
+ __metadata("design:returntype", Promise)
747
+ ], UserStore.prototype, "setAutoBilling", null);
748
+ __decorate([
749
+ mobx_1.action,
750
+ __metadata("design:type", Function),
751
+ __metadata("design:paramtypes", [Object]),
752
+ __metadata("design:returntype", Promise)
753
+ ], UserStore.prototype, "updateUser", null);
754
+ __decorate([
755
+ mobx_1.action,
756
+ __metadata("design:type", Function),
757
+ __metadata("design:paramtypes", [http_1.DataUri]),
758
+ __metadata("design:returntype", Promise)
759
+ ], UserStore.prototype, "setProfilePicture", null);
760
+ __decorate([
761
+ mobx_1.action,
762
+ __metadata("design:type", Function),
763
+ __metadata("design:paramtypes", []),
764
+ __metadata("design:returntype", Promise)
765
+ ], UserStore.prototype, "removeProfilePicture", null);
766
+ __decorate([
767
+ mobx_1.action,
768
+ __metadata("design:type", Function),
769
+ __metadata("design:paramtypes", [Boolean, String]),
770
+ __metadata("design:returntype", Promise)
771
+ ], UserStore.prototype, "onboard", null);
772
+ __decorate([
773
+ mobx_1.action,
774
+ __metadata("design:type", Function),
775
+ __metadata("design:paramtypes", []),
776
+ __metadata("design:returntype", Promise)
777
+ ], UserStore.prototype, "offboard", null);
778
+ __decorate([
779
+ mobx_1.action,
780
+ __metadata("design:type", Function),
781
+ __metadata("design:paramtypes", [Object, String, Object]),
782
+ __metadata("design:returntype", Promise)
783
+ ], UserStore.prototype, "uploadPersonaDocument", null);
784
+ exports.UserStore = UserStore;
785
+ //# sourceMappingURL=UserStore.js.map