@3e/sqa-common 6.17.0-21 → 6.17.0-22

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 (3) hide show
  1. package/index.d.ts +1228 -1
  2. package/package.json +1 -1
  3. package/sqa_common.js +1 -1
package/index.d.ts CHANGED
@@ -39,7 +39,1234 @@ import {
39
39
  * Type declarations for the @3e/sqa-common module
40
40
  */
41
41
  declare module '@3e/sqa-common' {
42
- export * from './types';
42
+ export type TimezoneValue =
43
+ | 'Asia/Aden'
44
+ | 'America/Cuiaba'
45
+ | 'Etc/GMT+9'
46
+ | 'Etc/GMT+8'
47
+ | 'Africa/Nairobi'
48
+ | 'America/Marigot'
49
+ | 'Asia/Aqtau'
50
+ | 'Pacific/Kwajalein'
51
+ | 'America/El_Salvador'
52
+ | 'Asia/Pontianak'
53
+ | 'Africa/Cairo'
54
+ | 'Pacific/Pago_Pago'
55
+ | 'Africa/Mbabane'
56
+ | 'Asia/Kuching'
57
+ | 'Pacific/Honolulu'
58
+ | 'Pacific/Rarotonga'
59
+ | 'America/Guatemala'
60
+ | 'Australia/Hobart'
61
+ | 'Europe/London'
62
+ | 'America/Belize'
63
+ | 'America/Panama'
64
+ | 'Asia/Chungking'
65
+ | 'America/Managua'
66
+ | 'America/Indiana/Petersburg'
67
+ | 'Asia/Yerevan'
68
+ | 'Europe/Brussels'
69
+ | 'GMT'
70
+ | 'Europe/Warsaw'
71
+ | 'America/Chicago'
72
+ | 'Asia/Kashgar'
73
+ | 'Chile/Continental'
74
+ | 'Pacific/Yap'
75
+ | 'CET'
76
+ | 'Etc/GMT-1'
77
+ | 'Etc/GMT-0'
78
+ | 'Europe/Jersey'
79
+ | 'America/Tegucigalpa'
80
+ | 'Etc/GMT-5'
81
+ | 'Europe/Istanbul'
82
+ | 'America/Eirunepe'
83
+ | 'Etc/GMT-4'
84
+ | 'America/Miquelon'
85
+ | 'Etc/GMT-3'
86
+ | 'Europe/Luxembourg'
87
+ | 'Etc/GMT-2'
88
+ | 'Etc/GMT-9'
89
+ | 'America/Argentina/Catamarca'
90
+ | 'Etc/GMT-8'
91
+ | 'Etc/GMT-7'
92
+ | 'Etc/GMT-6'
93
+ | 'Europe/Zaporozhye'
94
+ | 'Canada/Yukon'
95
+ | 'Canada/Atlantic'
96
+ | 'Atlantic/St_Helena'
97
+ | 'Australia/Tasmania'
98
+ | 'Libya'
99
+ | 'Europe/Guernsey'
100
+ | 'America/Grand_Turk'
101
+ | 'Asia/Samarkand'
102
+ | 'America/Argentina/Cordoba'
103
+ | 'Asia/Phnom_Penh'
104
+ | 'Africa/Kigali'
105
+ | 'Asia/Almaty'
106
+ | 'US/Alaska'
107
+ | 'Asia/Dubai'
108
+ | 'Europe/Isle_of_Man'
109
+ | 'America/Araguaina'
110
+ | 'Cuba'
111
+ | 'Asia/Novosibirsk'
112
+ | 'America/Argentina/Salta'
113
+ | 'Etc/GMT+3'
114
+ | 'Africa/Tunis'
115
+ | 'Etc/GMT+2'
116
+ | 'Etc/GMT+1'
117
+ | 'Pacific/Fakaofo'
118
+ | 'Africa/Tripoli'
119
+ | 'Etc/GMT+0'
120
+ | 'Israel'
121
+ | 'Africa/Banjul'
122
+ | 'Etc/GMT+7'
123
+ | 'Indian/Comoro'
124
+ | 'Etc/GMT+6'
125
+ | 'Etc/GMT+5'
126
+ | 'Etc/GMT+4'
127
+ | 'Pacific/Port_Moresby'
128
+ | 'US/Arizona'
129
+ | 'Antarctica/Syowa'
130
+ | 'Indian/Reunion'
131
+ | 'Pacific/Palau'
132
+ | 'Europe/Kaliningrad'
133
+ | 'America/Montevideo'
134
+ | 'Africa/Windhoek'
135
+ | 'Asia/Karachi'
136
+ | 'Africa/Mogadishu'
137
+ | 'Australia/Perth'
138
+ | 'Brazil/East'
139
+ | 'Etc/GMT'
140
+ | 'Asia/Chita'
141
+ | 'Pacific/Easter'
142
+ | 'Antarctica/Davis'
143
+ | 'Antarctica/McMurdo'
144
+ | 'Asia/Macao'
145
+ | 'America/Manaus'
146
+ | 'Africa/Freetown'
147
+ | 'Europe/Bucharest'
148
+ | 'Asia/Tomsk'
149
+ | 'America/Argentina/Mendoza'
150
+ | 'Asia/Macau'
151
+ | 'Europe/Malta'
152
+ | 'Mexico/BajaSur'
153
+ | 'Pacific/Tahiti'
154
+ | 'Africa/Asmera'
155
+ | 'Europe/Busingen'
156
+ | 'America/Argentina/Rio_Gallegos'
157
+ | 'Africa/Malabo'
158
+ | 'Europe/Skopje'
159
+ | 'America/Catamarca'
160
+ | 'America/Godthab'
161
+ | 'Europe/Sarajevo'
162
+ | 'Australia/ACT'
163
+ | 'GB-Eire'
164
+ | 'Africa/Lagos'
165
+ | 'America/Cordoba'
166
+ | 'Europe/Rome'
167
+ | 'Asia/Dacca'
168
+ | 'Indian/Mauritius'
169
+ | 'Pacific/Samoa'
170
+ | 'America/Regina'
171
+ | 'America/Fort_Wayne'
172
+ | 'America/Dawson_Creek'
173
+ | 'Africa/Algiers'
174
+ | 'Europe/Mariehamn'
175
+ | 'America/St_Johns'
176
+ | 'America/St_Thomas'
177
+ | 'Europe/Zurich'
178
+ | 'America/Anguilla'
179
+ | 'Asia/Dili'
180
+ | 'America/Denver'
181
+ | 'Africa/Bamako'
182
+ | 'Europe/Saratov'
183
+ | 'GB'
184
+ | 'Mexico/General'
185
+ | 'Pacific/Wallis'
186
+ | 'Europe/Gibraltar'
187
+ | 'Africa/Conakry'
188
+ | 'Africa/Lubumbashi'
189
+ | 'Asia/Istanbul'
190
+ | 'America/Havana'
191
+ | 'NZ-CHAT'
192
+ | 'Asia/Choibalsan'
193
+ | 'America/Porto_Acre'
194
+ | 'Asia/Omsk'
195
+ | 'Europe/Vaduz'
196
+ | 'US/Michigan'
197
+ | 'Asia/Dhaka'
198
+ | 'America/Barbados'
199
+ | 'Europe/Tiraspol'
200
+ | 'Atlantic/Cape_Verde'
201
+ | 'Asia/Yekaterinburg'
202
+ | 'America/Louisville'
203
+ | 'Pacific/Johnston'
204
+ | 'Pacific/Chatham'
205
+ | 'Europe/Ljubljana'
206
+ | 'America/Sao_Paulo'
207
+ | 'Asia/Jayapura'
208
+ | 'America/Curacao'
209
+ | 'Asia/Dushanbe'
210
+ | 'America/Guyana'
211
+ | 'America/Guayaquil'
212
+ | 'America/Martinique'
213
+ | 'Portugal'
214
+ | 'Europe/Berlin'
215
+ | 'Europe/Moscow'
216
+ | 'Europe/Chisinau'
217
+ | 'America/Puerto_Rico'
218
+ | 'America/Rankin_Inlet'
219
+ | 'Pacific/Ponape'
220
+ | 'Europe/Stockholm'
221
+ | 'Europe/Budapest'
222
+ | 'America/Argentina/Jujuy'
223
+ | 'Australia/Eucla'
224
+ | 'Asia/Shanghai'
225
+ | 'Universal'
226
+ | 'Europe/Zagreb'
227
+ | 'America/Port_of_Spain'
228
+ | 'Europe/Helsinki'
229
+ | 'Asia/Beirut'
230
+ | 'Asia/Tel_Aviv'
231
+ | 'Pacific/Bougainville'
232
+ | 'US/Central'
233
+ | 'Africa/Sao_Tome'
234
+ | 'Indian/Chagos'
235
+ | 'America/Cayenne'
236
+ | 'Asia/Yakutsk'
237
+ | 'Pacific/Galapagos'
238
+ | 'Australia/North'
239
+ | 'Europe/Paris'
240
+ | 'Africa/Ndjamena'
241
+ | 'Pacific/Fiji'
242
+ | 'America/Rainy_River'
243
+ | 'Indian/Maldives'
244
+ | 'Australia/Yancowinna'
245
+ | 'SystemV/AST4'
246
+ | 'Asia/Oral'
247
+ | 'America/Yellowknife'
248
+ | 'Pacific/Enderbury'
249
+ | 'America/Juneau'
250
+ | 'Australia/Victoria'
251
+ | 'America/Indiana/Vevay'
252
+ | 'Asia/Tashkent'
253
+ | 'Asia/Jakarta'
254
+ | 'Africa/Ceuta'
255
+ | 'Asia/Barnaul'
256
+ | 'America/Recife'
257
+ | 'America/Buenos_Aires'
258
+ | 'America/Noronha'
259
+ | 'America/Swift_Current'
260
+ | 'Australia/Adelaide'
261
+ | 'America/Metlakatla'
262
+ | 'Africa/Djibouti'
263
+ | 'America/Paramaribo'
264
+ | 'Asia/Qostanay'
265
+ | 'Europe/Simferopol'
266
+ | 'Europe/Sofia'
267
+ | 'Africa/Nouakchott'
268
+ | 'Europe/Prague'
269
+ | 'America/Indiana/Vincennes'
270
+ | 'Antarctica/Mawson'
271
+ | 'America/Kralendijk'
272
+ | 'Antarctica/Troll'
273
+ | 'Europe/Samara'
274
+ | 'Indian/Christmas'
275
+ | 'America/Antigua'
276
+ | 'Pacific/Gambier'
277
+ | 'America/Indianapolis'
278
+ | 'America/Inuvik'
279
+ | 'America/Iqaluit'
280
+ | 'Pacific/Funafuti'
281
+ | 'UTC'
282
+ | 'Antarctica/Macquarie'
283
+ | 'Canada/Pacific'
284
+ | 'America/Moncton'
285
+ | 'Africa/Gaborone'
286
+ | 'Pacific/Chuuk'
287
+ | 'Asia/Pyongyang'
288
+ | 'America/St_Vincent'
289
+ | 'Asia/Gaza'
290
+ | 'Etc/Universal'
291
+ | 'PST8PDT'
292
+ | 'Atlantic/Faeroe'
293
+ | 'Asia/Qyzylorda'
294
+ | 'Canada/Newfoundland'
295
+ | 'America/Kentucky/Louisville'
296
+ | 'America/Yakutat'
297
+ | 'Asia/Ho_Chi_Minh'
298
+ | 'Antarctica/Casey'
299
+ | 'Europe/Copenhagen'
300
+ | 'Africa/Asmara'
301
+ | 'Atlantic/Azores'
302
+ | 'Europe/Vienna'
303
+ | 'ROK'
304
+ | 'Pacific/Pitcairn'
305
+ | 'America/Mazatlan'
306
+ | 'Australia/Queensland'
307
+ | 'Pacific/Nauru'
308
+ | 'Europe/Tirane'
309
+ | 'Asia/Kolkata'
310
+ | 'SystemV/MST7'
311
+ | 'Australia/Canberra'
312
+ | 'MET'
313
+ | 'Australia/Broken_Hill'
314
+ | 'Europe/Riga'
315
+ | 'America/Dominica'
316
+ | 'Africa/Abidjan'
317
+ | 'America/Mendoza'
318
+ | 'America/Santarem'
319
+ | 'Kwajalein'
320
+ | 'America/Asuncion'
321
+ | 'Asia/Ulan_Bator'
322
+ | 'NZ'
323
+ | 'America/Boise'
324
+ | 'Australia/Currie'
325
+ | 'EST5EDT'
326
+ | 'Pacific/Guam'
327
+ | 'Pacific/Wake'
328
+ | 'Atlantic/Bermuda'
329
+ | 'America/Costa_Rica'
330
+ | 'America/Dawson'
331
+ | 'Asia/Chongqing'
332
+ | 'Eire'
333
+ | 'Europe/Amsterdam'
334
+ | 'America/Indiana/Knox'
335
+ | 'America/North_Dakota/Beulah'
336
+ | 'Africa/Accra'
337
+ | 'Atlantic/Faroe'
338
+ | 'Mexico/BajaNorte'
339
+ | 'America/Maceio'
340
+ | 'Etc/UCT'
341
+ | 'Pacific/Apia'
342
+ | 'GMT0'
343
+ | 'America/Atka'
344
+ | 'Pacific/Niue'
345
+ | 'Australia/Lord_Howe'
346
+ | 'Europe/Dublin'
347
+ | 'Pacific/Truk'
348
+ | 'MST7MDT'
349
+ | 'America/Monterrey'
350
+ | 'America/Nassau'
351
+ | 'America/Jamaica'
352
+ | 'Asia/Bishkek'
353
+ | 'America/Atikokan'
354
+ | 'Atlantic/Stanley'
355
+ | 'Australia/NSW'
356
+ | 'US/Hawaii'
357
+ | 'SystemV/CST6'
358
+ | 'Indian/Mahe'
359
+ | 'Asia/Aqtobe'
360
+ | 'America/Sitka'
361
+ | 'Asia/Vladivostok'
362
+ | 'Africa/Libreville'
363
+ | 'Africa/Maputo'
364
+ | 'Zulu'
365
+ | 'America/Kentucky/Monticello'
366
+ | 'Africa/El_Aaiun'
367
+ | 'Africa/Ouagadougou'
368
+ | 'America/Coral_Harbour'
369
+ | 'Pacific/Marquesas'
370
+ | 'Brazil/West'
371
+ | 'America/Aruba'
372
+ | 'America/North_Dakota/Center'
373
+ | 'America/Cayman'
374
+ | 'Asia/Ulaanbaatar'
375
+ | 'Asia/Baghdad'
376
+ | 'Europe/San_Marino'
377
+ | 'America/Indiana/Tell_City'
378
+ | 'America/Tijuana'
379
+ | 'Pacific/Saipan'
380
+ | 'SystemV/YST9'
381
+ | 'Africa/Douala'
382
+ | 'America/Chihuahua'
383
+ | 'America/Ojinaga'
384
+ | 'Asia/Hovd'
385
+ | 'America/Anchorage'
386
+ | 'Chile/EasterIsland'
387
+ | 'America/Halifax'
388
+ | 'Antarctica/Rothera'
389
+ | 'America/Indiana/Indianapolis'
390
+ | 'US/Mountain'
391
+ | 'Asia/Damascus'
392
+ | 'America/Argentina/San_Luis'
393
+ | 'America/Santiago'
394
+ | 'Asia/Baku'
395
+ | 'America/Argentina/Ushuaia'
396
+ | 'Atlantic/Reykjavik'
397
+ | 'Africa/Brazzaville'
398
+ | 'Africa/Porto-Novo'
399
+ | 'America/La_Paz'
400
+ | 'Antarctica/DumontDUrville'
401
+ | 'Asia/Taipei'
402
+ | 'Antarctica/South_Pole'
403
+ | 'Asia/Manila'
404
+ | 'Asia/Bangkok'
405
+ | 'Africa/Dar_es_Salaam'
406
+ | 'Poland'
407
+ | 'Atlantic/Madeira'
408
+ | 'Antarctica/Palmer'
409
+ | 'America/Thunder_Bay'
410
+ | 'Africa/Addis_Ababa'
411
+ | 'Asia/Yangon'
412
+ | 'Europe/Uzhgorod'
413
+ | 'Brazil/DeNoronha'
414
+ | 'Asia/Ashkhabad'
415
+ | 'Etc/Zulu'
416
+ | 'America/Indiana/Marengo'
417
+ | 'America/Creston'
418
+ | 'America/Punta_Arenas'
419
+ | 'America/Mexico_City'
420
+ | 'Antarctica/Vostok'
421
+ | 'Asia/Jerusalem'
422
+ | 'Europe/Andorra'
423
+ | 'US/Samoa'
424
+ | 'PRC'
425
+ | 'Asia/Vientiane'
426
+ | 'Pacific/Kiritimati'
427
+ | 'America/Matamoros'
428
+ | 'America/Blanc-Sablon'
429
+ | 'Asia/Riyadh'
430
+ | 'Iceland'
431
+ | 'Pacific/Pohnpei'
432
+ | 'Asia/Ujung_Pandang'
433
+ | 'Atlantic/South_Georgia'
434
+ | 'Europe/Lisbon'
435
+ | 'Asia/Harbin'
436
+ | 'Europe/Oslo'
437
+ | 'Asia/Novokuznetsk'
438
+ | 'CST6CDT'
439
+ | 'Atlantic/Canary'
440
+ | 'America/Knox_IN'
441
+ | 'Asia/Kuwait'
442
+ | 'SystemV/HST10'
443
+ | 'Pacific/Efate'
444
+ | 'Africa/Lome'
445
+ | 'America/Bogota'
446
+ | 'America/Menominee'
447
+ | 'America/Adak'
448
+ | 'Pacific/Norfolk'
449
+ | 'Europe/Kirov'
450
+ | 'America/Resolute'
451
+ | 'Pacific/Tarawa'
452
+ | 'Africa/Kampala'
453
+ | 'Asia/Krasnoyarsk'
454
+ | 'Greenwich'
455
+ | 'SystemV/EST5'
456
+ | 'America/Edmonton'
457
+ | 'Europe/Podgorica'
458
+ | 'Australia/South'
459
+ | 'Canada/Central'
460
+ | 'Africa/Bujumbura'
461
+ | 'America/Santo_Domingo'
462
+ | 'US/Eastern'
463
+ | 'Europe/Minsk'
464
+ | 'Pacific/Auckland'
465
+ | 'Africa/Casablanca'
466
+ | 'America/Glace_Bay'
467
+ | 'Canada/Eastern'
468
+ | 'Asia/Qatar'
469
+ | 'Europe/Kiev'
470
+ | 'Singapore'
471
+ | 'Asia/Magadan'
472
+ | 'SystemV/PST8'
473
+ | 'America/Port-au-Prince'
474
+ | 'Europe/Belfast'
475
+ | 'America/St_Barthelemy'
476
+ | 'Asia/Ashgabat'
477
+ | 'Africa/Luanda'
478
+ | 'America/Nipigon'
479
+ | 'Atlantic/Jan_Mayen'
480
+ | 'Brazil/Acre'
481
+ | 'Asia/Muscat'
482
+ | 'Asia/Bahrain'
483
+ | 'Europe/Vilnius'
484
+ | 'America/Fortaleza'
485
+ | 'Etc/GMT0'
486
+ | 'US/East-Indiana'
487
+ | 'America/Hermosillo'
488
+ | 'America/Cancun'
489
+ | 'Africa/Maseru'
490
+ | 'Pacific/Kosrae'
491
+ | 'Africa/Kinshasa'
492
+ | 'Asia/Kathmandu'
493
+ | 'Asia/Seoul'
494
+ | 'Australia/Sydney'
495
+ | 'America/Lima'
496
+ | 'Australia/LHI'
497
+ | 'America/St_Lucia'
498
+ | 'Europe/Madrid'
499
+ | 'America/Bahia_Banderas'
500
+ | 'America/Montserrat'
501
+ | 'Asia/Brunei'
502
+ | 'America/Santa_Isabel'
503
+ | 'Canada/Mountain'
504
+ | 'America/Cambridge_Bay'
505
+ | 'Asia/Colombo'
506
+ | 'Australia/West'
507
+ | 'Indian/Antananarivo'
508
+ | 'Australia/Brisbane'
509
+ | 'Indian/Mayotte'
510
+ | 'US/Indiana-Starke'
511
+ | 'Asia/Urumqi'
512
+ | 'US/Aleutian'
513
+ | 'Europe/Volgograd'
514
+ | 'America/Lower_Princes'
515
+ | 'America/Vancouver'
516
+ | 'Africa/Blantyre'
517
+ | 'America/Rio_Branco'
518
+ | 'America/Danmarkshavn'
519
+ | 'America/Detroit'
520
+ | 'America/Thule'
521
+ | 'Africa/Lusaka'
522
+ | 'Asia/Hong_Kong'
523
+ | 'Iran'
524
+ | 'America/Argentina/La_Rioja'
525
+ | 'Africa/Dakar'
526
+ | 'SystemV/CST6CDT'
527
+ | 'America/Tortola'
528
+ | 'America/Porto_Velho'
529
+ | 'Asia/Sakhalin'
530
+ | 'Etc/GMT+10'
531
+ | 'America/Scoresbysund'
532
+ | 'Asia/Kamchatka'
533
+ | 'Asia/Thimbu'
534
+ | 'Africa/Harare'
535
+ | 'Etc/GMT+12'
536
+ | 'Etc/GMT+11'
537
+ | 'Navajo'
538
+ | 'America/Nome'
539
+ | 'Europe/Tallinn'
540
+ | 'Turkey'
541
+ | 'Africa/Khartoum'
542
+ | 'Africa/Johannesburg'
543
+ | 'Africa/Bangui'
544
+ | 'Europe/Belgrade'
545
+ | 'Jamaica'
546
+ | 'Africa/Bissau'
547
+ | 'Asia/Tehran'
548
+ | 'WET'
549
+ | 'Europe/Astrakhan'
550
+ | 'Africa/Juba'
551
+ | 'America/Campo_Grande'
552
+ | 'America/Belem'
553
+ | 'Etc/Greenwich'
554
+ | 'Asia/Saigon'
555
+ | 'America/Ensenada'
556
+ | 'Pacific/Midway'
557
+ | 'America/Jujuy'
558
+ | 'Africa/Timbuktu'
559
+ | 'America/Bahia'
560
+ | 'America/Goose_Bay'
561
+ | 'America/Virgin'
562
+ | 'America/Pangnirtung'
563
+ | 'Asia/Katmandu'
564
+ | 'America/Phoenix'
565
+ | 'Africa/Niamey'
566
+ | 'America/Whitehorse'
567
+ | 'Pacific/Noumea'
568
+ | 'Asia/Tbilisi'
569
+ | 'America/Montreal'
570
+ | 'Asia/Makassar'
571
+ | 'America/Argentina/San_Juan'
572
+ | 'Hongkong'
573
+ | 'UCT'
574
+ | 'Asia/Nicosia'
575
+ | 'America/Indiana/Winamac'
576
+ | 'SystemV/MST7MDT'
577
+ | 'America/Argentina/ComodRivadavia'
578
+ | 'America/Boa_Vista'
579
+ | 'America/Grenada'
580
+ | 'Asia/Atyrau'
581
+ | 'Australia/Darwin'
582
+ | 'Asia/Khandyga'
583
+ | 'Asia/Kuala_Lumpur'
584
+ | 'Asia/Famagusta'
585
+ | 'Asia/Thimphu'
586
+ | 'Asia/Rangoon'
587
+ | 'Europe/Bratislava'
588
+ | 'Asia/Calcutta'
589
+ | 'America/Argentina/Tucuman'
590
+ | 'Asia/Kabul'
591
+ | 'Indian/Cocos'
592
+ | 'Japan'
593
+ | 'Pacific/Tongatapu'
594
+ | 'America/New_York'
595
+ | 'Etc/GMT-12'
596
+ | 'Etc/GMT-11'
597
+ | 'America/Nuuk'
598
+ | 'Etc/GMT-10'
599
+ | 'SystemV/YST9YDT'
600
+ | 'Europe/Ulyanovsk'
601
+ | 'Etc/GMT-14'
602
+ | 'Etc/GMT-13'
603
+ | 'W-SU'
604
+ | 'America/Merida'
605
+ | 'EET'
606
+ | 'America/Rosario'
607
+ | 'Canada/Saskatchewan'
608
+ | 'America/St_Kitts'
609
+ | 'Arctic/Longyearbyen'
610
+ | 'America/Fort_Nelson'
611
+ | 'America/Caracas'
612
+ | 'America/Guadeloupe'
613
+ | 'Asia/Hebron'
614
+ | 'Indian/Kerguelen'
615
+ | 'SystemV/PST8PDT'
616
+ | 'Africa/Monrovia'
617
+ | 'Asia/Ust-Nera'
618
+ | 'Egypt'
619
+ | 'Asia/Srednekolymsk'
620
+ | 'America/North_Dakota/New_Salem'
621
+ | 'Asia/Anadyr'
622
+ | 'Australia/Melbourne'
623
+ | 'Asia/Irkutsk'
624
+ | 'America/Shiprock'
625
+ | 'America/Winnipeg'
626
+ | 'Europe/Vatican'
627
+ | 'Asia/Amman'
628
+ | 'Etc/UTC'
629
+ | 'SystemV/AST4ADT'
630
+ | 'Asia/Tokyo'
631
+ | 'America/Toronto'
632
+ | 'Asia/Singapore'
633
+ | 'Australia/Lindeman'
634
+ | 'America/Los_Angeles'
635
+ | 'SystemV/EST5EDT'
636
+ | 'Pacific/Majuro'
637
+ | 'America/Argentina/Buenos_Aires'
638
+ | 'Europe/Nicosia'
639
+ | 'Pacific/Guadalcanal'
640
+ | 'Europe/Athens'
641
+ | 'US/Pacific'
642
+ | 'Europe/Monaco'
643
+
644
+ export type ErrorStatus = 400 | 401 | 403 | 409 | 500 | 503 | 501
645
+ export type OKStatus = 200 | 201 | 202 | 205
646
+
647
+ export interface Artifact {
648
+ type: string
649
+ version: string
650
+ }
651
+
652
+ export interface EmptySection {
653
+ id: string
654
+ body: []
655
+ class: 'Section'
656
+ }
657
+
658
+ export interface Timezone {
659
+ value: TimezoneValue
660
+ label: string
661
+ }
662
+
663
+ export type TimezoneMode = 'user' | 'plant'
664
+
665
+ export interface ConfigSection {
666
+ id: 'config'
667
+ view: {
668
+ id: 'view'
669
+ label: string
670
+ view_type: ViewType
671
+ parameters: {_ref: ['parameters']; class: 'Section'; _schema: '_ref'}
672
+ description: string
673
+ color_scheme: string
674
+ data_set_sets: {
675
+ _ref: ['data_set_sets']
676
+ class: 'Section'
677
+ _schema: '_ref'
678
+ }
679
+ }
680
+ class: 'SQView'
681
+ }
682
+
683
+ export interface BasicParametersSection {
684
+ id: 'parameters'
685
+ body: [
686
+ {
687
+ id: 'Period'
688
+ class: 'Parameter'
689
+ parameter: {class: 'Period'; label: 'Period'; initial: Period}
690
+ },
691
+ {
692
+ id: 'Granularity'
693
+ class: 'Parameter'
694
+ parameter: {
695
+ class: 'Granularity'
696
+ label: 'Granularity'
697
+ initial: Granularity
698
+ }
699
+ },
700
+ ]
701
+ class: 'Section'
702
+ }
703
+
704
+ export type Section = BasicParametersSection | ConfigSection | EmptySection
705
+
706
+ export interface SQView {
707
+ version: string
708
+ artifact: Artifact
709
+ body: Section[]
710
+ }
711
+
712
+ export type Parameters = {
713
+ class: string
714
+ id: string
715
+ }
716
+
717
+ export type ViewData = SQView & {
718
+ artifact: {
719
+ type: string
720
+ version: string
721
+ }
722
+ body: {
723
+ body: Parameters[]
724
+ class: string
725
+ id: string
726
+ }[]
727
+ version: string
728
+ }
729
+
730
+ export type ParameterOption = {
731
+ options: {value: string; label: string}[]
732
+ id: string
733
+ label: string
734
+ ldType: string
735
+ container?: string
736
+ value: string
737
+ }
738
+
739
+ export interface ApiConfig extends RequestInit {
740
+ token?: string
741
+ body?: any
742
+ }
743
+
744
+ export type ApiFn = (
745
+ endpoint: string,
746
+ config?: ApiConfig,
747
+ ) => Promise<
748
+ {status: ErrorStatus} | {body: Record<string, any>; status: OKStatus}
749
+ >
750
+
751
+ export type TokenThunk = () => Promise<
752
+ {status: OKStatus; body: {token: string}} | {status: ErrorStatus}
753
+ >
754
+
755
+ export interface InitialisationConfig {
756
+ apiFn: ApiFn
757
+ }
758
+
759
+ export type PeriodTimeMode = 'absolute' | 'local'
760
+
761
+ export type ViewType =
762
+ | 'time-chart'
763
+ | 'object-chart'
764
+ | 'object-heatmap'
765
+ | 'scatter-chart'
766
+ | 'object-table'
767
+ | 'time-table'
768
+ | 'kpis'
769
+
770
+ export type Granularity =
771
+ | '1-days'
772
+ | '1-hours'
773
+ | '1-minutes'
774
+ | '1-months'
775
+ | '1-weeks'
776
+ | '1-years'
777
+ | '10-minutes'
778
+ | '15-minutes'
779
+ | '3-months'
780
+ | '30-minutes'
781
+ | '5-minutes'
782
+ | 'change'
783
+ | 'normalized'
784
+ | 'raw'
785
+ | 'scaled'
786
+ | 'statelog'
787
+
788
+ export type Period =
789
+ | 'last-15-minutes'
790
+ | 'last-30-minutes'
791
+ | 'last-60-minutes'
792
+ | 'last-120-minutes'
793
+ | 'last-24-hours'
794
+ | 'today'
795
+ | 'yesterday'
796
+ | 'tomorrow'
797
+ | 'last-3-days'
798
+ | 'last-7-days'
799
+ | 'last-7x24-hours'
800
+ | 'last-3x24-hours'
801
+ | 'forecast-4-days'
802
+ | 'forecast-10-days'
803
+ | 'last-week'
804
+ | 'current-month'
805
+ | 'last-month'
806
+ | 'last-30-days'
807
+ | 'year-to-date'
808
+ | 'last-12-months'
809
+ | 'last-year'
810
+ | 'since-beginning'
811
+ | 'custom'
812
+
813
+ export type ShortLDTypeValue =
814
+ | 'ac-input'
815
+ | 'ac-node'
816
+ | 'ac-phase'
817
+ | 'account'
818
+ | 'battery'
819
+ | 'bearing'
820
+ | 'blade'
821
+ | 'connection'
822
+ | 'dc-input'
823
+ | 'dc-node'
824
+ | 'generator'
825
+ | 'inverter'
826
+ | 'inverter-device'
827
+ | 'logger'
828
+ | 'module-group'
829
+ | 'mppt'
830
+ | 'nacelle'
831
+ | 'portfolio'
832
+ | 'power-unit'
833
+ | 'rotor'
834
+ | 'sensor'
835
+ | 'site'
836
+ | 'site-group'
837
+ | 'spv'
838
+ | 'strings'
839
+ | 'tower'
840
+ | 'tracker'
841
+ | 'transmission'
842
+ | 'turbine'
843
+ | 'yaw'
844
+
845
+ export type LongLDTypeValue =
846
+ | 'sq/ld_type/ac_input'
847
+ | 'sq/ld_type/ac_node'
848
+ | 'sq/ld_type/ac_phase'
849
+ | 'sq/ld_type/account'
850
+ | 'sq/ld_type/battery'
851
+ | 'sq/ld_type/bearing'
852
+ | 'sq/ld_type/blade'
853
+ | 'sq/ld_type/connection'
854
+ | 'sq/ld_type/dc_input'
855
+ | 'sq/ld_type/dc_node'
856
+ | 'sq/ld_type/generator'
857
+ | 'sq/ld_type/inverter'
858
+ | 'sq/ld_type/inverter_device'
859
+ | 'sq/ld_type/logger'
860
+ | 'sq/ld_type/module_group'
861
+ | 'sq/ld_type/mppt'
862
+ | 'sq/ld_type/nacelle'
863
+ | 'sq/ld_type/portfolio'
864
+ | 'sq/ld_type/power_unit'
865
+ | 'sq/ld_type/rotor'
866
+ | 'sq/ld_type/sensor'
867
+ | 'sq/ld_type/site'
868
+ | 'sq/ld_type/site_group'
869
+ | 'sq/ld_type/spv'
870
+ | 'sq/ld_type/strings'
871
+ | 'sq/ld_type/tower'
872
+ | 'sq/ld_type/tracker'
873
+ | 'sq/ld_type/transmission'
874
+ | 'sq/ld_type/turbine'
875
+ | 'sq/ld_type/yaw'
876
+
877
+ export type LdTypeValue = ShortLDTypeValue | LongLDTypeValue
878
+
879
+ export type LevelValue =
880
+ | 'site-group'
881
+ | 'site'
882
+ | 'ac-node'
883
+ | 'ac-input'
884
+ | 'ac-phase'
885
+ | 'connection'
886
+ | 'dc-input'
887
+ | 'dc-node'
888
+ | 'inverter'
889
+ | 'inverter-device'
890
+ | 'logger'
891
+ | 'mppt'
892
+ | 'module-group'
893
+ | 'power-unit'
894
+ | 'sensor'
895
+ | 'strings'
896
+ | 'tracker'
897
+ | 'turbine'
898
+
899
+ export type DashboardLevel =
900
+ | 'site-group'
901
+ | 'site'
902
+ | 'ac-node'
903
+ | 'inverter'
904
+ | 'turbine'
905
+
906
+ export type RepresentationValue =
907
+ | 'line'
908
+ | 'line-and-marker'
909
+ | 'marker'
910
+ | 'spline'
911
+ | 'column'
912
+ | 'area'
913
+
914
+ export type StackingOptionValue = 'no' | 'normal' | 'percent'
915
+
916
+ export type StackingOption = {value: StackingOptionValue; label: string}
917
+
918
+ export type Representation = {
919
+ value: RepresentationValue
920
+ label: string
921
+ }
922
+
923
+ export type Level = {
924
+ value: LevelValue
925
+ label: string
926
+ models?: {label: string; value: string}[]
927
+ }
928
+
929
+ /**
930
+ * Logical device type
931
+ */
932
+ export type LDType = {
933
+ value: string
934
+ label: string
935
+ }
936
+
937
+ export type ContainerValue = string
938
+
939
+ /**
940
+ * Containers (Actually physical plants)
941
+ */
942
+ export type Container = {
943
+ value: string
944
+ label: string
945
+ }
946
+
947
+ export type Template = {
948
+ value: string
949
+ label: string
950
+ }
951
+
952
+ export interface EmptyViewOptions {
953
+ viewType: ViewType
954
+ label: string
955
+ /**
956
+ * @default "15-minutes"
957
+ */
958
+ granularity?: Granularity
959
+ /**
960
+ * @default "last-24-hours"
961
+ */
962
+ period?: Period
963
+ }
964
+
965
+ export interface VisualisationOptions {
966
+ showLegend: boolean
967
+ showTitle: boolean
968
+ }
969
+
970
+ /**
971
+ * ISO local datetime string (YYYY-MM-DDTHH:mm:ss.SSS).
972
+ */
973
+ export type ISODateString = string
974
+
975
+ export type ColorSchemeValue = 'scheme_blrd' | 'scheme_ylrdbl'
976
+
977
+ export type ColorSettings =
978
+ | {
979
+ label: string
980
+ value: string
981
+ type: 'palette'
982
+ colors: string[]
983
+ }
984
+ | {label: string; value: string; type: 'fixed'; color: string}
985
+
986
+ export type ColorScheme = {
987
+ value: ColorSchemeValue
988
+ label: string
989
+ type?: string
990
+ stops?: [number, string][]
991
+ }
992
+
993
+ export type MeasurementsRowExtraInfo = {
994
+ indicator?: {
995
+ label: string
996
+ indicator_label: string
997
+ reference_label: string
998
+ unit: string
999
+ unit_key: string
1000
+ description: string
1001
+ key: string
1002
+ default_graphical_representation: string
1003
+ level: LevelValue
1004
+ }
1005
+ object?: {
1006
+ name: string
1007
+ level: LevelValue
1008
+ ref: string
1009
+ }
1010
+ }
1011
+
1012
+ /**
1013
+ * Since in a table row the data is represented as: `[object-name, indicator1-value, indicator2-value, ...]`
1014
+ * while the indicators in the meta are: `[indicator1, indicator2, ...]`
1015
+ * In order to access the correct indicator in the meta, be sure to go for the `columnIndex - 1` indicator in the `indicators` array from the meta.
1016
+ *
1017
+ *
1018
+ * For objects, the correct object index is the index of the full row
1019
+ */
1020
+ export type ObjectsTableMetaRowInfo = {
1021
+ indicators: {
1022
+ label: string
1023
+ indicator_label: string
1024
+ reference_label: string
1025
+ unit?: string
1026
+ unit_key: string
1027
+ description: string
1028
+ key: string
1029
+ default_graphical_representation: string
1030
+ level: LevelValue
1031
+ }[]
1032
+ objects: {
1033
+ name: string
1034
+ level: LevelValue
1035
+ ref: string
1036
+ label: string
1037
+ }
1038
+ }
1039
+
1040
+ export type TimeTableMetaRowInfo = {
1041
+ [key: string]: {
1042
+ indicator: Indicator
1043
+ object: Object
1044
+ }
1045
+ }
1046
+
1047
+ export type MeasurementsTable = {
1048
+ meta: {
1049
+ rows: MeasurementsRowExtraInfo[]
1050
+ primaryObject: string
1051
+ }
1052
+ header: string[]
1053
+ rows: (string | number | null)[][]
1054
+ }
1055
+
1056
+ export type HighChartsSpec = {
1057
+ display: 'highcharts'
1058
+ chart: {_SQ_: {type: ViewType}; zoomType: string; animation: boolean}
1059
+ } & Highcharts.Options
1060
+
1061
+ export type TableSpec = {
1062
+ display: 'table'
1063
+ meta?: {
1064
+ type: 'time_table'
1065
+ rows: TimeTableMetaRowInfo
1066
+ } | {
1067
+ type: 'object_table'
1068
+ rows: ObjectsTableMetaRowInfo
1069
+ }
1070
+ title?: string
1071
+ header: string[]
1072
+ rows: (number | string)[][]
1073
+ }
1074
+
1075
+ export type MessageSpec = {
1076
+ display: 'message'
1077
+ label: string
1078
+ value: string
1079
+ }
1080
+ export type KPI = {
1081
+ kpi: string
1082
+ value: string | number
1083
+ }
1084
+
1085
+ export type KPISpec = {
1086
+ display: 'kpis'
1087
+ title: {text: string}
1088
+ object: Object
1089
+ kpis: KPI[]
1090
+ }
1091
+
1092
+ export type VisualizationSpec = TableSpec | MessageSpec | HighChartsSpec | KPISpec
1093
+
1094
+
1095
+ export interface Visualization {
1096
+ data: {
1097
+ datasets: Dataset[]
1098
+ date_from: ISODateString
1099
+ date_to: ISODateString
1100
+ period_time_mode: string
1101
+ clock_or_calendar_mode: string
1102
+ granularity: Granularity
1103
+ }
1104
+ error?: boolean
1105
+ options: VisualisationOptions
1106
+ info: {title: string; type: ViewType; color_scheme: ColorSchemeValue}
1107
+ values: {}
1108
+ disableIncrementalUpdates: boolean
1109
+ spec: VisualizationSpec
1110
+ }
1111
+
1112
+ export interface LdType {
1113
+ sqid: string
1114
+ ref: string
1115
+ label: string
1116
+ }
1117
+
1118
+ export interface LDRoot {
1119
+ sqid: string
1120
+ ref: string
1121
+ label: string
1122
+ }
1123
+
1124
+ export interface Model {
1125
+ sqid: string
1126
+ ref: string
1127
+ label: string
1128
+ }
1129
+
1130
+ export interface LogicalDevice {
1131
+ sqid: string
1132
+ ld_type: string
1133
+ ref: string
1134
+ root: LDRoot
1135
+ label: string
1136
+ full_name: string
1137
+ act_to: Date
1138
+ act_from: Date
1139
+ model: Model
1140
+ }
1141
+
1142
+ export interface Indicator {
1143
+ default_graphical_representation: RepresentationValue
1144
+ description: string
1145
+ key: string
1146
+ label: string
1147
+ level: LevelValue
1148
+ unit: string
1149
+ unit_key: string
1150
+ }
1151
+
1152
+ export interface LDIndicator {
1153
+ indicator_key: string
1154
+ object_ref: string
1155
+ unit: string
1156
+ unit_key: string
1157
+ }
1158
+
1159
+ /**
1160
+ * Options for representing the dataset
1161
+ */
1162
+ export interface DatasetOptions {
1163
+ graphicalRepresentation?: string
1164
+ id?: string
1165
+ colorSetting?: string
1166
+ stacking?: StackingOptionValue
1167
+ showNullsAs?: string
1168
+ label?: string
1169
+ }
1170
+
1171
+ export interface DatasetTemplateSpec {
1172
+ selectedLevel: string
1173
+ selectedContainer?: string
1174
+ selectedTemplate: string
1175
+ }
1176
+
1177
+ export interface Object {
1178
+ name: string
1179
+ level: LevelValue
1180
+ ref: string
1181
+ type: string
1182
+ statistics?: {
1183
+ median: number
1184
+ mean: number
1185
+ sum: number
1186
+ min: number
1187
+ max: number
1188
+ }
1189
+ }
1190
+
1191
+ export interface ObjectSet {
1192
+ template: string
1193
+ level: string
1194
+ objects: Object[]
1195
+ }
1196
+
1197
+ export interface UnitScale {
1198
+ min?: any
1199
+ max?: any
1200
+ }
1201
+
1202
+ export type Scaling = Record<string, UnitScale>
1203
+
1204
+ export interface Dataset {
1205
+ objects?: Object[]
1206
+ colorSetting?: ColorSettings
1207
+ indicators: Indicator[]
1208
+ objectSet: ObjectSet
1209
+ stacking: StackingOptionValue
1210
+ showNullsAs?: any
1211
+ representation: string
1212
+ label?: unknown
1213
+ id: string
1214
+ scaling: Scaling
1215
+ stack?: unknown
1216
+ error?: unknown
1217
+ idx: number
1218
+ objectSetLabel: string
1219
+ }
1220
+
1221
+ // TODO: Better types for PacoViewParameters
1222
+ type PacoViewParameters = unknown
1223
+
1224
+ type SaveDataJobStatus =
1225
+ | {
1226
+ status: 'terminated'
1227
+ respResult: {downloadUrl: string}
1228
+ completedTime: ISODateString
1229
+ respStatus: number
1230
+ }
1231
+ | {status: 'running'}
1232
+
1233
+ export type SaveDataJobResponse = SaveDataJobStatus & {
1234
+ actorSqid: string
1235
+ numRetries: number
1236
+ sqid: string
1237
+ maxRetries: number
1238
+
1239
+ /**
1240
+ * The arguments derived from the visualization given as argument
1241
+ * for the `createSaveDataJob` function
1242
+ */
1243
+ arguments: {
1244
+ toDate: ISODateString
1245
+ filename: string
1246
+ replyTz: string
1247
+ fromDate: string
1248
+ objectIndicatorSets: {object: string[]
1249
+ indicator: string[]}[]
1250
+ granularity: Granularity[] // must be a single value
1251
+ }
1252
+ /**
1253
+ * The place in the queue
1254
+ */
1255
+ priority: number
1256
+
1257
+ timeout: number
1258
+
1259
+ /**
1260
+ * currently can be just save_data
1261
+ */
1262
+ typeSqid: string
1263
+ }
1264
+
1265
+ type Parameter = {
1266
+ id: string
1267
+ class: 'Parameter'
1268
+ parameter: {class: string; label: string; initial: unknown; value: unknown}
1269
+ }
43
1270
 
44
1271
  /**
45
1272
  * Type definitions for all the API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3e/sqa-common",
3
- "version": "6.17.0-21",
3
+ "version": "6.17.0-22",
4
4
  "description": "SynaptiQ utilities package",
5
5
  "main": "sqa_common.js",
6
6
  "dependencies": {
package/sqa_common.js CHANGED
@@ -1214,7 +1214,7 @@ function DV(a,b){return function(c,d){function e(){return g(new Y(null,1,5,Z,[1]
1214
1214
  function EV(a,b){function c(){return lt.h(ak.g(d,function(e){e=X(e);var f=x.g(e,Pw),g=x.g(e,lt),h=x.g(e,$A);return vc(g)?vg.l(e,VE,!1,H([lt,$O.g(null,function(){return $O.g(f.m?f.m():f.call(null),function(k){return $O.g(null,function(){return $O.g(ak.l(d,vg,VE,!0,H([$A,function(){var l=Cy.h(dE.h(YT(k)));return u(l)?l:h}()])),function(){return lP(k)})})})})])):e}))}var d=Yj(new q(null,1,[Pw,b],null));return new q(null,2,[my,DV(function(e,f){return $O.g(null,function(){return $O.g(c(),function(g){return $O.g(null,
1215
1215
  function(){var h=lP;var k=Cy.h(dE.h(YT(g)));u(k)?(k=Pk(YT(f),Lx,"Authorization",["Bearer ",v.h(k)].join("")),k=fo.h?fo.h(k):fo.call(null,k),k=a.g?a.g(e,k):a.call(null,e,k)):k=g;return h(k)})})})},function(){return ak.g(d,function(e){e=X(e);var f=x.g(e,lt),g=x.g(e,VE),h=x.g(e,$A);if(!(f instanceof EP))throw Error("Assert failed: (p/promise? promise)");vc(g)||(vc(h)?e=zg.l(e,lt,H([VE])):(f=vg.l,h=new q(null,3,[Gt,tC,dE,new q(null,1,[Cy,h],null),Lx,new q(null,1,["Content-Type","application/json"],null)],
1216
1216
  null),h=fo.h?fo.h(h):fo.call(null,h),h=a.g?a.g("/token/refresh",h):a.call(null,"/token/refresh",h),e=f.call(vg,e,VE,!1,H([lt,h]))));return e})}),dq,function(){return Zj(d,new q(null,1,[Pw,b],null))}],null)}if("undefined"===typeof GO||"undefined"===typeof HO||"undefined"===typeof OT||"undefined"===typeof FV)var FV=null;
1217
- function GV(a,b){b=X(b);var c=x.j(b,Gt,"GET"),d=x.g(b,oB),e=x.g(b,dE);b=x.g(b,Lx);var f=Cm.l(H([b,new q(null,1,["X-SQA-Common-Version","6.17.0-21"],null)])),g=FP(),h=FV;u(h)?GP(function(){if(u(d)){var k=v.h(a);var l=v,m=l.h,p=fo(d),r=[],w;for(w in p)Ua(w,p[w],r);k=[k,"?",m.call(l,r.join("\x26"))].join("")}else k=a;l={method:c,headers:fo(f),body:fo(e)};return h.g?h.g(k,l):h.call(null,k,l)}(),function(k){return KP(g,ko(k,H([lo,!0])))}):nP(g,Io("Api fn not set",gj));return g}
1217
+ function GV(a,b){b=X(b);var c=x.j(b,Gt,"GET"),d=x.g(b,oB),e=x.g(b,dE);b=x.g(b,Lx);var f=Cm.l(H([b,new q(null,1,["X-SQA-Common-Version","6.17.0-22"],null)])),g=FP(),h=FV;u(h)?GP(function(){if(u(d)){var k=v.h(a);var l=v,m=l.h,p=fo(d),r=[],w;for(w in p)Ua(w,p[w],r);k=[k,"?",m.call(l,r.join("\x26"))].join("")}else k=a;l={method:c,headers:fo(f),body:fo(e)};return h.g?h.g(k,l):h.call(null,k,l)}(),function(k){return KP(g,ko(k,H([lo,!0])))}):nP(g,Io("Api fn not set",gj));return g}
1218
1218
  var HV=mo(GV),IV=function IV(a){switch(arguments.length){case 2:return IV.g(arguments[0],arguments[1]);case 3:return IV.j(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",v.h(arguments.length)].join(""));}};IV.g=function(a,b){return IV.j(a,b,null)};
1219
1219
  IV.j=function(a,b,c){function d(){return l(new Y(null,2,5,Z,[rg,h.g?h.g(a,g):h.call(null,a,g)],null))}c=X(c);var e=x.g(c,vE),f=x.g(c,ar),g=Lk(b,new Y(null,2,5,Z,[oB,qq],null),!0),h=function(){function m(p,r){return u(f)?EP.race(Qc(Gj.g(lP,new Y(null,2,5,Z,[f,GV(p,r)],null)))):GV(p,r)}return Ah.h?Ah.h(m):Ah.call(null,m)}(),k=FP(),l=function r(p){return HP(GP(JP(p),function(w){var A=R(w,0),C=R(w,1);return $O.g(null,function(){return lP(function(){var G=X(C),P=x.g(G,Yn);G=x.g(G,dE);if(z.g(P,200)){var V=
1220
1220
  X(G);G=x.g(V,pF);P=x.g(V,eG);var T=x.g(V,uz);V=x.g(V,ay);V=Jk(V,new Y(null,2,5,Z,[Xs,jz],null));if(u(G))return null;u(e)&&(e.h?e.h(P):e.call(null,P));u(T)?(G=Z,P=Ek.g(A,P),T=Lk(g,new Y(null,2,5,Z,[oB,jz],null),V),T=h.g?h.g(a,T):h.call(null,a,T),P=new q(null,2,[$v,TA,To,new Y(null,2,5,G,[P,T],null)],null)):P=Ek.g(A,P);return P}if(z.g(P,404))return A;throw Io(["Non 200 status code returned in paged api call for ",v.h(a)].join(""),g);}())})}),function(w,A){return null!=A?nP(k,A):Mg(w)&&z.g($v.h(w),TA)?