@ripwords/myinvois-client 0.0.6 → 0.0.8
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/bun.lock +25 -25
- package/dist/index.cjs +95 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2318 -464
- package/dist/index.js +24 -22
- package/package.json +17 -13
- package/rolldown.config.ts +1 -1
- package/src/api/platform/taxpayerLogin.ts +28 -0
- package/src/types/index.d.ts +12 -0
- package/src/types/unit/1X.d.ts +16 -0
- package/src/types/unit/2X.d.ts +62 -0
- package/src/types/unit/3X.d.ts +17 -0
- package/src/types/unit/4X.d.ts +44 -0
- package/src/types/unit/5X.d.ts +26 -0
- package/src/types/unit/6X.d.ts +12 -0
- package/src/types/unit/7X.d.ts +12 -0
- package/src/types/unit/8X.d.ts +15 -0
- package/src/types/unit/9X.d.ts +11 -0
- package/src/types/unit/AX.d.ts +202 -0
- package/src/types/unit/BX.d.ts +212 -0
- package/src/types/unit/CX.d.ts +238 -0
- package/src/types/unit/DX.d.ts +212 -0
- package/src/types/unit/EX.d.ts +196 -0
- package/src/types/unit/FX.d.ts +236 -0
- package/src/types/unit/GX.d.ts +254 -0
- package/src/types/unit/HX.d.ts +234 -0
- package/src/types/unit/IX.d.ts +28 -0
- package/src/types/unit/JX.d.ts +190 -0
- package/src/types/unit/KX.d.ts +284 -0
- package/src/types/unit/LX.d.ts +228 -0
- package/src/types/unit/MX.d.ts +288 -0
- package/src/types/unit/NX.d.ts +226 -0
- package/src/types/unit/OX.d.ts +34 -0
- package/src/types/unit/PX.d.ts +224 -0
- package/src/types/unit/QX.d.ts +94 -0
- package/src/types/unit/RX.d.ts +28 -0
- package/src/types/unit/SX.d.ts +56 -0
- package/src/types/unit/TX.d.ts +44 -0
- package/src/types/unit/UX.d.ts +14 -0
- package/src/types/unit/VX.d.ts +13 -0
- package/src/types/unit/WX.d.ts +34 -0
- package/src/types/unit/XX.d.ts +825 -0
- package/src/types/unit/YX.d.ts +17 -0
- package/src/types/unit/ZX.d.ts +19 -0
- package/src/types/unit-types.d.ts +71 -575
- package/src/utils/MyInvoisClient.ts +20 -33
- package/src/utils/getBaseUrl.ts +5 -0
- package/test/{MyInvoiClientRealData.test.ts → MyInvoiClientWithRealData.test.ts} +13 -1
- package/test/MyInvoisClient.test.ts +14 -13
- package/dist/cjs/index.cjs +0 -70
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/cjs/multipart-parser-Bu3ikqFQ.cjs +0 -182
- package/dist/cjs/multipart-parser-Bu3ikqFQ.cjs.map +0 -1
- package/dist/cjs/node-qs2pnN6F.cjs +0 -4124
- package/dist/cjs/node-qs2pnN6F.cjs.map +0 -1
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unit type codes starting with 'B'.
|
|
3
|
+
*/
|
|
4
|
+
export type UnitTypeCode_BX =
|
|
5
|
+
| 'B1'
|
|
6
|
+
| 'B10'
|
|
7
|
+
| 'B11'
|
|
8
|
+
| 'B12'
|
|
9
|
+
| 'B13'
|
|
10
|
+
| 'B14'
|
|
11
|
+
| 'B15'
|
|
12
|
+
| 'B16'
|
|
13
|
+
| 'B17'
|
|
14
|
+
| 'B18'
|
|
15
|
+
| 'B19'
|
|
16
|
+
| 'B20'
|
|
17
|
+
| 'B21'
|
|
18
|
+
| 'B22'
|
|
19
|
+
| 'B23'
|
|
20
|
+
| 'B24'
|
|
21
|
+
| 'B25'
|
|
22
|
+
| 'B26'
|
|
23
|
+
| 'B27'
|
|
24
|
+
| 'B28'
|
|
25
|
+
| 'B29'
|
|
26
|
+
| 'B3'
|
|
27
|
+
| 'B30'
|
|
28
|
+
| 'B31'
|
|
29
|
+
| 'B32'
|
|
30
|
+
| 'B33'
|
|
31
|
+
| 'B34'
|
|
32
|
+
| 'B35'
|
|
33
|
+
| 'B4'
|
|
34
|
+
| 'B41'
|
|
35
|
+
| 'B42'
|
|
36
|
+
| 'B43'
|
|
37
|
+
| 'B44'
|
|
38
|
+
| 'B45'
|
|
39
|
+
| 'B46'
|
|
40
|
+
| 'B47'
|
|
41
|
+
| 'B48'
|
|
42
|
+
| 'B49'
|
|
43
|
+
| 'B50'
|
|
44
|
+
| 'B52'
|
|
45
|
+
| 'B53'
|
|
46
|
+
| 'B54'
|
|
47
|
+
| 'B55'
|
|
48
|
+
| 'B56'
|
|
49
|
+
| 'B57'
|
|
50
|
+
| 'B58'
|
|
51
|
+
| 'B59'
|
|
52
|
+
| 'B60'
|
|
53
|
+
| 'B61'
|
|
54
|
+
| 'B62'
|
|
55
|
+
| 'B63'
|
|
56
|
+
| 'B64'
|
|
57
|
+
| 'B66'
|
|
58
|
+
| 'B67'
|
|
59
|
+
| 'B68'
|
|
60
|
+
| 'B69'
|
|
61
|
+
| 'B7'
|
|
62
|
+
| 'B70'
|
|
63
|
+
| 'B71'
|
|
64
|
+
| 'B72'
|
|
65
|
+
| 'B73'
|
|
66
|
+
| 'B74'
|
|
67
|
+
| 'B75'
|
|
68
|
+
| 'B76'
|
|
69
|
+
| 'B77'
|
|
70
|
+
| 'B78'
|
|
71
|
+
| 'B79'
|
|
72
|
+
| 'B8'
|
|
73
|
+
| 'B80'
|
|
74
|
+
| 'B81'
|
|
75
|
+
| 'B82'
|
|
76
|
+
| 'B83'
|
|
77
|
+
| 'B84'
|
|
78
|
+
| 'B85'
|
|
79
|
+
| 'B86'
|
|
80
|
+
| 'B87'
|
|
81
|
+
| 'B88'
|
|
82
|
+
| 'B89'
|
|
83
|
+
| 'B90'
|
|
84
|
+
| 'B91'
|
|
85
|
+
| 'B92'
|
|
86
|
+
| 'B93'
|
|
87
|
+
| 'B94'
|
|
88
|
+
| 'B95'
|
|
89
|
+
| 'B96'
|
|
90
|
+
| 'B97'
|
|
91
|
+
| 'B98'
|
|
92
|
+
| 'B99'
|
|
93
|
+
| 'BAR'
|
|
94
|
+
| 'BB'
|
|
95
|
+
| 'BFT'
|
|
96
|
+
| 'BHP'
|
|
97
|
+
| 'BIL'
|
|
98
|
+
| 'BLD'
|
|
99
|
+
| 'BLL'
|
|
100
|
+
| 'BP'
|
|
101
|
+
| 'BPM'
|
|
102
|
+
| 'BQL'
|
|
103
|
+
| 'BTU'
|
|
104
|
+
| 'BUA'
|
|
105
|
+
| 'BUI'
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Enum representing unit type codes starting with 'B'.
|
|
109
|
+
*/
|
|
110
|
+
export enum UnitTypeCodeEnum_BX {
|
|
111
|
+
BarrelUSPerDay = 'B1',
|
|
112
|
+
BitPerSecond = 'B10',
|
|
113
|
+
JoulePerKilogramKelvin = 'B11',
|
|
114
|
+
JoulePerMetre = 'B12',
|
|
115
|
+
JoulePerSquareMetre = 'B13',
|
|
116
|
+
JoulePerMetreToTheFourthPower = 'B14',
|
|
117
|
+
JoulePerMole = 'B15',
|
|
118
|
+
JoulePerMoleKelvin = 'B16',
|
|
119
|
+
Credit = 'B17',
|
|
120
|
+
JouleSecond = 'B18',
|
|
121
|
+
Digit = 'B19',
|
|
122
|
+
JouleSquareMetrePerKilogram = 'B20',
|
|
123
|
+
KelvinPerWatt = 'B21',
|
|
124
|
+
Kiloampere = 'B22',
|
|
125
|
+
KiloamperePerSquareMetre = 'B23',
|
|
126
|
+
KiloamperePerMetre = 'B24',
|
|
127
|
+
KilobecquerelPerKilogram = 'B25',
|
|
128
|
+
Kilocoulomb = 'B26',
|
|
129
|
+
KilocoulombPerCubicMetre = 'B27',
|
|
130
|
+
KilocoulombPerSquareMetre = 'B28',
|
|
131
|
+
Kiloelectronvolt = 'B29',
|
|
132
|
+
BattingPound = 'B3',
|
|
133
|
+
Gibibit = 'B30',
|
|
134
|
+
KilogramMetrePerSecond = 'B31',
|
|
135
|
+
KilogramMetreSquared = 'B32',
|
|
136
|
+
KilogramMetreSquaredPerSecond = 'B33',
|
|
137
|
+
KilogramPerCubicDecimetre = 'B34',
|
|
138
|
+
KilogramPerLitre = 'B35',
|
|
139
|
+
BarrelImperial = 'B4',
|
|
140
|
+
KilojoulePerKelvin = 'B41',
|
|
141
|
+
KilojoulePerKilogram = 'B42',
|
|
142
|
+
KilojoulePerKilogramKelvin = 'B43',
|
|
143
|
+
KilojoulePerMole = 'B44',
|
|
144
|
+
Kilomole = 'B45',
|
|
145
|
+
KilomolePerCubicMetre = 'B46',
|
|
146
|
+
Kilonewton = 'B47',
|
|
147
|
+
KilonewtonMetre = 'B48',
|
|
148
|
+
Kiloohm = 'B49',
|
|
149
|
+
KiloohmMetre = 'B50',
|
|
150
|
+
Kilosecond = 'B52',
|
|
151
|
+
Kilosiemens = 'B53',
|
|
152
|
+
KilosiemensPerMetre = 'B54',
|
|
153
|
+
KilovoltPerMetre = 'B55',
|
|
154
|
+
KiloweberPerMetre = 'B56',
|
|
155
|
+
LightYear = 'B57',
|
|
156
|
+
LitrePerMole = 'B58',
|
|
157
|
+
LumenHour = 'B59',
|
|
158
|
+
LumenPerSquareMetre = 'B60',
|
|
159
|
+
LumenPerWatt = 'B61',
|
|
160
|
+
LumenSecond = 'B62',
|
|
161
|
+
LuxHour = 'B63',
|
|
162
|
+
LuxSecond = 'B64',
|
|
163
|
+
MegaamperePerSquareMetre = 'B66',
|
|
164
|
+
MegabecquerelPerKilogram = 'B67',
|
|
165
|
+
Gigabit = 'B68',
|
|
166
|
+
MegacoulombPerCubicMetre = 'B69',
|
|
167
|
+
Cycle = 'B7',
|
|
168
|
+
MegacoulombPerSquareMetre = 'B70',
|
|
169
|
+
Megaelectronvolt = 'B71',
|
|
170
|
+
MegagramPerCubicMetre = 'B72',
|
|
171
|
+
Meganewton = 'B73',
|
|
172
|
+
MeganewtonMetre = 'B74',
|
|
173
|
+
Megaohm = 'B75',
|
|
174
|
+
MegaohmMetre = 'B76',
|
|
175
|
+
MegasiemensPerMetre = 'B77',
|
|
176
|
+
Megavolt = 'B78',
|
|
177
|
+
MegavoltPerMetre = 'B79',
|
|
178
|
+
JoulePerCubicMetre = 'B8',
|
|
179
|
+
GigabitPerSecond = 'B80',
|
|
180
|
+
ReciprocalMetreSquaredReciprocalSecond = 'B81',
|
|
181
|
+
InchPerLinearFoot = 'B82',
|
|
182
|
+
MetreToTheFourthPower = 'B83',
|
|
183
|
+
Microampere = 'B84',
|
|
184
|
+
Microbar = 'B85',
|
|
185
|
+
Microcoulomb = 'B86',
|
|
186
|
+
MicrocoulombPerCubicMetre = 'B87',
|
|
187
|
+
MicrocoulombPerSquareMetre = 'B88',
|
|
188
|
+
MicrofaradPerMetre = 'B89',
|
|
189
|
+
Microhenry = 'B90',
|
|
190
|
+
MicrohenryPerMetre = 'B91',
|
|
191
|
+
Micronewton = 'B92',
|
|
192
|
+
MicronewtonMetre = 'B93',
|
|
193
|
+
Microohm = 'B94',
|
|
194
|
+
MicroohmMetre = 'B95',
|
|
195
|
+
Micropascal = 'B96',
|
|
196
|
+
Microradian = 'B97',
|
|
197
|
+
Microsecond = 'B98',
|
|
198
|
+
Microsiemens = 'B99',
|
|
199
|
+
Bar = 'BAR',
|
|
200
|
+
BaseBox = 'BB',
|
|
201
|
+
BoardFoot = 'BFT',
|
|
202
|
+
BrakeHorsePower = 'BHP',
|
|
203
|
+
BillionEUR = 'BIL',
|
|
204
|
+
DryBarrelUS = 'BLD',
|
|
205
|
+
BarrelUS = 'BLL',
|
|
206
|
+
HundredBoardFoot = 'BP',
|
|
207
|
+
BeatsPerMinute = 'BPM',
|
|
208
|
+
Becquerel = 'BQL',
|
|
209
|
+
BritishThermalUnit = 'BTU',
|
|
210
|
+
BushelUS = 'BUA',
|
|
211
|
+
BushelUK = 'BUI',
|
|
212
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unit type codes starting with 'C'.
|
|
3
|
+
*/
|
|
4
|
+
export type UnitTypeCode_CX =
|
|
5
|
+
| 'C0'
|
|
6
|
+
| 'C10'
|
|
7
|
+
| 'C11'
|
|
8
|
+
| 'C12'
|
|
9
|
+
| 'C13'
|
|
10
|
+
| 'C14'
|
|
11
|
+
| 'C15'
|
|
12
|
+
| 'C16'
|
|
13
|
+
| 'C17'
|
|
14
|
+
| 'C18'
|
|
15
|
+
| 'C19'
|
|
16
|
+
| 'C20'
|
|
17
|
+
| 'C21'
|
|
18
|
+
| 'C22'
|
|
19
|
+
| 'C23'
|
|
20
|
+
| 'C24'
|
|
21
|
+
| 'C25'
|
|
22
|
+
| 'C26'
|
|
23
|
+
| 'C27'
|
|
24
|
+
| 'C28'
|
|
25
|
+
| 'C29'
|
|
26
|
+
| 'C3'
|
|
27
|
+
| 'C30'
|
|
28
|
+
| 'C31'
|
|
29
|
+
| 'C32'
|
|
30
|
+
| 'C33'
|
|
31
|
+
| 'C34'
|
|
32
|
+
| 'C35'
|
|
33
|
+
| 'C36'
|
|
34
|
+
| 'C37'
|
|
35
|
+
| 'C38'
|
|
36
|
+
| 'C39'
|
|
37
|
+
| 'C40'
|
|
38
|
+
| 'C41'
|
|
39
|
+
| 'C42'
|
|
40
|
+
| 'C43'
|
|
41
|
+
| 'C44'
|
|
42
|
+
| 'C45'
|
|
43
|
+
| 'C46'
|
|
44
|
+
| 'C47'
|
|
45
|
+
| 'C48'
|
|
46
|
+
| 'C49'
|
|
47
|
+
| 'C50'
|
|
48
|
+
| 'C51'
|
|
49
|
+
| 'C52'
|
|
50
|
+
| 'C53'
|
|
51
|
+
| 'C54'
|
|
52
|
+
| 'C55'
|
|
53
|
+
| 'C56'
|
|
54
|
+
| 'C57'
|
|
55
|
+
| 'C58'
|
|
56
|
+
| 'C59'
|
|
57
|
+
| 'C60'
|
|
58
|
+
| 'C61'
|
|
59
|
+
| 'C62'
|
|
60
|
+
| 'C63'
|
|
61
|
+
| 'C64'
|
|
62
|
+
| 'C65'
|
|
63
|
+
| 'C66'
|
|
64
|
+
| 'C67'
|
|
65
|
+
| 'C68'
|
|
66
|
+
| 'C69'
|
|
67
|
+
| 'C7'
|
|
68
|
+
| 'C70'
|
|
69
|
+
| 'C71'
|
|
70
|
+
| 'C72'
|
|
71
|
+
| 'C73'
|
|
72
|
+
| 'C74'
|
|
73
|
+
| 'C75'
|
|
74
|
+
| 'C76'
|
|
75
|
+
| 'C78'
|
|
76
|
+
| 'C79'
|
|
77
|
+
| 'C8'
|
|
78
|
+
| 'C80'
|
|
79
|
+
| 'C81'
|
|
80
|
+
| 'C82'
|
|
81
|
+
| 'C83'
|
|
82
|
+
| 'C84'
|
|
83
|
+
| 'C85'
|
|
84
|
+
| 'C86'
|
|
85
|
+
| 'C87'
|
|
86
|
+
| 'C88'
|
|
87
|
+
| 'C89'
|
|
88
|
+
| 'C9'
|
|
89
|
+
| 'C90'
|
|
90
|
+
| 'C91'
|
|
91
|
+
| 'C92'
|
|
92
|
+
| 'C93'
|
|
93
|
+
| 'C94'
|
|
94
|
+
| 'C95'
|
|
95
|
+
| 'C96'
|
|
96
|
+
| 'C97'
|
|
97
|
+
| 'C99'
|
|
98
|
+
| 'CCT'
|
|
99
|
+
| 'CDL'
|
|
100
|
+
| 'CEL'
|
|
101
|
+
| 'CEN'
|
|
102
|
+
| 'CG'
|
|
103
|
+
| 'CGM'
|
|
104
|
+
| 'CKG'
|
|
105
|
+
| 'CLF'
|
|
106
|
+
| 'CLT'
|
|
107
|
+
| 'CMK'
|
|
108
|
+
| 'CMQ'
|
|
109
|
+
| 'CMT'
|
|
110
|
+
| 'CNP'
|
|
111
|
+
| 'CNT'
|
|
112
|
+
| 'COU'
|
|
113
|
+
| 'CTG'
|
|
114
|
+
| 'CTM'
|
|
115
|
+
| 'CTN'
|
|
116
|
+
| 'CUR'
|
|
117
|
+
| 'CWA'
|
|
118
|
+
| 'CWI'
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Enum representing unit type codes starting with 'C'.
|
|
122
|
+
*/
|
|
123
|
+
export enum UnitTypeCodeEnum_CX {
|
|
124
|
+
Call = 'C0',
|
|
125
|
+
Millifarad = 'C10',
|
|
126
|
+
Milligal = 'C11',
|
|
127
|
+
MilligramPerMetre = 'C12',
|
|
128
|
+
Milligray = 'C13',
|
|
129
|
+
Millihenry = 'C14',
|
|
130
|
+
Millijoule = 'C15',
|
|
131
|
+
MillimetrePerSecond = 'C16',
|
|
132
|
+
MillimetreSquaredPerSecond = 'C17',
|
|
133
|
+
Millimole = 'C18',
|
|
134
|
+
MolePerKilogram = 'C19',
|
|
135
|
+
Millinewton = 'C20',
|
|
136
|
+
Kibibit = 'C21',
|
|
137
|
+
MillinewtonPerMetre = 'C22',
|
|
138
|
+
MilliohmMetre = 'C23',
|
|
139
|
+
MillipascalSecond = 'C24',
|
|
140
|
+
Milliradian = 'C25',
|
|
141
|
+
Millisecond = 'C26',
|
|
142
|
+
Millisiemens = 'C27',
|
|
143
|
+
Millisievert = 'C28',
|
|
144
|
+
Millitesla = 'C29',
|
|
145
|
+
MicrovoltPerMetre = 'C3',
|
|
146
|
+
MillivoltPerMetre = 'C30',
|
|
147
|
+
Milliwatt = 'C31',
|
|
148
|
+
MilliwattPerSquareMetre = 'C32',
|
|
149
|
+
Milliweber = 'C33',
|
|
150
|
+
Mole = 'C34',
|
|
151
|
+
MolePerCubicDecimetre = 'C35',
|
|
152
|
+
MolePerCubicMetre = 'C36',
|
|
153
|
+
Kilobit = 'C37',
|
|
154
|
+
MolePerLitre = 'C38',
|
|
155
|
+
Nanoampere = 'C39',
|
|
156
|
+
Nanocoulomb = 'C40',
|
|
157
|
+
Nanofarad = 'C41',
|
|
158
|
+
NanofaradPerMetre = 'C42',
|
|
159
|
+
Nanohenry = 'C43',
|
|
160
|
+
NanohenryPerMetre = 'C44',
|
|
161
|
+
Nanometre = 'C45',
|
|
162
|
+
NanoohmMetre = 'C46',
|
|
163
|
+
Nanosecond = 'C47',
|
|
164
|
+
Nanotesla = 'C48',
|
|
165
|
+
Nanowatt = 'C49',
|
|
166
|
+
Neper = 'C50',
|
|
167
|
+
NeperPerSecond = 'C51',
|
|
168
|
+
Picometre = 'C52',
|
|
169
|
+
NewtonMetreSecond = 'C53',
|
|
170
|
+
NewtonMetreSquaredPerKilogramSquared = 'C54',
|
|
171
|
+
NewtonPerSquareMetre = 'C55',
|
|
172
|
+
NewtonPerSquareMillimetre = 'C56',
|
|
173
|
+
NewtonSecond = 'C57',
|
|
174
|
+
NewtonSecondPerMetre = 'C58',
|
|
175
|
+
Octave = 'C59',
|
|
176
|
+
OhmCentimetre = 'C60',
|
|
177
|
+
OhmMetre = 'C61',
|
|
178
|
+
One = 'C62',
|
|
179
|
+
Parsec = 'C63',
|
|
180
|
+
PascalPerKelvin = 'C64',
|
|
181
|
+
PascalSecond = 'C65',
|
|
182
|
+
PascalSecondPerCubicMetre = 'C66',
|
|
183
|
+
PascalSecondPerMetre = 'C67',
|
|
184
|
+
Petajoule = 'C68',
|
|
185
|
+
Phon = 'C69',
|
|
186
|
+
Centipoise = 'C7',
|
|
187
|
+
Picoampere = 'C70',
|
|
188
|
+
Picocoulomb = 'C71',
|
|
189
|
+
PicofaradPerMetre = 'C72',
|
|
190
|
+
Picohenry = 'C73',
|
|
191
|
+
KilobitPerSecond = 'C74',
|
|
192
|
+
Picowatt = 'C75',
|
|
193
|
+
PicowattPerSquareMetre = 'C76',
|
|
194
|
+
PoundForce = 'C78',
|
|
195
|
+
KilovoltAmpereHour = 'C79',
|
|
196
|
+
MillicoulombPerKilogram = 'C8',
|
|
197
|
+
Rad = 'C80',
|
|
198
|
+
Radian = 'C81',
|
|
199
|
+
RadianSquareMetrePerMole = 'C82',
|
|
200
|
+
RadianSquareMetrePerKilogram = 'C83',
|
|
201
|
+
RadianPerMetre = 'C84',
|
|
202
|
+
ReciprocalAngstrom = 'C85',
|
|
203
|
+
ReciprocalCubicMetre = 'C86',
|
|
204
|
+
ReciprocalCubicMetrePerSecond = 'C87',
|
|
205
|
+
ReciprocalElectronVoltPerCubicMetre = 'C88',
|
|
206
|
+
ReciprocalHenry = 'C89',
|
|
207
|
+
CoilGroup = 'C9',
|
|
208
|
+
ReciprocalJoulePerCubicMetre = 'C90',
|
|
209
|
+
ReciprocalKelvin = 'C91',
|
|
210
|
+
ReciprocalMetre = 'C92',
|
|
211
|
+
ReciprocalSquareMetre = 'C93',
|
|
212
|
+
ReciprocalMinute = 'C94',
|
|
213
|
+
ReciprocalMole = 'C95',
|
|
214
|
+
ReciprocalPascal = 'C96',
|
|
215
|
+
ReciprocalSecond = 'C97',
|
|
216
|
+
ReciprocalSecondPerMetreSquared = 'C99',
|
|
217
|
+
CarryingCapacityInMetricTon = 'CCT',
|
|
218
|
+
Candela = 'CDL',
|
|
219
|
+
DegreeCelsius = 'CEL',
|
|
220
|
+
Hundred = 'CEN',
|
|
221
|
+
Card = 'CG',
|
|
222
|
+
Centigram = 'CGM',
|
|
223
|
+
CoulombPerKilogram = 'CKG',
|
|
224
|
+
HundredLeave = 'CLF',
|
|
225
|
+
Centilitre = 'CLT',
|
|
226
|
+
SquareCentimetre = 'CMK',
|
|
227
|
+
CubicCentimetre = 'CMQ',
|
|
228
|
+
Centimetre = 'CMT',
|
|
229
|
+
HundredPack = 'CNP',
|
|
230
|
+
CentalUK = 'CNT',
|
|
231
|
+
Coulomb = 'COU',
|
|
232
|
+
ContentGram = 'CTG',
|
|
233
|
+
MetricCarat = 'CTM',
|
|
234
|
+
ContentTonMetric = 'CTN',
|
|
235
|
+
Curie = 'CUR',
|
|
236
|
+
HundredPoundCwt = 'CWA',
|
|
237
|
+
HundredWeightUK = 'CWI',
|
|
238
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unit type codes starting with 'D'.
|
|
3
|
+
*/
|
|
4
|
+
export type UnitTypeCode_DX =
|
|
5
|
+
| 'D03'
|
|
6
|
+
| 'D04'
|
|
7
|
+
| 'D1'
|
|
8
|
+
| 'D10'
|
|
9
|
+
| 'D11'
|
|
10
|
+
| 'D12'
|
|
11
|
+
| 'D13'
|
|
12
|
+
| 'D15'
|
|
13
|
+
| 'D16'
|
|
14
|
+
| 'D17'
|
|
15
|
+
| 'D18'
|
|
16
|
+
| 'D19'
|
|
17
|
+
| 'D2'
|
|
18
|
+
| 'D20'
|
|
19
|
+
| 'D21'
|
|
20
|
+
| 'D22'
|
|
21
|
+
| 'D23'
|
|
22
|
+
| 'D24'
|
|
23
|
+
| 'D25'
|
|
24
|
+
| 'D26'
|
|
25
|
+
| 'D27'
|
|
26
|
+
| 'D29'
|
|
27
|
+
| 'D30'
|
|
28
|
+
| 'D31'
|
|
29
|
+
| 'D32'
|
|
30
|
+
| 'D33'
|
|
31
|
+
| 'D34'
|
|
32
|
+
| 'D36'
|
|
33
|
+
| 'D41'
|
|
34
|
+
| 'D42'
|
|
35
|
+
| 'D43'
|
|
36
|
+
| 'D44'
|
|
37
|
+
| 'D45'
|
|
38
|
+
| 'D46'
|
|
39
|
+
| 'D47'
|
|
40
|
+
| 'D48'
|
|
41
|
+
| 'D49'
|
|
42
|
+
| 'D5'
|
|
43
|
+
| 'D50'
|
|
44
|
+
| 'D51'
|
|
45
|
+
| 'D52'
|
|
46
|
+
| 'D53'
|
|
47
|
+
| 'D54'
|
|
48
|
+
| 'D55'
|
|
49
|
+
| 'D56'
|
|
50
|
+
| 'D57'
|
|
51
|
+
| 'D58'
|
|
52
|
+
| 'D59'
|
|
53
|
+
| 'D6'
|
|
54
|
+
| 'D60'
|
|
55
|
+
| 'D61'
|
|
56
|
+
| 'D62'
|
|
57
|
+
| 'D63'
|
|
58
|
+
| 'D65'
|
|
59
|
+
| 'D68'
|
|
60
|
+
| 'D69'
|
|
61
|
+
| 'D73'
|
|
62
|
+
| 'D74'
|
|
63
|
+
| 'D77'
|
|
64
|
+
| 'D78'
|
|
65
|
+
| 'D80'
|
|
66
|
+
| 'D81'
|
|
67
|
+
| 'D82'
|
|
68
|
+
| 'D83'
|
|
69
|
+
| 'D85'
|
|
70
|
+
| 'D86'
|
|
71
|
+
| 'D87'
|
|
72
|
+
| 'D88'
|
|
73
|
+
| 'D89'
|
|
74
|
+
| 'D91'
|
|
75
|
+
| 'D93'
|
|
76
|
+
| 'D94'
|
|
77
|
+
| 'D95'
|
|
78
|
+
| 'DAA'
|
|
79
|
+
| 'DAD'
|
|
80
|
+
| 'DAY'
|
|
81
|
+
| 'DB'
|
|
82
|
+
| 'DBM'
|
|
83
|
+
| 'DBW'
|
|
84
|
+
| 'DD'
|
|
85
|
+
| 'DEC'
|
|
86
|
+
| 'DG'
|
|
87
|
+
| 'DJ'
|
|
88
|
+
| 'DLT'
|
|
89
|
+
| 'DMA'
|
|
90
|
+
| 'DMK'
|
|
91
|
+
| 'DMO'
|
|
92
|
+
| 'DMQ'
|
|
93
|
+
| 'DMT'
|
|
94
|
+
| 'DN'
|
|
95
|
+
| 'DPC'
|
|
96
|
+
| 'DPR'
|
|
97
|
+
| 'DPT'
|
|
98
|
+
| 'DRA'
|
|
99
|
+
| 'DRI'
|
|
100
|
+
| 'DRL'
|
|
101
|
+
| 'DT'
|
|
102
|
+
| 'DTN'
|
|
103
|
+
| 'DWT'
|
|
104
|
+
| 'DZN'
|
|
105
|
+
| 'DZP'
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Enum representing unit type codes starting with 'D'.
|
|
109
|
+
*/
|
|
110
|
+
export enum UnitTypeCodeEnum_DX {
|
|
111
|
+
KilowattHourPerHour = 'D03',
|
|
112
|
+
LotUnitOfWeight = 'D04',
|
|
113
|
+
ReciprocalSecondPerSteradian = 'D1',
|
|
114
|
+
SiemensPerMetre = 'D10',
|
|
115
|
+
Mebibit = 'D11',
|
|
116
|
+
SiemensSquareMetrePerMole = 'D12',
|
|
117
|
+
Sievert = 'D13',
|
|
118
|
+
Sone = 'D15',
|
|
119
|
+
SquareCentimetrePerErg = 'D16',
|
|
120
|
+
SquareCentimetrePerSteradianErg = 'D17',
|
|
121
|
+
MetreKelvin = 'D18',
|
|
122
|
+
SquareMetreKelvinPerWatt = 'D19',
|
|
123
|
+
ReciprocalSecondPerSteradianMetreSquared = 'D2',
|
|
124
|
+
SquareMetrePerJoule = 'D20',
|
|
125
|
+
SquareMetrePerKilogram = 'D21',
|
|
126
|
+
SquareMetrePerMole = 'D22',
|
|
127
|
+
PenGramProtein = 'D23',
|
|
128
|
+
SquareMetrePerSteradian = 'D24',
|
|
129
|
+
SquareMetrePerSteradianJoule = 'D25',
|
|
130
|
+
SquareMetrePerVoltSecond = 'D26',
|
|
131
|
+
Steradian = 'D27',
|
|
132
|
+
Terahertz = 'D29',
|
|
133
|
+
Terajoule = 'D30',
|
|
134
|
+
Terawatt = 'D31',
|
|
135
|
+
TerawattHour = 'D32',
|
|
136
|
+
Tesla = 'D33',
|
|
137
|
+
Tex = 'D34',
|
|
138
|
+
Megabit = 'D36',
|
|
139
|
+
TonnePerCubicMetre = 'D41',
|
|
140
|
+
TropicalYear = 'D42',
|
|
141
|
+
UnifiedAtomicMassUnit = 'D43',
|
|
142
|
+
Var = 'D44',
|
|
143
|
+
VoltSquaredPerKelvinSquared = 'D45',
|
|
144
|
+
VoltAmpere = 'D46',
|
|
145
|
+
VoltPerCentimetre = 'D47',
|
|
146
|
+
VoltPerKelvin = 'D48',
|
|
147
|
+
MillivoltPerKelvin = 'D49',
|
|
148
|
+
KilogramPerSquareCentimetre = 'D5',
|
|
149
|
+
VoltPerMetre = 'D50',
|
|
150
|
+
VoltPerMillimetre = 'D51',
|
|
151
|
+
WattPerKelvin = 'D52',
|
|
152
|
+
WattPerMetreKelvin = 'D53',
|
|
153
|
+
WattPerSquareMetre = 'D54',
|
|
154
|
+
WattPerSquareMetreKelvin = 'D55',
|
|
155
|
+
WattPerSquareMetreKelvinToTheFourthPower = 'D56',
|
|
156
|
+
WattPerSteradian = 'D57',
|
|
157
|
+
WattPerSteradianSquareMetre = 'D58',
|
|
158
|
+
WeberPerMetre = 'D59',
|
|
159
|
+
RoentgenPerSecond = 'D6',
|
|
160
|
+
WeberPerMillimetre = 'D60',
|
|
161
|
+
MinuteUnitOfAngle = 'D61',
|
|
162
|
+
SecondUnitOfAngle = 'D62',
|
|
163
|
+
Book = 'D63',
|
|
164
|
+
Round = 'D65',
|
|
165
|
+
NumberOfWords = 'D68',
|
|
166
|
+
InchToTheFourthPower = 'D69',
|
|
167
|
+
JouleSquareMetre = 'D73',
|
|
168
|
+
KilogramPerMole = 'D74',
|
|
169
|
+
Megacoulomb = 'D77',
|
|
170
|
+
MegajoulePerSecond = 'D78',
|
|
171
|
+
Microwatt = 'D80',
|
|
172
|
+
Microtesla = 'D81',
|
|
173
|
+
Microvolt = 'D82',
|
|
174
|
+
MillinewtonMetre = 'D83',
|
|
175
|
+
MicrowattPerSquareMetre = 'D85',
|
|
176
|
+
Millicoulomb = 'D86',
|
|
177
|
+
MillimolePerKilogram = 'D87',
|
|
178
|
+
MillicoulombPerCubicMetre = 'D88',
|
|
179
|
+
MillicoulombPerSquareMetre = 'D89',
|
|
180
|
+
Rem = 'D91',
|
|
181
|
+
SecondPerCubicMetre = 'D93',
|
|
182
|
+
SecondPerCubicMetreRadian = 'D94',
|
|
183
|
+
JoulePerGram = 'D95',
|
|
184
|
+
Decare = 'DAA',
|
|
185
|
+
TenDay = 'DAD',
|
|
186
|
+
Day = 'DAY',
|
|
187
|
+
DryPound = 'DB',
|
|
188
|
+
DecibelMilliwatts = 'DBM',
|
|
189
|
+
DecibelWatt = 'DBW',
|
|
190
|
+
DegreeUnitOfAngle = 'DD',
|
|
191
|
+
Decade = 'DEC',
|
|
192
|
+
Decigram = 'DG',
|
|
193
|
+
Decagram = 'DJ',
|
|
194
|
+
Decilitre = 'DLT',
|
|
195
|
+
CubicDecametre = 'DMA',
|
|
196
|
+
SquareDecimetre = 'DMK',
|
|
197
|
+
StandardKilolitre = 'DMO',
|
|
198
|
+
CubicDecimetre = 'DMQ',
|
|
199
|
+
Decimetre = 'DMT',
|
|
200
|
+
DecinewtonMetre = 'DN',
|
|
201
|
+
DozenPiece = 'DPC',
|
|
202
|
+
DozenPair = 'DPR',
|
|
203
|
+
DisplacementTonnage = 'DPT',
|
|
204
|
+
DramUS = 'DRA',
|
|
205
|
+
DramUK = 'DRI',
|
|
206
|
+
DozenRoll = 'DRL',
|
|
207
|
+
DryTon = 'DT',
|
|
208
|
+
Decitonne = 'DTN',
|
|
209
|
+
Pennyweight = 'DWT',
|
|
210
|
+
Dozen = 'DZN',
|
|
211
|
+
DozenPack = 'DZP',
|
|
212
|
+
}
|