tesla-inventory 1.8.8 → 1.8.12

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/codes.json CHANGED
@@ -38,11 +38,11 @@
38
38
  "AU3P": "Sound Studio Package",
39
39
  "AUF1": "Premium Speakers Enabled",
40
40
  "AUF2": "Premium Speakers Disabled",
41
- "BC00": "",
41
+ "BC00": "MS Q4 Plaid",
42
42
  "BC0B": "Black Brake Calipers",
43
43
  "BC0R": "Red Brake Calipers",
44
44
  "BC3B": "Black Brake Calipers",
45
- "BC3R": "Performance Brakes",
45
+ "BC3R": "Black Brake Calipers, Red brake calipers",
46
46
  "BCMB": "Black Brake Calipers, Mando Brakes",
47
47
  "BCYR": "Performance Brakes",
48
48
  "BG30": "No Badge",
@@ -95,6 +95,7 @@
95
95
  "CH09": "Tesla Standard Charging System (Model S 2020 EU)",
96
96
  "CH11": "Single phase 48 Amperage Combo 1",
97
97
  "CH12": "48 Amperage Combo 1 Gen 3.5 Charger",
98
+ "CH14": "32 Amp Charger Hardware (RENA) with Busbar",
98
99
  "CH15": "48 Amp Charger Hardware (REEU/REAP) with Busbar",
99
100
  "CH16": "48 Amp Charger Hardware (RENA) with Busbar",
100
101
  "CH17": "48 Amp 1PH&3PH,P2",
@@ -121,6 +122,7 @@
121
122
  "CONO": "Country: Norway",
122
123
  "COPT": "Country: Portugal",
123
124
  "COSE": "Country: Sweden",
125
+ "COSG": "Country: Singapore",
124
126
  "COUS": "Country: United States",
125
127
  "CP00": "MX 2021",
126
128
  "CPF0": "Standard Connectivity",
@@ -199,12 +201,14 @@
199
201
  "ICC00": "Carbon Fiber Décor & Cream Interior",
200
202
  "ICW00": "Wood Décor & Cream Interior",
201
203
  "ID00": "Model S/X (Since Q2 2021)",
204
+ "ID02": "All Black Premium Interior with Carbon Fiber Décor?",
202
205
  "ID03": "Model S/X (Since Q2 2021)",
203
206
  "ID3A": "Interior White Aluminum",
204
207
  "ID3W": "Interior Wood Decor",
205
208
  "IDBA": "Dark Ash Wood Decor",
206
209
  "IDBO": "Figured Ash Wood Decor Burl Open Pore décor",
207
210
  "IDCF": "Carbon Fiber Decor",
211
+ "IDHG": "IP Décor Horizontal Gloss",
208
212
  "IDHM": "Matte Obeche Wood Decor",
209
213
  "IDLW": "Lacewood Decor",
210
214
  "IDOG": "Gloss Obeche Wood Decor",
@@ -271,6 +275,7 @@
271
275
  "LTSB": "Lower Trim Standard Black",
272
276
  "LVB0": "Model 3/Y Standard+",
273
277
  "LVB1": "Model 3/Y with Premium Interior",
278
+ "M301": "Generation 1 of 2022",
274
279
  "MDL3": "Model 3",
275
280
  "MDLS": "Model S",
276
281
  "MDLX": "Model X",
@@ -441,6 +446,7 @@
441
446
  "S01B": "Black Textile Seats",
442
447
  "S02B": "Seat",
443
448
  "S02P": "S02P",
449
+ "S02T": "Seat",
444
450
  "S02W": "White Seats",
445
451
  "S07W": "White Seats",
446
452
  "S31B": "S31B",
@@ -485,6 +491,7 @@
485
491
  "SU3C": "Coil Spring Suspension",
486
492
  "SWF0": "Model 3/Y",
487
493
  "SWF1": "Model 3/Y",
494
+ "T3CA": "Tires M3",
488
495
  "T3HS": "Tires M3",
489
496
  "T3MA": "Tires M3",
490
497
  "T3MC": "Tires M3",
@@ -510,10 +517,12 @@
510
517
  "TR01": "Third Row Seating",
511
518
  "TRA1": "Third Row HVAC",
512
519
  "TS10": "Model S/X 2021",
520
+ "TS91": "Model S/X 2021",
513
521
  "TSHP": "Heat Pump Thermal Assembly",
514
522
  "TW00": "No Tow Package",
515
523
  "TW01": "Tow Package",
516
524
  "TX20": "Model X 2021",
525
+ "TY0A": "20\" All Season Square",
517
526
  "TY9A": "Tires MY",
518
527
  "UM01": "Universal Mobile Charger - US Port (Single)",
519
528
  "USSB": "Safety",
@@ -525,13 +534,15 @@
525
534
  "UTPB": "Dark Headliner",
526
535
  "UTSB": "Black Ultra-suede Headliner",
527
536
  "UTZW": "Light Headliner",
528
- "VC00": "Model Y (China?)",
537
+ "VC00": "Vehicle computer Intel?",
538
+ "VC01": "AMD Ryzen?",
529
539
  "W32D": "20\" Gray Performance Wheels",
530
540
  "W32P": "20\" Performance Wheels",
531
541
  "W33D": "20\" Black Performance Wheels 2021",
532
542
  "W38B": "18\" Aero Wheels",
533
543
  "W39B": "19\" Sport Wheels",
534
544
  "W40B": "18\" Wheels",
545
+ "W41B": "19\" Wheels",
535
546
  "WR00": "No Wrap",
536
547
  "WR01": "Wrap",
537
548
  "WR02": "Wrap 2 (Tilburg bound)",
@@ -577,6 +588,7 @@
577
588
  "WXW6": "No 19\" Nokian Winter Tires (studded)",
578
589
  "WXW7": "No 19\" Nokian Winter Tires (non-studded)",
579
590
  "WXW8": "No 19\" Pirelli Winter Tires",
591
+ "WY0S": "20\" Induction",
580
592
  "WY18B": "18\" Aero Wheels",
581
593
  "WY19B": "19\" Sport Wheels",
582
594
  "WY20P": "20\" Performance Wheels",
@@ -612,5 +624,6 @@
612
624
  "YF00": "No Yacht Floor",
613
625
  "YF01": "Matching Yacht Floor",
614
626
  "YFCC": "Yatcht Floor Front Console, Décor Matched",
615
- "YFFC": "Integrated Center Console"
627
+ "YFFC": "Integrated Center Console",
628
+ "ZINV": "Inventory vehicle?"
616
629
  }
package/index.js CHANGED
@@ -22,6 +22,7 @@ module.exports = async (inventory, opts, { headers, ...gotOpts } = {}) => {
22
22
  responseType: 'json',
23
23
  searchParams: {
24
24
  query: JSON.stringify({
25
+ count: 0,
25
26
  query: {
26
27
  ...inventoryProps,
27
28
  ...opts
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "tesla-inventory",
3
3
  "description": "Retrieve real-time data from Tesla Inventory.",
4
4
  "homepage": "https://nicedoc.io/Kikobeats/tesla-inventory",
5
- "version": "1.8.8",
5
+ "version": "1.8.12",
6
6
  "main": "index.js",
7
7
  "author": {
8
8
  "email": "josefrancisco.verdu@gmail.com",
@@ -16,6 +16,7 @@
16
16
  "INBC3W": 1500,
17
17
  "INBCW": 1500,
18
18
  "INBFW": 1500,
19
+ "INBP3W": 1500,
19
20
  "INBPC": 1500,
20
21
  "INBTW": 1500,
21
22
  "INLFC": 1500,