@licensespring/node-sdk 1.0.10 → 1.1.0-alpha

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/src/api.d.ts CHANGED
@@ -1,13 +1,15 @@
1
- import { CustomerLicenseUsersResponse, DeviceVariable, GetCustomerLicensesPayload, GetUserLicensesPayload, HardwareIdAlgorithm, InstallationFileResponse, LicenseActivationIdentificatorOfflineWithVariables, LicenseActivationIdentificatorWithVariables, LicenseBorrowResponse, LicenseConsumptionsResponse, LicenseFeatureConsumptionResponse, LicenseFeatureResponse, LicenseIdentificator, LicenseIdentificatorAddConsumptions, LicenseIdentificatorAddFeatureConsumptions, LicenseIdentificatorAndFeature, LicenseIdentificatorWithBorrowedUntil, LicenseIdentificatorWithInstallation, LicenseIdentificatorWithVariables, LicenseTrialResponse, LicensespringAPIConfig, LicensespringAPIConfigDef, PasswordChangePayload, ProductDetailsPayload, ProductDetailsResponse, SSOURLParams, TrialKeyPayload, VersionsResponse } from './types';
1
+ import { CreateOfflineActivationRequestPayload, CreateOfflineDeactivationRequestPayload, CustomerLicenseUsersResponse, DeviceVariable, HardwareIdAlgorithm, InstallationFileResponse, LicenseBorrowResponse, LicenseConsumptionsResponse, LicenseFeatureConsumptionResponse, LicenseFeatureResponse, LicenseTrialResponse, LicensespringAPIConfig, LicensespringAPIConfigDef, ProductDetailsResponse, VersionsResponse } from './types';
2
2
  import OfflineActivation from './offline-activation';
3
+ import { FromSchema } from 'json-schema-to-ts';
3
4
  import { AxiosProxyConfig } from 'axios';
5
+ import { activateLicense, addConsumption, addFeatureConsumption, changePassword, checkLicense, checkLicenseFeature, customerLicenseUsers, deactivateLicense, floatingBorrow, floatingFeatureRelease, floatingRelease, getDeviceVariables, installationFile, productDetails, ssoUrl, trackDeviceVariables, trialKey, userLicenses, versions } from './schema';
4
6
  export default class LicenseAPI {
5
7
  private service;
6
8
  config: LicensespringAPIConfig;
7
9
  constructor(config: LicensespringAPIConfigDef);
8
10
  getHardwareID(algorithm?: HardwareIdAlgorithm): string;
9
11
  setProxy(proxy: AxiosProxyConfig | null): void;
10
- checkLicense(payload: LicenseIdentificator, includeExpiredFeatures?: boolean): Promise<({
12
+ checkLicense(payload: FromSchema<(typeof checkLicense)['querystring']>, includeExpiredFeatures?: boolean): Promise<({
11
13
  id: number;
12
14
  allow_grace_period: boolean;
13
15
  allow_overages: boolean;
@@ -21,6 +23,7 @@ export default class LicenseAPI {
21
23
  eula_link: string;
22
24
  floating_timeout: number;
23
25
  grace_period: number;
26
+ hardware_id: string;
24
27
  hash_md5: string;
25
28
  installation_file: string;
26
29
  is_air_gapped: boolean;
@@ -52,7 +55,7 @@ export default class LicenseAPI {
52
55
  custom_fields: import("./types").CustomField[];
53
56
  customer: import("./types").Customer;
54
57
  product_details: import("./types").ProductDetails;
55
- metadata: import("./types").JSON;
58
+ metadata: JSON;
56
59
  } & {
57
60
  user?: undefined;
58
61
  license_key: string;
@@ -87,6 +90,7 @@ export default class LicenseAPI {
87
90
  eula_link: string;
88
91
  floating_timeout: number;
89
92
  grace_period: number;
93
+ hardware_id: string;
90
94
  hash_md5: string;
91
95
  installation_file: string;
92
96
  is_air_gapped: boolean;
@@ -118,7 +122,7 @@ export default class LicenseAPI {
118
122
  custom_fields: import("./types").CustomField[];
119
123
  customer: import("./types").Customer;
120
124
  product_details: import("./types").ProductDetails;
121
- metadata: import("./types").JSON;
125
+ metadata: JSON;
122
126
  } & {
123
127
  user?: undefined;
124
128
  license_key: string;
@@ -153,6 +157,7 @@ export default class LicenseAPI {
153
157
  eula_link: string;
154
158
  floating_timeout: number;
155
159
  grace_period: number;
160
+ hardware_id: string;
156
161
  hash_md5: string;
157
162
  installation_file: string;
158
163
  is_air_gapped: boolean;
@@ -184,7 +189,7 @@ export default class LicenseAPI {
184
189
  custom_fields: import("./types").CustomField[];
185
190
  customer: import("./types").Customer;
186
191
  product_details: import("./types").ProductDetails;
187
- metadata: import("./types").JSON;
192
+ metadata: JSON;
188
193
  } & {
189
194
  user?: undefined;
190
195
  license_key: string;
@@ -219,6 +224,7 @@ export default class LicenseAPI {
219
224
  eula_link: string;
220
225
  floating_timeout: number;
221
226
  grace_period: number;
227
+ hardware_id: string;
222
228
  hash_md5: string;
223
229
  installation_file: string;
224
230
  is_air_gapped: boolean;
@@ -250,7 +256,7 @@ export default class LicenseAPI {
250
256
  custom_fields: import("./types").CustomField[];
251
257
  customer: import("./types").Customer;
252
258
  product_details: import("./types").ProductDetails;
253
- metadata: import("./types").JSON;
259
+ metadata: JSON;
254
260
  } & {
255
261
  user?: undefined;
256
262
  license_key: string;
@@ -285,6 +291,7 @@ export default class LicenseAPI {
285
291
  eula_link: string;
286
292
  floating_timeout: number;
287
293
  grace_period: number;
294
+ hardware_id: string;
288
295
  hash_md5: string;
289
296
  installation_file: string;
290
297
  is_air_gapped: boolean;
@@ -316,7 +323,7 @@ export default class LicenseAPI {
316
323
  custom_fields: import("./types").CustomField[];
317
324
  customer: import("./types").Customer;
318
325
  product_details: import("./types").ProductDetails;
319
- metadata: import("./types").JSON;
326
+ metadata: JSON;
320
327
  } & {
321
328
  user?: undefined;
322
329
  license_key: string;
@@ -351,6 +358,7 @@ export default class LicenseAPI {
351
358
  eula_link: string;
352
359
  floating_timeout: number;
353
360
  grace_period: number;
361
+ hardware_id: string;
354
362
  hash_md5: string;
355
363
  installation_file: string;
356
364
  is_air_gapped: boolean;
@@ -382,7 +390,7 @@ export default class LicenseAPI {
382
390
  custom_fields: import("./types").CustomField[];
383
391
  customer: import("./types").Customer;
384
392
  product_details: import("./types").ProductDetails;
385
- metadata: import("./types").JSON;
393
+ metadata: JSON;
386
394
  } & {
387
395
  user?: undefined;
388
396
  license_key: string;
@@ -417,6 +425,7 @@ export default class LicenseAPI {
417
425
  eula_link: string;
418
426
  floating_timeout: number;
419
427
  grace_period: number;
428
+ hardware_id: string;
420
429
  hash_md5: string;
421
430
  installation_file: string;
422
431
  is_air_gapped: boolean;
@@ -448,7 +457,7 @@ export default class LicenseAPI {
448
457
  custom_fields: import("./types").CustomField[];
449
458
  customer: import("./types").Customer;
450
459
  product_details: import("./types").ProductDetails;
451
- metadata: import("./types").JSON;
460
+ metadata: JSON;
452
461
  } & {
453
462
  license_key?: undefined;
454
463
  user: import("./types").LicenseUser;
@@ -483,6 +492,7 @@ export default class LicenseAPI {
483
492
  eula_link: string;
484
493
  floating_timeout: number;
485
494
  grace_period: number;
495
+ hardware_id: string;
486
496
  hash_md5: string;
487
497
  installation_file: string;
488
498
  is_air_gapped: boolean;
@@ -514,7 +524,7 @@ export default class LicenseAPI {
514
524
  custom_fields: import("./types").CustomField[];
515
525
  customer: import("./types").Customer;
516
526
  product_details: import("./types").ProductDetails;
517
- metadata: import("./types").JSON;
527
+ metadata: JSON;
518
528
  } & {
519
529
  license_key?: undefined;
520
530
  user: import("./types").LicenseUser;
@@ -549,6 +559,7 @@ export default class LicenseAPI {
549
559
  eula_link: string;
550
560
  floating_timeout: number;
551
561
  grace_period: number;
562
+ hardware_id: string;
552
563
  hash_md5: string;
553
564
  installation_file: string;
554
565
  is_air_gapped: boolean;
@@ -580,7 +591,7 @@ export default class LicenseAPI {
580
591
  custom_fields: import("./types").CustomField[];
581
592
  customer: import("./types").Customer;
582
593
  product_details: import("./types").ProductDetails;
583
- metadata: import("./types").JSON;
594
+ metadata: JSON;
584
595
  } & {
585
596
  license_key?: undefined;
586
597
  user: import("./types").LicenseUser;
@@ -615,6 +626,7 @@ export default class LicenseAPI {
615
626
  eula_link: string;
616
627
  floating_timeout: number;
617
628
  grace_period: number;
629
+ hardware_id: string;
618
630
  hash_md5: string;
619
631
  installation_file: string;
620
632
  is_air_gapped: boolean;
@@ -646,7 +658,7 @@ export default class LicenseAPI {
646
658
  custom_fields: import("./types").CustomField[];
647
659
  customer: import("./types").Customer;
648
660
  product_details: import("./types").ProductDetails;
649
- metadata: import("./types").JSON;
661
+ metadata: JSON;
650
662
  } & {
651
663
  license_key?: undefined;
652
664
  user: import("./types").LicenseUser;
@@ -681,6 +693,7 @@ export default class LicenseAPI {
681
693
  eula_link: string;
682
694
  floating_timeout: number;
683
695
  grace_period: number;
696
+ hardware_id: string;
684
697
  hash_md5: string;
685
698
  installation_file: string;
686
699
  is_air_gapped: boolean;
@@ -712,7 +725,7 @@ export default class LicenseAPI {
712
725
  custom_fields: import("./types").CustomField[];
713
726
  customer: import("./types").Customer;
714
727
  product_details: import("./types").ProductDetails;
715
- metadata: import("./types").JSON;
728
+ metadata: JSON;
716
729
  } & {
717
730
  license_key?: undefined;
718
731
  user: import("./types").LicenseUser;
@@ -747,6 +760,7 @@ export default class LicenseAPI {
747
760
  eula_link: string;
748
761
  floating_timeout: number;
749
762
  grace_period: number;
763
+ hardware_id: string;
750
764
  hash_md5: string;
751
765
  installation_file: string;
752
766
  is_air_gapped: boolean;
@@ -778,7 +792,7 @@ export default class LicenseAPI {
778
792
  custom_fields: import("./types").CustomField[];
779
793
  customer: import("./types").Customer;
780
794
  product_details: import("./types").ProductDetails;
781
- metadata: import("./types").JSON;
795
+ metadata: JSON;
782
796
  } & {
783
797
  license_key?: undefined;
784
798
  user: import("./types").LicenseUser;
@@ -800,7 +814,7 @@ export default class LicenseAPI {
800
814
  reset_consumption: boolean;
801
815
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
802
816
  })>;
803
- activateLicense(payload: LicenseActivationIdentificatorWithVariables): Promise<({
817
+ activateLicense(payload: FromSchema<(typeof activateLicense)['body']>): Promise<({
804
818
  id: number;
805
819
  allow_grace_period: boolean;
806
820
  allow_overages: boolean;
@@ -814,6 +828,7 @@ export default class LicenseAPI {
814
828
  eula_link: string;
815
829
  floating_timeout: number;
816
830
  grace_period: number;
831
+ hardware_id: string;
817
832
  hash_md5: string;
818
833
  installation_file: string;
819
834
  is_air_gapped: boolean;
@@ -845,7 +860,7 @@ export default class LicenseAPI {
845
860
  custom_fields: import("./types").CustomField[];
846
861
  customer: import("./types").Customer;
847
862
  product_details: import("./types").ProductDetails;
848
- metadata: import("./types").JSON;
863
+ metadata: JSON;
849
864
  } & {
850
865
  user?: undefined;
851
866
  license_key: string;
@@ -880,6 +895,7 @@ export default class LicenseAPI {
880
895
  eula_link: string;
881
896
  floating_timeout: number;
882
897
  grace_period: number;
898
+ hardware_id: string;
883
899
  hash_md5: string;
884
900
  installation_file: string;
885
901
  is_air_gapped: boolean;
@@ -911,7 +927,7 @@ export default class LicenseAPI {
911
927
  custom_fields: import("./types").CustomField[];
912
928
  customer: import("./types").Customer;
913
929
  product_details: import("./types").ProductDetails;
914
- metadata: import("./types").JSON;
930
+ metadata: JSON;
915
931
  } & {
916
932
  user?: undefined;
917
933
  license_key: string;
@@ -946,6 +962,7 @@ export default class LicenseAPI {
946
962
  eula_link: string;
947
963
  floating_timeout: number;
948
964
  grace_period: number;
965
+ hardware_id: string;
949
966
  hash_md5: string;
950
967
  installation_file: string;
951
968
  is_air_gapped: boolean;
@@ -977,7 +994,7 @@ export default class LicenseAPI {
977
994
  custom_fields: import("./types").CustomField[];
978
995
  customer: import("./types").Customer;
979
996
  product_details: import("./types").ProductDetails;
980
- metadata: import("./types").JSON;
997
+ metadata: JSON;
981
998
  } & {
982
999
  user?: undefined;
983
1000
  license_key: string;
@@ -1012,6 +1029,7 @@ export default class LicenseAPI {
1012
1029
  eula_link: string;
1013
1030
  floating_timeout: number;
1014
1031
  grace_period: number;
1032
+ hardware_id: string;
1015
1033
  hash_md5: string;
1016
1034
  installation_file: string;
1017
1035
  is_air_gapped: boolean;
@@ -1043,7 +1061,7 @@ export default class LicenseAPI {
1043
1061
  custom_fields: import("./types").CustomField[];
1044
1062
  customer: import("./types").Customer;
1045
1063
  product_details: import("./types").ProductDetails;
1046
- metadata: import("./types").JSON;
1064
+ metadata: JSON;
1047
1065
  } & {
1048
1066
  user?: undefined;
1049
1067
  license_key: string;
@@ -1078,6 +1096,7 @@ export default class LicenseAPI {
1078
1096
  eula_link: string;
1079
1097
  floating_timeout: number;
1080
1098
  grace_period: number;
1099
+ hardware_id: string;
1081
1100
  hash_md5: string;
1082
1101
  installation_file: string;
1083
1102
  is_air_gapped: boolean;
@@ -1109,7 +1128,7 @@ export default class LicenseAPI {
1109
1128
  custom_fields: import("./types").CustomField[];
1110
1129
  customer: import("./types").Customer;
1111
1130
  product_details: import("./types").ProductDetails;
1112
- metadata: import("./types").JSON;
1131
+ metadata: JSON;
1113
1132
  } & {
1114
1133
  user?: undefined;
1115
1134
  license_key: string;
@@ -1144,6 +1163,7 @@ export default class LicenseAPI {
1144
1163
  eula_link: string;
1145
1164
  floating_timeout: number;
1146
1165
  grace_period: number;
1166
+ hardware_id: string;
1147
1167
  hash_md5: string;
1148
1168
  installation_file: string;
1149
1169
  is_air_gapped: boolean;
@@ -1175,7 +1195,7 @@ export default class LicenseAPI {
1175
1195
  custom_fields: import("./types").CustomField[];
1176
1196
  customer: import("./types").Customer;
1177
1197
  product_details: import("./types").ProductDetails;
1178
- metadata: import("./types").JSON;
1198
+ metadata: JSON;
1179
1199
  } & {
1180
1200
  user?: undefined;
1181
1201
  license_key: string;
@@ -1210,6 +1230,7 @@ export default class LicenseAPI {
1210
1230
  eula_link: string;
1211
1231
  floating_timeout: number;
1212
1232
  grace_period: number;
1233
+ hardware_id: string;
1213
1234
  hash_md5: string;
1214
1235
  installation_file: string;
1215
1236
  is_air_gapped: boolean;
@@ -1241,7 +1262,7 @@ export default class LicenseAPI {
1241
1262
  custom_fields: import("./types").CustomField[];
1242
1263
  customer: import("./types").Customer;
1243
1264
  product_details: import("./types").ProductDetails;
1244
- metadata: import("./types").JSON;
1265
+ metadata: JSON;
1245
1266
  } & {
1246
1267
  license_key?: undefined;
1247
1268
  user: import("./types").LicenseUser;
@@ -1276,6 +1297,7 @@ export default class LicenseAPI {
1276
1297
  eula_link: string;
1277
1298
  floating_timeout: number;
1278
1299
  grace_period: number;
1300
+ hardware_id: string;
1279
1301
  hash_md5: string;
1280
1302
  installation_file: string;
1281
1303
  is_air_gapped: boolean;
@@ -1307,7 +1329,7 @@ export default class LicenseAPI {
1307
1329
  custom_fields: import("./types").CustomField[];
1308
1330
  customer: import("./types").Customer;
1309
1331
  product_details: import("./types").ProductDetails;
1310
- metadata: import("./types").JSON;
1332
+ metadata: JSON;
1311
1333
  } & {
1312
1334
  license_key?: undefined;
1313
1335
  user: import("./types").LicenseUser;
@@ -1342,6 +1364,7 @@ export default class LicenseAPI {
1342
1364
  eula_link: string;
1343
1365
  floating_timeout: number;
1344
1366
  grace_period: number;
1367
+ hardware_id: string;
1345
1368
  hash_md5: string;
1346
1369
  installation_file: string;
1347
1370
  is_air_gapped: boolean;
@@ -1373,7 +1396,7 @@ export default class LicenseAPI {
1373
1396
  custom_fields: import("./types").CustomField[];
1374
1397
  customer: import("./types").Customer;
1375
1398
  product_details: import("./types").ProductDetails;
1376
- metadata: import("./types").JSON;
1399
+ metadata: JSON;
1377
1400
  } & {
1378
1401
  license_key?: undefined;
1379
1402
  user: import("./types").LicenseUser;
@@ -1408,6 +1431,7 @@ export default class LicenseAPI {
1408
1431
  eula_link: string;
1409
1432
  floating_timeout: number;
1410
1433
  grace_period: number;
1434
+ hardware_id: string;
1411
1435
  hash_md5: string;
1412
1436
  installation_file: string;
1413
1437
  is_air_gapped: boolean;
@@ -1439,7 +1463,7 @@ export default class LicenseAPI {
1439
1463
  custom_fields: import("./types").CustomField[];
1440
1464
  customer: import("./types").Customer;
1441
1465
  product_details: import("./types").ProductDetails;
1442
- metadata: import("./types").JSON;
1466
+ metadata: JSON;
1443
1467
  } & {
1444
1468
  license_key?: undefined;
1445
1469
  user: import("./types").LicenseUser;
@@ -1474,6 +1498,7 @@ export default class LicenseAPI {
1474
1498
  eula_link: string;
1475
1499
  floating_timeout: number;
1476
1500
  grace_period: number;
1501
+ hardware_id: string;
1477
1502
  hash_md5: string;
1478
1503
  installation_file: string;
1479
1504
  is_air_gapped: boolean;
@@ -1505,7 +1530,7 @@ export default class LicenseAPI {
1505
1530
  custom_fields: import("./types").CustomField[];
1506
1531
  customer: import("./types").Customer;
1507
1532
  product_details: import("./types").ProductDetails;
1508
- metadata: import("./types").JSON;
1533
+ metadata: JSON;
1509
1534
  } & {
1510
1535
  license_key?: undefined;
1511
1536
  user: import("./types").LicenseUser;
@@ -1540,6 +1565,7 @@ export default class LicenseAPI {
1540
1565
  eula_link: string;
1541
1566
  floating_timeout: number;
1542
1567
  grace_period: number;
1568
+ hardware_id: string;
1543
1569
  hash_md5: string;
1544
1570
  installation_file: string;
1545
1571
  is_air_gapped: boolean;
@@ -1571,7 +1597,7 @@ export default class LicenseAPI {
1571
1597
  custom_fields: import("./types").CustomField[];
1572
1598
  customer: import("./types").Customer;
1573
1599
  product_details: import("./types").ProductDetails;
1574
- metadata: import("./types").JSON;
1600
+ metadata: JSON;
1575
1601
  } & {
1576
1602
  license_key?: undefined;
1577
1603
  user: import("./types").LicenseUser;
@@ -1593,8 +1619,8 @@ export default class LicenseAPI {
1593
1619
  reset_consumption: boolean;
1594
1620
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1595
1621
  })>;
1596
- deactivateLicense(payload: LicenseIdentificator): Promise<boolean>;
1597
- activateOffline(payload: LicenseActivationIdentificatorOfflineWithVariables): Promise<({
1622
+ deactivateLicense(payload: FromSchema<(typeof deactivateLicense)['body']>): Promise<boolean>;
1623
+ activateOffline(payload: string): Promise<({
1598
1624
  id: number;
1599
1625
  allow_grace_period: boolean;
1600
1626
  allow_overages: boolean;
@@ -1608,6 +1634,7 @@ export default class LicenseAPI {
1608
1634
  eula_link: string;
1609
1635
  floating_timeout: number;
1610
1636
  grace_period: number;
1637
+ hardware_id: string;
1611
1638
  hash_md5: string;
1612
1639
  installation_file: string;
1613
1640
  is_air_gapped: boolean;
@@ -1639,7 +1666,7 @@ export default class LicenseAPI {
1639
1666
  custom_fields: import("./types").CustomField[];
1640
1667
  customer: import("./types").Customer;
1641
1668
  product_details: import("./types").ProductDetails;
1642
- metadata: import("./types").JSON;
1669
+ metadata: JSON;
1643
1670
  } & {
1644
1671
  user?: undefined;
1645
1672
  license_key: string;
@@ -1662,6 +1689,7 @@ export default class LicenseAPI {
1662
1689
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1663
1690
  } & {
1664
1691
  license_signature_v2: string;
1692
+ date: string;
1665
1693
  }) | ({
1666
1694
  id: number;
1667
1695
  allow_grace_period: boolean;
@@ -1676,6 +1704,7 @@ export default class LicenseAPI {
1676
1704
  eula_link: string;
1677
1705
  floating_timeout: number;
1678
1706
  grace_period: number;
1707
+ hardware_id: string;
1679
1708
  hash_md5: string;
1680
1709
  installation_file: string;
1681
1710
  is_air_gapped: boolean;
@@ -1707,7 +1736,7 @@ export default class LicenseAPI {
1707
1736
  custom_fields: import("./types").CustomField[];
1708
1737
  customer: import("./types").Customer;
1709
1738
  product_details: import("./types").ProductDetails;
1710
- metadata: import("./types").JSON;
1739
+ metadata: JSON;
1711
1740
  } & {
1712
1741
  user?: undefined;
1713
1742
  license_key: string;
@@ -1730,6 +1759,7 @@ export default class LicenseAPI {
1730
1759
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1731
1760
  } & {
1732
1761
  license_signature_v2: string;
1762
+ date: string;
1733
1763
  }) | ({
1734
1764
  id: number;
1735
1765
  allow_grace_period: boolean;
@@ -1744,6 +1774,7 @@ export default class LicenseAPI {
1744
1774
  eula_link: string;
1745
1775
  floating_timeout: number;
1746
1776
  grace_period: number;
1777
+ hardware_id: string;
1747
1778
  hash_md5: string;
1748
1779
  installation_file: string;
1749
1780
  is_air_gapped: boolean;
@@ -1775,7 +1806,7 @@ export default class LicenseAPI {
1775
1806
  custom_fields: import("./types").CustomField[];
1776
1807
  customer: import("./types").Customer;
1777
1808
  product_details: import("./types").ProductDetails;
1778
- metadata: import("./types").JSON;
1809
+ metadata: JSON;
1779
1810
  } & {
1780
1811
  user?: undefined;
1781
1812
  license_key: string;
@@ -1798,6 +1829,7 @@ export default class LicenseAPI {
1798
1829
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1799
1830
  } & {
1800
1831
  license_signature_v2: string;
1832
+ date: string;
1801
1833
  }) | ({
1802
1834
  id: number;
1803
1835
  allow_grace_period: boolean;
@@ -1812,6 +1844,7 @@ export default class LicenseAPI {
1812
1844
  eula_link: string;
1813
1845
  floating_timeout: number;
1814
1846
  grace_period: number;
1847
+ hardware_id: string;
1815
1848
  hash_md5: string;
1816
1849
  installation_file: string;
1817
1850
  is_air_gapped: boolean;
@@ -1843,7 +1876,7 @@ export default class LicenseAPI {
1843
1876
  custom_fields: import("./types").CustomField[];
1844
1877
  customer: import("./types").Customer;
1845
1878
  product_details: import("./types").ProductDetails;
1846
- metadata: import("./types").JSON;
1879
+ metadata: JSON;
1847
1880
  } & {
1848
1881
  user?: undefined;
1849
1882
  license_key: string;
@@ -1866,6 +1899,7 @@ export default class LicenseAPI {
1866
1899
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1867
1900
  } & {
1868
1901
  license_signature_v2: string;
1902
+ date: string;
1869
1903
  }) | ({
1870
1904
  id: number;
1871
1905
  allow_grace_period: boolean;
@@ -1880,6 +1914,7 @@ export default class LicenseAPI {
1880
1914
  eula_link: string;
1881
1915
  floating_timeout: number;
1882
1916
  grace_period: number;
1917
+ hardware_id: string;
1883
1918
  hash_md5: string;
1884
1919
  installation_file: string;
1885
1920
  is_air_gapped: boolean;
@@ -1911,7 +1946,7 @@ export default class LicenseAPI {
1911
1946
  custom_fields: import("./types").CustomField[];
1912
1947
  customer: import("./types").Customer;
1913
1948
  product_details: import("./types").ProductDetails;
1914
- metadata: import("./types").JSON;
1949
+ metadata: JSON;
1915
1950
  } & {
1916
1951
  user?: undefined;
1917
1952
  license_key: string;
@@ -1934,6 +1969,7 @@ export default class LicenseAPI {
1934
1969
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1935
1970
  } & {
1936
1971
  license_signature_v2: string;
1972
+ date: string;
1937
1973
  }) | ({
1938
1974
  id: number;
1939
1975
  allow_grace_period: boolean;
@@ -1948,6 +1984,7 @@ export default class LicenseAPI {
1948
1984
  eula_link: string;
1949
1985
  floating_timeout: number;
1950
1986
  grace_period: number;
1987
+ hardware_id: string;
1951
1988
  hash_md5: string;
1952
1989
  installation_file: string;
1953
1990
  is_air_gapped: boolean;
@@ -1979,7 +2016,7 @@ export default class LicenseAPI {
1979
2016
  custom_fields: import("./types").CustomField[];
1980
2017
  customer: import("./types").Customer;
1981
2018
  product_details: import("./types").ProductDetails;
1982
- metadata: import("./types").JSON;
2019
+ metadata: JSON;
1983
2020
  } & {
1984
2021
  user?: undefined;
1985
2022
  license_key: string;
@@ -2002,6 +2039,7 @@ export default class LicenseAPI {
2002
2039
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2003
2040
  } & {
2004
2041
  license_signature_v2: string;
2042
+ date: string;
2005
2043
  }) | ({
2006
2044
  id: number;
2007
2045
  allow_grace_period: boolean;
@@ -2016,6 +2054,7 @@ export default class LicenseAPI {
2016
2054
  eula_link: string;
2017
2055
  floating_timeout: number;
2018
2056
  grace_period: number;
2057
+ hardware_id: string;
2019
2058
  hash_md5: string;
2020
2059
  installation_file: string;
2021
2060
  is_air_gapped: boolean;
@@ -2047,7 +2086,7 @@ export default class LicenseAPI {
2047
2086
  custom_fields: import("./types").CustomField[];
2048
2087
  customer: import("./types").Customer;
2049
2088
  product_details: import("./types").ProductDetails;
2050
- metadata: import("./types").JSON;
2089
+ metadata: JSON;
2051
2090
  } & {
2052
2091
  license_key?: undefined;
2053
2092
  user: import("./types").LicenseUser;
@@ -2070,6 +2109,7 @@ export default class LicenseAPI {
2070
2109
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2071
2110
  } & {
2072
2111
  license_signature_v2: string;
2112
+ date: string;
2073
2113
  }) | ({
2074
2114
  id: number;
2075
2115
  allow_grace_period: boolean;
@@ -2084,6 +2124,7 @@ export default class LicenseAPI {
2084
2124
  eula_link: string;
2085
2125
  floating_timeout: number;
2086
2126
  grace_period: number;
2127
+ hardware_id: string;
2087
2128
  hash_md5: string;
2088
2129
  installation_file: string;
2089
2130
  is_air_gapped: boolean;
@@ -2115,7 +2156,7 @@ export default class LicenseAPI {
2115
2156
  custom_fields: import("./types").CustomField[];
2116
2157
  customer: import("./types").Customer;
2117
2158
  product_details: import("./types").ProductDetails;
2118
- metadata: import("./types").JSON;
2159
+ metadata: JSON;
2119
2160
  } & {
2120
2161
  license_key?: undefined;
2121
2162
  user: import("./types").LicenseUser;
@@ -2138,6 +2179,7 @@ export default class LicenseAPI {
2138
2179
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2139
2180
  } & {
2140
2181
  license_signature_v2: string;
2182
+ date: string;
2141
2183
  }) | ({
2142
2184
  id: number;
2143
2185
  allow_grace_period: boolean;
@@ -2152,6 +2194,7 @@ export default class LicenseAPI {
2152
2194
  eula_link: string;
2153
2195
  floating_timeout: number;
2154
2196
  grace_period: number;
2197
+ hardware_id: string;
2155
2198
  hash_md5: string;
2156
2199
  installation_file: string;
2157
2200
  is_air_gapped: boolean;
@@ -2183,7 +2226,7 @@ export default class LicenseAPI {
2183
2226
  custom_fields: import("./types").CustomField[];
2184
2227
  customer: import("./types").Customer;
2185
2228
  product_details: import("./types").ProductDetails;
2186
- metadata: import("./types").JSON;
2229
+ metadata: JSON;
2187
2230
  } & {
2188
2231
  license_key?: undefined;
2189
2232
  user: import("./types").LicenseUser;
@@ -2206,6 +2249,7 @@ export default class LicenseAPI {
2206
2249
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2207
2250
  } & {
2208
2251
  license_signature_v2: string;
2252
+ date: string;
2209
2253
  }) | ({
2210
2254
  id: number;
2211
2255
  allow_grace_period: boolean;
@@ -2220,6 +2264,7 @@ export default class LicenseAPI {
2220
2264
  eula_link: string;
2221
2265
  floating_timeout: number;
2222
2266
  grace_period: number;
2267
+ hardware_id: string;
2223
2268
  hash_md5: string;
2224
2269
  installation_file: string;
2225
2270
  is_air_gapped: boolean;
@@ -2251,7 +2296,7 @@ export default class LicenseAPI {
2251
2296
  custom_fields: import("./types").CustomField[];
2252
2297
  customer: import("./types").Customer;
2253
2298
  product_details: import("./types").ProductDetails;
2254
- metadata: import("./types").JSON;
2299
+ metadata: JSON;
2255
2300
  } & {
2256
2301
  license_key?: undefined;
2257
2302
  user: import("./types").LicenseUser;
@@ -2274,6 +2319,7 @@ export default class LicenseAPI {
2274
2319
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2275
2320
  } & {
2276
2321
  license_signature_v2: string;
2322
+ date: string;
2277
2323
  }) | ({
2278
2324
  id: number;
2279
2325
  allow_grace_period: boolean;
@@ -2288,6 +2334,7 @@ export default class LicenseAPI {
2288
2334
  eula_link: string;
2289
2335
  floating_timeout: number;
2290
2336
  grace_period: number;
2337
+ hardware_id: string;
2291
2338
  hash_md5: string;
2292
2339
  installation_file: string;
2293
2340
  is_air_gapped: boolean;
@@ -2319,7 +2366,7 @@ export default class LicenseAPI {
2319
2366
  custom_fields: import("./types").CustomField[];
2320
2367
  customer: import("./types").Customer;
2321
2368
  product_details: import("./types").ProductDetails;
2322
- metadata: import("./types").JSON;
2369
+ metadata: JSON;
2323
2370
  } & {
2324
2371
  license_key?: undefined;
2325
2372
  user: import("./types").LicenseUser;
@@ -2342,6 +2389,7 @@ export default class LicenseAPI {
2342
2389
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2343
2390
  } & {
2344
2391
  license_signature_v2: string;
2392
+ date: string;
2345
2393
  }) | ({
2346
2394
  id: number;
2347
2395
  allow_grace_period: boolean;
@@ -2356,6 +2404,7 @@ export default class LicenseAPI {
2356
2404
  eula_link: string;
2357
2405
  floating_timeout: number;
2358
2406
  grace_period: number;
2407
+ hardware_id: string;
2359
2408
  hash_md5: string;
2360
2409
  installation_file: string;
2361
2410
  is_air_gapped: boolean;
@@ -2387,7 +2436,7 @@ export default class LicenseAPI {
2387
2436
  custom_fields: import("./types").CustomField[];
2388
2437
  customer: import("./types").Customer;
2389
2438
  product_details: import("./types").ProductDetails;
2390
- metadata: import("./types").JSON;
2439
+ metadata: JSON;
2391
2440
  } & {
2392
2441
  license_key?: undefined;
2393
2442
  user: import("./types").LicenseUser;
@@ -2410,8 +2459,9 @@ export default class LicenseAPI {
2410
2459
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2411
2460
  } & {
2412
2461
  license_signature_v2: string;
2462
+ date: string;
2413
2463
  })>;
2414
- deactivateOffline(payload: LicenseIdentificator): Promise<boolean>;
2464
+ deactivateOffline(payload: string): Promise<boolean>;
2415
2465
  checkLicenseOffline(payloadBase64: string): ({
2416
2466
  id: number;
2417
2467
  allow_grace_period: boolean;
@@ -2426,6 +2476,7 @@ export default class LicenseAPI {
2426
2476
  eula_link: string;
2427
2477
  floating_timeout: number;
2428
2478
  grace_period: number;
2479
+ hardware_id: string;
2429
2480
  hash_md5: string;
2430
2481
  installation_file: string;
2431
2482
  is_air_gapped: boolean;
@@ -2457,7 +2508,7 @@ export default class LicenseAPI {
2457
2508
  custom_fields: import("./types").CustomField[];
2458
2509
  customer: import("./types").Customer;
2459
2510
  product_details: import("./types").ProductDetails;
2460
- metadata: import("./types").JSON;
2511
+ metadata: JSON;
2461
2512
  } & {
2462
2513
  user?: undefined;
2463
2514
  license_key: string;
@@ -2480,6 +2531,7 @@ export default class LicenseAPI {
2480
2531
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2481
2532
  } & {
2482
2533
  license_signature_v2: string;
2534
+ date: string;
2483
2535
  } & {
2484
2536
  offline_signature: string;
2485
2537
  }) | ({
@@ -2496,6 +2548,7 @@ export default class LicenseAPI {
2496
2548
  eula_link: string;
2497
2549
  floating_timeout: number;
2498
2550
  grace_period: number;
2551
+ hardware_id: string;
2499
2552
  hash_md5: string;
2500
2553
  installation_file: string;
2501
2554
  is_air_gapped: boolean;
@@ -2527,7 +2580,7 @@ export default class LicenseAPI {
2527
2580
  custom_fields: import("./types").CustomField[];
2528
2581
  customer: import("./types").Customer;
2529
2582
  product_details: import("./types").ProductDetails;
2530
- metadata: import("./types").JSON;
2583
+ metadata: JSON;
2531
2584
  } & {
2532
2585
  user?: undefined;
2533
2586
  license_key: string;
@@ -2550,6 +2603,7 @@ export default class LicenseAPI {
2550
2603
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2551
2604
  } & {
2552
2605
  license_signature_v2: string;
2606
+ date: string;
2553
2607
  } & {
2554
2608
  offline_signature: string;
2555
2609
  }) | ({
@@ -2566,6 +2620,7 @@ export default class LicenseAPI {
2566
2620
  eula_link: string;
2567
2621
  floating_timeout: number;
2568
2622
  grace_period: number;
2623
+ hardware_id: string;
2569
2624
  hash_md5: string;
2570
2625
  installation_file: string;
2571
2626
  is_air_gapped: boolean;
@@ -2597,7 +2652,7 @@ export default class LicenseAPI {
2597
2652
  custom_fields: import("./types").CustomField[];
2598
2653
  customer: import("./types").Customer;
2599
2654
  product_details: import("./types").ProductDetails;
2600
- metadata: import("./types").JSON;
2655
+ metadata: JSON;
2601
2656
  } & {
2602
2657
  user?: undefined;
2603
2658
  license_key: string;
@@ -2620,6 +2675,7 @@ export default class LicenseAPI {
2620
2675
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2621
2676
  } & {
2622
2677
  license_signature_v2: string;
2678
+ date: string;
2623
2679
  } & {
2624
2680
  offline_signature: string;
2625
2681
  }) | ({
@@ -2636,6 +2692,7 @@ export default class LicenseAPI {
2636
2692
  eula_link: string;
2637
2693
  floating_timeout: number;
2638
2694
  grace_period: number;
2695
+ hardware_id: string;
2639
2696
  hash_md5: string;
2640
2697
  installation_file: string;
2641
2698
  is_air_gapped: boolean;
@@ -2667,7 +2724,7 @@ export default class LicenseAPI {
2667
2724
  custom_fields: import("./types").CustomField[];
2668
2725
  customer: import("./types").Customer;
2669
2726
  product_details: import("./types").ProductDetails;
2670
- metadata: import("./types").JSON;
2727
+ metadata: JSON;
2671
2728
  } & {
2672
2729
  user?: undefined;
2673
2730
  license_key: string;
@@ -2690,6 +2747,7 @@ export default class LicenseAPI {
2690
2747
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2691
2748
  } & {
2692
2749
  license_signature_v2: string;
2750
+ date: string;
2693
2751
  } & {
2694
2752
  offline_signature: string;
2695
2753
  }) | ({
@@ -2706,6 +2764,7 @@ export default class LicenseAPI {
2706
2764
  eula_link: string;
2707
2765
  floating_timeout: number;
2708
2766
  grace_period: number;
2767
+ hardware_id: string;
2709
2768
  hash_md5: string;
2710
2769
  installation_file: string;
2711
2770
  is_air_gapped: boolean;
@@ -2737,7 +2796,7 @@ export default class LicenseAPI {
2737
2796
  custom_fields: import("./types").CustomField[];
2738
2797
  customer: import("./types").Customer;
2739
2798
  product_details: import("./types").ProductDetails;
2740
- metadata: import("./types").JSON;
2799
+ metadata: JSON;
2741
2800
  } & {
2742
2801
  user?: undefined;
2743
2802
  license_key: string;
@@ -2760,6 +2819,7 @@ export default class LicenseAPI {
2760
2819
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2761
2820
  } & {
2762
2821
  license_signature_v2: string;
2822
+ date: string;
2763
2823
  } & {
2764
2824
  offline_signature: string;
2765
2825
  }) | ({
@@ -2776,6 +2836,7 @@ export default class LicenseAPI {
2776
2836
  eula_link: string;
2777
2837
  floating_timeout: number;
2778
2838
  grace_period: number;
2839
+ hardware_id: string;
2779
2840
  hash_md5: string;
2780
2841
  installation_file: string;
2781
2842
  is_air_gapped: boolean;
@@ -2807,7 +2868,7 @@ export default class LicenseAPI {
2807
2868
  custom_fields: import("./types").CustomField[];
2808
2869
  customer: import("./types").Customer;
2809
2870
  product_details: import("./types").ProductDetails;
2810
- metadata: import("./types").JSON;
2871
+ metadata: JSON;
2811
2872
  } & {
2812
2873
  user?: undefined;
2813
2874
  license_key: string;
@@ -2830,6 +2891,7 @@ export default class LicenseAPI {
2830
2891
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2831
2892
  } & {
2832
2893
  license_signature_v2: string;
2894
+ date: string;
2833
2895
  } & {
2834
2896
  offline_signature: string;
2835
2897
  }) | ({
@@ -2846,6 +2908,7 @@ export default class LicenseAPI {
2846
2908
  eula_link: string;
2847
2909
  floating_timeout: number;
2848
2910
  grace_period: number;
2911
+ hardware_id: string;
2849
2912
  hash_md5: string;
2850
2913
  installation_file: string;
2851
2914
  is_air_gapped: boolean;
@@ -2877,7 +2940,7 @@ export default class LicenseAPI {
2877
2940
  custom_fields: import("./types").CustomField[];
2878
2941
  customer: import("./types").Customer;
2879
2942
  product_details: import("./types").ProductDetails;
2880
- metadata: import("./types").JSON;
2943
+ metadata: JSON;
2881
2944
  } & {
2882
2945
  license_key?: undefined;
2883
2946
  user: import("./types").LicenseUser;
@@ -2900,6 +2963,7 @@ export default class LicenseAPI {
2900
2963
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2901
2964
  } & {
2902
2965
  license_signature_v2: string;
2966
+ date: string;
2903
2967
  } & {
2904
2968
  offline_signature: string;
2905
2969
  }) | ({
@@ -2916,6 +2980,7 @@ export default class LicenseAPI {
2916
2980
  eula_link: string;
2917
2981
  floating_timeout: number;
2918
2982
  grace_period: number;
2983
+ hardware_id: string;
2919
2984
  hash_md5: string;
2920
2985
  installation_file: string;
2921
2986
  is_air_gapped: boolean;
@@ -2947,7 +3012,7 @@ export default class LicenseAPI {
2947
3012
  custom_fields: import("./types").CustomField[];
2948
3013
  customer: import("./types").Customer;
2949
3014
  product_details: import("./types").ProductDetails;
2950
- metadata: import("./types").JSON;
3015
+ metadata: JSON;
2951
3016
  } & {
2952
3017
  license_key?: undefined;
2953
3018
  user: import("./types").LicenseUser;
@@ -2970,6 +3035,7 @@ export default class LicenseAPI {
2970
3035
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2971
3036
  } & {
2972
3037
  license_signature_v2: string;
3038
+ date: string;
2973
3039
  } & {
2974
3040
  offline_signature: string;
2975
3041
  }) | ({
@@ -2986,6 +3052,7 @@ export default class LicenseAPI {
2986
3052
  eula_link: string;
2987
3053
  floating_timeout: number;
2988
3054
  grace_period: number;
3055
+ hardware_id: string;
2989
3056
  hash_md5: string;
2990
3057
  installation_file: string;
2991
3058
  is_air_gapped: boolean;
@@ -3017,7 +3084,7 @@ export default class LicenseAPI {
3017
3084
  custom_fields: import("./types").CustomField[];
3018
3085
  customer: import("./types").Customer;
3019
3086
  product_details: import("./types").ProductDetails;
3020
- metadata: import("./types").JSON;
3087
+ metadata: JSON;
3021
3088
  } & {
3022
3089
  license_key?: undefined;
3023
3090
  user: import("./types").LicenseUser;
@@ -3040,6 +3107,7 @@ export default class LicenseAPI {
3040
3107
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3041
3108
  } & {
3042
3109
  license_signature_v2: string;
3110
+ date: string;
3043
3111
  } & {
3044
3112
  offline_signature: string;
3045
3113
  }) | ({
@@ -3056,6 +3124,7 @@ export default class LicenseAPI {
3056
3124
  eula_link: string;
3057
3125
  floating_timeout: number;
3058
3126
  grace_period: number;
3127
+ hardware_id: string;
3059
3128
  hash_md5: string;
3060
3129
  installation_file: string;
3061
3130
  is_air_gapped: boolean;
@@ -3087,7 +3156,7 @@ export default class LicenseAPI {
3087
3156
  custom_fields: import("./types").CustomField[];
3088
3157
  customer: import("./types").Customer;
3089
3158
  product_details: import("./types").ProductDetails;
3090
- metadata: import("./types").JSON;
3159
+ metadata: JSON;
3091
3160
  } & {
3092
3161
  license_key?: undefined;
3093
3162
  user: import("./types").LicenseUser;
@@ -3110,6 +3179,7 @@ export default class LicenseAPI {
3110
3179
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3111
3180
  } & {
3112
3181
  license_signature_v2: string;
3182
+ date: string;
3113
3183
  } & {
3114
3184
  offline_signature: string;
3115
3185
  }) | ({
@@ -3126,6 +3196,7 @@ export default class LicenseAPI {
3126
3196
  eula_link: string;
3127
3197
  floating_timeout: number;
3128
3198
  grace_period: number;
3199
+ hardware_id: string;
3129
3200
  hash_md5: string;
3130
3201
  installation_file: string;
3131
3202
  is_air_gapped: boolean;
@@ -3157,7 +3228,7 @@ export default class LicenseAPI {
3157
3228
  custom_fields: import("./types").CustomField[];
3158
3229
  customer: import("./types").Customer;
3159
3230
  product_details: import("./types").ProductDetails;
3160
- metadata: import("./types").JSON;
3231
+ metadata: JSON;
3161
3232
  } & {
3162
3233
  license_key?: undefined;
3163
3234
  user: import("./types").LicenseUser;
@@ -3180,6 +3251,7 @@ export default class LicenseAPI {
3180
3251
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3181
3252
  } & {
3182
3253
  license_signature_v2: string;
3254
+ date: string;
3183
3255
  } & {
3184
3256
  offline_signature: string;
3185
3257
  }) | ({
@@ -3196,6 +3268,7 @@ export default class LicenseAPI {
3196
3268
  eula_link: string;
3197
3269
  floating_timeout: number;
3198
3270
  grace_period: number;
3271
+ hardware_id: string;
3199
3272
  hash_md5: string;
3200
3273
  installation_file: string;
3201
3274
  is_air_gapped: boolean;
@@ -3227,7 +3300,7 @@ export default class LicenseAPI {
3227
3300
  custom_fields: import("./types").CustomField[];
3228
3301
  customer: import("./types").Customer;
3229
3302
  product_details: import("./types").ProductDetails;
3230
- metadata: import("./types").JSON;
3303
+ metadata: JSON;
3231
3304
  } & {
3232
3305
  license_key?: undefined;
3233
3306
  user: import("./types").LicenseUser;
@@ -3250,11 +3323,12 @@ export default class LicenseAPI {
3250
3323
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3251
3324
  } & {
3252
3325
  license_signature_v2: string;
3326
+ date: string;
3253
3327
  } & {
3254
3328
  offline_signature: string;
3255
3329
  });
3256
- getTrialKey(payload: TrialKeyPayload): Promise<LicenseTrialResponse>;
3257
- getUserLicenses(payload: GetUserLicensesPayload): Promise<(({
3330
+ getTrialKey(payload: FromSchema<(typeof trialKey)['querystring']>): Promise<LicenseTrialResponse>;
3331
+ getUserLicenses(payload: FromSchema<(typeof userLicenses)['querystring']>): Promise<(({
3258
3332
  id: number;
3259
3333
  allow_grace_period: boolean;
3260
3334
  allow_overages: boolean;
@@ -3268,6 +3342,7 @@ export default class LicenseAPI {
3268
3342
  eula_link: string;
3269
3343
  floating_timeout: number;
3270
3344
  grace_period: number;
3345
+ hardware_id: string;
3271
3346
  hash_md5: string;
3272
3347
  installation_file: string;
3273
3348
  is_air_gapped: boolean;
@@ -3299,7 +3374,7 @@ export default class LicenseAPI {
3299
3374
  custom_fields: import("./types").CustomField[];
3300
3375
  customer: import("./types").Customer;
3301
3376
  product_details: import("./types").ProductDetails;
3302
- metadata: import("./types").JSON;
3377
+ metadata: JSON;
3303
3378
  } & {
3304
3379
  user?: undefined;
3305
3380
  license_key: string;
@@ -3334,6 +3409,7 @@ export default class LicenseAPI {
3334
3409
  eula_link: string;
3335
3410
  floating_timeout: number;
3336
3411
  grace_period: number;
3412
+ hardware_id: string;
3337
3413
  hash_md5: string;
3338
3414
  installation_file: string;
3339
3415
  is_air_gapped: boolean;
@@ -3365,7 +3441,7 @@ export default class LicenseAPI {
3365
3441
  custom_fields: import("./types").CustomField[];
3366
3442
  customer: import("./types").Customer;
3367
3443
  product_details: import("./types").ProductDetails;
3368
- metadata: import("./types").JSON;
3444
+ metadata: JSON;
3369
3445
  } & {
3370
3446
  user?: undefined;
3371
3447
  license_key: string;
@@ -3400,6 +3476,7 @@ export default class LicenseAPI {
3400
3476
  eula_link: string;
3401
3477
  floating_timeout: number;
3402
3478
  grace_period: number;
3479
+ hardware_id: string;
3403
3480
  hash_md5: string;
3404
3481
  installation_file: string;
3405
3482
  is_air_gapped: boolean;
@@ -3431,7 +3508,7 @@ export default class LicenseAPI {
3431
3508
  custom_fields: import("./types").CustomField[];
3432
3509
  customer: import("./types").Customer;
3433
3510
  product_details: import("./types").ProductDetails;
3434
- metadata: import("./types").JSON;
3511
+ metadata: JSON;
3435
3512
  } & {
3436
3513
  user?: undefined;
3437
3514
  license_key: string;
@@ -3466,6 +3543,7 @@ export default class LicenseAPI {
3466
3543
  eula_link: string;
3467
3544
  floating_timeout: number;
3468
3545
  grace_period: number;
3546
+ hardware_id: string;
3469
3547
  hash_md5: string;
3470
3548
  installation_file: string;
3471
3549
  is_air_gapped: boolean;
@@ -3497,7 +3575,7 @@ export default class LicenseAPI {
3497
3575
  custom_fields: import("./types").CustomField[];
3498
3576
  customer: import("./types").Customer;
3499
3577
  product_details: import("./types").ProductDetails;
3500
- metadata: import("./types").JSON;
3578
+ metadata: JSON;
3501
3579
  } & {
3502
3580
  user?: undefined;
3503
3581
  license_key: string;
@@ -3532,6 +3610,7 @@ export default class LicenseAPI {
3532
3610
  eula_link: string;
3533
3611
  floating_timeout: number;
3534
3612
  grace_period: number;
3613
+ hardware_id: string;
3535
3614
  hash_md5: string;
3536
3615
  installation_file: string;
3537
3616
  is_air_gapped: boolean;
@@ -3563,7 +3642,7 @@ export default class LicenseAPI {
3563
3642
  custom_fields: import("./types").CustomField[];
3564
3643
  customer: import("./types").Customer;
3565
3644
  product_details: import("./types").ProductDetails;
3566
- metadata: import("./types").JSON;
3645
+ metadata: JSON;
3567
3646
  } & {
3568
3647
  user?: undefined;
3569
3648
  license_key: string;
@@ -3598,6 +3677,7 @@ export default class LicenseAPI {
3598
3677
  eula_link: string;
3599
3678
  floating_timeout: number;
3600
3679
  grace_period: number;
3680
+ hardware_id: string;
3601
3681
  hash_md5: string;
3602
3682
  installation_file: string;
3603
3683
  is_air_gapped: boolean;
@@ -3629,7 +3709,7 @@ export default class LicenseAPI {
3629
3709
  custom_fields: import("./types").CustomField[];
3630
3710
  customer: import("./types").Customer;
3631
3711
  product_details: import("./types").ProductDetails;
3632
- metadata: import("./types").JSON;
3712
+ metadata: JSON;
3633
3713
  } & {
3634
3714
  user?: undefined;
3635
3715
  license_key: string;
@@ -3664,6 +3744,7 @@ export default class LicenseAPI {
3664
3744
  eula_link: string;
3665
3745
  floating_timeout: number;
3666
3746
  grace_period: number;
3747
+ hardware_id: string;
3667
3748
  hash_md5: string;
3668
3749
  installation_file: string;
3669
3750
  is_air_gapped: boolean;
@@ -3695,7 +3776,7 @@ export default class LicenseAPI {
3695
3776
  custom_fields: import("./types").CustomField[];
3696
3777
  customer: import("./types").Customer;
3697
3778
  product_details: import("./types").ProductDetails;
3698
- metadata: import("./types").JSON;
3779
+ metadata: JSON;
3699
3780
  } & {
3700
3781
  license_key?: undefined;
3701
3782
  user: import("./types").LicenseUser;
@@ -3730,6 +3811,7 @@ export default class LicenseAPI {
3730
3811
  eula_link: string;
3731
3812
  floating_timeout: number;
3732
3813
  grace_period: number;
3814
+ hardware_id: string;
3733
3815
  hash_md5: string;
3734
3816
  installation_file: string;
3735
3817
  is_air_gapped: boolean;
@@ -3761,7 +3843,7 @@ export default class LicenseAPI {
3761
3843
  custom_fields: import("./types").CustomField[];
3762
3844
  customer: import("./types").Customer;
3763
3845
  product_details: import("./types").ProductDetails;
3764
- metadata: import("./types").JSON;
3846
+ metadata: JSON;
3765
3847
  } & {
3766
3848
  license_key?: undefined;
3767
3849
  user: import("./types").LicenseUser;
@@ -3796,6 +3878,7 @@ export default class LicenseAPI {
3796
3878
  eula_link: string;
3797
3879
  floating_timeout: number;
3798
3880
  grace_period: number;
3881
+ hardware_id: string;
3799
3882
  hash_md5: string;
3800
3883
  installation_file: string;
3801
3884
  is_air_gapped: boolean;
@@ -3827,7 +3910,7 @@ export default class LicenseAPI {
3827
3910
  custom_fields: import("./types").CustomField[];
3828
3911
  customer: import("./types").Customer;
3829
3912
  product_details: import("./types").ProductDetails;
3830
- metadata: import("./types").JSON;
3913
+ metadata: JSON;
3831
3914
  } & {
3832
3915
  license_key?: undefined;
3833
3916
  user: import("./types").LicenseUser;
@@ -3862,6 +3945,7 @@ export default class LicenseAPI {
3862
3945
  eula_link: string;
3863
3946
  floating_timeout: number;
3864
3947
  grace_period: number;
3948
+ hardware_id: string;
3865
3949
  hash_md5: string;
3866
3950
  installation_file: string;
3867
3951
  is_air_gapped: boolean;
@@ -3893,7 +3977,7 @@ export default class LicenseAPI {
3893
3977
  custom_fields: import("./types").CustomField[];
3894
3978
  customer: import("./types").Customer;
3895
3979
  product_details: import("./types").ProductDetails;
3896
- metadata: import("./types").JSON;
3980
+ metadata: JSON;
3897
3981
  } & {
3898
3982
  license_key?: undefined;
3899
3983
  user: import("./types").LicenseUser;
@@ -3928,6 +4012,7 @@ export default class LicenseAPI {
3928
4012
  eula_link: string;
3929
4013
  floating_timeout: number;
3930
4014
  grace_period: number;
4015
+ hardware_id: string;
3931
4016
  hash_md5: string;
3932
4017
  installation_file: string;
3933
4018
  is_air_gapped: boolean;
@@ -3959,7 +4044,7 @@ export default class LicenseAPI {
3959
4044
  custom_fields: import("./types").CustomField[];
3960
4045
  customer: import("./types").Customer;
3961
4046
  product_details: import("./types").ProductDetails;
3962
- metadata: import("./types").JSON;
4047
+ metadata: JSON;
3963
4048
  } & {
3964
4049
  license_key?: undefined;
3965
4050
  user: import("./types").LicenseUser;
@@ -3994,6 +4079,7 @@ export default class LicenseAPI {
3994
4079
  eula_link: string;
3995
4080
  floating_timeout: number;
3996
4081
  grace_period: number;
4082
+ hardware_id: string;
3997
4083
  hash_md5: string;
3998
4084
  installation_file: string;
3999
4085
  is_air_gapped: boolean;
@@ -4025,7 +4111,7 @@ export default class LicenseAPI {
4025
4111
  custom_fields: import("./types").CustomField[];
4026
4112
  customer: import("./types").Customer;
4027
4113
  product_details: import("./types").ProductDetails;
4028
- metadata: import("./types").JSON;
4114
+ metadata: JSON;
4029
4115
  } & {
4030
4116
  license_key?: undefined;
4031
4117
  user: import("./types").LicenseUser;
@@ -4047,20 +4133,20 @@ export default class LicenseAPI {
4047
4133
  reset_consumption: boolean;
4048
4134
  consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4049
4135
  }))[]>;
4050
- getCustomerLicenseUsers(payload: GetCustomerLicensesPayload): Promise<CustomerLicenseUsersResponse>;
4051
- checkLicenseFeature(payload: LicenseIdentificatorAndFeature): Promise<LicenseFeatureResponse>;
4052
- addConsumption(payload: LicenseIdentificatorAddConsumptions): Promise<LicenseConsumptionsResponse>;
4053
- addFeatureConsumption(payload: LicenseIdentificatorAddFeatureConsumptions): Promise<LicenseFeatureConsumptionResponse>;
4054
- featureRelease(payload: LicenseIdentificatorAndFeature): Promise<boolean>;
4055
- getProductDetails(payload: ProductDetailsPayload): Promise<ProductDetailsResponse>;
4056
- getDeviceVariables(payload: LicenseIdentificator): Promise<DeviceVariable[]>;
4057
- trackDeviceVariables(payload: LicenseIdentificatorWithVariables): Promise<DeviceVariable[]>;
4058
- floatingBorrow(payload: LicenseIdentificatorWithBorrowedUntil): Promise<LicenseBorrowResponse>;
4059
- floatingRelease(payload: LicenseIdentificator): Promise<boolean>;
4060
- changePassword(payload: PasswordChangePayload): Promise<boolean>;
4061
- getVersions(payload: LicenseIdentificator): Promise<VersionsResponse>;
4062
- getInstallationFile(payload: LicenseIdentificatorWithInstallation): Promise<InstallationFileResponse>;
4063
- getSSOUrl(payload: SSOURLParams): Promise<{
4136
+ getCustomerLicenseUsers(payload: FromSchema<(typeof customerLicenseUsers)['querystring']>): Promise<CustomerLicenseUsersResponse>;
4137
+ checkLicenseFeature(payload: FromSchema<(typeof checkLicenseFeature)['querystring']>): Promise<LicenseFeatureResponse>;
4138
+ addConsumption(payload: FromSchema<(typeof addConsumption)['body']>): Promise<LicenseConsumptionsResponse>;
4139
+ addFeatureConsumption(payload: FromSchema<(typeof addFeatureConsumption)['body']>): Promise<LicenseFeatureConsumptionResponse>;
4140
+ featureRelease(payload: FromSchema<(typeof floatingFeatureRelease)['body']>): Promise<boolean>;
4141
+ getProductDetails(payload: FromSchema<(typeof productDetails)['querystring']>): Promise<ProductDetailsResponse>;
4142
+ getDeviceVariables(payload: FromSchema<(typeof getDeviceVariables)['querystring']>): Promise<DeviceVariable[]>;
4143
+ trackDeviceVariables(payload: FromSchema<(typeof trackDeviceVariables)['body']>): Promise<DeviceVariable[]>;
4144
+ floatingBorrow(payload: FromSchema<(typeof floatingBorrow)['body']>): Promise<LicenseBorrowResponse>;
4145
+ floatingRelease(payload: FromSchema<(typeof floatingRelease)['body']>): Promise<boolean>;
4146
+ changePassword(payload: FromSchema<(typeof changePassword)['body']>): Promise<boolean>;
4147
+ getVersions(payload: FromSchema<(typeof versions)['querystring']>): Promise<VersionsResponse>;
4148
+ getInstallationFile(payload: FromSchema<(typeof installationFile)['querystring']>): Promise<InstallationFileResponse>;
4149
+ getSSOUrl(payload: FromSchema<(typeof ssoUrl)['querystring']>): Promise<{
4064
4150
  url: string;
4065
4151
  }>;
4066
4152
  getAirGapActivationCode(initializationCode: string, licenseKey: string): string;
@@ -4068,4 +4154,849 @@ export default class LicenseAPI {
4068
4154
  checkGuard(offlineData: OfflineActivation, licenseKey: string): boolean;
4069
4155
  activateAirgappedLicense(activationPayload: OfflineActivation, licenseKey: string, policyId: string): any;
4070
4156
  createActivationGuard(licenseKey: string): OfflineActivation;
4157
+ createOfflineActivationPayload(payload: CreateOfflineActivationRequestPayload): string;
4158
+ createOfflineDeactivationPayload(payload: CreateOfflineDeactivationRequestPayload): string;
4159
+ decodeOfflineActivationPayload(payload: string): any;
4160
+ decodeOfflineDeactivationPayload(payload: string): any;
4161
+ checkOfflineActivationResponse(payload: string): ({
4162
+ id: number;
4163
+ allow_grace_period: boolean;
4164
+ allow_overages: boolean;
4165
+ allow_unlimited_activations: boolean;
4166
+ borrowed_until: string | null;
4167
+ can_borrow: boolean;
4168
+ channel: string;
4169
+ device_id: number;
4170
+ enable_maintenance_period: boolean;
4171
+ environment: string;
4172
+ eula_link: string;
4173
+ floating_timeout: number;
4174
+ grace_period: number;
4175
+ hardware_id: string;
4176
+ hash_md5: string;
4177
+ installation_file: string;
4178
+ is_air_gapped: boolean;
4179
+ is_borrowed: boolean;
4180
+ is_expired: boolean;
4181
+ is_hardware_key_auth: boolean;
4182
+ license_active: boolean;
4183
+ license_enabled: boolean;
4184
+ license_signature: string;
4185
+ license_type: import("./types").LicenseType;
4186
+ maintenance_period: string | null;
4187
+ max_activations: number;
4188
+ max_borrow_time: number;
4189
+ max_license_users: number;
4190
+ max_overages: number;
4191
+ max_transfers?: number;
4192
+ order_store_id: string;
4193
+ prevent_vm: boolean;
4194
+ release_date: string;
4195
+ release_notes_link: string;
4196
+ requires_version: string;
4197
+ size: string;
4198
+ start_date: string | null;
4199
+ times_activated: number;
4200
+ transfer_count: number;
4201
+ validity_period: import("./types").DateISO8601UTC | null;
4202
+ version: string;
4203
+ product_features: import("./types").ProductFeature[];
4204
+ custom_fields: import("./types").CustomField[];
4205
+ customer: import("./types").Customer;
4206
+ product_details: import("./types").ProductDetails;
4207
+ metadata: JSON;
4208
+ } & {
4209
+ user?: undefined;
4210
+ license_key: string;
4211
+ } & {
4212
+ is_floating: true;
4213
+ is_floating_cloud: boolean;
4214
+ floating_in_use_devices: number;
4215
+ floating_users: number;
4216
+ } & {
4217
+ trial_days?: undefined;
4218
+ is_trial: false;
4219
+ } & {
4220
+ license_type: "consumption";
4221
+ max_consumptions: number;
4222
+ total_consumptions: number;
4223
+ allow_unlimited_consumptions: boolean;
4224
+ allow_overages: boolean;
4225
+ max_overages: number;
4226
+ reset_consumption: boolean;
4227
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4228
+ } & {
4229
+ license_signature_v2: string;
4230
+ date: string;
4231
+ }) | ({
4232
+ id: number;
4233
+ allow_grace_period: boolean;
4234
+ allow_overages: boolean;
4235
+ allow_unlimited_activations: boolean;
4236
+ borrowed_until: string | null;
4237
+ can_borrow: boolean;
4238
+ channel: string;
4239
+ device_id: number;
4240
+ enable_maintenance_period: boolean;
4241
+ environment: string;
4242
+ eula_link: string;
4243
+ floating_timeout: number;
4244
+ grace_period: number;
4245
+ hardware_id: string;
4246
+ hash_md5: string;
4247
+ installation_file: string;
4248
+ is_air_gapped: boolean;
4249
+ is_borrowed: boolean;
4250
+ is_expired: boolean;
4251
+ is_hardware_key_auth: boolean;
4252
+ license_active: boolean;
4253
+ license_enabled: boolean;
4254
+ license_signature: string;
4255
+ license_type: import("./types").LicenseType;
4256
+ maintenance_period: string | null;
4257
+ max_activations: number;
4258
+ max_borrow_time: number;
4259
+ max_license_users: number;
4260
+ max_overages: number;
4261
+ max_transfers?: number;
4262
+ order_store_id: string;
4263
+ prevent_vm: boolean;
4264
+ release_date: string;
4265
+ release_notes_link: string;
4266
+ requires_version: string;
4267
+ size: string;
4268
+ start_date: string | null;
4269
+ times_activated: number;
4270
+ transfer_count: number;
4271
+ validity_period: import("./types").DateISO8601UTC | null;
4272
+ version: string;
4273
+ product_features: import("./types").ProductFeature[];
4274
+ custom_fields: import("./types").CustomField[];
4275
+ customer: import("./types").Customer;
4276
+ product_details: import("./types").ProductDetails;
4277
+ metadata: JSON;
4278
+ } & {
4279
+ user?: undefined;
4280
+ license_key: string;
4281
+ } & {
4282
+ is_floating: true;
4283
+ is_floating_cloud: boolean;
4284
+ floating_in_use_devices: number;
4285
+ floating_users: number;
4286
+ } & {
4287
+ is_trial: true;
4288
+ trial_days: number;
4289
+ } & {
4290
+ license_type: "consumption";
4291
+ max_consumptions: number;
4292
+ total_consumptions: number;
4293
+ allow_unlimited_consumptions: boolean;
4294
+ allow_overages: boolean;
4295
+ max_overages: number;
4296
+ reset_consumption: boolean;
4297
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4298
+ } & {
4299
+ license_signature_v2: string;
4300
+ date: string;
4301
+ }) | ({
4302
+ id: number;
4303
+ allow_grace_period: boolean;
4304
+ allow_overages: boolean;
4305
+ allow_unlimited_activations: boolean;
4306
+ borrowed_until: string | null;
4307
+ can_borrow: boolean;
4308
+ channel: string;
4309
+ device_id: number;
4310
+ enable_maintenance_period: boolean;
4311
+ environment: string;
4312
+ eula_link: string;
4313
+ floating_timeout: number;
4314
+ grace_period: number;
4315
+ hardware_id: string;
4316
+ hash_md5: string;
4317
+ installation_file: string;
4318
+ is_air_gapped: boolean;
4319
+ is_borrowed: boolean;
4320
+ is_expired: boolean;
4321
+ is_hardware_key_auth: boolean;
4322
+ license_active: boolean;
4323
+ license_enabled: boolean;
4324
+ license_signature: string;
4325
+ license_type: import("./types").LicenseType;
4326
+ maintenance_period: string | null;
4327
+ max_activations: number;
4328
+ max_borrow_time: number;
4329
+ max_license_users: number;
4330
+ max_overages: number;
4331
+ max_transfers?: number;
4332
+ order_store_id: string;
4333
+ prevent_vm: boolean;
4334
+ release_date: string;
4335
+ release_notes_link: string;
4336
+ requires_version: string;
4337
+ size: string;
4338
+ start_date: string | null;
4339
+ times_activated: number;
4340
+ transfer_count: number;
4341
+ validity_period: import("./types").DateISO8601UTC | null;
4342
+ version: string;
4343
+ product_features: import("./types").ProductFeature[];
4344
+ custom_fields: import("./types").CustomField[];
4345
+ customer: import("./types").Customer;
4346
+ product_details: import("./types").ProductDetails;
4347
+ metadata: JSON;
4348
+ } & {
4349
+ user?: undefined;
4350
+ license_key: string;
4351
+ } & {
4352
+ is_floating: boolean;
4353
+ is_floating_cloud: true;
4354
+ floating_in_use_devices: number;
4355
+ floating_users: number;
4356
+ } & {
4357
+ trial_days?: undefined;
4358
+ is_trial: false;
4359
+ } & {
4360
+ license_type: "consumption";
4361
+ max_consumptions: number;
4362
+ total_consumptions: number;
4363
+ allow_unlimited_consumptions: boolean;
4364
+ allow_overages: boolean;
4365
+ max_overages: number;
4366
+ reset_consumption: boolean;
4367
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4368
+ } & {
4369
+ license_signature_v2: string;
4370
+ date: string;
4371
+ }) | ({
4372
+ id: number;
4373
+ allow_grace_period: boolean;
4374
+ allow_overages: boolean;
4375
+ allow_unlimited_activations: boolean;
4376
+ borrowed_until: string | null;
4377
+ can_borrow: boolean;
4378
+ channel: string;
4379
+ device_id: number;
4380
+ enable_maintenance_period: boolean;
4381
+ environment: string;
4382
+ eula_link: string;
4383
+ floating_timeout: number;
4384
+ grace_period: number;
4385
+ hardware_id: string;
4386
+ hash_md5: string;
4387
+ installation_file: string;
4388
+ is_air_gapped: boolean;
4389
+ is_borrowed: boolean;
4390
+ is_expired: boolean;
4391
+ is_hardware_key_auth: boolean;
4392
+ license_active: boolean;
4393
+ license_enabled: boolean;
4394
+ license_signature: string;
4395
+ license_type: import("./types").LicenseType;
4396
+ maintenance_period: string | null;
4397
+ max_activations: number;
4398
+ max_borrow_time: number;
4399
+ max_license_users: number;
4400
+ max_overages: number;
4401
+ max_transfers?: number;
4402
+ order_store_id: string;
4403
+ prevent_vm: boolean;
4404
+ release_date: string;
4405
+ release_notes_link: string;
4406
+ requires_version: string;
4407
+ size: string;
4408
+ start_date: string | null;
4409
+ times_activated: number;
4410
+ transfer_count: number;
4411
+ validity_period: import("./types").DateISO8601UTC | null;
4412
+ version: string;
4413
+ product_features: import("./types").ProductFeature[];
4414
+ custom_fields: import("./types").CustomField[];
4415
+ customer: import("./types").Customer;
4416
+ product_details: import("./types").ProductDetails;
4417
+ metadata: JSON;
4418
+ } & {
4419
+ user?: undefined;
4420
+ license_key: string;
4421
+ } & {
4422
+ is_floating: boolean;
4423
+ is_floating_cloud: true;
4424
+ floating_in_use_devices: number;
4425
+ floating_users: number;
4426
+ } & {
4427
+ is_trial: true;
4428
+ trial_days: number;
4429
+ } & {
4430
+ license_type: "consumption";
4431
+ max_consumptions: number;
4432
+ total_consumptions: number;
4433
+ allow_unlimited_consumptions: boolean;
4434
+ allow_overages: boolean;
4435
+ max_overages: number;
4436
+ reset_consumption: boolean;
4437
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4438
+ } & {
4439
+ license_signature_v2: string;
4440
+ date: string;
4441
+ }) | ({
4442
+ id: number;
4443
+ allow_grace_period: boolean;
4444
+ allow_overages: boolean;
4445
+ allow_unlimited_activations: boolean;
4446
+ borrowed_until: string | null;
4447
+ can_borrow: boolean;
4448
+ channel: string;
4449
+ device_id: number;
4450
+ enable_maintenance_period: boolean;
4451
+ environment: string;
4452
+ eula_link: string;
4453
+ floating_timeout: number;
4454
+ grace_period: number;
4455
+ hardware_id: string;
4456
+ hash_md5: string;
4457
+ installation_file: string;
4458
+ is_air_gapped: boolean;
4459
+ is_borrowed: boolean;
4460
+ is_expired: boolean;
4461
+ is_hardware_key_auth: boolean;
4462
+ license_active: boolean;
4463
+ license_enabled: boolean;
4464
+ license_signature: string;
4465
+ license_type: import("./types").LicenseType;
4466
+ maintenance_period: string | null;
4467
+ max_activations: number;
4468
+ max_borrow_time: number;
4469
+ max_license_users: number;
4470
+ max_overages: number;
4471
+ max_transfers?: number;
4472
+ order_store_id: string;
4473
+ prevent_vm: boolean;
4474
+ release_date: string;
4475
+ release_notes_link: string;
4476
+ requires_version: string;
4477
+ size: string;
4478
+ start_date: string | null;
4479
+ times_activated: number;
4480
+ transfer_count: number;
4481
+ validity_period: import("./types").DateISO8601UTC | null;
4482
+ version: string;
4483
+ product_features: import("./types").ProductFeature[];
4484
+ custom_fields: import("./types").CustomField[];
4485
+ customer: import("./types").Customer;
4486
+ product_details: import("./types").ProductDetails;
4487
+ metadata: JSON;
4488
+ } & {
4489
+ user?: undefined;
4490
+ license_key: string;
4491
+ } & {
4492
+ floating_users?: undefined;
4493
+ floating_in_use_devices?: undefined;
4494
+ is_floating_cloud: false;
4495
+ is_floating: false;
4496
+ } & {
4497
+ trial_days?: undefined;
4498
+ is_trial: false;
4499
+ } & {
4500
+ license_type: "consumption";
4501
+ max_consumptions: number;
4502
+ total_consumptions: number;
4503
+ allow_unlimited_consumptions: boolean;
4504
+ allow_overages: boolean;
4505
+ max_overages: number;
4506
+ reset_consumption: boolean;
4507
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4508
+ } & {
4509
+ license_signature_v2: string;
4510
+ date: string;
4511
+ }) | ({
4512
+ id: number;
4513
+ allow_grace_period: boolean;
4514
+ allow_overages: boolean;
4515
+ allow_unlimited_activations: boolean;
4516
+ borrowed_until: string | null;
4517
+ can_borrow: boolean;
4518
+ channel: string;
4519
+ device_id: number;
4520
+ enable_maintenance_period: boolean;
4521
+ environment: string;
4522
+ eula_link: string;
4523
+ floating_timeout: number;
4524
+ grace_period: number;
4525
+ hardware_id: string;
4526
+ hash_md5: string;
4527
+ installation_file: string;
4528
+ is_air_gapped: boolean;
4529
+ is_borrowed: boolean;
4530
+ is_expired: boolean;
4531
+ is_hardware_key_auth: boolean;
4532
+ license_active: boolean;
4533
+ license_enabled: boolean;
4534
+ license_signature: string;
4535
+ license_type: import("./types").LicenseType;
4536
+ maintenance_period: string | null;
4537
+ max_activations: number;
4538
+ max_borrow_time: number;
4539
+ max_license_users: number;
4540
+ max_overages: number;
4541
+ max_transfers?: number;
4542
+ order_store_id: string;
4543
+ prevent_vm: boolean;
4544
+ release_date: string;
4545
+ release_notes_link: string;
4546
+ requires_version: string;
4547
+ size: string;
4548
+ start_date: string | null;
4549
+ times_activated: number;
4550
+ transfer_count: number;
4551
+ validity_period: import("./types").DateISO8601UTC | null;
4552
+ version: string;
4553
+ product_features: import("./types").ProductFeature[];
4554
+ custom_fields: import("./types").CustomField[];
4555
+ customer: import("./types").Customer;
4556
+ product_details: import("./types").ProductDetails;
4557
+ metadata: JSON;
4558
+ } & {
4559
+ user?: undefined;
4560
+ license_key: string;
4561
+ } & {
4562
+ floating_users?: undefined;
4563
+ floating_in_use_devices?: undefined;
4564
+ is_floating_cloud: false;
4565
+ is_floating: false;
4566
+ } & {
4567
+ is_trial: true;
4568
+ trial_days: number;
4569
+ } & {
4570
+ license_type: "consumption";
4571
+ max_consumptions: number;
4572
+ total_consumptions: number;
4573
+ allow_unlimited_consumptions: boolean;
4574
+ allow_overages: boolean;
4575
+ max_overages: number;
4576
+ reset_consumption: boolean;
4577
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4578
+ } & {
4579
+ license_signature_v2: string;
4580
+ date: string;
4581
+ }) | ({
4582
+ id: number;
4583
+ allow_grace_period: boolean;
4584
+ allow_overages: boolean;
4585
+ allow_unlimited_activations: boolean;
4586
+ borrowed_until: string | null;
4587
+ can_borrow: boolean;
4588
+ channel: string;
4589
+ device_id: number;
4590
+ enable_maintenance_period: boolean;
4591
+ environment: string;
4592
+ eula_link: string;
4593
+ floating_timeout: number;
4594
+ grace_period: number;
4595
+ hardware_id: string;
4596
+ hash_md5: string;
4597
+ installation_file: string;
4598
+ is_air_gapped: boolean;
4599
+ is_borrowed: boolean;
4600
+ is_expired: boolean;
4601
+ is_hardware_key_auth: boolean;
4602
+ license_active: boolean;
4603
+ license_enabled: boolean;
4604
+ license_signature: string;
4605
+ license_type: import("./types").LicenseType;
4606
+ maintenance_period: string | null;
4607
+ max_activations: number;
4608
+ max_borrow_time: number;
4609
+ max_license_users: number;
4610
+ max_overages: number;
4611
+ max_transfers?: number;
4612
+ order_store_id: string;
4613
+ prevent_vm: boolean;
4614
+ release_date: string;
4615
+ release_notes_link: string;
4616
+ requires_version: string;
4617
+ size: string;
4618
+ start_date: string | null;
4619
+ times_activated: number;
4620
+ transfer_count: number;
4621
+ validity_period: import("./types").DateISO8601UTC | null;
4622
+ version: string;
4623
+ product_features: import("./types").ProductFeature[];
4624
+ custom_fields: import("./types").CustomField[];
4625
+ customer: import("./types").Customer;
4626
+ product_details: import("./types").ProductDetails;
4627
+ metadata: JSON;
4628
+ } & {
4629
+ license_key?: undefined;
4630
+ user: import("./types").LicenseUser;
4631
+ } & {
4632
+ is_floating: true;
4633
+ is_floating_cloud: boolean;
4634
+ floating_in_use_devices: number;
4635
+ floating_users: number;
4636
+ } & {
4637
+ trial_days?: undefined;
4638
+ is_trial: false;
4639
+ } & {
4640
+ license_type: "consumption";
4641
+ max_consumptions: number;
4642
+ total_consumptions: number;
4643
+ allow_unlimited_consumptions: boolean;
4644
+ allow_overages: boolean;
4645
+ max_overages: number;
4646
+ reset_consumption: boolean;
4647
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4648
+ } & {
4649
+ license_signature_v2: string;
4650
+ date: string;
4651
+ }) | ({
4652
+ id: number;
4653
+ allow_grace_period: boolean;
4654
+ allow_overages: boolean;
4655
+ allow_unlimited_activations: boolean;
4656
+ borrowed_until: string | null;
4657
+ can_borrow: boolean;
4658
+ channel: string;
4659
+ device_id: number;
4660
+ enable_maintenance_period: boolean;
4661
+ environment: string;
4662
+ eula_link: string;
4663
+ floating_timeout: number;
4664
+ grace_period: number;
4665
+ hardware_id: string;
4666
+ hash_md5: string;
4667
+ installation_file: string;
4668
+ is_air_gapped: boolean;
4669
+ is_borrowed: boolean;
4670
+ is_expired: boolean;
4671
+ is_hardware_key_auth: boolean;
4672
+ license_active: boolean;
4673
+ license_enabled: boolean;
4674
+ license_signature: string;
4675
+ license_type: import("./types").LicenseType;
4676
+ maintenance_period: string | null;
4677
+ max_activations: number;
4678
+ max_borrow_time: number;
4679
+ max_license_users: number;
4680
+ max_overages: number;
4681
+ max_transfers?: number;
4682
+ order_store_id: string;
4683
+ prevent_vm: boolean;
4684
+ release_date: string;
4685
+ release_notes_link: string;
4686
+ requires_version: string;
4687
+ size: string;
4688
+ start_date: string | null;
4689
+ times_activated: number;
4690
+ transfer_count: number;
4691
+ validity_period: import("./types").DateISO8601UTC | null;
4692
+ version: string;
4693
+ product_features: import("./types").ProductFeature[];
4694
+ custom_fields: import("./types").CustomField[];
4695
+ customer: import("./types").Customer;
4696
+ product_details: import("./types").ProductDetails;
4697
+ metadata: JSON;
4698
+ } & {
4699
+ license_key?: undefined;
4700
+ user: import("./types").LicenseUser;
4701
+ } & {
4702
+ is_floating: true;
4703
+ is_floating_cloud: boolean;
4704
+ floating_in_use_devices: number;
4705
+ floating_users: number;
4706
+ } & {
4707
+ is_trial: true;
4708
+ trial_days: number;
4709
+ } & {
4710
+ license_type: "consumption";
4711
+ max_consumptions: number;
4712
+ total_consumptions: number;
4713
+ allow_unlimited_consumptions: boolean;
4714
+ allow_overages: boolean;
4715
+ max_overages: number;
4716
+ reset_consumption: boolean;
4717
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4718
+ } & {
4719
+ license_signature_v2: string;
4720
+ date: string;
4721
+ }) | ({
4722
+ id: number;
4723
+ allow_grace_period: boolean;
4724
+ allow_overages: boolean;
4725
+ allow_unlimited_activations: boolean;
4726
+ borrowed_until: string | null;
4727
+ can_borrow: boolean;
4728
+ channel: string;
4729
+ device_id: number;
4730
+ enable_maintenance_period: boolean;
4731
+ environment: string;
4732
+ eula_link: string;
4733
+ floating_timeout: number;
4734
+ grace_period: number;
4735
+ hardware_id: string;
4736
+ hash_md5: string;
4737
+ installation_file: string;
4738
+ is_air_gapped: boolean;
4739
+ is_borrowed: boolean;
4740
+ is_expired: boolean;
4741
+ is_hardware_key_auth: boolean;
4742
+ license_active: boolean;
4743
+ license_enabled: boolean;
4744
+ license_signature: string;
4745
+ license_type: import("./types").LicenseType;
4746
+ maintenance_period: string | null;
4747
+ max_activations: number;
4748
+ max_borrow_time: number;
4749
+ max_license_users: number;
4750
+ max_overages: number;
4751
+ max_transfers?: number;
4752
+ order_store_id: string;
4753
+ prevent_vm: boolean;
4754
+ release_date: string;
4755
+ release_notes_link: string;
4756
+ requires_version: string;
4757
+ size: string;
4758
+ start_date: string | null;
4759
+ times_activated: number;
4760
+ transfer_count: number;
4761
+ validity_period: import("./types").DateISO8601UTC | null;
4762
+ version: string;
4763
+ product_features: import("./types").ProductFeature[];
4764
+ custom_fields: import("./types").CustomField[];
4765
+ customer: import("./types").Customer;
4766
+ product_details: import("./types").ProductDetails;
4767
+ metadata: JSON;
4768
+ } & {
4769
+ license_key?: undefined;
4770
+ user: import("./types").LicenseUser;
4771
+ } & {
4772
+ is_floating: boolean;
4773
+ is_floating_cloud: true;
4774
+ floating_in_use_devices: number;
4775
+ floating_users: number;
4776
+ } & {
4777
+ trial_days?: undefined;
4778
+ is_trial: false;
4779
+ } & {
4780
+ license_type: "consumption";
4781
+ max_consumptions: number;
4782
+ total_consumptions: number;
4783
+ allow_unlimited_consumptions: boolean;
4784
+ allow_overages: boolean;
4785
+ max_overages: number;
4786
+ reset_consumption: boolean;
4787
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4788
+ } & {
4789
+ license_signature_v2: string;
4790
+ date: string;
4791
+ }) | ({
4792
+ id: number;
4793
+ allow_grace_period: boolean;
4794
+ allow_overages: boolean;
4795
+ allow_unlimited_activations: boolean;
4796
+ borrowed_until: string | null;
4797
+ can_borrow: boolean;
4798
+ channel: string;
4799
+ device_id: number;
4800
+ enable_maintenance_period: boolean;
4801
+ environment: string;
4802
+ eula_link: string;
4803
+ floating_timeout: number;
4804
+ grace_period: number;
4805
+ hardware_id: string;
4806
+ hash_md5: string;
4807
+ installation_file: string;
4808
+ is_air_gapped: boolean;
4809
+ is_borrowed: boolean;
4810
+ is_expired: boolean;
4811
+ is_hardware_key_auth: boolean;
4812
+ license_active: boolean;
4813
+ license_enabled: boolean;
4814
+ license_signature: string;
4815
+ license_type: import("./types").LicenseType;
4816
+ maintenance_period: string | null;
4817
+ max_activations: number;
4818
+ max_borrow_time: number;
4819
+ max_license_users: number;
4820
+ max_overages: number;
4821
+ max_transfers?: number;
4822
+ order_store_id: string;
4823
+ prevent_vm: boolean;
4824
+ release_date: string;
4825
+ release_notes_link: string;
4826
+ requires_version: string;
4827
+ size: string;
4828
+ start_date: string | null;
4829
+ times_activated: number;
4830
+ transfer_count: number;
4831
+ validity_period: import("./types").DateISO8601UTC | null;
4832
+ version: string;
4833
+ product_features: import("./types").ProductFeature[];
4834
+ custom_fields: import("./types").CustomField[];
4835
+ customer: import("./types").Customer;
4836
+ product_details: import("./types").ProductDetails;
4837
+ metadata: JSON;
4838
+ } & {
4839
+ license_key?: undefined;
4840
+ user: import("./types").LicenseUser;
4841
+ } & {
4842
+ is_floating: boolean;
4843
+ is_floating_cloud: true;
4844
+ floating_in_use_devices: number;
4845
+ floating_users: number;
4846
+ } & {
4847
+ is_trial: true;
4848
+ trial_days: number;
4849
+ } & {
4850
+ license_type: "consumption";
4851
+ max_consumptions: number;
4852
+ total_consumptions: number;
4853
+ allow_unlimited_consumptions: boolean;
4854
+ allow_overages: boolean;
4855
+ max_overages: number;
4856
+ reset_consumption: boolean;
4857
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4858
+ } & {
4859
+ license_signature_v2: string;
4860
+ date: string;
4861
+ }) | ({
4862
+ id: number;
4863
+ allow_grace_period: boolean;
4864
+ allow_overages: boolean;
4865
+ allow_unlimited_activations: boolean;
4866
+ borrowed_until: string | null;
4867
+ can_borrow: boolean;
4868
+ channel: string;
4869
+ device_id: number;
4870
+ enable_maintenance_period: boolean;
4871
+ environment: string;
4872
+ eula_link: string;
4873
+ floating_timeout: number;
4874
+ grace_period: number;
4875
+ hardware_id: string;
4876
+ hash_md5: string;
4877
+ installation_file: string;
4878
+ is_air_gapped: boolean;
4879
+ is_borrowed: boolean;
4880
+ is_expired: boolean;
4881
+ is_hardware_key_auth: boolean;
4882
+ license_active: boolean;
4883
+ license_enabled: boolean;
4884
+ license_signature: string;
4885
+ license_type: import("./types").LicenseType;
4886
+ maintenance_period: string | null;
4887
+ max_activations: number;
4888
+ max_borrow_time: number;
4889
+ max_license_users: number;
4890
+ max_overages: number;
4891
+ max_transfers?: number;
4892
+ order_store_id: string;
4893
+ prevent_vm: boolean;
4894
+ release_date: string;
4895
+ release_notes_link: string;
4896
+ requires_version: string;
4897
+ size: string;
4898
+ start_date: string | null;
4899
+ times_activated: number;
4900
+ transfer_count: number;
4901
+ validity_period: import("./types").DateISO8601UTC | null;
4902
+ version: string;
4903
+ product_features: import("./types").ProductFeature[];
4904
+ custom_fields: import("./types").CustomField[];
4905
+ customer: import("./types").Customer;
4906
+ product_details: import("./types").ProductDetails;
4907
+ metadata: JSON;
4908
+ } & {
4909
+ license_key?: undefined;
4910
+ user: import("./types").LicenseUser;
4911
+ } & {
4912
+ floating_users?: undefined;
4913
+ floating_in_use_devices?: undefined;
4914
+ is_floating_cloud: false;
4915
+ is_floating: false;
4916
+ } & {
4917
+ trial_days?: undefined;
4918
+ is_trial: false;
4919
+ } & {
4920
+ license_type: "consumption";
4921
+ max_consumptions: number;
4922
+ total_consumptions: number;
4923
+ allow_unlimited_consumptions: boolean;
4924
+ allow_overages: boolean;
4925
+ max_overages: number;
4926
+ reset_consumption: boolean;
4927
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4928
+ } & {
4929
+ license_signature_v2: string;
4930
+ date: string;
4931
+ }) | ({
4932
+ id: number;
4933
+ allow_grace_period: boolean;
4934
+ allow_overages: boolean;
4935
+ allow_unlimited_activations: boolean;
4936
+ borrowed_until: string | null;
4937
+ can_borrow: boolean;
4938
+ channel: string;
4939
+ device_id: number;
4940
+ enable_maintenance_period: boolean;
4941
+ environment: string;
4942
+ eula_link: string;
4943
+ floating_timeout: number;
4944
+ grace_period: number;
4945
+ hardware_id: string;
4946
+ hash_md5: string;
4947
+ installation_file: string;
4948
+ is_air_gapped: boolean;
4949
+ is_borrowed: boolean;
4950
+ is_expired: boolean;
4951
+ is_hardware_key_auth: boolean;
4952
+ license_active: boolean;
4953
+ license_enabled: boolean;
4954
+ license_signature: string;
4955
+ license_type: import("./types").LicenseType;
4956
+ maintenance_period: string | null;
4957
+ max_activations: number;
4958
+ max_borrow_time: number;
4959
+ max_license_users: number;
4960
+ max_overages: number;
4961
+ max_transfers?: number;
4962
+ order_store_id: string;
4963
+ prevent_vm: boolean;
4964
+ release_date: string;
4965
+ release_notes_link: string;
4966
+ requires_version: string;
4967
+ size: string;
4968
+ start_date: string | null;
4969
+ times_activated: number;
4970
+ transfer_count: number;
4971
+ validity_period: import("./types").DateISO8601UTC | null;
4972
+ version: string;
4973
+ product_features: import("./types").ProductFeature[];
4974
+ custom_fields: import("./types").CustomField[];
4975
+ customer: import("./types").Customer;
4976
+ product_details: import("./types").ProductDetails;
4977
+ metadata: JSON;
4978
+ } & {
4979
+ license_key?: undefined;
4980
+ user: import("./types").LicenseUser;
4981
+ } & {
4982
+ floating_users?: undefined;
4983
+ floating_in_use_devices?: undefined;
4984
+ is_floating_cloud: false;
4985
+ is_floating: false;
4986
+ } & {
4987
+ is_trial: true;
4988
+ trial_days: number;
4989
+ } & {
4990
+ license_type: "consumption";
4991
+ max_consumptions: number;
4992
+ total_consumptions: number;
4993
+ allow_unlimited_consumptions: boolean;
4994
+ allow_overages: boolean;
4995
+ max_overages: number;
4996
+ reset_consumption: boolean;
4997
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
4998
+ } & {
4999
+ license_signature_v2: string;
5000
+ date: string;
5001
+ });
4071
5002
  }