@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,370 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.txKey = exports.TxHistoryItem = void 0;
4
+ const CommonProto_1 = require("../../api/generated/CommonProto");
5
+ const CommonTransactionProto_1 = require("../../api/generated/CommonTransactionProto");
6
+ const Amount_1 = require("../../http/models/Amount");
7
+ const TxDisplayStatus_1 = require("./TxDisplayStatus");
8
+ const TxItemType_1 = require("./TxItemType");
9
+ /**
10
+ * Transaction history item. A single item might be mapped to a sole transaction
11
+ * (refund or transfer) or to multiple transactions. The case for multiple
12
+ * transactions is:
13
+ * - Auth + Capture, we want to show them as one item, pending or cleared
14
+ * - Multiple auth requests if we want to deduce tips, etc
15
+ */
16
+ class TxHistoryItem {
17
+ /**
18
+ * Creates a new instance.
19
+ *
20
+ * @param initType initial transaction item type
21
+ * @param transaction initial transaction
22
+ * @param distinct if true, makes this item distinct from other items of the same payment/type
23
+ */
24
+ constructor(initType, transaction, distinct = false) {
25
+ this.initType = initType;
26
+ this.distinct = distinct;
27
+ this.transactions = [];
28
+ this.id = transaction.id;
29
+ this.paymentId = transaction.paymentId;
30
+ this.transactions.push(transaction);
31
+ }
32
+ /**
33
+ * Returns the item type
34
+ */
35
+ get type() {
36
+ return this.initType;
37
+ }
38
+ /**
39
+ * Unique key for the transaction history item.
40
+ *
41
+ * If this item is `distinct` the transaction ID is added to the key so that
42
+ * other transactions in this payment of the same type will not be added to
43
+ * this item.
44
+ *
45
+ * @deprecated SDK internal
46
+ */
47
+ get key() {
48
+ return `${txKey(this.type, this.paymentId)}${this.distinct ? this.id : ''}`;
49
+ }
50
+ /**
51
+ * Unique item's version. It only changes if the item's content changed
52
+ * and the item needs to be re-rendered.
53
+ *
54
+ * @deprecated SDK internal
55
+ */
56
+ get version() {
57
+ return this.transactions.map((t) => t.id).join(':');
58
+ }
59
+ /**
60
+ * Returns true if the transaction should be hidden from history.
61
+ *
62
+ * @deprecated Use TxHistory.visibleItems
63
+ */
64
+ get isHidden() {
65
+ return this.totalAmount === 0.0;
66
+ }
67
+ /**
68
+ * Transaction time (as opposed to ledger append time).
69
+ */
70
+ get time() {
71
+ return new Date(parseInt(this.firstTransaction().timeMs, 10));
72
+ }
73
+ /**
74
+ * Transaction amount.
75
+ */
76
+ get amount() {
77
+ return {
78
+ currency: this.firstTransaction().amount.currency,
79
+ value: this.totalAmount.toString(10),
80
+ };
81
+ }
82
+ /**
83
+ * Transaction description.
84
+ */
85
+ get description() {
86
+ switch (this.type) {
87
+ case TxItemType_1.TxItemType.DISPUTE:
88
+ return 'Dispute Credit';
89
+ case TxItemType_1.TxItemType.DISPUTE_REVERSAL:
90
+ return 'Dispute Credit Reversal';
91
+ default:
92
+ return this.findRecent((t) => {
93
+ return t.description;
94
+ });
95
+ }
96
+ }
97
+ /**
98
+ * Returns the merchant, preferring the enriched version
99
+ */
100
+ get card() {
101
+ return this.findRecent(({ context }) => {
102
+ return context === null || context === void 0 ? void 0 : context.card;
103
+ });
104
+ }
105
+ /**
106
+ * Returns the transfer transaction context
107
+ */
108
+ get transfer() {
109
+ return this.findRecent(({ context }) => {
110
+ return context === null || context === void 0 ? void 0 : context.transfer;
111
+ });
112
+ }
113
+ /**
114
+ * Returns the funding transaction context
115
+ */
116
+ get funding() {
117
+ return this.findRecent(({ context }) => {
118
+ return context === null || context === void 0 ? void 0 : context.funding;
119
+ });
120
+ }
121
+ /**
122
+ * Returns the P2P transaction context
123
+ */
124
+ get p2p() {
125
+ return this.findRecent(({ context }) => {
126
+ return context === null || context === void 0 ? void 0 : context.p2p;
127
+ });
128
+ }
129
+ /**
130
+ * Returns the referral redemption transaction context
131
+ */
132
+ get referral() {
133
+ return this.findRecent(({ context }) => {
134
+ return context === null || context === void 0 ? void 0 : context.referral;
135
+ });
136
+ }
137
+ /**
138
+ * Returns the ACH In transaction context.
139
+ */
140
+ get achIn() {
141
+ return this.findRecent(({ context }) => {
142
+ return context === null || context === void 0 ? void 0 : context.achIn;
143
+ });
144
+ }
145
+ /**
146
+ * Returns the ACH Out transaction context.
147
+ */
148
+ get achOut() {
149
+ return this.findRecent(({ context }) => {
150
+ return context === null || context === void 0 ? void 0 : context.achOut;
151
+ });
152
+ }
153
+ /**
154
+ * Returns the ATM withdrawal transaction context.
155
+ */
156
+ get atmWithdrawal() {
157
+ return this.findRecent(({ context }) => {
158
+ return context === null || context === void 0 ? void 0 : context.atmWithdrawal;
159
+ });
160
+ }
161
+ /**
162
+ * Returns the Cash Deposit transaction context.
163
+ */
164
+ get cashDeposit() {
165
+ return this.findRecent(({ context }) => {
166
+ return context === null || context === void 0 ? void 0 : context.cashDeposit;
167
+ });
168
+ }
169
+ /**
170
+ * Returns the payment context.
171
+ */
172
+ get paymentContext() {
173
+ return this.findRecent(({ paymentContext }) => {
174
+ return paymentContext;
175
+ });
176
+ }
177
+ /**
178
+ * Returns transaction category
179
+ */
180
+ get category() {
181
+ return this.findRecent(({ category }) => {
182
+ return category;
183
+ });
184
+ }
185
+ /**
186
+ * Returns funding category if a funding transaction exists.
187
+ */
188
+ get fundingCategory() {
189
+ return this.findRecent(({ type, category }) => {
190
+ return type === CommonProto_1.TransactionType.FUNDING ? category : undefined;
191
+ });
192
+ }
193
+ /**
194
+ * Returns true if the transaction has an auth, but no capture
195
+ */
196
+ get pending() {
197
+ return this.status === CommonTransactionProto_1.TransactionStatus.PENDING;
198
+ }
199
+ /**
200
+ * Returns the status displayed for this history item.
201
+ */
202
+ get displayStatus() {
203
+ if (this.isDisputed) {
204
+ return TxDisplayStatus_1.TxDisplayStatus.OPEN_DISPUTE;
205
+ }
206
+ if (this.transactions.some(({ type }) => type === CommonProto_1.TransactionType.CARD_DISPUTE_RESOLUTION ||
207
+ type === CommonProto_1.TransactionType.CARD_DISPUTE_INITIATION)) {
208
+ return TxDisplayStatus_1.TxDisplayStatus.DISPUTED;
209
+ }
210
+ switch (this.initType) {
211
+ case TxItemType_1.TxItemType.REFUND:
212
+ return TxDisplayStatus_1.TxDisplayStatus.REFUND;
213
+ case TxItemType_1.TxItemType.DISPUTE:
214
+ return TxDisplayStatus_1.TxDisplayStatus.CREDIT;
215
+ case TxItemType_1.TxItemType.DISPUTE_REVERSAL:
216
+ return TxDisplayStatus_1.TxDisplayStatus.CREDIT_REVERSAL;
217
+ }
218
+ switch (this.status) {
219
+ case CommonTransactionProto_1.TransactionStatus.COMMITTED:
220
+ return TxDisplayStatus_1.TxDisplayStatus.COMMITTED;
221
+ case CommonTransactionProto_1.TransactionStatus.ROLLED_BACK:
222
+ return TxDisplayStatus_1.TxDisplayStatus.DECLINED;
223
+ case CommonTransactionProto_1.TransactionStatus.PENDING:
224
+ return TxDisplayStatus_1.TxDisplayStatus.PENDING;
225
+ }
226
+ return undefined;
227
+ }
228
+ /**
229
+ * Returns pending if any transactions are pending or no transactions exist;
230
+ * rolled-back if all transactions are rolled-back; otherwise committed.
231
+ */
232
+ get status() {
233
+ // Ignore any zero amount transactions (e.g. metadata updates).
234
+ const balanceTransactions = this.transactions.filter(({ amount }) => parseFloat(amount.value) !== 0);
235
+ if (balanceTransactions.length === 0) {
236
+ return CommonTransactionProto_1.TransactionStatus.PENDING;
237
+ }
238
+ else if (balanceTransactions.some(({ status }) => status === CommonTransactionProto_1.TransactionStatus.PENDING)) {
239
+ return CommonTransactionProto_1.TransactionStatus.PENDING;
240
+ }
241
+ else if (balanceTransactions.every(({ status }) => status === CommonTransactionProto_1.TransactionStatus.ROLLED_BACK)) {
242
+ return CommonTransactionProto_1.TransactionStatus.ROLLED_BACK;
243
+ }
244
+ return CommonTransactionProto_1.TransactionStatus.COMMITTED;
245
+ }
246
+ /**
247
+ * Returns error codes associated with any of the payment's transactions.
248
+ */
249
+ get errorCodes() {
250
+ return Array.from(new Set(this.transactions
251
+ .filter((tx) => tx.errorCode != null)
252
+ .map((tx) => tx.errorCode)));
253
+ }
254
+ /**
255
+ * Returns errors associated with any of the payment's transactions.
256
+ */
257
+ get errors() {
258
+ // Use a set of string values to emulate equality comparison for the set of errors
259
+ const errorSet = new Set();
260
+ return this.transactions
261
+ .filter((tx) => tx.errorCode != null)
262
+ .filter((tx) => {
263
+ var _a, _b;
264
+ const value = `${tx.errorCode}-${(_a = tx.limit) === null || _a === void 0 ? void 0 : _a.id}-${(_b = tx.limit) === null || _b === void 0 ? void 0 : _b.override}`;
265
+ if (!errorSet.has(value)) {
266
+ errorSet.add(value);
267
+ return true;
268
+ }
269
+ else {
270
+ return false;
271
+ }
272
+ })
273
+ .map((tx) => {
274
+ return {
275
+ errorCode: tx.errorCode,
276
+ limit: tx.limit,
277
+ };
278
+ });
279
+ }
280
+ /**
281
+ * Returns true if there is an open dispute for this payment.
282
+ */
283
+ get isDisputed() {
284
+ const disputes = this.transactions.filter(({ type }) => type === CommonProto_1.TransactionType.CARD_DISPUTE_INITIATION);
285
+ const resolutions = this.transactions.filter(({ type }) => type === CommonProto_1.TransactionType.CARD_DISPUTE_RESOLUTION);
286
+ return disputes.length > resolutions.length;
287
+ }
288
+ /**
289
+ * Returns the transaction id for the first CARD_CAPTURE or CARD_DEBIT we find in the transaction list that can be
290
+ * used to dispute this payment or undefined if no such transaction exists
291
+ */
292
+ get transactionIdForDispute() {
293
+ var _a;
294
+ return (_a = this.transactions.find((transaction) => [CommonProto_1.TransactionType.CARD_CAPTURE, CommonProto_1.TransactionType.CARD_DEBIT].includes(transaction.type))) === null || _a === void 0 ? void 0 : _a.id;
295
+ }
296
+ /**
297
+ * Adds another transaction to the item. An example is adding a capture to
298
+ * the item that started as auth.
299
+ * If the transaction already exists, update it.
300
+ *
301
+ * @param transaction transaction to add
302
+ */
303
+ addTransaction(transaction) {
304
+ if (transaction.paymentId !== this.paymentId) {
305
+ throw Error('Invalid payment id');
306
+ }
307
+ const transactions = this.transactions.filter(({ id }) => id !== transaction.id);
308
+ transactions.push(transaction);
309
+ // Need to ensure stable sort such that if a transaction with the same timestamp as a previous
310
+ // transaction was added, then they will maintain ordering.
311
+ this.transactions = txStableSort(transactions);
312
+ }
313
+ /**
314
+ * Merge this TxHistoryItems with another by adding all transactions of that item to this one.
315
+ *
316
+ * @param other TxHistoryItem
317
+ */
318
+ merge(other) {
319
+ other.transactions.forEach((t) => this.addTransaction(t));
320
+ }
321
+ firstTransaction() {
322
+ if (this.transactions.length === 0) {
323
+ throw Error('Empty transaction list');
324
+ }
325
+ return this.transactions[0];
326
+ }
327
+ findByType(type) {
328
+ return this.findRecent((t) => {
329
+ return t.type === type ? t : undefined;
330
+ });
331
+ }
332
+ /**
333
+ * Helper to search through transactions (from newest to oldest), extracting
334
+ * a property, and returning the most recent instance of that property which
335
+ * is not undefined
336
+ */
337
+ findRecent(callback) {
338
+ return this.transactions
339
+ .slice()
340
+ .reverse()
341
+ .map((t) => {
342
+ return callback(t);
343
+ })
344
+ .find((x) => x !== undefined);
345
+ }
346
+ get totalAmount() {
347
+ if (this.status === CommonTransactionProto_1.TransactionStatus.ROLLED_BACK) {
348
+ return parseFloat(this.firstTransaction().amount.value);
349
+ }
350
+ const txs = this.transactions.filter((t) => [CommonTransactionProto_1.TransactionStatus.COMMITTED, CommonTransactionProto_1.TransactionStatus.PENDING].includes(t.status));
351
+ const sumAmount = Amount_1.transactionsSumAmount(txs);
352
+ return Amount_1.numberfied(sumAmount);
353
+ }
354
+ }
355
+ exports.TxHistoryItem = TxHistoryItem;
356
+ function txKey(type, paymentId) {
357
+ return `${type}:${paymentId}`;
358
+ }
359
+ exports.txKey = txKey;
360
+ const txStableSort = (transactions) => {
361
+ const stabilized = transactions.map((t, index) => [t, index]);
362
+ stabilized.sort((a, b) => {
363
+ const order = parseInt(a[0].timeMs, 10) - parseInt(b[0].timeMs, 10);
364
+ if (order != 0)
365
+ return order;
366
+ return a[1] - b[1];
367
+ });
368
+ return stabilized.map((el) => el[0]);
369
+ };
370
+ //# sourceMappingURL=TxHistoryItem.js.map
@@ -0,0 +1,176 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TxHistoryUpdate = void 0;
4
+ const CommonProto_1 = require("../../api/generated/CommonProto");
5
+ const CommonTransactionProto_1 = require("../../api/generated/CommonTransactionProto");
6
+ const PurchaseTxHistoryItem_1 = require("./PurchaseTxHistoryItem");
7
+ const TxHistoryItem_1 = require("./TxHistoryItem");
8
+ const TxItemType_1 = require("./TxItemType");
9
+ /**
10
+ * Transaction history helper class. Instantiated with existing items, it provides helper methods
11
+ * to add new transactions.
12
+ */
13
+ class TxHistoryUpdate {
14
+ constructor(items) {
15
+ this.itemsById = new Map();
16
+ items.forEach((item) => {
17
+ this.itemsById.set(item.key, item);
18
+ });
19
+ }
20
+ /**
21
+ * @return the history items in sorted order.
22
+ */
23
+ build() {
24
+ return [...this.itemsById.values()].sort((v1, v2) => {
25
+ return v2.time.getTime() - v1.time.getTime();
26
+ });
27
+ }
28
+ /**
29
+ * Adds a history item to the history. If there's already an item in the history with the same
30
+ * key then merge the two together, otherwise add it as an individual item.
31
+ */
32
+ addItem(t) {
33
+ switch (t.type) {
34
+ case TxItemType_1.TxItemType.P2P:
35
+ this.addP2P(t);
36
+ break;
37
+ case TxItemType_1.TxItemType.ACH_OUT_CREDIT:
38
+ this.addAchFunding(t);
39
+ break;
40
+ case TxItemType_1.TxItemType.FUNDING:
41
+ this.addCardFunding(t);
42
+ break;
43
+ default:
44
+ this.addItemBasic(t);
45
+ }
46
+ }
47
+ /**
48
+ * Tries to merge or add the given pending TxHistoryItem with an already existing item in the history, if possible.
49
+ * Returns true if the item was merged or added and false otherwise.
50
+ */
51
+ mergeOrAddPendingItems(t) {
52
+ if (t instanceof PurchaseTxHistoryItem_1.PurchaseTxHistoryItem) {
53
+ const transaction = t.firstTransaction();
54
+ if ([
55
+ CommonProto_1.TransactionType.CARD_DISPUTE_INITIATION,
56
+ CommonProto_1.TransactionType.CARD_DISPUTE_RESOLUTION,
57
+ CommonProto_1.TransactionType.CARD_CAPTURE,
58
+ ].includes(transaction.type)) {
59
+ return this.addCardTransaction(t.firstTransaction());
60
+ }
61
+ }
62
+ if (t.type === TxItemType_1.TxItemType.P2P) {
63
+ return this.mergeP2PWithExisting(t);
64
+ }
65
+ return this.mergeWithExistingBasic(t);
66
+ }
67
+ getTx(key) {
68
+ return this.itemsById.get(key);
69
+ }
70
+ /**
71
+ * 1. CARD_CAPTURE transactions are separated into their own TxHistoryItem
72
+ * if there is a CARD_AUTH transaction for the payment
73
+ * 2. Separate CARD_CAPTURE TxHistoryItems inherit the timestamp
74
+ * of the associated CARD_AUTH transaction
75
+ * 3. CARD_DISPUTE_INITIATION and CARD_DISPUTE_RESOLUTION transactions will group
76
+ * with their associated separate CARD_CAPTURE TxHistoryItem
77
+ *
78
+ * @return true if the item was successfully added to the TxHistoryUpdate
79
+ */
80
+ addCardTransaction(transaction) {
81
+ var _a, _b, _c;
82
+ const purchaseTxHistoryItem = this.itemsById.get(TxHistoryItem_1.txKey(TxItemType_1.TxItemType.PURCHASE, transaction.paymentId));
83
+ if (!purchaseTxHistoryItem) {
84
+ return false;
85
+ }
86
+ const authTransaction = purchaseTxHistoryItem.cardAuthTransaction;
87
+ if (!authTransaction) {
88
+ return false;
89
+ }
90
+ // older CARD_DISPUTE_INITIATION and CARD_DISPUTE_RESOLUTION transactions might not have
91
+ // a transactionId in their dispute context in order to group them distinctly.
92
+ // Therefore this allows them to group with the original CARD_AUTH
93
+ const distinct = CommonProto_1.TransactionType.CARD_CAPTURE === transaction.type ||
94
+ !!((_c = (_b = (_a = transaction.context) === null || _a === void 0 ? void 0 : _a.card) === null || _b === void 0 ? void 0 : _b.dispute) === null || _c === void 0 ? void 0 : _c.transactionId);
95
+ this.addItem(new PurchaseTxHistoryItem_1.PurchaseTxHistoryItem(transaction, distinct, authTransaction.timeMs));
96
+ return true;
97
+ }
98
+ addP2P(t) {
99
+ // check if existing corresponding ach funding
100
+ const existingAchFunding = this.getTx(TxHistoryItem_1.txKey(TxItemType_1.TxItemType.ACH_OUT_CREDIT, t.paymentId));
101
+ if (existingAchFunding) {
102
+ existingAchFunding.merge(t);
103
+ // If the p2p transaction is declined also add it a single declined p2p item.
104
+ if (t.status === CommonTransactionProto_1.TransactionStatus.ROLLED_BACK) {
105
+ this.addItemBasic(t);
106
+ }
107
+ return;
108
+ }
109
+ // check if existing corresponding card funding
110
+ const existingCardFunding = this.getTx(TxHistoryItem_1.txKey(TxItemType_1.TxItemType.FUNDING, t.paymentId));
111
+ if (existingCardFunding) {
112
+ // Merging committed p2p transfer would cause the key to be different. Reset the key.
113
+ this.itemsById.delete(existingCardFunding.key);
114
+ existingCardFunding.merge(t);
115
+ this.itemsById.set(existingCardFunding.key, existingCardFunding);
116
+ // If the p2p transaction is declined also add it a single declined p2p item.
117
+ if (t.status === CommonTransactionProto_1.TransactionStatus.ROLLED_BACK) {
118
+ this.addItemBasic(t);
119
+ }
120
+ return;
121
+ }
122
+ this.addItemBasic(t);
123
+ }
124
+ addAchFunding(t) {
125
+ const existingP2P = this.getTx(TxHistoryItem_1.txKey(TxItemType_1.TxItemType.P2P, t.paymentId));
126
+ if (existingP2P) {
127
+ if (existingP2P.status !== CommonTransactionProto_1.TransactionStatus.ROLLED_BACK) {
128
+ this.itemsById.delete(existingP2P.key);
129
+ }
130
+ t.merge(existingP2P);
131
+ this.itemsById.set(t.key, t);
132
+ return;
133
+ }
134
+ this.addItemBasic(t);
135
+ }
136
+ addCardFunding(t) {
137
+ const existingP2P = this.getTx(TxHistoryItem_1.txKey(TxItemType_1.TxItemType.P2P, t.paymentId));
138
+ if (existingP2P) {
139
+ if (existingP2P.status !== CommonTransactionProto_1.TransactionStatus.ROLLED_BACK) {
140
+ this.itemsById.delete(existingP2P.key);
141
+ }
142
+ t.merge(existingP2P);
143
+ this.itemsById.set(t.key, t);
144
+ return;
145
+ }
146
+ this.addItemBasic(t);
147
+ }
148
+ addItemBasic(t) {
149
+ if (!this.mergeWithExistingBasic(t)) {
150
+ this.itemsById.set(t.key, t);
151
+ }
152
+ }
153
+ mergeWithExistingBasic(t) {
154
+ const existing = this.getTx(t.key);
155
+ if (existing) {
156
+ existing.merge(t);
157
+ return true;
158
+ }
159
+ return false;
160
+ }
161
+ mergeP2PWithExisting(t) {
162
+ const existingAchFunding = this.getTx(TxHistoryItem_1.txKey(TxItemType_1.TxItemType.ACH_OUT_CREDIT, t.paymentId));
163
+ if (existingAchFunding) {
164
+ existingAchFunding.merge(t);
165
+ return true;
166
+ }
167
+ const existingCardFunding = this.getTx(TxHistoryItem_1.txKey(TxItemType_1.TxItemType.FUNDING, t.paymentId));
168
+ if (existingCardFunding) {
169
+ existingCardFunding.merge(t);
170
+ return true;
171
+ }
172
+ return false;
173
+ }
174
+ }
175
+ exports.TxHistoryUpdate = TxHistoryUpdate;
176
+ //# sourceMappingURL=TxHistoryUpdate.js.map
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TxItemType = void 0;
4
+ /**
5
+ * Transaction history item type. We have fewer of the types here than we have
6
+ * transaction types.
7
+ */
8
+ var TxItemType;
9
+ (function (TxItemType) {
10
+ TxItemType[TxItemType["PURCHASE"] = 0] = "PURCHASE";
11
+ TxItemType[TxItemType["REFUND"] = 1] = "REFUND";
12
+ TxItemType[TxItemType["TRANSFER"] = 2] = "TRANSFER";
13
+ TxItemType[TxItemType["DISPUTE"] = 3] = "DISPUTE";
14
+ TxItemType[TxItemType["DISPUTE_REVERSAL"] = 4] = "DISPUTE_REVERSAL";
15
+ TxItemType[TxItemType["FUNDING"] = 5] = "FUNDING";
16
+ TxItemType[TxItemType["P2P"] = 6] = "P2P";
17
+ TxItemType[TxItemType["P2P_REVERSAL"] = 7] = "P2P_REVERSAL";
18
+ TxItemType[TxItemType["REFERRAL"] = 8] = "REFERRAL";
19
+ TxItemType[TxItemType["OTHER"] = 9] = "OTHER";
20
+ TxItemType[TxItemType["ACH"] = 10] = "ACH";
21
+ TxItemType[TxItemType["ACH_OUT_DEBIT"] = 11] = "ACH_OUT_DEBIT";
22
+ TxItemType[TxItemType["ACH_OUT_CREDIT"] = 12] = "ACH_OUT_CREDIT";
23
+ TxItemType[TxItemType["ATM_WITHDRAWAL"] = 13] = "ATM_WITHDRAWAL";
24
+ TxItemType[TxItemType["CASH_DEPOSIT"] = 14] = "CASH_DEPOSIT";
25
+ })(TxItemType = exports.TxItemType || (exports.TxItemType = {}));
26
+ //# sourceMappingURL=TxItemType.js.map
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getDefaultAccount = exports.createRandomAdultWithCard = void 0;
4
+ const CommonTransactionProto_1 = require("../api/generated/CommonTransactionProto");
5
+ const AccountStore_1 = require("../store/AccountStore");
6
+ const ApiFactory_1 = require("./ApiFactory");
7
+ const UserFactory_1 = require("./UserFactory");
8
+ async function createRandomAdultWithCard(baseUrl, cardType) {
9
+ const user = await UserFactory_1.setupKycedAdult(baseUrl);
10
+ const { auth, firstName, lastName } = user;
11
+ const api = ApiFactory_1.createApi(baseUrl, auth);
12
+ const account = await getDefaultAccount(api);
13
+ const card = await account.issueCard(cardType, `${firstName} ${lastName}`);
14
+ return { account, api, card, user };
15
+ }
16
+ exports.createRandomAdultWithCard = createRandomAdultWithCard;
17
+ async function getDefaultAccount(api, options = {}) {
18
+ const { includeClosedAccounts, transactionStatuses } = options;
19
+ const defaultAccount = await api.getDefaultAccount();
20
+ const accountStore = new AccountStore_1.AccountStore(defaultAccount, api, includeClosedAccounts, transactionStatuses !== null && transactionStatuses !== void 0 ? transactionStatuses : [
21
+ CommonTransactionProto_1.TransactionStatus.PENDING,
22
+ CommonTransactionProto_1.TransactionStatus.COMMITTED,
23
+ ]);
24
+ await accountStore.load();
25
+ return accountStore;
26
+ }
27
+ exports.getDefaultAccount = getDefaultAccount;
28
+ //# sourceMappingURL=AccountFactory.js.map
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deviceToken = exports.createTestApi = exports.stripeHttpClient = exports.httpClient = exports.tokenSettings = exports.tokenStorage = exports.createApi = void 0;
4
+ const __1 = require("../");
5
+ const CommonProto_1 = require("../api/generated/CommonProto");
6
+ const StripeHttpClient_1 = require("../http/StripeHttpClient");
7
+ const testMetadata = {
8
+ appVersion: 'tests',
9
+ bundleId: 'tests',
10
+ platform: 'tests',
11
+ };
12
+ function createApi(baseUrl, auth, options = {}) {
13
+ const { settings = tokenSettings(), storage = tokenStorage(), device = deviceToken, keyAuthenticator = __1.NullAuthenticator, } = options;
14
+ return new __1.Api(httpClient(baseUrl), settings, storage, auth, keyAuthenticator, device);
15
+ }
16
+ exports.createApi = createApi;
17
+ function tokenStorage(storage = {}) {
18
+ return storage;
19
+ }
20
+ exports.tokenStorage = tokenStorage;
21
+ function tokenSettings(preferences = {}) {
22
+ return preferences;
23
+ }
24
+ exports.tokenSettings = tokenSettings;
25
+ function httpClient(baseUrl) {
26
+ return new __1.HttpClient({
27
+ baseURL: baseUrl,
28
+ metadata: testMetadata,
29
+ });
30
+ }
31
+ exports.httpClient = httpClient;
32
+ function stripeHttpClient() {
33
+ return new StripeHttpClient_1.StripeHttpClient(testMetadata);
34
+ }
35
+ exports.stripeHttpClient = stripeHttpClient;
36
+ function createTestApi(baseUrl) {
37
+ return new __1.TestApi({
38
+ baseURL: baseUrl,
39
+ metadata: testMetadata,
40
+ });
41
+ }
42
+ exports.createTestApi = createTestApi;
43
+ function deviceToken() {
44
+ return Promise.resolve({
45
+ provider: CommonProto_1.DeviceProvider.IOVATION,
46
+ token: 'test',
47
+ });
48
+ }
49
+ exports.deviceToken = deviceToken;
50
+ //# sourceMappingURL=ApiFactory.js.map
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.newNeedsReviewDebitCard = exports.newDebitCard = exports.FAILURE_AMOUNT = exports.SUCCESS_AMOUNT = exports.INVALID_CARD = exports.NEEDS_REVIEW_DEBIT_CARD = exports.VALID_DEBIT_CARD = void 0;
4
+ const Amount_1 = require("../http/models/Amount");
5
+ exports.VALID_DEBIT_CARD = '9400121999999999';
6
+ exports.NEEDS_REVIEW_DEBIT_CARD = '9400300999994444';
7
+ exports.INVALID_CARD = '9400300999993333';
8
+ exports.SUCCESS_AMOUNT = Amount_1.amountUSD(0.05);
9
+ exports.FAILURE_AMOUNT = Amount_1.amountUSD(0.01);
10
+ const newDebitCard = (cardNumber = exports.VALID_DEBIT_CARD) => ({
11
+ cardNumber,
12
+ addressVerification: '95121',
13
+ cvvCode: '123',
14
+ expiry: { month: 1, year: 2050 },
15
+ nameOnCard: { firstName: 'Test', lastName: 'User' },
16
+ });
17
+ exports.newDebitCard = newDebitCard;
18
+ const newNeedsReviewDebitCard = (cardNumber = exports.NEEDS_REVIEW_DEBIT_CARD) => ({
19
+ cardNumber,
20
+ addressVerification: '95121',
21
+ cvvCode: '123',
22
+ expiry: { month: 1, year: 2050 },
23
+ nameOnCard: { firstName: 'NeedsReviewTest', lastName: 'User' },
24
+ });
25
+ exports.newNeedsReviewDebitCard = newNeedsReviewDebitCard;
26
+ //# sourceMappingURL=DebitCardFactory.js.map