@confighub/rtk-query 0.8.12 → 0.8.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +35 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +739 -1
- package/dist/index.d.ts +739 -1
- package/dist/index.js +32 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1556,6 +1556,30 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
1556
1556
|
}),
|
|
1557
1557
|
invalidatesTags: ["ServiceAccount"]
|
|
1558
1558
|
}),
|
|
1559
|
+
listServiceAccountTokens: build.query({
|
|
1560
|
+
query: (queryArg) => ({
|
|
1561
|
+
url: `/service_account/${queryArg.serviceAccountId}/token`
|
|
1562
|
+
}),
|
|
1563
|
+
providesTags: ["ServiceAccount"]
|
|
1564
|
+
}),
|
|
1565
|
+
createServiceAccountToken: build.mutation({
|
|
1566
|
+
query: (queryArg) => ({
|
|
1567
|
+
url: `/service_account/${queryArg.serviceAccountId}/token`,
|
|
1568
|
+
method: "POST",
|
|
1569
|
+
body: queryArg.createUserTokenRequest,
|
|
1570
|
+
params: {
|
|
1571
|
+
dry_run: queryArg.dryRun
|
|
1572
|
+
}
|
|
1573
|
+
}),
|
|
1574
|
+
invalidatesTags: ["ServiceAccount"]
|
|
1575
|
+
}),
|
|
1576
|
+
revokeServiceAccountToken: build.mutation({
|
|
1577
|
+
query: (queryArg) => ({
|
|
1578
|
+
url: `/service_account/${queryArg.serviceAccountId}/token/${queryArg.jti}`,
|
|
1579
|
+
method: "DELETE"
|
|
1580
|
+
}),
|
|
1581
|
+
invalidatesTags: ["ServiceAccount"]
|
|
1582
|
+
}),
|
|
1559
1583
|
listSpaces: build.query({
|
|
1560
1584
|
query: (queryArg) => ({
|
|
1561
1585
|
url: `/space`,
|
|
@@ -2890,6 +2914,9 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
2890
2914
|
url: `/space/${queryArg.spaceId}/unit/${queryArg.unitId}/data`,
|
|
2891
2915
|
method: "PUT",
|
|
2892
2916
|
body: queryArg.body,
|
|
2917
|
+
headers: {
|
|
2918
|
+
"If-Match": queryArg["If-Match"]
|
|
2919
|
+
},
|
|
2893
2920
|
params: {
|
|
2894
2921
|
last_change_description: queryArg.lastChangeDescription,
|
|
2895
2922
|
include: queryArg.include,
|
|
@@ -4084,6 +4111,10 @@ var {
|
|
|
4084
4111
|
useLazyListServiceAccountKeysQuery,
|
|
4085
4112
|
useCreateServiceAccountKeyMutation,
|
|
4086
4113
|
useDeleteServiceAccountKeyMutation,
|
|
4114
|
+
useListServiceAccountTokensQuery,
|
|
4115
|
+
useLazyListServiceAccountTokensQuery,
|
|
4116
|
+
useCreateServiceAccountTokenMutation,
|
|
4117
|
+
useRevokeServiceAccountTokenMutation,
|
|
4087
4118
|
useListSpacesQuery,
|
|
4088
4119
|
useLazyListSpacesQuery,
|
|
4089
4120
|
useCreateSpaceMutation,
|
|
@@ -4425,6 +4456,7 @@ exports.useCreateOrganizationMutation = useCreateOrganizationMutation;
|
|
|
4425
4456
|
exports.useCreateReviewCommentMutation = useCreateReviewCommentMutation;
|
|
4426
4457
|
exports.useCreateServiceAccountKeyMutation = useCreateServiceAccountKeyMutation;
|
|
4427
4458
|
exports.useCreateServiceAccountMutation = useCreateServiceAccountMutation;
|
|
4459
|
+
exports.useCreateServiceAccountTokenMutation = useCreateServiceAccountTokenMutation;
|
|
4428
4460
|
exports.useCreateSpaceMutation = useCreateSpaceMutation;
|
|
4429
4461
|
exports.useCreateTagMutation = useCreateTagMutation;
|
|
4430
4462
|
exports.useCreateTargetMutation = useCreateTargetMutation;
|
|
@@ -4600,6 +4632,7 @@ exports.useLazyListOrganizationsQuery = useLazyListOrganizationsQuery;
|
|
|
4600
4632
|
exports.useLazyListQueuedOperationsQuery = useLazyListQueuedOperationsQuery;
|
|
4601
4633
|
exports.useLazyListReviewCommentsQuery = useLazyListReviewCommentsQuery;
|
|
4602
4634
|
exports.useLazyListServiceAccountKeysQuery = useLazyListServiceAccountKeysQuery;
|
|
4635
|
+
exports.useLazyListServiceAccountTokensQuery = useLazyListServiceAccountTokensQuery;
|
|
4603
4636
|
exports.useLazyListServiceAccountsQuery = useLazyListServiceAccountsQuery;
|
|
4604
4637
|
exports.useLazyListSpacesQuery = useLazyListSpacesQuery;
|
|
4605
4638
|
exports.useLazyListTagsQuery = useLazyListTagsQuery;
|
|
@@ -4661,6 +4694,7 @@ exports.useListOrganizationsQuery = useListOrganizationsQuery;
|
|
|
4661
4694
|
exports.useListQueuedOperationsQuery = useListQueuedOperationsQuery;
|
|
4662
4695
|
exports.useListReviewCommentsQuery = useListReviewCommentsQuery;
|
|
4663
4696
|
exports.useListServiceAccountKeysQuery = useListServiceAccountKeysQuery;
|
|
4697
|
+
exports.useListServiceAccountTokensQuery = useListServiceAccountTokensQuery;
|
|
4664
4698
|
exports.useListServiceAccountsQuery = useListServiceAccountsQuery;
|
|
4665
4699
|
exports.useListSpacesQuery = useListSpacesQuery;
|
|
4666
4700
|
exports.useListTagsQuery = useListTagsQuery;
|
|
@@ -4694,6 +4728,7 @@ exports.usePromoteMutation = usePromoteMutation;
|
|
|
4694
4728
|
exports.usePublishReleaseMutation = usePublishReleaseMutation;
|
|
4695
4729
|
exports.useRemoveGroupBotUserMutation = useRemoveGroupBotUserMutation;
|
|
4696
4730
|
exports.useResolveUnitConflictsMutation = useResolveUnitConflictsMutation;
|
|
4731
|
+
exports.useRevokeServiceAccountTokenMutation = useRevokeServiceAccountTokenMutation;
|
|
4697
4732
|
exports.useSearchListLinksQuery = useSearchListLinksQuery;
|
|
4698
4733
|
exports.useSearchRevisionDataQuery = useSearchRevisionDataQuery;
|
|
4699
4734
|
exports.useSearchRevisionMutationSourcesQuery = useSearchRevisionMutationSourcesQuery;
|