sysone-api-mapper 1.0.147 → 1.0.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{axiosInstance.js → dist/axiosInstance.js} +5 -7
- package/dist/index.d.ts +2 -2
- package/{index.ts → dist/index.js} +7 -20
- package/dist/services.js +92 -0
- package/dist/servicesData.js +996 -0
- package/dist/src/adapters/createApiAdapter.js +8 -0
- package/{src → dist/src}/adapters/financeAdapter.js +4 -5
- package/{src → dist/src}/adapters/locationAdapter.js +5 -6
- package/{src → dist/src}/adapters/partyAdapter.js +7 -8
- package/{src → dist/src}/components/notificationToast.js +35 -37
- package/dist/src/contexts/actionsContext.js +43 -0
- package/{src → dist/src}/contexts/apiContext.js +8 -9
- package/dist/src/contexts/translationContext.js +19 -0
- package/dist/src/mapper/Mapper.js +98 -0
- package/{src → dist/src}/mapper/endpointsConfig.js +821 -915
- package/{src → dist/src}/mapper/helpers/mappingHelpers.js +24 -26
- package/{src → dist/src}/mapper/modules/billing/index.js +128 -131
- package/{src → dist/src}/mapper/modules/claim/index.js +15 -17
- package/{src → dist/src}/mapper/modules/general/index.js +6 -7
- package/{src → dist/src}/mapper/modules/party/index.js +119 -128
- package/dist/src/mapper/modules/policy/index.js +573 -0
- package/dist/src/mapper/modules/quotation/index.js +477 -0
- package/{src → dist/src}/mapper/modules/request/index.js +60 -67
- package/dist/src/public/index.js +7 -0
- package/{src → dist/src}/server.js +18 -23
- package/package.json +4 -4
- package/.babelrc +0 -4
- package/.gitlab-ci.yml +0 -42
- package/config/dist/index.js +0 -307
- package/config/dist/index.js.LICENSE.txt +0 -1
- package/config/dist/index.ts +0 -319
- package/config/webpack.dev.js +0 -63
- package/config/webpack.prod.js +0 -63
- package/index.d.ts +0 -5
- package/services.js +0 -105
- package/servicesData.js +0 -1013
- package/src/adapters/createApiAdapter.ts +0 -29
- package/src/contexts/actionsContext.js +0 -54
- package/src/contexts/translationContext.js +0 -29
- package/src/mapper/Mapper.js +0 -141
- package/src/mapper/modules/policy/index.js +0 -613
- package/src/mapper/modules/quotation/index.js +0 -480
- package/src/public/index.html +0 -15
- package/src/public/index.js +0 -9
- package/test/script.js +0 -0
- package/tsconfig.json +0 -9
package/.babelrc
DELETED
package/.gitlab-ci.yml
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
stages:
|
|
2
|
-
- build
|
|
3
|
-
- publish
|
|
4
|
-
|
|
5
|
-
variables:
|
|
6
|
-
# Uses version 16 but may be cahnged
|
|
7
|
-
NODE_VERSION: "16"
|
|
8
|
-
|
|
9
|
-
# Cache node_modules for speeding up posterior builds
|
|
10
|
-
cache:
|
|
11
|
-
key: ${CI_COMMIT_REF_SLUG}
|
|
12
|
-
paths:
|
|
13
|
-
- node_modules/
|
|
14
|
-
|
|
15
|
-
before_script:
|
|
16
|
-
- echo "registry=https://registry.npmjs.org/" > .npmrc
|
|
17
|
-
|
|
18
|
-
build:
|
|
19
|
-
stage: build
|
|
20
|
-
image: node:${NODE_VERSION}
|
|
21
|
-
script:
|
|
22
|
-
- npm ci
|
|
23
|
-
- npm run build
|
|
24
|
-
artifacts:
|
|
25
|
-
paths:
|
|
26
|
-
- dist/
|
|
27
|
-
expire_in: 1 week
|
|
28
|
-
only:
|
|
29
|
-
- develop
|
|
30
|
-
|
|
31
|
-
publish_package:
|
|
32
|
-
stage: publish
|
|
33
|
-
image: node:${NODE_VERSION}
|
|
34
|
-
script:
|
|
35
|
-
- echo "registry=https://gitlab.sysone.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
|
|
36
|
-
- echo "//gitlab.sysone.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
|
|
37
|
-
- npm publish
|
|
38
|
-
only:
|
|
39
|
-
- develop
|
|
40
|
-
|
|
41
|
-
only:
|
|
42
|
-
- develop
|