windmill-cli 1.635.1 → 1.637.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/esm/gen/core/OpenAPI.js +1 -1
- package/esm/gen/services.gen.js +100 -7
- package/esm/src/main.js +1 -1
- package/package.json +1 -1
- package/types/gen/services.gen.d.ts +49 -4
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +77 -6
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +77 -6
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
package/types/src/main.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { pull as hubPull } from "./commands/hub/hub.js";
|
|
|
23
23
|
import { pull, push } from "./commands/sync/sync.js";
|
|
24
24
|
import { add as workspaceAdd } from "./commands/workspace/workspace.js";
|
|
25
25
|
export { flow, app, script, workspace, resource, resourceType, user, variable, hub, folder, schedule, trigger, sync, lint, gitsyncSettings, instance, dev, hubPull, pull, push, workspaceAdd, };
|
|
26
|
-
export declare const VERSION = "1.
|
|
26
|
+
export declare const VERSION = "1.637.0";
|
|
27
27
|
export { WM_FORK_PREFIX } from "./core/constants.js";
|
|
28
28
|
declare const command: Command<{
|
|
29
29
|
workspace?: (import("../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
|
|
@@ -2244,7 +2244,7 @@ export type EditSchedule = {
|
|
|
2244
2244
|
/**
|
|
2245
2245
|
* job trigger kind (schedule, http, websocket...)
|
|
2246
2246
|
*/
|
|
2247
|
-
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp';
|
|
2247
|
+
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google';
|
|
2248
2248
|
/**
|
|
2249
2249
|
* job trigger mode
|
|
2250
2250
|
*/
|
|
@@ -2604,6 +2604,7 @@ export type TriggersCount = {
|
|
|
2604
2604
|
gcp_count?: number;
|
|
2605
2605
|
sqs_count?: number;
|
|
2606
2606
|
nextcloud_count?: number;
|
|
2607
|
+
google_count?: number;
|
|
2607
2608
|
};
|
|
2608
2609
|
export type WebsocketTrigger = TriggerExtraProperty & {
|
|
2609
2610
|
/**
|
|
@@ -3718,6 +3719,7 @@ export type WorkerPing = {
|
|
|
3718
3719
|
memory_usage?: number;
|
|
3719
3720
|
wm_memory_usage?: number;
|
|
3720
3721
|
job_isolation?: string;
|
|
3722
|
+
native_mode?: boolean;
|
|
3721
3723
|
};
|
|
3722
3724
|
export type UserWorkspaceList = {
|
|
3723
3725
|
email: string;
|
|
@@ -4480,7 +4482,7 @@ export type RuleBypasserGroups = Array<(string)>;
|
|
|
4480
4482
|
* Users that can bypass this ruleset
|
|
4481
4483
|
*/
|
|
4482
4484
|
export type RuleBypasserUsers = Array<(string)>;
|
|
4483
|
-
export type NativeServiceName = 'nextcloud';
|
|
4485
|
+
export type NativeServiceName = 'nextcloud' | 'google';
|
|
4484
4486
|
/**
|
|
4485
4487
|
* A native trigger stored in Windmill
|
|
4486
4488
|
*/
|
|
@@ -4554,6 +4556,10 @@ export type NativeTriggerWithExternal = {
|
|
|
4554
4556
|
export type WorkspaceIntegrations = {
|
|
4555
4557
|
service_name: NativeServiceName;
|
|
4556
4558
|
oauth_data?: (WorkspaceOAuthConfig) | null;
|
|
4559
|
+
/**
|
|
4560
|
+
* Path to the resource storing the OAuth token
|
|
4561
|
+
*/
|
|
4562
|
+
resource_path?: (string) | null;
|
|
4557
4563
|
};
|
|
4558
4564
|
export type WorkspaceOAuthConfig = {
|
|
4559
4565
|
/**
|
|
@@ -4627,6 +4633,25 @@ export type NextCloudEventType = {
|
|
|
4627
4633
|
category?: string;
|
|
4628
4634
|
path: string;
|
|
4629
4635
|
};
|
|
4636
|
+
export type GoogleCalendarEntry = {
|
|
4637
|
+
id: string;
|
|
4638
|
+
summary: string;
|
|
4639
|
+
primary?: boolean;
|
|
4640
|
+
};
|
|
4641
|
+
export type GoogleDriveFile = {
|
|
4642
|
+
id: string;
|
|
4643
|
+
name: string;
|
|
4644
|
+
mime_type: string;
|
|
4645
|
+
is_folder?: boolean;
|
|
4646
|
+
};
|
|
4647
|
+
export type GoogleDriveFilesResponse = {
|
|
4648
|
+
files: Array<GoogleDriveFile>;
|
|
4649
|
+
next_page_token?: string;
|
|
4650
|
+
};
|
|
4651
|
+
export type SharedDriveEntry = {
|
|
4652
|
+
id: string;
|
|
4653
|
+
name: string;
|
|
4654
|
+
};
|
|
4630
4655
|
export type ParameterId = string;
|
|
4631
4656
|
export type ParameterKey = string;
|
|
4632
4657
|
export type ParameterWorkspaceId = string;
|
|
@@ -5984,6 +6009,7 @@ export type GetUsedTriggersResponse = ({
|
|
|
5984
6009
|
sqs_used: boolean;
|
|
5985
6010
|
email_used: boolean;
|
|
5986
6011
|
nextcloud_used: boolean;
|
|
6012
|
+
google_used: boolean;
|
|
5987
6013
|
});
|
|
5988
6014
|
export type ListUsersData = {
|
|
5989
6015
|
workspace: string;
|
|
@@ -10111,19 +10137,36 @@ export type GenerateNativeTriggerServiceConnectUrlData = {
|
|
|
10111
10137
|
workspace: string;
|
|
10112
10138
|
};
|
|
10113
10139
|
export type GenerateNativeTriggerServiceConnectUrlResponse = (string);
|
|
10140
|
+
export type CheckInstanceSharingAvailableData = {
|
|
10141
|
+
serviceName: NativeServiceName;
|
|
10142
|
+
workspace: string;
|
|
10143
|
+
};
|
|
10144
|
+
export type CheckInstanceSharingAvailableResponse = (boolean);
|
|
10145
|
+
export type GenerateInstanceConnectUrlData = {
|
|
10146
|
+
/**
|
|
10147
|
+
* redirect_uri
|
|
10148
|
+
*/
|
|
10149
|
+
requestBody: RedirectUri;
|
|
10150
|
+
serviceName: NativeServiceName;
|
|
10151
|
+
workspace: string;
|
|
10152
|
+
};
|
|
10153
|
+
export type GenerateInstanceConnectUrlResponse = (string);
|
|
10114
10154
|
export type DeleteNativeTriggerServiceData = {
|
|
10115
10155
|
serviceName: NativeServiceName;
|
|
10116
10156
|
workspace: string;
|
|
10117
10157
|
};
|
|
10118
10158
|
export type DeleteNativeTriggerServiceResponse = (string);
|
|
10119
10159
|
export type NativeTriggerServiceCallbackData = {
|
|
10120
|
-
code: string;
|
|
10121
10160
|
/**
|
|
10122
|
-
*
|
|
10161
|
+
* OAuth callback data
|
|
10123
10162
|
*/
|
|
10124
|
-
requestBody:
|
|
10163
|
+
requestBody: {
|
|
10164
|
+
code: string;
|
|
10165
|
+
state: string;
|
|
10166
|
+
redirect_uri: string;
|
|
10167
|
+
resource_path?: string;
|
|
10168
|
+
};
|
|
10125
10169
|
serviceName: NativeServiceName;
|
|
10126
|
-
state: string;
|
|
10127
10170
|
workspace: string;
|
|
10128
10171
|
};
|
|
10129
10172
|
export type NativeTriggerServiceCallbackResponse = (string);
|
|
@@ -10206,6 +10249,34 @@ export type ListNextCloudEventsData = {
|
|
|
10206
10249
|
workspace: string;
|
|
10207
10250
|
};
|
|
10208
10251
|
export type ListNextCloudEventsResponse = (Array<NextCloudEventType>);
|
|
10252
|
+
export type ListGoogleCalendarsData = {
|
|
10253
|
+
workspace: string;
|
|
10254
|
+
};
|
|
10255
|
+
export type ListGoogleCalendarsResponse = (Array<GoogleCalendarEntry>);
|
|
10256
|
+
export type ListGoogleDriveFilesData = {
|
|
10257
|
+
/**
|
|
10258
|
+
* token for next page of results
|
|
10259
|
+
*/
|
|
10260
|
+
pageToken?: string;
|
|
10261
|
+
/**
|
|
10262
|
+
* folder ID to list children of
|
|
10263
|
+
*/
|
|
10264
|
+
parentId?: string;
|
|
10265
|
+
/**
|
|
10266
|
+
* search query to filter files by name
|
|
10267
|
+
*/
|
|
10268
|
+
q?: string;
|
|
10269
|
+
/**
|
|
10270
|
+
* if true, list files shared with the user
|
|
10271
|
+
*/
|
|
10272
|
+
sharedWithMe?: boolean;
|
|
10273
|
+
workspace: string;
|
|
10274
|
+
};
|
|
10275
|
+
export type ListGoogleDriveFilesResponse = (GoogleDriveFilesResponse);
|
|
10276
|
+
export type ListGoogleSharedDrivesData = {
|
|
10277
|
+
workspace: string;
|
|
10278
|
+
};
|
|
10279
|
+
export type ListGoogleSharedDrivesResponse = (Array<SharedDriveEntry>);
|
|
10209
10280
|
export type NativeTriggerWebhookData = {
|
|
10210
10281
|
/**
|
|
10211
10282
|
* The internal database ID of the trigger
|