@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,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AccessTokenRefresher = void 0;
4
+ const __1 = require("../..");
5
+ /**
6
+ * Will refresh access token when expired using refresh token provided
7
+ */
8
+ class AccessTokenRefresher {
9
+ constructor(client, tokens) {
10
+ this.client = client;
11
+ this.tokens = tokens;
12
+ }
13
+ /**
14
+ * Request access token. If current access token has expired,
15
+ * it will try and refresh access token using refresh token.
16
+ * If refresh token has expired, it will return undefined.
17
+ *
18
+ * If it returns undefined the refresher has expired and a new one needs to be created.
19
+ *
20
+ * @return access token, or undefined if refresher has expired (no longer has valid refresh token)
21
+ */
22
+ async accessToken() {
23
+ const { accessToken, refreshToken } = this.tokens;
24
+ if (accessToken && !accessToken.hasExpired) {
25
+ return accessToken;
26
+ }
27
+ return this.refreshAccessToken(refreshToken);
28
+ }
29
+ async refreshAccessToken(refreshToken) {
30
+ // refresh token is no longer valid. This refresher instance has expired
31
+ if (refreshToken.hasExpired) {
32
+ return;
33
+ }
34
+ console.info('Access token is invalid generating new one ...');
35
+ const res = await this.client.execute((api) => api.authServiceRefresh({
36
+ refreshToken: refreshToken.value,
37
+ clientTimeMs: Date.now().toString(),
38
+ }));
39
+ const accessToken = __1.AuthToken.parse(res.accessToken.value);
40
+ this.tokens.accessToken = accessToken;
41
+ return accessToken;
42
+ }
43
+ }
44
+ exports.AccessTokenRefresher = AccessTokenRefresher;
45
+ //# sourceMappingURL=AccessTokenRefresher.js.map
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthenticationFailureError = void 0;
4
+ class AuthenticationFailureError extends Error {
5
+ constructor(message) {
6
+ super(message);
7
+ }
8
+ }
9
+ exports.AuthenticationFailureError = AuthenticationFailureError;
10
+ //# sourceMappingURL=AuthenticationFailureError.js.map
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NullAuthenticator = exports.KeySetAccessTokenProvider = void 0;
4
+ const __1 = require("../..");
5
+ const AuthLevel_1 = require("../../keystore/AuthLevel");
6
+ const AccessTokenRefresher_1 = require("./AccessTokenRefresher");
7
+ /**
8
+ * Manage access tokens using keys registered with authentication server
9
+ *
10
+ * Once refresh token expires, it will create a new token using the provided keySet
11
+ * and exchange it with the server for tokens to be used for authentication with services
12
+ */
13
+ class KeySetAccessTokenProvider {
14
+ constructor(client, settings, userId, keySet, keyAuthenticator, device) {
15
+ this.client = client;
16
+ this.settings = settings;
17
+ this.userId = userId;
18
+ this.keySet = keySet;
19
+ this.keyAuthenticator = keyAuthenticator;
20
+ this.device = device;
21
+ /**
22
+ * Token cache by authentication level
23
+ */
24
+ this.refresherByAuthLevel = new Map();
25
+ }
26
+ async token(authLevel, prompt) {
27
+ var _a;
28
+ if (authLevel == AuthLevel_1.AuthLevel.RESTRICTED) {
29
+ // We are only managing LOW and STRONG tokens with keys. If an API
30
+ // requires RESTRICTED level, we'll provide LOW.
31
+ authLevel = AuthLevel_1.AuthLevel.LOW;
32
+ }
33
+ const refresher = this.refresherByAuthLevel.get(authLevel);
34
+ return ((_a = (await (refresher === null || refresher === void 0 ? void 0 : refresher.accessToken()))) !== null && _a !== void 0 ? _a : (await this.requestNewAccessToken(authLevel, prompt)));
35
+ }
36
+ /**
37
+ * Request new token pair via token exchange with the server using provided keys
38
+ *
39
+ * @param authLevel the access level for the token, see {@see AuthLevel}
40
+ * @param prompt prompt surfaced to the user when requesting a high privilege token
41
+ *
42
+ * @return valid access token
43
+ */
44
+ async requestNewAccessToken(authLevel, prompt) {
45
+ var _a;
46
+ const sessionLifetimeMs = (_a = KeySetAccessTokenProvider.ttl.get(authLevel)) !== null && _a !== void 0 ? _a : __1.REFRESH_TOKEN_TTL_MS;
47
+ const { keySet, userId, client, settings } = this;
48
+ const token = await keySet.generateJwtToken(authLevel, prompt, settings.clockSkew);
49
+ const key = keySet.publicKeys().find((e) => e.factors == authLevel);
50
+ // if the key does not have a password, use null authenticator instead
51
+ const keyAuthenticator = (key === null || key === void 0 ? void 0 : key.hasPassword)
52
+ ? this.keyAuthenticator
53
+ : exports.NullAuthenticator;
54
+ const device = this.device && (await this.device());
55
+ return keyAuthenticator.authenticate(async (password) => {
56
+ const { accessToken, refreshToken } = await client.execute((api) => api.authServiceLogin({
57
+ alias: { userId },
58
+ credentials: [{ tokenCredential: { token, password } }],
59
+ sessionLifetimeMs: sessionLifetimeMs.toString(10),
60
+ clientTimeMs: Date.now().toString(),
61
+ device,
62
+ }));
63
+ const tokens = {
64
+ accessToken: __1.AuthToken.parse(accessToken.value),
65
+ refreshToken: __1.AuthToken.parse(refreshToken.value),
66
+ };
67
+ this.settings.clockSkew = tokens.refreshToken.clockSkew;
68
+ this.refresherByAuthLevel.set(authLevel, new AccessTokenRefresher_1.AccessTokenRefresher(this.client, tokens));
69
+ return tokens.accessToken;
70
+ }, prompt);
71
+ }
72
+ }
73
+ exports.KeySetAccessTokenProvider = KeySetAccessTokenProvider;
74
+ /**
75
+ * Index of token validity for different privilege levels
76
+ */
77
+ KeySetAccessTokenProvider.ttl = new Map([
78
+ [AuthLevel_1.AuthLevel.STRONG, __1.STRONG_AUTH_TOKEN_TTL_MS],
79
+ [AuthLevel_1.AuthLevel.LOW, __1.REFRESH_TOKEN_TTL_MS],
80
+ ]);
81
+ exports.NullAuthenticator = {
82
+ authenticate: (onPassword) => onPassword(),
83
+ };
84
+ //# sourceMappingURL=KeySetAccessTokenProvider.js.map
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RefreshingAccessTokenProvider = void 0;
4
+ const AccessTokenRefresher_1 = require("./AccessTokenRefresher");
5
+ const AuthenticationFailureError_1 = require("./AuthenticationFailureError");
6
+ /**
7
+ * Will refresh expired access token, using provided refresh token, just-in-time.
8
+ */
9
+ class RefreshingAccessTokenProvider {
10
+ constructor(client, tokens) {
11
+ this.refresher = new AccessTokenRefresher_1.AccessTokenRefresher(client, tokens);
12
+ this.authLevel = tokens.refreshToken.authLevel;
13
+ }
14
+ async token(authLevel) {
15
+ // if we don't support auth level requested, throw error
16
+ if (this.authLevel < authLevel) {
17
+ throw new AuthenticationFailureError_1.AuthenticationFailureError(`required auth level ${authLevel}, supported auth level ${this.authLevel}`);
18
+ }
19
+ const accessToken = await this.refresher.accessToken();
20
+ if (!accessToken) {
21
+ throw new AuthenticationFailureError_1.AuthenticationFailureError('Could not refresh access token');
22
+ }
23
+ return accessToken;
24
+ }
25
+ }
26
+ exports.RefreshingAccessTokenProvider = RefreshingAccessTokenProvider;
27
+ //# sourceMappingURL=RefreshingAccessTokenProvider.js.map
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./AccessTokenProvider"), exports);
14
+ __exportStar(require("./AccessTokenRefresher"), exports);
15
+ __exportStar(require("./KeySetAccessTokenProvider"), exports);
16
+ __exportStar(require("./RefreshingAccessTokenProvider"), exports);
17
+ __exportStar(require("./AuthenticationFailureError"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./Api"), exports);
14
+ __exportStar(require("./PublicApi"), exports);
15
+ __exportStar(require("./AppMetadata"), exports);
16
+ __exportStar(require("./HttpClient"), exports);
17
+ __exportStar(require("./HttpError"), exports);
18
+ __exportStar(require("./TestApi"), exports);
19
+ __exportStar(require("./DataUri"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fromAliasProto = exports.fromProfileProto = void 0;
4
+ function fromProfileProto(profile) {
5
+ let aliases = [];
6
+ if (profile.unverifiedAliases) {
7
+ aliases = filterOutNull(profile.unverifiedAliases.map((alias) => fromAliasProto(alias, false)));
8
+ }
9
+ if (profile.verifiedAliases) {
10
+ aliases = aliases.concat(filterOutNull(profile.verifiedAliases.map((alias) => fromAliasProto(alias, true))));
11
+ }
12
+ return {
13
+ aliases,
14
+ blockedAtMs: profile.blockedAtMs
15
+ ? parseInt(profile.blockedAtMs, 10)
16
+ : undefined,
17
+ disabledAtMs: profile.disabledAtMs
18
+ ? parseInt(profile.disabledAtMs, 10)
19
+ : undefined,
20
+ groups: profile.groups,
21
+ suspendedAtMs: profile.suspendedAtMs
22
+ ? parseInt(profile.suspendedAtMs, 10)
23
+ : undefined,
24
+ closedAtMs: profile.closedAtMs
25
+ ? parseInt(profile.closedAtMs, 10)
26
+ : undefined,
27
+ closure: profile.closure,
28
+ };
29
+ }
30
+ exports.fromProfileProto = fromProfileProto;
31
+ function fromAliasProto(proto, verified) {
32
+ if (proto.phoneNumber) {
33
+ return { verified, value: proto.phoneNumber, type: 'phone' };
34
+ }
35
+ if (proto.email) {
36
+ return { verified, value: proto.email, type: 'email' };
37
+ }
38
+ if (proto.userId) {
39
+ return { verified, value: proto.userId, type: 'id' };
40
+ }
41
+ if (proto.username) {
42
+ return { verified, value: proto.username, type: 'username' };
43
+ }
44
+ if (proto.appleId) {
45
+ return {
46
+ verified,
47
+ value: proto.appleId.id,
48
+ type: 'appleId',
49
+ email: proto.appleId.email,
50
+ isPrivateEmail: proto.appleId.isPrivateEmail,
51
+ isEmailVerified: proto.appleId.isEmailVerified,
52
+ };
53
+ }
54
+ if (proto.googleId) {
55
+ return {
56
+ verified,
57
+ value: proto.googleId.id,
58
+ type: 'googleId',
59
+ email: proto.googleId.email,
60
+ isEmailVerified: proto.googleId.isEmailVerified,
61
+ };
62
+ }
63
+ // Ignore session ID
64
+ return null;
65
+ }
66
+ exports.fromAliasProto = fromAliasProto;
67
+ function filterOutNull(aliases) {
68
+ const output = [];
69
+ aliases.forEach((it) => {
70
+ if (it !== null) {
71
+ output.push(it);
72
+ }
73
+ });
74
+ return output;
75
+ }
76
+ //# sourceMappingURL=Alias.js.map
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.transactionsSumAmount = exports.compareAmounts = exports.addAmounts = exports.numberfied = exports.amountUSD = exports.emptyAmount = void 0;
7
+ const numeral_1 = __importDefault(require("numeral"));
8
+ function emptyAmount() {
9
+ return { currency: 'USD', value: '0.00' };
10
+ }
11
+ exports.emptyAmount = emptyAmount;
12
+ function amountUSD(value) {
13
+ return { currency: 'USD', value: numeral_1.default(value).format('0.00') };
14
+ }
15
+ exports.amountUSD = amountUSD;
16
+ function numberfied(amount) {
17
+ return numeral_1.default(amount.value).value();
18
+ }
19
+ exports.numberfied = numberfied;
20
+ /**
21
+ * Adds 2 amounts together (throws an error if amounts are in different currencies)
22
+ *
23
+ * @param {Amount} amount1
24
+ * @param {Amount} amount2
25
+ */
26
+ function addAmounts(amount1, amount2) {
27
+ if (amount1.currency !== amount2.currency) {
28
+ throw new Error(`Cannot add different currencies: ${amount1.currency} ${amount2.currency}`);
29
+ }
30
+ const total = numberfied(amount1) + numberfied(amount2);
31
+ return { value: numeral_1.default(total).format('0.000'), currency: amount1.currency };
32
+ }
33
+ exports.addAmounts = addAmounts;
34
+ function compareAmounts(amount1, amount2) {
35
+ if (!amount2) {
36
+ return 1;
37
+ }
38
+ const diff = numeral_1.default(amount1.value).value() - numeral_1.default(amount2.value).value();
39
+ if (diff === 0) {
40
+ return 0;
41
+ }
42
+ if (diff > 0) {
43
+ return 1;
44
+ }
45
+ return -1;
46
+ }
47
+ exports.compareAmounts = compareAmounts;
48
+ function transactionsSumAmount(transactions) {
49
+ return transactions.reduce((previous, current) => addAmounts(previous, current.amount), emptyAmount());
50
+ }
51
+ exports.transactionsSumAmount = transactionsSumAmount;
52
+ //# sourceMappingURL=Amount.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AuthResult.js.map
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthToken = exports.TOKEN_TTL_SAFETY_BUFFER_MS = void 0;
4
+ const jsrsasign_1 = require("jsrsasign");
5
+ const __1 = require("../..");
6
+ exports.TOKEN_TTL_SAFETY_BUFFER_MS = 60000;
7
+ /**
8
+ * JWT token.
9
+ */
10
+ class AuthToken {
11
+ constructor({ value, authLevel, expiresAtMs, subject, clockSkew, }) {
12
+ this.value = value;
13
+ this.expiresAtMs = expiresAtMs;
14
+ this.authLevel = authLevel;
15
+ this.subject = subject;
16
+ this.clockSkew = clockSkew;
17
+ }
18
+ static parse(token) {
19
+ const parts = token.split('.');
20
+ const payload = parts[1];
21
+ const claims = JSON.parse(jsrsasign_1.b64toutf8(payload));
22
+ // TODO(sam): we are supporting two types of tokens to represent a
23
+ // "disabled" state: { level: STRONG, disabled: true } and
24
+ // { level: RESTRICTED, disabled: null }. If we receive the
25
+ // former, we convert it to the latter. Remove this backwards
26
+ // compatible logic after all clients are updated and server
27
+ // only sends the new format. https://trello.com/c/PQDcBlxp
28
+ let authLevel;
29
+ if (claims.d) {
30
+ authLevel = __1.AuthLevel.RESTRICTED;
31
+ }
32
+ else {
33
+ authLevel = claims.al;
34
+ }
35
+ const clockSkew = claims.cs || 0;
36
+ console.debug('[AuthToken] clock skew is: ', clockSkew, ' client time:', Date.now());
37
+ return new AuthToken({
38
+ expiresAtMs: claims.exp * 1000,
39
+ value: token,
40
+ authLevel,
41
+ subject: claims.sub,
42
+ clockSkew,
43
+ });
44
+ }
45
+ get hasExpired() {
46
+ return (this.expiresAtMs - exports.TOKEN_TTL_SAFETY_BUFFER_MS + this.clockSkew <
47
+ Date.now());
48
+ }
49
+ }
50
+ exports.AuthToken = AuthToken;
51
+ //# sourceMappingURL=AuthToken.js.map
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validateCard = exports.isZip = void 0;
4
+ function isZip(address) {
5
+ return typeof address === 'string';
6
+ }
7
+ exports.isZip = isZip;
8
+ /**
9
+ * Validates the given card.
10
+ *
11
+ * @param card debit card to validate
12
+ */
13
+ function validateCard(card) {
14
+ if (!/^(\d{13,19})$/.test(card.cardNumber)) {
15
+ throw new Error('Card must be 13-19 digit number');
16
+ }
17
+ if (card.expiry.month < 1 || card.expiry.month > 12) {
18
+ throw new Error('Invalid card expiry month');
19
+ }
20
+ if (card.expiry.year.toString(10).length !== 4) {
21
+ throw new Error('Invalid card expiry year');
22
+ }
23
+ if (card.cvvCode.length !== 0 &&
24
+ card.cvvCode.length !== 3 &&
25
+ card.cvvCode.length !== 4) {
26
+ throw new Error('Invalid card CVV');
27
+ }
28
+ }
29
+ exports.validateCard = validateCard;
30
+ //# sourceMappingURL=DebitCard.js.map
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeatureDescriptor = void 0;
4
+ /**
5
+ * Describes a feature flag.
6
+ */
7
+ class FeatureDescriptor {
8
+ constructor(flag) {
9
+ this.flag = flag;
10
+ }
11
+ /**
12
+ * Returns the reason the feature is enabled.
13
+ */
14
+ get reason() {
15
+ return this.flag.reason;
16
+ }
17
+ /**
18
+ * Returns enabled at timestamp.
19
+ */
20
+ get enableAt() {
21
+ if (!this.flag.enableAt) {
22
+ return;
23
+ }
24
+ return new Date(parseInt(this.flag.enableAt, 10));
25
+ }
26
+ /**
27
+ * Returns if the feature is enabled now.
28
+ */
29
+ isEnabled() {
30
+ const { enableAt } = this;
31
+ return !enableAt || enableAt.valueOf() < Date.now();
32
+ }
33
+ }
34
+ exports.FeatureDescriptor = FeatureDescriptor;
35
+ //# sourceMappingURL=FeatureDescriptor.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=JwtToken.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=OtpSession.js.map
@@ -0,0 +1,43 @@
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.Page = void 0;
13
+ const mobx_1 = require("mobx");
14
+ class Page {
15
+ constructor(data, loadNextPage) {
16
+ this.loadNextPage = loadNextPage;
17
+ this.data = data;
18
+ }
19
+ static of(data, loadNextPage) {
20
+ return new Page(data, loadNextPage);
21
+ }
22
+ static empty() {
23
+ return new Page([], async () => Page.empty());
24
+ }
25
+ async fetchNextPage() {
26
+ const next = await this.loadNextPage();
27
+ this.data = this.data.concat(next.data);
28
+ this.loadNextPage = next.loadNextPage;
29
+ return next.data;
30
+ }
31
+ }
32
+ __decorate([
33
+ mobx_1.observable,
34
+ __metadata("design:type", Array)
35
+ ], Page.prototype, "data", void 0);
36
+ __decorate([
37
+ mobx_1.action,
38
+ __metadata("design:type", Function),
39
+ __metadata("design:paramtypes", []),
40
+ __metadata("design:returntype", Promise)
41
+ ], Page.prototype, "fetchNextPage", null);
42
+ exports.Page = Page;
43
+ //# sourceMappingURL=Page.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PersonaFlow = void 0;
4
+ class PersonaFlow {
5
+ constructor(inquiryUrl, scanDocuments) {
6
+ this.inquiryUrl = inquiryUrl;
7
+ this.scanDocuments = scanDocuments;
8
+ }
9
+ }
10
+ exports.PersonaFlow = PersonaFlow;
11
+ //# sourceMappingURL=PersonaFlow.js.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.emptyProfile = void 0;
4
+ function emptyProfile() {
5
+ return {
6
+ aliases: [],
7
+ groups: [],
8
+ };
9
+ }
10
+ exports.emptyProfile = emptyProfile;
11
+ //# sourceMappingURL=Profile.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Referrals.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ScheduleDatePair.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SubAccount.js.map
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubAccountType = void 0;
4
+ var SubAccountType;
5
+ (function (SubAccountType) {
6
+ SubAccountType["DEPOSIT"] = "Deposit";
7
+ SubAccountType["CREDIT"] = "Credit";
8
+ SubAccountType["SAVINGS"] = "Savings";
9
+ })(SubAccountType = exports.SubAccountType || (exports.SubAccountType = {}));
10
+ //# sourceMappingURL=SubAccountType.js.map
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.emptyUser = void 0;
4
+ const CommonProto_1 = require("../../api/generated/CommonProto");
5
+ function emptyUser() {
6
+ return {
7
+ autoBilling: false,
8
+ id: '',
9
+ kycStatus: CommonProto_1.KycStatus.UNKNOWN,
10
+ };
11
+ }
12
+ exports.emptyUser = emptyUser;
13
+ //# sourceMappingURL=User.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=VerificationMethod.js.map
package/dist/index.js ADDED
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ var __importStar = (this && this.__importStar) || function (mod) {
18
+ if (mod && mod.__esModule) return mod;
19
+ var result = {};
20
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
21
+ __setModuleDefault(result, mod);
22
+ return result;
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.Test = void 0;
26
+ __exportStar(require("./internal"), exports);
27
+ exports.Test = __importStar(require("./test"));
28
+ //# sourceMappingURL=index.js.map