@stack-spot/portal-network 0.223.0 → 0.224.0
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/CHANGELOG.md +7 -0
- package/dist/api/account.d.ts +430 -87
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +251 -37
- package/dist/api/account.js.map +1 -1
- package/dist/client/account.d.ts +103 -1
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +96 -6
- package/dist/client/account.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +831 -143
- package/src/client/account.ts +57 -6
package/dist/api/account.js
CHANGED
|
@@ -14,6 +14,55 @@ const oazapfts = Oazapfts.runtime(defaults);
|
|
|
14
14
|
export const servers = {
|
|
15
15
|
generatedServerUrl: "https://account-account-api.dev.stackspot.com"
|
|
16
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Get service credential permissions
|
|
19
|
+
*/
|
|
20
|
+
export function getPermissions({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
21
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/permissions${QS.query(QS.explode({
|
|
22
|
+
size,
|
|
23
|
+
page,
|
|
24
|
+
sort,
|
|
25
|
+
direction,
|
|
26
|
+
search,
|
|
27
|
+
filterMode,
|
|
28
|
+
filterBy,
|
|
29
|
+
filterValue,
|
|
30
|
+
multiFilterMode,
|
|
31
|
+
filterIn
|
|
32
|
+
}))}`, {
|
|
33
|
+
...opts
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Replace permission from service credential
|
|
38
|
+
*/
|
|
39
|
+
export function replacePermissions({ id, serviceCredentialPermissionRequestV3 }, opts) {
|
|
40
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/permissions`, oazapfts.json({
|
|
41
|
+
...opts,
|
|
42
|
+
method: "PUT",
|
|
43
|
+
body: serviceCredentialPermissionRequestV3
|
|
44
|
+
})));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Remove permission from service credential
|
|
48
|
+
*/
|
|
49
|
+
export function removePermissions({ id, serviceCredentialPermissionRequestV3 }, opts) {
|
|
50
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/permissions`, oazapfts.json({
|
|
51
|
+
...opts,
|
|
52
|
+
method: "DELETE",
|
|
53
|
+
body: serviceCredentialPermissionRequestV3
|
|
54
|
+
})));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Add permissions to Service Credential
|
|
58
|
+
*/
|
|
59
|
+
export function addPermission({ id, serviceCredentialPermissionRequestV3 }, opts) {
|
|
60
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/permissions`, oazapfts.json({
|
|
61
|
+
...opts,
|
|
62
|
+
method: "PATCH",
|
|
63
|
+
body: serviceCredentialPermissionRequestV3
|
|
64
|
+
})));
|
|
65
|
+
}
|
|
17
66
|
/**
|
|
18
67
|
* Retrieves a list of rate limit with the associated service credential.
|
|
19
68
|
*/
|
|
@@ -178,6 +227,24 @@ export function deleteSecret({ immediate, secretId }, opts) {
|
|
|
178
227
|
method: "DELETE"
|
|
179
228
|
}));
|
|
180
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* Associate a secret with a resource
|
|
232
|
+
*/
|
|
233
|
+
export function associateResource({ secretId, resourceSlug, resourceTypeSlug }, opts) {
|
|
234
|
+
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/associations/resources/${encodeURIComponent(resourceSlug)}/resource-type/${encodeURIComponent(resourceTypeSlug)}`, {
|
|
235
|
+
...opts,
|
|
236
|
+
method: "PUT"
|
|
237
|
+
}));
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Disassociate a secret with a resource
|
|
241
|
+
*/
|
|
242
|
+
export function disassociateResource({ secretId, resourceSlug, resourceTypeSlug }, opts) {
|
|
243
|
+
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/associations/resources/${encodeURIComponent(resourceSlug)}/resource-type/${encodeURIComponent(resourceTypeSlug)}`, {
|
|
244
|
+
...opts,
|
|
245
|
+
method: "DELETE"
|
|
246
|
+
}));
|
|
247
|
+
}
|
|
181
248
|
/**
|
|
182
249
|
* Retrieves a specific scope by its ID for the current user's tenant and returns it.
|
|
183
250
|
*/
|
|
@@ -291,6 +358,16 @@ export function updateResourceActions({ roleId, resourceId, updateResourceAction
|
|
|
291
358
|
body: updateResourceActionsRequest
|
|
292
359
|
})));
|
|
293
360
|
}
|
|
361
|
+
/**
|
|
362
|
+
* Update permission resource action
|
|
363
|
+
*/
|
|
364
|
+
export function updatePermissionResourceAction({ permissionId, resourceId, updatePermissionResourceActionRequest }, opts) {
|
|
365
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v1/permissions/${encodeURIComponent(permissionId)}/resource/${encodeURIComponent(resourceId)}/action`, oazapfts.json({
|
|
366
|
+
...opts,
|
|
367
|
+
method: "PUT",
|
|
368
|
+
body: updatePermissionResourceActionRequest
|
|
369
|
+
})));
|
|
370
|
+
}
|
|
294
371
|
/**
|
|
295
372
|
* Retrieves account member details by their unique identifier.
|
|
296
373
|
*/
|
|
@@ -413,6 +490,36 @@ export function deleteGroupMapping({ id, attributeImporterId }, opts) {
|
|
|
413
490
|
method: "DELETE"
|
|
414
491
|
}));
|
|
415
492
|
}
|
|
493
|
+
/**
|
|
494
|
+
* TODO: Description
|
|
495
|
+
*/
|
|
496
|
+
export function getAll({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, status }, opts) {
|
|
497
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials${QS.query(QS.explode({
|
|
498
|
+
size,
|
|
499
|
+
page,
|
|
500
|
+
sort,
|
|
501
|
+
direction,
|
|
502
|
+
search,
|
|
503
|
+
filterMode,
|
|
504
|
+
filterBy,
|
|
505
|
+
filterValue,
|
|
506
|
+
multiFilterMode,
|
|
507
|
+
filterIn,
|
|
508
|
+
status
|
|
509
|
+
}))}`, {
|
|
510
|
+
...opts
|
|
511
|
+
}));
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* Create a new Service Credential
|
|
515
|
+
*/
|
|
516
|
+
export function create({ serviceCredentialCreateRequestV3 }, opts) {
|
|
517
|
+
return oazapfts.ok(oazapfts.fetchJson("/v3/service-credentials", oazapfts.json({
|
|
518
|
+
...opts,
|
|
519
|
+
method: "POST",
|
|
520
|
+
body: serviceCredentialCreateRequestV3
|
|
521
|
+
})));
|
|
522
|
+
}
|
|
416
523
|
/**
|
|
417
524
|
* Retrieves a list of service credentials associated with the current user
|
|
418
525
|
*/
|
|
@@ -523,7 +630,7 @@ export function getFeatures1(opts) {
|
|
|
523
630
|
/**
|
|
524
631
|
* Creates a new Feature Flag and returns its unique identifier.
|
|
525
632
|
*/
|
|
526
|
-
export function
|
|
633
|
+
export function create1({ createFeatureFlagRequest }, opts) {
|
|
527
634
|
return oazapfts.ok(oazapfts.fetchJson("/v2/admin/feature-flags", oazapfts.json({
|
|
528
635
|
...opts,
|
|
529
636
|
method: "POST",
|
|
@@ -631,24 +738,6 @@ export function createSecret({ createSecretRequest }, opts) {
|
|
|
631
738
|
body: createSecretRequest
|
|
632
739
|
})));
|
|
633
740
|
}
|
|
634
|
-
/**
|
|
635
|
-
* Associate a secret with a resource
|
|
636
|
-
*/
|
|
637
|
-
export function associateResource({ secretId, resourceSlug, resourceTypeSlug }, opts) {
|
|
638
|
-
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/associations/resources/${encodeURIComponent(resourceSlug)}/resource-type/${encodeURIComponent(resourceTypeSlug)}`, {
|
|
639
|
-
...opts,
|
|
640
|
-
method: "POST"
|
|
641
|
-
}));
|
|
642
|
-
}
|
|
643
|
-
/**
|
|
644
|
-
* Disassociate a secret with a resource
|
|
645
|
-
*/
|
|
646
|
-
export function disassociateResource({ secretId, resourceSlug, resourceTypeSlug }, opts) {
|
|
647
|
-
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/associations/resources/${encodeURIComponent(resourceSlug)}/resource-type/${encodeURIComponent(resourceTypeSlug)}`, {
|
|
648
|
-
...opts,
|
|
649
|
-
method: "DELETE"
|
|
650
|
-
}));
|
|
651
|
-
}
|
|
652
741
|
/**
|
|
653
742
|
* Check if user has access to secret
|
|
654
743
|
*/
|
|
@@ -1387,7 +1476,7 @@ export function getAccounts({ size, page, sort, direction, search, filterMode, f
|
|
|
1387
1476
|
/**
|
|
1388
1477
|
* Creates a new account order and returns the associated account ID.
|
|
1389
1478
|
*/
|
|
1390
|
-
export function
|
|
1479
|
+
export function create2({ createAccountOrderRequest }, opts) {
|
|
1391
1480
|
return oazapfts.ok(oazapfts.fetchJson("/v1/admin/accounts", oazapfts.json({
|
|
1392
1481
|
...opts,
|
|
1393
1482
|
method: "POST",
|
|
@@ -1485,8 +1574,8 @@ export function validateNewPartnerData({ validateAccountPartnerDataRequest }, op
|
|
|
1485
1574
|
/**
|
|
1486
1575
|
* Removes privileges to group's default role.
|
|
1487
1576
|
*/
|
|
1488
|
-
export function
|
|
1489
|
-
return oazapfts.ok(oazapfts.fetchText(`/
|
|
1577
|
+
export function removePermissions1({ groupId, body }, opts) {
|
|
1578
|
+
return oazapfts.ok(oazapfts.fetchText(`/v4/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1490
1579
|
...opts,
|
|
1491
1580
|
method: "DELETE",
|
|
1492
1581
|
body
|
|
@@ -1496,6 +1585,112 @@ export function removePermissions({ groupId, body }, opts) {
|
|
|
1496
1585
|
* Add privileges to group's default role.
|
|
1497
1586
|
*/
|
|
1498
1587
|
export function addPrivilegesToGroup({ groupId, body }, opts) {
|
|
1588
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v4/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1589
|
+
...opts,
|
|
1590
|
+
method: "PATCH",
|
|
1591
|
+
body
|
|
1592
|
+
})));
|
|
1593
|
+
}
|
|
1594
|
+
/**
|
|
1595
|
+
* TODO: Description
|
|
1596
|
+
*/
|
|
1597
|
+
export function getById2({ id }, opts) {
|
|
1598
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}`, {
|
|
1599
|
+
...opts
|
|
1600
|
+
}));
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* Revoke Service Credential
|
|
1604
|
+
*/
|
|
1605
|
+
export function revoke({ id }, opts) {
|
|
1606
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}`, {
|
|
1607
|
+
...opts,
|
|
1608
|
+
method: "DELETE"
|
|
1609
|
+
}));
|
|
1610
|
+
}
|
|
1611
|
+
/**
|
|
1612
|
+
* Updates Service Credential Metadata
|
|
1613
|
+
*/
|
|
1614
|
+
export function updateMetadata({ id, serviceCredentialUpdateRequestV3 }, opts) {
|
|
1615
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}`, oazapfts.json({
|
|
1616
|
+
...opts,
|
|
1617
|
+
method: "PATCH",
|
|
1618
|
+
body: serviceCredentialUpdateRequestV3
|
|
1619
|
+
})));
|
|
1620
|
+
}
|
|
1621
|
+
/**
|
|
1622
|
+
* Get service credential groups
|
|
1623
|
+
*/
|
|
1624
|
+
export function getGroups1({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1625
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/groups${QS.query(QS.explode({
|
|
1626
|
+
size,
|
|
1627
|
+
page,
|
|
1628
|
+
sort,
|
|
1629
|
+
direction,
|
|
1630
|
+
search,
|
|
1631
|
+
filterMode,
|
|
1632
|
+
filterBy,
|
|
1633
|
+
filterValue,
|
|
1634
|
+
multiFilterMode,
|
|
1635
|
+
filterIn
|
|
1636
|
+
}))}`, {
|
|
1637
|
+
...opts
|
|
1638
|
+
}));
|
|
1639
|
+
}
|
|
1640
|
+
/**
|
|
1641
|
+
* Remove Group(s) from Service Credential
|
|
1642
|
+
*/
|
|
1643
|
+
export function removeGroup({ id, groupsRequest }, opts) {
|
|
1644
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/groups`, oazapfts.json({
|
|
1645
|
+
...opts,
|
|
1646
|
+
method: "DELETE",
|
|
1647
|
+
body: groupsRequest
|
|
1648
|
+
})));
|
|
1649
|
+
}
|
|
1650
|
+
/**
|
|
1651
|
+
* Add group to service credential
|
|
1652
|
+
*/
|
|
1653
|
+
export function addGroup({ id, groupsRequest }, opts) {
|
|
1654
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/groups`, oazapfts.json({
|
|
1655
|
+
...opts,
|
|
1656
|
+
method: "PATCH",
|
|
1657
|
+
body: groupsRequest
|
|
1658
|
+
})));
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
* Delete a member permissions
|
|
1662
|
+
*/
|
|
1663
|
+
export function deleteMemberPermissions({ memberId, body }, opts) {
|
|
1664
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1665
|
+
...opts,
|
|
1666
|
+
method: "DELETE",
|
|
1667
|
+
body
|
|
1668
|
+
})));
|
|
1669
|
+
}
|
|
1670
|
+
/**
|
|
1671
|
+
* Update a member's permissions by assigning resources and actions, creating a default role if necessary.
|
|
1672
|
+
*/
|
|
1673
|
+
export function updateMemberPermissions({ memberId, body }, opts) {
|
|
1674
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1675
|
+
...opts,
|
|
1676
|
+
method: "PATCH",
|
|
1677
|
+
body
|
|
1678
|
+
})));
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* Delete Group permissions
|
|
1682
|
+
*/
|
|
1683
|
+
export function deleteGroupPermissions({ groupId, body }, opts) {
|
|
1684
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1685
|
+
...opts,
|
|
1686
|
+
method: "DELETE",
|
|
1687
|
+
body
|
|
1688
|
+
})));
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
* Update a group's permissions by assigning resources and actions
|
|
1692
|
+
*/
|
|
1693
|
+
export function addGroupPermissions({ groupId, body }, opts) {
|
|
1499
1694
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1500
1695
|
...opts,
|
|
1501
1696
|
method: "PATCH",
|
|
@@ -1532,9 +1727,9 @@ export function revokeServiceCredential({ id }, opts) {
|
|
|
1532
1727
|
}));
|
|
1533
1728
|
}
|
|
1534
1729
|
/**
|
|
1535
|
-
* Delete a member
|
|
1730
|
+
* Delete a member permission of the entire resources if any action matches with existing permission.
|
|
1536
1731
|
*/
|
|
1537
|
-
export function
|
|
1732
|
+
export function deleteMemberPermissions1({ memberId, body }, opts) {
|
|
1538
1733
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1539
1734
|
...opts,
|
|
1540
1735
|
method: "DELETE",
|
|
@@ -1542,9 +1737,9 @@ export function deleteMemberPermissions({ memberId, body }, opts) {
|
|
|
1542
1737
|
})));
|
|
1543
1738
|
}
|
|
1544
1739
|
/**
|
|
1545
|
-
* Update a member's permissions by assigning resources and actions, creating a default role if necessary.
|
|
1740
|
+
* Update a member's permissions by assigning resources and REPLACING actions, creating a default role if necessary.
|
|
1546
1741
|
*/
|
|
1547
|
-
export function
|
|
1742
|
+
export function updateMemberPermissions1({ memberId, body }, opts) {
|
|
1548
1743
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1549
1744
|
...opts,
|
|
1550
1745
|
method: "PATCH",
|
|
@@ -1552,9 +1747,9 @@ export function updateMemberPermissions({ memberId, body }, opts) {
|
|
|
1552
1747
|
})));
|
|
1553
1748
|
}
|
|
1554
1749
|
/**
|
|
1555
|
-
* Delete
|
|
1750
|
+
* Delete a group permission of the entire resources if any action matches with existing permission.
|
|
1556
1751
|
*/
|
|
1557
|
-
export function
|
|
1752
|
+
export function deleteGroupPermissions1({ groupId, body }, opts) {
|
|
1558
1753
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1559
1754
|
...opts,
|
|
1560
1755
|
method: "DELETE",
|
|
@@ -1722,9 +1917,9 @@ export function updateMemberPreferences({ memberId, updateMemberPreferencesReque
|
|
|
1722
1917
|
})));
|
|
1723
1918
|
}
|
|
1724
1919
|
/**
|
|
1725
|
-
*
|
|
1920
|
+
* Delete a member permission of the entire resources if any action matches with existing permission.
|
|
1726
1921
|
*/
|
|
1727
|
-
export function
|
|
1922
|
+
export function deleteMemberPermissions2({ memberId, deleteMemberPermissionsRequest }, opts) {
|
|
1728
1923
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1729
1924
|
...opts,
|
|
1730
1925
|
method: "DELETE",
|
|
@@ -1732,9 +1927,9 @@ export function deleteMemberPermissions1({ memberId, deleteMemberPermissionsRequ
|
|
|
1732
1927
|
})));
|
|
1733
1928
|
}
|
|
1734
1929
|
/**
|
|
1735
|
-
* Update a member's permissions by assigning resources and actions, creating a default role if necessary.
|
|
1930
|
+
* Update a member's permissions by assigning resources and REPLACING actions, creating a default role if necessary.
|
|
1736
1931
|
*/
|
|
1737
|
-
export function
|
|
1932
|
+
export function updateMemberPermissions2({ memberId, updateMemberPermissionsRequest }, opts) {
|
|
1738
1933
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1739
1934
|
...opts,
|
|
1740
1935
|
method: "PATCH",
|
|
@@ -1806,9 +2001,9 @@ export function update1({ groupId, updateGroupRequest }, opts) {
|
|
|
1806
2001
|
})));
|
|
1807
2002
|
}
|
|
1808
2003
|
/**
|
|
1809
|
-
* Delete
|
|
2004
|
+
* Delete a group permission of the entire resources if any action matches with existing permission.
|
|
1810
2005
|
*/
|
|
1811
|
-
export function
|
|
2006
|
+
export function deleteGroupPermissions2({ groupId, deleteGroupPermissionsRequest }, opts) {
|
|
1812
2007
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1813
2008
|
...opts,
|
|
1814
2009
|
method: "DELETE",
|
|
@@ -1965,6 +2160,25 @@ export function updatePartnerAccountAdminData({ id, accountPartnerAdminDataUpdat
|
|
|
1965
2160
|
body: accountPartnerAdminDataUpdateRequest
|
|
1966
2161
|
})));
|
|
1967
2162
|
}
|
|
2163
|
+
/**
|
|
2164
|
+
* Get Resource Types
|
|
2165
|
+
*/
|
|
2166
|
+
export function getResourceTypes({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2167
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v3/resource-types${QS.query(QS.explode({
|
|
2168
|
+
size,
|
|
2169
|
+
page,
|
|
2170
|
+
sort,
|
|
2171
|
+
direction,
|
|
2172
|
+
search,
|
|
2173
|
+
filterMode,
|
|
2174
|
+
filterBy,
|
|
2175
|
+
filterValue,
|
|
2176
|
+
multiFilterMode,
|
|
2177
|
+
filterIn
|
|
2178
|
+
}))}`, {
|
|
2179
|
+
...opts
|
|
2180
|
+
}));
|
|
2181
|
+
}
|
|
1968
2182
|
/**
|
|
1969
2183
|
* Retrieves a list of SCM credentials associated with the current user's account, including secret names and provider details.
|
|
1970
2184
|
*/
|
|
@@ -2106,7 +2320,7 @@ export function getResourceGroups({ resourceId, size, page, sort, direction, sea
|
|
|
2106
2320
|
/**
|
|
2107
2321
|
* Get Resource Types
|
|
2108
2322
|
*/
|
|
2109
|
-
export function
|
|
2323
|
+
export function getResourceTypes1({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2110
2324
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/resource-types${QS.query(QS.explode({
|
|
2111
2325
|
size,
|
|
2112
2326
|
page,
|
|
@@ -2182,7 +2396,7 @@ export function getMemberGroups1({ memberId, size, page, sort, direction, search
|
|
|
2182
2396
|
/**
|
|
2183
2397
|
* Get Groups
|
|
2184
2398
|
*/
|
|
2185
|
-
export function
|
|
2399
|
+
export function getGroups2({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }, opts) {
|
|
2186
2400
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups${QS.query(QS.explode({
|
|
2187
2401
|
size,
|
|
2188
2402
|
page,
|
|
@@ -2435,7 +2649,7 @@ export function getResourceGroups1({ resourceId, size, page, sort, direction, se
|
|
|
2435
2649
|
/**
|
|
2436
2650
|
* Get Resource Types
|
|
2437
2651
|
*/
|
|
2438
|
-
export function
|
|
2652
|
+
export function getResourceTypes2({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2439
2653
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/resource-types${QS.query(QS.explode({
|
|
2440
2654
|
size,
|
|
2441
2655
|
page,
|