@rlvt/entity-manager-openapi-client 1.0.76 → 1.0.78

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
@@ -68,7 +68,7 @@ export default class {
68
68
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
69
69
  status: "success";
70
70
  } & {
71
- data: unknown;
71
+ data: string;
72
72
  program: string;
73
73
  version: string;
74
74
  datetime: string;
@@ -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;
@@ -165,7 +206,6 @@ export default class {
165
206
  };
166
207
  securityPolicy: {
167
208
  password: {
168
- duration: number;
169
209
  rules: {
170
210
  options: {
171
211
  maximum?: number | undefined;
@@ -173,6 +213,7 @@ export default class {
173
213
  };
174
214
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
175
215
  }[];
216
+ duration: number;
176
217
  attempts: {
177
218
  maximum: number;
178
219
  lockDuration: number;
@@ -438,7 +479,6 @@ export default class {
438
479
  };
439
480
  securityPolicy: {
440
481
  password: {
441
- duration: number;
442
482
  rules: {
443
483
  options: {
444
484
  maximum?: number | undefined;
@@ -446,6 +486,7 @@ export default class {
446
486
  };
447
487
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
448
488
  }[];
489
+ duration: number;
449
490
  attempts: {
450
491
  maximum: number;
451
492
  lockDuration: number;
@@ -727,7 +768,6 @@ export default class {
727
768
  };
728
769
  securityPolicy: {
729
770
  password: {
730
- duration: number;
731
771
  rules: {
732
772
  options: {
733
773
  maximum?: number | undefined;
@@ -735,6 +775,7 @@ export default class {
735
775
  };
736
776
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
737
777
  }[];
778
+ duration: number;
738
779
  attempts: {
739
780
  maximum: number;
740
781
  lockDuration: number;
@@ -974,7 +1015,9 @@ export default class {
974
1015
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
975
1016
  status: "success";
976
1017
  } & {
977
- data: unknown;
1018
+ data: {
1019
+ companyId: string;
1020
+ };
978
1021
  program: string;
979
1022
  version: string;
980
1023
  datetime: string;
@@ -999,13 +1042,13 @@ export default class {
999
1042
  readonly id: string & {
1000
1043
  readonly?: "__readonly" | undefined;
1001
1044
  };
1002
- readonly roleId: string & {
1045
+ readonly companyId: string & {
1003
1046
  readonly?: "__readonly" | undefined;
1004
1047
  };
1005
- readonly resourceGroupIds: string[];
1006
- readonly companyId: string & {
1048
+ readonly roleId: string & {
1007
1049
  readonly?: "__readonly" | undefined;
1008
1050
  };
1051
+ readonly resourceGroupIds: string[];
1009
1052
  createdAt: string;
1010
1053
  state: InvitationState;
1011
1054
  usedAt?: string | undefined;
@@ -1031,20 +1074,20 @@ export default class {
1031
1074
  readonly id: string & {
1032
1075
  readonly?: "__readonly" | undefined;
1033
1076
  };
1034
- readonly roleId: string & {
1077
+ readonly companyId: string & {
1035
1078
  readonly?: "__readonly" | undefined;
1036
1079
  };
1037
- readonly resourceGroupIds: string[];
1038
- readonly companyId: string & {
1080
+ readonly roleId: string & {
1039
1081
  readonly?: "__readonly" | undefined;
1040
1082
  };
1083
+ readonly resourceGroupIds: string[];
1041
1084
  createdAt: string;
1042
1085
  state: InvitationState;
1043
1086
  usedAt?: string | undefined;
1044
1087
  readonly email: string & {
1045
1088
  readonly?: "__readonly" | undefined;
1046
1089
  };
1047
- }[];
1090
+ };
1048
1091
  program: string;
1049
1092
  version: string;
1050
1093
  datetime: string;
@@ -1061,20 +1104,20 @@ export default class {
1061
1104
  readonly id: string & {
1062
1105
  readonly?: "__readonly" | undefined;
1063
1106
  };
1064
- readonly roleId: string & {
1107
+ readonly companyId: string & {
1065
1108
  readonly?: "__readonly" | undefined;
1066
1109
  };
1067
- readonly resourceGroupIds: string[];
1068
- readonly companyId: string & {
1110
+ readonly roleId: string & {
1069
1111
  readonly?: "__readonly" | undefined;
1070
1112
  };
1113
+ readonly resourceGroupIds: string[];
1071
1114
  createdAt: string;
1072
1115
  state: InvitationState;
1073
1116
  usedAt?: string | undefined;
1074
1117
  readonly email: string & {
1075
1118
  readonly?: "__readonly" | undefined;
1076
1119
  };
1077
- }[];
1120
+ };
1078
1121
  program: string;
1079
1122
  version: string;
1080
1123
  datetime: string;
@@ -1087,7 +1130,9 @@ export default class {
1087
1130
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1088
1131
  status: "success";
1089
1132
  } & {
1090
- data: unknown;
1133
+ data: {
1134
+ id: string;
1135
+ };
1091
1136
  program: string;
1092
1137
  version: string;
1093
1138
  datetime: string;
@@ -1198,9 +1243,9 @@ export default class {
1198
1243
  reason?: string | undefined;
1199
1244
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1200
1245
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1201
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1246
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1202
1247
  field: string;
1203
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1248
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1204
1249
  })[] | undefined;
1205
1250
  }[];
1206
1251
  usersCount: number;
@@ -1223,9 +1268,9 @@ export default class {
1223
1268
  reason?: string | undefined;
1224
1269
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1225
1270
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1226
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1271
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1227
1272
  field: string;
1228
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1273
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1229
1274
  })[] | undefined;
1230
1275
  }[];
1231
1276
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -1245,12 +1290,12 @@ export default class {
1245
1290
  reason?: string | undefined;
1246
1291
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1247
1292
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1248
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1293
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1249
1294
  field: string;
1250
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1295
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1251
1296
  })[] | undefined;
1252
1297
  }[];
1253
- }[];
1298
+ };
1254
1299
  program: string;
1255
1300
  version: string;
1256
1301
  datetime: string;
@@ -1271,9 +1316,9 @@ export default class {
1271
1316
  reason?: string | undefined;
1272
1317
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1273
1318
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1274
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1319
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1275
1320
  field: string;
1276
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1321
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1277
1322
  })[] | undefined;
1278
1323
  }[] | undefined;
1279
1324
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -1293,12 +1338,12 @@ export default class {
1293
1338
  reason?: string | undefined;
1294
1339
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1295
1340
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1296
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1341
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
1297
1342
  field: string;
1298
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1343
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1299
1344
  })[] | undefined;
1300
1345
  }[];
1301
- }[];
1346
+ };
1302
1347
  program: string;
1303
1348
  version: string;
1304
1349
  datetime: string;
@@ -1335,13 +1380,13 @@ export default class {
1335
1380
  readonly id: string & {
1336
1381
  readonly?: "__readonly" | undefined;
1337
1382
  };
1338
- readonly roleId: string & {
1383
+ readonly companyId: string & {
1339
1384
  readonly?: "__readonly" | undefined;
1340
1385
  };
1341
- readonly resourceGroupIds: string[];
1342
- readonly companyId: string & {
1386
+ readonly roleId: string & {
1343
1387
  readonly?: "__readonly" | undefined;
1344
1388
  };
1389
+ readonly resourceGroupIds: string[];
1345
1390
  readonly createdAt: string & {
1346
1391
  readonly?: "__readonly" | undefined;
1347
1392
  };
@@ -1359,7 +1404,7 @@ export default class {
1359
1404
  readonly hasOtp: boolean & {
1360
1405
  readonly?: "__readonly" | undefined;
1361
1406
  };
1362
- readonly accountType?: (("user" | "service-account") & {
1407
+ readonly accountType?: (("service-account" | "user") & {
1363
1408
  readonly?: "__readonly" | undefined;
1364
1409
  }) | undefined;
1365
1410
  }[];
@@ -1383,7 +1428,301 @@ export default class {
1383
1428
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1384
1429
  status: "success";
1385
1430
  } & {
1386
- data: unknown;
1431
+ data: {
1432
+ user: {
1433
+ readonly id: string & {
1434
+ readonly?: "__readonly" | undefined;
1435
+ };
1436
+ readonly companyId: string & {
1437
+ readonly?: "__readonly" | undefined;
1438
+ };
1439
+ readonly roleId: string & {
1440
+ readonly?: "__readonly" | undefined;
1441
+ };
1442
+ readonly resourceGroupIds: string[];
1443
+ readonly createdAt: string & {
1444
+ readonly?: "__readonly" | undefined;
1445
+ };
1446
+ readonly updatedAt: string & {
1447
+ readonly?: "__readonly" | undefined;
1448
+ };
1449
+ email: string;
1450
+ profile?: {
1451
+ firstname?: string | undefined;
1452
+ lastname?: string | undefined;
1453
+ jobtitle?: string | undefined;
1454
+ phone?: string | undefined;
1455
+ preferredLang?: string | undefined;
1456
+ } | undefined;
1457
+ readonly hasOtp: boolean & {
1458
+ readonly?: "__readonly" | undefined;
1459
+ };
1460
+ readonly accountType?: (("service-account" | "user") & {
1461
+ readonly?: "__readonly" | undefined;
1462
+ }) | undefined;
1463
+ };
1464
+ company: {
1465
+ readonly id: string & {
1466
+ readonly?: "__readonly" | undefined;
1467
+ };
1468
+ defaultRoleId: string;
1469
+ defaultResourceGroupIds: string[];
1470
+ readonly createdAt: string & {
1471
+ readonly?: "__readonly" | undefined;
1472
+ };
1473
+ readonly updatedAt: string & {
1474
+ readonly?: "__readonly" | undefined;
1475
+ };
1476
+ name: string;
1477
+ readonly plan: {
1478
+ readonly?: "__readonly" | undefined;
1479
+ name: string;
1480
+ quotas: {
1481
+ type: "datasource" | "individual" | "display";
1482
+ subtype?: string | undefined;
1483
+ quota: number;
1484
+ usage?: number | undefined;
1485
+ }[];
1486
+ startDate: string;
1487
+ endDate: string;
1488
+ attributionPeriod?: number | undefined;
1489
+ };
1490
+ securityPolicy: {
1491
+ password: {
1492
+ rules: {
1493
+ options: {
1494
+ maximum?: number | undefined;
1495
+ minimum?: number | undefined;
1496
+ };
1497
+ type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1498
+ }[];
1499
+ duration: number;
1500
+ attempts: {
1501
+ maximum: number;
1502
+ lockDuration: number;
1503
+ };
1504
+ };
1505
+ };
1506
+ variableProfiles: {
1507
+ id: string;
1508
+ name: string;
1509
+ variables: {
1510
+ "rlvt-u"?: string | undefined;
1511
+ "rlvt-m"?: string | undefined;
1512
+ utm_campaign?: string | undefined;
1513
+ utm_source?: string | undefined;
1514
+ utm_medium?: string | undefined;
1515
+ utm_term?: string | undefined;
1516
+ };
1517
+ }[];
1518
+ sso?: {
1519
+ domains: string[];
1520
+ mode: "invitation" | "create";
1521
+ mandatory: boolean;
1522
+ readonly identityProvider: {
1523
+ readonly?: "__readonly" | undefined;
1524
+ entityMeta: {
1525
+ meta: unknown;
1526
+ xmlString: string;
1527
+ };
1528
+ entitySetting: {
1529
+ metadata?: string | {
1530
+ data: number[];
1531
+ type: "Buffer";
1532
+ } | undefined;
1533
+ entityID?: string | undefined;
1534
+ authnRequestsSigned?: boolean | undefined;
1535
+ wantAssertionsSigned?: boolean | undefined;
1536
+ wantMessageSigned?: boolean | undefined;
1537
+ wantLogoutResponseSigned?: boolean | undefined;
1538
+ wantLogoutRequestSigned?: boolean | undefined;
1539
+ privateKey?: string | {
1540
+ data: number[];
1541
+ type: "Buffer";
1542
+ } | undefined;
1543
+ privateKeyPass?: string | undefined;
1544
+ isAssertionEncrypted?: boolean | undefined;
1545
+ requestSignatureAlgorithm?: string | undefined;
1546
+ encPrivateKey?: string | {
1547
+ data: number[];
1548
+ type: "Buffer";
1549
+ } | undefined;
1550
+ encPrivateKeyPass?: string | (import("./definitions").Buffer & string) | undefined;
1551
+ assertionConsumerService?: {
1552
+ isDefault?: boolean | undefined;
1553
+ Binding: string;
1554
+ Location: string;
1555
+ }[] | undefined;
1556
+ singleLogoutService?: {
1557
+ isDefault?: boolean | undefined;
1558
+ Binding: string;
1559
+ Location: string;
1560
+ }[] | undefined;
1561
+ signatureConfig?: {
1562
+ prefix?: string | undefined;
1563
+ location?: {
1564
+ action?: "append" | "prepend" | "before" | "after" | undefined;
1565
+ reference?: string | undefined;
1566
+ } | undefined;
1567
+ } | undefined;
1568
+ loginRequestTemplate?: {
1569
+ context?: string | undefined;
1570
+ } | undefined;
1571
+ logoutRequestTemplate?: {
1572
+ context?: string | undefined;
1573
+ } | undefined;
1574
+ signingCert?: string | {
1575
+ data: number[];
1576
+ type: "Buffer";
1577
+ } | undefined;
1578
+ encryptCert?: string | {
1579
+ data: number[];
1580
+ type: "Buffer";
1581
+ } | undefined;
1582
+ transformationAlgorithms?: string[] | undefined;
1583
+ nameIDFormat?: string[] | undefined;
1584
+ allowCreate?: boolean | undefined;
1585
+ relayState?: string | undefined;
1586
+ clockDrifts?: number[] | undefined;
1587
+ loginResponseTemplate?: {
1588
+ context: string;
1589
+ attributes?: {
1590
+ name: string;
1591
+ nameFormat: string;
1592
+ valueXsiType: string;
1593
+ valueTag: string;
1594
+ valueXmlnsXs?: string | undefined;
1595
+ valueXmlnsXsi?: string | undefined;
1596
+ }[] | undefined;
1597
+ } | undefined;
1598
+ generateID?: unknown;
1599
+ singleSignOnService?: {
1600
+ isDefault?: boolean | undefined;
1601
+ Binding: string;
1602
+ Location: string;
1603
+ }[] | undefined;
1604
+ messageSigningOrder?: string | undefined;
1605
+ wantAuthnRequestsSigned?: boolean | undefined;
1606
+ wantLogoutRequestSignedResponseSigned?: boolean | undefined;
1607
+ tagPrefix?: {
1608
+ [x: string]: string;
1609
+ } | undefined;
1610
+ };
1611
+ entityType: string;
1612
+ };
1613
+ readonly serviceProvider: {
1614
+ readonly?: "__readonly" | undefined;
1615
+ entityMeta: {
1616
+ meta: unknown;
1617
+ xmlString: string;
1618
+ };
1619
+ entitySetting: {
1620
+ metadata?: string | {
1621
+ data: number[];
1622
+ type: "Buffer";
1623
+ } | undefined;
1624
+ entityID?: string | undefined;
1625
+ authnRequestsSigned?: boolean | undefined;
1626
+ wantAssertionsSigned?: boolean | undefined;
1627
+ wantMessageSigned?: boolean | undefined;
1628
+ wantLogoutResponseSigned?: boolean | undefined;
1629
+ wantLogoutRequestSigned?: boolean | undefined;
1630
+ privateKey?: string | {
1631
+ data: number[];
1632
+ type: "Buffer";
1633
+ } | undefined;
1634
+ privateKeyPass?: string | undefined;
1635
+ isAssertionEncrypted?: boolean | undefined;
1636
+ requestSignatureAlgorithm?: string | undefined;
1637
+ encPrivateKey?: string | {
1638
+ data: number[];
1639
+ type: "Buffer";
1640
+ } | undefined;
1641
+ encPrivateKeyPass?: string | (import("./definitions").Buffer & string) | undefined;
1642
+ assertionConsumerService?: {
1643
+ isDefault?: boolean | undefined;
1644
+ Binding: string;
1645
+ Location: string;
1646
+ }[] | undefined;
1647
+ singleLogoutService?: {
1648
+ isDefault?: boolean | undefined;
1649
+ Binding: string;
1650
+ Location: string;
1651
+ }[] | undefined;
1652
+ signatureConfig?: {
1653
+ prefix?: string | undefined;
1654
+ location?: {
1655
+ action?: "append" | "prepend" | "before" | "after" | undefined;
1656
+ reference?: string | undefined;
1657
+ } | undefined;
1658
+ } | undefined;
1659
+ loginRequestTemplate?: {
1660
+ context?: string | undefined;
1661
+ } | undefined;
1662
+ logoutRequestTemplate?: {
1663
+ context?: string | undefined;
1664
+ } | undefined;
1665
+ signingCert?: string | {
1666
+ data: number[];
1667
+ type: "Buffer";
1668
+ } | undefined;
1669
+ encryptCert?: string | {
1670
+ data: number[];
1671
+ type: "Buffer";
1672
+ } | undefined;
1673
+ transformationAlgorithms?: string[] | undefined;
1674
+ nameIDFormat?: string[] | undefined;
1675
+ allowCreate?: boolean | undefined;
1676
+ relayState?: string | undefined;
1677
+ clockDrifts?: number[] | undefined;
1678
+ loginResponseTemplate?: {
1679
+ context: string;
1680
+ attributes?: {
1681
+ name: string;
1682
+ nameFormat: string;
1683
+ valueXsiType: string;
1684
+ valueTag: string;
1685
+ valueXmlnsXs?: string | undefined;
1686
+ valueXmlnsXsi?: string | undefined;
1687
+ }[] | undefined;
1688
+ } | undefined;
1689
+ generateID?: unknown;
1690
+ singleSignOnService?: {
1691
+ isDefault?: boolean | undefined;
1692
+ Binding: string;
1693
+ Location: string;
1694
+ }[] | undefined;
1695
+ messageSigningOrder?: string | undefined;
1696
+ wantAuthnRequestsSigned?: boolean | undefined;
1697
+ wantLogoutRequestSignedResponseSigned?: boolean | undefined;
1698
+ tagPrefix?: {
1699
+ [x: string]: string;
1700
+ } | undefined;
1701
+ };
1702
+ entityType: string;
1703
+ };
1704
+ } | undefined;
1705
+ custom?: {
1706
+ colors?: string[] | undefined;
1707
+ workflowDomain?: string | undefined;
1708
+ } | undefined;
1709
+ readonly retention: number & {
1710
+ readonly?: "__readonly" | undefined;
1711
+ };
1712
+ readonly features: {
1713
+ [x: string]: boolean;
1714
+ };
1715
+ events: {
1716
+ product_page: string | string[];
1717
+ add_cart: string | string[];
1718
+ purchase: string | string[];
1719
+ };
1720
+ disabled: boolean;
1721
+ meta: {
1722
+ [x: string]: string | number | boolean;
1723
+ };
1724
+ };
1725
+ };
1387
1726
  program: string;
1388
1727
  version: string;
1389
1728
  datetime: string;
@@ -1408,13 +1747,13 @@ export default class {
1408
1747
  readonly id: string & {
1409
1748
  readonly?: "__readonly" | undefined;
1410
1749
  };
1411
- readonly roleId: string & {
1750
+ readonly companyId: string & {
1412
1751
  readonly?: "__readonly" | undefined;
1413
1752
  };
1414
- readonly resourceGroupIds: string[];
1415
- readonly companyId: string & {
1753
+ readonly roleId: string & {
1416
1754
  readonly?: "__readonly" | undefined;
1417
1755
  };
1756
+ readonly resourceGroupIds: string[];
1418
1757
  readonly createdAt: string & {
1419
1758
  readonly?: "__readonly" | undefined;
1420
1759
  };
@@ -1432,10 +1771,10 @@ export default class {
1432
1771
  readonly hasOtp: boolean & {
1433
1772
  readonly?: "__readonly" | undefined;
1434
1773
  };
1435
- readonly accountType?: (("user" | "service-account") & {
1774
+ readonly accountType?: (("service-account" | "user") & {
1436
1775
  readonly?: "__readonly" | undefined;
1437
1776
  }) | undefined;
1438
- }[];
1777
+ };
1439
1778
  program: string;
1440
1779
  version: string;
1441
1780
  datetime: string;
@@ -1474,13 +1813,13 @@ export default class {
1474
1813
  readonly id: string & {
1475
1814
  readonly?: "__readonly" | undefined;
1476
1815
  };
1477
- readonly roleId: string & {
1816
+ readonly companyId: string & {
1478
1817
  readonly?: "__readonly" | undefined;
1479
1818
  };
1480
- readonly resourceGroupIds: string[];
1481
- readonly companyId: string & {
1819
+ readonly roleId: string & {
1482
1820
  readonly?: "__readonly" | undefined;
1483
1821
  };
1822
+ readonly resourceGroupIds: string[];
1484
1823
  readonly createdAt: string & {
1485
1824
  readonly?: "__readonly" | undefined;
1486
1825
  };
@@ -1498,10 +1837,10 @@ export default class {
1498
1837
  readonly hasOtp: boolean & {
1499
1838
  readonly?: "__readonly" | undefined;
1500
1839
  };
1501
- readonly accountType?: (("user" | "service-account") & {
1840
+ readonly accountType?: (("service-account" | "user") & {
1502
1841
  readonly?: "__readonly" | undefined;
1503
1842
  }) | undefined;
1504
- }[];
1843
+ };
1505
1844
  program: string;
1506
1845
  version: string;
1507
1846
  datetime: string;
@@ -1518,13 +1857,13 @@ export default class {
1518
1857
  readonly id: string & {
1519
1858
  readonly?: "__readonly" | undefined;
1520
1859
  };
1521
- readonly roleId: string & {
1860
+ readonly companyId: string & {
1522
1861
  readonly?: "__readonly" | undefined;
1523
1862
  };
1524
- readonly resourceGroupIds: string[];
1525
- readonly companyId: string & {
1863
+ readonly roleId: string & {
1526
1864
  readonly?: "__readonly" | undefined;
1527
1865
  };
1866
+ readonly resourceGroupIds: string[];
1528
1867
  readonly createdAt: string & {
1529
1868
  readonly?: "__readonly" | undefined;
1530
1869
  };
@@ -1542,10 +1881,10 @@ export default class {
1542
1881
  readonly hasOtp: boolean & {
1543
1882
  readonly?: "__readonly" | undefined;
1544
1883
  };
1545
- readonly accountType?: (("user" | "service-account") & {
1884
+ readonly accountType?: (("service-account" | "user") & {
1546
1885
  readonly?: "__readonly" | undefined;
1547
1886
  }) | undefined;
1548
- }[];
1887
+ };
1549
1888
  program: string;
1550
1889
  version: string;
1551
1890
  datetime: string;
@@ -1564,13 +1903,13 @@ export default class {
1564
1903
  readonly id: string & {
1565
1904
  readonly?: "__readonly" | undefined;
1566
1905
  };
1567
- readonly roleId: string & {
1906
+ readonly companyId: string & {
1568
1907
  readonly?: "__readonly" | undefined;
1569
1908
  };
1570
- readonly resourceGroupIds: string[];
1571
- readonly companyId: string & {
1909
+ readonly roleId: string & {
1572
1910
  readonly?: "__readonly" | undefined;
1573
1911
  };
1912
+ readonly resourceGroupIds: string[];
1574
1913
  readonly createdAt: string & {
1575
1914
  readonly?: "__readonly" | undefined;
1576
1915
  };
@@ -1588,10 +1927,10 @@ export default class {
1588
1927
  readonly hasOtp: boolean & {
1589
1928
  readonly?: "__readonly" | undefined;
1590
1929
  };
1591
- readonly accountType?: (("user" | "service-account") & {
1930
+ readonly accountType?: (("service-account" | "user") & {
1592
1931
  readonly?: "__readonly" | undefined;
1593
1932
  }) | undefined;
1594
- }[];
1933
+ };
1595
1934
  program: string;
1596
1935
  version: string;
1597
1936
  datetime: string;
@@ -1610,13 +1949,13 @@ export default class {
1610
1949
  readonly id: string & {
1611
1950
  readonly?: "__readonly" | undefined;
1612
1951
  };
1613
- readonly roleId: string & {
1952
+ readonly companyId: string & {
1614
1953
  readonly?: "__readonly" | undefined;
1615
1954
  };
1616
- readonly resourceGroupIds: string[];
1617
- readonly companyId: string & {
1955
+ readonly roleId: string & {
1618
1956
  readonly?: "__readonly" | undefined;
1619
1957
  };
1958
+ readonly resourceGroupIds: string[];
1620
1959
  readonly createdAt: string & {
1621
1960
  readonly?: "__readonly" | undefined;
1622
1961
  };
@@ -1634,10 +1973,10 @@ export default class {
1634
1973
  readonly hasOtp: boolean & {
1635
1974
  readonly?: "__readonly" | undefined;
1636
1975
  };
1637
- readonly accountType?: (("user" | "service-account") & {
1976
+ readonly accountType?: (("service-account" | "user") & {
1638
1977
  readonly?: "__readonly" | undefined;
1639
1978
  }) | undefined;
1640
- }[];
1979
+ };
1641
1980
  program: string;
1642
1981
  version: string;
1643
1982
  datetime: string;
@@ -1661,13 +2000,13 @@ export default class {
1661
2000
  readonly id: string & {
1662
2001
  readonly?: "__readonly" | undefined;
1663
2002
  };
1664
- readonly roleId: string & {
2003
+ readonly companyId: string & {
1665
2004
  readonly?: "__readonly" | undefined;
1666
2005
  };
1667
- readonly resourceGroupIds: string[];
1668
- readonly companyId: string & {
2006
+ readonly roleId: string & {
1669
2007
  readonly?: "__readonly" | undefined;
1670
2008
  };
2009
+ readonly resourceGroupIds: string[];
1671
2010
  readonly createdAt: string & {
1672
2011
  readonly?: "__readonly" | undefined;
1673
2012
  };
@@ -1685,10 +2024,10 @@ export default class {
1685
2024
  readonly hasOtp: boolean & {
1686
2025
  readonly?: "__readonly" | undefined;
1687
2026
  };
1688
- readonly accountType?: (("user" | "service-account") & {
2027
+ readonly accountType?: (("service-account" | "user") & {
1689
2028
  readonly?: "__readonly" | undefined;
1690
2029
  }) | undefined;
1691
- }[];
2030
+ };
1692
2031
  program: string;
1693
2032
  version: string;
1694
2033
  datetime: string;
@@ -17,7 +17,7 @@ declare type PropsWithoutWriteonly<T> = {
17
17
  export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : keyof T extends never ? unknown : {
18
18
  [key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
19
19
  } : never;
20
- export declare type InternalResponse = {
20
+ export declare type InternalResponse_ = {
21
21
  program: string;
22
22
  version: string;
23
23
  datetime: string;
@@ -26,13 +26,88 @@ export declare type InternalResponse = {
26
26
  message: string;
27
27
  data: {};
28
28
  };
29
+ export declare type InternalResponse_string = {
30
+ program: string;
31
+ version: string;
32
+ datetime: string;
33
+ status: string;
34
+ code?: number;
35
+ message: string;
36
+ data: string;
37
+ };
38
+ export declare type InternalResponse_revoked_boolean = {
39
+ program: string;
40
+ version: string;
41
+ datetime: string;
42
+ status: string;
43
+ code?: number;
44
+ message: string;
45
+ data: {
46
+ revoked: boolean;
47
+ };
48
+ };
49
+ export declare type UserProfile = {
50
+ firstname?: string;
51
+ lastname?: string;
52
+ jobtitle?: string;
53
+ phone?: string;
54
+ preferredLang?: string;
55
+ };
56
+ export declare type SerializedUser = {
57
+ readonly id: (string) & readonlyP;
58
+ readonly companyId: (string) & readonlyP;
59
+ readonly roleId: (string) & readonlyP;
60
+ readonly resourceGroupIds: (string[]) & readonlyP;
61
+ readonly createdAt: (string) & readonlyP;
62
+ readonly updatedAt: (string) & readonlyP;
63
+ email: string;
64
+ profile?: UserProfile;
65
+ readonly hasOtp: (boolean) & readonlyP;
66
+ readonly accountType?: ("service-account" | "user") & readonlyP;
67
+ };
68
+ export declare type User = SerializedUser;
69
+ export declare type InternalResponse_isValid_boolean_revokedAt_Date_null_expiresAt_Date_null_user_User = {
70
+ program: string;
71
+ version: string;
72
+ datetime: string;
73
+ status: string;
74
+ code?: number;
75
+ message: string;
76
+ data: {
77
+ isValid: boolean;
78
+ revokedAt: string | null;
79
+ expiresAt: string | null;
80
+ user: User;
81
+ };
82
+ };
83
+ export declare type InternalResponse_void = {
84
+ program: string;
85
+ version: string;
86
+ datetime: string;
87
+ status: string;
88
+ code?: number;
89
+ message: string;
90
+ data: {};
91
+ };
92
+ export declare type InternalResponse_roleId_string_resourceGroupIds_Array_string = {
93
+ program: string;
94
+ version: string;
95
+ datetime: string;
96
+ status: string;
97
+ code?: number;
98
+ message: string;
99
+ data: {
100
+ roleId: string;
101
+ resourceGroupIds: string[];
102
+ };
103
+ };
29
104
  export declare type Quota = {
30
105
  type: "datasource" | "individual" | "display";
31
106
  subtype?: string;
32
107
  quota: number;
33
108
  usage?: number;
34
109
  };
35
- export declare type Plan_Without_Name_Features_ToJSON__id = {
110
+ export declare type Plan_Without_Name_ToJSON_Features__id = {
36
111
  quotas: Quota[];
37
112
  };
38
113
  export declare type CompanyPasswordSecurityPolicy = {
@@ -182,7 +257,7 @@ export declare type SerializedCompany = {
182
257
  readonly createdAt: (string) & readonlyP;
183
258
  readonly updatedAt: (string) & readonlyP;
184
259
  name: string;
185
- readonly plan: (Plan_Without_Name_Features_ToJSON__id & {
260
+ readonly plan: (Plan_Without_Name_ToJSON_Features__id & {
186
261
  name: string;
187
262
  startDate: string;
188
263
  endDate: string;
@@ -210,7 +285,7 @@ export declare type SerializedCompany = {
210
285
  };
211
286
  };
212
287
  export declare type Company = SerializedCompany;
213
- export declare type __type_Company = {
288
+ export declare type InternalResponse_Company = {
214
289
  program: string;
215
290
  version: string;
216
291
  datetime: string;
@@ -219,6 +294,17 @@ export declare type __type_Company = {
219
294
  message: string;
220
295
  data: Company;
221
296
  };
297
+ export declare type InternalResponse_companyId_string = {
298
+ program: string;
299
+ version: string;
300
+ datetime: string;
301
+ status: string;
302
+ code?: number;
303
+ message: string;
304
+ data: {
305
+ companyId: string;
306
+ };
307
+ };
222
308
  export declare type RoleRule_Without_ = {
223
309
  fields?: string[];
224
310
  conditions?: {
@@ -228,9 +314,9 @@ export declare type RoleRule_Without_ = {
228
314
  reason?: string;
229
315
  action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
230
316
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
231
- mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
317
+ mustMatch?: ("id" | "companyId" | "roleId" | "resourceGroupIds" | {
232
318
  field: string;
233
- value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
319
+ value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
234
320
  })[];
235
321
  };
236
322
  export declare type RoleRule = RoleRule_Without_;
@@ -239,8 +325,19 @@ export declare type SerializedRole = {
239
325
  name: string;
240
326
  rules: RoleRule[];
241
327
  };
328
+ export declare type InternalResponse_roles_Array_OmitAlias = {
329
+ program: string;
330
+ version: string;
331
+ datetime: string;
332
+ status: string;
333
+ code?: number;
334
+ message: string;
335
+ data: {
336
+ roles: SerializedRole[];
337
+ };
338
+ };
242
339
  export declare type Role = SerializedRole;
243
- export declare type __type_Role = {
340
+ export declare type InternalResponse_Array_Role = {
244
341
  program: string;
245
342
  version: string;
246
343
  datetime: string;
@@ -249,6 +346,19 @@ export declare type __type_Role = {
249
346
  message: string;
250
347
  data: Role[];
251
348
  };
349
+ export declare type ObjectId = string;
350
+ export declare type InternalResponse_companyId_ObjectId_resourceGroupIds_Array_ObjectId = {
351
+ program: string;
352
+ version: string;
353
+ datetime: string;
354
+ status: string;
355
+ code?: number;
356
+ message: string;
357
+ data: {
358
+ companyId: ObjectId;
359
+ resourceGroupIds: ObjectId[];
360
+ };
361
+ };
252
362
  export declare enum InvitationState {
253
363
  WAITING = "waiting",
254
364
  USED = "used",
@@ -265,7 +375,7 @@ export declare type SerializedInvitation = {
265
375
  state: InvitationState;
266
376
  };
267
377
  export declare type Invitation = SerializedInvitation;
268
- export declare type __type_Invitation = {
378
+ export declare type InternalResponse_Array_Invitation = {
269
379
  program: string;
270
380
  version: string;
271
381
  datetime: string;
@@ -274,6 +384,26 @@ export declare type __type_Invitation = {
274
384
  message: string;
275
385
  data: Invitation[];
276
386
  };
387
+ export declare type InternalResponse_Invitation = {
388
+ program: string;
389
+ version: string;
390
+ datetime: string;
391
+ status: string;
392
+ code?: number;
393
+ message: string;
394
+ data: Invitation;
395
+ };
396
+ export declare type InternalResponse_id_string = {
397
+ program: string;
398
+ version: string;
399
+ datetime: string;
400
+ status: string;
401
+ code?: number;
402
+ message: string;
403
+ data: {
404
+ id: string;
405
+ };
406
+ };
277
407
  export declare type SerializedResourceGroup = {
278
408
  readonly id: (string) & readonlyP;
279
409
  readonly companyId: (string) & readonlyP;
@@ -281,7 +411,7 @@ export declare type SerializedResourceGroup = {
281
411
  color?: string;
282
412
  };
283
413
  export declare type ResourceGroup = SerializedResourceGroup;
284
- export declare type __type_import_home_node_src_models_resource_groups_ResourceGroup_usersCount_number_ = {
414
+ export declare type InternalResponse_Array_import_home_node_src_models_resource_groups_ResourceGroup_usersCount_number_ = {
285
415
  program: string;
286
416
  version: string;
287
417
  datetime: string;
@@ -292,7 +422,7 @@ export declare type __type_import_home_node_src_models_resource_groups_ResourceG
292
422
  usersCount: number;
293
423
  })[];
294
424
  };
295
- export declare type __type_ResourceGroup = {
425
+ export declare type InternalResponse_ResourceGroup = {
296
426
  program: string;
297
427
  version: string;
298
428
  datetime: string;
@@ -301,7 +431,7 @@ export declare type __type_ResourceGroup = {
301
431
  message: string;
302
432
  data: ResourceGroup;
303
433
  };
304
- export declare type __type_import_home_node_src_models_roles_Role_usersCount_number_ = {
434
+ export declare type InternalResponse_Array_import_home_node_src_models_roles_Role_usersCount_number_ = {
305
435
  program: string;
306
436
  version: string;
307
437
  datetime: string;
@@ -312,27 +442,16 @@ export declare type __type_import_home_node_src_models_roles_Role_usersCount_num
312
442
  usersCount: number;
313
443
  })[];
314
444
  };
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;
445
+ export declare type InternalResponse_Role = {
446
+ program: string;
447
+ version: string;
448
+ datetime: string;
449
+ status: string;
450
+ code?: number;
451
+ message: string;
452
+ data: Role;
333
453
  };
334
- export declare type User = SerializedUser;
335
- export declare type __type_User = {
454
+ export declare type InternalResponse_Array_User = {
336
455
  program: string;
337
456
  version: string;
338
457
  datetime: string;
@@ -341,6 +460,27 @@ export declare type __type_User = {
341
460
  message: string;
342
461
  data: User[];
343
462
  };
463
+ export declare type InternalResponse_User = {
464
+ program: string;
465
+ version: string;
466
+ datetime: string;
467
+ status: string;
468
+ code?: number;
469
+ message: string;
470
+ data: User;
471
+ };
472
+ export declare type InternalResponse_user_User_company_Company = {
473
+ program: string;
474
+ version: string;
475
+ datetime: string;
476
+ status: string;
477
+ code?: number;
478
+ message: string;
479
+ data: {
480
+ user: User;
481
+ company: Company;
482
+ };
483
+ };
344
484
  export declare enum Variables {
345
485
  "RLVT-U" = "rlvt-u",
346
486
  "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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBd1hwQixJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDdkIsc0NBQW1CLENBQUE7SUFDbkIsZ0NBQWEsQ0FBQTtJQUNiLHdDQUFxQixDQUFBO0FBQ3pCLENBQUMsRUFKVyxlQUFlLEdBQWYsdUJBQWUsS0FBZix1QkFBZSxRQUkxQjtBQXdIRCxJQUFZLFNBT1g7QUFQRCxXQUFZLFNBQVM7SUFDakIsOEJBQW1CLENBQUE7SUFDbkIsOEJBQW1CLENBQUE7SUFDbkIsMENBQTZCLENBQUE7SUFDN0Isc0NBQXlCLENBQUE7SUFDekIsc0NBQXlCLENBQUE7SUFDekIsa0NBQXFCLENBQUE7QUFDekIsQ0FBQyxFQVBXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBT3BCIn0=
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.78+adbb031",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",