@xemahq/org-database-pool-internal-api-client 0.1.0 → 0.2.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 +174 -1
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +1 -1
- package/dist/custom-fetch.js +1 -1
- package/dist/endpoints/admin-schema-access/admin-schema-access.d.ts +38 -0
- package/dist/endpoints/admin-schema-access/admin-schema-access.js +100 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/models/adminSchemaColumnDto.d.ts +12 -0
- package/dist/models/adminSchemaColumnDto.js +9 -0
- package/dist/models/adminSchemaLeaseResponseDto.d.ts +18 -0
- package/dist/models/adminSchemaLeaseResponseDto.js +2 -0
- package/dist/models/adminSchemaLeaseResponseDtoAudience.d.ts +11 -0
- package/dist/models/adminSchemaLeaseResponseDtoAudience.js +13 -0
- package/dist/models/adminSchemaLeaseResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/adminSchemaLeaseResponseDtoDataEnvelope.js +2 -0
- package/dist/models/adminSchemaLeaseResponseDtoOperationsItem.d.ts +14 -0
- package/dist/models/adminSchemaLeaseResponseDtoOperationsItem.js +16 -0
- package/dist/models/describeAdminSchemaTableDto.d.ts +16 -0
- package/dist/models/describeAdminSchemaTableDto.js +2 -0
- package/dist/models/describeAdminSchemaTableDtoAudience.d.ts +11 -0
- package/dist/models/describeAdminSchemaTableDtoAudience.js +13 -0
- package/dist/models/describeAdminSchemaTableResponseDto.d.ts +12 -0
- package/dist/models/describeAdminSchemaTableResponseDto.js +2 -0
- package/dist/models/describeAdminSchemaTableResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/describeAdminSchemaTableResponseDtoDataEnvelope.js +2 -0
- package/dist/models/index.d.ts +31 -0
- package/dist/models/index.js +31 -0
- package/dist/models/insertAdminSchemaRowsDto.d.ts +22 -0
- package/dist/models/insertAdminSchemaRowsDto.js +2 -0
- package/dist/models/insertAdminSchemaRowsDtoAudience.d.ts +11 -0
- package/dist/models/insertAdminSchemaRowsDtoAudience.js +13 -0
- package/dist/models/insertAdminSchemaRowsDtoRowsItem.d.ts +10 -0
- package/dist/models/insertAdminSchemaRowsDtoRowsItem.js +9 -0
- package/dist/models/insertAdminSchemaRowsResponseDto.d.ts +10 -0
- package/dist/models/insertAdminSchemaRowsResponseDto.js +9 -0
- package/dist/models/insertAdminSchemaRowsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/insertAdminSchemaRowsResponseDtoDataEnvelope.js +2 -0
- package/dist/models/issueAdminSchemaLeaseDto.d.ts +23 -0
- package/dist/models/issueAdminSchemaLeaseDto.js +2 -0
- package/dist/models/issueAdminSchemaLeaseDtoAudience.d.ts +11 -0
- package/dist/models/issueAdminSchemaLeaseDtoAudience.js +13 -0
- package/dist/models/issueAdminSchemaLeaseDtoOperationsItem.d.ts +14 -0
- package/dist/models/issueAdminSchemaLeaseDtoOperationsItem.js +16 -0
- package/dist/models/mintConnectionDto.d.ts +10 -1
- package/dist/models/reconcileAdminSchemaRowsDto.d.ts +22 -0
- package/dist/models/reconcileAdminSchemaRowsDto.js +2 -0
- package/dist/models/reconcileAdminSchemaRowsDtoAudience.d.ts +11 -0
- package/dist/models/reconcileAdminSchemaRowsDtoAudience.js +13 -0
- package/dist/models/reconcileAdminSchemaRowsDtoRowsItem.d.ts +10 -0
- package/dist/models/reconcileAdminSchemaRowsDtoRowsItem.js +9 -0
- package/dist/models/reconcileAdminSchemaRowsResponseDto.d.ts +11 -0
- package/dist/models/reconcileAdminSchemaRowsResponseDto.js +9 -0
- package/dist/models/reconcileAdminSchemaRowsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/reconcileAdminSchemaRowsResponseDtoDataEnvelope.js +2 -0
- package/dist/models/revokeAdminSchemaLeaseDto.d.ts +15 -0
- package/dist/models/revokeAdminSchemaLeaseDto.js +2 -0
- package/dist/models/revokeAdminSchemaLeaseDtoAudience.d.ts +11 -0
- package/dist/models/revokeAdminSchemaLeaseDtoAudience.js +13 -0
- package/dist/models/revokeAdminSchemaLeaseResponseDto.d.ts +10 -0
- package/dist/models/revokeAdminSchemaLeaseResponseDto.js +9 -0
- package/dist/models/revokeAdminSchemaLeaseResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/revokeAdminSchemaLeaseResponseDtoDataEnvelope.js +2 -0
- package/dist/models/scanAdminSchemaRowsDto.d.ts +25 -0
- package/dist/models/scanAdminSchemaRowsDto.js +2 -0
- package/dist/models/scanAdminSchemaRowsDtoAudience.d.ts +11 -0
- package/dist/models/scanAdminSchemaRowsDtoAudience.js +13 -0
- package/dist/models/scanAdminSchemaRowsResponseDto.d.ts +11 -0
- package/dist/models/scanAdminSchemaRowsResponseDto.js +2 -0
- package/dist/models/scanAdminSchemaRowsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/scanAdminSchemaRowsResponseDtoDataEnvelope.js +2 -0
- package/dist/models/scanAdminSchemaRowsResponseDtoRowsItem.d.ts +10 -0
- package/dist/models/scanAdminSchemaRowsResponseDtoRowsItem.js +9 -0
- package/package.json +5 -3
package/dist/models/index.d.ts
CHANGED
|
@@ -1 +1,32 @@
|
|
|
1
|
+
export * from './adminSchemaColumnDto';
|
|
2
|
+
export * from './adminSchemaLeaseResponseDto';
|
|
3
|
+
export * from './adminSchemaLeaseResponseDtoAudience';
|
|
4
|
+
export * from './adminSchemaLeaseResponseDtoDataEnvelope';
|
|
5
|
+
export * from './adminSchemaLeaseResponseDtoOperationsItem';
|
|
6
|
+
export * from './describeAdminSchemaTableDto';
|
|
7
|
+
export * from './describeAdminSchemaTableDtoAudience';
|
|
8
|
+
export * from './describeAdminSchemaTableResponseDto';
|
|
9
|
+
export * from './describeAdminSchemaTableResponseDtoDataEnvelope';
|
|
10
|
+
export * from './insertAdminSchemaRowsDto';
|
|
11
|
+
export * from './insertAdminSchemaRowsDtoAudience';
|
|
12
|
+
export * from './insertAdminSchemaRowsDtoRowsItem';
|
|
13
|
+
export * from './insertAdminSchemaRowsResponseDto';
|
|
14
|
+
export * from './insertAdminSchemaRowsResponseDtoDataEnvelope';
|
|
15
|
+
export * from './issueAdminSchemaLeaseDto';
|
|
16
|
+
export * from './issueAdminSchemaLeaseDtoAudience';
|
|
17
|
+
export * from './issueAdminSchemaLeaseDtoOperationsItem';
|
|
1
18
|
export * from './mintConnectionDto';
|
|
19
|
+
export * from './reconcileAdminSchemaRowsDto';
|
|
20
|
+
export * from './reconcileAdminSchemaRowsDtoAudience';
|
|
21
|
+
export * from './reconcileAdminSchemaRowsDtoRowsItem';
|
|
22
|
+
export * from './reconcileAdminSchemaRowsResponseDto';
|
|
23
|
+
export * from './reconcileAdminSchemaRowsResponseDtoDataEnvelope';
|
|
24
|
+
export * from './revokeAdminSchemaLeaseDto';
|
|
25
|
+
export * from './revokeAdminSchemaLeaseDtoAudience';
|
|
26
|
+
export * from './revokeAdminSchemaLeaseResponseDto';
|
|
27
|
+
export * from './revokeAdminSchemaLeaseResponseDtoDataEnvelope';
|
|
28
|
+
export * from './scanAdminSchemaRowsDto';
|
|
29
|
+
export * from './scanAdminSchemaRowsDtoAudience';
|
|
30
|
+
export * from './scanAdminSchemaRowsResponseDto';
|
|
31
|
+
export * from './scanAdminSchemaRowsResponseDtoDataEnvelope';
|
|
32
|
+
export * from './scanAdminSchemaRowsResponseDtoRowsItem';
|
package/dist/models/index.js
CHANGED
|
@@ -15,4 +15,35 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
|
|
18
|
+
__exportStar(require("./adminSchemaColumnDto"), exports);
|
|
19
|
+
__exportStar(require("./adminSchemaLeaseResponseDto"), exports);
|
|
20
|
+
__exportStar(require("./adminSchemaLeaseResponseDtoAudience"), exports);
|
|
21
|
+
__exportStar(require("./adminSchemaLeaseResponseDtoDataEnvelope"), exports);
|
|
22
|
+
__exportStar(require("./adminSchemaLeaseResponseDtoOperationsItem"), exports);
|
|
23
|
+
__exportStar(require("./describeAdminSchemaTableDto"), exports);
|
|
24
|
+
__exportStar(require("./describeAdminSchemaTableDtoAudience"), exports);
|
|
25
|
+
__exportStar(require("./describeAdminSchemaTableResponseDto"), exports);
|
|
26
|
+
__exportStar(require("./describeAdminSchemaTableResponseDtoDataEnvelope"), exports);
|
|
27
|
+
__exportStar(require("./insertAdminSchemaRowsDto"), exports);
|
|
28
|
+
__exportStar(require("./insertAdminSchemaRowsDtoAudience"), exports);
|
|
29
|
+
__exportStar(require("./insertAdminSchemaRowsDtoRowsItem"), exports);
|
|
30
|
+
__exportStar(require("./insertAdminSchemaRowsResponseDto"), exports);
|
|
31
|
+
__exportStar(require("./insertAdminSchemaRowsResponseDtoDataEnvelope"), exports);
|
|
32
|
+
__exportStar(require("./issueAdminSchemaLeaseDto"), exports);
|
|
33
|
+
__exportStar(require("./issueAdminSchemaLeaseDtoAudience"), exports);
|
|
34
|
+
__exportStar(require("./issueAdminSchemaLeaseDtoOperationsItem"), exports);
|
|
18
35
|
__exportStar(require("./mintConnectionDto"), exports);
|
|
36
|
+
__exportStar(require("./reconcileAdminSchemaRowsDto"), exports);
|
|
37
|
+
__exportStar(require("./reconcileAdminSchemaRowsDtoAudience"), exports);
|
|
38
|
+
__exportStar(require("./reconcileAdminSchemaRowsDtoRowsItem"), exports);
|
|
39
|
+
__exportStar(require("./reconcileAdminSchemaRowsResponseDto"), exports);
|
|
40
|
+
__exportStar(require("./reconcileAdminSchemaRowsResponseDtoDataEnvelope"), exports);
|
|
41
|
+
__exportStar(require("./revokeAdminSchemaLeaseDto"), exports);
|
|
42
|
+
__exportStar(require("./revokeAdminSchemaLeaseDtoAudience"), exports);
|
|
43
|
+
__exportStar(require("./revokeAdminSchemaLeaseResponseDto"), exports);
|
|
44
|
+
__exportStar(require("./revokeAdminSchemaLeaseResponseDtoDataEnvelope"), exports);
|
|
45
|
+
__exportStar(require("./scanAdminSchemaRowsDto"), exports);
|
|
46
|
+
__exportStar(require("./scanAdminSchemaRowsDtoAudience"), exports);
|
|
47
|
+
__exportStar(require("./scanAdminSchemaRowsResponseDto"), exports);
|
|
48
|
+
__exportStar(require("./scanAdminSchemaRowsResponseDtoDataEnvelope"), exports);
|
|
49
|
+
__exportStar(require("./scanAdminSchemaRowsResponseDtoRowsItem"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { InsertAdminSchemaRowsDtoAudience } from './insertAdminSchemaRowsDtoAudience';
|
|
9
|
+
import type { InsertAdminSchemaRowsDtoRowsItem } from './insertAdminSchemaRowsDtoRowsItem';
|
|
10
|
+
export interface InsertAdminSchemaRowsDto {
|
|
11
|
+
orgId: string;
|
|
12
|
+
schemaId: string;
|
|
13
|
+
audience: InsertAdminSchemaRowsDtoAudience;
|
|
14
|
+
/** Caller-scoped, single-writer command id. */
|
|
15
|
+
operationId: string;
|
|
16
|
+
table: string;
|
|
17
|
+
/**
|
|
18
|
+
* Rows inserted with ON CONFLICT (id) DO NOTHING. Every row must include id.
|
|
19
|
+
* @maxItems 500
|
|
20
|
+
*/
|
|
21
|
+
rows: InsertAdminSchemaRowsDtoRowsItem[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type InsertAdminSchemaRowsDtoAudience = typeof InsertAdminSchemaRowsDtoAudience[keyof typeof InsertAdminSchemaRowsDtoAudience];
|
|
9
|
+
export declare const InsertAdminSchemaRowsDtoAudience: {
|
|
10
|
+
readonly schema_data_migration: "schema_data_migration";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.InsertAdminSchemaRowsDtoAudience = void 0;
|
|
11
|
+
exports.InsertAdminSchemaRowsDtoAudience = {
|
|
12
|
+
schema_data_migration: 'schema_data_migration',
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type InsertAdminSchemaRowsDtoRowsItem = {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 InsertAdminSchemaRowsResponseDto {
|
|
9
|
+
inserted: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.6.2 🍺
|
|
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 { InsertAdminSchemaRowsResponseDto } from './insertAdminSchemaRowsResponseDto';
|
|
9
|
+
export interface InsertAdminSchemaRowsResponseDtoDataEnvelope {
|
|
10
|
+
data: InsertAdminSchemaRowsResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { IssueAdminSchemaLeaseDtoAudience } from './issueAdminSchemaLeaseDtoAudience';
|
|
9
|
+
import type { IssueAdminSchemaLeaseDtoOperationsItem } from './issueAdminSchemaLeaseDtoOperationsItem';
|
|
10
|
+
export interface IssueAdminSchemaLeaseDto {
|
|
11
|
+
orgId: string;
|
|
12
|
+
/** Registered OrgSchema id. Schema names are never caller-authoritative. */
|
|
13
|
+
schemaId: string;
|
|
14
|
+
audience: IssueAdminSchemaLeaseDtoAudience;
|
|
15
|
+
operations: IssueAdminSchemaLeaseDtoOperationsItem[];
|
|
16
|
+
/**
|
|
17
|
+
* @minimum 30
|
|
18
|
+
* @maximum 900
|
|
19
|
+
*/
|
|
20
|
+
ttlSeconds: number;
|
|
21
|
+
/** Caller-scoped key. Reuse with a different request is rejected. */
|
|
22
|
+
idempotencyKey: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type IssueAdminSchemaLeaseDtoAudience = typeof IssueAdminSchemaLeaseDtoAudience[keyof typeof IssueAdminSchemaLeaseDtoAudience];
|
|
9
|
+
export declare const IssueAdminSchemaLeaseDtoAudience: {
|
|
10
|
+
readonly schema_data_migration: "schema_data_migration";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.IssueAdminSchemaLeaseDtoAudience = void 0;
|
|
11
|
+
exports.IssueAdminSchemaLeaseDtoAudience = {
|
|
12
|
+
schema_data_migration: 'schema_data_migration',
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type IssueAdminSchemaLeaseDtoOperationsItem = typeof IssueAdminSchemaLeaseDtoOperationsItem[keyof typeof IssueAdminSchemaLeaseDtoOperationsItem];
|
|
9
|
+
export declare const IssueAdminSchemaLeaseDtoOperationsItem: {
|
|
10
|
+
readonly describe_table: "describe_table";
|
|
11
|
+
readonly insert_rows_if_absent: "insert_rows_if_absent";
|
|
12
|
+
readonly reconcile_rows_by_version: "reconcile_rows_by_version";
|
|
13
|
+
readonly scan_rows: "scan_rows";
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.IssueAdminSchemaLeaseDtoOperationsItem = void 0;
|
|
11
|
+
exports.IssueAdminSchemaLeaseDtoOperationsItem = {
|
|
12
|
+
describe_table: 'describe_table',
|
|
13
|
+
insert_rows_if_absent: 'insert_rows_if_absent',
|
|
14
|
+
reconcile_rows_by_version: 'reconcile_rows_by_version',
|
|
15
|
+
scan_rows: 'scan_rows',
|
|
16
|
+
};
|
|
@@ -6,5 +6,14 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
export interface MintConnectionDto {
|
|
9
|
-
|
|
9
|
+
databaseId: string;
|
|
10
|
+
/** @maxLength 63 */
|
|
11
|
+
schemaName: string;
|
|
12
|
+
/**
|
|
13
|
+
* One of the schema access roles reported by the pool. Never derived by the caller.
|
|
14
|
+
* @maxLength 63
|
|
15
|
+
*/
|
|
16
|
+
roleName: string;
|
|
17
|
+
/** @minimum 1 */
|
|
18
|
+
ttlSeconds: number;
|
|
10
19
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { ReconcileAdminSchemaRowsDtoAudience } from './reconcileAdminSchemaRowsDtoAudience';
|
|
9
|
+
import type { ReconcileAdminSchemaRowsDtoRowsItem } from './reconcileAdminSchemaRowsDtoRowsItem';
|
|
10
|
+
export interface ReconcileAdminSchemaRowsDto {
|
|
11
|
+
orgId: string;
|
|
12
|
+
schemaId: string;
|
|
13
|
+
audience: ReconcileAdminSchemaRowsDtoAudience;
|
|
14
|
+
/** Caller-scoped, single-writer command id. */
|
|
15
|
+
operationId: string;
|
|
16
|
+
table: string;
|
|
17
|
+
/**
|
|
18
|
+
* Authoritative migration rows. Missing rows are inserted; existing rows are replaced only when their version is not newer. Every row must include id and version.
|
|
19
|
+
* @maxItems 500
|
|
20
|
+
*/
|
|
21
|
+
rows: ReconcileAdminSchemaRowsDtoRowsItem[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type ReconcileAdminSchemaRowsDtoAudience = typeof ReconcileAdminSchemaRowsDtoAudience[keyof typeof ReconcileAdminSchemaRowsDtoAudience];
|
|
9
|
+
export declare const ReconcileAdminSchemaRowsDtoAudience: {
|
|
10
|
+
readonly schema_data_migration: "schema_data_migration";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.ReconcileAdminSchemaRowsDtoAudience = void 0;
|
|
11
|
+
exports.ReconcileAdminSchemaRowsDtoAudience = {
|
|
12
|
+
schema_data_migration: 'schema_data_migration',
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type ReconcileAdminSchemaRowsDtoRowsItem = {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.6.2 🍺
|
|
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 ReconcileAdminSchemaRowsResponseDto {
|
|
9
|
+
applied: number;
|
|
10
|
+
ignoredNewer: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.6.2 🍺
|
|
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 { ReconcileAdminSchemaRowsResponseDto } from './reconcileAdminSchemaRowsResponseDto';
|
|
9
|
+
export interface ReconcileAdminSchemaRowsResponseDtoDataEnvelope {
|
|
10
|
+
data: ReconcileAdminSchemaRowsResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { RevokeAdminSchemaLeaseDtoAudience } from './revokeAdminSchemaLeaseDtoAudience';
|
|
9
|
+
export interface RevokeAdminSchemaLeaseDto {
|
|
10
|
+
orgId: string;
|
|
11
|
+
schemaId: string;
|
|
12
|
+
audience: RevokeAdminSchemaLeaseDtoAudience;
|
|
13
|
+
/** Caller-scoped, single-writer command id. */
|
|
14
|
+
operationId: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type RevokeAdminSchemaLeaseDtoAudience = typeof RevokeAdminSchemaLeaseDtoAudience[keyof typeof RevokeAdminSchemaLeaseDtoAudience];
|
|
9
|
+
export declare const RevokeAdminSchemaLeaseDtoAudience: {
|
|
10
|
+
readonly schema_data_migration: "schema_data_migration";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.RevokeAdminSchemaLeaseDtoAudience = void 0;
|
|
11
|
+
exports.RevokeAdminSchemaLeaseDtoAudience = {
|
|
12
|
+
schema_data_migration: 'schema_data_migration',
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 RevokeAdminSchemaLeaseResponseDto {
|
|
9
|
+
revokedAt: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.6.2 🍺
|
|
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 { RevokeAdminSchemaLeaseResponseDto } from './revokeAdminSchemaLeaseResponseDto';
|
|
9
|
+
export interface RevokeAdminSchemaLeaseResponseDtoDataEnvelope {
|
|
10
|
+
data: RevokeAdminSchemaLeaseResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { ScanAdminSchemaRowsDtoAudience } from './scanAdminSchemaRowsDtoAudience';
|
|
9
|
+
export interface ScanAdminSchemaRowsDto {
|
|
10
|
+
orgId: string;
|
|
11
|
+
schemaId: string;
|
|
12
|
+
audience: ScanAdminSchemaRowsDtoAudience;
|
|
13
|
+
/** Caller-scoped, single-writer command id. */
|
|
14
|
+
operationId: string;
|
|
15
|
+
table: string;
|
|
16
|
+
/** @maxItems 128 */
|
|
17
|
+
columns: string[];
|
|
18
|
+
/** @nullable */
|
|
19
|
+
afterId?: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* @minimum 1
|
|
22
|
+
* @maximum 500
|
|
23
|
+
*/
|
|
24
|
+
limit: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type ScanAdminSchemaRowsDtoAudience = typeof ScanAdminSchemaRowsDtoAudience[keyof typeof ScanAdminSchemaRowsDtoAudience];
|
|
9
|
+
export declare const ScanAdminSchemaRowsDtoAudience: {
|
|
10
|
+
readonly schema_data_migration: "schema_data_migration";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
|
10
|
+
exports.ScanAdminSchemaRowsDtoAudience = void 0;
|
|
11
|
+
exports.ScanAdminSchemaRowsDtoAudience = {
|
|
12
|
+
schema_data_migration: 'schema_data_migration',
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { ScanAdminSchemaRowsResponseDtoRowsItem } from './scanAdminSchemaRowsResponseDtoRowsItem';
|
|
9
|
+
export interface ScanAdminSchemaRowsResponseDto {
|
|
10
|
+
rows: ScanAdminSchemaRowsResponseDtoRowsItem[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { ScanAdminSchemaRowsResponseDto } from './scanAdminSchemaRowsResponseDto';
|
|
9
|
+
export interface ScanAdminSchemaRowsResponseDtoDataEnvelope {
|
|
10
|
+
data: ScanAdminSchemaRowsResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 type ScanAdminSchemaRowsResponseDtoRowsItem = {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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 });
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/org-database-pool-internal-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"publishConfig": {
|
|
10
|
-
"
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
11
12
|
},
|
|
12
13
|
"devDependencies": {
|
|
13
14
|
"typescript": "5.9.3"
|
|
@@ -18,9 +19,10 @@
|
|
|
18
19
|
"service": "org-database-pool-api",
|
|
19
20
|
"biome": "org-database-pool",
|
|
20
21
|
"target": "server",
|
|
21
|
-
"generator": "@xemahq/api-client-generator@0.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.2.0",
|
|
22
23
|
"source": "openapi.internal.json"
|
|
23
24
|
},
|
|
25
|
+
"license": "LicenseRef-Xema-BSL-1.1",
|
|
24
26
|
"scripts": {
|
|
25
27
|
"build": "tsc -p tsconfig.json"
|
|
26
28
|
}
|