@jd-data-limited/easy-fm 3.0.10 → 3.1.1

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.
Files changed (67) hide show
  1. package/.idea/compiler.xml +7 -0
  2. package/.idea/discord.xml +7 -0
  3. package/dist/index.min.js +2 -0
  4. package/dist/index.min.js.LICENSE.txt +3 -0
  5. package/examples/test.js +7 -0
  6. package/img.png +0 -0
  7. package/package.json +2 -2
  8. package/src/FMError.d.ts +12 -0
  9. package/src/FMError.js +1028 -0
  10. package/src/FMError.ts +1035 -0
  11. package/src/connection/FMHost.d.ts +12 -0
  12. package/src/connection/FMHost.js +68 -0
  13. package/src/connection/FMHost.ts +75 -0
  14. package/src/connection/database.d.ts +28 -0
  15. package/src/connection/database.js +195 -0
  16. package/src/connection/database.ts +216 -0
  17. package/src/connection/generateAuthorizationHeaders.d.ts +2 -0
  18. package/src/connection/generateAuthorizationHeaders.js +23 -0
  19. package/src/connection/generateAuthorizationHeaders.ts +32 -0
  20. package/src/index.d.ts +19 -0
  21. package/src/index.js +19 -2076
  22. package/src/index.ts +38 -2325
  23. package/src/layouts/layout.d.ts +29 -0
  24. package/src/layouts/layout.js +84 -0
  25. package/src/layouts/layout.ts +92 -0
  26. package/src/layouts/layoutInterface.d.ts +13 -0
  27. package/src/layouts/layoutInterface.js +4 -0
  28. package/src/layouts/layoutInterface.ts +21 -0
  29. package/src/layouts/layoutRecordManager.d.ts +13 -0
  30. package/src/layouts/layoutRecordManager.js +50 -0
  31. package/src/layouts/layoutRecordManager.ts +59 -0
  32. package/src/records/field.d.ts +23 -0
  33. package/src/records/field.js +177 -0
  34. package/src/records/field.ts +189 -0
  35. package/src/records/getOperations/find.d.ts +15 -0
  36. package/src/records/getOperations/find.js +90 -0
  37. package/src/records/getOperations/find.ts +88 -0
  38. package/src/records/getOperations/recordGetOperation.d.ts +17 -0
  39. package/src/records/getOperations/recordGetOperation.js +43 -0
  40. package/src/records/getOperations/recordGetOperation.ts +54 -0
  41. package/src/records/getOperations/recordGetRange.d.ts +13 -0
  42. package/src/records/getOperations/recordGetRange.js +95 -0
  43. package/src/records/getOperations/recordGetRange.ts +84 -0
  44. package/src/records/layoutRecord.d.ts +16 -0
  45. package/src/records/layoutRecord.js +211 -0
  46. package/src/records/layoutRecord.ts +220 -0
  47. package/src/records/portal.d.ts +10 -0
  48. package/src/records/portal.js +19 -0
  49. package/src/records/portal.ts +28 -0
  50. package/src/records/portalRecord.d.ts +12 -0
  51. package/src/records/portalRecord.js +32 -0
  52. package/src/records/portalRecord.ts +43 -0
  53. package/src/records/recordBase.d.ts +21 -0
  54. package/src/records/recordBase.js +95 -0
  55. package/src/records/recordBase.ts +121 -0
  56. package/src/types.d.ts +119 -0
  57. package/src/types.js +8 -0
  58. package/src/types.ts +151 -0
  59. package/test.d.ts +1 -0
  60. package/test.js +4 -0
  61. package/tsconfig.json +4 -0
  62. package/TEMP/FILEMAKER.txt +0 -218
  63. package/TEMP/WEBAPP.txt +0 -92
  64. package/TEMP/config.yaml +0 -40
  65. package/TEMP/data.json +0 -19837
  66. package/temp2/1.19.2-forge-43.2.8.json +0 -347
  67. package/temp2/Quinn-1.19.2-forge-43.2.8.json +0 -347
@@ -1,218 +0,0 @@
1
- FILEMAKER:
2
-
3
- __CreationTimestamp
4
- __CreationUser
5
- __ModificationTimestamp
6
- __ModificationTimestamp|JS
7
- __ModificationUser
8
- __PrimaryKey
9
- __RecordID
10
- __RecordNumber
11
- __ShortID
12
- _1
13
- _IsIncubating
14
- _PDF|ArchiveID
15
- _Report|JSON|Shorthand
16
- _Report|JSON|Shorthand|Default
17
- _Report|JSON|Shorthand|HASH
18
- _RI|RI|Date|Sorter
19
- _RI|RI|Date|Sorter2
20
- _shouldShow
21
- _temp_field
22
- FI|A|Animal
23
- FI|A|Fertility
24
- FI|FI|BeddingFloorType
25
- FI|FI|BeddingFloorType Calc
26
- FI|FI|CalvingSystem
27
- FI|FI|FarmingSystem
28
- FI|FI|FarmingType
29
- FI|FI|FeedPad
30
- FI|FI|FeedPadCleaning
31
- FI|FI|HerdHome
32
- FI|FI|Lane
33
- FI|FI|Slatted
34
- FI|FI|StallType
35
- FI|FI|WinteringBarn
36
- FI|FS|Comment
37
- FI|FS|IncurringPenalties
38
- FI|FS|KnownCurrentIssues
39
- FI|FS|KnownCurrentIssues|Other
40
- FI|FS|Penalties|Bactoscan
41
- FI|FS|Penalties|Calc
42
- FI|FS|Penalties|Coliform
43
- FI|FS|Penalties|SCC
44
- FI|FS|Penalties|Temperature
45
- FI|FS|Penalties|Thermoduric
46
- FI|FS|PenaltyTypes
47
- FI|MM|Comment
48
- FI|MM|Comment|Report
49
- FI|MM|IdentifyProcess
50
- FI|MM|IdentifyProcess|Other
51
- FI|MM|TreatmentsPerMonth
52
- GI|1C|Email
53
- GI|1C|FName
54
- GI|1C|Label
55
- GI|1C|LName
56
- GI|1C|PhNumber
57
- GI|1C|PhType
58
- GI|1C|Role
59
- GI|2C|Email
60
- GI|2C|FName
61
- GI|2C|LName
62
- GI|2C|PhNumber
63
- GI|2C|Role
64
- GI|Customer|Label
65
- GI|Customer|LabelExtended
66
- GI|Customer|LabelExtended|Address
67
- GI|Customer|LabelExtended|Contact
68
- GI|Partner|Label
69
- GI|Partner|LabelExtended
70
- GI|Partner|LabelExtended|Address
71
- GI|Partner|LabelExtended|Contact
72
- GI|VET|Address
73
- GI|VET|Address|City
74
- GI|VET|Address|Country
75
- GI|VET|Address|Postcode
76
- GI|VET|Address|Street
77
- GI|VET|Address|StreetAddress
78
- GI|VET|Address|Town
79
- GI|VET|Email
80
- GI|VET|FName
81
- GI|VET|Label
82
- GI|VET|Label|Extended
83
- GI|VET|Label|Extended|Address
84
- GI|VET|Label|Extended|Contact
85
- GI|VET|LName
86
- GI|VET|PhNumber
87
- GI|VET|PracticeName
88
- GI|VET|ReceiveReport
89
- GI|VET|WasOnSite
90
- I|I|MiscComments
91
- I|ID|IncubationTimestamp
92
- I|ID|IncubationTimestamp|JS
93
- In|ArchiveID
94
- In|FarmID
95
- In|IncubationHours
96
- In|PartnerID
97
- In|UserID
98
- LinerLifeCalculator|CowsInClusters
99
- LinerLifeCalculator|Life_InDays
100
- LinerLifeCalculator|Life_InMonths
101
- LinerLifeCalculator|LinerLife
102
- LinerLifeCalculator|LinerUsage
103
- LinerLifeCalculator|MilkingsPerDay
104
- OnLoan|Date
105
- OnLoan|to
106
- Out|Contractor|Comments
107
- Out|ImportantNotes
108
- Out|KnownIssues|Notes
109
- Out|MilkingSystem|Notes
110
- Out|Pathogen|1
111
- Out|Pathogen|1|PriorityLevel
112
- Out|Pathogen|1|RiskLevel
113
- Out|Pathogen|2
114
- Out|Pathogen|2|PriorityLevel
115
- Out|Pathogen|2|RiskLevel
116
- Out|Pathogen|3
117
- Out|Pathogen|3|PriorityLevel
118
- Out|Pathogen|3|RiskLevel
119
- Out|Pathogen|4
120
- Out|Pathogen|4|PriorityLevel
121
- Out|Pathogen|4|RiskLevel
122
- Out|Pathogen|5
123
- Out|Pathogen|5|PriorityLevel5
124
- Out|Pathogen|5|RiskLevel
125
- Out|PF|MilkSamplingDate
126
- Out|PF|ReportDate
127
- Out|PF|ReportGeneratedBy
128
- Out|PI|GeneralComments
129
- Out|PI|GeneralComments Page1
130
- Out|PI|GeneralComments Page2
131
- Out|PI|GeneralComments|JSONSplit
132
- Out|PostMilking|Comment
133
- Out|PreMilking|Comment
134
- PDF|GenerateReport
135
- PlaceHolder
136
- Report|AddressTo
137
- Report|FooterText
138
- Report|HeaderText
139
- Report|IDNumber
140
- Report|JSON|Upload
141
- Report|JSON|Upload|DUMP
142
- Report|Type
143
- RI|RI|Date
144
- RI|RI|Date|JS
145
- RI|RI|HerdID
146
- RI|RI|LastSCCRecordingDate
147
- RI|RI|LastSCCRecordingValue
148
- RI|RI|MilkAvgYield|Calc
149
- RI|RI|MilkVolume
150
- RI|RI|MilkVolume|Calc
151
- RI|RI|MilkVolumeUnit
152
- RI|RI|NumAnimals
153
- RI|RI|NumAnimals|Calc
154
- RI|RI|NumAnimalsInTank
155
- RI|RI|SampleSource
156
- RI|RI|SampleSource|Calc
157
- RI|RI|SCC|Comments
158
- RI|RI|SCC|Value
159
- RI|RI|SubPopulation
160
- SMPI|MP|MilkPickups
161
- SMPI|MP|MilkPickups|Num
162
- SMPI|MP|NumMilkingsPerDay
163
- SMPI|MS|ACR
164
- SMPI|MS|InShedFeeding
165
- SMPI|MS|MilkingSystem|Calc
166
- SMPI|MS|MilkingSystemMake
167
- SMPI|MS|MilkingSystemMake|Name
168
- SMPI|MS|MilkingSystemType
169
- SMPI|MS|MSAge
170
- SMPI|MS|NumOfBales
171
- SMPI|PostI|ExtraEmolientActiveIngredients
172
- SMPI|PostI|ExtraEmolientActiveIngredients|Calc
173
- SMPI|PostM|Comments
174
- SMPI|PostM|DippingOrSpraying
175
- SMPI|PostM|DippingOrSpraying|Other
176
- SMPI|PostM|ExtraEmolientProductName
177
- SMPI|PostM|PostMilkingTeatSpraying
178
- SMPI|PostM|ProductActiveConcentration
179
- SMPI|PostM|ProductActiveIngredient
180
- SMPI|PostM|ProductActiveIngredient|Calc
181
- SMPI|PostM|ProductActiveIngredient|Other
182
- SMPI|PostM|ProductEmolientConcentration
183
- SMPI|PostM|ProductName
184
- SMPI|PostM|TeatCare|Brand
185
- SMPI|PostM|TeatSprayingTechnology
186
- SMPI|PostM|TeatSprayingTechnology|Other
187
- SMPI|PostM|UseEmolient
188
- SMPI|PreM|Brushes
189
- SMPI|PreM|Dilution
190
- SMPI|PreM|ProductName
191
- SMPI|PreM|TeatCare|Brand
192
- SMPI|PreM|TeatCare|Dilution
193
- SMPI|PreM|TeatCare|Name
194
- SMPI|PreM|TeatCleanMethod
195
- SMPI|PreM|TeatCleanMethod|Calc
196
- SMPI|PreM|TeatCleanMethod|Other
197
- SMPI|PreM|TeatDisinfectActiveIngredient
198
- SMPI|PreM|TeatDisinfectActiveIngredient|Calc
199
- SMPI|PreM|TeatDisinfectActiveIngredient|Other
200
- SMPI|PreM|TeatDisinfectMethod
201
- SMPI|PreM|TeatDisinfectMethod|Other
202
- SMPI|PreM|TeatDisinfectTech
203
- SMPI|PreM|TeatPrepClean
204
- SMPI|PreM|TeatPrepDisinfectLiquid
205
- SMPI|PreM|TeatPrepMethod
206
- SMPI|PreM|TeatPrepMethod|Other
207
- SMPI|PreM|TeatPrepTemp
208
- SMPI|PreM|TeatWipeMethod
209
- SMPI|PreM|TeatWipeMethod|Other
210
- SMPI|PreM|WashTemp
211
- SMPI|PW|Comment
212
- SMPI|PW|FarmWaterSource
213
- SMpI|PW|FarmWaterSource|Other
214
- SMPI|PW|TeatcareDilutionWaterSource
215
- SMPI|PW|WaterTreatmentTechnology
216
- SMPI|PW|WaterTreatmentTechnology|Other
217
- SMPIIPW|TeatcareDilutionWaterSource|Other
218
- status
package/TEMP/WEBAPP.txt DELETED
@@ -1,92 +0,0 @@
1
- WEB-APP:
2
-
3
- FI|A|Animal
4
- FI|A|Fertility
5
- FI|FI|BeddingFloorType
6
- FI|FI|CalvingSystem
7
- FI|FI|FarmingSystem
8
- FI|FI|FarmingType
9
- FI|FI|FeedPad
10
- FI|FI|FeedPadCleaning
11
- FI|FI|HerdHome
12
- FI|FI|Lane
13
- FI|FI|Slatted
14
- FI|FI|StallType
15
- FI|FI|WinteringBarn
16
- FI|FS|Comment
17
- FI|FS|IncurringPenalties
18
- FI|FS|KnownCurrentIssues
19
- FI|FS|Penalties|Bactoscan
20
- FI|FS|Penalties|Coliform
21
- FI|FS|Penalties|SCC
22
- FI|FS|Penalties|Temperature
23
- FI|FS|Penalties|Thermoduric
24
- FI|FS|PenaltyTypes
25
- FI|MM|Comment
26
- FI|MM|IdentifyProcess
27
- FI|MM|TreatmentsPerMonth
28
- GI|1C|Email
29
- GI|1C|FName
30
- GI|1C|LName
31
- GI|1C|PhNumber
32
- GI|1C|Role
33
- GI|2C|Email
34
- GI|2C|FName
35
- GI|2C|LName
36
- GI|2C|PhNumber
37
- GI|2C|Role
38
- GI|VET|Address
39
- GI|VET|Email
40
- GI|VET|FName
41
- GI|VET|LName
42
- GI|VET|PhNumber
43
- GI|VET|PracticeName
44
- GI|VET|ReceiveReport
45
- I|I|MiscComments
46
- I|ID|IncubationTimestamp|JS
47
- I|Images|HeldUpToLight
48
- I|Images|OnAnAngle
49
- I|Images|WhBackground
50
- RI|RI|Date|JS
51
- RI|RI|HerdID
52
- RI|RI|MilkVolume
53
- RI|RI|MilkVolumeUnit
54
- RI|RI|NumAnimals
55
- RI|RI|NumAnimalsInTank
56
- RI|RI|SampleSource
57
- RI|RI|SCC|Comments
58
- RI|RI|SCC|Value
59
- RI|RI|SubPopulation
60
- SMPI|MP|MilkPickups
61
- SMPI|MP|MilkPickups|Num
62
- SMPI|MP|NumMilkingsPerDay
63
- SMPI|MS|ACR
64
- SMPI|MS|InShedFeeding
65
- SMPI|MS|MilkingSystemMake
66
- SMPI|MS|MilkingSystemMake|Name
67
- SMPI|MS|MilkingSystemType
68
- SMPI|MS|MSAge
69
- SMPI|MS|NumOfBales
70
- SMPI|PostI|ExtraEmolientActiveIngredients
71
- SMPI|PostM|Comments
72
- SMPI|PostM|DippingOrSpraying
73
- SMPI|PostM|ExtraEmolientProductName
74
- SMPI|PostM|ProductActiveConcentration
75
- SMPI|PostM|ProductActiveIngredient
76
- SMPI|PostM|ProductEmolientConcentration
77
- SMPI|PostM|ProductName
78
- SMPI|PostM|TeatCare|Brand
79
- SMPI|PostM|TeatSprayingTechnology
80
- SMPI|PostM|UseEmolient
81
- SMPI|PreM|Dilution
82
- SMPI|PreM|ProductName
83
- SMPI|PreM|TeatCleanMethod
84
- SMPI|PreM|TeatDisinfectActiveIngredient
85
- SMPI|PreM|TeatDisinfectMethod
86
- SMPI|PreM|TeatDisinfectTech
87
- SMPI|PreM|TeatWipeMethod
88
- SMPI|PreM|WashTemp
89
- SMPI|PW|Comment
90
- SMPI|PW|FarmWaterSource
91
- SMPI|PW|TeatcareDilutionWaterSource
92
- SMPI|PW|WaterTreatmentTechnology
package/TEMP/config.yaml DELETED
@@ -1,40 +0,0 @@
1
- # Copyright 2020 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- # <== Enter custom agent configurations in this file.
16
- # See https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/configuration
17
- # for more details.
18
-
19
- logging:
20
- receivers:
21
- filemaker-event-log:
22
- type: files
23
- include_paths:
24
- - "/opt/FileMaker/FileMaker Server/Logs/Event.log"
25
- filemaker-access-log:
26
- type: files
27
- include_paths:
28
- - "/opt/FileMaker/FileMaker Server/Logs/Access.log"
29
- filemaker-fmdapi-log:
30
- type: files
31
- include_paths:
32
- - "/opt/FileMaker/FileMaker Server/Logs/fmdapi.log"
33
- service:
34
- pipelines:
35
- filemaker-event-pipeline:
36
- receivers: [filemaker-event-log]
37
- filemaker-access-pipeline:
38
- receivers: [filemaker-access-log]
39
- filemaker-fmdapi-pipeline:
40
- receivers: [filemaker-fmdapi-log]