@rlvt/entity-manager-openapi-client 1.0.76 → 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;
@@ -999,19 +1040,19 @@ export default class {
999
1040
  readonly id: string & {
1000
1041
  readonly?: "__readonly" | undefined;
1001
1042
  };
1002
- readonly roleId: string & {
1043
+ readonly companyId: string & {
1003
1044
  readonly?: "__readonly" | undefined;
1004
1045
  };
1005
- readonly resourceGroupIds: string[];
1006
- readonly companyId: string & {
1046
+ readonly roleId: string & {
1007
1047
  readonly?: "__readonly" | undefined;
1008
1048
  };
1049
+ readonly resourceGroupIds: string[];
1009
1050
  createdAt: string;
1010
1051
  state: InvitationState;
1011
- usedAt?: string | undefined;
1012
1052
  readonly email: string & {
1013
1053
  readonly?: "__readonly" | undefined;
1014
1054
  };
1055
+ usedAt?: string | undefined;
1015
1056
  }[];
1016
1057
  program: string;
1017
1058
  version: string;
@@ -1031,19 +1072,19 @@ export default class {
1031
1072
  readonly id: string & {
1032
1073
  readonly?: "__readonly" | undefined;
1033
1074
  };
1034
- readonly roleId: string & {
1075
+ readonly companyId: string & {
1035
1076
  readonly?: "__readonly" | undefined;
1036
1077
  };
1037
- readonly resourceGroupIds: string[];
1038
- readonly companyId: string & {
1078
+ readonly roleId: string & {
1039
1079
  readonly?: "__readonly" | undefined;
1040
1080
  };
1081
+ readonly resourceGroupIds: string[];
1041
1082
  createdAt: string;
1042
1083
  state: InvitationState;
1043
- usedAt?: string | undefined;
1044
1084
  readonly email: string & {
1045
1085
  readonly?: "__readonly" | undefined;
1046
1086
  };
1087
+ usedAt?: string | undefined;
1047
1088
  }[];
1048
1089
  program: string;
1049
1090
  version: string;
@@ -1061,19 +1102,19 @@ export default class {
1061
1102
  readonly id: string & {
1062
1103
  readonly?: "__readonly" | undefined;
1063
1104
  };
1064
- readonly roleId: string & {
1105
+ readonly companyId: string & {
1065
1106
  readonly?: "__readonly" | undefined;
1066
1107
  };
1067
- readonly resourceGroupIds: string[];
1068
- readonly companyId: string & {
1108
+ readonly roleId: string & {
1069
1109
  readonly?: "__readonly" | undefined;
1070
1110
  };
1111
+ readonly resourceGroupIds: string[];
1071
1112
  createdAt: string;
1072
1113
  state: InvitationState;
1073
- usedAt?: string | undefined;
1074
1114
  readonly email: string & {
1075
1115
  readonly?: "__readonly" | undefined;
1076
1116
  };
1117
+ usedAt?: string | undefined;
1077
1118
  }[];
1078
1119
  program: string;
1079
1120
  version: string;
@@ -1087,7 +1128,9 @@ export default class {
1087
1128
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1088
1129
  status: "success";
1089
1130
  } & {
1090
- data: unknown;
1131
+ data: {
1132
+ id: string;
1133
+ };
1091
1134
  program: string;
1092
1135
  version: string;
1093
1136
  datetime: string;
@@ -1185,6 +1228,9 @@ export default class {
1185
1228
  status: "success";
1186
1229
  } & {
1187
1230
  data: {
1231
+ readonly id: string & {
1232
+ readonly?: "__readonly" | undefined;
1233
+ };
1188
1234
  readonly companyId: string & {
1189
1235
  readonly?: "__readonly" | undefined;
1190
1236
  };
@@ -1198,9 +1244,9 @@ export default class {
1198
1244
  reason?: string | undefined;
1199
1245
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1200
1246
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1201
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1247
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1202
1248
  field: string;
1203
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1249
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1204
1250
  })[] | undefined;
1205
1251
  }[];
1206
1252
  usersCount: number;
@@ -1223,15 +1269,18 @@ export default class {
1223
1269
  reason?: string | undefined;
1224
1270
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1225
1271
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1226
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1272
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1227
1273
  field: string;
1228
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1274
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1229
1275
  })[] | undefined;
1230
1276
  }[];
1231
1277
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1232
1278
  status: "success";
1233
1279
  } & {
1234
1280
  data: {
1281
+ readonly id: string & {
1282
+ readonly?: "__readonly" | undefined;
1283
+ };
1235
1284
  readonly companyId: string & {
1236
1285
  readonly?: "__readonly" | undefined;
1237
1286
  };
@@ -1245,9 +1294,9 @@ export default class {
1245
1294
  reason?: string | undefined;
1246
1295
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1247
1296
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1248
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1297
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1249
1298
  field: string;
1250
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1299
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1251
1300
  })[] | undefined;
1252
1301
  }[];
1253
1302
  }[];
@@ -1271,15 +1320,18 @@ export default class {
1271
1320
  reason?: string | undefined;
1272
1321
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1273
1322
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1274
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1323
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1275
1324
  field: string;
1276
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1325
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1277
1326
  })[] | undefined;
1278
1327
  }[] | undefined;
1279
1328
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1280
1329
  status: "success";
1281
1330
  } & {
1282
1331
  data: {
1332
+ readonly id: string & {
1333
+ readonly?: "__readonly" | undefined;
1334
+ };
1283
1335
  readonly companyId: string & {
1284
1336
  readonly?: "__readonly" | undefined;
1285
1337
  };
@@ -1293,9 +1345,9 @@ export default class {
1293
1345
  reason?: string | undefined;
1294
1346
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1295
1347
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1296
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1348
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1297
1349
  field: string;
1298
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1350
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1299
1351
  })[] | undefined;
1300
1352
  }[];
1301
1353
  }[];
@@ -1335,13 +1387,13 @@ export default class {
1335
1387
  readonly id: string & {
1336
1388
  readonly?: "__readonly" | undefined;
1337
1389
  };
1338
- readonly roleId: string & {
1390
+ readonly companyId: string & {
1339
1391
  readonly?: "__readonly" | undefined;
1340
1392
  };
1341
- readonly resourceGroupIds: string[];
1342
- readonly companyId: string & {
1393
+ readonly roleId: string & {
1343
1394
  readonly?: "__readonly" | undefined;
1344
1395
  };
1396
+ readonly resourceGroupIds: string[];
1345
1397
  readonly createdAt: string & {
1346
1398
  readonly?: "__readonly" | undefined;
1347
1399
  };
@@ -1359,7 +1411,7 @@ export default class {
1359
1411
  readonly hasOtp: boolean & {
1360
1412
  readonly?: "__readonly" | undefined;
1361
1413
  };
1362
- readonly accountType?: (("user" | "service-account") & {
1414
+ readonly accountType?: (("service-account" | "user") & {
1363
1415
  readonly?: "__readonly" | undefined;
1364
1416
  }) | undefined;
1365
1417
  }[];
@@ -1383,7 +1435,301 @@ export default class {
1383
1435
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1384
1436
  status: "success";
1385
1437
  } & {
1386
- 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
+ };
1387
1733
  program: string;
1388
1734
  version: string;
1389
1735
  datetime: string;
@@ -1408,13 +1754,13 @@ export default class {
1408
1754
  readonly id: string & {
1409
1755
  readonly?: "__readonly" | undefined;
1410
1756
  };
1411
- readonly roleId: string & {
1757
+ readonly companyId: string & {
1412
1758
  readonly?: "__readonly" | undefined;
1413
1759
  };
1414
- readonly resourceGroupIds: string[];
1415
- readonly companyId: string & {
1760
+ readonly roleId: string & {
1416
1761
  readonly?: "__readonly" | undefined;
1417
1762
  };
1763
+ readonly resourceGroupIds: string[];
1418
1764
  readonly createdAt: string & {
1419
1765
  readonly?: "__readonly" | undefined;
1420
1766
  };
@@ -1432,7 +1778,7 @@ export default class {
1432
1778
  readonly hasOtp: boolean & {
1433
1779
  readonly?: "__readonly" | undefined;
1434
1780
  };
1435
- readonly accountType?: (("user" | "service-account") & {
1781
+ readonly accountType?: (("service-account" | "user") & {
1436
1782
  readonly?: "__readonly" | undefined;
1437
1783
  }) | undefined;
1438
1784
  }[];
@@ -1474,13 +1820,13 @@ export default class {
1474
1820
  readonly id: string & {
1475
1821
  readonly?: "__readonly" | undefined;
1476
1822
  };
1477
- readonly roleId: string & {
1823
+ readonly companyId: string & {
1478
1824
  readonly?: "__readonly" | undefined;
1479
1825
  };
1480
- readonly resourceGroupIds: string[];
1481
- readonly companyId: string & {
1826
+ readonly roleId: string & {
1482
1827
  readonly?: "__readonly" | undefined;
1483
1828
  };
1829
+ readonly resourceGroupIds: string[];
1484
1830
  readonly createdAt: string & {
1485
1831
  readonly?: "__readonly" | undefined;
1486
1832
  };
@@ -1498,7 +1844,7 @@ export default class {
1498
1844
  readonly hasOtp: boolean & {
1499
1845
  readonly?: "__readonly" | undefined;
1500
1846
  };
1501
- readonly accountType?: (("user" | "service-account") & {
1847
+ readonly accountType?: (("service-account" | "user") & {
1502
1848
  readonly?: "__readonly" | undefined;
1503
1849
  }) | undefined;
1504
1850
  }[];
@@ -1518,13 +1864,13 @@ export default class {
1518
1864
  readonly id: string & {
1519
1865
  readonly?: "__readonly" | undefined;
1520
1866
  };
1521
- readonly roleId: string & {
1867
+ readonly companyId: string & {
1522
1868
  readonly?: "__readonly" | undefined;
1523
1869
  };
1524
- readonly resourceGroupIds: string[];
1525
- readonly companyId: string & {
1870
+ readonly roleId: string & {
1526
1871
  readonly?: "__readonly" | undefined;
1527
1872
  };
1873
+ readonly resourceGroupIds: string[];
1528
1874
  readonly createdAt: string & {
1529
1875
  readonly?: "__readonly" | undefined;
1530
1876
  };
@@ -1542,7 +1888,7 @@ export default class {
1542
1888
  readonly hasOtp: boolean & {
1543
1889
  readonly?: "__readonly" | undefined;
1544
1890
  };
1545
- readonly accountType?: (("user" | "service-account") & {
1891
+ readonly accountType?: (("service-account" | "user") & {
1546
1892
  readonly?: "__readonly" | undefined;
1547
1893
  }) | undefined;
1548
1894
  }[];
@@ -1564,13 +1910,13 @@ export default class {
1564
1910
  readonly id: string & {
1565
1911
  readonly?: "__readonly" | undefined;
1566
1912
  };
1567
- readonly roleId: string & {
1913
+ readonly companyId: string & {
1568
1914
  readonly?: "__readonly" | undefined;
1569
1915
  };
1570
- readonly resourceGroupIds: string[];
1571
- readonly companyId: string & {
1916
+ readonly roleId: string & {
1572
1917
  readonly?: "__readonly" | undefined;
1573
1918
  };
1919
+ readonly resourceGroupIds: string[];
1574
1920
  readonly createdAt: string & {
1575
1921
  readonly?: "__readonly" | undefined;
1576
1922
  };
@@ -1588,7 +1934,7 @@ export default class {
1588
1934
  readonly hasOtp: boolean & {
1589
1935
  readonly?: "__readonly" | undefined;
1590
1936
  };
1591
- readonly accountType?: (("user" | "service-account") & {
1937
+ readonly accountType?: (("service-account" | "user") & {
1592
1938
  readonly?: "__readonly" | undefined;
1593
1939
  }) | undefined;
1594
1940
  }[];
@@ -1610,13 +1956,13 @@ export default class {
1610
1956
  readonly id: string & {
1611
1957
  readonly?: "__readonly" | undefined;
1612
1958
  };
1613
- readonly roleId: string & {
1959
+ readonly companyId: string & {
1614
1960
  readonly?: "__readonly" | undefined;
1615
1961
  };
1616
- readonly resourceGroupIds: string[];
1617
- readonly companyId: string & {
1962
+ readonly roleId: string & {
1618
1963
  readonly?: "__readonly" | undefined;
1619
1964
  };
1965
+ readonly resourceGroupIds: string[];
1620
1966
  readonly createdAt: string & {
1621
1967
  readonly?: "__readonly" | undefined;
1622
1968
  };
@@ -1634,7 +1980,7 @@ export default class {
1634
1980
  readonly hasOtp: boolean & {
1635
1981
  readonly?: "__readonly" | undefined;
1636
1982
  };
1637
- readonly accountType?: (("user" | "service-account") & {
1983
+ readonly accountType?: (("service-account" | "user") & {
1638
1984
  readonly?: "__readonly" | undefined;
1639
1985
  }) | undefined;
1640
1986
  }[];
@@ -1661,13 +2007,13 @@ export default class {
1661
2007
  readonly id: string & {
1662
2008
  readonly?: "__readonly" | undefined;
1663
2009
  };
1664
- readonly roleId: string & {
2010
+ readonly companyId: string & {
1665
2011
  readonly?: "__readonly" | undefined;
1666
2012
  };
1667
- readonly resourceGroupIds: string[];
1668
- readonly companyId: string & {
2013
+ readonly roleId: string & {
1669
2014
  readonly?: "__readonly" | undefined;
1670
2015
  };
2016
+ readonly resourceGroupIds: string[];
1671
2017
  readonly createdAt: string & {
1672
2018
  readonly?: "__readonly" | undefined;
1673
2019
  };
@@ -1685,7 +2031,7 @@ export default class {
1685
2031
  readonly hasOtp: boolean & {
1686
2032
  readonly?: "__readonly" | undefined;
1687
2033
  };
1688
- readonly accountType?: (("user" | "service-account") & {
2034
+ readonly accountType?: (("service-account" | "user") & {
1689
2035
  readonly?: "__readonly" | undefined;
1690
2036
  }) | undefined;
1691
2037
  }[];
@@ -26,13 +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;
33
93
  usage?: number;
34
94
  };
35
- export declare type Plan_Without_Name_Features_ToJSON__id = {
95
+ export declare type Plan_Without_Name_ToJSON_Features__id = {
36
96
  quotas: Quota[];
37
97
  };
38
98
  export declare type CompanyPasswordSecurityPolicy = {
@@ -182,7 +242,7 @@ export declare type SerializedCompany = {
182
242
  readonly createdAt: (string) & readonlyP;
183
243
  readonly updatedAt: (string) & readonlyP;
184
244
  name: string;
185
- readonly plan: (Plan_Without_Name_Features_ToJSON__id & {
245
+ readonly plan: (Plan_Without_Name_ToJSON_Features__id & {
186
246
  name: string;
187
247
  startDate: string;
188
248
  endDate: string;
@@ -228,13 +288,14 @@ export declare type RoleRule_Without_ = {
228
288
  reason?: string;
229
289
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
230
290
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
231
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
291
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
232
292
  field: string;
233
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
293
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
234
294
  })[];
235
295
  };
236
296
  export declare type RoleRule = RoleRule_Without_;
237
297
  export declare type SerializedRole = {
298
+ readonly id: (string) & readonlyP;
238
299
  readonly companyId: (string) & readonlyP;
239
300
  name: string;
240
301
  rules: RoleRule[];
@@ -274,6 +335,18 @@ export declare type __type_Invitation = {
274
335
  message: string;
275
336
  data: Invitation[];
276
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
+ };
277
350
  export declare type SerializedResourceGroup = {
278
351
  readonly id: (string) & readonlyP;
279
352
  readonly companyId: (string) & readonlyP;
@@ -312,26 +385,6 @@ export declare type __type_import_home_node_src_models_roles_Role_usersCount_num
312
385
  usersCount: number;
313
386
  })[];
314
387
  };
315
- export declare type UserProfile = {
316
- firstname?: string;
317
- lastname?: string;
318
- jobtitle?: string;
319
- phone?: string;
320
- preferredLang?: string;
321
- };
322
- export declare type SerializedUser = {
323
- readonly id: (string) & readonlyP;
324
- readonly companyId: (string) & readonlyP;
325
- readonly roleId: (string) & readonlyP;
326
- readonly resourceGroupIds: (string[]) & readonlyP;
327
- readonly createdAt: (string) & readonlyP;
328
- readonly updatedAt: (string) & readonlyP;
329
- email: string;
330
- profile?: UserProfile;
331
- readonly hasOtp: (boolean) & readonlyP;
332
- readonly accountType?: ("user" | "service-account") & readonlyP;
333
- };
334
- export declare type User = SerializedUser;
335
388
  export declare type __type_User = {
336
389
  program: string;
337
390
  version: string;
@@ -341,6 +394,19 @@ export declare type __type_User = {
341
394
  message: string;
342
395
  data: User[];
343
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
+ };
344
410
  export declare enum Variables {
345
411
  "RLVT-U" = "rlvt-u",
346
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBMFFwQixJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDdkIsc0NBQW1CLENBQUE7SUFDbkIsZ0NBQWEsQ0FBQTtJQUNiLHdDQUFxQixDQUFBO0FBQ3pCLENBQUMsRUFKVyxlQUFlLEdBQWYsdUJBQWUsS0FBZix1QkFBZSxRQUkxQjtBQTBGRCxJQUFZLFNBT1g7QUFQRCxXQUFZLFNBQVM7SUFDakIsOEJBQW1CLENBQUE7SUFDbkIsOEJBQW1CLENBQUE7SUFDbkIsMENBQTZCLENBQUE7SUFDN0Isc0NBQXlCLENBQUE7SUFDekIsc0NBQXlCLENBQUE7SUFDekIsa0NBQXFCLENBQUE7QUFDekIsQ0FBQyxFQVBXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBT3BCIn0=
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.76+f5c5bd7",
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",