@licensespring/node-sdk 1.0.6 → 1.0.7

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
@@ -59,7 +59,6 @@ export default class LicenseAPI {
59
59
  is_floating_cloud: boolean;
60
60
  floating_in_use_devices: number;
61
61
  floating_users: number;
62
- floating_timeout: number;
63
62
  } & {
64
63
  trial_days?: undefined;
65
64
  is_trial: false;
@@ -71,7 +70,7 @@ export default class LicenseAPI {
71
70
  allow_overages: boolean;
72
71
  max_overages: number;
73
72
  reset_consumption: boolean;
74
- consumption_period: import("./types").DateISO8601UTC | null;
73
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
75
74
  }) | ({
76
75
  id: number;
77
76
  allow_grace_period: boolean;
@@ -126,7 +125,6 @@ export default class LicenseAPI {
126
125
  is_floating_cloud: boolean;
127
126
  floating_in_use_devices: number;
128
127
  floating_users: number;
129
- floating_timeout: number;
130
128
  } & {
131
129
  is_trial: true;
132
130
  trial_days: number;
@@ -138,7 +136,7 @@ export default class LicenseAPI {
138
136
  allow_overages: boolean;
139
137
  max_overages: number;
140
138
  reset_consumption: boolean;
141
- consumption_period: import("./types").DateISO8601UTC | null;
139
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
142
140
  }) | ({
143
141
  id: number;
144
142
  allow_grace_period: boolean;
@@ -193,7 +191,6 @@ export default class LicenseAPI {
193
191
  is_floating_cloud: true;
194
192
  floating_in_use_devices: number;
195
193
  floating_users: number;
196
- floating_timeout: number;
197
194
  } & {
198
195
  trial_days?: undefined;
199
196
  is_trial: false;
@@ -205,7 +202,7 @@ export default class LicenseAPI {
205
202
  allow_overages: boolean;
206
203
  max_overages: number;
207
204
  reset_consumption: boolean;
208
- consumption_period: import("./types").DateISO8601UTC | null;
205
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
209
206
  }) | ({
210
207
  id: number;
211
208
  allow_grace_period: boolean;
@@ -260,7 +257,6 @@ export default class LicenseAPI {
260
257
  is_floating_cloud: true;
261
258
  floating_in_use_devices: number;
262
259
  floating_users: number;
263
- floating_timeout: number;
264
260
  } & {
265
261
  is_trial: true;
266
262
  trial_days: number;
@@ -272,7 +268,7 @@ export default class LicenseAPI {
272
268
  allow_overages: boolean;
273
269
  max_overages: number;
274
270
  reset_consumption: boolean;
275
- consumption_period: import("./types").DateISO8601UTC | null;
271
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
276
272
  }) | ({
277
273
  id: number;
278
274
  allow_grace_period: boolean;
@@ -320,14 +316,13 @@ export default class LicenseAPI {
320
316
  product_details: import("./types").ProductDetails;
321
317
  metadata: import("./types").JSON;
322
318
  } & {
323
- license_key?: undefined;
324
- user: import("./types").LicenseUser;
319
+ user?: undefined;
320
+ license_key: string;
325
321
  } & {
326
- is_floating: true;
327
- is_floating_cloud: boolean;
328
- floating_in_use_devices: number;
329
- floating_users: number;
330
- floating_timeout: number;
322
+ floating_users?: undefined;
323
+ floating_in_use_devices?: undefined;
324
+ is_floating_cloud: false;
325
+ is_floating: false;
331
326
  } & {
332
327
  trial_days?: undefined;
333
328
  is_trial: false;
@@ -339,7 +334,7 @@ export default class LicenseAPI {
339
334
  allow_overages: boolean;
340
335
  max_overages: number;
341
336
  reset_consumption: boolean;
342
- consumption_period: import("./types").DateISO8601UTC | null;
337
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
343
338
  }) | ({
344
339
  id: number;
345
340
  allow_grace_period: boolean;
@@ -387,14 +382,13 @@ export default class LicenseAPI {
387
382
  product_details: import("./types").ProductDetails;
388
383
  metadata: import("./types").JSON;
389
384
  } & {
390
- license_key?: undefined;
391
- user: import("./types").LicenseUser;
385
+ user?: undefined;
386
+ license_key: string;
392
387
  } & {
393
- is_floating: true;
394
- is_floating_cloud: boolean;
395
- floating_in_use_devices: number;
396
- floating_users: number;
397
- floating_timeout: number;
388
+ floating_users?: undefined;
389
+ floating_in_use_devices?: undefined;
390
+ is_floating_cloud: false;
391
+ is_floating: false;
398
392
  } & {
399
393
  is_trial: true;
400
394
  trial_days: number;
@@ -406,7 +400,7 @@ export default class LicenseAPI {
406
400
  allow_overages: boolean;
407
401
  max_overages: number;
408
402
  reset_consumption: boolean;
409
- consumption_period: import("./types").DateISO8601UTC | null;
403
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
410
404
  }) | ({
411
405
  id: number;
412
406
  allow_grace_period: boolean;
@@ -457,11 +451,10 @@ export default class LicenseAPI {
457
451
  license_key?: undefined;
458
452
  user: import("./types").LicenseUser;
459
453
  } & {
460
- is_floating: boolean;
461
- is_floating_cloud: true;
454
+ is_floating: true;
455
+ is_floating_cloud: boolean;
462
456
  floating_in_use_devices: number;
463
457
  floating_users: number;
464
- floating_timeout: number;
465
458
  } & {
466
459
  trial_days?: undefined;
467
460
  is_trial: false;
@@ -473,7 +466,7 @@ export default class LicenseAPI {
473
466
  allow_overages: boolean;
474
467
  max_overages: number;
475
468
  reset_consumption: boolean;
476
- consumption_period: import("./types").DateISO8601UTC | null;
469
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
477
470
  }) | ({
478
471
  id: number;
479
472
  allow_grace_period: boolean;
@@ -524,11 +517,10 @@ export default class LicenseAPI {
524
517
  license_key?: undefined;
525
518
  user: import("./types").LicenseUser;
526
519
  } & {
527
- is_floating: boolean;
528
- is_floating_cloud: true;
520
+ is_floating: true;
521
+ is_floating_cloud: boolean;
529
522
  floating_in_use_devices: number;
530
523
  floating_users: number;
531
- floating_timeout: number;
532
524
  } & {
533
525
  is_trial: true;
534
526
  trial_days: number;
@@ -540,9 +532,8 @@ export default class LicenseAPI {
540
532
  allow_overages: boolean;
541
533
  max_overages: number;
542
534
  reset_consumption: boolean;
543
- consumption_period: import("./types").DateISO8601UTC | null;
544
- })>;
545
- activateLicense(payload: LicenseActivationIdentificatorWithVariables): Promise<({
535
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
536
+ }) | ({
546
537
  id: number;
547
538
  allow_grace_period: boolean;
548
539
  allow_overages: boolean;
@@ -589,14 +580,13 @@ export default class LicenseAPI {
589
580
  product_details: import("./types").ProductDetails;
590
581
  metadata: import("./types").JSON;
591
582
  } & {
592
- user?: undefined;
593
- license_key: string;
583
+ license_key?: undefined;
584
+ user: import("./types").LicenseUser;
594
585
  } & {
595
- is_floating: true;
596
- is_floating_cloud: boolean;
586
+ is_floating: boolean;
587
+ is_floating_cloud: true;
597
588
  floating_in_use_devices: number;
598
589
  floating_users: number;
599
- floating_timeout: number;
600
590
  } & {
601
591
  trial_days?: undefined;
602
592
  is_trial: false;
@@ -608,7 +598,7 @@ export default class LicenseAPI {
608
598
  allow_overages: boolean;
609
599
  max_overages: number;
610
600
  reset_consumption: boolean;
611
- consumption_period: import("./types").DateISO8601UTC | null;
601
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
612
602
  }) | ({
613
603
  id: number;
614
604
  allow_grace_period: boolean;
@@ -656,14 +646,13 @@ export default class LicenseAPI {
656
646
  product_details: import("./types").ProductDetails;
657
647
  metadata: import("./types").JSON;
658
648
  } & {
659
- user?: undefined;
660
- license_key: string;
649
+ license_key?: undefined;
650
+ user: import("./types").LicenseUser;
661
651
  } & {
662
- is_floating: true;
663
- is_floating_cloud: boolean;
652
+ is_floating: boolean;
653
+ is_floating_cloud: true;
664
654
  floating_in_use_devices: number;
665
655
  floating_users: number;
666
- floating_timeout: number;
667
656
  } & {
668
657
  is_trial: true;
669
658
  trial_days: number;
@@ -675,7 +664,7 @@ export default class LicenseAPI {
675
664
  allow_overages: boolean;
676
665
  max_overages: number;
677
666
  reset_consumption: boolean;
678
- consumption_period: import("./types").DateISO8601UTC | null;
667
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
679
668
  }) | ({
680
669
  id: number;
681
670
  allow_grace_period: boolean;
@@ -723,14 +712,13 @@ export default class LicenseAPI {
723
712
  product_details: import("./types").ProductDetails;
724
713
  metadata: import("./types").JSON;
725
714
  } & {
726
- user?: undefined;
727
- license_key: string;
715
+ license_key?: undefined;
716
+ user: import("./types").LicenseUser;
728
717
  } & {
729
- is_floating: boolean;
730
- is_floating_cloud: true;
731
- floating_in_use_devices: number;
732
- floating_users: number;
733
- floating_timeout: number;
718
+ floating_users?: undefined;
719
+ floating_in_use_devices?: undefined;
720
+ is_floating_cloud: false;
721
+ is_floating: false;
734
722
  } & {
735
723
  trial_days?: undefined;
736
724
  is_trial: false;
@@ -742,7 +730,7 @@ export default class LicenseAPI {
742
730
  allow_overages: boolean;
743
731
  max_overages: number;
744
732
  reset_consumption: boolean;
745
- consumption_period: import("./types").DateISO8601UTC | null;
733
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
746
734
  }) | ({
747
735
  id: number;
748
736
  allow_grace_period: boolean;
@@ -790,14 +778,13 @@ export default class LicenseAPI {
790
778
  product_details: import("./types").ProductDetails;
791
779
  metadata: import("./types").JSON;
792
780
  } & {
793
- user?: undefined;
794
- license_key: string;
781
+ license_key?: undefined;
782
+ user: import("./types").LicenseUser;
795
783
  } & {
796
- is_floating: boolean;
797
- is_floating_cloud: true;
798
- floating_in_use_devices: number;
799
- floating_users: number;
800
- floating_timeout: number;
784
+ floating_users?: undefined;
785
+ floating_in_use_devices?: undefined;
786
+ is_floating_cloud: false;
787
+ is_floating: false;
801
788
  } & {
802
789
  is_trial: true;
803
790
  trial_days: number;
@@ -809,8 +796,9 @@ export default class LicenseAPI {
809
796
  allow_overages: boolean;
810
797
  max_overages: number;
811
798
  reset_consumption: boolean;
812
- consumption_period: import("./types").DateISO8601UTC | null;
813
- }) | ({
799
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
800
+ })>;
801
+ activateLicense(payload: LicenseActivationIdentificatorWithVariables): Promise<({
814
802
  id: number;
815
803
  allow_grace_period: boolean;
816
804
  allow_overages: boolean;
@@ -857,14 +845,13 @@ export default class LicenseAPI {
857
845
  product_details: import("./types").ProductDetails;
858
846
  metadata: import("./types").JSON;
859
847
  } & {
860
- license_key?: undefined;
861
- user: import("./types").LicenseUser;
848
+ user?: undefined;
849
+ license_key: string;
862
850
  } & {
863
851
  is_floating: true;
864
852
  is_floating_cloud: boolean;
865
853
  floating_in_use_devices: number;
866
854
  floating_users: number;
867
- floating_timeout: number;
868
855
  } & {
869
856
  trial_days?: undefined;
870
857
  is_trial: false;
@@ -876,7 +863,7 @@ export default class LicenseAPI {
876
863
  allow_overages: boolean;
877
864
  max_overages: number;
878
865
  reset_consumption: boolean;
879
- consumption_period: import("./types").DateISO8601UTC | null;
866
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
880
867
  }) | ({
881
868
  id: number;
882
869
  allow_grace_period: boolean;
@@ -924,14 +911,13 @@ export default class LicenseAPI {
924
911
  product_details: import("./types").ProductDetails;
925
912
  metadata: import("./types").JSON;
926
913
  } & {
927
- license_key?: undefined;
928
- user: import("./types").LicenseUser;
914
+ user?: undefined;
915
+ license_key: string;
929
916
  } & {
930
917
  is_floating: true;
931
918
  is_floating_cloud: boolean;
932
919
  floating_in_use_devices: number;
933
920
  floating_users: number;
934
- floating_timeout: number;
935
921
  } & {
936
922
  is_trial: true;
937
923
  trial_days: number;
@@ -943,7 +929,7 @@ export default class LicenseAPI {
943
929
  allow_overages: boolean;
944
930
  max_overages: number;
945
931
  reset_consumption: boolean;
946
- consumption_period: import("./types").DateISO8601UTC | null;
932
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
947
933
  }) | ({
948
934
  id: number;
949
935
  allow_grace_period: boolean;
@@ -991,14 +977,13 @@ export default class LicenseAPI {
991
977
  product_details: import("./types").ProductDetails;
992
978
  metadata: import("./types").JSON;
993
979
  } & {
994
- license_key?: undefined;
995
- user: import("./types").LicenseUser;
980
+ user?: undefined;
981
+ license_key: string;
996
982
  } & {
997
983
  is_floating: boolean;
998
984
  is_floating_cloud: true;
999
985
  floating_in_use_devices: number;
1000
986
  floating_users: number;
1001
- floating_timeout: number;
1002
987
  } & {
1003
988
  trial_days?: undefined;
1004
989
  is_trial: false;
@@ -1010,7 +995,7 @@ export default class LicenseAPI {
1010
995
  allow_overages: boolean;
1011
996
  max_overages: number;
1012
997
  reset_consumption: boolean;
1013
- consumption_period: import("./types").DateISO8601UTC | null;
998
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1014
999
  }) | ({
1015
1000
  id: number;
1016
1001
  allow_grace_period: boolean;
@@ -1058,14 +1043,13 @@ export default class LicenseAPI {
1058
1043
  product_details: import("./types").ProductDetails;
1059
1044
  metadata: import("./types").JSON;
1060
1045
  } & {
1061
- license_key?: undefined;
1062
- user: import("./types").LicenseUser;
1046
+ user?: undefined;
1047
+ license_key: string;
1063
1048
  } & {
1064
1049
  is_floating: boolean;
1065
1050
  is_floating_cloud: true;
1066
1051
  floating_in_use_devices: number;
1067
1052
  floating_users: number;
1068
- floating_timeout: number;
1069
1053
  } & {
1070
1054
  is_trial: true;
1071
1055
  trial_days: number;
@@ -1077,10 +1061,8 @@ export default class LicenseAPI {
1077
1061
  allow_overages: boolean;
1078
1062
  max_overages: number;
1079
1063
  reset_consumption: boolean;
1080
- consumption_period: import("./types").DateISO8601UTC | null;
1081
- })>;
1082
- deactivateLicense(payload: LicenseIdentificator): Promise<boolean>;
1083
- activateOffline(payload: LicenseActivationIdentificatorOfflineWithVariables): Promise<({
1064
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1065
+ }) | ({
1084
1066
  id: number;
1085
1067
  allow_grace_period: boolean;
1086
1068
  allow_overages: boolean;
@@ -1130,11 +1112,10 @@ export default class LicenseAPI {
1130
1112
  user?: undefined;
1131
1113
  license_key: string;
1132
1114
  } & {
1133
- is_floating: true;
1134
- is_floating_cloud: boolean;
1135
- floating_in_use_devices: number;
1136
- floating_users: number;
1137
- floating_timeout: number;
1115
+ floating_users?: undefined;
1116
+ floating_in_use_devices?: undefined;
1117
+ is_floating_cloud: false;
1118
+ is_floating: false;
1138
1119
  } & {
1139
1120
  trial_days?: undefined;
1140
1121
  is_trial: false;
@@ -1146,9 +1127,7 @@ export default class LicenseAPI {
1146
1127
  allow_overages: boolean;
1147
1128
  max_overages: number;
1148
1129
  reset_consumption: boolean;
1149
- consumption_period: import("./types").DateISO8601UTC | null;
1150
- } & {
1151
- license_signature_v2: string;
1130
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1152
1131
  }) | ({
1153
1132
  id: number;
1154
1133
  allow_grace_period: boolean;
@@ -1199,11 +1178,10 @@ export default class LicenseAPI {
1199
1178
  user?: undefined;
1200
1179
  license_key: string;
1201
1180
  } & {
1202
- is_floating: true;
1203
- is_floating_cloud: boolean;
1204
- floating_in_use_devices: number;
1205
- floating_users: number;
1206
- floating_timeout: number;
1181
+ floating_users?: undefined;
1182
+ floating_in_use_devices?: undefined;
1183
+ is_floating_cloud: false;
1184
+ is_floating: false;
1207
1185
  } & {
1208
1186
  is_trial: true;
1209
1187
  trial_days: number;
@@ -1215,9 +1193,7 @@ export default class LicenseAPI {
1215
1193
  allow_overages: boolean;
1216
1194
  max_overages: number;
1217
1195
  reset_consumption: boolean;
1218
- consumption_period: import("./types").DateISO8601UTC | null;
1219
- } & {
1220
- license_signature_v2: string;
1196
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1221
1197
  }) | ({
1222
1198
  id: number;
1223
1199
  allow_grace_period: boolean;
@@ -1265,14 +1241,13 @@ export default class LicenseAPI {
1265
1241
  product_details: import("./types").ProductDetails;
1266
1242
  metadata: import("./types").JSON;
1267
1243
  } & {
1268
- user?: undefined;
1269
- license_key: string;
1244
+ license_key?: undefined;
1245
+ user: import("./types").LicenseUser;
1270
1246
  } & {
1271
- is_floating: boolean;
1272
- is_floating_cloud: true;
1247
+ is_floating: true;
1248
+ is_floating_cloud: boolean;
1273
1249
  floating_in_use_devices: number;
1274
1250
  floating_users: number;
1275
- floating_timeout: number;
1276
1251
  } & {
1277
1252
  trial_days?: undefined;
1278
1253
  is_trial: false;
@@ -1284,9 +1259,7 @@ export default class LicenseAPI {
1284
1259
  allow_overages: boolean;
1285
1260
  max_overages: number;
1286
1261
  reset_consumption: boolean;
1287
- consumption_period: import("./types").DateISO8601UTC | null;
1288
- } & {
1289
- license_signature_v2: string;
1262
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1290
1263
  }) | ({
1291
1264
  id: number;
1292
1265
  allow_grace_period: boolean;
@@ -1334,14 +1307,13 @@ export default class LicenseAPI {
1334
1307
  product_details: import("./types").ProductDetails;
1335
1308
  metadata: import("./types").JSON;
1336
1309
  } & {
1337
- user?: undefined;
1338
- license_key: string;
1310
+ license_key?: undefined;
1311
+ user: import("./types").LicenseUser;
1339
1312
  } & {
1340
- is_floating: boolean;
1341
- is_floating_cloud: true;
1313
+ is_floating: true;
1314
+ is_floating_cloud: boolean;
1342
1315
  floating_in_use_devices: number;
1343
1316
  floating_users: number;
1344
- floating_timeout: number;
1345
1317
  } & {
1346
1318
  is_trial: true;
1347
1319
  trial_days: number;
@@ -1353,9 +1325,7 @@ export default class LicenseAPI {
1353
1325
  allow_overages: boolean;
1354
1326
  max_overages: number;
1355
1327
  reset_consumption: boolean;
1356
- consumption_period: import("./types").DateISO8601UTC | null;
1357
- } & {
1358
- license_signature_v2: string;
1328
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1359
1329
  }) | ({
1360
1330
  id: number;
1361
1331
  allow_grace_period: boolean;
@@ -1406,11 +1376,10 @@ export default class LicenseAPI {
1406
1376
  license_key?: undefined;
1407
1377
  user: import("./types").LicenseUser;
1408
1378
  } & {
1409
- is_floating: true;
1410
- is_floating_cloud: boolean;
1379
+ is_floating: boolean;
1380
+ is_floating_cloud: true;
1411
1381
  floating_in_use_devices: number;
1412
1382
  floating_users: number;
1413
- floating_timeout: number;
1414
1383
  } & {
1415
1384
  trial_days?: undefined;
1416
1385
  is_trial: false;
@@ -1422,9 +1391,7 @@ export default class LicenseAPI {
1422
1391
  allow_overages: boolean;
1423
1392
  max_overages: number;
1424
1393
  reset_consumption: boolean;
1425
- consumption_period: import("./types").DateISO8601UTC | null;
1426
- } & {
1427
- license_signature_v2: string;
1394
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1428
1395
  }) | ({
1429
1396
  id: number;
1430
1397
  allow_grace_period: boolean;
@@ -1475,11 +1442,10 @@ export default class LicenseAPI {
1475
1442
  license_key?: undefined;
1476
1443
  user: import("./types").LicenseUser;
1477
1444
  } & {
1478
- is_floating: true;
1479
- is_floating_cloud: boolean;
1445
+ is_floating: boolean;
1446
+ is_floating_cloud: true;
1480
1447
  floating_in_use_devices: number;
1481
1448
  floating_users: number;
1482
- floating_timeout: number;
1483
1449
  } & {
1484
1450
  is_trial: true;
1485
1451
  trial_days: number;
@@ -1491,9 +1457,7 @@ export default class LicenseAPI {
1491
1457
  allow_overages: boolean;
1492
1458
  max_overages: number;
1493
1459
  reset_consumption: boolean;
1494
- consumption_period: import("./types").DateISO8601UTC | null;
1495
- } & {
1496
- license_signature_v2: string;
1460
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1497
1461
  }) | ({
1498
1462
  id: number;
1499
1463
  allow_grace_period: boolean;
@@ -1544,11 +1508,10 @@ export default class LicenseAPI {
1544
1508
  license_key?: undefined;
1545
1509
  user: import("./types").LicenseUser;
1546
1510
  } & {
1547
- is_floating: boolean;
1548
- is_floating_cloud: true;
1549
- floating_in_use_devices: number;
1550
- floating_users: number;
1551
- floating_timeout: number;
1511
+ floating_users?: undefined;
1512
+ floating_in_use_devices?: undefined;
1513
+ is_floating_cloud: false;
1514
+ is_floating: false;
1552
1515
  } & {
1553
1516
  trial_days?: undefined;
1554
1517
  is_trial: false;
@@ -1560,9 +1523,7 @@ export default class LicenseAPI {
1560
1523
  allow_overages: boolean;
1561
1524
  max_overages: number;
1562
1525
  reset_consumption: boolean;
1563
- consumption_period: import("./types").DateISO8601UTC | null;
1564
- } & {
1565
- license_signature_v2: string;
1526
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1566
1527
  }) | ({
1567
1528
  id: number;
1568
1529
  allow_grace_period: boolean;
@@ -1613,11 +1574,10 @@ export default class LicenseAPI {
1613
1574
  license_key?: undefined;
1614
1575
  user: import("./types").LicenseUser;
1615
1576
  } & {
1616
- is_floating: boolean;
1617
- is_floating_cloud: true;
1618
- floating_in_use_devices: number;
1619
- floating_users: number;
1620
- floating_timeout: number;
1577
+ floating_users?: undefined;
1578
+ floating_in_use_devices?: undefined;
1579
+ is_floating_cloud: false;
1580
+ is_floating: false;
1621
1581
  } & {
1622
1582
  is_trial: true;
1623
1583
  trial_days: number;
@@ -1629,12 +1589,10 @@ export default class LicenseAPI {
1629
1589
  allow_overages: boolean;
1630
1590
  max_overages: number;
1631
1591
  reset_consumption: boolean;
1632
- consumption_period: import("./types").DateISO8601UTC | null;
1633
- } & {
1634
- license_signature_v2: string;
1592
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1635
1593
  })>;
1636
- deactivateOffline(payload: LicenseIdentificator): Promise<boolean>;
1637
- checkLicenseOffline(payloadBase64: string): ({
1594
+ deactivateLicense(payload: LicenseIdentificator): Promise<boolean>;
1595
+ activateOffline(payload: LicenseActivationIdentificatorOfflineWithVariables): Promise<({
1638
1596
  id: number;
1639
1597
  allow_grace_period: boolean;
1640
1598
  allow_overages: boolean;
@@ -1688,7 +1646,6 @@ export default class LicenseAPI {
1688
1646
  is_floating_cloud: boolean;
1689
1647
  floating_in_use_devices: number;
1690
1648
  floating_users: number;
1691
- floating_timeout: number;
1692
1649
  } & {
1693
1650
  trial_days?: undefined;
1694
1651
  is_trial: false;
@@ -1700,11 +1657,9 @@ export default class LicenseAPI {
1700
1657
  allow_overages: boolean;
1701
1658
  max_overages: number;
1702
1659
  reset_consumption: boolean;
1703
- consumption_period: import("./types").DateISO8601UTC | null;
1660
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1704
1661
  } & {
1705
1662
  license_signature_v2: string;
1706
- } & {
1707
- offline_signature: string;
1708
1663
  }) | ({
1709
1664
  id: number;
1710
1665
  allow_grace_period: boolean;
@@ -1759,7 +1714,6 @@ export default class LicenseAPI {
1759
1714
  is_floating_cloud: boolean;
1760
1715
  floating_in_use_devices: number;
1761
1716
  floating_users: number;
1762
- floating_timeout: number;
1763
1717
  } & {
1764
1718
  is_trial: true;
1765
1719
  trial_days: number;
@@ -1771,11 +1725,9 @@ export default class LicenseAPI {
1771
1725
  allow_overages: boolean;
1772
1726
  max_overages: number;
1773
1727
  reset_consumption: boolean;
1774
- consumption_period: import("./types").DateISO8601UTC | null;
1728
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1775
1729
  } & {
1776
1730
  license_signature_v2: string;
1777
- } & {
1778
- offline_signature: string;
1779
1731
  }) | ({
1780
1732
  id: number;
1781
1733
  allow_grace_period: boolean;
@@ -1830,7 +1782,6 @@ export default class LicenseAPI {
1830
1782
  is_floating_cloud: true;
1831
1783
  floating_in_use_devices: number;
1832
1784
  floating_users: number;
1833
- floating_timeout: number;
1834
1785
  } & {
1835
1786
  trial_days?: undefined;
1836
1787
  is_trial: false;
@@ -1842,11 +1793,9 @@ export default class LicenseAPI {
1842
1793
  allow_overages: boolean;
1843
1794
  max_overages: number;
1844
1795
  reset_consumption: boolean;
1845
- consumption_period: import("./types").DateISO8601UTC | null;
1796
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1846
1797
  } & {
1847
1798
  license_signature_v2: string;
1848
- } & {
1849
- offline_signature: string;
1850
1799
  }) | ({
1851
1800
  id: number;
1852
1801
  allow_grace_period: boolean;
@@ -1901,7 +1850,6 @@ export default class LicenseAPI {
1901
1850
  is_floating_cloud: true;
1902
1851
  floating_in_use_devices: number;
1903
1852
  floating_users: number;
1904
- floating_timeout: number;
1905
1853
  } & {
1906
1854
  is_trial: true;
1907
1855
  trial_days: number;
@@ -1913,11 +1861,9 @@ export default class LicenseAPI {
1913
1861
  allow_overages: boolean;
1914
1862
  max_overages: number;
1915
1863
  reset_consumption: boolean;
1916
- consumption_period: import("./types").DateISO8601UTC | null;
1864
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1917
1865
  } & {
1918
1866
  license_signature_v2: string;
1919
- } & {
1920
- offline_signature: string;
1921
1867
  }) | ({
1922
1868
  id: number;
1923
1869
  allow_grace_period: boolean;
@@ -1965,14 +1911,13 @@ export default class LicenseAPI {
1965
1911
  product_details: import("./types").ProductDetails;
1966
1912
  metadata: import("./types").JSON;
1967
1913
  } & {
1968
- license_key?: undefined;
1969
- user: import("./types").LicenseUser;
1914
+ user?: undefined;
1915
+ license_key: string;
1970
1916
  } & {
1971
- is_floating: true;
1972
- is_floating_cloud: boolean;
1973
- floating_in_use_devices: number;
1974
- floating_users: number;
1975
- floating_timeout: number;
1917
+ floating_users?: undefined;
1918
+ floating_in_use_devices?: undefined;
1919
+ is_floating_cloud: false;
1920
+ is_floating: false;
1976
1921
  } & {
1977
1922
  trial_days?: undefined;
1978
1923
  is_trial: false;
@@ -1984,11 +1929,9 @@ export default class LicenseAPI {
1984
1929
  allow_overages: boolean;
1985
1930
  max_overages: number;
1986
1931
  reset_consumption: boolean;
1987
- consumption_period: import("./types").DateISO8601UTC | null;
1932
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
1988
1933
  } & {
1989
1934
  license_signature_v2: string;
1990
- } & {
1991
- offline_signature: string;
1992
1935
  }) | ({
1993
1936
  id: number;
1994
1937
  allow_grace_period: boolean;
@@ -2036,14 +1979,13 @@ export default class LicenseAPI {
2036
1979
  product_details: import("./types").ProductDetails;
2037
1980
  metadata: import("./types").JSON;
2038
1981
  } & {
2039
- license_key?: undefined;
2040
- user: import("./types").LicenseUser;
1982
+ user?: undefined;
1983
+ license_key: string;
2041
1984
  } & {
2042
- is_floating: true;
2043
- is_floating_cloud: boolean;
2044
- floating_in_use_devices: number;
2045
- floating_users: number;
2046
- floating_timeout: number;
1985
+ floating_users?: undefined;
1986
+ floating_in_use_devices?: undefined;
1987
+ is_floating_cloud: false;
1988
+ is_floating: false;
2047
1989
  } & {
2048
1990
  is_trial: true;
2049
1991
  trial_days: number;
@@ -2055,11 +1997,9 @@ export default class LicenseAPI {
2055
1997
  allow_overages: boolean;
2056
1998
  max_overages: number;
2057
1999
  reset_consumption: boolean;
2058
- consumption_period: import("./types").DateISO8601UTC | null;
2000
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2059
2001
  } & {
2060
2002
  license_signature_v2: string;
2061
- } & {
2062
- offline_signature: string;
2063
2003
  }) | ({
2064
2004
  id: number;
2065
2005
  allow_grace_period: boolean;
@@ -2110,11 +2050,10 @@ export default class LicenseAPI {
2110
2050
  license_key?: undefined;
2111
2051
  user: import("./types").LicenseUser;
2112
2052
  } & {
2113
- is_floating: boolean;
2114
- is_floating_cloud: true;
2053
+ is_floating: true;
2054
+ is_floating_cloud: boolean;
2115
2055
  floating_in_use_devices: number;
2116
2056
  floating_users: number;
2117
- floating_timeout: number;
2118
2057
  } & {
2119
2058
  trial_days?: undefined;
2120
2059
  is_trial: false;
@@ -2126,11 +2065,9 @@ export default class LicenseAPI {
2126
2065
  allow_overages: boolean;
2127
2066
  max_overages: number;
2128
2067
  reset_consumption: boolean;
2129
- consumption_period: import("./types").DateISO8601UTC | null;
2068
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2130
2069
  } & {
2131
2070
  license_signature_v2: string;
2132
- } & {
2133
- offline_signature: string;
2134
2071
  }) | ({
2135
2072
  id: number;
2136
2073
  allow_grace_period: boolean;
@@ -2181,11 +2118,10 @@ export default class LicenseAPI {
2181
2118
  license_key?: undefined;
2182
2119
  user: import("./types").LicenseUser;
2183
2120
  } & {
2184
- is_floating: boolean;
2185
- is_floating_cloud: true;
2121
+ is_floating: true;
2122
+ is_floating_cloud: boolean;
2186
2123
  floating_in_use_devices: number;
2187
2124
  floating_users: number;
2188
- floating_timeout: number;
2189
2125
  } & {
2190
2126
  is_trial: true;
2191
2127
  trial_days: number;
@@ -2197,14 +2133,10 @@ export default class LicenseAPI {
2197
2133
  allow_overages: boolean;
2198
2134
  max_overages: number;
2199
2135
  reset_consumption: boolean;
2200
- consumption_period: import("./types").DateISO8601UTC | null;
2136
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2201
2137
  } & {
2202
2138
  license_signature_v2: string;
2203
- } & {
2204
- offline_signature: string;
2205
- });
2206
- getTrialKey(payload: TrialKeyPayload): Promise<LicenseTrialResponse>;
2207
- getUserLicenses(payload: GetUserLicensesPayload): Promise<(({
2139
+ }) | ({
2208
2140
  id: number;
2209
2141
  allow_grace_period: boolean;
2210
2142
  allow_overages: boolean;
@@ -2251,14 +2183,13 @@ export default class LicenseAPI {
2251
2183
  product_details: import("./types").ProductDetails;
2252
2184
  metadata: import("./types").JSON;
2253
2185
  } & {
2254
- user?: undefined;
2255
- license_key: string;
2186
+ license_key?: undefined;
2187
+ user: import("./types").LicenseUser;
2256
2188
  } & {
2257
- is_floating: true;
2258
- is_floating_cloud: boolean;
2189
+ is_floating: boolean;
2190
+ is_floating_cloud: true;
2259
2191
  floating_in_use_devices: number;
2260
2192
  floating_users: number;
2261
- floating_timeout: number;
2262
2193
  } & {
2263
2194
  trial_days?: undefined;
2264
2195
  is_trial: false;
@@ -2270,7 +2201,9 @@ export default class LicenseAPI {
2270
2201
  allow_overages: boolean;
2271
2202
  max_overages: number;
2272
2203
  reset_consumption: boolean;
2273
- consumption_period: import("./types").DateISO8601UTC | null;
2204
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2205
+ } & {
2206
+ license_signature_v2: string;
2274
2207
  }) | ({
2275
2208
  id: number;
2276
2209
  allow_grace_period: boolean;
@@ -2318,14 +2251,13 @@ export default class LicenseAPI {
2318
2251
  product_details: import("./types").ProductDetails;
2319
2252
  metadata: import("./types").JSON;
2320
2253
  } & {
2321
- user?: undefined;
2322
- license_key: string;
2254
+ license_key?: undefined;
2255
+ user: import("./types").LicenseUser;
2323
2256
  } & {
2324
- is_floating: true;
2325
- is_floating_cloud: boolean;
2257
+ is_floating: boolean;
2258
+ is_floating_cloud: true;
2326
2259
  floating_in_use_devices: number;
2327
2260
  floating_users: number;
2328
- floating_timeout: number;
2329
2261
  } & {
2330
2262
  is_trial: true;
2331
2263
  trial_days: number;
@@ -2337,7 +2269,9 @@ export default class LicenseAPI {
2337
2269
  allow_overages: boolean;
2338
2270
  max_overages: number;
2339
2271
  reset_consumption: boolean;
2340
- consumption_period: import("./types").DateISO8601UTC | null;
2272
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2273
+ } & {
2274
+ license_signature_v2: string;
2341
2275
  }) | ({
2342
2276
  id: number;
2343
2277
  allow_grace_period: boolean;
@@ -2385,14 +2319,13 @@ export default class LicenseAPI {
2385
2319
  product_details: import("./types").ProductDetails;
2386
2320
  metadata: import("./types").JSON;
2387
2321
  } & {
2388
- user?: undefined;
2389
- license_key: string;
2322
+ license_key?: undefined;
2323
+ user: import("./types").LicenseUser;
2390
2324
  } & {
2391
- is_floating: boolean;
2392
- is_floating_cloud: true;
2393
- floating_in_use_devices: number;
2394
- floating_users: number;
2395
- floating_timeout: number;
2325
+ floating_users?: undefined;
2326
+ floating_in_use_devices?: undefined;
2327
+ is_floating_cloud: false;
2328
+ is_floating: false;
2396
2329
  } & {
2397
2330
  trial_days?: undefined;
2398
2331
  is_trial: false;
@@ -2404,7 +2337,9 @@ export default class LicenseAPI {
2404
2337
  allow_overages: boolean;
2405
2338
  max_overages: number;
2406
2339
  reset_consumption: boolean;
2407
- consumption_period: import("./types").DateISO8601UTC | null;
2340
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2341
+ } & {
2342
+ license_signature_v2: string;
2408
2343
  }) | ({
2409
2344
  id: number;
2410
2345
  allow_grace_period: boolean;
@@ -2452,14 +2387,1255 @@ export default class LicenseAPI {
2452
2387
  product_details: import("./types").ProductDetails;
2453
2388
  metadata: import("./types").JSON;
2454
2389
  } & {
2455
- user?: undefined;
2456
- license_key: string;
2390
+ license_key?: undefined;
2391
+ user: import("./types").LicenseUser;
2457
2392
  } & {
2458
- is_floating: boolean;
2393
+ floating_users?: undefined;
2394
+ floating_in_use_devices?: undefined;
2395
+ is_floating_cloud: false;
2396
+ is_floating: false;
2397
+ } & {
2398
+ is_trial: true;
2399
+ trial_days: number;
2400
+ } & {
2401
+ license_type: "consumption";
2402
+ max_consumptions: number;
2403
+ total_consumptions: number;
2404
+ allow_unlimited_consumptions: boolean;
2405
+ allow_overages: boolean;
2406
+ max_overages: number;
2407
+ reset_consumption: boolean;
2408
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2409
+ } & {
2410
+ license_signature_v2: string;
2411
+ })>;
2412
+ deactivateOffline(payload: LicenseIdentificator): Promise<boolean>;
2413
+ checkLicenseOffline(payloadBase64: string): ({
2414
+ id: number;
2415
+ allow_grace_period: boolean;
2416
+ allow_overages: boolean;
2417
+ allow_unlimited_activations: boolean;
2418
+ borrowed_until: string | null;
2419
+ can_borrow: boolean;
2420
+ channel: string;
2421
+ device_id: number;
2422
+ enable_maintenance_period: boolean;
2423
+ environment: string;
2424
+ eula_link: string;
2425
+ floating_timeout: number;
2426
+ grace_period: number;
2427
+ hash_md5: string;
2428
+ installation_file: string;
2429
+ is_air_gapped: boolean;
2430
+ is_borrowed: boolean;
2431
+ is_expired: boolean;
2432
+ is_hardware_key_auth: boolean;
2433
+ license_active: boolean;
2434
+ license_enabled: boolean;
2435
+ license_signature: string;
2436
+ license_type: import("./types").LicenseType;
2437
+ maintenance_period: string | null;
2438
+ max_activations: number;
2439
+ max_borrow_time: number;
2440
+ max_license_users: number;
2441
+ max_overages: number;
2442
+ max_transfers: number;
2443
+ order_store_id: string;
2444
+ prevent_vm: boolean;
2445
+ release_date: string;
2446
+ release_notes_link: string;
2447
+ requires_version: string;
2448
+ size: string;
2449
+ start_date: string | null;
2450
+ times_activated: number;
2451
+ transfer_count: number;
2452
+ validity_period: import("./types").DateISO8601UTC | null;
2453
+ version: string;
2454
+ product_features: import("./types").ProductFeature[];
2455
+ custom_fields: import("./types").CustomField[];
2456
+ customer: import("./types").Customer;
2457
+ product_details: import("./types").ProductDetails;
2458
+ metadata: import("./types").JSON;
2459
+ } & {
2460
+ user?: undefined;
2461
+ license_key: string;
2462
+ } & {
2463
+ is_floating: true;
2464
+ is_floating_cloud: boolean;
2465
+ floating_in_use_devices: number;
2466
+ floating_users: number;
2467
+ } & {
2468
+ trial_days?: undefined;
2469
+ is_trial: false;
2470
+ } & {
2471
+ license_type: "consumption";
2472
+ max_consumptions: number;
2473
+ total_consumptions: number;
2474
+ allow_unlimited_consumptions: boolean;
2475
+ allow_overages: boolean;
2476
+ max_overages: number;
2477
+ reset_consumption: boolean;
2478
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2479
+ } & {
2480
+ license_signature_v2: string;
2481
+ } & {
2482
+ offline_signature: string;
2483
+ }) | ({
2484
+ id: number;
2485
+ allow_grace_period: boolean;
2486
+ allow_overages: boolean;
2487
+ allow_unlimited_activations: boolean;
2488
+ borrowed_until: string | null;
2489
+ can_borrow: boolean;
2490
+ channel: string;
2491
+ device_id: number;
2492
+ enable_maintenance_period: boolean;
2493
+ environment: string;
2494
+ eula_link: string;
2495
+ floating_timeout: number;
2496
+ grace_period: number;
2497
+ hash_md5: string;
2498
+ installation_file: string;
2499
+ is_air_gapped: boolean;
2500
+ is_borrowed: boolean;
2501
+ is_expired: boolean;
2502
+ is_hardware_key_auth: boolean;
2503
+ license_active: boolean;
2504
+ license_enabled: boolean;
2505
+ license_signature: string;
2506
+ license_type: import("./types").LicenseType;
2507
+ maintenance_period: string | null;
2508
+ max_activations: number;
2509
+ max_borrow_time: number;
2510
+ max_license_users: number;
2511
+ max_overages: number;
2512
+ max_transfers: number;
2513
+ order_store_id: string;
2514
+ prevent_vm: boolean;
2515
+ release_date: string;
2516
+ release_notes_link: string;
2517
+ requires_version: string;
2518
+ size: string;
2519
+ start_date: string | null;
2520
+ times_activated: number;
2521
+ transfer_count: number;
2522
+ validity_period: import("./types").DateISO8601UTC | null;
2523
+ version: string;
2524
+ product_features: import("./types").ProductFeature[];
2525
+ custom_fields: import("./types").CustomField[];
2526
+ customer: import("./types").Customer;
2527
+ product_details: import("./types").ProductDetails;
2528
+ metadata: import("./types").JSON;
2529
+ } & {
2530
+ user?: undefined;
2531
+ license_key: string;
2532
+ } & {
2533
+ is_floating: true;
2534
+ is_floating_cloud: boolean;
2535
+ floating_in_use_devices: number;
2536
+ floating_users: number;
2537
+ } & {
2538
+ is_trial: true;
2539
+ trial_days: number;
2540
+ } & {
2541
+ license_type: "consumption";
2542
+ max_consumptions: number;
2543
+ total_consumptions: number;
2544
+ allow_unlimited_consumptions: boolean;
2545
+ allow_overages: boolean;
2546
+ max_overages: number;
2547
+ reset_consumption: boolean;
2548
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2549
+ } & {
2550
+ license_signature_v2: string;
2551
+ } & {
2552
+ offline_signature: string;
2553
+ }) | ({
2554
+ id: number;
2555
+ allow_grace_period: boolean;
2556
+ allow_overages: boolean;
2557
+ allow_unlimited_activations: boolean;
2558
+ borrowed_until: string | null;
2559
+ can_borrow: boolean;
2560
+ channel: string;
2561
+ device_id: number;
2562
+ enable_maintenance_period: boolean;
2563
+ environment: string;
2564
+ eula_link: string;
2565
+ floating_timeout: number;
2566
+ grace_period: number;
2567
+ hash_md5: string;
2568
+ installation_file: string;
2569
+ is_air_gapped: boolean;
2570
+ is_borrowed: boolean;
2571
+ is_expired: boolean;
2572
+ is_hardware_key_auth: boolean;
2573
+ license_active: boolean;
2574
+ license_enabled: boolean;
2575
+ license_signature: string;
2576
+ license_type: import("./types").LicenseType;
2577
+ maintenance_period: string | null;
2578
+ max_activations: number;
2579
+ max_borrow_time: number;
2580
+ max_license_users: number;
2581
+ max_overages: number;
2582
+ max_transfers: number;
2583
+ order_store_id: string;
2584
+ prevent_vm: boolean;
2585
+ release_date: string;
2586
+ release_notes_link: string;
2587
+ requires_version: string;
2588
+ size: string;
2589
+ start_date: string | null;
2590
+ times_activated: number;
2591
+ transfer_count: number;
2592
+ validity_period: import("./types").DateISO8601UTC | null;
2593
+ version: string;
2594
+ product_features: import("./types").ProductFeature[];
2595
+ custom_fields: import("./types").CustomField[];
2596
+ customer: import("./types").Customer;
2597
+ product_details: import("./types").ProductDetails;
2598
+ metadata: import("./types").JSON;
2599
+ } & {
2600
+ user?: undefined;
2601
+ license_key: string;
2602
+ } & {
2603
+ is_floating: boolean;
2604
+ is_floating_cloud: true;
2605
+ floating_in_use_devices: number;
2606
+ floating_users: number;
2607
+ } & {
2608
+ trial_days?: undefined;
2609
+ is_trial: false;
2610
+ } & {
2611
+ license_type: "consumption";
2612
+ max_consumptions: number;
2613
+ total_consumptions: number;
2614
+ allow_unlimited_consumptions: boolean;
2615
+ allow_overages: boolean;
2616
+ max_overages: number;
2617
+ reset_consumption: boolean;
2618
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2619
+ } & {
2620
+ license_signature_v2: string;
2621
+ } & {
2622
+ offline_signature: string;
2623
+ }) | ({
2624
+ id: number;
2625
+ allow_grace_period: boolean;
2626
+ allow_overages: boolean;
2627
+ allow_unlimited_activations: boolean;
2628
+ borrowed_until: string | null;
2629
+ can_borrow: boolean;
2630
+ channel: string;
2631
+ device_id: number;
2632
+ enable_maintenance_period: boolean;
2633
+ environment: string;
2634
+ eula_link: string;
2635
+ floating_timeout: number;
2636
+ grace_period: number;
2637
+ hash_md5: string;
2638
+ installation_file: string;
2639
+ is_air_gapped: boolean;
2640
+ is_borrowed: boolean;
2641
+ is_expired: boolean;
2642
+ is_hardware_key_auth: boolean;
2643
+ license_active: boolean;
2644
+ license_enabled: boolean;
2645
+ license_signature: string;
2646
+ license_type: import("./types").LicenseType;
2647
+ maintenance_period: string | null;
2648
+ max_activations: number;
2649
+ max_borrow_time: number;
2650
+ max_license_users: number;
2651
+ max_overages: number;
2652
+ max_transfers: number;
2653
+ order_store_id: string;
2654
+ prevent_vm: boolean;
2655
+ release_date: string;
2656
+ release_notes_link: string;
2657
+ requires_version: string;
2658
+ size: string;
2659
+ start_date: string | null;
2660
+ times_activated: number;
2661
+ transfer_count: number;
2662
+ validity_period: import("./types").DateISO8601UTC | null;
2663
+ version: string;
2664
+ product_features: import("./types").ProductFeature[];
2665
+ custom_fields: import("./types").CustomField[];
2666
+ customer: import("./types").Customer;
2667
+ product_details: import("./types").ProductDetails;
2668
+ metadata: import("./types").JSON;
2669
+ } & {
2670
+ user?: undefined;
2671
+ license_key: string;
2672
+ } & {
2673
+ is_floating: boolean;
2674
+ is_floating_cloud: true;
2675
+ floating_in_use_devices: number;
2676
+ floating_users: number;
2677
+ } & {
2678
+ is_trial: true;
2679
+ trial_days: number;
2680
+ } & {
2681
+ license_type: "consumption";
2682
+ max_consumptions: number;
2683
+ total_consumptions: number;
2684
+ allow_unlimited_consumptions: boolean;
2685
+ allow_overages: boolean;
2686
+ max_overages: number;
2687
+ reset_consumption: boolean;
2688
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2689
+ } & {
2690
+ license_signature_v2: string;
2691
+ } & {
2692
+ offline_signature: string;
2693
+ }) | ({
2694
+ id: number;
2695
+ allow_grace_period: boolean;
2696
+ allow_overages: boolean;
2697
+ allow_unlimited_activations: boolean;
2698
+ borrowed_until: string | null;
2699
+ can_borrow: boolean;
2700
+ channel: string;
2701
+ device_id: number;
2702
+ enable_maintenance_period: boolean;
2703
+ environment: string;
2704
+ eula_link: string;
2705
+ floating_timeout: number;
2706
+ grace_period: number;
2707
+ hash_md5: string;
2708
+ installation_file: string;
2709
+ is_air_gapped: boolean;
2710
+ is_borrowed: boolean;
2711
+ is_expired: boolean;
2712
+ is_hardware_key_auth: boolean;
2713
+ license_active: boolean;
2714
+ license_enabled: boolean;
2715
+ license_signature: string;
2716
+ license_type: import("./types").LicenseType;
2717
+ maintenance_period: string | null;
2718
+ max_activations: number;
2719
+ max_borrow_time: number;
2720
+ max_license_users: number;
2721
+ max_overages: number;
2722
+ max_transfers: number;
2723
+ order_store_id: string;
2724
+ prevent_vm: boolean;
2725
+ release_date: string;
2726
+ release_notes_link: string;
2727
+ requires_version: string;
2728
+ size: string;
2729
+ start_date: string | null;
2730
+ times_activated: number;
2731
+ transfer_count: number;
2732
+ validity_period: import("./types").DateISO8601UTC | null;
2733
+ version: string;
2734
+ product_features: import("./types").ProductFeature[];
2735
+ custom_fields: import("./types").CustomField[];
2736
+ customer: import("./types").Customer;
2737
+ product_details: import("./types").ProductDetails;
2738
+ metadata: import("./types").JSON;
2739
+ } & {
2740
+ user?: undefined;
2741
+ license_key: string;
2742
+ } & {
2743
+ floating_users?: undefined;
2744
+ floating_in_use_devices?: undefined;
2745
+ is_floating_cloud: false;
2746
+ is_floating: false;
2747
+ } & {
2748
+ trial_days?: undefined;
2749
+ is_trial: false;
2750
+ } & {
2751
+ license_type: "consumption";
2752
+ max_consumptions: number;
2753
+ total_consumptions: number;
2754
+ allow_unlimited_consumptions: boolean;
2755
+ allow_overages: boolean;
2756
+ max_overages: number;
2757
+ reset_consumption: boolean;
2758
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2759
+ } & {
2760
+ license_signature_v2: string;
2761
+ } & {
2762
+ offline_signature: string;
2763
+ }) | ({
2764
+ id: number;
2765
+ allow_grace_period: boolean;
2766
+ allow_overages: boolean;
2767
+ allow_unlimited_activations: boolean;
2768
+ borrowed_until: string | null;
2769
+ can_borrow: boolean;
2770
+ channel: string;
2771
+ device_id: number;
2772
+ enable_maintenance_period: boolean;
2773
+ environment: string;
2774
+ eula_link: string;
2775
+ floating_timeout: number;
2776
+ grace_period: number;
2777
+ hash_md5: string;
2778
+ installation_file: string;
2779
+ is_air_gapped: boolean;
2780
+ is_borrowed: boolean;
2781
+ is_expired: boolean;
2782
+ is_hardware_key_auth: boolean;
2783
+ license_active: boolean;
2784
+ license_enabled: boolean;
2785
+ license_signature: string;
2786
+ license_type: import("./types").LicenseType;
2787
+ maintenance_period: string | null;
2788
+ max_activations: number;
2789
+ max_borrow_time: number;
2790
+ max_license_users: number;
2791
+ max_overages: number;
2792
+ max_transfers: number;
2793
+ order_store_id: string;
2794
+ prevent_vm: boolean;
2795
+ release_date: string;
2796
+ release_notes_link: string;
2797
+ requires_version: string;
2798
+ size: string;
2799
+ start_date: string | null;
2800
+ times_activated: number;
2801
+ transfer_count: number;
2802
+ validity_period: import("./types").DateISO8601UTC | null;
2803
+ version: string;
2804
+ product_features: import("./types").ProductFeature[];
2805
+ custom_fields: import("./types").CustomField[];
2806
+ customer: import("./types").Customer;
2807
+ product_details: import("./types").ProductDetails;
2808
+ metadata: import("./types").JSON;
2809
+ } & {
2810
+ user?: undefined;
2811
+ license_key: string;
2812
+ } & {
2813
+ floating_users?: undefined;
2814
+ floating_in_use_devices?: undefined;
2815
+ is_floating_cloud: false;
2816
+ is_floating: false;
2817
+ } & {
2818
+ is_trial: true;
2819
+ trial_days: number;
2820
+ } & {
2821
+ license_type: "consumption";
2822
+ max_consumptions: number;
2823
+ total_consumptions: number;
2824
+ allow_unlimited_consumptions: boolean;
2825
+ allow_overages: boolean;
2826
+ max_overages: number;
2827
+ reset_consumption: boolean;
2828
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2829
+ } & {
2830
+ license_signature_v2: string;
2831
+ } & {
2832
+ offline_signature: string;
2833
+ }) | ({
2834
+ id: number;
2835
+ allow_grace_period: boolean;
2836
+ allow_overages: boolean;
2837
+ allow_unlimited_activations: boolean;
2838
+ borrowed_until: string | null;
2839
+ can_borrow: boolean;
2840
+ channel: string;
2841
+ device_id: number;
2842
+ enable_maintenance_period: boolean;
2843
+ environment: string;
2844
+ eula_link: string;
2845
+ floating_timeout: number;
2846
+ grace_period: number;
2847
+ hash_md5: string;
2848
+ installation_file: string;
2849
+ is_air_gapped: boolean;
2850
+ is_borrowed: boolean;
2851
+ is_expired: boolean;
2852
+ is_hardware_key_auth: boolean;
2853
+ license_active: boolean;
2854
+ license_enabled: boolean;
2855
+ license_signature: string;
2856
+ license_type: import("./types").LicenseType;
2857
+ maintenance_period: string | null;
2858
+ max_activations: number;
2859
+ max_borrow_time: number;
2860
+ max_license_users: number;
2861
+ max_overages: number;
2862
+ max_transfers: number;
2863
+ order_store_id: string;
2864
+ prevent_vm: boolean;
2865
+ release_date: string;
2866
+ release_notes_link: string;
2867
+ requires_version: string;
2868
+ size: string;
2869
+ start_date: string | null;
2870
+ times_activated: number;
2871
+ transfer_count: number;
2872
+ validity_period: import("./types").DateISO8601UTC | null;
2873
+ version: string;
2874
+ product_features: import("./types").ProductFeature[];
2875
+ custom_fields: import("./types").CustomField[];
2876
+ customer: import("./types").Customer;
2877
+ product_details: import("./types").ProductDetails;
2878
+ metadata: import("./types").JSON;
2879
+ } & {
2880
+ license_key?: undefined;
2881
+ user: import("./types").LicenseUser;
2882
+ } & {
2883
+ is_floating: true;
2884
+ is_floating_cloud: boolean;
2885
+ floating_in_use_devices: number;
2886
+ floating_users: number;
2887
+ } & {
2888
+ trial_days?: undefined;
2889
+ is_trial: false;
2890
+ } & {
2891
+ license_type: "consumption";
2892
+ max_consumptions: number;
2893
+ total_consumptions: number;
2894
+ allow_unlimited_consumptions: boolean;
2895
+ allow_overages: boolean;
2896
+ max_overages: number;
2897
+ reset_consumption: boolean;
2898
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2899
+ } & {
2900
+ license_signature_v2: string;
2901
+ } & {
2902
+ offline_signature: string;
2903
+ }) | ({
2904
+ id: number;
2905
+ allow_grace_period: boolean;
2906
+ allow_overages: boolean;
2907
+ allow_unlimited_activations: boolean;
2908
+ borrowed_until: string | null;
2909
+ can_borrow: boolean;
2910
+ channel: string;
2911
+ device_id: number;
2912
+ enable_maintenance_period: boolean;
2913
+ environment: string;
2914
+ eula_link: string;
2915
+ floating_timeout: number;
2916
+ grace_period: number;
2917
+ hash_md5: string;
2918
+ installation_file: string;
2919
+ is_air_gapped: boolean;
2920
+ is_borrowed: boolean;
2921
+ is_expired: boolean;
2922
+ is_hardware_key_auth: boolean;
2923
+ license_active: boolean;
2924
+ license_enabled: boolean;
2925
+ license_signature: string;
2926
+ license_type: import("./types").LicenseType;
2927
+ maintenance_period: string | null;
2928
+ max_activations: number;
2929
+ max_borrow_time: number;
2930
+ max_license_users: number;
2931
+ max_overages: number;
2932
+ max_transfers: number;
2933
+ order_store_id: string;
2934
+ prevent_vm: boolean;
2935
+ release_date: string;
2936
+ release_notes_link: string;
2937
+ requires_version: string;
2938
+ size: string;
2939
+ start_date: string | null;
2940
+ times_activated: number;
2941
+ transfer_count: number;
2942
+ validity_period: import("./types").DateISO8601UTC | null;
2943
+ version: string;
2944
+ product_features: import("./types").ProductFeature[];
2945
+ custom_fields: import("./types").CustomField[];
2946
+ customer: import("./types").Customer;
2947
+ product_details: import("./types").ProductDetails;
2948
+ metadata: import("./types").JSON;
2949
+ } & {
2950
+ license_key?: undefined;
2951
+ user: import("./types").LicenseUser;
2952
+ } & {
2953
+ is_floating: true;
2954
+ is_floating_cloud: boolean;
2955
+ floating_in_use_devices: number;
2956
+ floating_users: number;
2957
+ } & {
2958
+ is_trial: true;
2959
+ trial_days: number;
2960
+ } & {
2961
+ license_type: "consumption";
2962
+ max_consumptions: number;
2963
+ total_consumptions: number;
2964
+ allow_unlimited_consumptions: boolean;
2965
+ allow_overages: boolean;
2966
+ max_overages: number;
2967
+ reset_consumption: boolean;
2968
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2969
+ } & {
2970
+ license_signature_v2: string;
2971
+ } & {
2972
+ offline_signature: string;
2973
+ }) | ({
2974
+ id: number;
2975
+ allow_grace_period: boolean;
2976
+ allow_overages: boolean;
2977
+ allow_unlimited_activations: boolean;
2978
+ borrowed_until: string | null;
2979
+ can_borrow: boolean;
2980
+ channel: string;
2981
+ device_id: number;
2982
+ enable_maintenance_period: boolean;
2983
+ environment: string;
2984
+ eula_link: string;
2985
+ floating_timeout: number;
2986
+ grace_period: number;
2987
+ hash_md5: string;
2988
+ installation_file: string;
2989
+ is_air_gapped: boolean;
2990
+ is_borrowed: boolean;
2991
+ is_expired: boolean;
2992
+ is_hardware_key_auth: boolean;
2993
+ license_active: boolean;
2994
+ license_enabled: boolean;
2995
+ license_signature: string;
2996
+ license_type: import("./types").LicenseType;
2997
+ maintenance_period: string | null;
2998
+ max_activations: number;
2999
+ max_borrow_time: number;
3000
+ max_license_users: number;
3001
+ max_overages: number;
3002
+ max_transfers: number;
3003
+ order_store_id: string;
3004
+ prevent_vm: boolean;
3005
+ release_date: string;
3006
+ release_notes_link: string;
3007
+ requires_version: string;
3008
+ size: string;
3009
+ start_date: string | null;
3010
+ times_activated: number;
3011
+ transfer_count: number;
3012
+ validity_period: import("./types").DateISO8601UTC | null;
3013
+ version: string;
3014
+ product_features: import("./types").ProductFeature[];
3015
+ custom_fields: import("./types").CustomField[];
3016
+ customer: import("./types").Customer;
3017
+ product_details: import("./types").ProductDetails;
3018
+ metadata: import("./types").JSON;
3019
+ } & {
3020
+ license_key?: undefined;
3021
+ user: import("./types").LicenseUser;
3022
+ } & {
3023
+ is_floating: boolean;
3024
+ is_floating_cloud: true;
3025
+ floating_in_use_devices: number;
3026
+ floating_users: number;
3027
+ } & {
3028
+ trial_days?: undefined;
3029
+ is_trial: false;
3030
+ } & {
3031
+ license_type: "consumption";
3032
+ max_consumptions: number;
3033
+ total_consumptions: number;
3034
+ allow_unlimited_consumptions: boolean;
3035
+ allow_overages: boolean;
3036
+ max_overages: number;
3037
+ reset_consumption: boolean;
3038
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3039
+ } & {
3040
+ license_signature_v2: string;
3041
+ } & {
3042
+ offline_signature: string;
3043
+ }) | ({
3044
+ id: number;
3045
+ allow_grace_period: boolean;
3046
+ allow_overages: boolean;
3047
+ allow_unlimited_activations: boolean;
3048
+ borrowed_until: string | null;
3049
+ can_borrow: boolean;
3050
+ channel: string;
3051
+ device_id: number;
3052
+ enable_maintenance_period: boolean;
3053
+ environment: string;
3054
+ eula_link: string;
3055
+ floating_timeout: number;
3056
+ grace_period: number;
3057
+ hash_md5: string;
3058
+ installation_file: string;
3059
+ is_air_gapped: boolean;
3060
+ is_borrowed: boolean;
3061
+ is_expired: boolean;
3062
+ is_hardware_key_auth: boolean;
3063
+ license_active: boolean;
3064
+ license_enabled: boolean;
3065
+ license_signature: string;
3066
+ license_type: import("./types").LicenseType;
3067
+ maintenance_period: string | null;
3068
+ max_activations: number;
3069
+ max_borrow_time: number;
3070
+ max_license_users: number;
3071
+ max_overages: number;
3072
+ max_transfers: number;
3073
+ order_store_id: string;
3074
+ prevent_vm: boolean;
3075
+ release_date: string;
3076
+ release_notes_link: string;
3077
+ requires_version: string;
3078
+ size: string;
3079
+ start_date: string | null;
3080
+ times_activated: number;
3081
+ transfer_count: number;
3082
+ validity_period: import("./types").DateISO8601UTC | null;
3083
+ version: string;
3084
+ product_features: import("./types").ProductFeature[];
3085
+ custom_fields: import("./types").CustomField[];
3086
+ customer: import("./types").Customer;
3087
+ product_details: import("./types").ProductDetails;
3088
+ metadata: import("./types").JSON;
3089
+ } & {
3090
+ license_key?: undefined;
3091
+ user: import("./types").LicenseUser;
3092
+ } & {
3093
+ is_floating: boolean;
3094
+ is_floating_cloud: true;
3095
+ floating_in_use_devices: number;
3096
+ floating_users: number;
3097
+ } & {
3098
+ is_trial: true;
3099
+ trial_days: number;
3100
+ } & {
3101
+ license_type: "consumption";
3102
+ max_consumptions: number;
3103
+ total_consumptions: number;
3104
+ allow_unlimited_consumptions: boolean;
3105
+ allow_overages: boolean;
3106
+ max_overages: number;
3107
+ reset_consumption: boolean;
3108
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3109
+ } & {
3110
+ license_signature_v2: string;
3111
+ } & {
3112
+ offline_signature: string;
3113
+ }) | ({
3114
+ id: number;
3115
+ allow_grace_period: boolean;
3116
+ allow_overages: boolean;
3117
+ allow_unlimited_activations: boolean;
3118
+ borrowed_until: string | null;
3119
+ can_borrow: boolean;
3120
+ channel: string;
3121
+ device_id: number;
3122
+ enable_maintenance_period: boolean;
3123
+ environment: string;
3124
+ eula_link: string;
3125
+ floating_timeout: number;
3126
+ grace_period: number;
3127
+ hash_md5: string;
3128
+ installation_file: string;
3129
+ is_air_gapped: boolean;
3130
+ is_borrowed: boolean;
3131
+ is_expired: boolean;
3132
+ is_hardware_key_auth: boolean;
3133
+ license_active: boolean;
3134
+ license_enabled: boolean;
3135
+ license_signature: string;
3136
+ license_type: import("./types").LicenseType;
3137
+ maintenance_period: string | null;
3138
+ max_activations: number;
3139
+ max_borrow_time: number;
3140
+ max_license_users: number;
3141
+ max_overages: number;
3142
+ max_transfers: number;
3143
+ order_store_id: string;
3144
+ prevent_vm: boolean;
3145
+ release_date: string;
3146
+ release_notes_link: string;
3147
+ requires_version: string;
3148
+ size: string;
3149
+ start_date: string | null;
3150
+ times_activated: number;
3151
+ transfer_count: number;
3152
+ validity_period: import("./types").DateISO8601UTC | null;
3153
+ version: string;
3154
+ product_features: import("./types").ProductFeature[];
3155
+ custom_fields: import("./types").CustomField[];
3156
+ customer: import("./types").Customer;
3157
+ product_details: import("./types").ProductDetails;
3158
+ metadata: import("./types").JSON;
3159
+ } & {
3160
+ license_key?: undefined;
3161
+ user: import("./types").LicenseUser;
3162
+ } & {
3163
+ floating_users?: undefined;
3164
+ floating_in_use_devices?: undefined;
3165
+ is_floating_cloud: false;
3166
+ is_floating: false;
3167
+ } & {
3168
+ trial_days?: undefined;
3169
+ is_trial: false;
3170
+ } & {
3171
+ license_type: "consumption";
3172
+ max_consumptions: number;
3173
+ total_consumptions: number;
3174
+ allow_unlimited_consumptions: boolean;
3175
+ allow_overages: boolean;
3176
+ max_overages: number;
3177
+ reset_consumption: boolean;
3178
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3179
+ } & {
3180
+ license_signature_v2: string;
3181
+ } & {
3182
+ offline_signature: string;
3183
+ }) | ({
3184
+ id: number;
3185
+ allow_grace_period: boolean;
3186
+ allow_overages: boolean;
3187
+ allow_unlimited_activations: boolean;
3188
+ borrowed_until: string | null;
3189
+ can_borrow: boolean;
3190
+ channel: string;
3191
+ device_id: number;
3192
+ enable_maintenance_period: boolean;
3193
+ environment: string;
3194
+ eula_link: string;
3195
+ floating_timeout: number;
3196
+ grace_period: number;
3197
+ hash_md5: string;
3198
+ installation_file: string;
3199
+ is_air_gapped: boolean;
3200
+ is_borrowed: boolean;
3201
+ is_expired: boolean;
3202
+ is_hardware_key_auth: boolean;
3203
+ license_active: boolean;
3204
+ license_enabled: boolean;
3205
+ license_signature: string;
3206
+ license_type: import("./types").LicenseType;
3207
+ maintenance_period: string | null;
3208
+ max_activations: number;
3209
+ max_borrow_time: number;
3210
+ max_license_users: number;
3211
+ max_overages: number;
3212
+ max_transfers: number;
3213
+ order_store_id: string;
3214
+ prevent_vm: boolean;
3215
+ release_date: string;
3216
+ release_notes_link: string;
3217
+ requires_version: string;
3218
+ size: string;
3219
+ start_date: string | null;
3220
+ times_activated: number;
3221
+ transfer_count: number;
3222
+ validity_period: import("./types").DateISO8601UTC | null;
3223
+ version: string;
3224
+ product_features: import("./types").ProductFeature[];
3225
+ custom_fields: import("./types").CustomField[];
3226
+ customer: import("./types").Customer;
3227
+ product_details: import("./types").ProductDetails;
3228
+ metadata: import("./types").JSON;
3229
+ } & {
3230
+ license_key?: undefined;
3231
+ user: import("./types").LicenseUser;
3232
+ } & {
3233
+ floating_users?: undefined;
3234
+ floating_in_use_devices?: undefined;
3235
+ is_floating_cloud: false;
3236
+ is_floating: false;
3237
+ } & {
3238
+ is_trial: true;
3239
+ trial_days: number;
3240
+ } & {
3241
+ license_type: "consumption";
3242
+ max_consumptions: number;
3243
+ total_consumptions: number;
3244
+ allow_unlimited_consumptions: boolean;
3245
+ allow_overages: boolean;
3246
+ max_overages: number;
3247
+ reset_consumption: boolean;
3248
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3249
+ } & {
3250
+ license_signature_v2: string;
3251
+ } & {
3252
+ offline_signature: string;
3253
+ });
3254
+ getTrialKey(payload: TrialKeyPayload): Promise<LicenseTrialResponse>;
3255
+ getUserLicenses(payload: GetUserLicensesPayload): Promise<(({
3256
+ id: number;
3257
+ allow_grace_period: boolean;
3258
+ allow_overages: boolean;
3259
+ allow_unlimited_activations: boolean;
3260
+ borrowed_until: string | null;
3261
+ can_borrow: boolean;
3262
+ channel: string;
3263
+ device_id: number;
3264
+ enable_maintenance_period: boolean;
3265
+ environment: string;
3266
+ eula_link: string;
3267
+ floating_timeout: number;
3268
+ grace_period: number;
3269
+ hash_md5: string;
3270
+ installation_file: string;
3271
+ is_air_gapped: boolean;
3272
+ is_borrowed: boolean;
3273
+ is_expired: boolean;
3274
+ is_hardware_key_auth: boolean;
3275
+ license_active: boolean;
3276
+ license_enabled: boolean;
3277
+ license_signature: string;
3278
+ license_type: import("./types").LicenseType;
3279
+ maintenance_period: string | null;
3280
+ max_activations: number;
3281
+ max_borrow_time: number;
3282
+ max_license_users: number;
3283
+ max_overages: number;
3284
+ max_transfers: number;
3285
+ order_store_id: string;
3286
+ prevent_vm: boolean;
3287
+ release_date: string;
3288
+ release_notes_link: string;
3289
+ requires_version: string;
3290
+ size: string;
3291
+ start_date: string | null;
3292
+ times_activated: number;
3293
+ transfer_count: number;
3294
+ validity_period: import("./types").DateISO8601UTC | null;
3295
+ version: string;
3296
+ product_features: import("./types").ProductFeature[];
3297
+ custom_fields: import("./types").CustomField[];
3298
+ customer: import("./types").Customer;
3299
+ product_details: import("./types").ProductDetails;
3300
+ metadata: import("./types").JSON;
3301
+ } & {
3302
+ user?: undefined;
3303
+ license_key: string;
3304
+ } & {
3305
+ is_floating: true;
3306
+ is_floating_cloud: boolean;
3307
+ floating_in_use_devices: number;
3308
+ floating_users: number;
3309
+ } & {
3310
+ trial_days?: undefined;
3311
+ is_trial: false;
3312
+ } & {
3313
+ license_type: "consumption";
3314
+ max_consumptions: number;
3315
+ total_consumptions: number;
3316
+ allow_unlimited_consumptions: boolean;
3317
+ allow_overages: boolean;
3318
+ max_overages: number;
3319
+ reset_consumption: boolean;
3320
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3321
+ }) | ({
3322
+ id: number;
3323
+ allow_grace_period: boolean;
3324
+ allow_overages: boolean;
3325
+ allow_unlimited_activations: boolean;
3326
+ borrowed_until: string | null;
3327
+ can_borrow: boolean;
3328
+ channel: string;
3329
+ device_id: number;
3330
+ enable_maintenance_period: boolean;
3331
+ environment: string;
3332
+ eula_link: string;
3333
+ floating_timeout: number;
3334
+ grace_period: number;
3335
+ hash_md5: string;
3336
+ installation_file: string;
3337
+ is_air_gapped: boolean;
3338
+ is_borrowed: boolean;
3339
+ is_expired: boolean;
3340
+ is_hardware_key_auth: boolean;
3341
+ license_active: boolean;
3342
+ license_enabled: boolean;
3343
+ license_signature: string;
3344
+ license_type: import("./types").LicenseType;
3345
+ maintenance_period: string | null;
3346
+ max_activations: number;
3347
+ max_borrow_time: number;
3348
+ max_license_users: number;
3349
+ max_overages: number;
3350
+ max_transfers: number;
3351
+ order_store_id: string;
3352
+ prevent_vm: boolean;
3353
+ release_date: string;
3354
+ release_notes_link: string;
3355
+ requires_version: string;
3356
+ size: string;
3357
+ start_date: string | null;
3358
+ times_activated: number;
3359
+ transfer_count: number;
3360
+ validity_period: import("./types").DateISO8601UTC | null;
3361
+ version: string;
3362
+ product_features: import("./types").ProductFeature[];
3363
+ custom_fields: import("./types").CustomField[];
3364
+ customer: import("./types").Customer;
3365
+ product_details: import("./types").ProductDetails;
3366
+ metadata: import("./types").JSON;
3367
+ } & {
3368
+ user?: undefined;
3369
+ license_key: string;
3370
+ } & {
3371
+ is_floating: true;
3372
+ is_floating_cloud: boolean;
3373
+ floating_in_use_devices: number;
3374
+ floating_users: number;
3375
+ } & {
3376
+ is_trial: true;
3377
+ trial_days: number;
3378
+ } & {
3379
+ license_type: "consumption";
3380
+ max_consumptions: number;
3381
+ total_consumptions: number;
3382
+ allow_unlimited_consumptions: boolean;
3383
+ allow_overages: boolean;
3384
+ max_overages: number;
3385
+ reset_consumption: boolean;
3386
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3387
+ }) | ({
3388
+ id: number;
3389
+ allow_grace_period: boolean;
3390
+ allow_overages: boolean;
3391
+ allow_unlimited_activations: boolean;
3392
+ borrowed_until: string | null;
3393
+ can_borrow: boolean;
3394
+ channel: string;
3395
+ device_id: number;
3396
+ enable_maintenance_period: boolean;
3397
+ environment: string;
3398
+ eula_link: string;
3399
+ floating_timeout: number;
3400
+ grace_period: number;
3401
+ hash_md5: string;
3402
+ installation_file: string;
3403
+ is_air_gapped: boolean;
3404
+ is_borrowed: boolean;
3405
+ is_expired: boolean;
3406
+ is_hardware_key_auth: boolean;
3407
+ license_active: boolean;
3408
+ license_enabled: boolean;
3409
+ license_signature: string;
3410
+ license_type: import("./types").LicenseType;
3411
+ maintenance_period: string | null;
3412
+ max_activations: number;
3413
+ max_borrow_time: number;
3414
+ max_license_users: number;
3415
+ max_overages: number;
3416
+ max_transfers: number;
3417
+ order_store_id: string;
3418
+ prevent_vm: boolean;
3419
+ release_date: string;
3420
+ release_notes_link: string;
3421
+ requires_version: string;
3422
+ size: string;
3423
+ start_date: string | null;
3424
+ times_activated: number;
3425
+ transfer_count: number;
3426
+ validity_period: import("./types").DateISO8601UTC | null;
3427
+ version: string;
3428
+ product_features: import("./types").ProductFeature[];
3429
+ custom_fields: import("./types").CustomField[];
3430
+ customer: import("./types").Customer;
3431
+ product_details: import("./types").ProductDetails;
3432
+ metadata: import("./types").JSON;
3433
+ } & {
3434
+ user?: undefined;
3435
+ license_key: string;
3436
+ } & {
3437
+ is_floating: boolean;
3438
+ is_floating_cloud: true;
3439
+ floating_in_use_devices: number;
3440
+ floating_users: number;
3441
+ } & {
3442
+ trial_days?: undefined;
3443
+ is_trial: false;
3444
+ } & {
3445
+ license_type: "consumption";
3446
+ max_consumptions: number;
3447
+ total_consumptions: number;
3448
+ allow_unlimited_consumptions: boolean;
3449
+ allow_overages: boolean;
3450
+ max_overages: number;
3451
+ reset_consumption: boolean;
3452
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3453
+ }) | ({
3454
+ id: number;
3455
+ allow_grace_period: boolean;
3456
+ allow_overages: boolean;
3457
+ allow_unlimited_activations: boolean;
3458
+ borrowed_until: string | null;
3459
+ can_borrow: boolean;
3460
+ channel: string;
3461
+ device_id: number;
3462
+ enable_maintenance_period: boolean;
3463
+ environment: string;
3464
+ eula_link: string;
3465
+ floating_timeout: number;
3466
+ grace_period: number;
3467
+ hash_md5: string;
3468
+ installation_file: string;
3469
+ is_air_gapped: boolean;
3470
+ is_borrowed: boolean;
3471
+ is_expired: boolean;
3472
+ is_hardware_key_auth: boolean;
3473
+ license_active: boolean;
3474
+ license_enabled: boolean;
3475
+ license_signature: string;
3476
+ license_type: import("./types").LicenseType;
3477
+ maintenance_period: string | null;
3478
+ max_activations: number;
3479
+ max_borrow_time: number;
3480
+ max_license_users: number;
3481
+ max_overages: number;
3482
+ max_transfers: number;
3483
+ order_store_id: string;
3484
+ prevent_vm: boolean;
3485
+ release_date: string;
3486
+ release_notes_link: string;
3487
+ requires_version: string;
3488
+ size: string;
3489
+ start_date: string | null;
3490
+ times_activated: number;
3491
+ transfer_count: number;
3492
+ validity_period: import("./types").DateISO8601UTC | null;
3493
+ version: string;
3494
+ product_features: import("./types").ProductFeature[];
3495
+ custom_fields: import("./types").CustomField[];
3496
+ customer: import("./types").Customer;
3497
+ product_details: import("./types").ProductDetails;
3498
+ metadata: import("./types").JSON;
3499
+ } & {
3500
+ user?: undefined;
3501
+ license_key: string;
3502
+ } & {
3503
+ is_floating: boolean;
2459
3504
  is_floating_cloud: true;
2460
3505
  floating_in_use_devices: number;
2461
3506
  floating_users: number;
3507
+ } & {
3508
+ is_trial: true;
3509
+ trial_days: number;
3510
+ } & {
3511
+ license_type: "consumption";
3512
+ max_consumptions: number;
3513
+ total_consumptions: number;
3514
+ allow_unlimited_consumptions: boolean;
3515
+ allow_overages: boolean;
3516
+ max_overages: number;
3517
+ reset_consumption: boolean;
3518
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3519
+ }) | ({
3520
+ id: number;
3521
+ allow_grace_period: boolean;
3522
+ allow_overages: boolean;
3523
+ allow_unlimited_activations: boolean;
3524
+ borrowed_until: string | null;
3525
+ can_borrow: boolean;
3526
+ channel: string;
3527
+ device_id: number;
3528
+ enable_maintenance_period: boolean;
3529
+ environment: string;
3530
+ eula_link: string;
3531
+ floating_timeout: number;
3532
+ grace_period: number;
3533
+ hash_md5: string;
3534
+ installation_file: string;
3535
+ is_air_gapped: boolean;
3536
+ is_borrowed: boolean;
3537
+ is_expired: boolean;
3538
+ is_hardware_key_auth: boolean;
3539
+ license_active: boolean;
3540
+ license_enabled: boolean;
3541
+ license_signature: string;
3542
+ license_type: import("./types").LicenseType;
3543
+ maintenance_period: string | null;
3544
+ max_activations: number;
3545
+ max_borrow_time: number;
3546
+ max_license_users: number;
3547
+ max_overages: number;
3548
+ max_transfers: number;
3549
+ order_store_id: string;
3550
+ prevent_vm: boolean;
3551
+ release_date: string;
3552
+ release_notes_link: string;
3553
+ requires_version: string;
3554
+ size: string;
3555
+ start_date: string | null;
3556
+ times_activated: number;
3557
+ transfer_count: number;
3558
+ validity_period: import("./types").DateISO8601UTC | null;
3559
+ version: string;
3560
+ product_features: import("./types").ProductFeature[];
3561
+ custom_fields: import("./types").CustomField[];
3562
+ customer: import("./types").Customer;
3563
+ product_details: import("./types").ProductDetails;
3564
+ metadata: import("./types").JSON;
3565
+ } & {
3566
+ user?: undefined;
3567
+ license_key: string;
3568
+ } & {
3569
+ floating_users?: undefined;
3570
+ floating_in_use_devices?: undefined;
3571
+ is_floating_cloud: false;
3572
+ is_floating: false;
3573
+ } & {
3574
+ trial_days?: undefined;
3575
+ is_trial: false;
3576
+ } & {
3577
+ license_type: "consumption";
3578
+ max_consumptions: number;
3579
+ total_consumptions: number;
3580
+ allow_unlimited_consumptions: boolean;
3581
+ allow_overages: boolean;
3582
+ max_overages: number;
3583
+ reset_consumption: boolean;
3584
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3585
+ }) | ({
3586
+ id: number;
3587
+ allow_grace_period: boolean;
3588
+ allow_overages: boolean;
3589
+ allow_unlimited_activations: boolean;
3590
+ borrowed_until: string | null;
3591
+ can_borrow: boolean;
3592
+ channel: string;
3593
+ device_id: number;
3594
+ enable_maintenance_period: boolean;
3595
+ environment: string;
3596
+ eula_link: string;
2462
3597
  floating_timeout: number;
3598
+ grace_period: number;
3599
+ hash_md5: string;
3600
+ installation_file: string;
3601
+ is_air_gapped: boolean;
3602
+ is_borrowed: boolean;
3603
+ is_expired: boolean;
3604
+ is_hardware_key_auth: boolean;
3605
+ license_active: boolean;
3606
+ license_enabled: boolean;
3607
+ license_signature: string;
3608
+ license_type: import("./types").LicenseType;
3609
+ maintenance_period: string | null;
3610
+ max_activations: number;
3611
+ max_borrow_time: number;
3612
+ max_license_users: number;
3613
+ max_overages: number;
3614
+ max_transfers: number;
3615
+ order_store_id: string;
3616
+ prevent_vm: boolean;
3617
+ release_date: string;
3618
+ release_notes_link: string;
3619
+ requires_version: string;
3620
+ size: string;
3621
+ start_date: string | null;
3622
+ times_activated: number;
3623
+ transfer_count: number;
3624
+ validity_period: import("./types").DateISO8601UTC | null;
3625
+ version: string;
3626
+ product_features: import("./types").ProductFeature[];
3627
+ custom_fields: import("./types").CustomField[];
3628
+ customer: import("./types").Customer;
3629
+ product_details: import("./types").ProductDetails;
3630
+ metadata: import("./types").JSON;
3631
+ } & {
3632
+ user?: undefined;
3633
+ license_key: string;
3634
+ } & {
3635
+ floating_users?: undefined;
3636
+ floating_in_use_devices?: undefined;
3637
+ is_floating_cloud: false;
3638
+ is_floating: false;
2463
3639
  } & {
2464
3640
  is_trial: true;
2465
3641
  trial_days: number;
@@ -2471,7 +3647,7 @@ export default class LicenseAPI {
2471
3647
  allow_overages: boolean;
2472
3648
  max_overages: number;
2473
3649
  reset_consumption: boolean;
2474
- consumption_period: import("./types").DateISO8601UTC | null;
3650
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2475
3651
  }) | ({
2476
3652
  id: number;
2477
3653
  allow_grace_period: boolean;
@@ -2526,7 +3702,6 @@ export default class LicenseAPI {
2526
3702
  is_floating_cloud: boolean;
2527
3703
  floating_in_use_devices: number;
2528
3704
  floating_users: number;
2529
- floating_timeout: number;
2530
3705
  } & {
2531
3706
  trial_days?: undefined;
2532
3707
  is_trial: false;
@@ -2538,7 +3713,7 @@ export default class LicenseAPI {
2538
3713
  allow_overages: boolean;
2539
3714
  max_overages: number;
2540
3715
  reset_consumption: boolean;
2541
- consumption_period: import("./types").DateISO8601UTC | null;
3716
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2542
3717
  }) | ({
2543
3718
  id: number;
2544
3719
  allow_grace_period: boolean;
@@ -2593,7 +3768,6 @@ export default class LicenseAPI {
2593
3768
  is_floating_cloud: boolean;
2594
3769
  floating_in_use_devices: number;
2595
3770
  floating_users: number;
2596
- floating_timeout: number;
2597
3771
  } & {
2598
3772
  is_trial: true;
2599
3773
  trial_days: number;
@@ -2605,7 +3779,7 @@ export default class LicenseAPI {
2605
3779
  allow_overages: boolean;
2606
3780
  max_overages: number;
2607
3781
  reset_consumption: boolean;
2608
- consumption_period: import("./types").DateISO8601UTC | null;
3782
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2609
3783
  }) | ({
2610
3784
  id: number;
2611
3785
  allow_grace_period: boolean;
@@ -2660,7 +3834,6 @@ export default class LicenseAPI {
2660
3834
  is_floating_cloud: true;
2661
3835
  floating_in_use_devices: number;
2662
3836
  floating_users: number;
2663
- floating_timeout: number;
2664
3837
  } & {
2665
3838
  trial_days?: undefined;
2666
3839
  is_trial: false;
@@ -2672,7 +3845,7 @@ export default class LicenseAPI {
2672
3845
  allow_overages: boolean;
2673
3846
  max_overages: number;
2674
3847
  reset_consumption: boolean;
2675
- consumption_period: import("./types").DateISO8601UTC | null;
3848
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2676
3849
  }) | ({
2677
3850
  id: number;
2678
3851
  allow_grace_period: boolean;
@@ -2727,7 +3900,138 @@ export default class LicenseAPI {
2727
3900
  is_floating_cloud: true;
2728
3901
  floating_in_use_devices: number;
2729
3902
  floating_users: number;
3903
+ } & {
3904
+ is_trial: true;
3905
+ trial_days: number;
3906
+ } & {
3907
+ license_type: "consumption";
3908
+ max_consumptions: number;
3909
+ total_consumptions: number;
3910
+ allow_unlimited_consumptions: boolean;
3911
+ allow_overages: boolean;
3912
+ max_overages: number;
3913
+ reset_consumption: boolean;
3914
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3915
+ }) | ({
3916
+ id: number;
3917
+ allow_grace_period: boolean;
3918
+ allow_overages: boolean;
3919
+ allow_unlimited_activations: boolean;
3920
+ borrowed_until: string | null;
3921
+ can_borrow: boolean;
3922
+ channel: string;
3923
+ device_id: number;
3924
+ enable_maintenance_period: boolean;
3925
+ environment: string;
3926
+ eula_link: string;
3927
+ floating_timeout: number;
3928
+ grace_period: number;
3929
+ hash_md5: string;
3930
+ installation_file: string;
3931
+ is_air_gapped: boolean;
3932
+ is_borrowed: boolean;
3933
+ is_expired: boolean;
3934
+ is_hardware_key_auth: boolean;
3935
+ license_active: boolean;
3936
+ license_enabled: boolean;
3937
+ license_signature: string;
3938
+ license_type: import("./types").LicenseType;
3939
+ maintenance_period: string | null;
3940
+ max_activations: number;
3941
+ max_borrow_time: number;
3942
+ max_license_users: number;
3943
+ max_overages: number;
3944
+ max_transfers: number;
3945
+ order_store_id: string;
3946
+ prevent_vm: boolean;
3947
+ release_date: string;
3948
+ release_notes_link: string;
3949
+ requires_version: string;
3950
+ size: string;
3951
+ start_date: string | null;
3952
+ times_activated: number;
3953
+ transfer_count: number;
3954
+ validity_period: import("./types").DateISO8601UTC | null;
3955
+ version: string;
3956
+ product_features: import("./types").ProductFeature[];
3957
+ custom_fields: import("./types").CustomField[];
3958
+ customer: import("./types").Customer;
3959
+ product_details: import("./types").ProductDetails;
3960
+ metadata: import("./types").JSON;
3961
+ } & {
3962
+ license_key?: undefined;
3963
+ user: import("./types").LicenseUser;
3964
+ } & {
3965
+ floating_users?: undefined;
3966
+ floating_in_use_devices?: undefined;
3967
+ is_floating_cloud: false;
3968
+ is_floating: false;
3969
+ } & {
3970
+ trial_days?: undefined;
3971
+ is_trial: false;
3972
+ } & {
3973
+ license_type: "consumption";
3974
+ max_consumptions: number;
3975
+ total_consumptions: number;
3976
+ allow_unlimited_consumptions: boolean;
3977
+ allow_overages: boolean;
3978
+ max_overages: number;
3979
+ reset_consumption: boolean;
3980
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
3981
+ }) | ({
3982
+ id: number;
3983
+ allow_grace_period: boolean;
3984
+ allow_overages: boolean;
3985
+ allow_unlimited_activations: boolean;
3986
+ borrowed_until: string | null;
3987
+ can_borrow: boolean;
3988
+ channel: string;
3989
+ device_id: number;
3990
+ enable_maintenance_period: boolean;
3991
+ environment: string;
3992
+ eula_link: string;
2730
3993
  floating_timeout: number;
3994
+ grace_period: number;
3995
+ hash_md5: string;
3996
+ installation_file: string;
3997
+ is_air_gapped: boolean;
3998
+ is_borrowed: boolean;
3999
+ is_expired: boolean;
4000
+ is_hardware_key_auth: boolean;
4001
+ license_active: boolean;
4002
+ license_enabled: boolean;
4003
+ license_signature: string;
4004
+ license_type: import("./types").LicenseType;
4005
+ maintenance_period: string | null;
4006
+ max_activations: number;
4007
+ max_borrow_time: number;
4008
+ max_license_users: number;
4009
+ max_overages: number;
4010
+ max_transfers: number;
4011
+ order_store_id: string;
4012
+ prevent_vm: boolean;
4013
+ release_date: string;
4014
+ release_notes_link: string;
4015
+ requires_version: string;
4016
+ size: string;
4017
+ start_date: string | null;
4018
+ times_activated: number;
4019
+ transfer_count: number;
4020
+ validity_period: import("./types").DateISO8601UTC | null;
4021
+ version: string;
4022
+ product_features: import("./types").ProductFeature[];
4023
+ custom_fields: import("./types").CustomField[];
4024
+ customer: import("./types").Customer;
4025
+ product_details: import("./types").ProductDetails;
4026
+ metadata: import("./types").JSON;
4027
+ } & {
4028
+ license_key?: undefined;
4029
+ user: import("./types").LicenseUser;
4030
+ } & {
4031
+ floating_users?: undefined;
4032
+ floating_in_use_devices?: undefined;
4033
+ is_floating_cloud: false;
4034
+ is_floating: false;
2731
4035
  } & {
2732
4036
  is_trial: true;
2733
4037
  trial_days: number;
@@ -2739,7 +4043,7 @@ export default class LicenseAPI {
2739
4043
  allow_overages: boolean;
2740
4044
  max_overages: number;
2741
4045
  reset_consumption: boolean;
2742
- consumption_period: import("./types").DateISO8601UTC | null;
4046
+ consumption_period: "daily" | "weekly" | "monthly" | "annually" | null;
2743
4047
  }))[]>;
2744
4048
  getCustomerLicenseUsers(payload: GetCustomerLicensesPayload): Promise<CustomerLicenseUsersResponse>;
2745
4049
  checkLicenseFeature(payload: LicenseIdentificatorAndFeature): Promise<LicenseFeatureResponse>;