bnstooltips 1.12.0 → 1.13.0

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 (39) hide show
  1. package/build/ItemImproveSelectStageTooltip/ItemImproveSelectStageTooltip.types.d.ts +1 -1
  2. package/build/ItemImproveSelectStageTooltipWrapper/ItemImproveSelectStageTooltipWrapper.types.d.ts +1 -1
  3. package/build/ItemImproveTooltip/ItemImproveTooltip.types.d.ts +1 -1
  4. package/build/ItemImproveTooltip/SubComponents/ItemImproveUpgradeCost.d.ts +1 -1
  5. package/build/ItemImproveTooltip/SubComponents/ItemWithText.d.ts +1 -1
  6. package/build/ItemImproveTooltip/SubComponents/MainCostSelector.d.ts +1 -1
  7. package/build/ItemImproveTooltip/SubComponents/PrevCurNext.d.ts +1 -1
  8. package/build/ItemImproveTooltip/SubComponents/SubCosts.d.ts +1 -1
  9. package/build/ItemImproveTooltipWrapper/ItemImproveTooltipWrapper.types.d.ts +1 -1
  10. package/build/ItemTooltip/ItemTooltip.types.d.ts +1 -1
  11. package/build/ItemTooltip/SubComponents/AccountTransfer.d.ts +1 -1
  12. package/build/ItemTooltip/SubComponents/DecomposeResults.d.ts +1 -1
  13. package/build/ItemTooltip/SubComponents/EtchingStones.d.ts +1 -1
  14. package/build/ItemTooltip/SubComponents/GearScore.d.ts +2 -2
  15. package/build/ItemTooltip/SubComponents/ItemCooldowns.d.ts +2 -2
  16. package/build/ItemTooltip/SubComponents/ItemIconNameDiv.d.ts +1 -1
  17. package/build/ItemTooltip/SubComponents/ItemMainInfo.d.ts +2 -2
  18. package/build/ItemTooltip/SubComponents/ItemRandomStats.d.ts +2 -2
  19. package/build/ItemTooltip/SubComponents/ItemSkillDescriptions.d.ts +1 -1
  20. package/build/ItemTooltip/SubComponents/ItemSkillTitles.d.ts +1 -1
  21. package/build/ItemTooltip/SubComponents/ItemStats.d.ts +2 -2
  22. package/build/ItemTooltip/SubComponents/ItemSubInfo.d.ts +2 -2
  23. package/build/ItemTooltip/SubComponents/SealingResult.d.ts +1 -1
  24. package/build/ItemTooltip/SubComponents/SetBonus.d.ts +1 -1
  25. package/build/ItemTooltip/SubComponents/SetBonusItems.d.ts +2 -2
  26. package/build/ItemTooltip/SubComponents/SkillModifierGroup.d.ts +1 -1
  27. package/build/ItemTooltip/SubComponents/SkillModifiers.d.ts +1 -1
  28. package/build/ItemTooltip/SubComponents/TopText.d.ts +2 -2
  29. package/build/ItemTooltipWrapper/ItemTooltipWrapper.types.d.ts +1 -1
  30. package/build/NpcTooltip/SubComponents/StoreItemBuyPriceEntry.d.ts +1 -1
  31. package/build/Utilities/INpc.d.ts +1 -1
  32. package/build/Utilities/ItemDownloadClient.d.ts +9 -10
  33. package/build/index.es.js +2109 -980
  34. package/build/index.es.js.map +1 -1
  35. package/build/index.js +2109 -1000
  36. package/build/index.js.map +1 -1
  37. package/build/itemapiclient/BnsItemApiClientBase.d.ts +3 -0
  38. package/build/itemapiclient/ItemApiClient.d.ts +591 -0
  39. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ export declare class BnsItemApiClientBase {
2
+ transformOptions(options: RequestInit): Promise<RequestInit>;
3
+ }
@@ -0,0 +1,591 @@
1
+ import { BnsItemApiClientBase } from "./BnsItemApiClientBase";
2
+ export declare class BnsItemApiClient extends BnsItemApiClientBase {
3
+ private http;
4
+ private baseUrl;
5
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
6
+ constructor(baseUrl?: string, http?: {
7
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
8
+ });
9
+ /**
10
+ * @return Success
11
+ */
12
+ ping(): Promise<string>;
13
+ protected processPing(response: Response): Promise<string>;
14
+ /**
15
+ * @return Success
16
+ */
17
+ patches(region: string): Promise<PatchesListPatch[]>;
18
+ protected processPatches(response: Response): Promise<PatchesListPatch[]>;
19
+ /**
20
+ * @return Success
21
+ */
22
+ latestPatch(region: string): Promise<PatchesListPatch>;
23
+ protected processLatestPatch(response: Response): Promise<PatchesListPatch>;
24
+ /**
25
+ * @return Success
26
+ */
27
+ regions(): Promise<string[]>;
28
+ protected processRegions(response: Response): Promise<string[]>;
29
+ /**
30
+ * @param patch (optional)
31
+ * @return Success
32
+ */
33
+ yastItems(region: string, itemType: string, technicalJobName: string, patch: string | undefined): Promise<BnsItemDto[]>;
34
+ protected processYastItems(response: Response): Promise<BnsItemDto[]>;
35
+ /**
36
+ * @param itemId (optional)
37
+ * @param itemLevel (optional)
38
+ * @param region (optional)
39
+ * @param patch (optional)
40
+ * @return Success
41
+ */
42
+ allStagesForItem(itemId: number | undefined, itemLevel: number | undefined, region: string | undefined, patch: string | undefined): Promise<ItemWithStagesDto>;
43
+ protected processAllStagesForItem(response: Response): Promise<ItemWithStagesDto>;
44
+ /**
45
+ * @param itemId (optional)
46
+ * @param itemLevel (optional)
47
+ * @param region (optional)
48
+ * @param patch (optional)
49
+ * @return Success
50
+ * @deprecated
51
+ */
52
+ allUpgradesForItem(itemId: number | undefined, itemLevel: number | undefined, region: string | undefined, patch: string | undefined): Promise<BnsItemDto[]>;
53
+ protected processAllUpgradesForItem(response: Response): Promise<BnsItemDto[]>;
54
+ /**
55
+ * @param patch (optional)
56
+ * @return Success
57
+ */
58
+ addedOrModifiedItems(added: boolean, modified: boolean, region: string, patch: string | undefined): Promise<BnsItemDto[]>;
59
+ protected processAddedOrModifiedItems(response: Response): Promise<BnsItemDto[]>;
60
+ /**
61
+ * @param light (optional)
62
+ * @param patch (optional)
63
+ * @return Success
64
+ */
65
+ itemByString(idLevel: string, region: string, light: boolean | undefined, patch: string | undefined): Promise<BnsItemDto>;
66
+ protected processItemByString(response: Response): Promise<BnsItemDto>;
67
+ /**
68
+ * @param light (optional)
69
+ * @param patch (optional)
70
+ * @return Success
71
+ */
72
+ item(id: number, level: number, region: string, light: boolean | undefined, patch: string | undefined): Promise<BnsItemDto>;
73
+ protected processItem(response: Response): Promise<BnsItemDto>;
74
+ /**
75
+ * @param patch (optional)
76
+ * @return Success
77
+ */
78
+ itemsByName(name: string, region: string, patch: string | undefined): Promise<BnsItemDto[]>;
79
+ protected processItemsByName(response: Response): Promise<BnsItemDto[]>;
80
+ /**
81
+ * @param category (optional)
82
+ * @param technicalJobName (optional)
83
+ * @param gradesString (optional)
84
+ * @param minGs (optional)
85
+ * @param patch (optional)
86
+ * @param noDupes (optional)
87
+ * @return Success
88
+ */
89
+ itemsByCategory(region: string, category: string | undefined, technicalJobName: string | undefined, gradesString: string | undefined, minGs: string | undefined, patch: string | undefined, noDupes: boolean | undefined): Promise<BnsItemDto[]>;
90
+ protected processItemsByCategory(response: Response): Promise<BnsItemDto[]>;
91
+ /**
92
+ * @param offset (optional)
93
+ * @param patch (optional)
94
+ * @return Success
95
+ */
96
+ items(count: number, region: string, offset: number | undefined, patch: string | undefined): Promise<BnsItemDto[]>;
97
+ protected processItems(response: Response): Promise<BnsItemDto[]>;
98
+ /**
99
+ * @param light (optional)
100
+ * @param patch (optional)
101
+ * @return Success
102
+ */
103
+ itemsByIds(idsAndLevels: IdAndLevel[], region: string, light: boolean | undefined, patch: string | undefined): Promise<BnsItemDto[]>;
104
+ protected processItemsByIds(response: Response): Promise<BnsItemDto[]>;
105
+ }
106
+ export declare class BnsItemDto implements IBnsItemDto {
107
+ id?: number;
108
+ level?: number;
109
+ gearScore?: number;
110
+ itemScore?: number;
111
+ fusionScore?: number;
112
+ name?: string | undefined;
113
+ categories?: ItemCategoryDto[] | undefined;
114
+ icon?: ItemIconDto;
115
+ grade?: number;
116
+ classRequired?: RequiredClassDto[] | undefined;
117
+ stats?: ItemStatDto[] | undefined;
118
+ randomSubStatCount?: number;
119
+ randomStats?: ItemRandomStatDto[] | undefined;
120
+ mainInfo?: string | undefined;
121
+ subInfo?: string | undefined;
122
+ cooldownInMs?: number;
123
+ bgCooldownInMs?: number;
124
+ skillModifierGroups?: SkillModifierGroupDto[] | undefined;
125
+ itemImprove?: ItemImproveDto;
126
+ skills?: ItemSkillDto[] | undefined;
127
+ topText?: string | undefined;
128
+ setBonus?: ItemSetBonusDto;
129
+ descriptions?: ItemDescriptionDto[] | undefined;
130
+ decomposeRewards?: DecomposeRewardDto[] | undefined;
131
+ flavorText?: string | undefined;
132
+ usableGroup?: string | undefined;
133
+ levelRequired?: number;
134
+ boundToAccount?: boolean;
135
+ unableToTrade?: boolean;
136
+ sealing?: ItemSealingDto;
137
+ accountTransfer?: ItemAccountTransferDto;
138
+ upgradeInfo?: ItemUpgradeInfoDto;
139
+ itemTransforms?: ItemTransformDto[] | undefined;
140
+ setPoints?: number;
141
+ refinementPoints?: number;
142
+ slateStones?: SlateStoneDto[] | undefined;
143
+ constructor(data?: IBnsItemDto);
144
+ init(_data?: any): void;
145
+ static fromJS(data: any): BnsItemDto;
146
+ toJSON(data?: any): any;
147
+ }
148
+ export interface IBnsItemDto {
149
+ id?: number;
150
+ level?: number;
151
+ gearScore?: number;
152
+ itemScore?: number;
153
+ fusionScore?: number;
154
+ name?: string | undefined;
155
+ categories?: ItemCategoryDto[] | undefined;
156
+ icon?: ItemIconDto;
157
+ grade?: number;
158
+ classRequired?: RequiredClassDto[] | undefined;
159
+ stats?: ItemStatDto[] | undefined;
160
+ randomSubStatCount?: number;
161
+ randomStats?: ItemRandomStatDto[] | undefined;
162
+ mainInfo?: string | undefined;
163
+ subInfo?: string | undefined;
164
+ cooldownInMs?: number;
165
+ bgCooldownInMs?: number;
166
+ skillModifierGroups?: SkillModifierGroupDto[] | undefined;
167
+ itemImprove?: ItemImproveDto;
168
+ skills?: ItemSkillDto[] | undefined;
169
+ topText?: string | undefined;
170
+ setBonus?: ItemSetBonusDto;
171
+ descriptions?: ItemDescriptionDto[] | undefined;
172
+ decomposeRewards?: DecomposeRewardDto[] | undefined;
173
+ flavorText?: string | undefined;
174
+ usableGroup?: string | undefined;
175
+ levelRequired?: number;
176
+ boundToAccount?: boolean;
177
+ unableToTrade?: boolean;
178
+ sealing?: ItemSealingDto;
179
+ accountTransfer?: ItemAccountTransferDto;
180
+ upgradeInfo?: ItemUpgradeInfoDto;
181
+ itemTransforms?: ItemTransformDto[] | undefined;
182
+ setPoints?: number;
183
+ refinementPoints?: number;
184
+ slateStones?: SlateStoneDto[] | undefined;
185
+ }
186
+ export declare class DecomposeRewardDto implements IDecomposeRewardDto {
187
+ fixedItems?: ItemRefWithCount[] | undefined;
188
+ randomItems?: ItemRefWithCount[] | undefined;
189
+ selectItems?: ItemRefWithCount[] | undefined;
190
+ constructor(data?: IDecomposeRewardDto);
191
+ init(_data?: any): void;
192
+ static fromJS(data: any): DecomposeRewardDto;
193
+ toJSON(data?: any): any;
194
+ }
195
+ export interface IDecomposeRewardDto {
196
+ fixedItems?: ItemRefWithCount[] | undefined;
197
+ randomItems?: ItemRefWithCount[] | undefined;
198
+ selectItems?: ItemRefWithCount[] | undefined;
199
+ }
200
+ export declare class EffectDto implements IEffectDto {
201
+ description?: string | undefined;
202
+ constructor(data?: IEffectDto);
203
+ init(_data?: any): void;
204
+ static fromJS(data: any): EffectDto;
205
+ toJSON(data?: any): any;
206
+ }
207
+ export interface IEffectDto {
208
+ description?: string | undefined;
209
+ }
210
+ export declare class IdAndLevel implements IIdAndLevel {
211
+ id?: number;
212
+ level?: number;
213
+ constructor(data?: IIdAndLevel);
214
+ init(_data?: any): void;
215
+ static fromJS(data: any): IdAndLevel;
216
+ toJSON(data?: any): any;
217
+ }
218
+ export interface IIdAndLevel {
219
+ id?: number;
220
+ level?: number;
221
+ }
222
+ export declare class Int32StringTuple implements IInt32StringTuple {
223
+ item1?: number;
224
+ item2?: string | undefined;
225
+ constructor(data?: IInt32StringTuple);
226
+ init(_data?: any): void;
227
+ static fromJS(data: any): Int32StringTuple;
228
+ toJSON(data?: any): any;
229
+ }
230
+ export interface IInt32StringTuple {
231
+ item1?: number;
232
+ item2?: string | undefined;
233
+ }
234
+ export declare class ItemAccountTransferDto implements IItemAccountTransferDto {
235
+ requiredItems?: ItemRefWithCount[] | undefined;
236
+ moneyCost?: number;
237
+ constructor(data?: IItemAccountTransferDto);
238
+ init(_data?: any): void;
239
+ static fromJS(data: any): ItemAccountTransferDto;
240
+ toJSON(data?: any): any;
241
+ }
242
+ export interface IItemAccountTransferDto {
243
+ requiredItems?: ItemRefWithCount[] | undefined;
244
+ moneyCost?: number;
245
+ }
246
+ export declare class ItemCategoryDto implements IItemCategoryDto {
247
+ technicalName?: string | undefined;
248
+ localizedName?: string | undefined;
249
+ index?: number;
250
+ constructor(data?: IItemCategoryDto);
251
+ init(_data?: any): void;
252
+ static fromJS(data: any): ItemCategoryDto;
253
+ toJSON(data?: any): any;
254
+ }
255
+ export interface IItemCategoryDto {
256
+ technicalName?: string | undefined;
257
+ localizedName?: string | undefined;
258
+ index?: number;
259
+ }
260
+ export declare class ItemDescriptionDto implements IItemDescriptionDto {
261
+ title?: string | undefined;
262
+ text?: string | undefined;
263
+ constructor(data?: IItemDescriptionDto);
264
+ init(_data?: any): void;
265
+ static fromJS(data: any): ItemDescriptionDto;
266
+ toJSON(data?: any): any;
267
+ }
268
+ export interface IItemDescriptionDto {
269
+ title?: string | undefined;
270
+ text?: string | undefined;
271
+ }
272
+ export declare class ItemIconDto implements IItemIconDto {
273
+ iconPath?: string | undefined;
274
+ iconIndex?: number;
275
+ constructor(data?: IItemIconDto);
276
+ init(_data?: any): void;
277
+ static fromJS(data: any): ItemIconDto;
278
+ toJSON(data?: any): any;
279
+ }
280
+ export interface IItemIconDto {
281
+ iconPath?: string | undefined;
282
+ iconIndex?: number;
283
+ }
284
+ export declare class ItemImproveCostOptionDto implements IItemImproveCostOptionDto {
285
+ moneyCost?: number;
286
+ mainItemCost?: ItemRefWithCount;
287
+ subItemCost?: ItemRefWithCount[] | undefined;
288
+ isRandom?: boolean;
289
+ constructor(data?: IItemImproveCostOptionDto);
290
+ init(_data?: any): void;
291
+ static fromJS(data: any): ItemImproveCostOptionDto;
292
+ toJSON(data?: any): any;
293
+ }
294
+ export interface IItemImproveCostOptionDto {
295
+ moneyCost?: number;
296
+ mainItemCost?: ItemRefWithCount;
297
+ subItemCost?: ItemRefWithCount[] | undefined;
298
+ isRandom?: boolean;
299
+ }
300
+ export declare class ItemImproveDto implements IItemImproveDto {
301
+ upgradeOptions?: ItemImproveCostOptionDto[] | undefined;
302
+ itemNext?: ItemRefWithCount;
303
+ itemPrev?: ItemRefWithCount;
304
+ fixedAllOptions?: boolean;
305
+ useMileageSave?: boolean;
306
+ bonusEffectOptions?: ItemImproveEffectOptionDto[] | undefined;
307
+ constructor(data?: IItemImproveDto);
308
+ init(_data?: any): void;
309
+ static fromJS(data: any): ItemImproveDto;
310
+ toJSON(data?: any): any;
311
+ }
312
+ export interface IItemImproveDto {
313
+ upgradeOptions?: ItemImproveCostOptionDto[] | undefined;
314
+ itemNext?: ItemRefWithCount;
315
+ itemPrev?: ItemRefWithCount;
316
+ fixedAllOptions?: boolean;
317
+ useMileageSave?: boolean;
318
+ bonusEffectOptions?: ItemImproveEffectOptionDto[] | undefined;
319
+ }
320
+ export declare class ItemImproveEffectOptionDto implements IItemImproveEffectOptionDto {
321
+ statName?: string | undefined;
322
+ statValue?: number;
323
+ isEffect?: boolean;
324
+ effectDescription?: string | undefined;
325
+ icon?: ItemIconDto;
326
+ constructor(data?: IItemImproveEffectOptionDto);
327
+ init(_data?: any): void;
328
+ static fromJS(data: any): ItemImproveEffectOptionDto;
329
+ toJSON(data?: any): any;
330
+ }
331
+ export interface IItemImproveEffectOptionDto {
332
+ statName?: string | undefined;
333
+ statValue?: number;
334
+ isEffect?: boolean;
335
+ effectDescription?: string | undefined;
336
+ icon?: ItemIconDto;
337
+ }
338
+ export declare class ItemRandomStatDto implements IItemRandomStatDto {
339
+ name?: string | undefined;
340
+ min?: number;
341
+ max?: number;
342
+ isPercentage?: boolean;
343
+ isMainStat?: boolean;
344
+ isFixedSubStat?: boolean;
345
+ constructor(data?: IItemRandomStatDto);
346
+ init(_data?: any): void;
347
+ static fromJS(data: any): ItemRandomStatDto;
348
+ toJSON(data?: any): any;
349
+ }
350
+ export interface IItemRandomStatDto {
351
+ name?: string | undefined;
352
+ min?: number;
353
+ max?: number;
354
+ isPercentage?: boolean;
355
+ isMainStat?: boolean;
356
+ isFixedSubStat?: boolean;
357
+ }
358
+ export declare class ItemRefWithCount implements IItemRefWithCount {
359
+ itemId?: number;
360
+ itemLevel?: number;
361
+ min?: number;
362
+ max?: number;
363
+ isMinMax?: boolean;
364
+ isRandom?: boolean;
365
+ constructor(data?: IItemRefWithCount);
366
+ init(_data?: any): void;
367
+ static fromJS(data: any): ItemRefWithCount;
368
+ toJSON(data?: any): any;
369
+ }
370
+ export interface IItemRefWithCount {
371
+ itemId?: number;
372
+ itemLevel?: number;
373
+ min?: number;
374
+ max?: number;
375
+ isMinMax?: boolean;
376
+ isRandom?: boolean;
377
+ }
378
+ export declare class ItemSealingDto implements IItemSealingDto {
379
+ sealConsumeItems?: ItemRefWithCount[] | undefined;
380
+ sealAcquireItemId?: number;
381
+ sealAcquireItemLevel?: number;
382
+ constructor(data?: IItemSealingDto);
383
+ init(_data?: any): void;
384
+ static fromJS(data: any): ItemSealingDto;
385
+ toJSON(data?: any): any;
386
+ }
387
+ export interface IItemSealingDto {
388
+ sealConsumeItems?: ItemRefWithCount[] | undefined;
389
+ sealAcquireItemId?: number;
390
+ sealAcquireItemLevel?: number;
391
+ }
392
+ export declare class ItemSetBonusDto implements IItemSetBonusDto {
393
+ setName?: string | undefined;
394
+ setItems?: SetItemDto[] | undefined;
395
+ setBonusStages?: ItemSetBonusStageDto[] | undefined;
396
+ constructor(data?: IItemSetBonusDto);
397
+ init(_data?: any): void;
398
+ static fromJS(data: any): ItemSetBonusDto;
399
+ toJSON(data?: any): any;
400
+ }
401
+ export interface IItemSetBonusDto {
402
+ setName?: string | undefined;
403
+ setItems?: SetItemDto[] | undefined;
404
+ setBonusStages?: ItemSetBonusStageDto[] | undefined;
405
+ }
406
+ export declare class ItemSetBonusStageDto implements IItemSetBonusStageDto {
407
+ setNumber?: number;
408
+ effects?: EffectDto[] | undefined;
409
+ skillModifiers?: SkillModifierGroupDto[] | undefined;
410
+ constructor(data?: IItemSetBonusStageDto);
411
+ init(_data?: any): void;
412
+ static fromJS(data: any): ItemSetBonusStageDto;
413
+ toJSON(data?: any): any;
414
+ }
415
+ export interface IItemSetBonusStageDto {
416
+ setNumber?: number;
417
+ effects?: EffectDto[] | undefined;
418
+ skillModifiers?: SkillModifierGroupDto[] | undefined;
419
+ }
420
+ export declare class ItemSkillDto implements IItemSkillDto {
421
+ title?: string | undefined;
422
+ description?: string | undefined;
423
+ jobstyle?: string | undefined;
424
+ constructor(data?: IItemSkillDto);
425
+ init(_data?: any): void;
426
+ static fromJS(data: any): ItemSkillDto;
427
+ toJSON(data?: any): any;
428
+ }
429
+ export interface IItemSkillDto {
430
+ title?: string | undefined;
431
+ description?: string | undefined;
432
+ jobstyle?: string | undefined;
433
+ }
434
+ export declare class ItemStatDto implements IItemStatDto {
435
+ name?: string | undefined;
436
+ value?: number;
437
+ isPercentage?: boolean;
438
+ isMainStat?: boolean;
439
+ constructor(data?: IItemStatDto);
440
+ init(_data?: any): void;
441
+ static fromJS(data: any): ItemStatDto;
442
+ toJSON(data?: any): any;
443
+ }
444
+ export interface IItemStatDto {
445
+ name?: string | undefined;
446
+ value?: number;
447
+ isPercentage?: boolean;
448
+ isMainStat?: boolean;
449
+ }
450
+ export declare class ItemTransformDto implements IItemTransformDto {
451
+ moneyCost?: number;
452
+ itemCost?: ItemRefWithCount[] | undefined;
453
+ itemReward?: ItemRefWithCount;
454
+ constructor(data?: IItemTransformDto);
455
+ init(_data?: any): void;
456
+ static fromJS(data: any): ItemTransformDto;
457
+ toJSON(data?: any): any;
458
+ }
459
+ export interface IItemTransformDto {
460
+ moneyCost?: number;
461
+ itemCost?: ItemRefWithCount[] | undefined;
462
+ itemReward?: ItemRefWithCount;
463
+ }
464
+ export declare class ItemUpgradeInfoDto implements IItemUpgradeInfoDto {
465
+ moneyCost?: number;
466
+ itemCost?: ItemRefWithCount[] | undefined;
467
+ offerItemId?: number;
468
+ offerItemLevel?: number;
469
+ constructor(data?: IItemUpgradeInfoDto);
470
+ init(_data?: any): void;
471
+ static fromJS(data: any): ItemUpgradeInfoDto;
472
+ toJSON(data?: any): any;
473
+ }
474
+ export interface IItemUpgradeInfoDto {
475
+ moneyCost?: number;
476
+ itemCost?: ItemRefWithCount[] | undefined;
477
+ offerItemId?: number;
478
+ offerItemLevel?: number;
479
+ }
480
+ export declare class ItemWithStagesDto implements IItemWithStagesDto {
481
+ item?: BnsItemDto;
482
+ jsonDiffPatchesForIds?: {
483
+ [key: string]: string;
484
+ } | undefined;
485
+ constructor(data?: IItemWithStagesDto);
486
+ init(_data?: any): void;
487
+ static fromJS(data: any): ItemWithStagesDto;
488
+ toJSON(data?: any): any;
489
+ }
490
+ export interface IItemWithStagesDto {
491
+ item?: BnsItemDto;
492
+ jsonDiffPatchesForIds?: {
493
+ [key: string]: string;
494
+ } | undefined;
495
+ }
496
+ export declare class PatchesListPatch implements IPatchesListPatch {
497
+ short?: string | undefined;
498
+ text?: string | undefined;
499
+ index?: number;
500
+ constructor(data?: IPatchesListPatch);
501
+ init(_data?: any): void;
502
+ static fromJS(data: any): PatchesListPatch;
503
+ toJSON(data?: any): any;
504
+ }
505
+ export interface IPatchesListPatch {
506
+ short?: string | undefined;
507
+ text?: string | undefined;
508
+ index?: number;
509
+ }
510
+ export declare class RequiredClassDto implements IRequiredClassDto {
511
+ enName?: string | undefined;
512
+ technicalName?: string | undefined;
513
+ constructor(data?: IRequiredClassDto);
514
+ init(_data?: any): void;
515
+ static fromJS(data: any): RequiredClassDto;
516
+ toJSON(data?: any): any;
517
+ }
518
+ export interface IRequiredClassDto {
519
+ enName?: string | undefined;
520
+ technicalName?: string | undefined;
521
+ }
522
+ export declare class SetItemDto implements ISetItemDto {
523
+ itemName?: string | undefined;
524
+ itemIcon?: ItemIconDto;
525
+ constructor(data?: ISetItemDto);
526
+ init(_data?: any): void;
527
+ static fromJS(data: any): SetItemDto;
528
+ toJSON(data?: any): any;
529
+ }
530
+ export interface ISetItemDto {
531
+ itemName?: string | undefined;
532
+ itemIcon?: ItemIconDto;
533
+ }
534
+ export declare class SkillModifierDto implements ISkillModifierDto {
535
+ skills?: Int32StringTuple[] | undefined;
536
+ verb?: string | undefined;
537
+ value?: number;
538
+ constructor(data?: ISkillModifierDto);
539
+ init(_data?: any): void;
540
+ static fromJS(data: any): SkillModifierDto;
541
+ toJSON(data?: any): any;
542
+ }
543
+ export interface ISkillModifierDto {
544
+ skills?: Int32StringTuple[] | undefined;
545
+ verb?: string | undefined;
546
+ value?: number;
547
+ }
548
+ export declare class SkillModifierGroupDto implements ISkillModifierGroupDto {
549
+ jobstyle?: string | undefined;
550
+ modifiers?: SkillModifierDto[] | undefined;
551
+ constructor(data?: ISkillModifierGroupDto);
552
+ init(_data?: any): void;
553
+ static fromJS(data: any): SkillModifierGroupDto;
554
+ toJSON(data?: any): any;
555
+ }
556
+ export interface ISkillModifierGroupDto {
557
+ jobstyle?: string | undefined;
558
+ modifiers?: SkillModifierDto[] | undefined;
559
+ }
560
+ export declare class SlateStoneDto implements ISlateStoneDto {
561
+ name?: string | undefined;
562
+ grade?: number;
563
+ icon?: ItemIconDto;
564
+ iconCase?: ItemIconDto;
565
+ stats?: ItemStatDto[] | undefined;
566
+ constructor(data?: ISlateStoneDto);
567
+ init(_data?: any): void;
568
+ static fromJS(data: any): SlateStoneDto;
569
+ toJSON(data?: any): any;
570
+ }
571
+ export interface ISlateStoneDto {
572
+ name?: string | undefined;
573
+ grade?: number;
574
+ icon?: ItemIconDto;
575
+ iconCase?: ItemIconDto;
576
+ stats?: ItemStatDto[] | undefined;
577
+ }
578
+ export declare class ApiException extends Error {
579
+ message: string;
580
+ status: number;
581
+ response: string;
582
+ headers: {
583
+ [key: string]: any;
584
+ };
585
+ result: any;
586
+ constructor(message: string, status: number, response: string, headers: {
587
+ [key: string]: any;
588
+ }, result: any);
589
+ protected isApiException: boolean;
590
+ static isApiException(obj: any): obj is ApiException;
591
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bnstooltips",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "Blade & Soul style tooltips",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.es.js",