Skip to content

Commit

Permalink
chore: [IOBP-667,IOBP-666] Adapt user wallet definitions with the new…
Browse files Browse the repository at this point in the history
… openapi (#384)

* chore: Adapt user wallet definitions with the new openapi

* chore: prettify
  • Loading branch information
Hantex9 authored Jun 4, 2024
1 parent 6c2a272 commit 77c481d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"api_pn": "https://raw.githubusercontent.com/pagopa/io-backend/v13.32.1-RELEASE/api_pn.yaml",
"api_idpay": "https://raw.githubusercontent.com/pagopa/cstar-infrastructure/v6.5.0/src/domains/idpay-app/api/idpay_appio_full/openapi.appio.full.yml",
"api_fast_login": "https://raw.githubusercontent.com/pagopa/io-backend/v13.32.1-RELEASE/openapi/generated/api_fast_login.yaml",
"api_pagopa_walletv3": "https://raw.githubusercontent.com/pagopa/pagopa-infra/95477f43e87016a979d26b5a81eee32c308af96d/src/domains/wallet-app/api/payment-wallet/v1/_openapi.json.tpl",
"api_pagopa_ecommerce": "https://raw.githubusercontent.com/pagopa/pagopa-infra/95477f43e87016a979d26b5a81eee32c308af96d/src/domains/ecommerce-app/api/ecommerce-io/v1/_openapi.json.tpl",
"api_pagopa_walletv3": "https://raw.githubusercontent.com/pagopa/pagopa-infra/4ecc4c41f0a0692361d6d93ab7481a22c99bc21d/src/domains/wallet-app/api/payment-wallet/v1/_openapi.json.tpl",
"api_pagopa_ecommerce": "https://raw.githubusercontent.com/pagopa/pagopa-infra/4ecc4c41f0a0692361d6d93ab7481a22c99bc21d/src/domains/ecommerce-app/api/ecommerce-io/v1/_openapi.json.tpl",
"api_pagopa_biz_events": "https://raw.githubusercontent.com/pagopa/pagopa-infra/0a6784276fd43aaff7709dd90e0d379e77326f28/src/domains/bizevents-app/api/transaction-service/v1/_openapi-jwt.json.tpl",
"api_services": "https://raw.githubusercontent.com/pagopa/io-backend/master/api_services_app_backend.yaml",
"author": "Matteo Boschi",
Expand Down
1 change: 1 addition & 0 deletions src/features/payments/persistence/paymentMethods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const generateWalletDetailsByPaymentMethod = (
details: {
type: "PAYPAL",
maskedEmail: faker.internet.email(),
pspBusinessName: "Intesa Sanpaolo",
pspId: ulid()
},
paymentMethodAsset:
Expand Down
5 changes: 4 additions & 1 deletion src/features/payments/persistence/userWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ const generateUserWallet = (
creationDate: faker.date.past(2),
updateDate: faker.date.past(1),
clients: {
TEST: { status: WalletClientStatusEnum.ENABLED, lastUsage: undefined }
IO: {
status: WalletClientStatusEnum.ENABLED,
lastUsage: faker.date.recent()
}
},
applications: [
{
Expand Down

0 comments on commit 77c481d

Please sign in to comment.