Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SC-2439: Change the Earning status for completed offers to paid after the purchase invoices status in Netvisor is changed to paid. #80

Merged
Show file tree
Hide file tree
Changes from 3 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
11 changes: 10 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,13 @@ HUB_SPOT_ACCESS_TOKEN=
HUB_SPOT_DEAL_OWNER_ID=
# We should disable it on local instances to avoid deal duplicates
# TODO: remove it after migration from Firebase RDB to SQL
HUB_SPOT_DISABLED=true
HUB_SPOT_DISABLED=true

# Netvisor
NETVISOR_BASE_URL=https://isvapi.netvisor.fi/netvisor/
NETVISOR_ORG_ID=
NETVISOR_CUSTOMER_ID=
NETVISOR_CUSTOMER_KEY=
NETVISOR_PARTNER_ID=
NETVISOR_PARTNER_KEY=
NETVISOR_SENDER=
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const initialRules = {
'warn',
{ ignore: ['eslint-enable'] },
], // we don't need to comment why we used "eslint-enable"
'eslint-comments/disable-enable-pair': 'off',
'prefer-arrow-callback': 'error',
'arrow-parens': ['error', 'always'],
'quote-props': ['error', 'consistent-as-needed'],
Expand Down
7 changes: 7 additions & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ words:
- 'uuidv4'
- 'appspot'
- 'hubspot'
- 'purchaseinvoicelist'
# Netvisor headers
- 'Organisation'
- 'TRANSID'
# Netvisor query parameters
- 'paymentstatus'
- 'lastmodifiedstart'
9 changes: 9 additions & 0 deletions env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ declare global {
HUB_SPOT_ACCESS_TOKEN: string;
HUB_SPOT_DEAL_OWNER_ID: string;
HUB_SPOT_DISABLED: 'true' | 'false';

// Netvisor
NETVISOR_BASE_URL: string;
NETVISOR_ORG_ID: string;
NETVISOR_CUSTOMER_ID: string;
NETVISOR_CUSTOMER_KEY: string;
NETVISOR_PARTNER_ID: string;
NETVISOR_PARTNER_KEY: string;
NETVISOR_SENDER: string;
}
}
}
Expand Down
Loading