@confighub/rtk-query 0.8.9 → 0.8.10
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 +155 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7216 -4301
- package/dist/index.d.ts +7216 -4301
- package/dist/index.js +142 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -61,6 +61,7 @@ var confighubApi = react.createApi({
|
|
|
61
61
|
// src/confighubApi.gen.ts
|
|
62
62
|
var addTagTypes = [
|
|
63
63
|
"Component",
|
|
64
|
+
"ServiceAccount",
|
|
64
65
|
"Space",
|
|
65
66
|
"Attest",
|
|
66
67
|
"Attestation",
|
|
@@ -141,6 +142,40 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
141
142
|
}),
|
|
142
143
|
invalidatesTags: ["Component"]
|
|
143
144
|
}),
|
|
145
|
+
bulkDeleteServiceAccounts: build.mutation({
|
|
146
|
+
query: (queryArg) => ({
|
|
147
|
+
url: `/_service_account`,
|
|
148
|
+
method: "DELETE",
|
|
149
|
+
params: {
|
|
150
|
+
where: queryArg.where,
|
|
151
|
+
filter: queryArg.filter,
|
|
152
|
+
contains: queryArg.contains,
|
|
153
|
+
include_hidden: queryArg.includeHidden,
|
|
154
|
+
include: queryArg.include,
|
|
155
|
+
limit: queryArg.limit,
|
|
156
|
+
continue: queryArg["continue"]
|
|
157
|
+
}
|
|
158
|
+
}),
|
|
159
|
+
invalidatesTags: ["ServiceAccount"]
|
|
160
|
+
}),
|
|
161
|
+
bulkPatchServiceAccounts: build.mutation({
|
|
162
|
+
query: (queryArg) => ({
|
|
163
|
+
url: `/_service_account`,
|
|
164
|
+
method: "PATCH",
|
|
165
|
+
body: queryArg.body,
|
|
166
|
+
params: {
|
|
167
|
+
where: queryArg.where,
|
|
168
|
+
filter: queryArg.filter,
|
|
169
|
+
contains: queryArg.contains,
|
|
170
|
+
include_hidden: queryArg.includeHidden,
|
|
171
|
+
include: queryArg.include,
|
|
172
|
+
limit: queryArg.limit,
|
|
173
|
+
continue: queryArg["continue"],
|
|
174
|
+
dry_run: queryArg.dryRun
|
|
175
|
+
}
|
|
176
|
+
}),
|
|
177
|
+
invalidatesTags: ["ServiceAccount"]
|
|
178
|
+
}),
|
|
144
179
|
bulkDeleteSpaces: build.mutation({
|
|
145
180
|
query: (queryArg) => ({
|
|
146
181
|
url: `/_space`,
|
|
@@ -1429,6 +1464,98 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
1429
1464
|
}),
|
|
1430
1465
|
providesTags: ["Revision"]
|
|
1431
1466
|
}),
|
|
1467
|
+
listServiceAccounts: build.query({
|
|
1468
|
+
query: (queryArg) => ({
|
|
1469
|
+
url: `/service_account`,
|
|
1470
|
+
params: {
|
|
1471
|
+
where: queryArg.where,
|
|
1472
|
+
filter: queryArg.filter,
|
|
1473
|
+
contains: queryArg.contains,
|
|
1474
|
+
include: queryArg.include,
|
|
1475
|
+
select: queryArg.select,
|
|
1476
|
+
include_hidden: queryArg.includeHidden,
|
|
1477
|
+
limit: queryArg.limit,
|
|
1478
|
+
order_by: queryArg.orderBy,
|
|
1479
|
+
continue: queryArg["continue"]
|
|
1480
|
+
}
|
|
1481
|
+
}),
|
|
1482
|
+
providesTags: ["ServiceAccount"]
|
|
1483
|
+
}),
|
|
1484
|
+
createServiceAccount: build.mutation({
|
|
1485
|
+
query: (queryArg) => ({
|
|
1486
|
+
url: `/service_account`,
|
|
1487
|
+
method: "POST",
|
|
1488
|
+
body: queryArg.serviceAccount,
|
|
1489
|
+
params: {
|
|
1490
|
+
allow_exists: queryArg.allowExists,
|
|
1491
|
+
dry_run: queryArg.dryRun
|
|
1492
|
+
}
|
|
1493
|
+
}),
|
|
1494
|
+
invalidatesTags: ["ServiceAccount"]
|
|
1495
|
+
}),
|
|
1496
|
+
deleteServiceAccount: build.mutation({
|
|
1497
|
+
query: (queryArg) => ({
|
|
1498
|
+
url: `/service_account/${queryArg.serviceAccountId}`,
|
|
1499
|
+
method: "DELETE"
|
|
1500
|
+
}),
|
|
1501
|
+
invalidatesTags: ["ServiceAccount"]
|
|
1502
|
+
}),
|
|
1503
|
+
getServiceAccount: build.query({
|
|
1504
|
+
query: (queryArg) => ({
|
|
1505
|
+
url: `/service_account/${queryArg.serviceAccountId}`,
|
|
1506
|
+
params: {
|
|
1507
|
+
include: queryArg.include,
|
|
1508
|
+
select: queryArg.select
|
|
1509
|
+
}
|
|
1510
|
+
}),
|
|
1511
|
+
providesTags: ["ServiceAccount"]
|
|
1512
|
+
}),
|
|
1513
|
+
patchServiceAccount: build.mutation({
|
|
1514
|
+
query: (queryArg) => ({
|
|
1515
|
+
url: `/service_account/${queryArg.serviceAccountId}`,
|
|
1516
|
+
method: "PATCH",
|
|
1517
|
+
body: queryArg.body,
|
|
1518
|
+
params: {
|
|
1519
|
+
dry_run: queryArg.dryRun
|
|
1520
|
+
}
|
|
1521
|
+
}),
|
|
1522
|
+
invalidatesTags: ["ServiceAccount"]
|
|
1523
|
+
}),
|
|
1524
|
+
updateServiceAccount: build.mutation({
|
|
1525
|
+
query: (queryArg) => ({
|
|
1526
|
+
url: `/service_account/${queryArg.serviceAccountId}`,
|
|
1527
|
+
method: "PUT",
|
|
1528
|
+
body: queryArg.serviceAccount,
|
|
1529
|
+
params: {
|
|
1530
|
+
dry_run: queryArg.dryRun
|
|
1531
|
+
}
|
|
1532
|
+
}),
|
|
1533
|
+
invalidatesTags: ["ServiceAccount"]
|
|
1534
|
+
}),
|
|
1535
|
+
listServiceAccountKeys: build.query({
|
|
1536
|
+
query: (queryArg) => ({
|
|
1537
|
+
url: `/service_account/${queryArg.serviceAccountId}/key`
|
|
1538
|
+
}),
|
|
1539
|
+
providesTags: ["ServiceAccount"]
|
|
1540
|
+
}),
|
|
1541
|
+
createServiceAccountKey: build.mutation({
|
|
1542
|
+
query: (queryArg) => ({
|
|
1543
|
+
url: `/service_account/${queryArg.serviceAccountId}/key`,
|
|
1544
|
+
method: "POST",
|
|
1545
|
+
body: queryArg.createUserKeyRequest,
|
|
1546
|
+
params: {
|
|
1547
|
+
dry_run: queryArg.dryRun
|
|
1548
|
+
}
|
|
1549
|
+
}),
|
|
1550
|
+
invalidatesTags: ["ServiceAccount"]
|
|
1551
|
+
}),
|
|
1552
|
+
deleteServiceAccountKey: build.mutation({
|
|
1553
|
+
query: (queryArg) => ({
|
|
1554
|
+
url: `/service_account/${queryArg.serviceAccountId}/key/${queryArg.kid}`,
|
|
1555
|
+
method: "DELETE"
|
|
1556
|
+
}),
|
|
1557
|
+
invalidatesTags: ["ServiceAccount"]
|
|
1558
|
+
}),
|
|
1432
1559
|
listSpaces: build.query({
|
|
1433
1560
|
query: (queryArg) => ({
|
|
1434
1561
|
url: `/space`,
|
|
@@ -3827,6 +3954,8 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
|
|
|
3827
3954
|
var {
|
|
3828
3955
|
useBulkDeleteComponentsMutation,
|
|
3829
3956
|
useBulkPatchComponentsMutation,
|
|
3957
|
+
useBulkDeleteServiceAccountsMutation,
|
|
3958
|
+
useBulkPatchServiceAccountsMutation,
|
|
3830
3959
|
useBulkDeleteSpacesMutation,
|
|
3831
3960
|
useBulkPatchSpacesMutation,
|
|
3832
3961
|
useBulkCreateSpacesMutation,
|
|
@@ -3943,6 +4072,18 @@ var {
|
|
|
3943
4072
|
useLazySearchRevisionDataQuery,
|
|
3944
4073
|
useSearchRevisionMutationSourcesQuery,
|
|
3945
4074
|
useLazySearchRevisionMutationSourcesQuery,
|
|
4075
|
+
useListServiceAccountsQuery,
|
|
4076
|
+
useLazyListServiceAccountsQuery,
|
|
4077
|
+
useCreateServiceAccountMutation,
|
|
4078
|
+
useDeleteServiceAccountMutation,
|
|
4079
|
+
useGetServiceAccountQuery,
|
|
4080
|
+
useLazyGetServiceAccountQuery,
|
|
4081
|
+
usePatchServiceAccountMutation,
|
|
4082
|
+
useUpdateServiceAccountMutation,
|
|
4083
|
+
useListServiceAccountKeysQuery,
|
|
4084
|
+
useLazyListServiceAccountKeysQuery,
|
|
4085
|
+
useCreateServiceAccountKeyMutation,
|
|
4086
|
+
useDeleteServiceAccountKeyMutation,
|
|
3946
4087
|
useListSpacesQuery,
|
|
3947
4088
|
useLazyListSpacesQuery,
|
|
3948
4089
|
useCreateSpaceMutation,
|
|
@@ -4232,6 +4373,7 @@ exports.useBulkDeleteFiltersMutation = useBulkDeleteFiltersMutation;
|
|
|
4232
4373
|
exports.useBulkDeleteInvocationsMutation = useBulkDeleteInvocationsMutation;
|
|
4233
4374
|
exports.useBulkDeleteLinksMutation = useBulkDeleteLinksMutation;
|
|
4234
4375
|
exports.useBulkDeleteReviewCommentsMutation = useBulkDeleteReviewCommentsMutation;
|
|
4376
|
+
exports.useBulkDeleteServiceAccountsMutation = useBulkDeleteServiceAccountsMutation;
|
|
4235
4377
|
exports.useBulkDeleteSpacesMutation = useBulkDeleteSpacesMutation;
|
|
4236
4378
|
exports.useBulkDeleteTagsMutation = useBulkDeleteTagsMutation;
|
|
4237
4379
|
exports.useBulkDeleteTargetsMutation = useBulkDeleteTargetsMutation;
|
|
@@ -4258,6 +4400,7 @@ exports.useBulkPatchFiltersMutation = useBulkPatchFiltersMutation;
|
|
|
4258
4400
|
exports.useBulkPatchInvocationsMutation = useBulkPatchInvocationsMutation;
|
|
4259
4401
|
exports.useBulkPatchLinksMutation = useBulkPatchLinksMutation;
|
|
4260
4402
|
exports.useBulkPatchReviewCommentsMutation = useBulkPatchReviewCommentsMutation;
|
|
4403
|
+
exports.useBulkPatchServiceAccountsMutation = useBulkPatchServiceAccountsMutation;
|
|
4261
4404
|
exports.useBulkPatchSpacesMutation = useBulkPatchSpacesMutation;
|
|
4262
4405
|
exports.useBulkPatchTagsMutation = useBulkPatchTagsMutation;
|
|
4263
4406
|
exports.useBulkPatchTargetsMutation = useBulkPatchTargetsMutation;
|
|
@@ -4280,6 +4423,8 @@ exports.useCreateOAuthClientMutation = useCreateOAuthClientMutation;
|
|
|
4280
4423
|
exports.useCreateOrganizationMemberMutation = useCreateOrganizationMemberMutation;
|
|
4281
4424
|
exports.useCreateOrganizationMutation = useCreateOrganizationMutation;
|
|
4282
4425
|
exports.useCreateReviewCommentMutation = useCreateReviewCommentMutation;
|
|
4426
|
+
exports.useCreateServiceAccountKeyMutation = useCreateServiceAccountKeyMutation;
|
|
4427
|
+
exports.useCreateServiceAccountMutation = useCreateServiceAccountMutation;
|
|
4283
4428
|
exports.useCreateSpaceMutation = useCreateSpaceMutation;
|
|
4284
4429
|
exports.useCreateTagMutation = useCreateTagMutation;
|
|
4285
4430
|
exports.useCreateTargetMutation = useCreateTargetMutation;
|
|
@@ -4301,6 +4446,8 @@ exports.useDeleteOrganizationMemberMutation = useDeleteOrganizationMemberMutatio
|
|
|
4301
4446
|
exports.useDeleteOrganizationMutation = useDeleteOrganizationMutation;
|
|
4302
4447
|
exports.useDeleteReleaseMutation = useDeleteReleaseMutation;
|
|
4303
4448
|
exports.useDeleteReviewCommentMutation = useDeleteReviewCommentMutation;
|
|
4449
|
+
exports.useDeleteServiceAccountKeyMutation = useDeleteServiceAccountKeyMutation;
|
|
4450
|
+
exports.useDeleteServiceAccountMutation = useDeleteServiceAccountMutation;
|
|
4304
4451
|
exports.useDeleteSpaceMutation = useDeleteSpaceMutation;
|
|
4305
4452
|
exports.useDeleteTagMutation = useDeleteTagMutation;
|
|
4306
4453
|
exports.useDeleteTargetMutation = useDeleteTargetMutation;
|
|
@@ -4342,6 +4489,7 @@ exports.useGetOrganizationQuery = useGetOrganizationQuery;
|
|
|
4342
4489
|
exports.useGetQueuedOperationQuery = useGetQueuedOperationQuery;
|
|
4343
4490
|
exports.useGetReviewCommentQuery = useGetReviewCommentQuery;
|
|
4344
4491
|
exports.useGetRevisionMutationSourcesQuery = useGetRevisionMutationSourcesQuery;
|
|
4492
|
+
exports.useGetServiceAccountQuery = useGetServiceAccountQuery;
|
|
4345
4493
|
exports.useGetSpaceDocumentQuery = useGetSpaceDocumentQuery;
|
|
4346
4494
|
exports.useGetSpaceQuery = useGetSpaceQuery;
|
|
4347
4495
|
exports.useGetTagQuery = useGetTagQuery;
|
|
@@ -4392,6 +4540,7 @@ exports.useLazyGetOrganizationQuery = useLazyGetOrganizationQuery;
|
|
|
4392
4540
|
exports.useLazyGetQueuedOperationQuery = useLazyGetQueuedOperationQuery;
|
|
4393
4541
|
exports.useLazyGetReviewCommentQuery = useLazyGetReviewCommentQuery;
|
|
4394
4542
|
exports.useLazyGetRevisionMutationSourcesQuery = useLazyGetRevisionMutationSourcesQuery;
|
|
4543
|
+
exports.useLazyGetServiceAccountQuery = useLazyGetServiceAccountQuery;
|
|
4395
4544
|
exports.useLazyGetSpaceDocumentQuery = useLazyGetSpaceDocumentQuery;
|
|
4396
4545
|
exports.useLazyGetSpaceQuery = useLazyGetSpaceQuery;
|
|
4397
4546
|
exports.useLazyGetTagQuery = useLazyGetTagQuery;
|
|
@@ -4450,6 +4599,8 @@ exports.useLazyListOrganizationMembersQuery = useLazyListOrganizationMembersQuer
|
|
|
4450
4599
|
exports.useLazyListOrganizationsQuery = useLazyListOrganizationsQuery;
|
|
4451
4600
|
exports.useLazyListQueuedOperationsQuery = useLazyListQueuedOperationsQuery;
|
|
4452
4601
|
exports.useLazyListReviewCommentsQuery = useLazyListReviewCommentsQuery;
|
|
4602
|
+
exports.useLazyListServiceAccountKeysQuery = useLazyListServiceAccountKeysQuery;
|
|
4603
|
+
exports.useLazyListServiceAccountsQuery = useLazyListServiceAccountsQuery;
|
|
4453
4604
|
exports.useLazyListSpacesQuery = useLazyListSpacesQuery;
|
|
4454
4605
|
exports.useLazyListTagsQuery = useLazyListTagsQuery;
|
|
4455
4606
|
exports.useLazyListTargetsQuery = useLazyListTargetsQuery;
|
|
@@ -4509,6 +4660,8 @@ exports.useListOrganizationMembersQuery = useListOrganizationMembersQuery;
|
|
|
4509
4660
|
exports.useListOrganizationsQuery = useListOrganizationsQuery;
|
|
4510
4661
|
exports.useListQueuedOperationsQuery = useListQueuedOperationsQuery;
|
|
4511
4662
|
exports.useListReviewCommentsQuery = useListReviewCommentsQuery;
|
|
4663
|
+
exports.useListServiceAccountKeysQuery = useListServiceAccountKeysQuery;
|
|
4664
|
+
exports.useListServiceAccountsQuery = useListServiceAccountsQuery;
|
|
4512
4665
|
exports.useListSpacesQuery = useListSpacesQuery;
|
|
4513
4666
|
exports.useListTagsQuery = useListTagsQuery;
|
|
4514
4667
|
exports.useListTargetsQuery = useListTargetsQuery;
|
|
@@ -4530,6 +4683,7 @@ exports.usePatchInvocationMutation = usePatchInvocationMutation;
|
|
|
4530
4683
|
exports.usePatchLinkMutation = usePatchLinkMutation;
|
|
4531
4684
|
exports.usePatchReleaseMutation = usePatchReleaseMutation;
|
|
4532
4685
|
exports.usePatchReviewCommentMutation = usePatchReviewCommentMutation;
|
|
4686
|
+
exports.usePatchServiceAccountMutation = usePatchServiceAccountMutation;
|
|
4533
4687
|
exports.usePatchSpaceMutation = usePatchSpaceMutation;
|
|
4534
4688
|
exports.usePatchTagMutation = usePatchTagMutation;
|
|
4535
4689
|
exports.usePatchTargetMutation = usePatchTargetMutation;
|
|
@@ -4566,6 +4720,7 @@ exports.useUpdateLinkMutation = useUpdateLinkMutation;
|
|
|
4566
4720
|
exports.useUpdateOrganizationMutation = useUpdateOrganizationMutation;
|
|
4567
4721
|
exports.useUpdateReleaseMutation = useUpdateReleaseMutation;
|
|
4568
4722
|
exports.useUpdateReviewCommentMutation = useUpdateReviewCommentMutation;
|
|
4723
|
+
exports.useUpdateServiceAccountMutation = useUpdateServiceAccountMutation;
|
|
4569
4724
|
exports.useUpdateSpaceDocumentMutation = useUpdateSpaceDocumentMutation;
|
|
4570
4725
|
exports.useUpdateSpaceMutation = useUpdateSpaceMutation;
|
|
4571
4726
|
exports.useUpdateTagMutation = useUpdateTagMutation;
|