@rlvt/entity-manager-openapi-client 1.0.75 → 1.0.77

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/build/api.d.ts CHANGED
@@ -97,7 +97,43 @@ export default class {
97
97
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
98
98
  status: "success";
99
99
  } & {
100
- data: unknown;
100
+ data: {
101
+ user: {
102
+ readonly id: string & {
103
+ readonly?: "__readonly" | undefined;
104
+ };
105
+ readonly companyId: string & {
106
+ readonly?: "__readonly" | undefined;
107
+ };
108
+ readonly roleId: string & {
109
+ readonly?: "__readonly" | undefined;
110
+ };
111
+ readonly resourceGroupIds: string[];
112
+ readonly createdAt: string & {
113
+ readonly?: "__readonly" | undefined;
114
+ };
115
+ readonly updatedAt: string & {
116
+ readonly?: "__readonly" | undefined;
117
+ };
118
+ email: string;
119
+ profile?: {
120
+ firstname?: string | undefined;
121
+ lastname?: string | undefined;
122
+ jobtitle?: string | undefined;
123
+ phone?: string | undefined;
124
+ preferredLang?: string | undefined;
125
+ } | undefined;
126
+ readonly hasOtp: boolean & {
127
+ readonly?: "__readonly" | undefined;
128
+ };
129
+ readonly accountType?: (("service-account" | "user") & {
130
+ readonly?: "__readonly" | undefined;
131
+ }) | undefined;
132
+ };
133
+ isValid: boolean;
134
+ revokedAt: string | null;
135
+ expiresAt: string | null;
136
+ };
101
137
  program: string;
102
138
  version: string;
103
139
  datetime: string;
@@ -110,7 +146,9 @@ export default class {
110
146
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
111
147
  status: "success";
112
148
  } & {
113
- data: unknown;
149
+ data: {
150
+ revoked: boolean;
151
+ };
114
152
  program: string;
115
153
  version: string;
116
154
  datetime: string;
@@ -123,7 +161,10 @@ export default class {
123
161
  getDefaults: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
124
162
  status: "success";
125
163
  } & {
126
- data: unknown;
164
+ data: {
165
+ roleId: string;
166
+ resourceGroupIds: string[];
167
+ };
127
168
  program: string;
128
169
  version: string;
129
170
  datetime: string;
@@ -157,6 +198,7 @@ export default class {
157
198
  type: "datasource" | "individual" | "display";
158
199
  subtype?: string | undefined;
159
200
  quota: number;
201
+ usage?: number | undefined;
160
202
  }[];
161
203
  startDate: string;
162
204
  endDate: string;
@@ -429,6 +471,7 @@ export default class {
429
471
  type: "datasource" | "individual" | "display";
430
472
  subtype?: string | undefined;
431
473
  quota: number;
474
+ usage?: number | undefined;
432
475
  }[];
433
476
  startDate: string;
434
477
  endDate: string;
@@ -717,6 +760,7 @@ export default class {
717
760
  type: "datasource" | "individual" | "display";
718
761
  subtype?: string | undefined;
719
762
  quota: number;
763
+ usage?: number | undefined;
720
764
  }[];
721
765
  startDate: string;
722
766
  endDate: string;
@@ -996,19 +1040,19 @@ export default class {
996
1040
  readonly id: string & {
997
1041
  readonly?: "__readonly" | undefined;
998
1042
  };
999
- readonly roleId: string & {
1043
+ readonly companyId: string & {
1000
1044
  readonly?: "__readonly" | undefined;
1001
1045
  };
1002
- readonly resourceGroupIds: string[];
1003
- readonly companyId: string & {
1046
+ readonly roleId: string & {
1004
1047
  readonly?: "__readonly" | undefined;
1005
1048
  };
1049
+ readonly resourceGroupIds: string[];
1006
1050
  createdAt: string;
1007
1051
  state: InvitationState;
1008
- usedAt?: string | undefined;
1009
1052
  readonly email: string & {
1010
1053
  readonly?: "__readonly" | undefined;
1011
1054
  };
1055
+ usedAt?: string | undefined;
1012
1056
  }[];
1013
1057
  program: string;
1014
1058
  version: string;
@@ -1028,19 +1072,19 @@ export default class {
1028
1072
  readonly id: string & {
1029
1073
  readonly?: "__readonly" | undefined;
1030
1074
  };
1031
- readonly roleId: string & {
1075
+ readonly companyId: string & {
1032
1076
  readonly?: "__readonly" | undefined;
1033
1077
  };
1034
- readonly resourceGroupIds: string[];
1035
- readonly companyId: string & {
1078
+ readonly roleId: string & {
1036
1079
  readonly?: "__readonly" | undefined;
1037
1080
  };
1081
+ readonly resourceGroupIds: string[];
1038
1082
  createdAt: string;
1039
1083
  state: InvitationState;
1040
- usedAt?: string | undefined;
1041
1084
  readonly email: string & {
1042
1085
  readonly?: "__readonly" | undefined;
1043
1086
  };
1087
+ usedAt?: string | undefined;
1044
1088
  }[];
1045
1089
  program: string;
1046
1090
  version: string;
@@ -1058,19 +1102,19 @@ export default class {
1058
1102
  readonly id: string & {
1059
1103
  readonly?: "__readonly" | undefined;
1060
1104
  };
1061
- readonly roleId: string & {
1105
+ readonly companyId: string & {
1062
1106
  readonly?: "__readonly" | undefined;
1063
1107
  };
1064
- readonly resourceGroupIds: string[];
1065
- readonly companyId: string & {
1108
+ readonly roleId: string & {
1066
1109
  readonly?: "__readonly" | undefined;
1067
1110
  };
1111
+ readonly resourceGroupIds: string[];
1068
1112
  createdAt: string;
1069
1113
  state: InvitationState;
1070
- usedAt?: string | undefined;
1071
1114
  readonly email: string & {
1072
1115
  readonly?: "__readonly" | undefined;
1073
1116
  };
1117
+ usedAt?: string | undefined;
1074
1118
  }[];
1075
1119
  program: string;
1076
1120
  version: string;
@@ -1084,7 +1128,9 @@ export default class {
1084
1128
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1085
1129
  status: "success";
1086
1130
  } & {
1087
- data: unknown;
1131
+ data: {
1132
+ id: string;
1133
+ };
1088
1134
  program: string;
1089
1135
  version: string;
1090
1136
  datetime: string;
@@ -1182,6 +1228,9 @@ export default class {
1182
1228
  status: "success";
1183
1229
  } & {
1184
1230
  data: {
1231
+ readonly id: string & {
1232
+ readonly?: "__readonly" | undefined;
1233
+ };
1185
1234
  readonly companyId: string & {
1186
1235
  readonly?: "__readonly" | undefined;
1187
1236
  };
@@ -1195,9 +1244,9 @@ export default class {
1195
1244
  reason?: string | undefined;
1196
1245
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1197
1246
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1198
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1247
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1199
1248
  field: string;
1200
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1249
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1201
1250
  })[] | undefined;
1202
1251
  }[];
1203
1252
  usersCount: number;
@@ -1220,15 +1269,18 @@ export default class {
1220
1269
  reason?: string | undefined;
1221
1270
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1222
1271
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1223
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1272
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1224
1273
  field: string;
1225
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1274
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1226
1275
  })[] | undefined;
1227
1276
  }[];
1228
1277
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1229
1278
  status: "success";
1230
1279
  } & {
1231
1280
  data: {
1281
+ readonly id: string & {
1282
+ readonly?: "__readonly" | undefined;
1283
+ };
1232
1284
  readonly companyId: string & {
1233
1285
  readonly?: "__readonly" | undefined;
1234
1286
  };
@@ -1242,9 +1294,9 @@ export default class {
1242
1294
  reason?: string | undefined;
1243
1295
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1244
1296
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1245
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1297
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1246
1298
  field: string;
1247
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1299
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1248
1300
  })[] | undefined;
1249
1301
  }[];
1250
1302
  }[];
@@ -1268,15 +1320,18 @@ export default class {
1268
1320
  reason?: string | undefined;
1269
1321
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1270
1322
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1271
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1323
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1272
1324
  field: string;
1273
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1325
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1274
1326
  })[] | undefined;
1275
1327
  }[] | undefined;
1276
1328
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1277
1329
  status: "success";
1278
1330
  } & {
1279
1331
  data: {
1332
+ readonly id: string & {
1333
+ readonly?: "__readonly" | undefined;
1334
+ };
1280
1335
  readonly companyId: string & {
1281
1336
  readonly?: "__readonly" | undefined;
1282
1337
  };
@@ -1290,9 +1345,9 @@ export default class {
1290
1345
  reason?: string | undefined;
1291
1346
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1292
1347
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1293
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1348
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1294
1349
  field: string;
1295
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1350
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1296
1351
  })[] | undefined;
1297
1352
  }[];
1298
1353
  }[];
@@ -1332,13 +1387,13 @@ export default class {
1332
1387
  readonly id: string & {
1333
1388
  readonly?: "__readonly" | undefined;
1334
1389
  };
1335
- readonly roleId: string & {
1390
+ readonly companyId: string & {
1336
1391
  readonly?: "__readonly" | undefined;
1337
1392
  };
1338
- readonly resourceGroupIds: string[];
1339
- readonly companyId: string & {
1393
+ readonly roleId: string & {
1340
1394
  readonly?: "__readonly" | undefined;
1341
1395
  };
1396
+ readonly resourceGroupIds: string[];
1342
1397
  readonly createdAt: string & {
1343
1398
  readonly?: "__readonly" | undefined;
1344
1399
  };
@@ -1356,7 +1411,7 @@ export default class {
1356
1411
  readonly hasOtp: boolean & {
1357
1412
  readonly?: "__readonly" | undefined;
1358
1413
  };
1359
- readonly accountType?: (("user" | "service-account") & {
1414
+ readonly accountType?: (("service-account" | "user") & {
1360
1415
  readonly?: "__readonly" | undefined;
1361
1416
  }) | undefined;
1362
1417
  }[];
@@ -1380,7 +1435,301 @@ export default class {
1380
1435
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1381
1436
  status: "success";
1382
1437
  } & {
1383
- data: unknown;
1438
+ data: {
1439
+ user: {
1440
+ readonly id: string & {
1441
+ readonly?: "__readonly" | undefined;
1442
+ };
1443
+ readonly companyId: string & {
1444
+ readonly?: "__readonly" | undefined;
1445
+ };
1446
+ readonly roleId: string & {
1447
+ readonly?: "__readonly" | undefined;
1448
+ };
1449
+ readonly resourceGroupIds: string[];
1450
+ readonly createdAt: string & {
1451
+ readonly?: "__readonly" | undefined;
1452
+ };
1453
+ readonly updatedAt: string & {
1454
+ readonly?: "__readonly" | undefined;
1455
+ };
1456
+ email: string;
1457
+ profile?: {
1458
+ firstname?: string | undefined;
1459
+ lastname?: string | undefined;
1460
+ jobtitle?: string | undefined;
1461
+ phone?: string | undefined;
1462
+ preferredLang?: string | undefined;
1463
+ } | undefined;
1464
+ readonly hasOtp: boolean & {
1465
+ readonly?: "__readonly" | undefined;
1466
+ };
1467
+ readonly accountType?: (("service-account" | "user") & {
1468
+ readonly?: "__readonly" | undefined;
1469
+ }) | undefined;
1470
+ };
1471
+ company: {
1472
+ readonly id: string & {
1473
+ readonly?: "__readonly" | undefined;
1474
+ };
1475
+ defaultRoleId: string;
1476
+ defaultResourceGroupIds: string[];
1477
+ readonly createdAt: string & {
1478
+ readonly?: "__readonly" | undefined;
1479
+ };
1480
+ readonly updatedAt: string & {
1481
+ readonly?: "__readonly" | undefined;
1482
+ };
1483
+ name: string;
1484
+ readonly plan: {
1485
+ readonly?: "__readonly" | undefined;
1486
+ name: string;
1487
+ quotas: {
1488
+ type: "datasource" | "individual" | "display";
1489
+ subtype?: string | undefined;
1490
+ quota: number;
1491
+ usage?: number | undefined;
1492
+ }[];
1493
+ startDate: string;
1494
+ endDate: string;
1495
+ attributionPeriod?: number | undefined;
1496
+ };
1497
+ securityPolicy: {
1498
+ password: {
1499
+ duration: number;
1500
+ rules: {
1501
+ options: {
1502
+ maximum?: number | undefined;
1503
+ minimum?: number | undefined;
1504
+ };
1505
+ type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1506
+ }[];
1507
+ attempts: {
1508
+ maximum: number;
1509
+ lockDuration: number;
1510
+ };
1511
+ };
1512
+ };
1513
+ variableProfiles: {
1514
+ id: string;
1515
+ name: string;
1516
+ variables: {
1517
+ "rlvt-u"?: string | undefined;
1518
+ "rlvt-m"?: string | undefined;
1519
+ utm_campaign?: string | undefined;
1520
+ utm_source?: string | undefined;
1521
+ utm_medium?: string | undefined;
1522
+ utm_term?: string | undefined;
1523
+ };
1524
+ }[];
1525
+ sso?: {
1526
+ domains: string[];
1527
+ mode: "invitation" | "create";
1528
+ mandatory: boolean;
1529
+ readonly identityProvider: {
1530
+ readonly?: "__readonly" | undefined;
1531
+ entityMeta: {
1532
+ meta: unknown;
1533
+ xmlString: string;
1534
+ };
1535
+ entitySetting: {
1536
+ metadata?: string | {
1537
+ data: number[];
1538
+ type: "Buffer";
1539
+ } | undefined;
1540
+ entityID?: string | undefined;
1541
+ authnRequestsSigned?: boolean | undefined;
1542
+ wantAssertionsSigned?: boolean | undefined;
1543
+ wantMessageSigned?: boolean | undefined;
1544
+ wantLogoutResponseSigned?: boolean | undefined;
1545
+ wantLogoutRequestSigned?: boolean | undefined;
1546
+ privateKey?: string | {
1547
+ data: number[];
1548
+ type: "Buffer";
1549
+ } | undefined;
1550
+ privateKeyPass?: string | undefined;
1551
+ isAssertionEncrypted?: boolean | undefined;
1552
+ requestSignatureAlgorithm?: string | undefined;
1553
+ encPrivateKey?: string | {
1554
+ data: number[];
1555
+ type: "Buffer";
1556
+ } | undefined;
1557
+ encPrivateKeyPass?: string | (import("./definitions").Buffer & string) | undefined;
1558
+ assertionConsumerService?: {
1559
+ isDefault?: boolean | undefined;
1560
+ Binding: string;
1561
+ Location: string;
1562
+ }[] | undefined;
1563
+ singleLogoutService?: {
1564
+ isDefault?: boolean | undefined;
1565
+ Binding: string;
1566
+ Location: string;
1567
+ }[] | undefined;
1568
+ signatureConfig?: {
1569
+ prefix?: string | undefined;
1570
+ location?: {
1571
+ action?: "append" | "prepend" | "before" | "after" | undefined;
1572
+ reference?: string | undefined;
1573
+ } | undefined;
1574
+ } | undefined;
1575
+ loginRequestTemplate?: {
1576
+ context?: string | undefined;
1577
+ } | undefined;
1578
+ logoutRequestTemplate?: {
1579
+ context?: string | undefined;
1580
+ } | undefined;
1581
+ signingCert?: string | {
1582
+ data: number[];
1583
+ type: "Buffer";
1584
+ } | undefined;
1585
+ encryptCert?: string | {
1586
+ data: number[];
1587
+ type: "Buffer";
1588
+ } | undefined;
1589
+ transformationAlgorithms?: string[] | undefined;
1590
+ nameIDFormat?: string[] | undefined;
1591
+ allowCreate?: boolean | undefined;
1592
+ relayState?: string | undefined;
1593
+ clockDrifts?: number[] | undefined;
1594
+ loginResponseTemplate?: {
1595
+ context: string;
1596
+ attributes?: {
1597
+ name: string;
1598
+ nameFormat: string;
1599
+ valueXsiType: string;
1600
+ valueTag: string;
1601
+ valueXmlnsXs?: string | undefined;
1602
+ valueXmlnsXsi?: string | undefined;
1603
+ }[] | undefined;
1604
+ } | undefined;
1605
+ generateID?: unknown;
1606
+ singleSignOnService?: {
1607
+ isDefault?: boolean | undefined;
1608
+ Binding: string;
1609
+ Location: string;
1610
+ }[] | undefined;
1611
+ messageSigningOrder?: string | undefined;
1612
+ wantAuthnRequestsSigned?: boolean | undefined;
1613
+ wantLogoutRequestSignedResponseSigned?: boolean | undefined;
1614
+ tagPrefix?: {
1615
+ [x: string]: string;
1616
+ } | undefined;
1617
+ };
1618
+ entityType: string;
1619
+ };
1620
+ readonly serviceProvider: {
1621
+ readonly?: "__readonly" | undefined;
1622
+ entityMeta: {
1623
+ meta: unknown;
1624
+ xmlString: string;
1625
+ };
1626
+ entitySetting: {
1627
+ metadata?: string | {
1628
+ data: number[];
1629
+ type: "Buffer";
1630
+ } | undefined;
1631
+ entityID?: string | undefined;
1632
+ authnRequestsSigned?: boolean | undefined;
1633
+ wantAssertionsSigned?: boolean | undefined;
1634
+ wantMessageSigned?: boolean | undefined;
1635
+ wantLogoutResponseSigned?: boolean | undefined;
1636
+ wantLogoutRequestSigned?: boolean | undefined;
1637
+ privateKey?: string | {
1638
+ data: number[];
1639
+ type: "Buffer";
1640
+ } | undefined;
1641
+ privateKeyPass?: string | undefined;
1642
+ isAssertionEncrypted?: boolean | undefined;
1643
+ requestSignatureAlgorithm?: string | undefined;
1644
+ encPrivateKey?: string | {
1645
+ data: number[];
1646
+ type: "Buffer";
1647
+ } | undefined;
1648
+ encPrivateKeyPass?: string | (import("./definitions").Buffer & string) | undefined;
1649
+ assertionConsumerService?: {
1650
+ isDefault?: boolean | undefined;
1651
+ Binding: string;
1652
+ Location: string;
1653
+ }[] | undefined;
1654
+ singleLogoutService?: {
1655
+ isDefault?: boolean | undefined;
1656
+ Binding: string;
1657
+ Location: string;
1658
+ }[] | undefined;
1659
+ signatureConfig?: {
1660
+ prefix?: string | undefined;
1661
+ location?: {
1662
+ action?: "append" | "prepend" | "before" | "after" | undefined;
1663
+ reference?: string | undefined;
1664
+ } | undefined;
1665
+ } | undefined;
1666
+ loginRequestTemplate?: {
1667
+ context?: string | undefined;
1668
+ } | undefined;
1669
+ logoutRequestTemplate?: {
1670
+ context?: string | undefined;
1671
+ } | undefined;
1672
+ signingCert?: string | {
1673
+ data: number[];
1674
+ type: "Buffer";
1675
+ } | undefined;
1676
+ encryptCert?: string | {
1677
+ data: number[];
1678
+ type: "Buffer";
1679
+ } | undefined;
1680
+ transformationAlgorithms?: string[] | undefined;
1681
+ nameIDFormat?: string[] | undefined;
1682
+ allowCreate?: boolean | undefined;
1683
+ relayState?: string | undefined;
1684
+ clockDrifts?: number[] | undefined;
1685
+ loginResponseTemplate?: {
1686
+ context: string;
1687
+ attributes?: {
1688
+ name: string;
1689
+ nameFormat: string;
1690
+ valueXsiType: string;
1691
+ valueTag: string;
1692
+ valueXmlnsXs?: string | undefined;
1693
+ valueXmlnsXsi?: string | undefined;
1694
+ }[] | undefined;
1695
+ } | undefined;
1696
+ generateID?: unknown;
1697
+ singleSignOnService?: {
1698
+ isDefault?: boolean | undefined;
1699
+ Binding: string;
1700
+ Location: string;
1701
+ }[] | undefined;
1702
+ messageSigningOrder?: string | undefined;
1703
+ wantAuthnRequestsSigned?: boolean | undefined;
1704
+ wantLogoutRequestSignedResponseSigned?: boolean | undefined;
1705
+ tagPrefix?: {
1706
+ [x: string]: string;
1707
+ } | undefined;
1708
+ };
1709
+ entityType: string;
1710
+ };
1711
+ } | undefined;
1712
+ custom?: {
1713
+ colors?: string[] | undefined;
1714
+ workflowDomain?: string | undefined;
1715
+ } | undefined;
1716
+ readonly retention: number & {
1717
+ readonly?: "__readonly" | undefined;
1718
+ };
1719
+ readonly features: {
1720
+ [x: string]: boolean;
1721
+ };
1722
+ events: {
1723
+ product_page: string | string[];
1724
+ add_cart: string | string[];
1725
+ purchase: string | string[];
1726
+ };
1727
+ disabled: boolean;
1728
+ meta: {
1729
+ [x: string]: string | number | boolean;
1730
+ };
1731
+ };
1732
+ };
1384
1733
  program: string;
1385
1734
  version: string;
1386
1735
  datetime: string;
@@ -1405,13 +1754,13 @@ export default class {
1405
1754
  readonly id: string & {
1406
1755
  readonly?: "__readonly" | undefined;
1407
1756
  };
1408
- readonly roleId: string & {
1757
+ readonly companyId: string & {
1409
1758
  readonly?: "__readonly" | undefined;
1410
1759
  };
1411
- readonly resourceGroupIds: string[];
1412
- readonly companyId: string & {
1760
+ readonly roleId: string & {
1413
1761
  readonly?: "__readonly" | undefined;
1414
1762
  };
1763
+ readonly resourceGroupIds: string[];
1415
1764
  readonly createdAt: string & {
1416
1765
  readonly?: "__readonly" | undefined;
1417
1766
  };
@@ -1429,7 +1778,7 @@ export default class {
1429
1778
  readonly hasOtp: boolean & {
1430
1779
  readonly?: "__readonly" | undefined;
1431
1780
  };
1432
- readonly accountType?: (("user" | "service-account") & {
1781
+ readonly accountType?: (("service-account" | "user") & {
1433
1782
  readonly?: "__readonly" | undefined;
1434
1783
  }) | undefined;
1435
1784
  }[];
@@ -1471,13 +1820,13 @@ export default class {
1471
1820
  readonly id: string & {
1472
1821
  readonly?: "__readonly" | undefined;
1473
1822
  };
1474
- readonly roleId: string & {
1823
+ readonly companyId: string & {
1475
1824
  readonly?: "__readonly" | undefined;
1476
1825
  };
1477
- readonly resourceGroupIds: string[];
1478
- readonly companyId: string & {
1826
+ readonly roleId: string & {
1479
1827
  readonly?: "__readonly" | undefined;
1480
1828
  };
1829
+ readonly resourceGroupIds: string[];
1481
1830
  readonly createdAt: string & {
1482
1831
  readonly?: "__readonly" | undefined;
1483
1832
  };
@@ -1495,7 +1844,7 @@ export default class {
1495
1844
  readonly hasOtp: boolean & {
1496
1845
  readonly?: "__readonly" | undefined;
1497
1846
  };
1498
- readonly accountType?: (("user" | "service-account") & {
1847
+ readonly accountType?: (("service-account" | "user") & {
1499
1848
  readonly?: "__readonly" | undefined;
1500
1849
  }) | undefined;
1501
1850
  }[];
@@ -1515,13 +1864,13 @@ export default class {
1515
1864
  readonly id: string & {
1516
1865
  readonly?: "__readonly" | undefined;
1517
1866
  };
1518
- readonly roleId: string & {
1867
+ readonly companyId: string & {
1519
1868
  readonly?: "__readonly" | undefined;
1520
1869
  };
1521
- readonly resourceGroupIds: string[];
1522
- readonly companyId: string & {
1870
+ readonly roleId: string & {
1523
1871
  readonly?: "__readonly" | undefined;
1524
1872
  };
1873
+ readonly resourceGroupIds: string[];
1525
1874
  readonly createdAt: string & {
1526
1875
  readonly?: "__readonly" | undefined;
1527
1876
  };
@@ -1539,7 +1888,7 @@ export default class {
1539
1888
  readonly hasOtp: boolean & {
1540
1889
  readonly?: "__readonly" | undefined;
1541
1890
  };
1542
- readonly accountType?: (("user" | "service-account") & {
1891
+ readonly accountType?: (("service-account" | "user") & {
1543
1892
  readonly?: "__readonly" | undefined;
1544
1893
  }) | undefined;
1545
1894
  }[];
@@ -1561,13 +1910,13 @@ export default class {
1561
1910
  readonly id: string & {
1562
1911
  readonly?: "__readonly" | undefined;
1563
1912
  };
1564
- readonly roleId: string & {
1913
+ readonly companyId: string & {
1565
1914
  readonly?: "__readonly" | undefined;
1566
1915
  };
1567
- readonly resourceGroupIds: string[];
1568
- readonly companyId: string & {
1916
+ readonly roleId: string & {
1569
1917
  readonly?: "__readonly" | undefined;
1570
1918
  };
1919
+ readonly resourceGroupIds: string[];
1571
1920
  readonly createdAt: string & {
1572
1921
  readonly?: "__readonly" | undefined;
1573
1922
  };
@@ -1585,7 +1934,7 @@ export default class {
1585
1934
  readonly hasOtp: boolean & {
1586
1935
  readonly?: "__readonly" | undefined;
1587
1936
  };
1588
- readonly accountType?: (("user" | "service-account") & {
1937
+ readonly accountType?: (("service-account" | "user") & {
1589
1938
  readonly?: "__readonly" | undefined;
1590
1939
  }) | undefined;
1591
1940
  }[];
@@ -1607,13 +1956,13 @@ export default class {
1607
1956
  readonly id: string & {
1608
1957
  readonly?: "__readonly" | undefined;
1609
1958
  };
1610
- readonly roleId: string & {
1959
+ readonly companyId: string & {
1611
1960
  readonly?: "__readonly" | undefined;
1612
1961
  };
1613
- readonly resourceGroupIds: string[];
1614
- readonly companyId: string & {
1962
+ readonly roleId: string & {
1615
1963
  readonly?: "__readonly" | undefined;
1616
1964
  };
1965
+ readonly resourceGroupIds: string[];
1617
1966
  readonly createdAt: string & {
1618
1967
  readonly?: "__readonly" | undefined;
1619
1968
  };
@@ -1631,7 +1980,7 @@ export default class {
1631
1980
  readonly hasOtp: boolean & {
1632
1981
  readonly?: "__readonly" | undefined;
1633
1982
  };
1634
- readonly accountType?: (("user" | "service-account") & {
1983
+ readonly accountType?: (("service-account" | "user") & {
1635
1984
  readonly?: "__readonly" | undefined;
1636
1985
  }) | undefined;
1637
1986
  }[];
@@ -1658,13 +2007,13 @@ export default class {
1658
2007
  readonly id: string & {
1659
2008
  readonly?: "__readonly" | undefined;
1660
2009
  };
1661
- readonly roleId: string & {
2010
+ readonly companyId: string & {
1662
2011
  readonly?: "__readonly" | undefined;
1663
2012
  };
1664
- readonly resourceGroupIds: string[];
1665
- readonly companyId: string & {
2013
+ readonly roleId: string & {
1666
2014
  readonly?: "__readonly" | undefined;
1667
2015
  };
2016
+ readonly resourceGroupIds: string[];
1668
2017
  readonly createdAt: string & {
1669
2018
  readonly?: "__readonly" | undefined;
1670
2019
  };
@@ -1682,7 +2031,7 @@ export default class {
1682
2031
  readonly hasOtp: boolean & {
1683
2032
  readonly?: "__readonly" | undefined;
1684
2033
  };
1685
- readonly accountType?: (("user" | "service-account") & {
2034
+ readonly accountType?: (("service-account" | "user") & {
1686
2035
  readonly?: "__readonly" | undefined;
1687
2036
  }) | undefined;
1688
2037
  }[];
@@ -26,12 +26,73 @@ export declare type InternalResponse = {
26
26
  message: string;
27
27
  data: {};
28
28
  };
29
+ export declare type RevokeTokenResponse = {
30
+ revoked: boolean;
31
+ };
32
+ export declare type __type_RevokeTokenResponse = {
33
+ program: string;
34
+ version: string;
35
+ datetime: string;
36
+ status: string;
37
+ code?: number;
38
+ message: string;
39
+ data: RevokeTokenResponse;
40
+ };
41
+ export declare type UserProfile = {
42
+ firstname?: string;
43
+ lastname?: string;
44
+ jobtitle?: string;
45
+ phone?: string;
46
+ preferredLang?: string;
47
+ };
48
+ export declare type SerializedUser = {
49
+ readonly id: (string) & readonlyP;
50
+ readonly companyId: (string) & readonlyP;
51
+ readonly roleId: (string) & readonlyP;
52
+ readonly resourceGroupIds: (string[]) & readonlyP;
53
+ readonly createdAt: (string) & readonlyP;
54
+ readonly updatedAt: (string) & readonlyP;
55
+ email: string;
56
+ profile?: UserProfile;
57
+ readonly hasOtp: (boolean) & readonlyP;
58
+ readonly accountType?: ("service-account" | "user") & readonlyP;
59
+ };
60
+ export declare type User = SerializedUser;
61
+ export declare type DescribeTokenResponse = {
62
+ isValid: boolean;
63
+ revokedAt: string | null;
64
+ expiresAt: string | null;
65
+ user: User;
66
+ };
67
+ export declare type __type_DescribeTokenResponse = {
68
+ program: string;
69
+ version: string;
70
+ datetime: string;
71
+ status: string;
72
+ code?: number;
73
+ message: string;
74
+ data: DescribeTokenResponse;
75
+ };
76
+ export declare type GetCompanyDefaults = {
77
+ roleId: string;
78
+ resourceGroupIds: string[];
79
+ };
80
+ export declare type __type_GetCompanyDefaults = {
81
+ program: string;
82
+ version: string;
83
+ datetime: string;
84
+ status: string;
85
+ code?: number;
86
+ message: string;
87
+ data: GetCompanyDefaults;
88
+ };
29
89
  export declare type Quota = {
30
90
  type: "datasource" | "individual" | "display";
31
91
  subtype?: string;
32
92
  quota: number;
93
+ usage?: number;
33
94
  };
34
- export declare type Plan_Without_Name_Features_ToJSON__id = {
95
+ export declare type Plan_Without_Name_ToJSON_Features__id = {
35
96
  quotas: Quota[];
36
97
  };
37
98
  export declare type CompanyPasswordSecurityPolicy = {
@@ -181,7 +242,7 @@ export declare type SerializedCompany = {
181
242
  readonly createdAt: (string) & readonlyP;
182
243
  readonly updatedAt: (string) & readonlyP;
183
244
  name: string;
184
- readonly plan: (Plan_Without_Name_Features_ToJSON__id & {
245
+ readonly plan: (Plan_Without_Name_ToJSON_Features__id & {
185
246
  name: string;
186
247
  startDate: string;
187
248
  endDate: string;
@@ -227,13 +288,14 @@ export declare type RoleRule_Without_ = {
227
288
  reason?: string;
228
289
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
229
290
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
230
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
291
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
231
292
  field: string;
232
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
293
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
233
294
  })[];
234
295
  };
235
296
  export declare type RoleRule = RoleRule_Without_;
236
297
  export declare type SerializedRole = {
298
+ readonly id: (string) & readonlyP;
237
299
  readonly companyId: (string) & readonlyP;
238
300
  name: string;
239
301
  rules: RoleRule[];
@@ -273,6 +335,18 @@ export declare type __type_Invitation = {
273
335
  message: string;
274
336
  data: Invitation[];
275
337
  };
338
+ export declare type UseInvitationResponse = {
339
+ id: string;
340
+ };
341
+ export declare type __type_UseInvitationResponse = {
342
+ program: string;
343
+ version: string;
344
+ datetime: string;
345
+ status: string;
346
+ code?: number;
347
+ message: string;
348
+ data: UseInvitationResponse;
349
+ };
276
350
  export declare type SerializedResourceGroup = {
277
351
  readonly id: (string) & readonlyP;
278
352
  readonly companyId: (string) & readonlyP;
@@ -311,26 +385,6 @@ export declare type __type_import_home_node_src_models_roles_Role_usersCount_num
311
385
  usersCount: number;
312
386
  })[];
313
387
  };
314
- export declare type UserProfile = {
315
- firstname?: string;
316
- lastname?: string;
317
- jobtitle?: string;
318
- phone?: string;
319
- preferredLang?: string;
320
- };
321
- export declare type SerializedUser = {
322
- readonly id: (string) & readonlyP;
323
- readonly companyId: (string) & readonlyP;
324
- readonly roleId: (string) & readonlyP;
325
- readonly resourceGroupIds: (string[]) & readonlyP;
326
- readonly createdAt: (string) & readonlyP;
327
- readonly updatedAt: (string) & readonlyP;
328
- email: string;
329
- profile?: UserProfile;
330
- readonly hasOtp: (boolean) & readonlyP;
331
- readonly accountType?: ("user" | "service-account") & readonlyP;
332
- };
333
- export declare type User = SerializedUser;
334
388
  export declare type __type_User = {
335
389
  program: string;
336
390
  version: string;
@@ -340,6 +394,19 @@ export declare type __type_User = {
340
394
  message: string;
341
395
  data: User[];
342
396
  };
397
+ export declare type CreateUserResponse = {
398
+ user: User;
399
+ company: Company;
400
+ };
401
+ export declare type __type_CreateUserResponse = {
402
+ program: string;
403
+ version: string;
404
+ datetime: string;
405
+ status: string;
406
+ code?: number;
407
+ message: string;
408
+ data: CreateUserResponse;
409
+ };
343
410
  export declare enum Variables {
344
411
  "RLVT-U" = "rlvt-u",
345
412
  "RLVT-M" = "rlvt-m",
@@ -18,4 +18,4 @@ var Variables;
18
18
  Variables["UTM_MEDIUM"] = "utm_medium";
19
19
  Variables["UTM_TERM"] = "utm_term";
20
20
  })(Variables = exports.Variables || (exports.Variables = {}));
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBeVFwQixJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDdkIsc0NBQW1CLENBQUE7SUFDbkIsZ0NBQWEsQ0FBQTtJQUNiLHdDQUFxQixDQUFBO0FBQ3pCLENBQUMsRUFKVyxlQUFlLEdBQWYsdUJBQWUsS0FBZix1QkFBZSxRQUkxQjtBQTBGRCxJQUFZLFNBT1g7QUFQRCxXQUFZLFNBQVM7SUFDakIsOEJBQW1CLENBQUE7SUFDbkIsOEJBQW1CLENBQUE7SUFDbkIsMENBQTZCLENBQUE7SUFDN0Isc0NBQXlCLENBQUE7SUFDekIsc0NBQXlCLENBQUE7SUFDekIsa0NBQXFCLENBQUE7QUFDekIsQ0FBQyxFQVBXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBT3BCIn0=
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBdVVwQixJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDdkIsc0NBQW1CLENBQUE7SUFDbkIsZ0NBQWEsQ0FBQTtJQUNiLHdDQUFxQixDQUFBO0FBQ3pCLENBQUMsRUFKVyxlQUFlLEdBQWYsdUJBQWUsS0FBZix1QkFBZSxRQUkxQjtBQStGRCxJQUFZLFNBT1g7QUFQRCxXQUFZLFNBQVM7SUFDakIsOEJBQW1CLENBQUE7SUFDbkIsOEJBQW1CLENBQUE7SUFDbkIsMENBQTZCLENBQUE7SUFDN0Isc0NBQXlCLENBQUE7SUFDekIsc0NBQXlCLENBQUE7SUFDekIsa0NBQXFCLENBQUE7QUFDekIsQ0FBQyxFQVBXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBT3BCIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/entity-manager-openapi-client",
3
- "version": "1.0.75+66e7902",
3
+ "version": "1.0.77+5f676af",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",