@pushwoosh/rpc-v2-http-api-data 0.2.222 → 0.2.224
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/data.js +47 -4
- package/package.json +1 -1
- package/pushwoosh_rpc_external_segments_v3.d.ts +55 -4
package/data.js
CHANGED
|
@@ -14186,6 +14186,33 @@ export const data = {
|
|
|
14186
14186
|
}
|
|
14187
14187
|
}
|
|
14188
14188
|
},
|
|
14189
|
+
"pushwoosh.rpc.external_segments.v3.MssqlConnection": {
|
|
14190
|
+
"type": "I",
|
|
14191
|
+
"fields": {
|
|
14192
|
+
"host": {
|
|
14193
|
+
"type": "string"
|
|
14194
|
+
},
|
|
14195
|
+
"port": {
|
|
14196
|
+
"type": "number"
|
|
14197
|
+
},
|
|
14198
|
+
"user": {
|
|
14199
|
+
"type": "string"
|
|
14200
|
+
},
|
|
14201
|
+
"password": {
|
|
14202
|
+
"type": "string"
|
|
14203
|
+
},
|
|
14204
|
+
"database": {
|
|
14205
|
+
"type": "string"
|
|
14206
|
+
},
|
|
14207
|
+
"params": {
|
|
14208
|
+
"type": "string",
|
|
14209
|
+
"mapKeyType": "string"
|
|
14210
|
+
},
|
|
14211
|
+
"tenantId": {
|
|
14212
|
+
"type": "string"
|
|
14213
|
+
}
|
|
14214
|
+
}
|
|
14215
|
+
},
|
|
14189
14216
|
"pushwoosh.rpc.external_segments.v3.BigQueryConnection": {
|
|
14190
14217
|
"type": "I",
|
|
14191
14218
|
"fields": {
|
|
@@ -14221,6 +14248,9 @@ export const data = {
|
|
|
14221
14248
|
"bigquery": {
|
|
14222
14249
|
"type": "pushwoosh.rpc.external_segments.v3.BigQueryConnection"
|
|
14223
14250
|
},
|
|
14251
|
+
"mssql": {
|
|
14252
|
+
"type": "pushwoosh.rpc.external_segments.v3.MssqlConnection"
|
|
14253
|
+
},
|
|
14224
14254
|
"query": {
|
|
14225
14255
|
"type": "string"
|
|
14226
14256
|
},
|
|
@@ -14245,7 +14275,8 @@ export const data = {
|
|
|
14245
14275
|
"oneof": [
|
|
14246
14276
|
"postgres",
|
|
14247
14277
|
"mysql",
|
|
14248
|
-
"bigquery"
|
|
14278
|
+
"bigquery",
|
|
14279
|
+
"mssql"
|
|
14249
14280
|
]
|
|
14250
14281
|
}
|
|
14251
14282
|
}
|
|
@@ -14304,6 +14335,9 @@ export const data = {
|
|
|
14304
14335
|
"bigquery": {
|
|
14305
14336
|
"type": "pushwoosh.rpc.external_segments.v3.BigQueryConnection"
|
|
14306
14337
|
},
|
|
14338
|
+
"mssql": {
|
|
14339
|
+
"type": "pushwoosh.rpc.external_segments.v3.MssqlConnection"
|
|
14340
|
+
},
|
|
14307
14341
|
"query": {
|
|
14308
14342
|
"type": "string"
|
|
14309
14343
|
}
|
|
@@ -14313,7 +14347,8 @@ export const data = {
|
|
|
14313
14347
|
"oneof": [
|
|
14314
14348
|
"postgres",
|
|
14315
14349
|
"mysql",
|
|
14316
|
-
"bigquery"
|
|
14350
|
+
"bigquery",
|
|
14351
|
+
"mssql"
|
|
14317
14352
|
]
|
|
14318
14353
|
}
|
|
14319
14354
|
}
|
|
@@ -14348,6 +14383,9 @@ export const data = {
|
|
|
14348
14383
|
"bigquery": {
|
|
14349
14384
|
"type": "pushwoosh.rpc.external_segments.v3.BigQueryConnection"
|
|
14350
14385
|
},
|
|
14386
|
+
"mssql": {
|
|
14387
|
+
"type": "pushwoosh.rpc.external_segments.v3.MssqlConnection"
|
|
14388
|
+
},
|
|
14351
14389
|
"query": {
|
|
14352
14390
|
"type": "string",
|
|
14353
14391
|
"optional": true
|
|
@@ -14358,7 +14396,8 @@ export const data = {
|
|
|
14358
14396
|
"oneof": [
|
|
14359
14397
|
"postgres",
|
|
14360
14398
|
"mysql",
|
|
14361
|
-
"bigquery"
|
|
14399
|
+
"bigquery",
|
|
14400
|
+
"mssql"
|
|
14362
14401
|
]
|
|
14363
14402
|
}
|
|
14364
14403
|
}
|
|
@@ -14426,6 +14465,9 @@ export const data = {
|
|
|
14426
14465
|
"bigquery": {
|
|
14427
14466
|
"type": "pushwoosh.rpc.external_segments.v3.BigQueryConnection"
|
|
14428
14467
|
},
|
|
14468
|
+
"mssql": {
|
|
14469
|
+
"type": "pushwoosh.rpc.external_segments.v3.MssqlConnection"
|
|
14470
|
+
},
|
|
14429
14471
|
"query": {
|
|
14430
14472
|
"type": "string"
|
|
14431
14473
|
},
|
|
@@ -14438,7 +14480,8 @@ export const data = {
|
|
|
14438
14480
|
"oneof": [
|
|
14439
14481
|
"postgres",
|
|
14440
14482
|
"mysql",
|
|
14441
|
-
"bigquery"
|
|
14483
|
+
"bigquery",
|
|
14484
|
+
"mssql"
|
|
14442
14485
|
]
|
|
14443
14486
|
}
|
|
14444
14487
|
}
|
package/package.json
CHANGED
|
@@ -282,6 +282,41 @@ export type MysqlConnection = {
|
|
|
282
282
|
*/
|
|
283
283
|
params: Record<string, string>;
|
|
284
284
|
};
|
|
285
|
+
/**
|
|
286
|
+
* MssqlConnection holds SQL Server / Microsoft Fabric connection parameters,
|
|
287
|
+
* stored by the backend as a sqlserver:// URL.
|
|
288
|
+
*/
|
|
289
|
+
export type MssqlConnection = {
|
|
290
|
+
/**
|
|
291
|
+
* Database server host, e.g. a SQL Server hostname or a Microsoft Fabric
|
|
292
|
+
* SQL endpoint (<workspace>.datawarehouse.fabric.microsoft.com).
|
|
293
|
+
*/
|
|
294
|
+
host: string;
|
|
295
|
+
/** Database server port. Defaults to 1433 if zero. */
|
|
296
|
+
port: number;
|
|
297
|
+
/**
|
|
298
|
+
* SQL login. When tenant_id is set, this is the Microsoft Entra
|
|
299
|
+
* application (client) ID of the service principal instead.
|
|
300
|
+
*/
|
|
301
|
+
user: string;
|
|
302
|
+
/**
|
|
303
|
+
* Login password, or the client secret when tenant_id is set.
|
|
304
|
+
* Write-only: never returned by read methods.
|
|
305
|
+
*/
|
|
306
|
+
password: string;
|
|
307
|
+
/** Database name. */
|
|
308
|
+
database: string;
|
|
309
|
+
/**
|
|
310
|
+
* Any additional go-mssqldb connection parameters (e.g. encrypt,
|
|
311
|
+
* TrustServerCertificate, connection timeout). encrypt defaults to true.
|
|
312
|
+
*/
|
|
313
|
+
params: Record<string, string>;
|
|
314
|
+
/**
|
|
315
|
+
* Microsoft Entra tenant ID. Set → service principal login (fedauth), the only
|
|
316
|
+
* auth Microsoft Fabric accepts; empty → plain SQL login.
|
|
317
|
+
*/
|
|
318
|
+
tenantId: string;
|
|
319
|
+
};
|
|
285
320
|
/**
|
|
286
321
|
* BigQueryConnection holds Google BigQuery connection parameters. The backend
|
|
287
322
|
* stores them as a JSON blob in the connection params.
|
|
@@ -313,7 +348,11 @@ export type ExternalSegment_connection_bigquery = {
|
|
|
313
348
|
type: 'bigquery';
|
|
314
349
|
data: BigQueryConnection;
|
|
315
350
|
};
|
|
316
|
-
export type
|
|
351
|
+
export type ExternalSegment_connection_mssql = {
|
|
352
|
+
type: 'mssql';
|
|
353
|
+
data: MssqlConnection;
|
|
354
|
+
};
|
|
355
|
+
export type ExternalSegment_connection = ExternalSegment_connection_postgres | ExternalSegment_connection_mysql | ExternalSegment_connection_bigquery | ExternalSegment_connection_mssql;
|
|
317
356
|
/**
|
|
318
357
|
* ExternalSegment is the full representation returned by read methods.
|
|
319
358
|
* It exposes neither the raw connection string nor a database "kind" enum:
|
|
@@ -369,7 +408,11 @@ export type CreateRequest_connection_bigquery = {
|
|
|
369
408
|
type: 'bigquery';
|
|
370
409
|
data: BigQueryConnection;
|
|
371
410
|
};
|
|
372
|
-
export type
|
|
411
|
+
export type CreateRequest_connection_mssql = {
|
|
412
|
+
type: 'mssql';
|
|
413
|
+
data: MssqlConnection;
|
|
414
|
+
};
|
|
415
|
+
export type CreateRequest_connection = CreateRequest_connection_postgres | CreateRequest_connection_mysql | CreateRequest_connection_bigquery | CreateRequest_connection_mssql;
|
|
373
416
|
export type CreateRequest = {
|
|
374
417
|
/** Application code the segment belongs to. */
|
|
375
418
|
application?: string;
|
|
@@ -394,7 +437,11 @@ export type UpdateRequest_connection_bigquery = {
|
|
|
394
437
|
type: 'bigquery';
|
|
395
438
|
data: BigQueryConnection;
|
|
396
439
|
};
|
|
397
|
-
export type
|
|
440
|
+
export type UpdateRequest_connection_mssql = {
|
|
441
|
+
type: 'mssql';
|
|
442
|
+
data: MssqlConnection;
|
|
443
|
+
};
|
|
444
|
+
export type UpdateRequest_connection = UpdateRequest_connection_postgres | UpdateRequest_connection_mysql | UpdateRequest_connection_bigquery | UpdateRequest_connection_mssql;
|
|
398
445
|
export type UpdateRequest = {
|
|
399
446
|
/** Application code the segment belongs to. */
|
|
400
447
|
application?: string;
|
|
@@ -443,7 +490,11 @@ export type TestConnectionRequest_connection_bigquery = {
|
|
|
443
490
|
type: 'bigquery';
|
|
444
491
|
data: BigQueryConnection;
|
|
445
492
|
};
|
|
446
|
-
export type
|
|
493
|
+
export type TestConnectionRequest_connection_mssql = {
|
|
494
|
+
type: 'mssql';
|
|
495
|
+
data: MssqlConnection;
|
|
496
|
+
};
|
|
497
|
+
export type TestConnectionRequest_connection = TestConnectionRequest_connection_postgres | TestConnectionRequest_connection_mysql | TestConnectionRequest_connection_bigquery | TestConnectionRequest_connection_mssql;
|
|
447
498
|
export type TestConnectionRequest = {
|
|
448
499
|
/** Application code the segment belongs to. */
|
|
449
500
|
application?: string;
|