@controleonline/ui-common 1.2.113 → 1.2.116
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.
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.2.
|
|
2
|
+
"version": "1.2.116",
|
|
3
3
|
"rc": 1,
|
|
4
|
-
"branch": "rc/1.2.
|
|
5
|
-
"baseMaster": "
|
|
4
|
+
"branch": "rc/1.2.116-rc.1",
|
|
5
|
+
"baseMaster": "a18faa9ce4e22a008654b7ab97ba75ceadd18c3c",
|
|
6
6
|
"tasks": [
|
|
7
|
-
|
|
7
|
+
1327
|
|
8
8
|
],
|
|
9
9
|
"frozen": true,
|
|
10
10
|
"repositories": {
|
|
11
|
-
"ControleOnline/ui-common": "
|
|
11
|
+
"ControleOnline/ui-common": "0f8bbd6f91963f965c8c73ad627bde172680a46d"
|
|
12
12
|
}
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -122,6 +122,38 @@ export const INTEGRATION_LIST = [
|
|
|
122
122
|
accent: '#D97706',
|
|
123
123
|
icon: 'cpu',
|
|
124
124
|
},
|
|
125
|
+
{
|
|
126
|
+
key: 'google-oauth',
|
|
127
|
+
label: 'Google Login',
|
|
128
|
+
route: 'IntegrationConfigPage',
|
|
129
|
+
routeParams: {providerKey: 'google-oauth'},
|
|
130
|
+
accent: '#EA4335',
|
|
131
|
+
icon: 'log-in',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
key: 'cielo',
|
|
135
|
+
label: 'Cielo',
|
|
136
|
+
route: 'IntegrationConfigPage',
|
|
137
|
+
routeParams: {providerKey: 'cielo'},
|
|
138
|
+
accent: '#00A4E0',
|
|
139
|
+
icon: 'credit-card',
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
key: 'new-relic',
|
|
143
|
+
label: 'New Relic',
|
|
144
|
+
route: 'IntegrationConfigPage',
|
|
145
|
+
routeParams: {providerKey: 'new-relic'},
|
|
146
|
+
accent: '#1CE783',
|
|
147
|
+
icon: 'activity',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
key: 'spotify',
|
|
151
|
+
label: 'Spotify',
|
|
152
|
+
route: 'IntegrationConfigPage',
|
|
153
|
+
routeParams: {providerKey: 'spotify'},
|
|
154
|
+
accent: '#1DB954',
|
|
155
|
+
icon: 'music',
|
|
156
|
+
},
|
|
125
157
|
];
|
|
126
158
|
|
|
127
159
|
export const INTEGRATION_CONFIGS = {
|
|
@@ -383,6 +415,126 @@ export const INTEGRATION_CONFIGS = {
|
|
|
383
415
|
},
|
|
384
416
|
],
|
|
385
417
|
},
|
|
418
|
+
|
|
419
|
+
'google-oauth': {
|
|
420
|
+
key: 'google-oauth',
|
|
421
|
+
label: 'Google Login',
|
|
422
|
+
accent: '#EA4335',
|
|
423
|
+
icon: 'log-in',
|
|
424
|
+
description:
|
|
425
|
+
'Client ID OAuth Google da empresa principal. Controla o botao Entrar com Google no login web.',
|
|
426
|
+
visibility: 'public',
|
|
427
|
+
requiredKeys: [],
|
|
428
|
+
fields: [
|
|
429
|
+
{
|
|
430
|
+
key: 'OAUTH_GOOGLE_CLIENT_ID',
|
|
431
|
+
label: 'OAUTH_GOOGLE_CLIENT_ID',
|
|
432
|
+
placeholder: 'xxxxx.apps.googleusercontent.com',
|
|
433
|
+
},
|
|
434
|
+
],
|
|
435
|
+
},
|
|
436
|
+
cielo: {
|
|
437
|
+
key: 'cielo',
|
|
438
|
+
label: 'Cielo',
|
|
439
|
+
accent: '#00A4E0',
|
|
440
|
+
icon: 'credit-card',
|
|
441
|
+
description:
|
|
442
|
+
'Credenciais Cielo vinculadas a empresa principal (pagamento).',
|
|
443
|
+
bundleKey: 'CIELO',
|
|
444
|
+
visibility: 'private',
|
|
445
|
+
requiredKeys: ['ACCESS_TOKEN', 'CLIENT_ID'],
|
|
446
|
+
fields: [
|
|
447
|
+
{
|
|
448
|
+
key: 'ACCESS_TOKEN',
|
|
449
|
+
label: 'ACCESS_TOKEN',
|
|
450
|
+
placeholder: 'Token da integracao Cielo',
|
|
451
|
+
secureTextEntry: true,
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
key: 'CLIENT_ID',
|
|
455
|
+
label: 'CLIENT_ID',
|
|
456
|
+
placeholder: 'Client ID da Cielo',
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
key: 'EMAIL',
|
|
460
|
+
label: 'EMAIL',
|
|
461
|
+
placeholder: 'financeiro@empresa.com.br',
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
key: 'MERCHANT_CODE',
|
|
465
|
+
label: 'MERCHANT_CODE',
|
|
466
|
+
placeholder: 'Codigo do estabelecimento',
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
},
|
|
470
|
+
'new-relic': {
|
|
471
|
+
key: 'new-relic',
|
|
472
|
+
label: 'New Relic',
|
|
473
|
+
accent: '#1CE783',
|
|
474
|
+
icon: 'activity',
|
|
475
|
+
description: 'Observabilidade centralizada na empresa principal.',
|
|
476
|
+
bundleKey: 'NEW_RELIC',
|
|
477
|
+
visibility: 'private',
|
|
478
|
+
requiredKeys: [],
|
|
479
|
+
fields: [
|
|
480
|
+
{
|
|
481
|
+
key: 'LICENSE_KEY',
|
|
482
|
+
label: 'LICENSE_KEY',
|
|
483
|
+
placeholder: 'License key',
|
|
484
|
+
secureTextEntry: true,
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
key: 'APPLICATION_ID',
|
|
488
|
+
label: 'APPLICATION_ID',
|
|
489
|
+
placeholder: 'Application ID',
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
key: 'ACCOUNT_ID',
|
|
493
|
+
label: 'ACCOUNT_ID',
|
|
494
|
+
placeholder: 'Account ID',
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
key: 'TRUST_KEY',
|
|
498
|
+
label: 'TRUST_KEY',
|
|
499
|
+
placeholder: 'Trust key',
|
|
500
|
+
secureTextEntry: true,
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
key: 'BEACON',
|
|
504
|
+
label: 'BEACON',
|
|
505
|
+
placeholder: 'bam.nr-data.net',
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
key: 'ERROR_BEACON',
|
|
509
|
+
label: 'ERROR_BEACON',
|
|
510
|
+
placeholder: 'bam.nr-data.net',
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
},
|
|
514
|
+
spotify: {
|
|
515
|
+
key: 'spotify',
|
|
516
|
+
label: 'Spotify',
|
|
517
|
+
accent: '#1DB954',
|
|
518
|
+
icon: 'music',
|
|
519
|
+
description: 'Credenciais Spotify da empresa principal.',
|
|
520
|
+
bundleKey: 'SPOTIFY',
|
|
521
|
+
visibility: 'private',
|
|
522
|
+
requiredKeys: [],
|
|
523
|
+
fields: [
|
|
524
|
+
{
|
|
525
|
+
key: 'CLIENT_ID',
|
|
526
|
+
label: 'CLIENT_ID',
|
|
527
|
+
placeholder: 'Spotify Client ID',
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
key: 'CLIENT_SECRET',
|
|
531
|
+
label: 'CLIENT_SECRET',
|
|
532
|
+
placeholder: 'Spotify Client Secret',
|
|
533
|
+
secureTextEntry: true,
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
},
|
|
537
|
+
|
|
386
538
|
};
|
|
387
539
|
|
|
388
540
|
export const getIntegrationListItem = key =>
|