diff --git a/manifests/base/deployment.yaml b/manifests/base/deployment.yaml index 14b23fc8f..9707213d3 100644 --- a/manifests/base/deployment.yaml +++ b/manifests/base/deployment.yaml @@ -180,6 +180,21 @@ spec: configMapKeyRef: name: sendgrid-config key: contacts-endpoint + - name: MARKETING_LIST_ID + valueFrom: + configMapKeyRef: + name: sendgrid-config + key: marketing-list-id + - name: SENDGRID_SENDER_ID + valueFrom: + configMapKeyRef: + name: sendgrid-config + key: sender-id + - name: SEND_MARKETING_NOTIFICATIONS + valueFrom: + configMapKeyRef: + name: sendgrid-config + key: enable-notifications - name: SENDGRID_API_KEY valueFrom: secretKeyRef: diff --git a/manifests/base/sendgrid-config.yaml b/manifests/base/sendgrid-config.yaml index a6ce48571..8b5f3d437 100644 --- a/manifests/base/sendgrid-config.yaml +++ b/manifests/base/sendgrid-config.yaml @@ -6,3 +6,6 @@ data: sender-email: info@podkrepi.bg internal-notifications-email: qa@podkrepi.bg contacts-endpoint: /v3/marketing/contacts + marketing-list-id: 90f99c9a-45a1-489d-88ea-77dd2593a670 + sender-id: '2000909' + enable-notifications: 'true' diff --git a/schema.prisma b/schema.prisma index d7f17619b..ac34c82cd 100644 --- a/schema.prisma +++ b/schema.prisma @@ -1,7 +1,6 @@ generator client { provider = "prisma-client-js" binaryTargets = ["native"] - previewFeatures = ["orderByNulls"] } generator dbml { @@ -566,7 +565,7 @@ model BankAccount { @@map("bank_accounts") } -// Stores all movements for Podkrepi.bg IBAN +// Stores all movements for Podkrepi.bg IBAN model BankTransaction { id String @id @unique @db.VarChar(250) /// IBAN number of the account tracked