@defra-fish/sales-api-service

1.57.0 • Public • Published

Rod Licensing - Sales API

The Rod Licensing Sales API is responsible for communication with Microsoft Dynamics, processing sales from each of the sales channels and managing reference data.

Environment variables

name description required default valid notes
NODE_ENV Node environment no development, test, production
PORT Port number no 4000
TRANSACTION_STAGING_TABLE The DynamoDB table used for transaction staging yes
TRANSACTION_STAGING_TABLE_TTL The time to live for records in the transaction staging table (in seconds) no 168 hours
TRANSACTION_STAGING_HISTORY_TABLE The DynamoDB table used for transaction staging history yes
TRANSACTION_STAGING_HISTORY_TABLE_TTL The time to live for records in the transaction staging history table (in seconds) no 90 days
PAYMENT_JOURNALS_TABLE The DynamoDB table used for payment journals yes
PAYMENT_JOURNALS_TABLE_TTL The time to live for records in the payment journals table (in seconds) no 168 hours
TRANSACTION_QUEUE_URL The SQS queue URL used for processing transactions yes
HAPI_KEEP_ALIVE_TIMEOUT_MS Configure the keep-alive timeout on the server listener no 1 minute
AIRBRAKE_HOST URL of airbrake host no
AIRBRAKE_PROJECT_KEY Project key for airbrake logging no

See also:

Prerequisites

See main project documentation.

Running the application

$ npm start

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.28.0-multibuy-rc.00multibuy-rc
0.0.1-beta.560beta
1.58.0-rc.243rc
1.57.024latest

Version History

VersionDownloads (Last 7 Days)Published
1.58.0-rc.243
1.58.0-rc.146
1.58.0-rc.046
1.57.024
1.57.0-rc.125
1.57.0-rc.115
1.57.0-rc.103
1.57.0-rc.92
1.57.0-rc.81
1.57.0-rc.70
1.57.0-rc.61
1.57.0-rc.51
1.57.0-rc.41
1.57.0-rc.31
1.57.0-rc.21
1.57.0-rc.10
1.57.0-rc.01
1.56.01
1.55.00
1.55.0-rc.61
1.55.0-rc.51
1.55.0-rc.42
1.55.0-rc.30
1.55.0-rc.20
1.55.0-rc.10
1.55.0-rc.00
1.54.01
1.53.00
1.52.00
1.51.00
1.51.0-rc.50
1.51.0-rc.40
1.51.0-rc.30
1.51.0-rc.20
1.51.0-rc.10
1.51.0-rc.00
1.50.00
1.50.0-rc.100
1.50.0-rc.90
1.50.0-rc.80
1.50.0-rc.71
1.50.0-rc.60
1.50.0-rc.50
1.50.0-rc.40
1.50.0-rc.30
1.50.0-rc.20
1.50.0-rc.10
1.50.0-rc.00
1.49.01
1.49.0-rc.110
1.49.0-rc.100
1.49.0-rc.90
1.49.0-rc.81
1.49.0-rc.70
1.49.0-rc.60
1.49.0-rc.50
1.49.0-rc.40
1.49.0-rc.30
1.49.0-rc.20
1.49.0-rc.10
1.49.0-rc.00
1.48.00
1.48.0-rc.80
1.48.0-rc.71
1.48.0-rc.60
1.48.0-rc.50
1.48.0-rc.40
1.48.0-rc.30
1.48.0-rc.20
1.48.0-rc.10
1.48.0-rc.00
1.47.00
1.47.0-rc.180
1.47.0-rc.170
1.47.0-rc.160
1.47.0-rc.150
1.47.0-rc.140
1.47.0-rc.130
1.47.0-rc.121
1.47.0-rc.110
1.47.0-rc.100
1.47.0-rc.91
1.47.0-rc.81
1.47.0-rc.70
1.47.0-rc.60
1.47.0-rc.50
1.47.0-rc.40
1.47.0-rc.30
1.47.0-rc.20
1.47.0-rc.10
1.47.0-rc.00
1.46.01
1.46.0-rc.110
1.46.0-rc.100
1.46.0-rc.90
1.46.0-rc.80
1.46.0-rc.70
1.46.0-rc.61
1.46.0-rc.50
1.46.0-rc.40
1.46.0-rc.30
1.46.0-rc.21
1.46.0-rc.10
1.46.0-rc.00
1.45.01
1.45.0-rc.40
1.45.0-rc.30
1.45.0-rc.20
1.45.0-rc.11
1.45.0-rc.00
1.44.02
1.44.0-rc.130
1.44.0-rc.120
1.44.0-rc.110
1.44.0-rc.100
1.44.0-rc.90
1.44.0-rc.80
1.44.0-rc.70
1.44.0-rc.60
1.44.0-rc.41
1.44.0-rc.30
1.44.0-rc.20
1.44.0-rc.11
1.44.0-rc.00
1.43.02
1.43.0-rc.40
1.43.0-rc.30
1.43.0-rc.20
1.43.0-rc.10
1.43.0-rc.01
1.42.01
1.42.0-rc.20
1.42.0-rc.10
1.42.0-rc.00
1.41.02
1.41.0-rc.10
1.41.0-rc.00
1.40.01
1.40.0-rc.00
1.39.01
1.39.0-rc.140
1.39.0-rc.130
1.39.0-rc.120
1.39.0-rc.111
1.39.0-rc.100
1.39.0-rc.90
1.39.0-rc.80
1.39.0-rc.70
1.39.0-rc.60
1.39.0-rc.51
1.39.0-rc.40
1.39.0-rc.30
1.39.0-rc.20
1.39.0-rc.10
1.39.0-rc.00
1.38.01
1.38.0-rc.140
1.38.0-rc.130
1.38.0-rc.120
1.38.0-rc.110
1.38.0-rc.100
1.38.0-rc.90
1.38.0-rc.80
1.38.0-rc.70
1.38.0-rc.61
1.38.0-rc.50
1.38.0-rc.40
1.38.0-rc.30
1.38.0-rc.21
1.38.0-rc.10
1.38.0-rc.00
1.37.01
1.37.0-rc.150
1.37.0-rc.141
1.37.0-rc.131
1.37.0-rc.120
1.37.0-rc.110
1.37.0-rc.100
1.37.0-rc.90
1.37.0-rc.80
1.37.0-rc.70
1.37.0-rc.60
1.37.0-rc.51
1.37.0-rc.40
1.37.0-rc.30
1.37.0-rc.20
1.37.0-rc.11
1.37.0-rc.00
1.36.01
1.36.0-rc.110
1.36.0-rc.100
1.36.0-rc.90
1.36.0-rc.80
1.36.0-rc.70
1.36.0-rc.60
1.36.0-rc.50
1.36.0-rc.40
1.36.0-rc.30
1.36.0-rc.20
1.36.0-rc.10
1.36.0-rc.00
1.35.01
1.35.0-rc.170
1.35.0-rc.161
1.35.0-rc.150
1.35.0-rc.140
1.35.0-rc.130
1.35.0-rc.120
1.35.0-rc.111
1.35.0-rc.100
1.35.0-rc.90
1.35.0-rc.80
1.35.0-rc.70
1.35.0-rc.60
1.35.0-rc.50
1.35.0-rc.40
1.35.0-rc.30
1.35.0-rc.20
1.35.0-rc.10
1.35.0-rc.00
1.34.01
1.34.0-rc.00
1.33.01
1.33.0-rc.220
1.33.0-rc.210
1.33.0-rc.200
1.33.0-rc.190
1.33.0-rc.180
1.33.0-rc.170
1.33.0-rc.160
1.33.0-rc.150
1.33.0-rc.140
1.33.0-rc.130
1.33.0-rc.120
1.33.0-rc.110
1.33.0-rc.100
1.33.0-rc.90
1.33.0-rc.80
1.33.0-rc.70
1.33.0-rc.60
1.33.0-rc.50
1.33.0-rc.40
1.33.0-rc.31
1.33.0-rc.20
1.33.0-rc.10
1.33.0-rc.00
1.32.01
1.32.0-rc.00
1.31.02
1.31.0-rc.151
1.31.0-rc.141
1.31.0-rc.130
1.31.0-rc.120
1.31.0-rc.110
1.31.0-rc.100
1.31.0-rc.90
1.31.0-rc.80
1.31.0-rc.70
1.31.0-rc.60
1.31.0-rc.50
1.31.0-rc.40
1.31.0-rc.31
1.31.0-testing-senior-age-change0
1.31.0-rc.20
1.31.0-rc.10
1.31.0-rc.00
1.30.01
1.30.0-rc.170
1.30.0-rc.160
1.30.0-rc.150
1.30.0-rc.141
1.30.0-rc.130
1.30.0-rc.120
1.30.0-rc.110
1.30.0-rc.100
1.30.0-rc.90
1.30.0-rc.80
1.30.0-rc.70
1.30.0-rc.60
1.30.0-rc.51
1.30.0-rc.41
1.30.0-rc.31
1.30.0-rc.20
1.30.0-rc.11
1.30.0-rc.00
1.29.01
1.29.0-rc.00
1.28.02
1.28.0-multibuy-rc.00
1.28.0-rc.80
1.28.0-rc.70
1.28.0-rc.60
1.28.0-rc.50
1.28.0-rc.40
1.28.0-rc.31
1.28.0-rc.20
1.28.0-rc.10
1.28.0-rc.01
1.27.01
1.27.0-rc.211
1.27.0-rc.201
1.27.0-rc.191
1.27.0-rc.180
1.27.0-rc.170
1.27.0-rc.160
1.27.0-rc.150
1.27.0-rc.140
1.27.0-rc.131
1.27.0-rc.120
1.27.0-rc.110
1.27.0-rc.100
1.27.0-rc.90
1.27.0-rc.80
1.27.0-rc.70
1.27.0-rc.60
1.27.0-rc.50
1.27.0-rc.40
1.27.0-rc.30
1.27.0-rc.20
1.27.0-rc.10
1.27.0-rc.00
1.26.01
1.26.0-rc.550
1.26.0-rc.540
1.26.0-rc.530
1.26.0-rc.520
1.26.0-rc.510
1.26.0-rc.500
1.26.0-rc.490
1.26.0-rc.480
1.26.0-rc.470
1.26.0-rc.460
1.26.0-rc.450
1.26.0-rc.440
1.26.0-rc.430
1.26.0-rc.420
1.26.0-rc.410
1.26.0-rc.400
1.26.0-rc.390
1.26.0-rc.380
1.26.0-rc.370
1.26.0-rc.360
1.26.0-rc.350
1.26.0-rc.340
1.26.0-rc.330
1.26.0-rc.320
1.26.0-rc.310
1.26.0-rc.300
1.26.0-rc.290
1.26.0-rc.280
1.26.0-rc.270
1.26.0-rc.260
1.26.0-rc.250
1.26.0-rc.240
1.26.0-rc.230
1.26.0-rc.220
1.26.0-rc.210
1.26.0-rc.200
1.26.0-rc.190
1.26.0-rc.180
1.26.0-rc.170
1.26.0-rc.160
1.26.0-rc.150
1.26.0-rc.140
1.26.0-rc.130
1.26.0-rc.120
1.26.0-rc.110
1.26.0-rc.100
1.26.0-rc.90
1.26.0-rc.80
1.26.0-rc.70
1.26.0-rc.60
1.26.0-rc.50
1.26.0-rc.40
1.26.0-rc.30
1.26.0-rc.20
1.26.0-rc.10
1.26.0-rc.00
1.25.01
1.25.0-rc.140
1.25.0-rc.130
1.25.0-rc.120
1.25.0-rc.110
1.25.0-rc.100
1.25.0-rc.90
1.25.0-rc.80
1.25.0-rc.70
1.25.0-rc.60
1.25.0-rc.50
1.25.0-rc.40
1.25.0-rc.30
1.25.0-rc.20
1.25.0-rc.10
1.25.0-rc.00
1.24.01
1.24.0-rc.130
1.24.0-rc.120
1.24.0-rc.110
1.24.0-rc.100
1.24.0-rc.90
1.24.0-rc.80
1.24.0-rc.70
1.24.0-rc.60
1.24.0-rc.50
1.24.0-rc.40
1.24.0-rc.30
1.24.0-rc.20
1.24.0-rc.10
1.24.0-rc.00
1.23.01
1.23.0-rc.700
1.23.0-rc.690
1.23.0-rc.680
1.23.0-rc.670
1.23.0-rc.660
1.23.0-rc.650
1.23.0-rc.640
1.23.0-rc.630
1.23.0-rc.620
1.23.0-rc.610
1.23.0-rc.600
1.23.0-rc.590
1.23.0-rc.580
1.23.0-rc.570
1.23.0-rc.560
1.23.0-rc.550
1.23.0-rc.540
1.23.0-rc.530
1.23.0-rc.520
1.23.0-rc.510
1.23.0-rc.500
1.23.0-rc.490
1.23.0-rc.480
1.23.0-rc.470
1.23.0-rc.460
1.23.0-rc.450
1.23.0-rc.440
1.23.0-rc.430
1.23.0-rc.420
1.23.0-rc.410
1.23.0-rc.400
1.23.0-rc.390
1.23.0-rc.380
1.23.0-rc.370
1.23.0-rc.360
1.23.0-rc.350
1.23.0-rc.340
1.23.0-rc.330
1.23.0-rc.320
1.23.0-rc.310
1.23.0-rc.300
1.23.0-rc.290
1.23.0-rc.280
1.23.0-rc.270
1.23.0-rc.260
1.23.0-rc.250
1.23.0-rc.240
1.23.0-rc.230
1.23.0-rc.220
1.23.0-rc.210
1.23.0-rc.200
1.23.0-rc.190
1.23.0-rc.180
1.23.0-rc.170
1.23.0-rc.160
1.23.0-rc.150
1.23.0-rc.140
1.23.0-rc.130
1.23.0-rc.120
1.23.0-rc.110
1.23.0-rc.100
1.23.0-rc.90
1.23.0-rc.80
1.23.0-rc.70
1.23.0-rc.60
1.23.0-rc.50
1.22.11
1.22.1-rc.00
1.23.0-rc.40
1.23.0-rc.30
1.23.0-rc.20
1.23.0-rc.10
1.23.0-rc.00
1.22.01
1.22.0-rc.400
1.22.0-rc.390
1.22.0-rc.380
1.22.0-rc.370
1.22.0-rc.360
1.22.0-rc.350
1.22.0-rc.340
1.22.0-rc.330
1.22.0-rc.320
1.22.0-rc.310
1.22.0-rc.300
1.22.0-rc.290
1.22.0-rc.280
1.22.0-rc.270
1.22.0-rc.260
1.22.0-rc.250
1.22.0-rc.240
1.22.0-rc.230
1.22.0-rc.220
1.22.0-rc.210
1.22.0-rc.200
1.22.0-rc.190
1.22.0-rc.180
1.22.0-rc.170
1.22.0-rc.160
1.22.0-rc.150
1.22.0-rc.140
1.22.0-rc.130
1.22.0-rc.120
1.22.0-rc.110
1.22.0-rc.100
1.22.0-rc.90
1.22.0-rc.80
1.22.0-rc.70
1.22.0-rc.60
1.22.0-rc.50
1.22.0-rc.40
1.22.0-rc.30
1.22.0-rc.20
1.22.0-rc.10
1.22.0-rc.00
1.21.01
1.21.0-rc.30
1.21.0-rc.20
1.21.0-rc.10
1.21.0-rc.00
1.20.01
1.20.0-rc.220
1.20.0-rc.210
1.20.0-rc.200
1.20.0-rc.190
1.20.0-rc.180
1.20.0-rc.170
1.20.0-rc.160
1.20.0-rc.150
1.20.0-rc.140
1.20.0-rc.130
1.20.0-rc.81
1.20.0-rc.71
1.20.0-rc.60
1.20.0-rc.50
1.20.0-rc.41
1.20.0-rc.30
1.20.0-rc.20
1.20.0-rc.10
1.20.0-rc.01
1.19.01
1.19.0-rc.50
1.19.0-rc.40
1.19.0-rc.30
1.19.0-rc.20
1.19.0-rc.10
1.19.0-rc.00
1.18.01
1.18.0-rc.70
1.18.0-rc.60
1.18.0-rc.50
1.18.0-rc.30
1.18.0-rc.20
1.18.0-rc.10
1.18.0-rc.00
1.17.01
1.17.0-rc.80
1.17.0-rc.70
1.17.0-rc.60
1.17.0-rc.50
1.17.0-rc.40
1.17.0-rc.30
1.17.0-rc.20
1.17.0-rc.10
1.17.0-rc.00
1.16.01
1.16.0-rc.50
1.16.0-rc.40
1.16.0-rc.30
1.16.0-rc.20
1.16.0-rc.10
1.16.0-rc.00
1.15.01
1.15.0-rc.00
1.14.01
1.14.0-rc.50
1.14.0-rc.40
1.14.0-rc.30
1.14.0-rc.11
1.14.0-rc.00
1.13.01
1.13.0-rc.80
1.13.0-rc.70
1.13.0-rc.60
1.13.0-rc.50
1.13.0-rc.40
1.13.0-rc.30
1.13.0-rc.20
1.13.0-rc.10
1.13.0-rc.00
1.12.01
1.12.0-rc.10
1.12.0-rc.00
1.11.01
1.11.0-rc.20
1.11.0-rc.11
1.11.0-rc.00
1.10.01
1.10.0-rc.80
1.10.0-rc.70
1.10.0-rc.60
1.10.0-rc.50
1.10.0-rc.40
1.10.0-rc.30
1.10.0-rc.21
1.10.0-rc.10
1.10.0-rc.00
1.9.02
1.8.1-rc.30
1.8.1-rc.20
1.8.1-rc.11
1.8.1-rc.00
1.7.11
1.7.1-rc.10
1.7.1-rc.00
1.8.01
1.7.02
1.7.0-rc.20
1.7.0-rc.10
1.7.0-rc.00
1.6.01
1.6.0-rc.90
1.6.0-rc.80
1.6.0-rc.70
1.6.0-rc.60
1.6.0-rc.50
1.6.0-rc.40
1.6.0-rc.30
1.6.0-rc.20
1.6.0-rc.10
1.6.0-rc.00
1.5.01
1.5.0-rc.280
1.5.0-rc.270
1.5.0-rc.250
1.5.0-rc.240
1.5.0-rc.230
1.5.0-rc.220
1.5.0-rc.211
1.5.0-rc.200
1.5.0-rc.190
1.5.0-rc.180
1.5.0-rc.170
1.5.0-rc.160
1.5.0-rc.151
1.5.0-rc.70
1.5.0-rc.60
1.5.0-rc.50
1.5.0-rc.40
1.5.0-rc.30
1.5.0-rc.20
1.5.0-rc.10
1.5.0-rc.00
1.4.01
1.4.0-rc.31
1.4.0-rc.20
1.4.0-rc.10
1.4.0-rc.00
1.3.01
1.3.0-rc.50
1.3.0-rc.40
1.3.0-rc.30
1.3.0-rc.20
1.3.0-rc.10
1.3.0-rc.00
1.2.02
1.2.0-rc.01
1.1.01
1.1.0-rc.00
1.0.01
0.3.0-rc.930
0.3.0-rc.921
0.3.0-rc.911
0.3.0-rc.900
0.3.0-rc.890
0.3.0-rc.880
0.3.0-rc.870
0.3.0-rc.860
0.3.0-rc.850
0.3.0-rc.840
0.3.0-rc.830
0.3.0-rc.820
0.3.0-rc.810
0.3.0-rc.800
0.3.0-rc.790
0.3.0-rc.781
0.3.0-rc.770
0.3.0-rc.760
0.3.0-rc.750
0.3.0-rc.740
0.3.0-rc.730
0.3.0-rc.720
0.3.0-rc.710
0.3.0-rc.700
0.3.0-rc.690
0.3.0-rc.680
0.3.0-rc.670
0.3.0-rc.660
0.3.0-rc.650
0.3.0-rc.640
0.3.0-rc.630
0.3.0-rc.620
0.3.0-rc.610
0.3.0-rc.600
0.3.0-rc.590
0.3.0-rc.580
0.3.0-rc.570
0.3.0-rc.561
0.3.0-rc.550
0.3.0-rc.540
0.3.0-rc.530
0.3.0-rc.520
0.3.0-rc.510
0.3.0-rc.500
0.3.0-rc.490
0.3.0-rc.480
0.3.0-rc.470
0.3.0-rc.450
0.3.0-rc.431
0.3.0-rc.420
0.3.0-rc.410
0.3.0-rc.400
0.3.0-rc.391
0.3.0-rc.381
0.3.0-rc.370
0.3.0-rc.361
0.3.0-rc.351
0.3.0-rc.341
0.3.0-rc.331
0.3.0-rc.321
0.3.0-rc.310
0.3.0-rc.300
0.3.0-rc.290
0.3.0-rc.280
0.3.0-rc.271
0.3.0-rc.260
0.3.0-rc.250
0.3.0-rc.240
0.3.0-rc.231
0.3.0-rc.220
0.3.0-rc.210
0.3.0-rc.200
0.3.0-rc.190
0.3.0-rc.180
0.3.0-rc.171
0.3.0-rc.160
0.3.0-rc.151
0.3.0-rc.140
0.3.0-rc.130
0.3.0-rc.121
0.3.0-rc.111
0.3.0-rc.100
0.3.0-rc.90
0.3.0-rc.80
0.3.0-rc.70
0.3.0-rc.60
0.3.0-rc.50
0.3.0-rc.40
0.3.0-rc.30
0.3.0-rc.20
0.3.0-rc.10
0.3.0-rc.00
0.2.01
0.2.0-rc.00
0.1.01
0.1.0-rc.60
0.1.0-rc.50
0.1.0-rc.40
0.0.61
0.1.0-rc.30
0.1.0-rc.20
0.0.51
0.1.0-rc.10
0.1.0-rc.00
0.0.41
0.0.1-beta.560
0.0.1-beta.530
0.0.1-beta.510
0.0.1-beta.500
0.0.1-beta.490
0.0.1-beta.480
0.0.1-beta.430
0.0.1-beta.420
0.0.1-beta.410
0.0.1-beta.401
0.0.1-beta.392
0.0.1-beta.382
0.0.1-beta.372
0.0.1-beta.352
0.0.1-beta.332

Package Sidebar

Install

npm i @defra-fish/sales-api-service

Weekly Downloads

328

Version

1.57.0

License

SEE LICENSE IN LICENSE

Unpacked Size

377 kB

Total Files

97

Last publish

Collaborators

  • npm-envage
  • defradigitaladmin
  • defradigitalci
  • jaucourt
  • ifarawaydefra