@ripwords/myinvois-client 0.2.22 → 0.2.23

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/dist/index10.cjs CHANGED
@@ -1,196 +1,25 @@
1
1
 
2
- //#region src/types/currencies.d.ts
2
+ //#region src/types/payment-modes.d.ts
3
3
  /**
4
- * Enum representing the allowed ISO-4217 3-letter currency codes.
5
- * Provides a more readable way to reference currency codes.
4
+ * Enum representing the allowed payment mode codes with descriptive names.
5
+ * Provides a more readable way to reference payment modes.
6
6
  *
7
7
  * @example
8
- * const currency = CurrencyCodeEnum.MYR;
9
- * console.log(currency); // Output: "MYR"
8
+ * const mode = PaymentModeCodeEnum.Cash;
9
+ * console.log(mode); // Output: "01"
10
10
  */
11
- let CurrencyCodeEnum = /* @__PURE__ */ function(CurrencyCodeEnum$1) {
12
- CurrencyCodeEnum$1["AED"] = "AED";
13
- CurrencyCodeEnum$1["AFN"] = "AFN";
14
- CurrencyCodeEnum$1["ALL"] = "ALL";
15
- CurrencyCodeEnum$1["AMD"] = "AMD";
16
- CurrencyCodeEnum$1["ANG"] = "ANG";
17
- CurrencyCodeEnum$1["AOA"] = "AOA";
18
- CurrencyCodeEnum$1["ARS"] = "ARS";
19
- CurrencyCodeEnum$1["AUD"] = "AUD";
20
- CurrencyCodeEnum$1["AWG"] = "AWG";
21
- CurrencyCodeEnum$1["AZN"] = "AZN";
22
- CurrencyCodeEnum$1["BAM"] = "BAM";
23
- CurrencyCodeEnum$1["BBD"] = "BBD";
24
- CurrencyCodeEnum$1["BDT"] = "BDT";
25
- CurrencyCodeEnum$1["BGN"] = "BGN";
26
- CurrencyCodeEnum$1["BHD"] = "BHD";
27
- CurrencyCodeEnum$1["BIF"] = "BIF";
28
- CurrencyCodeEnum$1["BMD"] = "BMD";
29
- CurrencyCodeEnum$1["BND"] = "BND";
30
- CurrencyCodeEnum$1["BOB"] = "BOB";
31
- CurrencyCodeEnum$1["BOV"] = "BOV";
32
- CurrencyCodeEnum$1["BRL"] = "BRL";
33
- CurrencyCodeEnum$1["BSD"] = "BSD";
34
- CurrencyCodeEnum$1["BTN"] = "BTN";
35
- CurrencyCodeEnum$1["BWP"] = "BWP";
36
- CurrencyCodeEnum$1["BYN"] = "BYN";
37
- CurrencyCodeEnum$1["BZD"] = "BZD";
38
- CurrencyCodeEnum$1["CAD"] = "CAD";
39
- CurrencyCodeEnum$1["CDF"] = "CDF";
40
- CurrencyCodeEnum$1["CHE"] = "CHE";
41
- CurrencyCodeEnum$1["CHF"] = "CHF";
42
- CurrencyCodeEnum$1["CHW"] = "CHW";
43
- CurrencyCodeEnum$1["CLF"] = "CLF";
44
- CurrencyCodeEnum$1["CLP"] = "CLP";
45
- CurrencyCodeEnum$1["CNY"] = "CNY";
46
- CurrencyCodeEnum$1["COP"] = "COP";
47
- CurrencyCodeEnum$1["COU"] = "COU";
48
- CurrencyCodeEnum$1["CRC"] = "CRC";
49
- CurrencyCodeEnum$1["CUC"] = "CUC";
50
- CurrencyCodeEnum$1["CUP"] = "CUP";
51
- CurrencyCodeEnum$1["CVE"] = "CVE";
52
- CurrencyCodeEnum$1["CZK"] = "CZK";
53
- CurrencyCodeEnum$1["DJF"] = "DJF";
54
- CurrencyCodeEnum$1["DKK"] = "DKK";
55
- CurrencyCodeEnum$1["DOP"] = "DOP";
56
- CurrencyCodeEnum$1["DZD"] = "DZD";
57
- CurrencyCodeEnum$1["EGP"] = "EGP";
58
- CurrencyCodeEnum$1["ERN"] = "ERN";
59
- CurrencyCodeEnum$1["ETB"] = "ETB";
60
- CurrencyCodeEnum$1["EUR"] = "EUR";
61
- CurrencyCodeEnum$1["FJD"] = "FJD";
62
- CurrencyCodeEnum$1["FKP"] = "FKP";
63
- CurrencyCodeEnum$1["GBP"] = "GBP";
64
- CurrencyCodeEnum$1["GEL"] = "GEL";
65
- CurrencyCodeEnum$1["GHS"] = "GHS";
66
- CurrencyCodeEnum$1["GIP"] = "GIP";
67
- CurrencyCodeEnum$1["GMD"] = "GMD";
68
- CurrencyCodeEnum$1["GNF"] = "GNF";
69
- CurrencyCodeEnum$1["GTQ"] = "GTQ";
70
- CurrencyCodeEnum$1["GYD"] = "GYD";
71
- CurrencyCodeEnum$1["HKD"] = "HKD";
72
- CurrencyCodeEnum$1["HNL"] = "HNL";
73
- CurrencyCodeEnum$1["HRK"] = "HRK";
74
- CurrencyCodeEnum$1["HTG"] = "HTG";
75
- CurrencyCodeEnum$1["HUF"] = "HUF";
76
- CurrencyCodeEnum$1["IDR"] = "IDR";
77
- CurrencyCodeEnum$1["ILS"] = "ILS";
78
- CurrencyCodeEnum$1["INR"] = "INR";
79
- CurrencyCodeEnum$1["IQD"] = "IQD";
80
- CurrencyCodeEnum$1["IRR"] = "IRR";
81
- CurrencyCodeEnum$1["ISK"] = "ISK";
82
- CurrencyCodeEnum$1["JMD"] = "JMD";
83
- CurrencyCodeEnum$1["JOD"] = "JOD";
84
- CurrencyCodeEnum$1["JPY"] = "JPY";
85
- CurrencyCodeEnum$1["KES"] = "KES";
86
- CurrencyCodeEnum$1["KGS"] = "KGS";
87
- CurrencyCodeEnum$1["KHR"] = "KHR";
88
- CurrencyCodeEnum$1["KMF"] = "KMF";
89
- CurrencyCodeEnum$1["KPW"] = "KPW";
90
- CurrencyCodeEnum$1["KRW"] = "KRW";
91
- CurrencyCodeEnum$1["KWD"] = "KWD";
92
- CurrencyCodeEnum$1["KYD"] = "KYD";
93
- CurrencyCodeEnum$1["KZT"] = "KZT";
94
- CurrencyCodeEnum$1["LAK"] = "LAK";
95
- CurrencyCodeEnum$1["LBP"] = "LBP";
96
- CurrencyCodeEnum$1["LKR"] = "LKR";
97
- CurrencyCodeEnum$1["LRD"] = "LRD";
98
- CurrencyCodeEnum$1["LSL"] = "LSL";
99
- CurrencyCodeEnum$1["LYD"] = "LYD";
100
- CurrencyCodeEnum$1["MAD"] = "MAD";
101
- CurrencyCodeEnum$1["MDL"] = "MDL";
102
- CurrencyCodeEnum$1["MGA"] = "MGA";
103
- CurrencyCodeEnum$1["MKD"] = "MKD";
104
- CurrencyCodeEnum$1["MMK"] = "MMK";
105
- CurrencyCodeEnum$1["MNT"] = "MNT";
106
- CurrencyCodeEnum$1["MOP"] = "MOP";
107
- CurrencyCodeEnum$1["MRU"] = "MRU";
108
- CurrencyCodeEnum$1["MUR"] = "MUR";
109
- CurrencyCodeEnum$1["MVR"] = "MVR";
110
- CurrencyCodeEnum$1["MWK"] = "MWK";
111
- CurrencyCodeEnum$1["MXN"] = "MXN";
112
- CurrencyCodeEnum$1["MXV"] = "MXV";
113
- CurrencyCodeEnum$1["MYR"] = "MYR";
114
- CurrencyCodeEnum$1["MZN"] = "MZN";
115
- CurrencyCodeEnum$1["NAD"] = "NAD";
116
- CurrencyCodeEnum$1["NGN"] = "NGN";
117
- CurrencyCodeEnum$1["NIO"] = "NIO";
118
- CurrencyCodeEnum$1["NOK"] = "NOK";
119
- CurrencyCodeEnum$1["NPR"] = "NPR";
120
- CurrencyCodeEnum$1["NZD"] = "NZD";
121
- CurrencyCodeEnum$1["OMR"] = "OMR";
122
- CurrencyCodeEnum$1["PAB"] = "PAB";
123
- CurrencyCodeEnum$1["PEN"] = "PEN";
124
- CurrencyCodeEnum$1["PGK"] = "PGK";
125
- CurrencyCodeEnum$1["PHP"] = "PHP";
126
- CurrencyCodeEnum$1["PKR"] = "PKR";
127
- CurrencyCodeEnum$1["PLN"] = "PLN";
128
- CurrencyCodeEnum$1["PYG"] = "PYG";
129
- CurrencyCodeEnum$1["QAR"] = "QAR";
130
- CurrencyCodeEnum$1["RON"] = "RON";
131
- CurrencyCodeEnum$1["RSD"] = "RSD";
132
- CurrencyCodeEnum$1["RUB"] = "RUB";
133
- CurrencyCodeEnum$1["RWF"] = "RWF";
134
- CurrencyCodeEnum$1["SAR"] = "SAR";
135
- CurrencyCodeEnum$1["SBD"] = "SBD";
136
- CurrencyCodeEnum$1["SCR"] = "SCR";
137
- CurrencyCodeEnum$1["SDG"] = "SDG";
138
- CurrencyCodeEnum$1["SEK"] = "SEK";
139
- CurrencyCodeEnum$1["SGD"] = "SGD";
140
- CurrencyCodeEnum$1["SHP"] = "SHP";
141
- CurrencyCodeEnum$1["SLL"] = "SLL";
142
- CurrencyCodeEnum$1["SOS"] = "SOS";
143
- CurrencyCodeEnum$1["SRD"] = "SRD";
144
- CurrencyCodeEnum$1["SSP"] = "SSP";
145
- CurrencyCodeEnum$1["STN"] = "STN";
146
- CurrencyCodeEnum$1["SVC"] = "SVC";
147
- CurrencyCodeEnum$1["SYP"] = "SYP";
148
- CurrencyCodeEnum$1["SZL"] = "SZL";
149
- CurrencyCodeEnum$1["THB"] = "THB";
150
- CurrencyCodeEnum$1["TJS"] = "TJS";
151
- CurrencyCodeEnum$1["TMT"] = "TMT";
152
- CurrencyCodeEnum$1["TND"] = "TND";
153
- CurrencyCodeEnum$1["TOP"] = "TOP";
154
- CurrencyCodeEnum$1["TRY"] = "TRY";
155
- CurrencyCodeEnum$1["TTD"] = "TTD";
156
- CurrencyCodeEnum$1["TWD"] = "TWD";
157
- CurrencyCodeEnum$1["TZS"] = "TZS";
158
- CurrencyCodeEnum$1["UAH"] = "UAH";
159
- CurrencyCodeEnum$1["UGX"] = "UGX";
160
- CurrencyCodeEnum$1["USD"] = "USD";
161
- CurrencyCodeEnum$1["USN"] = "USN";
162
- CurrencyCodeEnum$1["UYI"] = "UYI";
163
- CurrencyCodeEnum$1["UYU"] = "UYU";
164
- CurrencyCodeEnum$1["UYW"] = "UYW";
165
- CurrencyCodeEnum$1["UZS"] = "UZS";
166
- CurrencyCodeEnum$1["VED"] = "VED";
167
- CurrencyCodeEnum$1["VES"] = "VES";
168
- CurrencyCodeEnum$1["VND"] = "VND";
169
- CurrencyCodeEnum$1["VUV"] = "VUV";
170
- CurrencyCodeEnum$1["WST"] = "WST";
171
- CurrencyCodeEnum$1["XAF"] = "XAF";
172
- CurrencyCodeEnum$1["XAG"] = "XAG";
173
- CurrencyCodeEnum$1["XAU"] = "XAU";
174
- CurrencyCodeEnum$1["XBA"] = "XBA";
175
- CurrencyCodeEnum$1["XBB"] = "XBB";
176
- CurrencyCodeEnum$1["XBC"] = "XBC";
177
- CurrencyCodeEnum$1["XBD"] = "XBD";
178
- CurrencyCodeEnum$1["XCD"] = "XCD";
179
- CurrencyCodeEnum$1["XDR"] = "XDR";
180
- CurrencyCodeEnum$1["XOF"] = "XOF";
181
- CurrencyCodeEnum$1["XPD"] = "XPD";
182
- CurrencyCodeEnum$1["XPF"] = "XPF";
183
- CurrencyCodeEnum$1["XPT"] = "XPT";
184
- CurrencyCodeEnum$1["XSU"] = "XSU";
185
- CurrencyCodeEnum$1["XUA"] = "XUA";
186
- CurrencyCodeEnum$1["XXX"] = "XXX";
187
- CurrencyCodeEnum$1["YER"] = "YER";
188
- CurrencyCodeEnum$1["ZAR"] = "ZAR";
189
- CurrencyCodeEnum$1["ZMW"] = "ZMW";
190
- CurrencyCodeEnum$1["ZWL"] = "ZWL";
191
- return CurrencyCodeEnum$1;
11
+ let PaymentModeCodeEnum = /* @__PURE__ */ function(PaymentModeCodeEnum$1) {
12
+ PaymentModeCodeEnum$1["Cash"] = "01";
13
+ PaymentModeCodeEnum$1["Cheque"] = "02";
14
+ PaymentModeCodeEnum$1["BankTransfer"] = "03";
15
+ PaymentModeCodeEnum$1["CreditCard"] = "04";
16
+ PaymentModeCodeEnum$1["DebitCard"] = "05";
17
+ PaymentModeCodeEnum$1["EWalletDigitalWallet"] = "06";
18
+ PaymentModeCodeEnum$1["DigitalBank"] = "07";
19
+ PaymentModeCodeEnum$1["Others"] = "08";
20
+ return PaymentModeCodeEnum$1;
192
21
  }({});
193
22
 
194
23
  //#endregion
195
- exports.CurrencyCodeEnum = CurrencyCodeEnum;
24
+ exports.PaymentModeCodeEnum = PaymentModeCodeEnum;
196
25
  //# sourceMappingURL=index10.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index10.cjs","names":[],"sources":["../src/types/currencies.d.ts"],"sourcesContent":["/**\n * Represents the allowed ISO-4217 3-letter currency codes.\n * Based on the documentation: https://sdk.myinvois.hasil.gov.my/codes/currencies/\n */\nexport type CurrencyCode =\n | 'AED'\n | 'AFN'\n | 'ALL'\n | 'AMD'\n | 'ANG'\n | 'AOA'\n | 'ARS'\n | 'AUD'\n | 'AWG'\n | 'AZN'\n | 'BAM'\n | 'BBD'\n | 'BDT'\n | 'BGN'\n | 'BHD'\n | 'BIF'\n | 'BMD'\n | 'BND'\n | 'BOB'\n | 'BOV'\n | 'BRL'\n | 'BSD'\n | 'BTN'\n | 'BWP'\n | 'BYN'\n | 'BZD'\n | 'CAD'\n | 'CDF'\n | 'CHE'\n | 'CHF'\n | 'CHW'\n | 'CLF'\n | 'CLP'\n | 'CNY'\n | 'COP'\n | 'COU'\n | 'CRC'\n | 'CUC'\n | 'CUP'\n | 'CVE'\n | 'CZK'\n | 'DJF'\n | 'DKK'\n | 'DOP'\n | 'DZD'\n | 'EGP'\n | 'ERN'\n | 'ETB'\n | 'EUR'\n | 'FJD'\n | 'FKP'\n | 'GBP'\n | 'GEL'\n | 'GHS'\n | 'GIP'\n | 'GMD'\n | 'GNF'\n | 'GTQ'\n | 'GYD'\n | 'HKD'\n | 'HNL'\n | 'HRK'\n | 'HTG'\n | 'HUF'\n | 'IDR'\n | 'ILS'\n | 'INR'\n | 'IQD'\n | 'IRR'\n | 'ISK'\n | 'JMD'\n | 'JOD'\n | 'JPY'\n | 'KES'\n | 'KGS'\n | 'KHR'\n | 'KMF'\n | 'KPW'\n | 'KRW'\n | 'KWD'\n | 'KYD'\n | 'KZT'\n | 'LAK'\n | 'LBP'\n | 'LKR'\n | 'LRD'\n | 'LSL'\n | 'LYD'\n | 'MAD'\n | 'MDL'\n | 'MGA'\n | 'MKD'\n | 'MMK'\n | 'MNT'\n | 'MOP'\n | 'MRU'\n | 'MUR'\n | 'MVR'\n | 'MWK'\n | 'MXN'\n | 'MXV'\n | 'MYR'\n | 'MZN'\n | 'NAD'\n | 'NGN'\n | 'NIO'\n | 'NOK'\n | 'NPR'\n | 'NZD'\n | 'OMR'\n | 'PAB'\n | 'PEN'\n | 'PGK'\n | 'PHP'\n | 'PKR'\n | 'PLN'\n | 'PYG'\n | 'QAR'\n | 'RON'\n | 'RSD'\n | 'RUB'\n | 'RWF'\n | 'SAR'\n | 'SBD'\n | 'SCR'\n | 'SDG'\n | 'SEK'\n | 'SGD'\n | 'SHP'\n | 'SLL'\n | 'SOS'\n | 'SRD'\n | 'SSP'\n | 'STN'\n | 'SVC'\n | 'SYP'\n | 'SZL'\n | 'THB'\n | 'TJS'\n | 'TMT'\n | 'TND'\n | 'TOP'\n | 'TRY'\n | 'TTD'\n | 'TWD'\n | 'TZS'\n | 'UAH'\n | 'UGX'\n | 'USD'\n | 'USN'\n | 'UYI'\n | 'UYU'\n | 'UYW'\n | 'UZS'\n | 'VED'\n | 'VES'\n | 'VND'\n | 'VUV'\n | 'WST'\n | 'XAF'\n | 'XAG'\n | 'XAU'\n | 'XBA'\n | 'XBB'\n | 'XBC'\n | 'XBD'\n | 'XCD'\n | 'XDR'\n | 'XOF'\n | 'XPD'\n | 'XPF'\n | 'XPT'\n | 'XSU'\n | 'XUA'\n | 'XXX'\n | 'YER'\n | 'ZAR'\n | 'ZMW'\n | 'ZWL'\n\n/**\n * Enum representing the allowed ISO-4217 3-letter currency codes.\n * Provides a more readable way to reference currency codes.\n *\n * @example\n * const currency = CurrencyCodeEnum.MYR;\n * console.log(currency); // Output: \"MYR\"\n */\nexport enum CurrencyCodeEnum {\n AED = 'AED',\n AFN = 'AFN',\n ALL = 'ALL',\n AMD = 'AMD',\n ANG = 'ANG',\n AOA = 'AOA',\n ARS = 'ARS',\n AUD = 'AUD',\n AWG = 'AWG',\n AZN = 'AZN',\n BAM = 'BAM',\n BBD = 'BBD',\n BDT = 'BDT',\n BGN = 'BGN',\n BHD = 'BHD',\n BIF = 'BIF',\n BMD = 'BMD',\n BND = 'BND',\n BOB = 'BOB',\n BOV = 'BOV',\n BRL = 'BRL',\n BSD = 'BSD',\n BTN = 'BTN',\n BWP = 'BWP',\n BYN = 'BYN',\n BZD = 'BZD',\n CAD = 'CAD',\n CDF = 'CDF',\n CHE = 'CHE',\n CHF = 'CHF',\n CHW = 'CHW',\n CLF = 'CLF',\n CLP = 'CLP',\n CNY = 'CNY',\n COP = 'COP',\n COU = 'COU',\n CRC = 'CRC',\n CUC = 'CUC',\n CUP = 'CUP',\n CVE = 'CVE',\n CZK = 'CZK',\n DJF = 'DJF',\n DKK = 'DKK',\n DOP = 'DOP',\n DZD = 'DZD',\n EGP = 'EGP',\n ERN = 'ERN',\n ETB = 'ETB',\n EUR = 'EUR',\n FJD = 'FJD',\n FKP = 'FKP',\n GBP = 'GBP',\n GEL = 'GEL',\n GHS = 'GHS',\n GIP = 'GIP',\n GMD = 'GMD',\n GNF = 'GNF',\n GTQ = 'GTQ',\n GYD = 'GYD',\n HKD = 'HKD',\n HNL = 'HNL',\n HRK = 'HRK',\n HTG = 'HTG',\n HUF = 'HUF',\n IDR = 'IDR',\n ILS = 'ILS',\n INR = 'INR',\n IQD = 'IQD',\n IRR = 'IRR',\n ISK = 'ISK',\n JMD = 'JMD',\n JOD = 'JOD',\n JPY = 'JPY',\n KES = 'KES',\n KGS = 'KGS',\n KHR = 'KHR',\n KMF = 'KMF',\n KPW = 'KPW',\n KRW = 'KRW',\n KWD = 'KWD',\n KYD = 'KYD',\n KZT = 'KZT',\n LAK = 'LAK',\n LBP = 'LBP',\n LKR = 'LKR',\n LRD = 'LRD',\n LSL = 'LSL',\n LYD = 'LYD',\n MAD = 'MAD',\n MDL = 'MDL',\n MGA = 'MGA',\n MKD = 'MKD',\n MMK = 'MMK',\n MNT = 'MNT',\n MOP = 'MOP',\n MRU = 'MRU',\n MUR = 'MUR',\n MVR = 'MVR',\n MWK = 'MWK',\n MXN = 'MXN',\n MXV = 'MXV',\n MYR = 'MYR',\n MZN = 'MZN',\n NAD = 'NAD',\n NGN = 'NGN',\n NIO = 'NIO',\n NOK = 'NOK',\n NPR = 'NPR',\n NZD = 'NZD',\n OMR = 'OMR',\n PAB = 'PAB',\n PEN = 'PEN',\n PGK = 'PGK',\n PHP = 'PHP',\n PKR = 'PKR',\n PLN = 'PLN',\n PYG = 'PYG',\n QAR = 'QAR',\n RON = 'RON',\n RSD = 'RSD',\n RUB = 'RUB',\n RWF = 'RWF',\n SAR = 'SAR',\n SBD = 'SBD',\n SCR = 'SCR',\n SDG = 'SDG',\n SEK = 'SEK',\n SGD = 'SGD',\n SHP = 'SHP',\n SLL = 'SLL',\n SOS = 'SOS',\n SRD = 'SRD',\n SSP = 'SSP',\n STN = 'STN',\n SVC = 'SVC',\n SYP = 'SYP',\n SZL = 'SZL',\n THB = 'THB',\n TJS = 'TJS',\n TMT = 'TMT',\n TND = 'TND',\n TOP = 'TOP',\n TRY = 'TRY',\n TTD = 'TTD',\n TWD = 'TWD',\n TZS = 'TZS',\n UAH = 'UAH',\n UGX = 'UGX',\n USD = 'USD',\n USN = 'USN',\n UYI = 'UYI',\n UYU = 'UYU',\n UYW = 'UYW',\n UZS = 'UZS',\n VED = 'VED',\n VES = 'VES',\n VND = 'VND',\n VUV = 'VUV',\n WST = 'WST',\n XAF = 'XAF',\n XAG = 'XAG',\n XAU = 'XAU',\n XBA = 'XBA',\n XBB = 'XBB',\n XBC = 'XBC',\n XBD = 'XBD',\n XCD = 'XCD',\n XDR = 'XDR',\n XOF = 'XOF',\n XPD = 'XPD',\n XPF = 'XPF',\n XPT = 'XPT',\n XSU = 'XSU',\n XUA = 'XUA',\n XXX = 'XXX',\n YER = 'YER',\n ZAR = 'ZAR',\n ZMW = 'ZMW',\n ZWL = 'ZWL',\n}\n\n/**\n * Interface representing a currency entry.\n * Contains the ISO-4217 code and the currency name.\n */\nexport interface Currency {\n code: CurrencyCode\n name: string\n}\n"],"mappings":";;;;;;;;;;AAiMA,IAAY,gEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACD"}
1
+ {"version":3,"file":"index10.cjs","names":[],"sources":["../src/types/payment-modes.d.ts"],"sourcesContent":["/**\n * Represents the allowed codes for payment modes.\n * Based on the documentation: https://sdk.myinvois.hasil.gov.my/codes/payment-methods/\n */\nexport type PaymentModeCode =\n | '01' // Cash\n | '02' // Cheque\n | '03' // Bank Transfer\n | '04' // Credit Card\n | '05' // Debit Card\n | '06' // e-Wallet / Digital Wallet\n | '07' // Digital Bank\n | '08' // Others\n\n/**\n * Enum representing the allowed payment mode codes with descriptive names.\n * Provides a more readable way to reference payment modes.\n *\n * @example\n * const mode = PaymentModeCodeEnum.Cash;\n * console.log(mode); // Output: \"01\"\n */\nexport enum PaymentModeCodeEnum {\n Cash = '01',\n Cheque = '02',\n BankTransfer = '03',\n CreditCard = '04',\n DebitCard = '05',\n EWalletDigitalWallet = '06',\n DigitalBank = '07',\n Others = '08',\n}\n\n/**\n * Interface representing a payment mode entry.\n * Contains the code and its corresponding description.\n */\nexport interface PaymentMode {\n code: PaymentModeCode\n description: string\n}\n"],"mappings":";;;;;;;;;;AAsBA,IAAY,sEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACD"}
package/dist/index12.cjs CHANGED
@@ -1,25 +1,34 @@
1
1
 
2
- //#region src/types/e-invoice.d.ts
2
+ //#region src/types/state-codes.d.ts
3
3
  /**
4
- * Enum representing the allowed codes for e-Invoice types with descriptive names.
5
- * Provides a more readable way to reference e-Invoice types compared to using raw codes.
4
+ * Enum representing the allowed state codes with descriptive names.
5
+ * Provides a more readable way to reference states.
6
6
  *
7
7
  * @example
8
- * const invoiceCode = EInvoiceTypeCodeEnum.Invoice;
9
- * console.log(invoiceCode); // Output: "01"
8
+ * const code = StateCodeEnum.Selangor;
9
+ * console.log(code); // Output: "10"
10
10
  */
11
- let EInvoiceTypeCodeEnum = /* @__PURE__ */ function(EInvoiceTypeCodeEnum$1) {
12
- EInvoiceTypeCodeEnum$1["Invoice"] = "01";
13
- EInvoiceTypeCodeEnum$1["CreditNote"] = "02";
14
- EInvoiceTypeCodeEnum$1["DebitNote"] = "03";
15
- EInvoiceTypeCodeEnum$1["RefundNote"] = "04";
16
- EInvoiceTypeCodeEnum$1["SelfBilledInvoice"] = "11";
17
- EInvoiceTypeCodeEnum$1["SelfBilledCreditNote"] = "12";
18
- EInvoiceTypeCodeEnum$1["SelfBilledDebitNote"] = "13";
19
- EInvoiceTypeCodeEnum$1["SelfBilledRefundNote"] = "14";
20
- return EInvoiceTypeCodeEnum$1;
11
+ let StateCodeEnum = /* @__PURE__ */ function(StateCodeEnum$1) {
12
+ StateCodeEnum$1["Johor"] = "01";
13
+ StateCodeEnum$1["Kedah"] = "02";
14
+ StateCodeEnum$1["Kelantan"] = "03";
15
+ StateCodeEnum$1["Melaka"] = "04";
16
+ StateCodeEnum$1["NegeriSembilan"] = "05";
17
+ StateCodeEnum$1["Pahang"] = "06";
18
+ StateCodeEnum$1["PulauPinang"] = "07";
19
+ StateCodeEnum$1["Perak"] = "08";
20
+ StateCodeEnum$1["Perlis"] = "09";
21
+ StateCodeEnum$1["Selangor"] = "10";
22
+ StateCodeEnum$1["Terengganu"] = "11";
23
+ StateCodeEnum$1["Sabah"] = "12";
24
+ StateCodeEnum$1["Sarawak"] = "13";
25
+ StateCodeEnum$1["WPKualaLumpur"] = "14";
26
+ StateCodeEnum$1["WPLabuan"] = "15";
27
+ StateCodeEnum$1["WPPutrajaya"] = "16";
28
+ StateCodeEnum$1["NotApplicable"] = "17";
29
+ return StateCodeEnum$1;
21
30
  }({});
22
31
 
23
32
  //#endregion
24
- exports.EInvoiceTypeCodeEnum = EInvoiceTypeCodeEnum;
33
+ exports.StateCodeEnum = StateCodeEnum;
25
34
  //# sourceMappingURL=index12.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index12.cjs","names":[],"sources":["../src/types/e-invoice.d.ts"],"sourcesContent":["/**\n * Represents the allowed codes for e-Invoice types.\n * Based on the documentation: https://sdk.myinvois.hasil.gov.my/codes/e-invoice-types/\n */\nexport type EInvoiceTypeCode =\n | '01' // Invoice\n | '02' // Credit Note\n | '03' // Debit Note\n | '04' // Refund Note\n | '11' // Self-billed Invoice\n | '12' // Self-billed Credit Note\n | '13' // Self-billed Debit Note\n | '14' // Self-billed Refund Note\n\n/**\n * Interface representing an e-Invoice type entry.\n * Contains the code and its corresponding description.\n */\nexport interface EInvoiceType {\n code: EInvoiceTypeCode\n description: string\n}\n\n/**\n * Enum representing the allowed codes for e-Invoice types with descriptive names.\n * Provides a more readable way to reference e-Invoice types compared to using raw codes.\n *\n * @example\n * const invoiceCode = EInvoiceTypeCodeEnum.Invoice;\n * console.log(invoiceCode); // Output: \"01\"\n */\nexport enum EInvoiceTypeCodeEnum {\n Invoice = '01',\n CreditNote = '02',\n DebitNote = '03',\n RefundNote = '04',\n SelfBilledInvoice = '11',\n SelfBilledCreditNote = '12',\n SelfBilledDebitNote = '13',\n SelfBilledRefundNote = '14',\n}\n"],"mappings":";;;;;;;;;;AA+BA,IAAY,wEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACD"}
1
+ {"version":3,"file":"index12.cjs","names":[],"sources":["../src/types/state-codes.d.ts"],"sourcesContent":["/**\n * Represents the allowed codes for Malaysian states and federal territories.\n * Based on the documentation: https://sdk.myinvois.hasil.gov.my/codes/state-codes/\n */\nexport type StateCode =\n | '01' // Johor\n | '02' // Kedah\n | '03' // Kelantan\n | '04' // Melaka\n | '05' // Negeri Sembilan\n | '06' // Pahang\n | '07' // Pulau Pinang\n | '08' // Perak\n | '09' // Perlis\n | '10' // Selangor\n | '11' // Terengganu\n | '12' // Sabah\n | '13' // Sarawak\n | '14' // Wilayah Persekutuan Kuala Lumpur\n | '15' // Wilayah Persekutuan Labuan\n | '16' // Wilayah Persekutuan Putrajaya\n | '17' // Not Applicable\n\n/**\n * Enum representing the allowed state codes with descriptive names.\n * Provides a more readable way to reference states.\n *\n * @example\n * const code = StateCodeEnum.Selangor;\n * console.log(code); // Output: \"10\"\n */\nexport enum StateCodeEnum {\n Johor = '01',\n Kedah = '02',\n Kelantan = '03',\n Melaka = '04',\n NegeriSembilan = '05',\n Pahang = '06',\n PulauPinang = '07',\n Perak = '08',\n Perlis = '09',\n Selangor = '10',\n Terengganu = '11',\n Sabah = '12',\n Sarawak = '13',\n WPKualaLumpur = '14',\n WPLabuan = '15',\n WPPutrajaya = '16',\n NotApplicable = '17',\n}\n\n/**\n * Interface representing a state code entry.\n * Contains the code and its corresponding name.\n */\nexport interface State {\n code: StateCode\n name: string\n}\n"],"mappings":";;;;;;;;;;AA+BA,IAAY,0DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACD"}
package/dist/index13.cjs CHANGED
@@ -0,0 +1,24 @@
1
+
2
+ //#region src/types/tax-types.d.ts
3
+ /**
4
+ * Enum representing the allowed tax type codes with descriptive names.
5
+ * Provides a more readable way to reference tax types.
6
+ *
7
+ * @example
8
+ * const code = TaxTypeCodeEnum.SalesTax;
9
+ * console.log(code); // Output: "01"
10
+ */
11
+ let TaxTypeCodeEnum = /* @__PURE__ */ function(TaxTypeCodeEnum$1) {
12
+ TaxTypeCodeEnum$1["SalesTax"] = "01";
13
+ TaxTypeCodeEnum$1["ServiceTax"] = "02";
14
+ TaxTypeCodeEnum$1["TourismTax"] = "03";
15
+ TaxTypeCodeEnum$1["HighValueGoodsTax"] = "04";
16
+ TaxTypeCodeEnum$1["SalesTaxLowValueGoods"] = "05";
17
+ TaxTypeCodeEnum$1["NotApplicable"] = "06";
18
+ TaxTypeCodeEnum$1["TaxExemption"] = "E";
19
+ return TaxTypeCodeEnum$1;
20
+ }({});
21
+
22
+ //#endregion
23
+ exports.TaxTypeCodeEnum = TaxTypeCodeEnum;
24
+ //# sourceMappingURL=index13.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index19.cjs","names":[],"sources":["../src/types/tax-types.d.ts"],"sourcesContent":["/**\n * Represents the allowed codes for tax types.\n * Based on the documentation: https://sdk.myinvois.hasil.gov.my/codes/tax-types/\n */\nexport type TaxTypeCode =\n | '01' // Sales Tax\n | '02' // Service Tax\n | '03' // Tourism Tax\n | '04' // High-Value Goods Tax\n | '05' // Sales Tax on Low Value Goods\n | '06' // Not Applicable\n | 'E' // Tax exemption (where applicable)\n\n/**\n * Enum representing the allowed tax type codes with descriptive names.\n * Provides a more readable way to reference tax types.\n *\n * @example\n * const code = TaxTypeCodeEnum.SalesTax;\n * console.log(code); // Output: \"01\"\n */\nexport enum TaxTypeCodeEnum {\n SalesTax = '01',\n ServiceTax = '02',\n TourismTax = '03',\n HighValueGoodsTax = '04',\n SalesTaxLowValueGoods = '05',\n NotApplicable = '06',\n TaxExemption = 'E',\n}\n\n/**\n * Interface representing a tax type entry.\n * Contains the code and its corresponding description.\n */\nexport interface TaxType {\n code: TaxTypeCode\n description: string\n}\n"],"mappings":";;;;;;;;;;AAqBA,IAAY,8DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AACD"}
1
+ {"version":3,"file":"index13.cjs","names":[],"sources":["../src/types/tax-types.d.ts"],"sourcesContent":["/**\n * Represents the allowed codes for tax types.\n * Based on the documentation: https://sdk.myinvois.hasil.gov.my/codes/tax-types/\n */\nexport type TaxTypeCode =\n | '01' // Sales Tax\n | '02' // Service Tax\n | '03' // Tourism Tax\n | '04' // High-Value Goods Tax\n | '05' // Sales Tax on Low Value Goods\n | '06' // Not Applicable\n | 'E' // Tax exemption (where applicable)\n\n/**\n * Enum representing the allowed tax type codes with descriptive names.\n * Provides a more readable way to reference tax types.\n *\n * @example\n * const code = TaxTypeCodeEnum.SalesTax;\n * console.log(code); // Output: \"01\"\n */\nexport enum TaxTypeCodeEnum {\n SalesTax = '01',\n ServiceTax = '02',\n TourismTax = '03',\n HighValueGoodsTax = '04',\n SalesTaxLowValueGoods = '05',\n NotApplicable = '06',\n TaxExemption = 'E',\n}\n\n/**\n * Interface representing a tax type entry.\n * Contains the code and its corresponding description.\n */\nexport interface TaxType {\n code: TaxTypeCode\n description: string\n}\n"],"mappings":";;;;;;;;;;AAqBA,IAAY,8DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AACD"}
package/dist/index15.cjs CHANGED
@@ -1,29 +0,0 @@
1
-
2
- //#region src/types/notifications.d.ts
3
- let NotificationTypeEnum = /* @__PURE__ */ function(NotificationTypeEnum$1) {
4
- NotificationTypeEnum$1[NotificationTypeEnum$1["Profile data validation"] = 3] = "Profile data validation";
5
- NotificationTypeEnum$1[NotificationTypeEnum$1["Document received"] = 6] = "Document received";
6
- NotificationTypeEnum$1[NotificationTypeEnum$1["Document validated"] = 7] = "Document validated";
7
- NotificationTypeEnum$1[NotificationTypeEnum$1["Document cancelled"] = 8] = "Document cancelled";
8
- NotificationTypeEnum$1[NotificationTypeEnum$1["User profile changed"] = 10] = "User profile changed";
9
- NotificationTypeEnum$1[NotificationTypeEnum$1["Taxpayer profile changed"] = 11] = "Taxpayer profile changed";
10
- NotificationTypeEnum$1[NotificationTypeEnum$1["Document rejection initiated"] = 15] = "Document rejection initiated";
11
- NotificationTypeEnum$1[NotificationTypeEnum$1["ERP data validation"] = 26] = "ERP data validation";
12
- NotificationTypeEnum$1[NotificationTypeEnum$1["Documents processing summary"] = 33] = "Documents processing summary";
13
- NotificationTypeEnum$1[NotificationTypeEnum$1["Document Template Published"] = 34] = "Document Template Published";
14
- NotificationTypeEnum$1[NotificationTypeEnum$1["Document Template Deletion"] = 35] = "Document Template Deletion";
15
- return NotificationTypeEnum$1;
16
- }({});
17
- let NotificationStatusEnum = /* @__PURE__ */ function(NotificationStatusEnum$1) {
18
- NotificationStatusEnum$1[NotificationStatusEnum$1["New"] = 1] = "New";
19
- NotificationStatusEnum$1[NotificationStatusEnum$1["Pending"] = 2] = "Pending";
20
- NotificationStatusEnum$1[NotificationStatusEnum$1["Batched"] = 3] = "Batched";
21
- NotificationStatusEnum$1[NotificationStatusEnum$1["Delivered"] = 4] = "Delivered";
22
- NotificationStatusEnum$1[NotificationStatusEnum$1["Error"] = 5] = "Error";
23
- return NotificationStatusEnum$1;
24
- }({});
25
-
26
- //#endregion
27
- exports.NotificationStatusEnum = NotificationStatusEnum;
28
- exports.NotificationTypeEnum = NotificationTypeEnum;
29
- //# sourceMappingURL=index15.cjs.map
package/dist/index16.cjs CHANGED
@@ -1,25 +0,0 @@
1
-
2
- //#region src/types/payment-modes.d.ts
3
- /**
4
- * Enum representing the allowed payment mode codes with descriptive names.
5
- * Provides a more readable way to reference payment modes.
6
- *
7
- * @example
8
- * const mode = PaymentModeCodeEnum.Cash;
9
- * console.log(mode); // Output: "01"
10
- */
11
- let PaymentModeCodeEnum = /* @__PURE__ */ function(PaymentModeCodeEnum$1) {
12
- PaymentModeCodeEnum$1["Cash"] = "01";
13
- PaymentModeCodeEnum$1["Cheque"] = "02";
14
- PaymentModeCodeEnum$1["BankTransfer"] = "03";
15
- PaymentModeCodeEnum$1["CreditCard"] = "04";
16
- PaymentModeCodeEnum$1["DebitCard"] = "05";
17
- PaymentModeCodeEnum$1["EWalletDigitalWallet"] = "06";
18
- PaymentModeCodeEnum$1["DigitalBank"] = "07";
19
- PaymentModeCodeEnum$1["Others"] = "08";
20
- return PaymentModeCodeEnum$1;
21
- }({});
22
-
23
- //#endregion
24
- exports.PaymentModeCodeEnum = PaymentModeCodeEnum;
25
- //# sourceMappingURL=index16.cjs.map
package/dist/index17.cjs CHANGED
@@ -0,0 +1,5 @@
1
+ const require_documentManagement = require('./documentManagement-DQ7JEcBq.cjs');
2
+
3
+ exports.getDocument = require_documentManagement.getDocument;
4
+ exports.getDocumentDetails = require_documentManagement.getDocumentDetails;
5
+ exports.searchDocuments = require_documentManagement.searchDocuments;
package/dist/index18.cjs CHANGED
@@ -1,34 +1,7 @@
1
+ require('./formatIdValue-i67o4kyD.cjs');
2
+ require('./document-Dvonhaqt.cjs');
3
+ const require_documentSubmission = require('./documentSubmission-CWscnXdN.cjs');
1
4
 
2
- //#region src/types/state-codes.d.ts
3
- /**
4
- * Enum representing the allowed state codes with descriptive names.
5
- * Provides a more readable way to reference states.
6
- *
7
- * @example
8
- * const code = StateCodeEnum.Selangor;
9
- * console.log(code); // Output: "10"
10
- */
11
- let StateCodeEnum = /* @__PURE__ */ function(StateCodeEnum$1) {
12
- StateCodeEnum$1["Johor"] = "01";
13
- StateCodeEnum$1["Kedah"] = "02";
14
- StateCodeEnum$1["Kelantan"] = "03";
15
- StateCodeEnum$1["Melaka"] = "04";
16
- StateCodeEnum$1["NegeriSembilan"] = "05";
17
- StateCodeEnum$1["Pahang"] = "06";
18
- StateCodeEnum$1["PulauPinang"] = "07";
19
- StateCodeEnum$1["Perak"] = "08";
20
- StateCodeEnum$1["Perlis"] = "09";
21
- StateCodeEnum$1["Selangor"] = "10";
22
- StateCodeEnum$1["Terengganu"] = "11";
23
- StateCodeEnum$1["Sabah"] = "12";
24
- StateCodeEnum$1["Sarawak"] = "13";
25
- StateCodeEnum$1["WPKualaLumpur"] = "14";
26
- StateCodeEnum$1["WPLabuan"] = "15";
27
- StateCodeEnum$1["WPPutrajaya"] = "16";
28
- StateCodeEnum$1["NotApplicable"] = "17";
29
- return StateCodeEnum$1;
30
- }({});
31
-
32
- //#endregion
33
- exports.StateCodeEnum = StateCodeEnum;
34
- //# sourceMappingURL=index18.cjs.map
5
+ exports.getSubmissionStatus = require_documentSubmission.getSubmissionStatus;
6
+ exports.performDocumentAction = require_documentSubmission.performDocumentAction;
7
+ exports.submitDocument = require_documentSubmission.submitDocument;
package/dist/index19.cjs CHANGED
@@ -1,24 +1,5 @@
1
+ const require_documentTypeManagement = require('./documentTypeManagement-D_-LiQVg.cjs');
1
2
 
2
- //#region src/types/tax-types.d.ts
3
- /**
4
- * Enum representing the allowed tax type codes with descriptive names.
5
- * Provides a more readable way to reference tax types.
6
- *
7
- * @example
8
- * const code = TaxTypeCodeEnum.SalesTax;
9
- * console.log(code); // Output: "01"
10
- */
11
- let TaxTypeCodeEnum = /* @__PURE__ */ function(TaxTypeCodeEnum$1) {
12
- TaxTypeCodeEnum$1["SalesTax"] = "01";
13
- TaxTypeCodeEnum$1["ServiceTax"] = "02";
14
- TaxTypeCodeEnum$1["TourismTax"] = "03";
15
- TaxTypeCodeEnum$1["HighValueGoodsTax"] = "04";
16
- TaxTypeCodeEnum$1["SalesTaxLowValueGoods"] = "05";
17
- TaxTypeCodeEnum$1["NotApplicable"] = "06";
18
- TaxTypeCodeEnum$1["TaxExemption"] = "E";
19
- return TaxTypeCodeEnum$1;
20
- }({});
21
-
22
- //#endregion
23
- exports.TaxTypeCodeEnum = TaxTypeCodeEnum;
24
- //# sourceMappingURL=index19.cjs.map
3
+ exports.getDocumentType = require_documentTypeManagement.getDocumentType;
4
+ exports.getDocumentTypeVersion = require_documentTypeManagement.getDocumentTypeVersion;
5
+ exports.getDocumentTypes = require_documentTypeManagement.getDocumentTypes;
package/dist/index2.cjs CHANGED
@@ -1,5 +1,62 @@
1
- const require_documentManagement = require('./documentManagement-DQ7JEcBq.cjs');
2
1
 
3
- exports.getDocument = require_documentManagement.getDocument;
4
- exports.getDocumentDetails = require_documentManagement.getDocumentDetails;
5
- exports.searchDocuments = require_documentManagement.searchDocuments;
2
+ //#region src/types/classification-codes.d.ts
3
+ /**
4
+ * Enum representing the allowed classification codes with descriptive names.
5
+ * Provides a more readable way to reference classification codes.
6
+ *
7
+ * @example
8
+ * const code = ClassificationCodeEnum.ComputerSmartphoneOrTablet;
9
+ * console.log(code); // Output: "003"
10
+ */
11
+ let ClassificationCodeEnum = /* @__PURE__ */ function(ClassificationCodeEnum$1) {
12
+ ClassificationCodeEnum$1["BreastfeedingEquipment"] = "001";
13
+ ClassificationCodeEnum$1["ChildCareCentresAndKindergartensFees"] = "002";
14
+ ClassificationCodeEnum$1["ComputerSmartphoneOrTablet"] = "003";
15
+ ClassificationCodeEnum$1["ConsolidatedEInvoice"] = "004";
16
+ ClassificationCodeEnum$1["ConstructionMaterials"] = "005";
17
+ ClassificationCodeEnum$1["Disbursement"] = "006";
18
+ ClassificationCodeEnum$1["Donation"] = "007";
19
+ ClassificationCodeEnum$1["ECommerceEInvoiceToBuyer"] = "008";
20
+ ClassificationCodeEnum$1["ECommerceSelfBilledToSellerLogistics"] = "009";
21
+ ClassificationCodeEnum$1["EducationFees"] = "010";
22
+ ClassificationCodeEnum$1["GoodsOnConsignmentConsignor"] = "011";
23
+ ClassificationCodeEnum$1["GoodsOnConsignmentConsignee"] = "012";
24
+ ClassificationCodeEnum$1["GymMembership"] = "013";
25
+ ClassificationCodeEnum$1["InsuranceEducationMedicalBenefits"] = "014";
26
+ ClassificationCodeEnum$1["InsuranceTakafulLife"] = "015";
27
+ ClassificationCodeEnum$1["InterestFinancingExpenses"] = "016";
28
+ ClassificationCodeEnum$1["InternetSubscription"] = "017";
29
+ ClassificationCodeEnum$1["LandAndBuilding"] = "018";
30
+ ClassificationCodeEnum$1["MedicalExamLearningDisabilities"] = "019";
31
+ ClassificationCodeEnum$1["MedicalExamVaccination"] = "020";
32
+ ClassificationCodeEnum$1["MedicalExpensesSeriousDiseases"] = "021";
33
+ ClassificationCodeEnum$1["Others"] = "022";
34
+ ClassificationCodeEnum$1["PetroleumOperations"] = "023";
35
+ ClassificationCodeEnum$1["PrivateRetirementSchemeDeferredAnnuity"] = "024";
36
+ ClassificationCodeEnum$1["MotorVehicle"] = "025";
37
+ ClassificationCodeEnum$1["SubscriptionBooksJournalsEtc"] = "026";
38
+ ClassificationCodeEnum$1["Reimbursement"] = "027";
39
+ ClassificationCodeEnum$1["RentalOfMotorVehicle"] = "028";
40
+ ClassificationCodeEnum$1["EVChargingFacilities"] = "029";
41
+ ClassificationCodeEnum$1["RepairAndMaintenance"] = "030";
42
+ ClassificationCodeEnum$1["ResearchAndDevelopment"] = "031";
43
+ ClassificationCodeEnum$1["ForeignIncome"] = "032";
44
+ ClassificationCodeEnum$1["SelfBilledBettingGaming"] = "033";
45
+ ClassificationCodeEnum$1["SelfBilledImportationGoods"] = "034";
46
+ ClassificationCodeEnum$1["SelfBilledImportationServices"] = "035";
47
+ ClassificationCodeEnum$1["SelfBilledOthers"] = "036";
48
+ ClassificationCodeEnum$1["SelfBilledMonetaryPaymentToAgents"] = "037";
49
+ ClassificationCodeEnum$1["SportsEquipmentRentalFeesEtc"] = "038";
50
+ ClassificationCodeEnum$1["SupportingEquipmentDisabledPerson"] = "039";
51
+ ClassificationCodeEnum$1["VoluntaryContributionProvidentFund"] = "040";
52
+ ClassificationCodeEnum$1["DentalExamTreatment"] = "041";
53
+ ClassificationCodeEnum$1["FertilityTreatment"] = "042";
54
+ ClassificationCodeEnum$1["TreatmentHomeCareNursingEtc"] = "043";
55
+ ClassificationCodeEnum$1["VouchersGiftCardsLoyaltyPoints"] = "044";
56
+ ClassificationCodeEnum$1["SelfBilledNonMonetaryPaymentToAgents"] = "045";
57
+ return ClassificationCodeEnum$1;
58
+ }({});
59
+
60
+ //#endregion
61
+ exports.ClassificationCodeEnum = ClassificationCodeEnum;
62
+ //# sourceMappingURL=index2.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index8.cjs","names":[],"sources":["../src/types/classification-codes.d.ts"],"sourcesContent":["/**\n * Represents the allowed classification codes for e-Invoice items.\n * Based on the documentation: https://sdk.myinvois.hasil.gov.my/codes/classification-codes/\n */\nexport type ClassificationCode =\n | '001' // Breastfeeding equipment\n | '002' // Child care centres and kindergartens fees\n | '003' // Computer, smartphone or tablet\n | '004' // Consolidated e-Invoice\n | '005' // Construction materials (as specified under Fourth Schedule of the Lembaga Pembangunan Industri Pembinaan Malaysia Act 1994)\n | '006' // Disbursement\n | '007' // Donation\n | '008' // e-Commerce - e-Invoice to buyer / purchaser\n | '009' // e-Commerce - Self-billed e-Invoice to seller, logistics, etc.\n | '010' // Education fees\n | '011' // Goods on consignment (Consignor)\n | '012' // Goods on consignment (Consignee)\n | '013' // Gym membership\n | '014' // Insurance - Education and medical benefits\n | '015' // Insurance - Takaful or life insurance\n | '016' // Interest and financing expenses\n | '017' // Internet subscription\n | '018' // Land and building\n | '019' // Medical examination for learning disabilities and early intervention or rehabilitation treatments of learning disabilities\n | '020' // Medical examination or vaccination expenses\n | '021' // Medical expenses for serious diseases\n | '022' // Others\n | '023' // Petroleum operations (as defined in Petroleum (Income Tax) Act 1967)\n | '024' // Private retirement scheme or deferred annuity scheme\n | '025' // Motor vehicle\n | '026' // Subscription of books / journals / magazines / newspapers / other similar publications\n | '027' // Reimbursement\n | '028' // Rental of motor vehicle\n | '029' // EV charging facilities (Installation, rental, sale / purchase or subscription fees)\n | '030' // Repair and maintenance\n | '031' // Research and development\n | '032' // Foreign income\n | '033' // Self-billed - Betting and gaming\n | '034' // Self-billed - Importation of goods\n | '035' // Self-billed - Importation of services\n | '036' // Self-billed - Others\n | '037' // Self-billed - Monetary payment to agents, dealers or distributors\n | '038' // Sports equipment, rental / entry fees for sports facilities, registration in sports competition or sports training fees imposed by associations / sports clubs / companies registered with the Sports Commissioner or Companies Commission of Malaysia and carrying out sports activities as listed under the Sports Development Act 1997\n | '039' // Supporting equipment for disabled person\n | '040' // Voluntary contribution to approved provident fund\n | '041' // Dental examination or treatment\n | '042' // Fertility treatment\n | '043' // Treatment and home care nursing, daycare centres and residential care centers\n | '044' // Vouchers, gift cards, loyalty points, etc\n | '045' // Self-billed - Non-monetary payment to agents, dealers or distributors\n\n/**\n * Enum representing the allowed classification codes with descriptive names.\n * Provides a more readable way to reference classification codes.\n *\n * @example\n * const code = ClassificationCodeEnum.ComputerSmartphoneOrTablet;\n * console.log(code); // Output: \"003\"\n */\nexport enum ClassificationCodeEnum {\n BreastfeedingEquipment = '001',\n ChildCareCentresAndKindergartensFees = '002',\n ComputerSmartphoneOrTablet = '003',\n ConsolidatedEInvoice = '004',\n ConstructionMaterials = '005',\n Disbursement = '006',\n Donation = '007',\n ECommerceEInvoiceToBuyer = '008',\n ECommerceSelfBilledToSellerLogistics = '009',\n EducationFees = '010',\n GoodsOnConsignmentConsignor = '011',\n GoodsOnConsignmentConsignee = '012',\n GymMembership = '013',\n InsuranceEducationMedicalBenefits = '014',\n InsuranceTakafulLife = '015',\n InterestFinancingExpenses = '016',\n InternetSubscription = '017',\n LandAndBuilding = '018',\n MedicalExamLearningDisabilities = '019',\n MedicalExamVaccination = '020',\n MedicalExpensesSeriousDiseases = '021',\n Others = '022',\n PetroleumOperations = '023',\n PrivateRetirementSchemeDeferredAnnuity = '024',\n MotorVehicle = '025',\n SubscriptionBooksJournalsEtc = '026',\n Reimbursement = '027',\n RentalOfMotorVehicle = '028',\n EVChargingFacilities = '029',\n RepairAndMaintenance = '030',\n ResearchAndDevelopment = '031',\n ForeignIncome = '032',\n SelfBilledBettingGaming = '033',\n SelfBilledImportationGoods = '034',\n SelfBilledImportationServices = '035',\n SelfBilledOthers = '036',\n SelfBilledMonetaryPaymentToAgents = '037',\n SportsEquipmentRentalFeesEtc = '038',\n SupportingEquipmentDisabledPerson = '039',\n VoluntaryContributionProvidentFund = '040',\n DentalExamTreatment = '041',\n FertilityTreatment = '042',\n TreatmentHomeCareNursingEtc = '043',\n VouchersGiftCardsLoyaltyPoints = '044',\n SelfBilledNonMonetaryPaymentToAgents = '045',\n}\n\n/**\n * Interface representing a classification code entry.\n * Contains the code and its corresponding description.\n */\nexport interface Classification {\n code: ClassificationCode\n description: string\n}\n"],"mappings":";;;;;;;;;;AA2DA,IAAY,4EAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACD"}
1
+ {"version":3,"file":"index2.cjs","names":[],"sources":["../src/types/classification-codes.d.ts"],"sourcesContent":["/**\n * Represents the allowed classification codes for e-Invoice items.\n * Based on the documentation: https://sdk.myinvois.hasil.gov.my/codes/classification-codes/\n */\nexport type ClassificationCode =\n | '001' // Breastfeeding equipment\n | '002' // Child care centres and kindergartens fees\n | '003' // Computer, smartphone or tablet\n | '004' // Consolidated e-Invoice\n | '005' // Construction materials (as specified under Fourth Schedule of the Lembaga Pembangunan Industri Pembinaan Malaysia Act 1994)\n | '006' // Disbursement\n | '007' // Donation\n | '008' // e-Commerce - e-Invoice to buyer / purchaser\n | '009' // e-Commerce - Self-billed e-Invoice to seller, logistics, etc.\n | '010' // Education fees\n | '011' // Goods on consignment (Consignor)\n | '012' // Goods on consignment (Consignee)\n | '013' // Gym membership\n | '014' // Insurance - Education and medical benefits\n | '015' // Insurance - Takaful or life insurance\n | '016' // Interest and financing expenses\n | '017' // Internet subscription\n | '018' // Land and building\n | '019' // Medical examination for learning disabilities and early intervention or rehabilitation treatments of learning disabilities\n | '020' // Medical examination or vaccination expenses\n | '021' // Medical expenses for serious diseases\n | '022' // Others\n | '023' // Petroleum operations (as defined in Petroleum (Income Tax) Act 1967)\n | '024' // Private retirement scheme or deferred annuity scheme\n | '025' // Motor vehicle\n | '026' // Subscription of books / journals / magazines / newspapers / other similar publications\n | '027' // Reimbursement\n | '028' // Rental of motor vehicle\n | '029' // EV charging facilities (Installation, rental, sale / purchase or subscription fees)\n | '030' // Repair and maintenance\n | '031' // Research and development\n | '032' // Foreign income\n | '033' // Self-billed - Betting and gaming\n | '034' // Self-billed - Importation of goods\n | '035' // Self-billed - Importation of services\n | '036' // Self-billed - Others\n | '037' // Self-billed - Monetary payment to agents, dealers or distributors\n | '038' // Sports equipment, rental / entry fees for sports facilities, registration in sports competition or sports training fees imposed by associations / sports clubs / companies registered with the Sports Commissioner or Companies Commission of Malaysia and carrying out sports activities as listed under the Sports Development Act 1997\n | '039' // Supporting equipment for disabled person\n | '040' // Voluntary contribution to approved provident fund\n | '041' // Dental examination or treatment\n | '042' // Fertility treatment\n | '043' // Treatment and home care nursing, daycare centres and residential care centers\n | '044' // Vouchers, gift cards, loyalty points, etc\n | '045' // Self-billed - Non-monetary payment to agents, dealers or distributors\n\n/**\n * Enum representing the allowed classification codes with descriptive names.\n * Provides a more readable way to reference classification codes.\n *\n * @example\n * const code = ClassificationCodeEnum.ComputerSmartphoneOrTablet;\n * console.log(code); // Output: \"003\"\n */\nexport enum ClassificationCodeEnum {\n BreastfeedingEquipment = '001',\n ChildCareCentresAndKindergartensFees = '002',\n ComputerSmartphoneOrTablet = '003',\n ConsolidatedEInvoice = '004',\n ConstructionMaterials = '005',\n Disbursement = '006',\n Donation = '007',\n ECommerceEInvoiceToBuyer = '008',\n ECommerceSelfBilledToSellerLogistics = '009',\n EducationFees = '010',\n GoodsOnConsignmentConsignor = '011',\n GoodsOnConsignmentConsignee = '012',\n GymMembership = '013',\n InsuranceEducationMedicalBenefits = '014',\n InsuranceTakafulLife = '015',\n InterestFinancingExpenses = '016',\n InternetSubscription = '017',\n LandAndBuilding = '018',\n MedicalExamLearningDisabilities = '019',\n MedicalExamVaccination = '020',\n MedicalExpensesSeriousDiseases = '021',\n Others = '022',\n PetroleumOperations = '023',\n PrivateRetirementSchemeDeferredAnnuity = '024',\n MotorVehicle = '025',\n SubscriptionBooksJournalsEtc = '026',\n Reimbursement = '027',\n RentalOfMotorVehicle = '028',\n EVChargingFacilities = '029',\n RepairAndMaintenance = '030',\n ResearchAndDevelopment = '031',\n ForeignIncome = '032',\n SelfBilledBettingGaming = '033',\n SelfBilledImportationGoods = '034',\n SelfBilledImportationServices = '035',\n SelfBilledOthers = '036',\n SelfBilledMonetaryPaymentToAgents = '037',\n SportsEquipmentRentalFeesEtc = '038',\n SupportingEquipmentDisabledPerson = '039',\n VoluntaryContributionProvidentFund = '040',\n DentalExamTreatment = '041',\n FertilityTreatment = '042',\n TreatmentHomeCareNursingEtc = '043',\n VouchersGiftCardsLoyaltyPoints = '044',\n SelfBilledNonMonetaryPaymentToAgents = '045',\n}\n\n/**\n * Interface representing a classification code entry.\n * Contains the code and its corresponding description.\n */\nexport interface Classification {\n code: ClassificationCode\n description: string\n}\n"],"mappings":";;;;;;;;;;AA2DA,IAAY,4EAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACD"}
package/dist/index20.cjs CHANGED
@@ -0,0 +1,3 @@
1
+ const require_notificationManagement = require('./notificationManagement-DLBDn77E.cjs');
2
+
3
+ exports.getNotifications = require_notificationManagement.getNotifications;
package/dist/index21.cjs CHANGED
@@ -0,0 +1,3 @@
1
+ const require_platformLogin = require('./platformLogin-Ch6hFKoU.cjs');
2
+
3
+ exports.platformLogin = require_platformLogin.platformLogin;
package/dist/index22.cjs CHANGED
@@ -0,0 +1,6 @@
1
+ require('./formatIdValue-i67o4kyD.cjs');
2
+ const require_taxpayerValidation = require('./taxpayerValidation-D_jGaVty.cjs');
3
+
4
+ exports.taxpayerQRCode = require_taxpayerValidation.taxpayerQRCode;
5
+ exports.tinSearch = require_taxpayerValidation.tinSearch;
6
+ exports.verifyTin = require_taxpayerValidation.verifyTin;