windmill-client 1.864.1 → 1.865.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/dist/core/OpenAPI.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/services.gen.d.ts +1 -1
- package/dist/services.gen.mjs +1 -1
- package/dist/types.gen.d.ts +25 -9
- package/package.json +1 -1
package/dist/core/OpenAPI.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ const OpenAPI = {
|
|
|
126
126
|
PASSWORD: void 0,
|
|
127
127
|
TOKEN: getEnv$1("WM_TOKEN"),
|
|
128
128
|
USERNAME: void 0,
|
|
129
|
-
VERSION: "1.
|
|
129
|
+
VERSION: "1.865.0",
|
|
130
130
|
WITH_CREDENTIALS: !getEnv$1("WM_RAW_APP"),
|
|
131
131
|
interceptors: {
|
|
132
132
|
request: new Interceptors(),
|
|
@@ -14381,7 +14381,7 @@ var WorkspaceIntegrationService = class {
|
|
|
14381
14381
|
* @param data The data for the request.
|
|
14382
14382
|
* @param data.workspace
|
|
14383
14383
|
* @param data.serviceName
|
|
14384
|
-
* @param data.requestBody
|
|
14384
|
+
* @param data.requestBody Where to save the connection (defaults to u/{caller}/native_{resource_type}). Uses the workspace OAuth client, or the instance one when the instance shares it, and the redirect URI registered on that client.
|
|
14385
14385
|
* @returns string native trigger service connect url
|
|
14386
14386
|
* @throws ApiError
|
|
14387
14387
|
*/
|
package/dist/services.gen.d.ts
CHANGED
|
@@ -7377,7 +7377,7 @@ export declare class WorkspaceIntegrationService {
|
|
|
7377
7377
|
* @param data The data for the request.
|
|
7378
7378
|
* @param data.workspace
|
|
7379
7379
|
* @param data.serviceName
|
|
7380
|
-
* @param data.requestBody
|
|
7380
|
+
* @param data.requestBody Where to save the connection (defaults to u/{caller}/native_{resource_type}). Uses the workspace OAuth client, or the instance one when the instance shares it, and the redirect URI registered on that client.
|
|
7381
7381
|
* @returns string native trigger service connect url
|
|
7382
7382
|
* @throws ApiError
|
|
7383
7383
|
*/
|
package/dist/services.gen.mjs
CHANGED
|
@@ -14013,7 +14013,7 @@ var WorkspaceIntegrationService = class {
|
|
|
14013
14013
|
* @param data The data for the request.
|
|
14014
14014
|
* @param data.workspace
|
|
14015
14015
|
* @param data.serviceName
|
|
14016
|
-
* @param data.requestBody
|
|
14016
|
+
* @param data.requestBody Where to save the connection (defaults to u/{caller}/native_{resource_type}). Uses the workspace OAuth client, or the instance one when the instance shares it, and the redirect URI registered on that client.
|
|
14017
14017
|
* @returns string native trigger service connect url
|
|
14018
14018
|
* @throws ApiError
|
|
14019
14019
|
*/
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -1635,9 +1635,13 @@ export type VaultSettings = {
|
|
|
1635
1635
|
*/
|
|
1636
1636
|
jwt_mount_path?: string;
|
|
1637
1637
|
/**
|
|
1638
|
-
* AppRole role_id (optional). When set and no static token is given, Windmill logs in with AppRole
|
|
1638
|
+
* AppRole role_id (optional). When set and no static token is given, Windmill logs in with AppRole.
|
|
1639
1639
|
*/
|
|
1640
1640
|
approle_role_id?: string;
|
|
1641
|
+
/**
|
|
1642
|
+
* AppRole secret_id (optional). When empty, the `VAULT_APPROLE_SECRET_ID` environment variable of servers and workers is used; when that is unset too, no secret_id is sent (a role with `bind_secret_id=false`).
|
|
1643
|
+
*/
|
|
1644
|
+
approle_secret_id?: string;
|
|
1641
1645
|
/**
|
|
1642
1646
|
* Mount path of the AppRole auth method (optional, defaults to "approle").
|
|
1643
1647
|
*/
|
|
@@ -3564,6 +3568,10 @@ export type ListableResource = {
|
|
|
3564
3568
|
is_linked: boolean;
|
|
3565
3569
|
is_refreshed: boolean;
|
|
3566
3570
|
account?: number;
|
|
3571
|
+
/**
|
|
3572
|
+
* OAuth scopes the linked account was connected with
|
|
3573
|
+
*/
|
|
3574
|
+
scopes?: Array<(string)>;
|
|
3567
3575
|
created_by?: string;
|
|
3568
3576
|
edited_at?: string;
|
|
3569
3577
|
labels?: Array<(string)>;
|
|
@@ -8053,9 +8061,9 @@ export type WorkspaceOAuthConfig = {
|
|
|
8053
8061
|
*/
|
|
8054
8062
|
base_url: string;
|
|
8055
8063
|
/**
|
|
8056
|
-
* The OAuth
|
|
8064
|
+
* The redirect URI registered on the OAuth app. Absent for an app saved before it was stored, which uses the workspace settings page.
|
|
8057
8065
|
*/
|
|
8058
|
-
redirect_uri
|
|
8066
|
+
redirect_uri?: string;
|
|
8059
8067
|
};
|
|
8060
8068
|
export type WebhookEvent = {
|
|
8061
8069
|
type: 'webhook';
|
|
@@ -8112,6 +8120,18 @@ export type NativeTriggerConnection = {
|
|
|
8112
8120
|
* Whether this is the workspace connection, which every member may use
|
|
8113
8121
|
*/
|
|
8114
8122
|
workspace: boolean;
|
|
8123
|
+
/**
|
|
8124
|
+
* Whether the integration trigger connect flow made it. Any other connection is a resource connected from Resources, which triggers can use but only Resources can replace or delete.
|
|
8125
|
+
*/
|
|
8126
|
+
managed: boolean;
|
|
8127
|
+
/**
|
|
8128
|
+
* Scopes the account was connected with; absent when unknown
|
|
8129
|
+
*/
|
|
8130
|
+
scopes?: Array<(string)> | null;
|
|
8131
|
+
/**
|
|
8132
|
+
* Scopes the service's triggers need that the account lacks; absent when unknown
|
|
8133
|
+
*/
|
|
8134
|
+
missing_scopes?: Array<(string)> | null;
|
|
8115
8135
|
};
|
|
8116
8136
|
/**
|
|
8117
8137
|
* Response returned when a native trigger is created
|
|
@@ -17892,10 +17912,9 @@ export type CreateNativeTriggerServiceData = {
|
|
|
17892
17912
|
export type CreateNativeTriggerServiceResponse = string;
|
|
17893
17913
|
export type GenerateNativeTriggerServiceConnectUrlData = {
|
|
17894
17914
|
/**
|
|
17895
|
-
*
|
|
17915
|
+
* Where to save the connection (defaults to u/{caller}/native_{resource_type}). Uses the workspace OAuth client, or the instance one when the instance shares it, and the redirect URI registered on that client.
|
|
17896
17916
|
*/
|
|
17897
17917
|
requestBody: {
|
|
17898
|
-
redirect_uri: string;
|
|
17899
17918
|
resource_path?: string;
|
|
17900
17919
|
};
|
|
17901
17920
|
serviceName: NativeServiceName;
|
|
@@ -17941,7 +17960,6 @@ export type NativeTriggerServiceCallbackData = {
|
|
|
17941
17960
|
requestBody: {
|
|
17942
17961
|
code: string;
|
|
17943
17962
|
state: string;
|
|
17944
|
-
redirect_uri: string;
|
|
17945
17963
|
};
|
|
17946
17964
|
serviceName: NativeServiceName;
|
|
17947
17965
|
workspace: string;
|
|
@@ -36381,10 +36399,9 @@ export type $OpenApiTs = {
|
|
|
36381
36399
|
post: {
|
|
36382
36400
|
req: {
|
|
36383
36401
|
/**
|
|
36384
|
-
*
|
|
36402
|
+
* Where to save the connection (defaults to u/{caller}/native_{resource_type}). Uses the workspace OAuth client, or the instance one when the instance shares it, and the redirect URI registered on that client.
|
|
36385
36403
|
*/
|
|
36386
36404
|
requestBody: {
|
|
36387
|
-
redirect_uri: string;
|
|
36388
36405
|
resource_path?: string;
|
|
36389
36406
|
};
|
|
36390
36407
|
serviceName: NativeServiceName;
|
|
@@ -36484,7 +36501,6 @@ export type $OpenApiTs = {
|
|
|
36484
36501
|
requestBody: {
|
|
36485
36502
|
code: string;
|
|
36486
36503
|
state: string;
|
|
36487
|
-
redirect_uri: string;
|
|
36488
36504
|
};
|
|
36489
36505
|
serviceName: NativeServiceName;
|
|
36490
36506
|
workspace: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "windmill-client",
|
|
3
3
|
"description": "Windmill SDK client for browsers and Node.js",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.865.0",
|
|
5
5
|
"author": "Ruben Fiszel",
|
|
6
6
|
"license": "Apache 2.0",
|
|
7
7
|
"homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",
|