@xemahq/org-database-pool-internal-api-client 0.2.0 → 0.3.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/LICENSE +2 -1
- package/dist/endpoints/admin-schema-access/admin-schema-access.d.ts +7 -7
- package/dist/endpoints/admin-schema-access/admin-schema-access.js +18 -18
- package/dist/endpoints/connections/connections.d.ts +2 -2
- package/dist/endpoints/connections/connections.js +3 -3
- package/dist/endpoints/internal/internal.d.ts +14 -0
- package/dist/endpoints/internal/internal.js +21 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/models/adminSchemaColumnDto.d.ts +1 -1
- package/dist/models/adminSchemaColumnDto.js +1 -1
- package/dist/models/adminSchemaLeaseResponseDto.d.ts +3 -3
- package/dist/models/adminSchemaLeaseResponseDtoAudience.d.ts +1 -1
- package/dist/models/adminSchemaLeaseResponseDtoAudience.js +1 -1
- package/dist/models/adminSchemaLeaseResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/adminSchemaLeaseResponseDtoOperationsItem.d.ts +1 -1
- package/dist/models/adminSchemaLeaseResponseDtoOperationsItem.js +1 -1
- package/dist/models/describeAdminSchemaTableDto.d.ts +2 -2
- package/dist/models/describeAdminSchemaTableDtoAudience.d.ts +1 -1
- package/dist/models/describeAdminSchemaTableDtoAudience.js +1 -1
- package/dist/models/describeAdminSchemaTableResponseDto.d.ts +2 -2
- package/dist/models/describeAdminSchemaTableResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/insertAdminSchemaRowsDto.d.ts +3 -3
- package/dist/models/insertAdminSchemaRowsDtoAudience.d.ts +1 -1
- package/dist/models/insertAdminSchemaRowsDtoAudience.js +1 -1
- package/dist/models/insertAdminSchemaRowsDtoRowsItem.d.ts +1 -1
- package/dist/models/insertAdminSchemaRowsDtoRowsItem.js +1 -1
- package/dist/models/insertAdminSchemaRowsResponseDto.d.ts +1 -1
- package/dist/models/insertAdminSchemaRowsResponseDto.js +1 -1
- package/dist/models/insertAdminSchemaRowsResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/internalBiomeCleanupRequestDto.d.ts +25 -0
- package/dist/models/internalBiomeCleanupRequestDto.js +9 -0
- package/dist/models/internalBiomeCleanupResponseDto.d.ts +15 -0
- package/dist/models/internalBiomeCleanupResponseDto.js +9 -0
- package/dist/models/internalBiomeCleanupResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/internalBiomeCleanupResponseDtoDataEnvelope.js +2 -0
- package/dist/models/issueAdminSchemaLeaseDto.d.ts +3 -3
- package/dist/models/issueAdminSchemaLeaseDtoAudience.d.ts +1 -1
- package/dist/models/issueAdminSchemaLeaseDtoAudience.js +1 -1
- package/dist/models/issueAdminSchemaLeaseDtoOperationsItem.d.ts +1 -1
- package/dist/models/issueAdminSchemaLeaseDtoOperationsItem.js +1 -1
- package/dist/models/mintConnectionDto.d.ts +1 -1
- package/dist/models/mintConnectionDto.js +1 -1
- package/dist/models/reconcileAdminSchemaRowsDto.d.ts +3 -3
- package/dist/models/reconcileAdminSchemaRowsDtoAudience.d.ts +1 -1
- package/dist/models/reconcileAdminSchemaRowsDtoAudience.js +1 -1
- package/dist/models/reconcileAdminSchemaRowsDtoRowsItem.d.ts +1 -1
- package/dist/models/reconcileAdminSchemaRowsDtoRowsItem.js +1 -1
- package/dist/models/reconcileAdminSchemaRowsResponseDto.d.ts +1 -1
- package/dist/models/reconcileAdminSchemaRowsResponseDto.js +1 -1
- package/dist/models/reconcileAdminSchemaRowsResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/revokeAdminSchemaLeaseDto.d.ts +2 -2
- package/dist/models/revokeAdminSchemaLeaseDtoAudience.d.ts +1 -1
- package/dist/models/revokeAdminSchemaLeaseDtoAudience.js +1 -1
- package/dist/models/revokeAdminSchemaLeaseResponseDto.d.ts +1 -1
- package/dist/models/revokeAdminSchemaLeaseResponseDto.js +1 -1
- package/dist/models/revokeAdminSchemaLeaseResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/scanAdminSchemaRowsDto.d.ts +2 -2
- package/dist/models/scanAdminSchemaRowsDtoAudience.d.ts +1 -1
- package/dist/models/scanAdminSchemaRowsDtoAudience.js +1 -1
- package/dist/models/scanAdminSchemaRowsResponseDto.d.ts +2 -2
- package/dist/models/scanAdminSchemaRowsResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/scanAdminSchemaRowsResponseDtoRowsItem.d.ts +1 -1
- package/dist/models/scanAdminSchemaRowsResponseDtoRowsItem.js +1 -1
- package/package.json +6 -1
package/LICENSE
CHANGED
|
@@ -9,7 +9,7 @@ Parameters
|
|
|
9
9
|
|
|
10
10
|
Licensor: Neuralchowder Inc.
|
|
11
11
|
|
|
12
|
-
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc
|
|
12
|
+
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc.
|
|
13
13
|
|
|
14
14
|
The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
|
|
15
15
|
Xema Kernel, Xema control plane, Xema application runtime, Xema biome
|
|
@@ -116,6 +116,7 @@ the interpretation of, the Additional Use Grant set out above.
|
|
|
116
116
|
and effect. The Licensor reserves all rights not expressly granted
|
|
117
117
|
by this License.
|
|
118
118
|
|
|
119
|
+
|
|
119
120
|
Change Date: Four years from the date the specific version of the Licensed
|
|
120
121
|
Work is first publicly released by Licensor.
|
|
121
122
|
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { AdminSchemaLeaseResponseDtoDataEnvelope, DescribeAdminSchemaTableDto, DescribeAdminSchemaTableResponseDtoDataEnvelope, InsertAdminSchemaRowsDto, InsertAdminSchemaRowsResponseDtoDataEnvelope, IssueAdminSchemaLeaseDto, ReconcileAdminSchemaRowsDto, ReconcileAdminSchemaRowsResponseDtoDataEnvelope, RevokeAdminSchemaLeaseDto, RevokeAdminSchemaLeaseResponseDtoDataEnvelope, ScanAdminSchemaRowsDto, ScanAdminSchemaRowsResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getAdminSchemaAccessControllerIssueLeaseUrl: () => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Issue a short-lived, caller-bound schema migration lease
|
|
11
12
|
*/
|
|
12
|
-
export declare const getAdminSchemaAccessControllerIssueLeaseUrl: () => string;
|
|
13
13
|
export declare const adminSchemaAccessControllerIssueLease: (issueAdminSchemaLeaseDto: IssueAdminSchemaLeaseDto, options?: RequestInit) => Promise<AdminSchemaLeaseResponseDtoDataEnvelope>;
|
|
14
|
+
export declare const getAdminSchemaAccessControllerDescribeTableUrl: (leaseId: string) => string;
|
|
14
15
|
/**
|
|
15
16
|
* @summary Describe one table through a bounded migration lease
|
|
16
17
|
*/
|
|
17
|
-
export declare const getAdminSchemaAccessControllerDescribeTableUrl: (leaseId: string) => string;
|
|
18
18
|
export declare const adminSchemaAccessControllerDescribeTable: (leaseId: string, describeAdminSchemaTableDto: DescribeAdminSchemaTableDto, options?: RequestInit) => Promise<DescribeAdminSchemaTableResponseDtoDataEnvelope>;
|
|
19
|
+
export declare const getAdminSchemaAccessControllerInsertRowsIfAbsentUrl: (leaseId: string) => string;
|
|
19
20
|
/**
|
|
20
21
|
* @summary Insert bounded rows idempotently through a migration lease
|
|
21
22
|
*/
|
|
22
|
-
export declare const getAdminSchemaAccessControllerInsertRowsIfAbsentUrl: (leaseId: string) => string;
|
|
23
23
|
export declare const adminSchemaAccessControllerInsertRowsIfAbsent: (leaseId: string, insertAdminSchemaRowsDto: InsertAdminSchemaRowsDto, options?: RequestInit) => Promise<InsertAdminSchemaRowsResponseDtoDataEnvelope>;
|
|
24
|
+
export declare const getAdminSchemaAccessControllerReconcileRowsByVersionUrl: (leaseId: string) => string;
|
|
24
25
|
/**
|
|
25
26
|
* @summary Insert missing rows and replace non-newer rows through a migration lease
|
|
26
27
|
*/
|
|
27
|
-
export declare const getAdminSchemaAccessControllerReconcileRowsByVersionUrl: (leaseId: string) => string;
|
|
28
28
|
export declare const adminSchemaAccessControllerReconcileRowsByVersion: (leaseId: string, reconcileAdminSchemaRowsDto: ReconcileAdminSchemaRowsDto, options?: RequestInit) => Promise<ReconcileAdminSchemaRowsResponseDtoDataEnvelope>;
|
|
29
|
+
export declare const getAdminSchemaAccessControllerScanRowsUrl: (leaseId: string) => string;
|
|
29
30
|
/**
|
|
30
31
|
* @summary Read a bounded keyset page through a migration lease
|
|
31
32
|
*/
|
|
32
|
-
export declare const getAdminSchemaAccessControllerScanRowsUrl: (leaseId: string) => string;
|
|
33
33
|
export declare const adminSchemaAccessControllerScanRows: (leaseId: string, scanAdminSchemaRowsDto: ScanAdminSchemaRowsDto, options?: RequestInit) => Promise<ScanAdminSchemaRowsResponseDtoDataEnvelope>;
|
|
34
|
+
export declare const getAdminSchemaAccessControllerRevokeLeaseUrl: (leaseId: string) => string;
|
|
34
35
|
/**
|
|
35
36
|
* @summary Revoke a migration lease immediately
|
|
36
37
|
*/
|
|
37
|
-
export declare const getAdminSchemaAccessControllerRevokeLeaseUrl: (leaseId: string) => string;
|
|
38
38
|
export declare const adminSchemaAccessControllerRevokeLease: (leaseId: string, revokeAdminSchemaLeaseDto: RevokeAdminSchemaLeaseDto, options?: RequestInit) => Promise<RevokeAdminSchemaLeaseResponseDtoDataEnvelope>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.adminSchemaAccessControllerRevokeLease = exports.getAdminSchemaAccessControllerRevokeLeaseUrl = exports.adminSchemaAccessControllerScanRows = exports.getAdminSchemaAccessControllerScanRowsUrl = exports.adminSchemaAccessControllerReconcileRowsByVersion = exports.getAdminSchemaAccessControllerReconcileRowsByVersionUrl = exports.adminSchemaAccessControllerInsertRowsIfAbsent = exports.getAdminSchemaAccessControllerInsertRowsIfAbsentUrl = exports.adminSchemaAccessControllerDescribeTable = exports.getAdminSchemaAccessControllerDescribeTableUrl = exports.adminSchemaAccessControllerIssueLease = exports.getAdminSchemaAccessControllerIssueLeaseUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* @summary Issue a short-lived, caller-bound schema migration lease
|
|
7
|
-
*/
|
|
8
5
|
const getAdminSchemaAccessControllerIssueLeaseUrl = () => {
|
|
9
6
|
return `/internal/admin-schema-access/leases`;
|
|
10
7
|
};
|
|
11
8
|
exports.getAdminSchemaAccessControllerIssueLeaseUrl = getAdminSchemaAccessControllerIssueLeaseUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Issue a short-lived, caller-bound schema migration lease
|
|
11
|
+
*/
|
|
12
12
|
const adminSchemaAccessControllerIssueLease = async (issueAdminSchemaLeaseDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getAdminSchemaAccessControllerIssueLeaseUrl)(), {
|
|
14
14
|
...options,
|
|
@@ -18,13 +18,13 @@ const adminSchemaAccessControllerIssueLease = async (issueAdminSchemaLeaseDto, o
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.adminSchemaAccessControllerIssueLease = adminSchemaAccessControllerIssueLease;
|
|
21
|
-
/**
|
|
22
|
-
* @summary Describe one table through a bounded migration lease
|
|
23
|
-
*/
|
|
24
21
|
const getAdminSchemaAccessControllerDescribeTableUrl = (leaseId) => {
|
|
25
22
|
return `/internal/admin-schema-access/leases/${leaseId}/describe-table`;
|
|
26
23
|
};
|
|
27
24
|
exports.getAdminSchemaAccessControllerDescribeTableUrl = getAdminSchemaAccessControllerDescribeTableUrl;
|
|
25
|
+
/**
|
|
26
|
+
* @summary Describe one table through a bounded migration lease
|
|
27
|
+
*/
|
|
28
28
|
const adminSchemaAccessControllerDescribeTable = async (leaseId, describeAdminSchemaTableDto, options) => {
|
|
29
29
|
return (0, custom_fetch_1.customFetch)((0, exports.getAdminSchemaAccessControllerDescribeTableUrl)(leaseId), {
|
|
30
30
|
...options,
|
|
@@ -34,13 +34,13 @@ const adminSchemaAccessControllerDescribeTable = async (leaseId, describeAdminSc
|
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
exports.adminSchemaAccessControllerDescribeTable = adminSchemaAccessControllerDescribeTable;
|
|
37
|
-
/**
|
|
38
|
-
* @summary Insert bounded rows idempotently through a migration lease
|
|
39
|
-
*/
|
|
40
37
|
const getAdminSchemaAccessControllerInsertRowsIfAbsentUrl = (leaseId) => {
|
|
41
38
|
return `/internal/admin-schema-access/leases/${leaseId}/insert-rows-if-absent`;
|
|
42
39
|
};
|
|
43
40
|
exports.getAdminSchemaAccessControllerInsertRowsIfAbsentUrl = getAdminSchemaAccessControllerInsertRowsIfAbsentUrl;
|
|
41
|
+
/**
|
|
42
|
+
* @summary Insert bounded rows idempotently through a migration lease
|
|
43
|
+
*/
|
|
44
44
|
const adminSchemaAccessControllerInsertRowsIfAbsent = async (leaseId, insertAdminSchemaRowsDto, options) => {
|
|
45
45
|
return (0, custom_fetch_1.customFetch)((0, exports.getAdminSchemaAccessControllerInsertRowsIfAbsentUrl)(leaseId), {
|
|
46
46
|
...options,
|
|
@@ -50,13 +50,13 @@ const adminSchemaAccessControllerInsertRowsIfAbsent = async (leaseId, insertAdmi
|
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
52
|
exports.adminSchemaAccessControllerInsertRowsIfAbsent = adminSchemaAccessControllerInsertRowsIfAbsent;
|
|
53
|
-
/**
|
|
54
|
-
* @summary Insert missing rows and replace non-newer rows through a migration lease
|
|
55
|
-
*/
|
|
56
53
|
const getAdminSchemaAccessControllerReconcileRowsByVersionUrl = (leaseId) => {
|
|
57
54
|
return `/internal/admin-schema-access/leases/${leaseId}/reconcile-rows-by-version`;
|
|
58
55
|
};
|
|
59
56
|
exports.getAdminSchemaAccessControllerReconcileRowsByVersionUrl = getAdminSchemaAccessControllerReconcileRowsByVersionUrl;
|
|
57
|
+
/**
|
|
58
|
+
* @summary Insert missing rows and replace non-newer rows through a migration lease
|
|
59
|
+
*/
|
|
60
60
|
const adminSchemaAccessControllerReconcileRowsByVersion = async (leaseId, reconcileAdminSchemaRowsDto, options) => {
|
|
61
61
|
return (0, custom_fetch_1.customFetch)((0, exports.getAdminSchemaAccessControllerReconcileRowsByVersionUrl)(leaseId), {
|
|
62
62
|
...options,
|
|
@@ -66,13 +66,13 @@ const adminSchemaAccessControllerReconcileRowsByVersion = async (leaseId, reconc
|
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
68
|
exports.adminSchemaAccessControllerReconcileRowsByVersion = adminSchemaAccessControllerReconcileRowsByVersion;
|
|
69
|
-
/**
|
|
70
|
-
* @summary Read a bounded keyset page through a migration lease
|
|
71
|
-
*/
|
|
72
69
|
const getAdminSchemaAccessControllerScanRowsUrl = (leaseId) => {
|
|
73
70
|
return `/internal/admin-schema-access/leases/${leaseId}/scan-rows`;
|
|
74
71
|
};
|
|
75
72
|
exports.getAdminSchemaAccessControllerScanRowsUrl = getAdminSchemaAccessControllerScanRowsUrl;
|
|
73
|
+
/**
|
|
74
|
+
* @summary Read a bounded keyset page through a migration lease
|
|
75
|
+
*/
|
|
76
76
|
const adminSchemaAccessControllerScanRows = async (leaseId, scanAdminSchemaRowsDto, options) => {
|
|
77
77
|
return (0, custom_fetch_1.customFetch)((0, exports.getAdminSchemaAccessControllerScanRowsUrl)(leaseId), {
|
|
78
78
|
...options,
|
|
@@ -82,13 +82,13 @@ const adminSchemaAccessControllerScanRows = async (leaseId, scanAdminSchemaRowsD
|
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
84
|
exports.adminSchemaAccessControllerScanRows = adminSchemaAccessControllerScanRows;
|
|
85
|
-
/**
|
|
86
|
-
* @summary Revoke a migration lease immediately
|
|
87
|
-
*/
|
|
88
85
|
const getAdminSchemaAccessControllerRevokeLeaseUrl = (leaseId) => {
|
|
89
86
|
return `/internal/admin-schema-access/leases/${leaseId}/revoke`;
|
|
90
87
|
};
|
|
91
88
|
exports.getAdminSchemaAccessControllerRevokeLeaseUrl = getAdminSchemaAccessControllerRevokeLeaseUrl;
|
|
89
|
+
/**
|
|
90
|
+
* @summary Revoke a migration lease immediately
|
|
91
|
+
*/
|
|
92
92
|
const adminSchemaAccessControllerRevokeLease = async (leaseId, revokeAdminSchemaLeaseDto, options) => {
|
|
93
93
|
return (0, custom_fetch_1.customFetch)((0, exports.getAdminSchemaAccessControllerRevokeLeaseUrl)(leaseId), {
|
|
94
94
|
...options,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { MintConnectionDto } from '../../models';
|
|
9
|
+
export declare const getConnectionControllerMintUrl: () => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Mint a short-lived connection grant for an org database
|
|
11
12
|
*/
|
|
12
|
-
export declare const getConnectionControllerMintUrl: () => string;
|
|
13
13
|
export declare const connectionControllerMint: (mintConnectionDto: MintConnectionDto, options?: RequestInit) => Promise<void>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.connectionControllerMint = exports.getConnectionControllerMintUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* @summary Mint a short-lived connection grant for an org database
|
|
7
|
-
*/
|
|
8
5
|
const getConnectionControllerMintUrl = () => {
|
|
9
6
|
return `/connections/mint`;
|
|
10
7
|
};
|
|
11
8
|
exports.getConnectionControllerMintUrl = getConnectionControllerMintUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Mint a short-lived connection grant for an org database
|
|
11
|
+
*/
|
|
12
12
|
const connectionControllerMint = async (mintConnectionDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getConnectionControllerMintUrl)(), {
|
|
14
14
|
...options,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Org Database Pool API
|
|
5
|
+
* Org Database Pool API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { InternalBiomeCleanupRequestDto, InternalBiomeCleanupResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getInternalBiomeCleanupControllerInstallationDeletedUrl: () => string;
|
|
10
|
+
/**
|
|
11
|
+
* Service-to-service endpoint fired by the uninstallBiomeCascadeWorkflow when a BiomeInstallation is hard-deleted. Renames the biome's schema out of the resolvable path and records it with a drop deadline; the data is kept for the deployment's retention window, and re-installing inside that window restores it. Idempotent — a retried cascade call reports the existing retirement rather than retiring twice.
|
|
12
|
+
* @summary Retire an uninstalled biome's shared-cluster schema
|
|
13
|
+
*/
|
|
14
|
+
export declare const internalBiomeCleanupControllerInstallationDeleted: (internalBiomeCleanupRequestDto: InternalBiomeCleanupRequestDto, options?: RequestInit) => Promise<InternalBiomeCleanupResponseDtoDataEnvelope>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.internalBiomeCleanupControllerInstallationDeleted = exports.getInternalBiomeCleanupControllerInstallationDeletedUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getInternalBiomeCleanupControllerInstallationDeletedUrl = () => {
|
|
6
|
+
return `/internal/biome-cleanup/installation-deleted`;
|
|
7
|
+
};
|
|
8
|
+
exports.getInternalBiomeCleanupControllerInstallationDeletedUrl = getInternalBiomeCleanupControllerInstallationDeletedUrl;
|
|
9
|
+
/**
|
|
10
|
+
* Service-to-service endpoint fired by the uninstallBiomeCascadeWorkflow when a BiomeInstallation is hard-deleted. Renames the biome's schema out of the resolvable path and records it with a drop deadline; the data is kept for the deployment's retention window, and re-installing inside that window restores it. Idempotent — a retried cascade call reports the existing retirement rather than retiring twice.
|
|
11
|
+
* @summary Retire an uninstalled biome's shared-cluster schema
|
|
12
|
+
*/
|
|
13
|
+
const internalBiomeCleanupControllerInstallationDeleted = async (internalBiomeCleanupRequestDto, options) => {
|
|
14
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getInternalBiomeCleanupControllerInstallationDeletedUrl)(), {
|
|
15
|
+
...options,
|
|
16
|
+
method: 'POST',
|
|
17
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
18
|
+
body: JSON.stringify(internalBiomeCleanupRequestDto)
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
exports.internalBiomeCleanupControllerInstallationDeleted = internalBiomeCleanupControllerInstallationDeleted;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export { configureClient, getClientConfig, ClientError, customFetch, type Client
|
|
|
2
2
|
export * from './models';
|
|
3
3
|
export * from './endpoints/admin-schema-access/admin-schema-access';
|
|
4
4
|
export * from './endpoints/connections/connections';
|
|
5
|
+
export * from './endpoints/internal/internal';
|
package/dist/index.js
CHANGED
|
@@ -24,3 +24,4 @@ Object.defineProperty(exports, "customFetch", { enumerable: true, get: function
|
|
|
24
24
|
__exportStar(require("./models"), exports);
|
|
25
25
|
__exportStar(require("./endpoints/admin-schema-access/admin-schema-access"), exports);
|
|
26
26
|
__exportStar(require("./endpoints/connections/connections"), exports);
|
|
27
|
+
__exportStar(require("./endpoints/internal/internal"), exports);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { AdminSchemaLeaseResponseDtoAudience } from './adminSchemaLeaseResponseDtoAudience';
|
|
9
|
-
import type { AdminSchemaLeaseResponseDtoOperationsItem } from './adminSchemaLeaseResponseDtoOperationsItem';
|
|
8
|
+
import type { AdminSchemaLeaseResponseDtoAudience } from './adminSchemaLeaseResponseDtoAudience.js';
|
|
9
|
+
import type { AdminSchemaLeaseResponseDtoOperationsItem } from './adminSchemaLeaseResponseDtoOperationsItem.js';
|
|
10
10
|
export interface AdminSchemaLeaseResponseDto {
|
|
11
11
|
leaseId: string;
|
|
12
12
|
orgId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { AdminSchemaLeaseResponseDto } from './adminSchemaLeaseResponseDto';
|
|
8
|
+
import type { AdminSchemaLeaseResponseDto } from './adminSchemaLeaseResponseDto.js';
|
|
9
9
|
export interface AdminSchemaLeaseResponseDtoDataEnvelope {
|
|
10
10
|
data: AdminSchemaLeaseResponseDto;
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { DescribeAdminSchemaTableDtoAudience } from './describeAdminSchemaTableDtoAudience';
|
|
8
|
+
import type { DescribeAdminSchemaTableDtoAudience } from './describeAdminSchemaTableDtoAudience.js';
|
|
9
9
|
export interface DescribeAdminSchemaTableDto {
|
|
10
10
|
orgId: string;
|
|
11
11
|
schemaId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { AdminSchemaColumnDto } from './adminSchemaColumnDto';
|
|
8
|
+
import type { AdminSchemaColumnDto } from './adminSchemaColumnDto.js';
|
|
9
9
|
export interface DescribeAdminSchemaTableResponseDto {
|
|
10
10
|
table: string;
|
|
11
11
|
columns: AdminSchemaColumnDto[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { DescribeAdminSchemaTableResponseDto } from './describeAdminSchemaTableResponseDto';
|
|
8
|
+
import type { DescribeAdminSchemaTableResponseDto } from './describeAdminSchemaTableResponseDto.js';
|
|
9
9
|
export interface DescribeAdminSchemaTableResponseDtoDataEnvelope {
|
|
10
10
|
data: DescribeAdminSchemaTableResponseDto;
|
|
11
11
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -12,6 +12,9 @@ export * from './insertAdminSchemaRowsDtoAudience';
|
|
|
12
12
|
export * from './insertAdminSchemaRowsDtoRowsItem';
|
|
13
13
|
export * from './insertAdminSchemaRowsResponseDto';
|
|
14
14
|
export * from './insertAdminSchemaRowsResponseDtoDataEnvelope';
|
|
15
|
+
export * from './internalBiomeCleanupRequestDto';
|
|
16
|
+
export * from './internalBiomeCleanupResponseDto';
|
|
17
|
+
export * from './internalBiomeCleanupResponseDtoDataEnvelope';
|
|
15
18
|
export * from './issueAdminSchemaLeaseDto';
|
|
16
19
|
export * from './issueAdminSchemaLeaseDtoAudience';
|
|
17
20
|
export * from './issueAdminSchemaLeaseDtoOperationsItem';
|
package/dist/models/index.js
CHANGED
|
@@ -29,6 +29,9 @@ __exportStar(require("./insertAdminSchemaRowsDtoAudience"), exports);
|
|
|
29
29
|
__exportStar(require("./insertAdminSchemaRowsDtoRowsItem"), exports);
|
|
30
30
|
__exportStar(require("./insertAdminSchemaRowsResponseDto"), exports);
|
|
31
31
|
__exportStar(require("./insertAdminSchemaRowsResponseDtoDataEnvelope"), exports);
|
|
32
|
+
__exportStar(require("./internalBiomeCleanupRequestDto"), exports);
|
|
33
|
+
__exportStar(require("./internalBiomeCleanupResponseDto"), exports);
|
|
34
|
+
__exportStar(require("./internalBiomeCleanupResponseDtoDataEnvelope"), exports);
|
|
32
35
|
__exportStar(require("./issueAdminSchemaLeaseDto"), exports);
|
|
33
36
|
__exportStar(require("./issueAdminSchemaLeaseDtoAudience"), exports);
|
|
34
37
|
__exportStar(require("./issueAdminSchemaLeaseDtoOperationsItem"), exports);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { InsertAdminSchemaRowsDtoAudience } from './insertAdminSchemaRowsDtoAudience';
|
|
9
|
-
import type { InsertAdminSchemaRowsDtoRowsItem } from './insertAdminSchemaRowsDtoRowsItem';
|
|
8
|
+
import type { InsertAdminSchemaRowsDtoAudience } from './insertAdminSchemaRowsDtoAudience.js';
|
|
9
|
+
import type { InsertAdminSchemaRowsDtoRowsItem } from './insertAdminSchemaRowsDtoRowsItem.js';
|
|
10
10
|
export interface InsertAdminSchemaRowsDto {
|
|
11
11
|
orgId: string;
|
|
12
12
|
schemaId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { InsertAdminSchemaRowsResponseDto } from './insertAdminSchemaRowsResponseDto';
|
|
8
|
+
import type { InsertAdminSchemaRowsResponseDto } from './insertAdminSchemaRowsResponseDto.js';
|
|
9
9
|
export interface InsertAdminSchemaRowsResponseDtoDataEnvelope {
|
|
10
10
|
data: InsertAdminSchemaRowsResponseDto;
|
|
11
11
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Org Database Pool API
|
|
5
|
+
* Org Database Pool API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface InternalBiomeCleanupRequestDto {
|
|
9
|
+
/** Owning org id. */
|
|
10
|
+
orgId: string;
|
|
11
|
+
/** Owning project id. */
|
|
12
|
+
projectId: string;
|
|
13
|
+
/** Biome id of the uninstalled installation. */
|
|
14
|
+
biomeId: string;
|
|
15
|
+
/** Installation id of the deleted row. */
|
|
16
|
+
installationId: string;
|
|
17
|
+
/** Biome version that was installed. */
|
|
18
|
+
version: string;
|
|
19
|
+
/** Whether a sidecar / HttpApi workload was associated with the installation. */
|
|
20
|
+
hadWorkload: boolean;
|
|
21
|
+
/** Actor who triggered the uninstall. */
|
|
22
|
+
actorId: string;
|
|
23
|
+
/** Correlation id stamped on every downstream cleanup call. */
|
|
24
|
+
correlationId: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Org Database Pool API
|
|
6
|
+
* Org Database Pool API extract (generated for client codegen).
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Org Database Pool API
|
|
5
|
+
* Org Database Pool API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface InternalBiomeCleanupResponseDto {
|
|
9
|
+
/** The derived schema name that was retired. */
|
|
10
|
+
schemaName: string;
|
|
11
|
+
/** Where the schema now lives. Nothing resolves this name; the reaper drops it once the retention window elapses. */
|
|
12
|
+
retiredSchemaName: string;
|
|
13
|
+
/** True when the schema was already retired — a retried cascade call, not a second retirement. */
|
|
14
|
+
alreadyRetired: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Org Database Pool API
|
|
6
|
+
* Org Database Pool API extract (generated for client codegen).
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Org Database Pool API
|
|
5
|
+
* Org Database Pool API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { InternalBiomeCleanupResponseDto } from './internalBiomeCleanupResponseDto.js';
|
|
9
|
+
export interface InternalBiomeCleanupResponseDtoDataEnvelope {
|
|
10
|
+
data: InternalBiomeCleanupResponseDto;
|
|
11
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { IssueAdminSchemaLeaseDtoAudience } from './issueAdminSchemaLeaseDtoAudience';
|
|
9
|
-
import type { IssueAdminSchemaLeaseDtoOperationsItem } from './issueAdminSchemaLeaseDtoOperationsItem';
|
|
8
|
+
import type { IssueAdminSchemaLeaseDtoAudience } from './issueAdminSchemaLeaseDtoAudience.js';
|
|
9
|
+
import type { IssueAdminSchemaLeaseDtoOperationsItem } from './issueAdminSchemaLeaseDtoOperationsItem.js';
|
|
10
10
|
export interface IssueAdminSchemaLeaseDto {
|
|
11
11
|
orgId: string;
|
|
12
12
|
/** Registered OrgSchema id. Schema names are never caller-authoritative. */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { ReconcileAdminSchemaRowsDtoAudience } from './reconcileAdminSchemaRowsDtoAudience';
|
|
9
|
-
import type { ReconcileAdminSchemaRowsDtoRowsItem } from './reconcileAdminSchemaRowsDtoRowsItem';
|
|
8
|
+
import type { ReconcileAdminSchemaRowsDtoAudience } from './reconcileAdminSchemaRowsDtoAudience.js';
|
|
9
|
+
import type { ReconcileAdminSchemaRowsDtoRowsItem } from './reconcileAdminSchemaRowsDtoRowsItem.js';
|
|
10
10
|
export interface ReconcileAdminSchemaRowsDto {
|
|
11
11
|
orgId: string;
|
|
12
12
|
schemaId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { ReconcileAdminSchemaRowsResponseDto } from './reconcileAdminSchemaRowsResponseDto';
|
|
8
|
+
import type { ReconcileAdminSchemaRowsResponseDto } from './reconcileAdminSchemaRowsResponseDto.js';
|
|
9
9
|
export interface ReconcileAdminSchemaRowsResponseDtoDataEnvelope {
|
|
10
10
|
data: ReconcileAdminSchemaRowsResponseDto;
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { RevokeAdminSchemaLeaseDtoAudience } from './revokeAdminSchemaLeaseDtoAudience';
|
|
8
|
+
import type { RevokeAdminSchemaLeaseDtoAudience } from './revokeAdminSchemaLeaseDtoAudience.js';
|
|
9
9
|
export interface RevokeAdminSchemaLeaseDto {
|
|
10
10
|
orgId: string;
|
|
11
11
|
schemaId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { RevokeAdminSchemaLeaseResponseDto } from './revokeAdminSchemaLeaseResponseDto';
|
|
8
|
+
import type { RevokeAdminSchemaLeaseResponseDto } from './revokeAdminSchemaLeaseResponseDto.js';
|
|
9
9
|
export interface RevokeAdminSchemaLeaseResponseDtoDataEnvelope {
|
|
10
10
|
data: RevokeAdminSchemaLeaseResponseDto;
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { ScanAdminSchemaRowsDtoAudience } from './scanAdminSchemaRowsDtoAudience';
|
|
8
|
+
import type { ScanAdminSchemaRowsDtoAudience } from './scanAdminSchemaRowsDtoAudience.js';
|
|
9
9
|
export interface ScanAdminSchemaRowsDto {
|
|
10
10
|
orgId: string;
|
|
11
11
|
schemaId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { ScanAdminSchemaRowsResponseDtoRowsItem } from './scanAdminSchemaRowsResponseDtoRowsItem';
|
|
8
|
+
import type { ScanAdminSchemaRowsResponseDtoRowsItem } from './scanAdminSchemaRowsResponseDtoRowsItem.js';
|
|
9
9
|
export interface ScanAdminSchemaRowsResponseDto {
|
|
10
10
|
rows: ScanAdminSchemaRowsResponseDtoRowsItem[];
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Org Database Pool API
|
|
5
5
|
* Org Database Pool API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { ScanAdminSchemaRowsResponseDto } from './scanAdminSchemaRowsResponseDto';
|
|
8
|
+
import type { ScanAdminSchemaRowsResponseDto } from './scanAdminSchemaRowsResponseDto.js';
|
|
9
9
|
export interface ScanAdminSchemaRowsResponseDtoDataEnvelope {
|
|
10
10
|
data: ScanAdminSchemaRowsResponseDto;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/org-database-pool-internal-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/xema-dev/xema-base.git",
|
|
7
|
+
"directory": "packages/clients/org-database-pool-internal-api"
|
|
8
|
+
},
|
|
4
9
|
"main": "./dist/index.js",
|
|
5
10
|
"types": "./dist/index.d.ts",
|
|
6
11
|
"files": [
|