@things-factory/operato-wms 4.0.1 → 4.0.5

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.
@@ -1008,14 +1008,14 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
1008
1008
  const foundLocation = await this._fetchLocation(this.locationInput.value.trim())
1009
1009
  if (!foundLocation) {
1010
1010
  const locationNameSplit = this.locationInput.value.split('-')
1011
+ if (locationNameSplit.length !== 3) throw new Error(i18next.t('text.invalid_format_of_location_id'))
1012
+
1011
1013
  const zonePortions = locationNameSplit[0].match(/[a-zA-Z0-9]+/g)
1012
1014
  const rowPortions = locationNameSplit[1].match(/[a-zA-Z0-9]+/g)
1013
1015
  const columnPortions = locationNameSplit[2].match(/[a-zA-Z0-9]+/g)
1014
1016
 
1015
- if (locationNameSplit.length === 3) {
1016
- this.incompleteLocationName = true
1017
- this.locations = await this._fetchLocations(zonePortions[0], rowPortions[0], columnPortions[0])
1018
- }
1017
+ this.incompleteLocationName = true
1018
+ this.locations = await this._fetchLocations(zonePortions[0], rowPortions[0], columnPortions[0])
1019
1019
  } else {
1020
1020
  this.incompleteLocationName = false
1021
1021
  }
@@ -1,13 +1,15 @@
1
1
  import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
- import { i18next, localize } from '@things-factory/i18n-base'
4
3
  import '@things-factory/import-ui'
4
+
5
+ import gql from 'graphql-tag'
6
+ import { css, html } from 'lit-element'
7
+
8
+ import { i18next, localize } from '@things-factory/i18n-base'
5
9
  import { openPopup } from '@things-factory/layout-base'
6
10
  import { client, CustomAlert, PageView } from '@things-factory/shell'
7
11
  import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
8
12
  import { isMobileDevice } from '@things-factory/utils'
9
- import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
11
13
 
12
14
  class TransportDriver extends localize(i18next)(PageView) {
13
15
  static get properties() {
@@ -228,7 +230,7 @@ class TransportDriver extends localize(i18next)(PageView) {
228
230
  async importHandler(patches) {
229
231
  const response = await client.mutate({
230
232
  mutation: gql`
231
- mutation updateMultipleTransportDriver($patches: [TransportDriverPatch]!) {
233
+ mutation updateMultipleTransportDriver($patches: [TransportDriverPatch!]!) {
232
234
  updateMultipleTransportDriver(patches: $patches) {
233
235
  name
234
236
  }
@@ -254,7 +256,7 @@ class TransportDriver extends localize(i18next)(PageView) {
254
256
  } else {
255
257
  const response = await client.mutate({
256
258
  mutation: gql`
257
- mutation updateMultipleTransportDriver($patches: [TransportDriverPatch]!) {
259
+ mutation updateMultipleTransportDriver($patches: [TransportDriverPatch!]!) {
258
260
  updateMultipleTransportDriver(patches: $patches) {
259
261
  name
260
262
  }
@@ -290,7 +292,7 @@ class TransportDriver extends localize(i18next)(PageView) {
290
292
 
291
293
  const response = await client.mutate({
292
294
  mutation: gql`
293
- mutation deleteTransportDrivers($ids: [String]!) {
295
+ mutation deleteTransportDrivers($ids: [String!]!) {
294
296
  deleteTransportDrivers(ids: $ids)
295
297
  }
296
298
  `,
@@ -1,14 +1,16 @@
1
1
  import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
- import { i18next, localize } from '@things-factory/i18n-base'
4
3
  import '@things-factory/import-ui'
5
- import { openPopup } from '@things-factory/layout-base'
6
- import { client, CustomAlert, PageView } from '@things-factory/shell'
7
- import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
8
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
4
+
9
5
  import gql from 'graphql-tag'
10
6
  import { css, html } from 'lit-element'
11
7
 
8
+ import { i18next, localize } from '@things-factory/i18n-base'
9
+ import { openPopup } from '@things-factory/layout-base'
10
+ import { client, CustomAlert, PageView } from '@things-factory/shell'
11
+ import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
12
+ import { isMobileDevice } from '@things-factory/utils'
13
+
12
14
  class TransportVehicle extends localize(i18next)(PageView) {
13
15
  static get styles() {
14
16
  return [
@@ -239,7 +241,7 @@ class TransportVehicle extends localize(i18next)(PageView) {
239
241
  async importHandler(patches) {
240
242
  const response = await client.mutate({
241
243
  mutation: gql`
242
- mutation updateMultipleTransportVehicle($patches: [TransportVehiclePatch]!) {
244
+ mutation updateMultipleTransportVehicle($patches: [TransportVehiclePatch!]!) {
243
245
  updateMultipleTransportVehicle(patches: $patches) {
244
246
  name
245
247
  }
@@ -265,7 +267,7 @@ class TransportVehicle extends localize(i18next)(PageView) {
265
267
  } else {
266
268
  const response = await client.mutate({
267
269
  mutation: gql`
268
- mutation updateMultipleTransportVehicle($patches: [TransportVehiclePatch]!) {
270
+ mutation updateMultipleTransportVehicle($patches: [TransportVehiclePatch!]!) {
269
271
  updateMultipleTransportVehicle(patches: $patches) {
270
272
  name
271
273
  }
@@ -301,7 +303,7 @@ class TransportVehicle extends localize(i18next)(PageView) {
301
303
 
302
304
  const response = await client.mutate({
303
305
  mutation: gql`
304
- mutation deleteTransportVehicles($ids: [String]!) {
306
+ mutation deleteTransportVehicles($ids: [String!]!) {
305
307
  deleteTransportVehicles(ids: $ids)
306
308
  }
307
309
  `,
@@ -987,7 +987,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
987
987
 
988
988
  const response = await client.mutate({
989
989
  mutation: gql`
990
- mutation generateArrivalNotice($arrivalNotice: NewArrivalNotice!, $files: Upload) {
990
+ mutation generateArrivalNotice($arrivalNotice: NewArrivalNotice!, $files: [Upload!]) {
991
991
  generateArrivalNotice(arrivalNotice: $arrivalNotice, files: $files) {
992
992
  id
993
993
  name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.0.1",
3
+ "version": "4.0.5",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -42,71 +42,71 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@operato/ghost-print": "0.1.14",
45
- "@things-factory/apptool-ui": "^4.0.1",
46
- "@things-factory/attachment-ui": "^4.0.1",
47
- "@things-factory/auth-ui": "^4.0.1",
48
- "@things-factory/barcode-ui": "^4.0.1",
49
- "@things-factory/biz-ui": "^4.0.1",
50
- "@things-factory/board-service": "^4.0.1",
51
- "@things-factory/board-ui": "^4.0.1",
52
- "@things-factory/code-ui": "^4.0.1",
53
- "@things-factory/context-ui": "^4.0.1",
54
- "@things-factory/export-ui": "^4.0.1",
55
- "@things-factory/export-ui-csv": "^4.0.1",
56
- "@things-factory/export-ui-excel": "^4.0.1",
57
- "@things-factory/fav-base": "^4.0.1",
58
- "@things-factory/form-ui": "^4.0.1",
59
- "@things-factory/grist-ui": "^4.0.1",
60
- "@things-factory/help": "^4.0.1",
61
- "@things-factory/i18n-ui": "^4.0.1",
62
- "@things-factory/id-rule-base": "^4.0.1",
63
- "@things-factory/import-ui": "^4.0.1",
64
- "@things-factory/import-ui-excel": "^4.0.1",
65
- "@things-factory/menu-ui": "^4.0.1",
66
- "@things-factory/more-ui": "^4.0.1",
67
- "@things-factory/notification": "^4.0.1",
68
- "@things-factory/pdf": "^4.0.1",
69
- "@things-factory/print-proxy-service": "^4.0.1",
70
- "@things-factory/print-service": "^4.0.1",
71
- "@things-factory/print-ui": "^4.0.1",
72
- "@things-factory/product-base": "^4.0.1",
73
- "@things-factory/resource-ui": "^4.0.1",
74
- "@things-factory/sales-ui": "^4.0.1",
75
- "@things-factory/scene-chartjs": "^4.0.1",
76
- "@things-factory/scene-clock": "^4.0.1",
77
- "@things-factory/scene-clone": "^4.0.1",
78
- "@things-factory/scene-compass": "^4.0.1",
79
- "@things-factory/scene-data-transform": "^4.0.1",
80
- "@things-factory/scene-excel": "^4.0.1",
81
- "@things-factory/scene-firebase": "^4.0.1",
82
- "@things-factory/scene-form": "^4.0.1",
83
- "@things-factory/scene-gauge": "^4.0.1",
84
- "@things-factory/scene-google-map": "^4.0.1",
85
- "@things-factory/scene-graphql": "^4.0.1",
86
- "@things-factory/scene-half-roundrect": "^4.0.1",
87
- "@things-factory/scene-indoor-map": "^4.0.1",
88
- "@things-factory/scene-label": "^4.0.1",
89
- "@things-factory/scene-legend": "^4.0.1",
90
- "@things-factory/scene-marker": "^4.0.1",
91
- "@things-factory/scene-mqtt": "^4.0.1",
92
- "@things-factory/scene-news-ticker": "^4.0.1",
93
- "@things-factory/scene-progressbar": "^4.0.1",
94
- "@things-factory/scene-random": "^4.0.1",
95
- "@things-factory/scene-restful": "^4.0.1",
96
- "@things-factory/scene-switch": "^4.0.1",
97
- "@things-factory/scene-tab": "^4.0.1",
98
- "@things-factory/scene-table": "^4.0.1",
99
- "@things-factory/scene-visualizer": "^4.0.1",
100
- "@things-factory/scene-wheel-sorter": "^4.0.1",
101
- "@things-factory/setting-ui": "^4.0.1",
102
- "@things-factory/system-ui": "^4.0.1",
103
- "@things-factory/transport-base": "^4.0.1",
104
- "@things-factory/tutorial-ui": "^4.0.1",
105
- "@things-factory/warehouse-base": "^4.0.1",
106
- "@things-factory/worksheet-base": "^4.0.1"
45
+ "@things-factory/apptool-ui": "^4.0.5",
46
+ "@things-factory/attachment-ui": "^4.0.5",
47
+ "@things-factory/auth-ui": "^4.0.5",
48
+ "@things-factory/barcode-ui": "^4.0.5",
49
+ "@things-factory/biz-ui": "^4.0.5",
50
+ "@things-factory/board-service": "^4.0.5",
51
+ "@things-factory/board-ui": "^4.0.5",
52
+ "@things-factory/code-ui": "^4.0.5",
53
+ "@things-factory/context-ui": "^4.0.5",
54
+ "@things-factory/export-ui": "^4.0.5",
55
+ "@things-factory/export-ui-csv": "^4.0.5",
56
+ "@things-factory/export-ui-excel": "^4.0.5",
57
+ "@things-factory/fav-base": "^4.0.5",
58
+ "@things-factory/form-ui": "^4.0.5",
59
+ "@things-factory/grist-ui": "^4.0.5",
60
+ "@things-factory/help": "^4.0.5",
61
+ "@things-factory/i18n-ui": "^4.0.5",
62
+ "@things-factory/id-rule-base": "^4.0.5",
63
+ "@things-factory/import-ui": "^4.0.5",
64
+ "@things-factory/import-ui-excel": "^4.0.5",
65
+ "@things-factory/menu-ui": "^4.0.5",
66
+ "@things-factory/more-ui": "^4.0.5",
67
+ "@things-factory/notification": "^4.0.5",
68
+ "@things-factory/pdf": "^4.0.5",
69
+ "@things-factory/print-proxy-service": "^4.0.5",
70
+ "@things-factory/print-service": "^4.0.5",
71
+ "@things-factory/print-ui": "^4.0.5",
72
+ "@things-factory/product-base": "^4.0.5",
73
+ "@things-factory/resource-ui": "^4.0.5",
74
+ "@things-factory/sales-ui": "^4.0.5",
75
+ "@things-factory/scene-chartjs": "^4.0.5",
76
+ "@things-factory/scene-clock": "^4.0.5",
77
+ "@things-factory/scene-clone": "^4.0.5",
78
+ "@things-factory/scene-compass": "^4.0.5",
79
+ "@things-factory/scene-data-transform": "^4.0.5",
80
+ "@things-factory/scene-excel": "^4.0.5",
81
+ "@things-factory/scene-firebase": "^4.0.5",
82
+ "@things-factory/scene-form": "^4.0.5",
83
+ "@things-factory/scene-gauge": "^4.0.5",
84
+ "@things-factory/scene-google-map": "^4.0.5",
85
+ "@things-factory/scene-graphql": "^4.0.5",
86
+ "@things-factory/scene-half-roundrect": "^4.0.5",
87
+ "@things-factory/scene-indoor-map": "^4.0.5",
88
+ "@things-factory/scene-label": "^4.0.5",
89
+ "@things-factory/scene-legend": "^4.0.5",
90
+ "@things-factory/scene-marker": "^4.0.5",
91
+ "@things-factory/scene-mqtt": "^4.0.5",
92
+ "@things-factory/scene-news-ticker": "^4.0.5",
93
+ "@things-factory/scene-progressbar": "^4.0.5",
94
+ "@things-factory/scene-random": "^4.0.5",
95
+ "@things-factory/scene-restful": "^4.0.5",
96
+ "@things-factory/scene-switch": "^4.0.5",
97
+ "@things-factory/scene-tab": "^4.0.5",
98
+ "@things-factory/scene-table": "^4.0.5",
99
+ "@things-factory/scene-visualizer": "^4.0.5",
100
+ "@things-factory/scene-wheel-sorter": "^4.0.5",
101
+ "@things-factory/setting-ui": "^4.0.5",
102
+ "@things-factory/system-ui": "^4.0.5",
103
+ "@things-factory/transport-base": "^4.0.5",
104
+ "@things-factory/tutorial-ui": "^4.0.5",
105
+ "@things-factory/warehouse-base": "^4.0.5",
106
+ "@things-factory/worksheet-base": "^4.0.5"
107
107
  },
108
108
  "devDependencies": {
109
- "@things-factory/builder": "^4.0.1"
109
+ "@things-factory/builder": "^4.0.5"
110
110
  },
111
- "gitHead": "6803d6f150cc64cbb8b12a88d9131bb6fb9ad880"
111
+ "gitHead": "b7b2976818dceab74a34903499d408eed5d45b04"
112
112
  }
@@ -1251,6 +1251,7 @@
1251
1251
  "text.you_wont_be_able_to_revert_this": "you won't be able to revert this",
1252
1252
  "text.you.are.now.in": "you are now in {state.text}",
1253
1253
  "text.your_work_has_completed": "your work has completed",
1254
+ "text.invalid_format_of_location_id": "invalid format of location id",
1254
1255
  "title.add_product": "add product",
1255
1256
  "title.add_rule_field": "add rule field",
1256
1257
  "title.adjust_batch_id": "adjust batch no",
@@ -1351,6 +1351,7 @@
1351
1351
  "text.you.are.now.in": "당신은 {state} 입니다",
1352
1352
  "text.your_work_has_completed": "작업이 완료 되었습니다",
1353
1353
  "text.your_working_is_completed": "your task for putaway is done",
1354
+ "text.invalid_format_of_location_id": "유효하지 않은 유형의 로케이션 아이디 입니다",
1354
1355
  "title.add_product": "[ko] add product",
1355
1356
  "title.add_rule_field": "규칙 필드 추가",
1356
1357
  "title.adjust_batch_id": "배치번호 조정",
@@ -1262,6 +1262,7 @@
1262
1262
  "text.you_wont_be_able_to_revert_this": "anda tidak boleh kembali selepas langkah ini",
1263
1263
  "text.you.are.now.in": "anda berada di {state}",
1264
1264
  "text.your_work_has_completed": "kerja anda telah selesai",
1265
+ "text.invalid_format_of_location_id": "[ms]invalid format of location id",
1265
1266
  "title.add_product": "[ms] add product",
1266
1267
  "title.add_rule_field": "add rule field",
1267
1268
  "title.adjust_batch_id": "adjust batch no",
@@ -1229,6 +1229,7 @@
1229
1229
  "text.you_wont_be_able_to_revert_this": "you won't be able to revert this",
1230
1230
  "text.you.are.now.in": "you are now in {state.text}",
1231
1231
  "text.your_work_has_completed": "your work has completed",
1232
+ "text.invalid_format_of_location_id": "[zh]invalid format of location id",
1232
1233
  "title.add_product": "[zh] add product",
1233
1234
  "title.add_rule_field": "add rule field",
1234
1235
  "title.adjust_batch_id": "adjust batch no",
@@ -1,73 +0,0 @@
1
- module.exports = {
2
- useVirtualHostBasedDomain: false,
3
- ormconfig: {
4
- name: 'default',
5
- type: 'postgres',
6
- host: 'operato-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
7
- database: 'operato',
8
- username: 'operato',
9
- password: 'abcd1234',
10
- port: 55432,
11
- synchronize: false,
12
- logging: true
13
- },
14
- reportApiUrl: 'http://localhost:8090/rest/report/show_html',
15
- storage: {
16
- type: 's3',
17
- accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
18
- secretAccessKey: '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',
19
- bucketName: 'opa-one'
20
- },
21
- port: 3000,
22
- uploads: 'uploads',
23
- attachmentsPath: 'attachments',
24
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
25
- logger: {
26
- file: {
27
- filename: 'logs/application-%DATE%.log',
28
- datePattern: 'YYYY-MM-DD-HH',
29
- zippedArchive: true,
30
- maxSize: '200m',
31
- maxFiles: '1m',
32
- level: 'info'
33
- }
34
- },
35
-
36
- email: {
37
- host: 'smtp.office365.com',
38
- port: 587,
39
- secure: false, // true for 465, false for other ports
40
- auth: {
41
- user: 'no-reply@hatiolab.com', // generated ethereal user
42
- pass: 'h@ti0LAB1008' // generated ethereal password
43
- },
44
- secureConnection: false,
45
- tls: {
46
- ciphers: 'SSLv3'
47
- }
48
- },
49
-
50
- notification: {
51
- fcm: {
52
- serviceAccount: {
53
- project_id: 'operato',
54
- private_key:
55
- '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZM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pNWJHdjqITS9IX/nqFkU\n0IYLtmdStf2jQiLmbkydHcvz9wZVvLqml67VBHhwLcwpgPULoskd34/4V0Dvzy4c\nv1Esw8H5zVqIDLeLu+VpFjZMzQrjyl6RIWbyTExEc84rVWfpQYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
56
- client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
57
- },
58
- appConfig: {
59
- apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
60
- projectId: 'operato',
61
- messagingSenderId: 79537064975,
62
- appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
63
- },
64
- serverKey:
65
- 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
66
- },
67
- vapidKey: {
68
- subject: 'mailto:heartyoh@hatiolab.com',
69
- publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
70
- privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
71
- }
72
- }
73
- }
@@ -1,113 +0,0 @@
1
- module.exports = {
2
- useVirtualHostBasedDomain: false,
3
-
4
- ormconfig: {
5
- name: 'default',
6
-
7
- type: 'postgres',
8
-
9
- host: 'operato-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
10
-
11
- database: 'operato',
12
-
13
- username: 'operato',
14
-
15
- password: 'abcd1234',
16
-
17
- port: 55432,
18
-
19
- synchronize: false,
20
-
21
- logging: true
22
- },
23
-
24
- reportApiUrl: 'http://localhost:8090/rest/report/show_html',
25
-
26
- storage: {
27
- type: 's3',
28
-
29
- accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
30
-
31
- secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
32
-
33
- bucketName: 'opa-one'
34
- },
35
-
36
- port: 3000,
37
-
38
- uploads: 'uploads',
39
-
40
- attachmentsPath: 'attachments',
41
-
42
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
43
-
44
- logger: {
45
- file: {
46
- filename: 'logs/application-%DATE%.log',
47
-
48
- datePattern: 'YYYY-MM-DD-HH',
49
-
50
- zippedArchive: true,
51
-
52
- maxSize: '200m',
53
-
54
- maxFiles: '1m',
55
-
56
- level: 'info'
57
- }
58
- },
59
-
60
- email: {
61
- host: 'smtp.office365.com',
62
-
63
- port: 587,
64
-
65
- secure: false, // true for 465, false for other ports
66
-
67
- auth: {
68
- user: 'no-reply@hatiolab.com', // generated ethereal user
69
-
70
- pass: 'h@ti0LAB1008' // generated ethereal password
71
- },
72
-
73
- secureConnection: false,
74
-
75
- tls: {
76
- ciphers: 'SSLv3'
77
- }
78
- },
79
-
80
- notification: {
81
- fcm: {
82
- serviceAccount: {
83
- project_id: 'operato',
84
-
85
- private_key:
86
- '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9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DFs/gQ/gIdcq0exLfluh5nw0qgcmyHpNWJHdjqITS9IX/nqFkU\n0IYLtmdStf2jQiLmbkydHcvz9wZVvLqml67VBHhwLcwpgPULoskd34/4V0Dvzy4c\nv1Esw8H5zVqIDLeLu+VpFjZMzQrjyl6RIWbyTExEc84rVWfpQYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
87
-
88
- client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
89
- },
90
-
91
- appConfig: {
92
- apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
93
-
94
- projectId: 'operato',
95
-
96
- messagingSenderId: 79537064975,
97
-
98
- appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
99
- },
100
-
101
- serverKey:
102
- 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
103
- },
104
-
105
- vapidKey: {
106
- subject: 'mailto:heartyoh@hatiolab.com',
107
-
108
- publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
109
-
110
- privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
111
- }
112
- }
113
- }