windmill-client 1.764.0 → 1.765.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 +207 -1
- package/dist/index.mjs +2 -2
- package/dist/services.gen.d.ts +109 -1
- package/dist/services.gen.mjs +205 -1
- package/dist/types.gen.d.ts +549 -11
- package/package.json +1 -1
package/dist/services.gen.mjs
CHANGED
|
@@ -4098,6 +4098,41 @@ var SettingService = class {
|
|
|
4098
4098
|
});
|
|
4099
4099
|
}
|
|
4100
4100
|
};
|
|
4101
|
+
var DataMetricService = class {
|
|
4102
|
+
/**
|
|
4103
|
+
* list declared measures and dimensions on DuckLake tables
|
|
4104
|
+
* Call this before writing any aggregate query over a DuckLake table. A declared measure is the canonical definition of that number, and reproducing it yourself will silently disagree with it (a `revenue` measure typically excludes refunds or test rows). Filter by `table` for one table's declarations, or by `path_prefix` (e.g. `f/analytics`) for everything declared under a folder; omit both to browse the whole catalog. Results are keyset-paged: a full page may mean more remain, so continue with the `cursor_*` params rather than assuming a measure does not exist. Use each returned `expr` verbatim, and when a measure has a `filter` write it as `expr FILTER (WHERE filter)` so measures with different predicates can share one GROUP BY. If a number you need has no declared measure, write your own aggregate as usual. Results are limited to declarations whose producing script the caller can read.
|
|
4105
|
+
*
|
|
4106
|
+
* @param data The data for the request.
|
|
4107
|
+
* @param data.workspace
|
|
4108
|
+
* @param data.table DuckLake table path, with or without the `ducklake://` scheme
|
|
4109
|
+
* @param data.pathPrefix Producing script path prefix, e.g. `f/analytics`
|
|
4110
|
+
* @param data.perPage Results per page, capped at 1000 (default 1000)
|
|
4111
|
+
* @param data.cursorTable Keyset cursor. To page, pass the previous response's `next_cursor` fields back as `cursor_*`; all four move together, and are omitted for the first page. Continue whenever `next_cursor` is present. Every returned row is one the caller may read, so the cursor never names a hidden row.
|
|
4112
|
+
*
|
|
4113
|
+
* @param data.cursorKind
|
|
4114
|
+
* @param data.cursorName
|
|
4115
|
+
* @param data.cursorScript
|
|
4116
|
+
* @returns unknown declared measures and dimensions
|
|
4117
|
+
* @throws ApiError
|
|
4118
|
+
*/
|
|
4119
|
+
static listDataMetrics(data) {
|
|
4120
|
+
return request(OpenAPI, {
|
|
4121
|
+
method: "GET",
|
|
4122
|
+
url: "/w/{workspace}/data_metrics/list",
|
|
4123
|
+
path: { workspace: data.workspace },
|
|
4124
|
+
query: {
|
|
4125
|
+
table: data.table,
|
|
4126
|
+
path_prefix: data.pathPrefix,
|
|
4127
|
+
per_page: data.perPage,
|
|
4128
|
+
cursor_table: data.cursorTable,
|
|
4129
|
+
cursor_kind: data.cursorKind,
|
|
4130
|
+
cursor_name: data.cursorName,
|
|
4131
|
+
cursor_script: data.cursorScript
|
|
4132
|
+
}
|
|
4133
|
+
});
|
|
4134
|
+
}
|
|
4135
|
+
};
|
|
4101
4136
|
var TokenService = class {
|
|
4102
4137
|
/**
|
|
4103
4138
|
* list of available scopes
|
|
@@ -11872,6 +11907,175 @@ var MqttTriggerService = class {
|
|
|
11872
11907
|
});
|
|
11873
11908
|
}
|
|
11874
11909
|
};
|
|
11910
|
+
var AmqpTriggerService = class {
|
|
11911
|
+
/**
|
|
11912
|
+
* create amqp trigger
|
|
11913
|
+
* @param data The data for the request.
|
|
11914
|
+
* @param data.workspace
|
|
11915
|
+
* @param data.requestBody new amqp trigger
|
|
11916
|
+
* @returns string amqp trigger created
|
|
11917
|
+
* @throws ApiError
|
|
11918
|
+
*/
|
|
11919
|
+
static createAmqpTrigger(data) {
|
|
11920
|
+
return request(OpenAPI, {
|
|
11921
|
+
method: "POST",
|
|
11922
|
+
url: "/w/{workspace}/amqp_triggers/create",
|
|
11923
|
+
path: { workspace: data.workspace },
|
|
11924
|
+
body: data.requestBody,
|
|
11925
|
+
mediaType: "application/json"
|
|
11926
|
+
});
|
|
11927
|
+
}
|
|
11928
|
+
/**
|
|
11929
|
+
* update amqp trigger
|
|
11930
|
+
* @param data The data for the request.
|
|
11931
|
+
* @param data.workspace
|
|
11932
|
+
* @param data.path
|
|
11933
|
+
* @param data.requestBody updated trigger
|
|
11934
|
+
* @returns string amqp trigger updated
|
|
11935
|
+
* @throws ApiError
|
|
11936
|
+
*/
|
|
11937
|
+
static updateAmqpTrigger(data) {
|
|
11938
|
+
return request(OpenAPI, {
|
|
11939
|
+
method: "POST",
|
|
11940
|
+
url: "/w/{workspace}/amqp_triggers/update/{path}",
|
|
11941
|
+
path: {
|
|
11942
|
+
workspace: data.workspace,
|
|
11943
|
+
path: data.path
|
|
11944
|
+
},
|
|
11945
|
+
body: data.requestBody,
|
|
11946
|
+
mediaType: "application/json"
|
|
11947
|
+
});
|
|
11948
|
+
}
|
|
11949
|
+
/**
|
|
11950
|
+
* delete amqp trigger
|
|
11951
|
+
* @param data The data for the request.
|
|
11952
|
+
* @param data.workspace
|
|
11953
|
+
* @param data.path
|
|
11954
|
+
* @returns string amqp trigger deleted
|
|
11955
|
+
* @throws ApiError
|
|
11956
|
+
*/
|
|
11957
|
+
static deleteAmqpTrigger(data) {
|
|
11958
|
+
return request(OpenAPI, {
|
|
11959
|
+
method: "DELETE",
|
|
11960
|
+
url: "/w/{workspace}/amqp_triggers/delete/{path}",
|
|
11961
|
+
path: {
|
|
11962
|
+
workspace: data.workspace,
|
|
11963
|
+
path: data.path
|
|
11964
|
+
}
|
|
11965
|
+
});
|
|
11966
|
+
}
|
|
11967
|
+
/**
|
|
11968
|
+
* get amqp trigger
|
|
11969
|
+
* @param data The data for the request.
|
|
11970
|
+
* @param data.workspace
|
|
11971
|
+
* @param data.path
|
|
11972
|
+
* @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload.
|
|
11973
|
+
* @returns unknown amqp trigger retrieved
|
|
11974
|
+
* @throws ApiError
|
|
11975
|
+
*/
|
|
11976
|
+
static getAmqpTrigger(data) {
|
|
11977
|
+
return request(OpenAPI, {
|
|
11978
|
+
method: "GET",
|
|
11979
|
+
url: "/w/{workspace}/amqp_triggers/get/{path}",
|
|
11980
|
+
path: {
|
|
11981
|
+
workspace: data.workspace,
|
|
11982
|
+
path: data.path
|
|
11983
|
+
},
|
|
11984
|
+
query: { get_draft: data.getDraft }
|
|
11985
|
+
});
|
|
11986
|
+
}
|
|
11987
|
+
/**
|
|
11988
|
+
* list amqp triggers
|
|
11989
|
+
* @param data The data for the request.
|
|
11990
|
+
* @param data.workspace
|
|
11991
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
11992
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
11993
|
+
* @param data.path filter by path
|
|
11994
|
+
* @param data.isFlow
|
|
11995
|
+
* @param data.pathStart
|
|
11996
|
+
* @param data.label Filter by label
|
|
11997
|
+
* @param data.includeDraftOnly When true, append per-user draft rows whose path has no
|
|
11998
|
+
* deployed counterpart. Synthesized rows carry `draft_only: true`
|
|
11999
|
+
* so the home page can render a "Draft" badge. Gated to
|
|
12000
|
+
* non-operators + page 0 + no narrowing filters on the backend so
|
|
12001
|
+
* picker callers stay deployed-only and pagination stays clean.
|
|
12002
|
+
*
|
|
12003
|
+
* @returns AmqpTrigger amqp trigger list
|
|
12004
|
+
* @throws ApiError
|
|
12005
|
+
*/
|
|
12006
|
+
static listAmqpTriggers(data) {
|
|
12007
|
+
return request(OpenAPI, {
|
|
12008
|
+
method: "GET",
|
|
12009
|
+
url: "/w/{workspace}/amqp_triggers/list",
|
|
12010
|
+
path: { workspace: data.workspace },
|
|
12011
|
+
query: {
|
|
12012
|
+
page: data.page,
|
|
12013
|
+
per_page: data.perPage,
|
|
12014
|
+
path: data.path,
|
|
12015
|
+
is_flow: data.isFlow,
|
|
12016
|
+
path_start: data.pathStart,
|
|
12017
|
+
label: data.label,
|
|
12018
|
+
include_draft_only: data.includeDraftOnly
|
|
12019
|
+
}
|
|
12020
|
+
});
|
|
12021
|
+
}
|
|
12022
|
+
/**
|
|
12023
|
+
* does amqp trigger exists
|
|
12024
|
+
* @param data The data for the request.
|
|
12025
|
+
* @param data.workspace
|
|
12026
|
+
* @param data.path
|
|
12027
|
+
* @returns boolean amqp trigger exists
|
|
12028
|
+
* @throws ApiError
|
|
12029
|
+
*/
|
|
12030
|
+
static existsAmqpTrigger(data) {
|
|
12031
|
+
return request(OpenAPI, {
|
|
12032
|
+
method: "GET",
|
|
12033
|
+
url: "/w/{workspace}/amqp_triggers/exists/{path}",
|
|
12034
|
+
path: {
|
|
12035
|
+
workspace: data.workspace,
|
|
12036
|
+
path: data.path
|
|
12037
|
+
}
|
|
12038
|
+
});
|
|
12039
|
+
}
|
|
12040
|
+
/**
|
|
12041
|
+
* set enabled amqp trigger
|
|
12042
|
+
* @param data The data for the request.
|
|
12043
|
+
* @param data.workspace
|
|
12044
|
+
* @param data.path
|
|
12045
|
+
* @param data.requestBody updated amqp trigger enable
|
|
12046
|
+
* @returns string amqp trigger enabled set
|
|
12047
|
+
* @throws ApiError
|
|
12048
|
+
*/
|
|
12049
|
+
static setAmqpTriggerMode(data) {
|
|
12050
|
+
return request(OpenAPI, {
|
|
12051
|
+
method: "POST",
|
|
12052
|
+
url: "/w/{workspace}/amqp_triggers/setmode/{path}",
|
|
12053
|
+
path: {
|
|
12054
|
+
workspace: data.workspace,
|
|
12055
|
+
path: data.path
|
|
12056
|
+
},
|
|
12057
|
+
body: data.requestBody,
|
|
12058
|
+
mediaType: "application/json"
|
|
12059
|
+
});
|
|
12060
|
+
}
|
|
12061
|
+
/**
|
|
12062
|
+
* test amqp connection
|
|
12063
|
+
* @param data The data for the request.
|
|
12064
|
+
* @param data.workspace
|
|
12065
|
+
* @param data.requestBody test amqp connection
|
|
12066
|
+
* @returns string successfully connected to amqp
|
|
12067
|
+
* @throws ApiError
|
|
12068
|
+
*/
|
|
12069
|
+
static testAmqpConnection(data) {
|
|
12070
|
+
return request(OpenAPI, {
|
|
12071
|
+
method: "POST",
|
|
12072
|
+
url: "/w/{workspace}/amqp_triggers/test",
|
|
12073
|
+
path: { workspace: data.workspace },
|
|
12074
|
+
body: data.requestBody,
|
|
12075
|
+
mediaType: "application/json"
|
|
12076
|
+
});
|
|
12077
|
+
}
|
|
12078
|
+
};
|
|
11875
12079
|
var GcpTriggerService = class {
|
|
11876
12080
|
/**
|
|
11877
12081
|
* create gcp trigger
|
|
@@ -15253,4 +15457,4 @@ var McpOauthService = class {
|
|
|
15253
15457
|
};
|
|
15254
15458
|
|
|
15255
15459
|
//#endregion
|
|
15256
|
-
export { AdminService, AgentWorkersService, AppService, AssetService, AuditService, AzureTriggerService, CaptureService, ConcurrencyGroupsService, ConfigService, DocumentationService, DraftService, EmailTriggerService, FavoriteService, FlowConversationsService, FlowService, FolderService, GcpTriggerService, GitSyncService, GranularAclService, GroupService, HealthService, HelpersService, HttpTriggerService, IndexSearchService, InputService, IntegrationService, JobService, KafkaTriggerService, McpOauthService, McpService, MetricsService, MqttTriggerService, NativeTriggerService, NatsTriggerService, NpmProxyService, OauthService, OidcService, OpenapiService, PathAutocompleteService, PostgresTriggerService, RawAppService, ResourceService, ScheduleService, ScriptService, ServiceLogsService, SettingService, SettingsService, SqsTriggerService, TeamsService, TokenService, TriggerService, UserService, VariableService, VolumeService, WebsocketTriggerService, WorkerService, WorkspaceDependenciesService, WorkspaceIntegrationService, WorkspaceService };
|
|
15460
|
+
export { AdminService, AgentWorkersService, AmqpTriggerService, AppService, AssetService, AuditService, AzureTriggerService, CaptureService, ConcurrencyGroupsService, ConfigService, DataMetricService, DocumentationService, DraftService, EmailTriggerService, FavoriteService, FlowConversationsService, FlowService, FolderService, GcpTriggerService, GitSyncService, GranularAclService, GroupService, HealthService, HelpersService, HttpTriggerService, IndexSearchService, InputService, IntegrationService, JobService, KafkaTriggerService, McpOauthService, McpService, MetricsService, MqttTriggerService, NativeTriggerService, NatsTriggerService, NpmProxyService, OauthService, OidcService, OpenapiService, PathAutocompleteService, PostgresTriggerService, RawAppService, ResourceService, ScheduleService, ScriptService, ServiceLogsService, SettingService, SettingsService, SqsTriggerService, TeamsService, TokenService, TriggerService, UserService, VariableService, VolumeService, WebsocketTriggerService, WorkerService, WorkspaceDependenciesService, WorkspaceIntegrationService, WorkspaceService };
|