Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/flash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2 # https://helm.sh/docs/topics/charts/#the-apiversion-field
name: flash
description: A Helm chart for the Flash application backend
type: application
version: 0.1.0
appVersion: 0.7.20
version: 0.1.1
appVersion: 0.7.27
dependencies:
- name: redis
repository: https://charts.bitnami.com/bitnami
Expand Down
85 changes: 66 additions & 19 deletions charts/flash/apollo-router/supergraph.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -155,32 +155,66 @@ type AccountUpdateNotificationSettingsPayload
errors: [Error!]!
}

type AccountUpgradePayload
@join__type(graph: PUBLIC)
{
errors: [Error]
id: String
status: String
}

type AccountUpgradeRequest
@join__type(graph: PUBLIC)
{
businessAddress: String
businessName: String
address: Address!
bankAccount: BankAccount
currentLevel: AccountLevel!
email: String
email: String!
fullName: String!
idDocument: Boolean!

"""ERPNext document name"""
name: String!
phoneNumber: String
phoneNumber: String!
requestedLevel: AccountLevel!

"""Workflow status of the upgrade request"""
"""Status of the upgrade request"""
status: String!
terminalsRequested: Int!
username: String!
}

type AccountUpgradeRequestPayload
@join__type(graph: PUBLIC)
{
errors: [Error!]!
errors: [Error]
upgradeRequest: AccountUpgradeRequest
}

type Address
@join__type(graph: PUBLIC)
{
city: String!
country: String!
line1: String!
line2: String
postalCode: String
state: String!
title: String!
}

input AddressInput
@join__type(graph: PUBLIC)
{
city: String!
country: String!
line1: String!
line2: String
postalCode: String
state: String!
title: String!
}

"""An Opaque Bearer token"""
scalar AuthToken
@join__type(graph: PUBLIC)
Expand All @@ -199,6 +233,26 @@ type Bank
name: String!
}

type BankAccount
@join__type(graph: PUBLIC)
{
accountNumber: Int!
accountType: String!
bankBranch: String!
bankName: String!
currency: String!
}

input BankAccountInput
@join__type(graph: PUBLIC)
{
accountNumber: Int!
accountType: String!
bankBranch: String!
bankName: String!
currency: String!
}

"""
A wallet belonging to an account which contains a BTC balance and a list of transactions.
"""
Expand Down Expand Up @@ -259,19 +313,12 @@ type BuildInformation
input BusinessAccountUpgradeRequestInput
@join__type(graph: PUBLIC)
{
accountNumber: Int
accountType: String
bankBranch: String
bankName: String
businessAddress: String
businessName: String
currency: String
email: String
address: AddressInput!
bankAccount: BankAccountInput
fullName: String!
idDocument: String
level: AccountLevel!
phoneNumber: String
terminalRequested: Boolean
terminalsRequested: Int = 0
}

type CallbackEndpoint
Expand Down Expand Up @@ -1038,7 +1085,7 @@ type Mutation
accountEnableNotificationChannel(input: AccountEnableNotificationChannelInput!): AccountUpdateNotificationSettingsPayload!
accountUpdateDefaultWalletId(input: AccountUpdateDefaultWalletIdInput!): AccountUpdateDefaultWalletIdPayload!
accountUpdateDisplayCurrency(input: AccountUpdateDisplayCurrencyInput!): AccountUpdateDisplayCurrencyPayload!
businessAccountUpgradeRequest(input: BusinessAccountUpgradeRequestInput!): SuccessPayload!
businessAccountUpgradeRequest(input: BusinessAccountUpgradeRequestInput!): AccountUpgradePayload!
callbackEndpointAdd(input: CallbackEndpointAddInput!): CallbackEndpointAddPayload!
callbackEndpointDelete(input: CallbackEndpointDeleteInput!): SuccessPayload!
captchaCreateChallenge: CaptchaCreateChallengePayload!
Expand Down Expand Up @@ -1308,7 +1355,7 @@ input OnChainUsdPaymentSendInput
type OnChainUsdTxFee
@join__type(graph: PUBLIC)
{
amount: CentAmount!
amount: FractionalCentAmount!
}

type OneDayAccountLimit implements AccountLimit
Expand Down Expand Up @@ -1505,7 +1552,7 @@ type Query
mobileVersions: [MobileVersions]
npubByUsername(username: Username!): npubByUsername
onChainTxFee(address: OnChainAddress!, amount: SatAmount!, speed: PayoutSpeed = FAST, walletId: WalletId!): OnChainTxFee!
onChainUsdTxFee(address: OnChainAddress!, amount: CentAmount!, speed: PayoutSpeed = FAST, walletId: WalletId!): OnChainUsdTxFee!
onChainUsdTxFee(address: OnChainAddress!, amount: FractionalCentAmount!, speed: PayoutSpeed = FAST, walletId: WalletId!): OnChainUsdTxFee!
onChainUsdTxFeeAsBtcDenominated(address: OnChainAddress!, amount: SatAmount!, speed: PayoutSpeed = FAST, walletId: WalletId!): OnChainUsdTxFee!
quizQuestions: [QuizQuestion] @deprecated(reason: "TODO: remove. we don't need a non authenticated version of this query. the users can only do the query while authenticated")

Expand Down
8 changes: 4 additions & 4 deletions charts/flash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ galoy:
repository: lnflash/flash-app
imagePullPolicy: Always
# digests managed by flash-app pipeline in concourse
digest: sha256:95d1800337b5859a6f287fe9343db4f4b646a0bcdc84c191611f663084418dcc
git_ref: "8b6dfe7"
digest: sha256:5b0b03278990e7f3d3086510108fac4efbc1cfe5c0a9ac15b9ce9cf5491a2d1e
git_ref: "52ab5ea"
websocket:
repository: docker.io/lnflash/galoy-app-websocket
# digests managed by flash-app pipeline in concourse
digest: "sha256:fe27834bf208fb6d2b40ff0dbaeec107f2abcdc040ecacf2d934fc48f03d1d3d"
digest: "sha256:342927f04aa2b0febe282699f3a167aed97cbf451c26f724d794608cc693b016"
mongodbMigrate:
repository: docker.io/lnflash/galoy-app-migrate
# digests managed by flash-app pipeline in concourse
digest: "sha256:41c7f44fee0b5b25f5f182f35a0af73844295ae35408329c12c2556b196c7e91"
digest: "sha256:1978044e6cbe21b3cb3a787459a2bfcfb9d1d9cb635828a069f6b5f26fed337a"
mongoBackup:
repository: us.gcr.io/galoy-org/mongo-backup
# Currently using Galoy's images. To make changes, see /images & /ci in this repo
Expand Down
Loading