windmill-client 1.846.1 → 1.848.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 +111 -12
- package/dist/services.gen.d.ts +58 -7
- package/dist/services.gen.mjs +110 -11
- package/dist/types.gen.d.ts +338 -28
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1497,6 +1497,39 @@ export type EditErrorHandlerLegacy = {
|
|
|
1497
1497
|
error_handler_extra_args?: ScriptArgs;
|
|
1498
1498
|
error_handler_muted_on_cancel?: boolean;
|
|
1499
1499
|
};
|
|
1500
|
+
/**
|
|
1501
|
+
* Request body for editing the workspace variable expiration handler. Omit `path` (or send null) to unset the handler.
|
|
1502
|
+
*
|
|
1503
|
+
*/
|
|
1504
|
+
export type EditVariableExpirationHandler = {
|
|
1505
|
+
/**
|
|
1506
|
+
* Path to the variable expiration handler script or flow
|
|
1507
|
+
*/
|
|
1508
|
+
path?: string | null;
|
|
1509
|
+
extra_args?: ScriptArgs;
|
|
1510
|
+
/**
|
|
1511
|
+
* Do not run the handler for variables on a personal (u/) path
|
|
1512
|
+
*/
|
|
1513
|
+
muted_on_user_path?: boolean;
|
|
1514
|
+
/**
|
|
1515
|
+
* How long before a variable's value expires the handler runs. 1 day when omitted.
|
|
1516
|
+
*/
|
|
1517
|
+
notify_before_secs?: number;
|
|
1518
|
+
/**
|
|
1519
|
+
* Run the handler again at this interval until the value expires. No reminders when omitted or 0.
|
|
1520
|
+
*/
|
|
1521
|
+
remind_every_secs?: number;
|
|
1522
|
+
};
|
|
1523
|
+
/**
|
|
1524
|
+
* Workspace variable expiration handler configuration
|
|
1525
|
+
*/
|
|
1526
|
+
export type VariableExpirationHandlerConfig = {
|
|
1527
|
+
path?: string;
|
|
1528
|
+
extra_args?: ScriptArgs;
|
|
1529
|
+
muted_on_user_path?: boolean;
|
|
1530
|
+
notify_before_secs?: number;
|
|
1531
|
+
remind_every_secs?: number;
|
|
1532
|
+
};
|
|
1500
1533
|
/**
|
|
1501
1534
|
* Request body for editing the workspace success handler. Accepts both new grouped format and legacy flat format for backward compatibility.
|
|
1502
1535
|
*/
|
|
@@ -3031,6 +3064,7 @@ export type ListableVariable = {
|
|
|
3031
3064
|
is_linked?: boolean;
|
|
3032
3065
|
is_refreshed?: boolean;
|
|
3033
3066
|
expires_at?: string;
|
|
3067
|
+
value_valid_until?: string | null;
|
|
3034
3068
|
labels?: Array<(string)>;
|
|
3035
3069
|
/**
|
|
3036
3070
|
* Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
|
|
@@ -3078,7 +3112,8 @@ export type CreateVariable = {
|
|
|
3078
3112
|
*/
|
|
3079
3113
|
description: string;
|
|
3080
3114
|
/**
|
|
3081
|
-
*
|
|
3115
|
+
* Ignored. A variable is linked to an OAuth account only when `createAccount` creates both.
|
|
3116
|
+
* @deprecated
|
|
3082
3117
|
*/
|
|
3083
3118
|
account?: number;
|
|
3084
3119
|
/**
|
|
@@ -3086,9 +3121,15 @@ export type CreateVariable = {
|
|
|
3086
3121
|
*/
|
|
3087
3122
|
is_oauth?: boolean;
|
|
3088
3123
|
/**
|
|
3089
|
-
*
|
|
3124
|
+
* When to garbage-collect the variable. Used for ephemeral secrets; the variable is deleted once this is reached. Not the value's expiry — see value_valid_until.
|
|
3125
|
+
*
|
|
3090
3126
|
*/
|
|
3091
3127
|
expires_at?: string;
|
|
3128
|
+
/**
|
|
3129
|
+
* When the value stored in this variable stops working. Triggers the workspace's variable expiration handler ahead of it, by the handler's `notify_before_secs` (1 day by default); never causes the variable to be deleted.
|
|
3130
|
+
*
|
|
3131
|
+
*/
|
|
3132
|
+
value_valid_until?: string;
|
|
3092
3133
|
labels?: Array<(string)>;
|
|
3093
3134
|
ws_specific?: boolean;
|
|
3094
3135
|
};
|
|
@@ -3109,6 +3150,11 @@ export type EditVariable = {
|
|
|
3109
3150
|
* The new description of the variable
|
|
3110
3151
|
*/
|
|
3111
3152
|
description?: string;
|
|
3153
|
+
/**
|
|
3154
|
+
* When the value stored in this variable stops working. Omit to leave it unchanged; send null to clear it. Changing it re-arms the workspace's variable expiration handler.
|
|
3155
|
+
*
|
|
3156
|
+
*/
|
|
3157
|
+
value_valid_until?: string | null;
|
|
3112
3158
|
labels?: Array<(string)>;
|
|
3113
3159
|
ws_specific?: boolean;
|
|
3114
3160
|
};
|
|
@@ -3117,7 +3163,7 @@ export type AuditLog = {
|
|
|
3117
3163
|
id: number;
|
|
3118
3164
|
timestamp: string;
|
|
3119
3165
|
username: string;
|
|
3120
|
-
operation: 'jobs.run' | 'jobs.run.script' | 'jobs.run.preview' | 'jobs.run.flow' | 'jobs.run.flow_preview' | 'jobs.run.script_hub' | 'jobs.run.dependencies' | 'jobs.run.identity' | 'jobs.run.noop' | 'jobs.flow_dependencies' | 'jobs' | 'jobs.cancel' | 'jobs.force_cancel' | 'jobs.run_now' | 'jobs.disapproval' | 'jobs.delete' | 'account.delete' | 'ai.request' | 'resources.create' | 'resources.update' | 'resources.delete' | 'resource_types.create' | 'resource_types.update' | 'resource_types.delete' | 'resource_types.sync' | 'schedule.create' | 'schedule.setenabled' | 'schedule.edit' | 'schedule.delete' | 'scripts.create' | 'scripts.update' | 'scripts.archive' | 'scripts.delete' | 'users.create' | 'users.delete' | 'users.update' | 'users.login' | 'users.login_failure' | 'users.logout' | 'users.accept_invite' | 'users.decline_invite' | 'users.token.create' | 'users.token.delete' | 'users.add_to_workspace' | 'users.add_global' | 'users.setpassword' | 'users.impersonate' | 'users.leave_workspace' | 'oauth.login' | 'oauth.login_failure' | 'oauth.signup' | 'variables.create' | 'variables.delete' | 'variables.update' | 'flows.create' | 'flows.update' | 'flows.delete' | 'flows.archive' | 'apps.create' | 'apps.update' | 'apps.delete' | 'folder.create' | 'folder.update' | 'folder.delete' | 'folder.add_owner' | 'folder.remove_owner' | 'group.create' | 'group.delete' | 'group.edit' | 'group.adduser' | 'group.removeuser' | 'igroup.create' | 'igroup.delete' | 'igroup.adduser' | 'igroup.removeuser' | 'instance_groups.jit_adduser' | 'instance_groups.jit_removeuser' | 'variables.decrypt_secret' | 'workspaces.read_encryption_key' | 'workspaces.edit_command_script' | 'workspaces.edit_deploy_to' | 'workspaces.edit_auto_invite_domain' | 'workspaces.edit_webhook' | 'workspaces.edit_copilot_config' | 'workspaces.edit_error_handler' | 'workspaces.create' | 'workspaces.update' | 'workspaces.archive' | 'workspaces.unarchive' | 'workspaces.delete';
|
|
3166
|
+
operation: 'jobs.run' | 'jobs.run.script' | 'jobs.run.preview' | 'jobs.run.flow' | 'jobs.run.flow_preview' | 'jobs.run.script_hub' | 'jobs.run.dependencies' | 'jobs.run.identity' | 'jobs.run.noop' | 'jobs.flow_dependencies' | 'jobs' | 'jobs.cancel' | 'jobs.force_cancel' | 'jobs.run_now' | 'jobs.disapproval' | 'jobs.delete' | 'account.delete' | 'ai.request' | 'resources.create' | 'resources.update' | 'resources.delete' | 'resource_types.create' | 'resource_types.update' | 'resource_types.delete' | 'resource_types.sync' | 'schedule.create' | 'schedule.setenabled' | 'schedule.edit' | 'schedule.delete' | 'scripts.create' | 'scripts.update' | 'scripts.archive' | 'scripts.delete' | 'users.create' | 'users.delete' | 'users.update' | 'users.login' | 'users.login_failure' | 'users.logout' | 'users.accept_invite' | 'users.decline_invite' | 'users.token.create' | 'users.token.delete' | 'users.add_to_workspace' | 'users.add_global' | 'users.setpassword' | 'users.impersonate' | 'users.leave_workspace' | 'oauth.login' | 'oauth.login_failure' | 'oauth.signup' | 'variables.create' | 'variables.delete' | 'variables.update' | 'flows.create' | 'flows.update' | 'flows.delete' | 'flows.archive' | 'apps.create' | 'apps.update' | 'apps.delete' | 'folder.create' | 'folder.update' | 'folder.delete' | 'folder.add_owner' | 'folder.remove_owner' | 'group.create' | 'group.delete' | 'group.edit' | 'group.adduser' | 'group.removeuser' | 'igroup.create' | 'igroup.delete' | 'igroup.adduser' | 'igroup.removeuser' | 'instance_groups.jit_adduser' | 'instance_groups.jit_removeuser' | 'variables.decrypt_secret' | 'workspaces.read_encryption_key' | 'workspaces.edit_command_script' | 'workspaces.edit_deploy_to' | 'workspaces.edit_auto_invite_domain' | 'workspaces.edit_webhook' | 'workspaces.edit_copilot_config' | 'workspaces.edit_error_handler' | 'workspaces.edit_variable_expiration_handler' | 'workspaces.create' | 'workspaces.update' | 'workspaces.archive' | 'workspaces.unarchive' | 'workspaces.delete';
|
|
3121
3167
|
action_kind: 'Created' | 'Updated' | 'Delete' | 'Execute';
|
|
3122
3168
|
resource?: string;
|
|
3123
3169
|
parameters?: {
|
|
@@ -6507,6 +6553,13 @@ export type TokenResponse = {
|
|
|
6507
6553
|
refresh_token?: string;
|
|
6508
6554
|
scope?: Array<(string)>;
|
|
6509
6555
|
grant_type?: string;
|
|
6556
|
+
/**
|
|
6557
|
+
* Resource fields the provider's `connect_fields` picked on connect (Salesforce's instance_url, Docusign's account_id and base_uri, QuickBooks' realmId), for the connect dialog to prefill.
|
|
6558
|
+
*
|
|
6559
|
+
*/
|
|
6560
|
+
resource_fields?: {
|
|
6561
|
+
[key: string]: unknown;
|
|
6562
|
+
};
|
|
6510
6563
|
};
|
|
6511
6564
|
export type HubScriptKind = 'script' | 'failure' | 'trigger' | 'approval';
|
|
6512
6565
|
export type PolarsClientKwargs = {
|
|
@@ -7651,6 +7704,10 @@ export type NativeTrigger = {
|
|
|
7651
7704
|
* Whether the trigger starts a job when it fires
|
|
7652
7705
|
*/
|
|
7653
7706
|
enabled: boolean;
|
|
7707
|
+
/**
|
|
7708
|
+
* Path of the connection the trigger acts through on the external service
|
|
7709
|
+
*/
|
|
7710
|
+
connection_path?: string | null;
|
|
7654
7711
|
};
|
|
7655
7712
|
/**
|
|
7656
7713
|
* Full trigger response containing both Windmill data and external service data
|
|
@@ -7691,6 +7748,10 @@ export type NativeTriggerWithExternal = {
|
|
|
7691
7748
|
* Whether the trigger starts a job when it fires
|
|
7692
7749
|
*/
|
|
7693
7750
|
enabled: boolean;
|
|
7751
|
+
/**
|
|
7752
|
+
* Path of the connection the trigger acts through on the external service
|
|
7753
|
+
*/
|
|
7754
|
+
connection_path?: string | null;
|
|
7694
7755
|
/**
|
|
7695
7756
|
* Configuration data from the external service. Null when the service has no such API, or when it could not be read — see external_error.
|
|
7696
7757
|
*/
|
|
@@ -7705,10 +7766,6 @@ export type NativeTriggerWithExternal = {
|
|
|
7705
7766
|
export type WorkspaceIntegrations = {
|
|
7706
7767
|
service_name: NativeServiceName;
|
|
7707
7768
|
oauth_data?: WorkspaceOAuthConfig | null;
|
|
7708
|
-
/**
|
|
7709
|
-
* Path to the resource storing the OAuth token
|
|
7710
|
-
*/
|
|
7711
|
-
resource_path?: string | null;
|
|
7712
7769
|
};
|
|
7713
7770
|
export type WorkspaceOAuthConfig = {
|
|
7714
7771
|
/**
|
|
@@ -7736,9 +7793,6 @@ export type WebhookEvent = {
|
|
|
7736
7793
|
* The type of webhook request (define possible values here)
|
|
7737
7794
|
*/
|
|
7738
7795
|
export type WebhookRequestType = 'async' | 'sync';
|
|
7739
|
-
export type RedirectUri = {
|
|
7740
|
-
redirect_uri: string;
|
|
7741
|
-
};
|
|
7742
7796
|
/**
|
|
7743
7797
|
* Data for creating or updating a native trigger
|
|
7744
7798
|
*/
|
|
@@ -7765,6 +7819,27 @@ export type NativeTriggerData = {
|
|
|
7765
7819
|
* Whether the trigger starts a job when it fires. Honoured on create only, so a trigger can be registered already paused; an update ignores it and setenabled is the only way to change an existing trigger's state. Defaults to true.
|
|
7766
7820
|
*/
|
|
7767
7821
|
enabled?: boolean;
|
|
7822
|
+
/**
|
|
7823
|
+
* Path of the connection the trigger acts through. Honoured on create only; an update keeps the trigger's connection. When omitted on create, the caller's only usable connection for the service is used.
|
|
7824
|
+
*/
|
|
7825
|
+
connection_path?: string | null;
|
|
7826
|
+
};
|
|
7827
|
+
/**
|
|
7828
|
+
* An account connected for native triggers, stored as an OAuth resource
|
|
7829
|
+
*/
|
|
7830
|
+
export type NativeTriggerConnection = {
|
|
7831
|
+
/**
|
|
7832
|
+
* Path of the resource and variable holding the connection
|
|
7833
|
+
*/
|
|
7834
|
+
path: string;
|
|
7835
|
+
/**
|
|
7836
|
+
* Username of whoever connected the account, when the caller can read its resource
|
|
7837
|
+
*/
|
|
7838
|
+
owner?: string | null;
|
|
7839
|
+
/**
|
|
7840
|
+
* Whether this is the workspace connection, which every member may use
|
|
7841
|
+
*/
|
|
7842
|
+
workspace: boolean;
|
|
7768
7843
|
};
|
|
7769
7844
|
/**
|
|
7770
7845
|
* Response returned when a native trigger is created
|
|
@@ -9268,6 +9343,7 @@ export type GetSettingsResponse = {
|
|
|
9268
9343
|
ai_config?: AIConfig;
|
|
9269
9344
|
error_handler?: ErrorHandlerConfig;
|
|
9270
9345
|
success_handler?: SuccessHandlerConfig;
|
|
9346
|
+
variable_expiration_handler?: VariableExpirationHandlerConfig;
|
|
9271
9347
|
large_file_storage?: LargeFileStorage;
|
|
9272
9348
|
ducklake?: DucklakeSettings;
|
|
9273
9349
|
dbt_warehouses?: DbtWarehouses;
|
|
@@ -9442,6 +9518,10 @@ export type GetWorkspaceSlackOauthConfigResponse = {
|
|
|
9442
9518
|
* Masked with *** if set
|
|
9443
9519
|
*/
|
|
9444
9520
|
slack_oauth_client_secret?: string | null;
|
|
9521
|
+
/**
|
|
9522
|
+
* Masked with *** if set
|
|
9523
|
+
*/
|
|
9524
|
+
slack_signing_secret?: string | null;
|
|
9445
9525
|
};
|
|
9446
9526
|
export type SetWorkspaceSlackOauthConfigData = {
|
|
9447
9527
|
/**
|
|
@@ -9458,6 +9538,16 @@ export type DeleteWorkspaceSlackOauthConfigData = {
|
|
|
9458
9538
|
workspace: string;
|
|
9459
9539
|
};
|
|
9460
9540
|
export type DeleteWorkspaceSlackOauthConfigResponse = string;
|
|
9541
|
+
export type SetWorkspaceSlackSigningSecretData = {
|
|
9542
|
+
/**
|
|
9543
|
+
* The Slack app's signing secret, null or empty to remove it
|
|
9544
|
+
*/
|
|
9545
|
+
requestBody: {
|
|
9546
|
+
slack_signing_secret?: string | null;
|
|
9547
|
+
};
|
|
9548
|
+
workspace: string;
|
|
9549
|
+
};
|
|
9550
|
+
export type SetWorkspaceSlackSigningSecretResponse = string;
|
|
9461
9551
|
export type EditTeamsCommandData = {
|
|
9462
9552
|
/**
|
|
9463
9553
|
* WorkspaceInvite
|
|
@@ -9675,6 +9765,14 @@ export type EditErrorHandlerData = {
|
|
|
9675
9765
|
workspace: string;
|
|
9676
9766
|
};
|
|
9677
9767
|
export type EditErrorHandlerResponse = string;
|
|
9768
|
+
export type EditVariableExpirationHandlerData = {
|
|
9769
|
+
/**
|
|
9770
|
+
* WorkspaceVariableExpirationHandler
|
|
9771
|
+
*/
|
|
9772
|
+
requestBody: EditVariableExpirationHandler;
|
|
9773
|
+
workspace: string;
|
|
9774
|
+
};
|
|
9775
|
+
export type EditVariableExpirationHandlerResponse = string;
|
|
9678
9776
|
export type EditSuccessHandlerData = {
|
|
9679
9777
|
/**
|
|
9680
9778
|
* WorkspaceSuccessHandler
|
|
@@ -11102,6 +11200,12 @@ export type ConnectCallbackData = {
|
|
|
11102
11200
|
requestBody: {
|
|
11103
11201
|
code: string;
|
|
11104
11202
|
state: string;
|
|
11203
|
+
/**
|
|
11204
|
+
* The callback URL's other query params, which the provider's `connect_fields` may read (QuickBooks' `realmId`)
|
|
11205
|
+
*/
|
|
11206
|
+
params?: {
|
|
11207
|
+
[key: string]: (string);
|
|
11208
|
+
};
|
|
11105
11209
|
};
|
|
11106
11210
|
};
|
|
11107
11211
|
export type ConnectCallbackResponse = TokenResponse;
|
|
@@ -11141,6 +11245,10 @@ export type CreateAccountData = {
|
|
|
11141
11245
|
* OAuth scopes to use for token refresh. Overrides instance-level scopes.
|
|
11142
11246
|
*/
|
|
11143
11247
|
scopes?: Array<(string)>;
|
|
11248
|
+
/**
|
|
11249
|
+
* The variable holding this account's access token. It is created with the account, in one transaction and with the same checks as createVariable, and linked to it so it refreshes through it.
|
|
11250
|
+
*/
|
|
11251
|
+
variable?: CreateVariable;
|
|
11144
11252
|
};
|
|
11145
11253
|
workspace: string;
|
|
11146
11254
|
};
|
|
@@ -12341,6 +12449,10 @@ export type UpdateAppData = {
|
|
|
12341
12449
|
summary?: string;
|
|
12342
12450
|
value?: unknown;
|
|
12343
12451
|
policy?: Policy;
|
|
12452
|
+
/**
|
|
12453
|
+
* Changes who may open the app and leaves the rest of the deployed policy, its run-as user included, as it is. Applied under the same lock as a deploy, so neither overwrites the other. Cannot be sent with `policy`, which states its own mode. When the app runs as another user, refused to a caller who is neither an admin nor in 'wm_deployers', and to an operator with builder rights even in 'wm_deployers'; they change the mode by deploying.
|
|
12454
|
+
*/
|
|
12455
|
+
execution_mode?: 'viewer' | 'publisher' | 'guest' | 'anonymous';
|
|
12344
12456
|
deployment_message?: string;
|
|
12345
12457
|
custom_path?: string;
|
|
12346
12458
|
/**
|
|
@@ -14522,6 +14634,12 @@ export type RunAgentData = {
|
|
|
14522
14634
|
requestBody: {
|
|
14523
14635
|
user_message?: string;
|
|
14524
14636
|
user_attachments?: Array<unknown>;
|
|
14637
|
+
/**
|
|
14638
|
+
* The history to answer from, as chat messages, when the agent's memory is off.
|
|
14639
|
+
* An agent with managed memory reads its conversation instead and ignores this.
|
|
14640
|
+
*
|
|
14641
|
+
*/
|
|
14642
|
+
previous_messages?: Array<unknown>;
|
|
14525
14643
|
};
|
|
14526
14644
|
workspace: string;
|
|
14527
14645
|
};
|
|
@@ -17338,9 +17456,12 @@ export type CreateNativeTriggerServiceData = {
|
|
|
17338
17456
|
export type CreateNativeTriggerServiceResponse = string;
|
|
17339
17457
|
export type GenerateNativeTriggerServiceConnectUrlData = {
|
|
17340
17458
|
/**
|
|
17341
|
-
* redirect_uri
|
|
17459
|
+
* redirect_uri, and 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.
|
|
17342
17460
|
*/
|
|
17343
|
-
requestBody:
|
|
17461
|
+
requestBody: {
|
|
17462
|
+
redirect_uri: string;
|
|
17463
|
+
resource_path?: string;
|
|
17464
|
+
};
|
|
17344
17465
|
serviceName: NativeServiceName;
|
|
17345
17466
|
workspace: string;
|
|
17346
17467
|
};
|
|
@@ -17350,15 +17471,28 @@ export type CheckInstanceSharingAvailableData = {
|
|
|
17350
17471
|
workspace: string;
|
|
17351
17472
|
};
|
|
17352
17473
|
export type CheckInstanceSharingAvailableResponse = boolean;
|
|
17353
|
-
export type
|
|
17354
|
-
/**
|
|
17355
|
-
* redirect_uri
|
|
17356
|
-
*/
|
|
17357
|
-
requestBody: RedirectUri;
|
|
17474
|
+
export type ListNativeTriggerConnectionsData = {
|
|
17358
17475
|
serviceName: NativeServiceName;
|
|
17359
17476
|
workspace: string;
|
|
17360
17477
|
};
|
|
17361
|
-
export type
|
|
17478
|
+
export type ListNativeTriggerConnectionsResponse = Array<NativeTriggerConnection>;
|
|
17479
|
+
export type DeleteNativeTriggerConnectionData = {
|
|
17480
|
+
path: string;
|
|
17481
|
+
serviceName: NativeServiceName;
|
|
17482
|
+
workspace: string;
|
|
17483
|
+
};
|
|
17484
|
+
export type DeleteNativeTriggerConnectionResponse = string;
|
|
17485
|
+
export type SetNativeTriggerWorkspaceConnectionData = {
|
|
17486
|
+
requestBody: {
|
|
17487
|
+
/**
|
|
17488
|
+
* The connection to share, or null to stop sharing
|
|
17489
|
+
*/
|
|
17490
|
+
path?: string | null;
|
|
17491
|
+
};
|
|
17492
|
+
serviceName: NativeServiceName;
|
|
17493
|
+
workspace: string;
|
|
17494
|
+
};
|
|
17495
|
+
export type SetNativeTriggerWorkspaceConnectionResponse = string;
|
|
17362
17496
|
export type DeleteNativeTriggerServiceData = {
|
|
17363
17497
|
serviceName: NativeServiceName;
|
|
17364
17498
|
workspace: string;
|
|
@@ -17372,7 +17506,6 @@ export type NativeTriggerServiceCallbackData = {
|
|
|
17372
17506
|
code: string;
|
|
17373
17507
|
state: string;
|
|
17374
17508
|
redirect_uri: string;
|
|
17375
|
-
resource_path?: string;
|
|
17376
17509
|
};
|
|
17377
17510
|
serviceName: NativeServiceName;
|
|
17378
17511
|
workspace: string;
|
|
@@ -17482,14 +17615,26 @@ export type SyncNativeTriggersData = {
|
|
|
17482
17615
|
};
|
|
17483
17616
|
export type SyncNativeTriggersResponse = unknown;
|
|
17484
17617
|
export type ListNextCloudEventsData = {
|
|
17618
|
+
/**
|
|
17619
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
17620
|
+
*/
|
|
17621
|
+
connectionPath?: string;
|
|
17485
17622
|
workspace: string;
|
|
17486
17623
|
};
|
|
17487
17624
|
export type ListNextCloudEventsResponse = Array<NextCloudEventType>;
|
|
17488
17625
|
export type ListGoogleCalendarsData = {
|
|
17626
|
+
/**
|
|
17627
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
17628
|
+
*/
|
|
17629
|
+
connectionPath?: string;
|
|
17489
17630
|
workspace: string;
|
|
17490
17631
|
};
|
|
17491
17632
|
export type ListGoogleCalendarsResponse = Array<GoogleCalendarEntry>;
|
|
17492
17633
|
export type ListGoogleDriveFilesData = {
|
|
17634
|
+
/**
|
|
17635
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
17636
|
+
*/
|
|
17637
|
+
connectionPath?: string;
|
|
17493
17638
|
/**
|
|
17494
17639
|
* token for next page of results
|
|
17495
17640
|
*/
|
|
@@ -17510,10 +17655,18 @@ export type ListGoogleDriveFilesData = {
|
|
|
17510
17655
|
};
|
|
17511
17656
|
export type ListGoogleDriveFilesResponse = GoogleDriveFilesResponse;
|
|
17512
17657
|
export type ListGoogleSharedDrivesData = {
|
|
17658
|
+
/**
|
|
17659
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
17660
|
+
*/
|
|
17661
|
+
connectionPath?: string;
|
|
17513
17662
|
workspace: string;
|
|
17514
17663
|
};
|
|
17515
17664
|
export type ListGoogleSharedDrivesResponse = Array<SharedDriveEntry>;
|
|
17516
17665
|
export type ListGithubReposData = {
|
|
17666
|
+
/**
|
|
17667
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
17668
|
+
*/
|
|
17669
|
+
connectionPath?: string;
|
|
17517
17670
|
workspace: string;
|
|
17518
17671
|
};
|
|
17519
17672
|
export type ListGithubReposResponse = Array<GithubRepoEntry>;
|
|
@@ -18571,6 +18724,23 @@ export type ListAutoscalingEventsData = {
|
|
|
18571
18724
|
workerGroup: string;
|
|
18572
18725
|
};
|
|
18573
18726
|
export type ListAutoscalingEventsResponse = Array<AutoscalingEvent>;
|
|
18727
|
+
export type TestAutoscalingData = {
|
|
18728
|
+
requestBody: {
|
|
18729
|
+
desired_workers: number;
|
|
18730
|
+
/**
|
|
18731
|
+
* The integration to run, as in the worker group's autoscaling config
|
|
18732
|
+
*/
|
|
18733
|
+
integration: {
|
|
18734
|
+
type: 'script' | 'kubernetes' | 'dryrun';
|
|
18735
|
+
path?: string;
|
|
18736
|
+
tag?: string;
|
|
18737
|
+
};
|
|
18738
|
+
};
|
|
18739
|
+
workerGroup: string;
|
|
18740
|
+
};
|
|
18741
|
+
export type TestAutoscalingResponse = {
|
|
18742
|
+
job_id?: string | null;
|
|
18743
|
+
};
|
|
18574
18744
|
export type NativeKubernetesAutoscalingHealthcheckResponse = unknown;
|
|
18575
18745
|
export type ListAvailablePythonVersionsResponse = Array<(string)>;
|
|
18576
18746
|
export type ListAllWorkspaceDependenciesResponse = Array<{
|
|
@@ -22197,6 +22367,7 @@ export type $OpenApiTs = {
|
|
|
22197
22367
|
ai_config?: AIConfig;
|
|
22198
22368
|
error_handler?: ErrorHandlerConfig;
|
|
22199
22369
|
success_handler?: SuccessHandlerConfig;
|
|
22370
|
+
variable_expiration_handler?: VariableExpirationHandlerConfig;
|
|
22200
22371
|
large_file_storage?: LargeFileStorage;
|
|
22201
22372
|
ducklake?: DucklakeSettings;
|
|
22202
22373
|
dbt_warehouses?: DbtWarehouses;
|
|
@@ -22520,6 +22691,10 @@ export type $OpenApiTs = {
|
|
|
22520
22691
|
* Masked with *** if set
|
|
22521
22692
|
*/
|
|
22522
22693
|
slack_oauth_client_secret?: string | null;
|
|
22694
|
+
/**
|
|
22695
|
+
* Masked with *** if set
|
|
22696
|
+
*/
|
|
22697
|
+
slack_signing_secret?: string | null;
|
|
22523
22698
|
};
|
|
22524
22699
|
};
|
|
22525
22700
|
};
|
|
@@ -22553,6 +22728,25 @@ export type $OpenApiTs = {
|
|
|
22553
22728
|
};
|
|
22554
22729
|
};
|
|
22555
22730
|
};
|
|
22731
|
+
'/w/{workspace}/workspaces/slack_signing_secret': {
|
|
22732
|
+
post: {
|
|
22733
|
+
req: {
|
|
22734
|
+
/**
|
|
22735
|
+
* The Slack app's signing secret, null or empty to remove it
|
|
22736
|
+
*/
|
|
22737
|
+
requestBody: {
|
|
22738
|
+
slack_signing_secret?: string | null;
|
|
22739
|
+
};
|
|
22740
|
+
workspace: string;
|
|
22741
|
+
};
|
|
22742
|
+
res: {
|
|
22743
|
+
/**
|
|
22744
|
+
* status
|
|
22745
|
+
*/
|
|
22746
|
+
200: string;
|
|
22747
|
+
};
|
|
22748
|
+
};
|
|
22749
|
+
};
|
|
22556
22750
|
'/w/{workspace}/workspaces/edit_teams_command': {
|
|
22557
22751
|
post: {
|
|
22558
22752
|
req: {
|
|
@@ -22912,6 +23106,23 @@ export type $OpenApiTs = {
|
|
|
22912
23106
|
};
|
|
22913
23107
|
};
|
|
22914
23108
|
};
|
|
23109
|
+
'/w/{workspace}/workspaces/edit_variable_expiration_handler': {
|
|
23110
|
+
post: {
|
|
23111
|
+
req: {
|
|
23112
|
+
/**
|
|
23113
|
+
* WorkspaceVariableExpirationHandler
|
|
23114
|
+
*/
|
|
23115
|
+
requestBody: EditVariableExpirationHandler;
|
|
23116
|
+
workspace: string;
|
|
23117
|
+
};
|
|
23118
|
+
res: {
|
|
23119
|
+
/**
|
|
23120
|
+
* status
|
|
23121
|
+
*/
|
|
23122
|
+
200: string;
|
|
23123
|
+
};
|
|
23124
|
+
};
|
|
23125
|
+
};
|
|
22915
23126
|
'/w/{workspace}/workspaces/edit_success_handler': {
|
|
22916
23127
|
post: {
|
|
22917
23128
|
req: {
|
|
@@ -25742,6 +25953,12 @@ export type $OpenApiTs = {
|
|
|
25742
25953
|
requestBody: {
|
|
25743
25954
|
code: string;
|
|
25744
25955
|
state: string;
|
|
25956
|
+
/**
|
|
25957
|
+
* The callback URL's other query params, which the provider's `connect_fields` may read (QuickBooks' `realmId`)
|
|
25958
|
+
*/
|
|
25959
|
+
params?: {
|
|
25960
|
+
[key: string]: (string);
|
|
25961
|
+
};
|
|
25745
25962
|
};
|
|
25746
25963
|
};
|
|
25747
25964
|
res: {
|
|
@@ -25790,6 +26007,10 @@ export type $OpenApiTs = {
|
|
|
25790
26007
|
* OAuth scopes to use for token refresh. Overrides instance-level scopes.
|
|
25791
26008
|
*/
|
|
25792
26009
|
scopes?: Array<(string)>;
|
|
26010
|
+
/**
|
|
26011
|
+
* The variable holding this account's access token. It is created with the account, in one transaction and with the same checks as createVariable, and linked to it so it refreshes through it.
|
|
26012
|
+
*/
|
|
26013
|
+
variable?: CreateVariable;
|
|
25793
26014
|
};
|
|
25794
26015
|
workspace: string;
|
|
25795
26016
|
};
|
|
@@ -27872,6 +28093,10 @@ export type $OpenApiTs = {
|
|
|
27872
28093
|
summary?: string;
|
|
27873
28094
|
value?: unknown;
|
|
27874
28095
|
policy?: Policy;
|
|
28096
|
+
/**
|
|
28097
|
+
* Changes who may open the app and leaves the rest of the deployed policy, its run-as user included, as it is. Applied under the same lock as a deploy, so neither overwrites the other. Cannot be sent with `policy`, which states its own mode. When the app runs as another user, refused to a caller who is neither an admin nor in 'wm_deployers', and to an operator with builder rights even in 'wm_deployers'; they change the mode by deploying.
|
|
28098
|
+
*/
|
|
28099
|
+
execution_mode?: 'viewer' | 'publisher' | 'guest' | 'anonymous';
|
|
27875
28100
|
deployment_message?: string;
|
|
27876
28101
|
custom_path?: string;
|
|
27877
28102
|
/**
|
|
@@ -31092,6 +31317,12 @@ export type $OpenApiTs = {
|
|
|
31092
31317
|
requestBody: {
|
|
31093
31318
|
user_message?: string;
|
|
31094
31319
|
user_attachments?: Array<unknown>;
|
|
31320
|
+
/**
|
|
31321
|
+
* The history to answer from, as chat messages, when the agent's memory is off.
|
|
31322
|
+
* An agent with managed memory reads its conversation instead and ignores this.
|
|
31323
|
+
*
|
|
31324
|
+
*/
|
|
31325
|
+
previous_messages?: Array<unknown>;
|
|
31095
31326
|
};
|
|
31096
31327
|
workspace: string;
|
|
31097
31328
|
};
|
|
@@ -35458,9 +35689,12 @@ export type $OpenApiTs = {
|
|
|
35458
35689
|
post: {
|
|
35459
35690
|
req: {
|
|
35460
35691
|
/**
|
|
35461
|
-
* redirect_uri
|
|
35692
|
+
* redirect_uri, and 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.
|
|
35462
35693
|
*/
|
|
35463
|
-
requestBody:
|
|
35694
|
+
requestBody: {
|
|
35695
|
+
redirect_uri: string;
|
|
35696
|
+
resource_path?: string;
|
|
35697
|
+
};
|
|
35464
35698
|
serviceName: NativeServiceName;
|
|
35465
35699
|
workspace: string;
|
|
35466
35700
|
};
|
|
@@ -35486,19 +35720,50 @@ export type $OpenApiTs = {
|
|
|
35486
35720
|
};
|
|
35487
35721
|
};
|
|
35488
35722
|
};
|
|
35489
|
-
'/w/{workspace}/native_triggers/integrations/{service_name}/
|
|
35490
|
-
|
|
35723
|
+
'/w/{workspace}/native_triggers/integrations/{service_name}/connections': {
|
|
35724
|
+
get: {
|
|
35491
35725
|
req: {
|
|
35726
|
+
serviceName: NativeServiceName;
|
|
35727
|
+
workspace: string;
|
|
35728
|
+
};
|
|
35729
|
+
res: {
|
|
35730
|
+
/**
|
|
35731
|
+
* connections
|
|
35732
|
+
*/
|
|
35733
|
+
200: Array<NativeTriggerConnection>;
|
|
35734
|
+
};
|
|
35735
|
+
};
|
|
35736
|
+
};
|
|
35737
|
+
'/w/{workspace}/native_triggers/integrations/{service_name}/connections/delete': {
|
|
35738
|
+
delete: {
|
|
35739
|
+
req: {
|
|
35740
|
+
path: string;
|
|
35741
|
+
serviceName: NativeServiceName;
|
|
35742
|
+
workspace: string;
|
|
35743
|
+
};
|
|
35744
|
+
res: {
|
|
35492
35745
|
/**
|
|
35493
|
-
*
|
|
35746
|
+
* connection deleted
|
|
35494
35747
|
*/
|
|
35495
|
-
|
|
35748
|
+
200: string;
|
|
35749
|
+
};
|
|
35750
|
+
};
|
|
35751
|
+
};
|
|
35752
|
+
'/w/{workspace}/native_triggers/integrations/{service_name}/workspace_connection': {
|
|
35753
|
+
post: {
|
|
35754
|
+
req: {
|
|
35755
|
+
requestBody: {
|
|
35756
|
+
/**
|
|
35757
|
+
* The connection to share, or null to stop sharing
|
|
35758
|
+
*/
|
|
35759
|
+
path?: string | null;
|
|
35760
|
+
};
|
|
35496
35761
|
serviceName: NativeServiceName;
|
|
35497
35762
|
workspace: string;
|
|
35498
35763
|
};
|
|
35499
35764
|
res: {
|
|
35500
35765
|
/**
|
|
35501
|
-
*
|
|
35766
|
+
* workspace connection updated
|
|
35502
35767
|
*/
|
|
35503
35768
|
200: string;
|
|
35504
35769
|
};
|
|
@@ -35528,14 +35793,13 @@ export type $OpenApiTs = {
|
|
|
35528
35793
|
code: string;
|
|
35529
35794
|
state: string;
|
|
35530
35795
|
redirect_uri: string;
|
|
35531
|
-
resource_path?: string;
|
|
35532
35796
|
};
|
|
35533
35797
|
serviceName: NativeServiceName;
|
|
35534
35798
|
workspace: string;
|
|
35535
35799
|
};
|
|
35536
35800
|
res: {
|
|
35537
35801
|
/**
|
|
35538
|
-
*
|
|
35802
|
+
* path of the saved connection
|
|
35539
35803
|
*/
|
|
35540
35804
|
200: string;
|
|
35541
35805
|
};
|
|
@@ -35719,6 +35983,10 @@ export type $OpenApiTs = {
|
|
|
35719
35983
|
'/w/{workspace}/native_triggers/nextcloud/events': {
|
|
35720
35984
|
get: {
|
|
35721
35985
|
req: {
|
|
35986
|
+
/**
|
|
35987
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
35988
|
+
*/
|
|
35989
|
+
connectionPath?: string;
|
|
35722
35990
|
workspace: string;
|
|
35723
35991
|
};
|
|
35724
35992
|
res: {
|
|
@@ -35732,6 +36000,10 @@ export type $OpenApiTs = {
|
|
|
35732
36000
|
'/w/{workspace}/native_triggers/google/calendars': {
|
|
35733
36001
|
get: {
|
|
35734
36002
|
req: {
|
|
36003
|
+
/**
|
|
36004
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
36005
|
+
*/
|
|
36006
|
+
connectionPath?: string;
|
|
35735
36007
|
workspace: string;
|
|
35736
36008
|
};
|
|
35737
36009
|
res: {
|
|
@@ -35745,6 +36017,10 @@ export type $OpenApiTs = {
|
|
|
35745
36017
|
'/w/{workspace}/native_triggers/google/drive/files': {
|
|
35746
36018
|
get: {
|
|
35747
36019
|
req: {
|
|
36020
|
+
/**
|
|
36021
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
36022
|
+
*/
|
|
36023
|
+
connectionPath?: string;
|
|
35748
36024
|
/**
|
|
35749
36025
|
* token for next page of results
|
|
35750
36026
|
*/
|
|
@@ -35774,6 +36050,10 @@ export type $OpenApiTs = {
|
|
|
35774
36050
|
'/w/{workspace}/native_triggers/google/drive/shared_drives': {
|
|
35775
36051
|
get: {
|
|
35776
36052
|
req: {
|
|
36053
|
+
/**
|
|
36054
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
36055
|
+
*/
|
|
36056
|
+
connectionPath?: string;
|
|
35777
36057
|
workspace: string;
|
|
35778
36058
|
};
|
|
35779
36059
|
res: {
|
|
@@ -35787,6 +36067,10 @@ export type $OpenApiTs = {
|
|
|
35787
36067
|
'/w/{workspace}/native_triggers/github/repos': {
|
|
35788
36068
|
get: {
|
|
35789
36069
|
req: {
|
|
36070
|
+
/**
|
|
36071
|
+
* Connection to browse through; defaults to the caller's only usable one
|
|
36072
|
+
*/
|
|
36073
|
+
connectionPath?: string;
|
|
35790
36074
|
workspace: string;
|
|
35791
36075
|
};
|
|
35792
36076
|
res: {
|
|
@@ -37821,6 +38105,32 @@ export type $OpenApiTs = {
|
|
|
37821
38105
|
};
|
|
37822
38106
|
};
|
|
37823
38107
|
};
|
|
38108
|
+
'/configs/test_autoscaling/{worker_group}': {
|
|
38109
|
+
post: {
|
|
38110
|
+
req: {
|
|
38111
|
+
requestBody: {
|
|
38112
|
+
desired_workers: number;
|
|
38113
|
+
/**
|
|
38114
|
+
* The integration to run, as in the worker group's autoscaling config
|
|
38115
|
+
*/
|
|
38116
|
+
integration: {
|
|
38117
|
+
type: 'script' | 'kubernetes' | 'dryrun';
|
|
38118
|
+
path?: string;
|
|
38119
|
+
tag?: string;
|
|
38120
|
+
};
|
|
38121
|
+
};
|
|
38122
|
+
workerGroup: string;
|
|
38123
|
+
};
|
|
38124
|
+
res: {
|
|
38125
|
+
/**
|
|
38126
|
+
* The job queued for a script integration
|
|
38127
|
+
*/
|
|
38128
|
+
200: {
|
|
38129
|
+
job_id?: string | null;
|
|
38130
|
+
};
|
|
38131
|
+
};
|
|
38132
|
+
};
|
|
38133
|
+
};
|
|
37824
38134
|
'/configs/native_kubernetes_autoscaling_healthcheck': {
|
|
37825
38135
|
get: {
|
|
37826
38136
|
res: {
|