@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.
Files changed (55) hide show
  1. package/bun.lock +25 -25
  2. package/dist/index.cjs +95 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.ts +2318 -464
  5. package/dist/index.js +24 -22
  6. package/package.json +17 -13
  7. package/rolldown.config.ts +1 -1
  8. package/src/api/platform/taxpayerLogin.ts +28 -0
  9. package/src/types/index.d.ts +12 -0
  10. package/src/types/unit/1X.d.ts +16 -0
  11. package/src/types/unit/2X.d.ts +62 -0
  12. package/src/types/unit/3X.d.ts +17 -0
  13. package/src/types/unit/4X.d.ts +44 -0
  14. package/src/types/unit/5X.d.ts +26 -0
  15. package/src/types/unit/6X.d.ts +12 -0
  16. package/src/types/unit/7X.d.ts +12 -0
  17. package/src/types/unit/8X.d.ts +15 -0
  18. package/src/types/unit/9X.d.ts +11 -0
  19. package/src/types/unit/AX.d.ts +202 -0
  20. package/src/types/unit/BX.d.ts +212 -0
  21. package/src/types/unit/CX.d.ts +238 -0
  22. package/src/types/unit/DX.d.ts +212 -0
  23. package/src/types/unit/EX.d.ts +196 -0
  24. package/src/types/unit/FX.d.ts +236 -0
  25. package/src/types/unit/GX.d.ts +254 -0
  26. package/src/types/unit/HX.d.ts +234 -0
  27. package/src/types/unit/IX.d.ts +28 -0
  28. package/src/types/unit/JX.d.ts +190 -0
  29. package/src/types/unit/KX.d.ts +284 -0
  30. package/src/types/unit/LX.d.ts +228 -0
  31. package/src/types/unit/MX.d.ts +288 -0
  32. package/src/types/unit/NX.d.ts +226 -0
  33. package/src/types/unit/OX.d.ts +34 -0
  34. package/src/types/unit/PX.d.ts +224 -0
  35. package/src/types/unit/QX.d.ts +94 -0
  36. package/src/types/unit/RX.d.ts +28 -0
  37. package/src/types/unit/SX.d.ts +56 -0
  38. package/src/types/unit/TX.d.ts +44 -0
  39. package/src/types/unit/UX.d.ts +14 -0
  40. package/src/types/unit/VX.d.ts +13 -0
  41. package/src/types/unit/WX.d.ts +34 -0
  42. package/src/types/unit/XX.d.ts +825 -0
  43. package/src/types/unit/YX.d.ts +17 -0
  44. package/src/types/unit/ZX.d.ts +19 -0
  45. package/src/types/unit-types.d.ts +71 -575
  46. package/src/utils/MyInvoisClient.ts +20 -33
  47. package/src/utils/getBaseUrl.ts +5 -0
  48. package/test/{MyInvoiClientRealData.test.ts → MyInvoiClientWithRealData.test.ts} +13 -1
  49. package/test/MyInvoisClient.test.ts +14 -13
  50. package/dist/cjs/index.cjs +0 -70
  51. package/dist/cjs/index.cjs.map +0 -1
  52. package/dist/cjs/multipart-parser-Bu3ikqFQ.cjs +0 -182
  53. package/dist/cjs/multipart-parser-Bu3ikqFQ.cjs.map +0 -1
  54. package/dist/cjs/node-qs2pnN6F.cjs +0 -4124
  55. package/dist/cjs/node-qs2pnN6F.cjs.map +0 -1
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Unit types starting with Y
3
+ * https://sdk.myinvois.hasil.gov.my/codes/unit-types/
4
+ */
5
+ export type UnitTypeCode_YX =
6
+ | 'YDK' // square yard
7
+ | 'YDQ' // cubic yard
8
+ | 'YRD' // yard
9
+
10
+ /**
11
+ * Enum representing unit type codes starting with 'Y'.
12
+ */
13
+ export enum UnitTypeCodeEnum_YX {
14
+ SquareYard = 'YDK',
15
+ CubicYard = 'YDQ',
16
+ Yard = 'YRD',
17
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Unit types starting with Z
3
+ * https://sdk.myinvois.hasil.gov.my/codes/unit-types/
4
+ */
5
+ export type UnitTypeCode_ZX =
6
+ | 'Z11' // hanging container
7
+ | 'Z9' // nanomole
8
+ | 'ZP' // page
9
+ | 'ZZ' // mutually defined
10
+
11
+ /**
12
+ * Enum representing unit type codes starting with 'Z'.
13
+ */
14
+ export enum UnitTypeCodeEnum_ZX {
15
+ HangingContainer = 'Z11',
16
+ Nanomole = 'Z9',
17
+ Page = 'ZP',
18
+ MutuallyDefined = 'ZZ',
19
+ }
@@ -1,584 +1,80 @@
1
+ import type { UnitTypeCode_1X } from './unit/1X.d.ts'
2
+ import type { UnitTypeCode_2X } from './unit/2X.d.ts'
3
+ import type { UnitTypeCode_3X } from './unit/3X.d.ts'
4
+ import type { UnitTypeCode_4X } from './unit/4X.d.ts'
5
+ import type { UnitTypeCode_5X } from './unit/5X.d.ts'
6
+ import type { UnitTypeCode_6X } from './unit/6X.d.ts'
7
+ import type { UnitTypeCode_7X } from './unit/7X.d.ts'
8
+ import type { UnitTypeCode_8X } from './unit/8X.d.ts'
9
+ import type { UnitTypeCode_9X } from './unit/9X.d.ts'
10
+ import type { UnitTypeCode_AX } from './unit/AX.d.ts'
11
+ import type { UnitTypeCode_BX } from './unit/BX.d.ts'
12
+ import type { UnitTypeCode_CX } from './unit/CX.d.ts'
13
+ import type { UnitTypeCode_DX } from './unit/DX.d.ts'
14
+ import type { UnitTypeCode_EX } from './unit/EX.d.ts'
15
+ import type { UnitTypeCode_FX } from './unit/FX.d.ts'
16
+ import type { UnitTypeCode_GX } from './unit/GX.d.ts'
17
+ import type { UnitTypeCode_HX } from './unit/HX.d.ts'
18
+ import type { UnitTypeCode_IX } from './unit/IX.d.ts'
19
+ import type { UnitTypeCode_JX } from './unit/JX.d.ts'
20
+ import type { UnitTypeCode_KX } from './unit/KX.d.ts'
21
+ import type { UnitTypeCode_LX } from './unit/LX.d.ts'
22
+ import type { UnitTypeCode_MX } from './unit/MX.d.ts'
23
+ import type { UnitTypeCode_NX } from './unit/NX.d.ts'
24
+ import type { UnitTypeCode_OX } from './unit/OX.d.ts'
25
+ import type { UnitTypeCode_PX } from './unit/PX.d.ts'
26
+ import type { UnitTypeCode_QX } from './unit/QX.d.ts'
27
+ import type { UnitTypeCode_RX } from './unit/RX.d.ts'
28
+ import type { UnitTypeCode_SX } from './unit/SX.d.ts'
29
+ import type { UnitTypeCode_TX } from './unit/TX.d.ts'
30
+ import type { UnitTypeCode_UX } from './unit/UX.d.ts'
31
+ import type { UnitTypeCode_VX } from './unit/VX.d.ts'
32
+ import type { UnitTypeCode_WX } from './unit/WX.d.ts'
33
+ import type { UnitTypeCode_YX } from './unit/YX.d.ts'
34
+ import type { UnitTypeCode_ZX } from './unit/ZX.d.ts'
35
+ import type { UnitTypeCode_XX } from './unit/XX.d.ts'
36
+
1
37
  /**
2
38
  * Represents the allowed codes for Unit of Measurement types.
3
39
  * Based on UN/ECE Recommendation 20, Revision 17 (2021) as per the documentation:
4
40
  * https://sdk.myinvois.hasil.gov.my/codes/unit-types/
5
- * NOTE: This list is incomplete as the provided documentation snippet omitted a large number of codes.
6
41
  */
7
42
  export type UnitTypeCode =
8
- | '10'
9
- | '11'
10
- | '13'
11
- | '14'
12
- | '15'
13
- | '1I'
14
- | '20'
15
- | '21'
16
- | '22'
17
- | '23'
18
- | '24'
19
- | '25'
20
- | '27'
21
- | '28'
22
- | '2A'
23
- | '2B'
24
- | '2C'
25
- | '2G'
26
- | '2H'
27
- | '2I'
28
- | '2J'
29
- | '2K'
30
- | '2L'
31
- | '2M'
32
- | '2N'
33
- | '2P'
34
- | '2Q'
35
- | '2R'
36
- | '2U'
37
- | '2X'
38
- | '2Y'
39
- | '2Z'
40
- | '33'
41
- | '34'
42
- | '35'
43
- | '37'
44
- | '38'
45
- | '3B'
46
- | '3C'
47
- | '40'
48
- | '41'
49
- | '4C'
50
- | '4G'
51
- | '4H'
52
- | '4K'
53
- | '4L'
54
- | '4M'
55
- | '4N'
56
- | '4O'
57
- | '4P'
58
- | '4Q'
59
- | '4R'
60
- | '4T'
61
- | '4U'
62
- | '4W'
63
- | '4X'
64
- | '56'
65
- | '57'
66
- | '58'
67
- | '59'
68
- | '5A'
69
- | '5B'
70
- | '5E'
71
- | '5J'
72
- | '60'
73
- | '61'
74
- | '74'
75
- | '77'
76
- | '80'
77
- | '81'
78
- | '85'
79
- | '87'
80
- | '89'
81
- | '91'
82
- | 'A10'
83
- | 'A11'
84
- | 'A12'
85
- | 'A13'
86
- | 'A14'
87
- | 'A15'
88
- | 'A16'
89
- | 'A17'
90
- | 'A18'
91
- | 'A19'
92
- | 'A2'
93
- | 'A20'
94
- | 'A21'
95
- | 'A22'
96
- | 'A23'
97
- | 'A24'
98
- | 'A26'
99
- | 'A27'
100
- | 'A28'
101
- | 'A29'
102
- | 'A3'
103
- | 'A30'
104
- | 'A31'
105
- | 'A32'
106
- | 'A33'
107
- | 'A34'
108
- | 'A35'
109
- | 'A36'
110
- | 'A37'
111
- | 'A38'
112
- | 'A39'
113
- | 'A4'
114
- | 'A40'
115
- | 'A41'
116
- | 'A42'
117
- | 'A43'
118
- | 'A44'
119
- | 'A45'
120
- | 'A47'
121
- | 'A48'
122
- | 'A49'
123
- | 'A5'
124
- | 'A53'
125
- | 'A54'
126
- | 'A55'
127
- | 'A56'
128
- | 'A59'
129
- | 'A6'
130
- | 'A68'
131
- | 'A69'
132
- | 'A7'
133
- | 'A70'
134
- | 'A71'
135
- | 'A73'
136
- | 'A74'
137
- | 'A75'
138
- | 'A76'
139
- | 'A8'
140
- | 'A84'
141
- | 'A85'
142
- | 'A86'
143
- | 'A87'
144
- | 'A88'
145
- | 'A89'
146
- // ... (Codes omitted in provided documentation) ...
147
- | 'XQP'
148
- | 'XQQ'
149
- | 'XQR'
150
- | 'XQS'
151
- | 'XRD'
152
- | 'XRG'
153
- | 'XRJ'
154
- | 'XRK'
155
- | 'XRL'
156
- | 'XRO'
157
- | 'XRT'
158
- | 'XRZ'
159
- | 'XSA'
160
- | 'XSB'
161
- | 'XSC'
162
- | 'XSD'
163
- | 'XSE'
164
- | 'XSH'
165
- | 'XSI'
166
- | 'XSK'
167
- | 'XSL'
168
- | 'XSM'
169
- | 'XSO'
170
- | 'XSP'
171
- | 'XSS'
172
- | 'XST'
173
- | 'XSU'
174
- | 'XSV'
175
- | 'XSW'
176
- | 'XSX'
177
- | 'XSY'
178
- | 'XSZ'
179
- | 'XT1'
180
- | 'XTB'
181
- | 'XTC'
182
- | 'XTD'
183
- | 'XTE'
184
- | 'XTG'
185
- | 'XTI'
186
- | 'XTK'
187
- | 'XTL'
188
- | 'XTN'
189
- | 'XTO'
190
- | 'XTR'
191
- | 'XTS'
192
- | 'XTT'
193
- | 'XTU'
194
- | 'XTV'
195
- | 'XTW'
196
- | 'XTY'
197
- | 'XTZ'
198
- | 'XUC'
199
- | 'XUN'
200
- | 'XVA'
201
- | 'XVG'
202
- | 'XVI'
203
- | 'XVK'
204
- | 'XVL'
205
- | 'XVN'
206
- | 'XVO'
207
- | 'XVP'
208
- | 'XVQ'
209
- | 'XVR'
210
- | 'XVS'
211
- | 'XVY'
212
- | 'XWA'
213
- | 'XWB'
214
- | 'XWC'
215
- | 'XWD'
216
- | 'XWF'
217
- | 'XWG'
218
- | 'XWH'
219
- | 'XWJ'
220
- | 'XWK'
221
- | 'XWL'
222
- | 'XWM'
223
- | 'XWN'
224
- | 'XWP'
225
- | 'XWQ'
226
- | 'XWR'
227
- | 'XWS'
228
- | 'XWT'
229
- | 'XWU'
230
- | 'XWV'
231
- | 'XWW'
232
- | 'XWX'
233
- | 'XWY'
234
- | 'XWZ'
235
- | 'XXA'
236
- | 'XXB'
237
- | 'XXC'
238
- | 'XXD'
239
- | 'XXF'
240
- | 'XXG'
241
- | 'XXH'
242
- | 'XXJ'
243
- | 'XXK'
244
- | 'XYA'
245
- | 'XYB'
246
- | 'XYC'
247
- | 'XYD'
248
- | 'XYF'
249
- | 'XYG'
250
- | 'XYH'
251
- | 'XYJ'
252
- | 'XYK'
253
- | 'XYL'
254
- | 'XYM'
255
- | 'XYN'
256
- | 'XYP'
257
- | 'XYQ'
258
- | 'XYR'
259
- | 'XYS'
260
- | 'XYT'
261
- | 'XYV'
262
- | 'XYW'
263
- | 'XYX'
264
- | 'XYY'
265
- | 'XYZ'
266
- | 'XZA'
267
- | 'XZB'
268
- | 'XZC'
269
- | 'XZD'
270
- | 'XZF'
271
- | 'XZG'
272
- | 'XZH'
273
- | 'XZJ'
274
- | 'XZK'
275
- | 'XZL'
276
- | 'XZM'
277
- | 'XZN'
278
- | 'XZP'
279
- | 'XZQ'
280
- | 'XZR'
281
- | 'XZS'
282
- | 'XZT'
283
- | 'XZU'
284
- | 'XZV'
285
- | 'XZW'
286
- | 'XZX'
287
- | 'XZY'
288
- | 'XZZ'
289
-
290
- /**
291
- * Enum representing the allowed Unit of Measurement codes with descriptive names.
292
- * Provides a more readable way to reference unit types.
293
- * NOTE: This enum is incomplete as the provided documentation snippet omitted a large number of codes.
294
- *
295
- * @example
296
- * const code = UnitTypeCodeEnum.KilogramPerSquareMetre;
297
- * console.log(code); // Output: "28"
298
- */
299
- export enum UnitTypeCodeEnum {
300
- Group = '10',
301
- Outfit = '11',
302
- Ration = '13',
303
- Shot = '14',
304
- StickMilitary = '15',
305
- FixedRate = '1I',
306
- TwentyFootContainer = '20',
307
- FortyFootContainer = '21',
308
- DecilitrePerGram = '22',
309
- GramPerCubicCentimetre = '23',
310
- TheoreticalPound = '24',
311
- GramPerSquareCentimetre = '25',
312
- TheoreticalTon = '27',
313
- KilogramPerSquareMetre = '28',
314
- RadianPerSecond = '2A',
315
- RadianPerSecondSquared = '2B',
316
- Roentgen = '2C',
317
- VoltAC = '2G',
318
- VoltDC = '2H',
319
- BritishThermalUnitInternationalTablePerHour = '2I',
320
- CubicCentimetrePerSecond = '2J',
321
- CubicFootPerHour = '2K',
322
- CubicFootPerMinute = '2L',
323
- CentimetrePerSecond = '2M',
324
- Decibel = '2N',
325
- Kilobyte = '2P',
326
- Kilobecquerel = '2Q',
327
- Kilocurie = '2R',
328
- Megagram = '2U',
329
- MetrePerMinute = '2X',
330
- Milliroentgen = '2Y',
331
- Millivolt = '2Z',
332
- KilopascalSquareMetrePerGram = '33',
333
- KilopascalPerMillimetre = '34',
334
- MillilitrePerSquareCentimetreSecond = '35',
335
- OuncePerSquareFoot = '37',
336
- OuncePerSquareFootPer0_01inch = '38',
337
- Megajoule = '3B',
338
- Manmonth = '3C',
339
- MillilitrePerSecond = '40',
340
- MillilitrePerMinute = '41',
341
- Centistokes = '4C',
342
- Microlitre = '4G',
343
- MicrometreMicron = '4H',
344
- Milliampere = '4K',
345
- Megabyte = '4L',
346
- MilligramPerHour = '4M',
347
- Megabecquerel = '4N',
348
- Microfarad = '4O',
349
- NewtonPerMetre = '4P',
350
- OunceInch = '4Q',
351
- OunceFoot = '4R',
352
- Picofarad = '4T',
353
- PoundPerHour = '4U',
354
- TonUSPerHour = '4W',
355
- KilolitrePerHour = '4X',
356
- Sitas = '56',
357
- Mesh = '57',
358
- NetKilogram = '58',
359
- PartPerMillion = '59',
360
- BarrelUSPerMinute = '5A',
361
- Batch = '5B',
362
- MMSCFDay = '5E',
363
- HydraulicHorsePower = '5J',
364
- PercentWeight = '60',
365
- PartPerBillionUS = '61',
366
- Millipascal = '74',
367
- MilliInch = '77',
368
- PoundPerSquareInchAbsolute = '80',
369
- Henry = '81',
370
- FootPoundForce = '85',
371
- PoundPerCubicFoot = '87',
372
- Poise = '89',
373
- Stokes = '91',
374
- AmpereSquareMetrePerJouleSecond = 'A10',
375
- Angstrom = 'A11',
376
- AstronomicalUnit = 'A12',
377
- Attojoule = 'A13',
378
- Barn = 'A14',
379
- BarnPerElectronvolt = 'A15',
380
- BarnPerSteradianElectronvolt = 'A16',
381
- BarnPerSteradian = 'A17',
382
- BecquerelPerKilogram = 'A18',
383
- BecquerelPerCubicMetre = 'A19',
384
- AmperePerCentimetre = 'A2',
385
- BritishThermalUnitInternationalTablePerSecondSquareFootDegreeRankine = 'A20',
386
- BritishThermalUnitInternationalTablePerPoundDegreeRankine = 'A21',
387
- BritishThermalUnitInternationalTablePerSecondFootDegreeRankine = 'A22',
388
- BritishThermalUnitInternationalTablePerHourSquareFootDegreeRankine = 'A23',
389
- CandelaPerSquareMetre = 'A24',
390
- CoulombMetre = 'A26',
391
- CoulombMetreSquaredPerVolt = 'A27',
392
- CoulombPerCubicCentimetre = 'A28',
393
- CoulombPerCubicMetre = 'A29',
394
- AmperePerMillimetre = 'A3',
395
- CoulombPerCubicMillimetre = 'A30',
396
- CoulombPerKilogramSecond = 'A31',
397
- CoulombPerMole = 'A32',
398
- CoulombPerSquareCentimetre = 'A33',
399
- CoulombPerSquareMetre = 'A34',
400
- CoulombPerSquareMillimetre = 'A35',
401
- CubicCentimetrePerMole = 'A36',
402
- CubicDecimetrePerMole = 'A37',
403
- CubicMetrePerCoulomb = 'A38',
404
- CubicMetrePerKilogram = 'A39',
405
- AmperePerSquareCentimetre = 'A4',
406
- CubicMetrePerMole = 'A40',
407
- AmperePerSquareMetre = 'A41',
408
- CuriePerKilogram = 'A42',
409
- DeadweightTonnage = 'A43',
410
- Decalitre = 'A44',
411
- Decametre = 'A45',
412
- Decitex = 'A47',
413
- DegreeRankine = 'A48',
414
- Denier = 'A49',
415
- AmpereSquareMetre = 'A5',
416
- Electronvolt = 'A53',
417
- ElectronvoltPerMetre = 'A54',
418
- ElectronvoltSquareMetre = 'A55',
419
- ElectronvoltSquareMetrePerKilogram = 'A56',
420
- _8PartCloudCover = 'A59', // Enum member names cannot start with a number
421
- AmperePerSquareMetreKelvinSquared = 'A6',
422
- Exajoule = 'A68',
423
- FaradPerMetre = 'A69',
424
- AmperePerSquareMillimetre = 'A7',
425
- Femtojoule = 'A70',
426
- Femtometre = 'A71',
427
- FootPerSecondSquared = 'A73',
428
- FootPoundForcePerSecond = 'A74',
429
- FreightTon = 'A75',
430
- Gal = 'A76',
431
- AmpereSecond = 'A8',
432
- GigacoulombPerCubicMetre = 'A84',
433
- Gigaelectronvolt = 'A85',
434
- Gigahertz = 'A86',
435
- Gigaohm = 'A87',
436
- GigaohmMetre = 'A88',
437
- Gigapascal = 'A89',
438
- // ... (Codes omitted in provided documentation) ...
439
- BoxWoodenNaturalWoodOrdinary = 'XQP',
440
- BoxWoodenNaturalWoodWithSiftProofWalls = 'XQQ',
441
- BoxPlasticExpanded = 'XQR',
442
- BoxPlasticSolid = 'XQS',
443
- Rod = 'XRD',
444
- Ring = 'XRG',
445
- RackClothingHanger = 'XRJ',
446
- Rack = 'XRK',
447
- Reel = 'XRL',
448
- Roll = 'XRO',
449
- Rednet = 'XRT',
450
- RodsInBundleBunchTruss = 'XRZ',
451
- Sack = 'XSA',
452
- Slab = 'XSB',
453
- CrateShallow = 'XSC',
454
- Spindle = 'XSD',
455
- SeaChest = 'XSE',
456
- Sachet = 'XSH',
457
- Skid = 'XSI',
458
- CaseSkeleton = 'XSK',
459
- Slipsheet = 'XSL',
460
- Sheetmetal = 'XSM',
461
- Spool = 'XSO',
462
- SheetPlasticWrapping = 'XSP',
463
- CaseSteel = 'XSS',
464
- Sheet = 'XST',
465
- Suitcase = 'XSU',
466
- EnvelopeSteel = 'XSV',
467
- Shrinkwrapped = 'XSW',
468
- Set = 'XSX',
469
- Sleeve = 'XSY',
470
- SheetsInBundleBunchTruss = 'XSZ',
471
- Tablet = 'XT1',
472
- Tub = 'XTB',
473
- TeaChest = 'XTC',
474
- TubeCollapsible = 'XTD',
475
- Tyre = 'XTE',
476
- TankContainerGeneric = 'XTG',
477
- Tierce = 'XTI',
478
- TankRectangular = 'XTK',
479
- TubWithLid = 'XTL',
480
- Tin = 'XTN',
481
- Tun = 'XTO',
482
- Trunk = 'XTR',
483
- Truss = 'XTS',
484
- BagTote = 'XTT',
485
- Tube = 'XTU',
486
- TubeWithNozzle = 'XTV',
487
- PalletTriwall = 'XTW',
488
- TankCylindrical = 'XTY',
489
- TubesInBundleBunchTruss = 'XTZ',
490
- Uncaged = 'XUC',
491
- Unit = 'XUN',
492
- Vat = 'XVA',
493
- BulkGasAt1031MbarAnd15C = 'XVG',
494
- Vial = 'XVI',
495
- Vanpack = 'XVK',
496
- BulkLiquid = 'XVL',
497
- Vehicle = 'XVN',
498
- BulkSolidLargeParticlesNodules = 'XVO',
499
- VacuumPacked = 'XVP',
500
- BulkLiquefiedGasAtAbnormalTemperaturePressure = 'XVQ',
501
- BulkSolidGranularParticlesGrains = 'XVR',
502
- BulkScrapMetal = 'XVS',
503
- BulkSolidFineParticlesPowders = 'XVY',
504
- IntermediateBulkContainer = 'XWA',
505
- Wickerbottle = 'XWB',
506
- IntermediateBulkContainerSteel = 'XWC',
507
- IntermediateBulkContainerAluminium = 'XWD',
508
- IntermediateBulkContainerMetal = 'XWF',
509
- IntermediateBulkContainerSteelPressurisedGreaterThan10Kpa = 'XWG',
510
- IntermediateBulkContainerAluminiumPressurisedGreaterThan10Kpa = 'XWH',
511
- IntermediateBulkContainerMetalPressure10Kpa = 'XWJ',
512
- IntermediateBulkContainerSteelLiquid = 'XWK',
513
- IntermediateBulkContainerAluminiumLiquid = 'XWL',
514
- IntermediateBulkContainerMetalLiquid = 'XWM',
515
- IntermediateBulkContainerWovenPlasticWithoutCoatLiner = 'XWN',
516
- IntermediateBulkContainerWovenPlasticCoated = 'XWP',
517
- IntermediateBulkContainerWovenPlasticWithLiner = 'XWQ',
518
- IntermediateBulkContainerWovenPlasticCoatedAndLiner = 'XWR',
519
- IntermediateBulkContainerPlasticFilm = 'XWS',
520
- IntermediateBulkContainerTextileWithOutCoatLiner = 'XWT',
521
- IntermediateBulkContainerNaturalWoodWithInnerLiner = 'XWU',
522
- IntermediateBulkContainerTextileCoated = 'XWV',
523
- IntermediateBulkContainerTextileWithLiner = 'XWW',
524
- IntermediateBulkContainerTextileCoatedAndLiner = 'XWX',
525
- IntermediateBulkContainerPlywoodWithInnerLiner = 'XWY',
526
- IntermediateBulkContainerReconstitutedWoodWithInnerLiner = 'XWZ',
527
- BagWovenPlasticWithoutInnerCoatLiner = 'XXA',
528
- BagWovenPlasticSiftProof = 'XXB',
529
- BagWovenPlasticWaterResistant = 'XXC',
530
- BagPlasticsFilm = 'XXD',
531
- BagTextileWithoutInnerCoatLiner = 'XXF',
532
- BagTextileSiftProof = 'XXG',
533
- BagTextileWaterResistant = 'XXH',
534
- BagPaperMultiWall = 'XXJ',
535
- BagPaperMultiWallWaterResistant = 'XXK',
536
- CompositePackagingPlasticReceptacleInSteelDrum = 'XYA',
537
- CompositePackagingPlasticReceptacleInSteelCrateBox = 'XYB',
538
- CompositePackagingPlasticReceptacleInAluminiumDrum = 'XYC',
539
- CompositePackagingPlasticReceptacleInAluminiumCrate = 'XYD',
540
- CompositePackagingPlasticReceptacleInWoodenBox = 'XYF',
541
- CompositePackagingPlasticReceptacleInPlywoodDrum = 'XYG',
542
- CompositePackagingPlasticReceptacleInPlywoodBox = 'XYH',
543
- CompositePackagingPlasticReceptacleInFibreDrum = 'XYJ',
544
- CompositePackagingPlasticReceptacleInFibreboardBox = 'XYK',
545
- CompositePackagingPlasticReceptacleInPlasticDrum = 'XYL',
546
- CompositePackagingPlasticReceptacleInSolidPlasticBox = 'XYM',
547
- CompositePackagingGlassReceptacleInSteelDrum = 'XYN',
548
- CompositePackagingGlassReceptacleInSteelCrateBox = 'XYP',
549
- CompositePackagingGlassReceptacleInAluminiumDrum = 'XYQ',
550
- CompositePackagingGlassReceptacleInAluminiumCrate = 'XYR',
551
- CompositePackagingGlassReceptacleInWoodenBox = 'XYS',
552
- CompositePackagingGlassReceptacleInPlywoodDrum = 'XYT',
553
- CompositePackagingGlassReceptacleInWickerworkHamper = 'XYV',
554
- CompositePackagingGlassReceptacleInFibreDrum = 'XYW',
555
- CompositePackagingGlassReceptacleInFibreboardBox = 'XYX',
556
- CompositePackagingGlassReceptacleInExpandablePlasticPack = 'XYY',
557
- CompositePackagingGlassReceptacleInSolidPlasticPack = 'XYZ',
558
- IntermediateBulkContainerPaperMultiWall = 'XZA',
559
- BagLarge = 'XZB',
560
- IntermediateBulkContainerPaperMultiWallWaterResistant = 'XZC',
561
- IntermediateBulkContainerRigidPlasticWithStructuralEquipmentSolids = 'XZD',
562
- IntermediateBulkContainerRigidPlasticFreestandingSolids = 'XZF',
563
- IntermediateBulkContainerRigidPlasticWithStructuralEquipmentPressurised = 'XZG',
564
- IntermediateBulkContainerRigidPlasticFreestandingPressurised = 'XZH',
565
- IntermediateBulkContainerRigidPlasticWithStructuralEquipmentLiquids = 'XZJ',
566
- IntermediateBulkContainerRigidPlasticFreestandingLiquids = 'XZK',
567
- IntermediateBulkContainerCompositeRigidPlasticSolids = 'XZL',
568
- IntermediateBulkContainerCompositeFlexiblePlasticSolids = 'XZM',
569
- IntermediateBulkContainerCompositeRigidPlasticPressurised = 'XZN',
570
- IntermediateBulkContainerCompositeFlexiblePlasticPressurised = 'XZP',
571
- IntermediateBulkContainerCompositeRigidPlasticLiquids = 'XZQ',
572
- IntermediateBulkContainerCompositeFlexiblePlasticLiquids = 'XZR',
573
- IntermediateBulkContainerComposite = 'XZS',
574
- IntermediateBulkContainerFibreboard = 'XZT',
575
- IntermediateBulkContainerFlexible = 'XZU',
576
- IntermediateBulkContainerMetalOtherThanSteel = 'XZV',
577
- IntermediateBulkContainerNaturalWood = 'XZW',
578
- IntermediateBulkContainerPlywood = 'XZX',
579
- IntermediateBulkContainerReconstitutedWood = 'XZY',
580
- MutuallyDefined = 'XZZ',
581
- }
43
+ | UnitTypeCode_1X
44
+ | UnitTypeCode_2X
45
+ | UnitTypeCode_3X
46
+ | UnitTypeCode_4X
47
+ | UnitTypeCode_5X
48
+ | UnitTypeCode_6X
49
+ | UnitTypeCode_7X
50
+ | UnitTypeCode_8X
51
+ | UnitTypeCode_9X
52
+ | UnitTypeCode_AX
53
+ | UnitTypeCode_BX
54
+ | UnitTypeCode_CX
55
+ | UnitTypeCode_DX
56
+ | UnitTypeCode_EX
57
+ | UnitTypeCode_FX
58
+ | UnitTypeCode_GX
59
+ | UnitTypeCode_HX
60
+ | UnitTypeCode_IX
61
+ | UnitTypeCode_JX
62
+ | UnitTypeCode_KX
63
+ | UnitTypeCode_LX
64
+ | UnitTypeCode_MX
65
+ | UnitTypeCode_NX
66
+ | UnitTypeCode_OX
67
+ | UnitTypeCode_PX
68
+ | UnitTypeCode_QX
69
+ | UnitTypeCode_RX
70
+ | UnitTypeCode_SX
71
+ | UnitTypeCode_TX
72
+ | UnitTypeCode_UX
73
+ | UnitTypeCode_VX
74
+ | UnitTypeCode_WX
75
+ | UnitTypeCode_YX
76
+ | UnitTypeCode_ZX
77
+ | UnitTypeCode_XX
582
78
 
583
79
  /**
584
80
  * Interface representing a Unit of Measurement entry.