@northflank/js-client 0.8.13-beta.3 → 0.8.13-beta.4
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/cjs/api-client.d.ts +28 -2
- package/dist/cjs/api-client.js +1 -1
- package/dist/esm/api-client.d.ts +28 -2
- package/dist/esm/api-client.js +1 -1
- package/package.json +1 -1
package/dist/cjs/api-client.d.ts
CHANGED
|
@@ -11198,6 +11198,8 @@ type CreateAddonResult = {
|
|
|
11198
11198
|
'redisSentinelEnabled'?: boolean;
|
|
11199
11199
|
/** PostgreSQL only: Configure wal_level setting. */
|
|
11200
11200
|
'postgresqlWalLevel'?: 'replica' | 'logical';
|
|
11201
|
+
/** PostgreSQL only: Enable Supabase mode. */
|
|
11202
|
+
'postgresqlSupabaseMode'?: boolean;
|
|
11201
11203
|
/** PostgreSQL only: Run connection pooler in front of postgres instance. */
|
|
11202
11204
|
'postgresqlConnectionPoolerEnabled'?: boolean;
|
|
11203
11205
|
/** PostgreSQL only: Number of connection pooler replicas in case connection pooler is enabled. */
|
|
@@ -11206,6 +11208,8 @@ type CreateAddonResult = {
|
|
|
11206
11208
|
'postgresqlReadConnectionPoolerEnabled'?: boolean;
|
|
11207
11209
|
/** PostgreSQL only: Number of read-only connection pooler replicas in case read-only connection pooler is enabled. */
|
|
11208
11210
|
'postgresqlReadConnectionPoolerReplicas'?: number;
|
|
11211
|
+
/** PostgreSQL only: Configure PostgreSQL for higher import speed. Not recommended for production workloads. */
|
|
11212
|
+
'postgresqlImportMode'?: boolean;
|
|
11209
11213
|
/** MySQL only: Run MySQL in HA configuration with auto-failover and connection poolers. */
|
|
11210
11214
|
'mysqlHaModeEnabled'?: boolean;
|
|
11211
11215
|
/** MysqlHA only: Number of connection router replicas in case connection router is enabled. */
|
|
@@ -11381,6 +11385,8 @@ type CreateAddonData = {
|
|
|
11381
11385
|
'redisSentinelEnabled'?: boolean;
|
|
11382
11386
|
/** PostgreSQL only: Configure wal_level setting. */
|
|
11383
11387
|
'postgresqlWalLevel'?: 'replica' | 'logical';
|
|
11388
|
+
/** PostgreSQL only: Enable Supabase mode. */
|
|
11389
|
+
'postgresqlSupabaseMode'?: boolean;
|
|
11384
11390
|
/** PostgreSQL only: Run connection pooler in front of postgres instance. */
|
|
11385
11391
|
'postgresqlConnectionPoolerEnabled'?: boolean;
|
|
11386
11392
|
/** PostgreSQL only: Number of connection pooler replicas in case connection pooler is enabled. */
|
|
@@ -11389,6 +11395,8 @@ type CreateAddonData = {
|
|
|
11389
11395
|
'postgresqlReadConnectionPoolerEnabled'?: boolean;
|
|
11390
11396
|
/** PostgreSQL only: Number of read-only connection pooler replicas in case read-only connection pooler is enabled. */
|
|
11391
11397
|
'postgresqlReadConnectionPoolerReplicas'?: number;
|
|
11398
|
+
/** PostgreSQL only: Configure PostgreSQL for higher import speed. Not recommended for production workloads. */
|
|
11399
|
+
'postgresqlImportMode'?: boolean;
|
|
11392
11400
|
/** MySQL only: Run MySQL in HA configuration with auto-failover and connection poolers. */
|
|
11393
11401
|
'mysqlHaModeEnabled'?: boolean;
|
|
11394
11402
|
/** MysqlHA only: Number of connection router replicas in case connection router is enabled. */
|
|
@@ -11522,6 +11530,8 @@ type PutAddonResult = {
|
|
|
11522
11530
|
'redisSentinelEnabled'?: boolean;
|
|
11523
11531
|
/** PostgreSQL only: Configure wal_level setting. */
|
|
11524
11532
|
'postgresqlWalLevel'?: 'replica' | 'logical';
|
|
11533
|
+
/** PostgreSQL only: Enable Supabase mode. */
|
|
11534
|
+
'postgresqlSupabaseMode'?: boolean;
|
|
11525
11535
|
/** PostgreSQL only: Run connection pooler in front of postgres instance. */
|
|
11526
11536
|
'postgresqlConnectionPoolerEnabled'?: boolean;
|
|
11527
11537
|
/** PostgreSQL only: Number of connection pooler replicas in case connection pooler is enabled. */
|
|
@@ -11530,6 +11540,8 @@ type PutAddonResult = {
|
|
|
11530
11540
|
'postgresqlReadConnectionPoolerEnabled'?: boolean;
|
|
11531
11541
|
/** PostgreSQL only: Number of read-only connection pooler replicas in case read-only connection pooler is enabled. */
|
|
11532
11542
|
'postgresqlReadConnectionPoolerReplicas'?: number;
|
|
11543
|
+
/** PostgreSQL only: Configure PostgreSQL for higher import speed. Not recommended for production workloads. */
|
|
11544
|
+
'postgresqlImportMode'?: boolean;
|
|
11533
11545
|
/** MySQL only: Run MySQL in HA configuration with auto-failover and connection poolers. */
|
|
11534
11546
|
'mysqlHaModeEnabled'?: boolean;
|
|
11535
11547
|
/** MysqlHA only: Number of connection router replicas in case connection router is enabled. */
|
|
@@ -11705,6 +11717,8 @@ type PutAddonData = {
|
|
|
11705
11717
|
'redisSentinelEnabled'?: boolean;
|
|
11706
11718
|
/** PostgreSQL only: Configure wal_level setting. */
|
|
11707
11719
|
'postgresqlWalLevel'?: 'replica' | 'logical';
|
|
11720
|
+
/** PostgreSQL only: Enable Supabase mode. */
|
|
11721
|
+
'postgresqlSupabaseMode'?: boolean;
|
|
11708
11722
|
/** PostgreSQL only: Run connection pooler in front of postgres instance. */
|
|
11709
11723
|
'postgresqlConnectionPoolerEnabled'?: boolean;
|
|
11710
11724
|
/** PostgreSQL only: Number of connection pooler instances in case connection pooler is enabled. */
|
|
@@ -11713,6 +11727,8 @@ type PutAddonData = {
|
|
|
11713
11727
|
'postgresqlReadConnectionPoolerEnabled'?: boolean;
|
|
11714
11728
|
/** PostgreSQL only: Number of read-only connection pooler replicas in case read-only connection pooler is enabled. */
|
|
11715
11729
|
'postgresqlReadConnectionPoolerReplicas'?: number;
|
|
11730
|
+
/** PostgreSQL only: Configure PostgreSQL for higher import speed. Not recommended for production workloads. */
|
|
11731
|
+
'postgresqlImportMode'?: boolean;
|
|
11716
11732
|
/** MySQL only: Run MySQL in HA configuration with auto-failover and connection poolers. */
|
|
11717
11733
|
'mysqlHaModeEnabled'?: boolean;
|
|
11718
11734
|
/** MysqlHA only: Number of connection router replicas in case connection router is enabled. */
|
|
@@ -11934,6 +11950,8 @@ type PatchAddonResult = {
|
|
|
11934
11950
|
'redisSentinelEnabled'?: boolean;
|
|
11935
11951
|
/** PostgreSQL only: Configure wal_level setting. */
|
|
11936
11952
|
'postgresqlWalLevel'?: 'replica' | 'logical';
|
|
11953
|
+
/** PostgreSQL only: Enable Supabase mode. */
|
|
11954
|
+
'postgresqlSupabaseMode'?: boolean;
|
|
11937
11955
|
/** PostgreSQL only: Run connection pooler in front of postgres instance. */
|
|
11938
11956
|
'postgresqlConnectionPoolerEnabled'?: boolean;
|
|
11939
11957
|
/** PostgreSQL only: Number of connection pooler replicas in case connection pooler is enabled. */
|
|
@@ -11942,6 +11960,8 @@ type PatchAddonResult = {
|
|
|
11942
11960
|
'postgresqlReadConnectionPoolerEnabled'?: boolean;
|
|
11943
11961
|
/** PostgreSQL only: Number of read-only connection pooler replicas in case read-only connection pooler is enabled. */
|
|
11944
11962
|
'postgresqlReadConnectionPoolerReplicas'?: number;
|
|
11963
|
+
/** PostgreSQL only: Configure PostgreSQL for higher import speed. Not recommended for production workloads. */
|
|
11964
|
+
'postgresqlImportMode'?: boolean;
|
|
11945
11965
|
/** MySQL only: Run MySQL in HA configuration with auto-failover and connection poolers. */
|
|
11946
11966
|
'mysqlHaModeEnabled'?: boolean;
|
|
11947
11967
|
/** MysqlHA only: Number of connection router replicas in case connection router is enabled. */
|
|
@@ -12092,6 +12112,8 @@ type PatchAddonData = {
|
|
|
12092
12112
|
'redisSentinelEnabled'?: boolean;
|
|
12093
12113
|
/** PostgreSQL only: Configure wal_level setting. */
|
|
12094
12114
|
'postgresqlWalLevel'?: 'replica' | 'logical';
|
|
12115
|
+
/** PostgreSQL only: Enable Supabase mode. */
|
|
12116
|
+
'postgresqlSupabaseMode'?: boolean;
|
|
12095
12117
|
/** PostgreSQL only: Run connection pooler in front of postgres instance. */
|
|
12096
12118
|
'postgresqlConnectionPoolerEnabled'?: boolean;
|
|
12097
12119
|
/** PostgreSQL only: Number of connection pooler instances in case connection pooler is enabled. */
|
|
@@ -12100,6 +12122,8 @@ type PatchAddonData = {
|
|
|
12100
12122
|
'postgresqlReadConnectionPoolerEnabled'?: boolean;
|
|
12101
12123
|
/** PostgreSQL only: Number of read-only connection pooler replicas in case read-only connection pooler is enabled. */
|
|
12102
12124
|
'postgresqlReadConnectionPoolerReplicas'?: number;
|
|
12125
|
+
/** PostgreSQL only: Configure PostgreSQL for higher import speed. Not recommended for production workloads. */
|
|
12126
|
+
'postgresqlImportMode'?: boolean;
|
|
12103
12127
|
/** MySQL only: Run MySQL in HA configuration with auto-failover and connection poolers. */
|
|
12104
12128
|
'mysqlHaModeEnabled'?: boolean;
|
|
12105
12129
|
/** MysqlHA only: Number of connection router replicas in case connection router is enabled. */
|
|
@@ -12818,17 +12842,19 @@ type ImportAddonBackupData = {
|
|
|
12818
12842
|
'name'?: string;
|
|
12819
12843
|
/** A database connection string. Example: "mongodb://mongodb0.example.com:27017" */
|
|
12820
12844
|
'connectionString': string;
|
|
12845
|
+
/** Detect and import all databases. If false, attempts to import only the database specified in the connection string */
|
|
12846
|
+
'importAllDatabases'?: boolean;
|
|
12821
12847
|
/** The compression algorithm for storing the imported file. Defaults to `gz`. Example: "gz" */
|
|
12822
12848
|
'compressionType'?: 'gz' | 'zstd';
|
|
12823
12849
|
/** Custom destination to store the imported backup in. If not specified, backup is stored in Northflank-managed destination. */
|
|
12824
|
-
'customDestinationId'
|
|
12850
|
+
'customDestinationId'?: string;
|
|
12825
12851
|
} | {
|
|
12826
12852
|
/** The name of the backup. If not provided, a default name will be generated containing the current date. Example: "Example Backup" */
|
|
12827
12853
|
'name'?: string;
|
|
12828
12854
|
/** A url pointing to an existing backup stored as a GNU zip (.gz) file. Example: "https://example.com/backup.db.gz" */
|
|
12829
12855
|
'importUrl': string;
|
|
12830
12856
|
/** Custom destination to store the imported backup in. If not specified, backup is stored in Northflank-managed destination. */
|
|
12831
|
-
'customDestinationId'
|
|
12857
|
+
'customDestinationId'?: string;
|
|
12832
12858
|
};
|
|
12833
12859
|
/** Imports a database from an external archive or existing live database. */
|
|
12834
12860
|
declare class ImportAddonBackupEndpoint extends PostApiEndpoint<ImportAddonBackupRequest, ImportAddonBackupResult> {
|