@tailor-platform/sdk 1.54.3 → 1.55.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/CHANGELOG.md +18 -0
- package/dist/{actor-Cjae_LGD.d.mts → actor-J2gJ0eK5.d.mts} +2 -2
- package/dist/application-DM8q9GDI.mjs +4 -0
- package/dist/{application-BfGje3iZ.mjs → application-DzUlASfA.mjs} +333 -4
- package/dist/application-DzUlASfA.mjs.map +1 -0
- package/dist/brand-DlnJ375c.mjs.map +1 -1
- package/dist/cli/index.mjs +5 -5
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +1334 -176
- package/dist/cli/lib.mjs +3 -3
- package/dist/{client-CGO7gniI.mjs → client-DLPEPJ_s.mjs} +24 -19
- package/dist/client-DLPEPJ_s.mjs.map +1 -0
- package/dist/{client-yfFdZU9s.mjs → client-DrzwCD1W.mjs} +1 -1
- package/dist/configure/index.d.mts +5 -4
- package/dist/configure/index.mjs +47 -1
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{crashreport-DGdAgX8Y.mjs → crashreport-Bm2mN5tg.mjs} +2 -2
- package/dist/{crashreport-DGdAgX8Y.mjs.map → crashreport-Bm2mN5tg.mjs.map} +1 -1
- package/dist/{crashreport-DnwIxpzF.mjs → crashreport-C5oHvHUC.mjs} +1 -1
- package/dist/{index-qQYMbkT-.d.mts → index-BE-fpxIo.d.mts} +2 -2
- package/dist/{index-DJUoIn_v.d.mts → index-BLsnrEtc.d.mts} +97 -5
- package/dist/{index-DrYHpTja.d.mts → index-D9xG-a6Y.d.mts} +2 -2
- package/dist/{index-CyyoHrPK.d.mts → index-S6-FtUpA.d.mts} +2 -2
- package/dist/{index-Cf1Lo_XT.d.mts → index-cHqh66cF.d.mts} +2 -2
- package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +1 -1
- package/dist/plugin/index.d.mts +2 -2
- package/dist/plugin-BuE5ZOnW.d.mts +634 -0
- package/dist/{runtime-DpbAj_8a.mjs → runtime-BZsl7Mh9.mjs} +319 -154
- package/dist/runtime-BZsl7Mh9.mjs.map +1 -0
- package/dist/seed-DfLyRh63.mjs.map +1 -1
- package/dist/tailordb-BlBGmQK-.d.mts +863 -0
- package/dist/utils/test/index.d.mts +3 -3
- package/dist/vitest/index.d.mts +25 -1
- package/dist/vitest/index.mjs +57 -12
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/{workflow.generated-CWi2rivQ.d.mts → workflow.generated-CQg1_Ami.d.mts} +183 -8
- package/docs/services/http-adapter.md +100 -0
- package/package.json +1 -1
- package/dist/application-BfGje3iZ.mjs.map +0 -1
- package/dist/application-BsipSxp3.mjs +0 -4
- package/dist/client-CGO7gniI.mjs.map +0 -1
- package/dist/runtime-DpbAj_8a.mjs.map +0 -1
- package/dist/tailor-db-field-D0qg8s4U.d.mts +0 -1639
package/dist/cli/lib.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
import { n as
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
1
|
+
import { _ as PluginAttachment, a as TypeSourceInfoEntry, i as TailorDBType } from "../tailordb-BlBGmQK-.mjs";
|
|
2
|
+
import { i as AppConfig } from "../workflow.generated-CQg1_Ami.mjs";
|
|
3
|
+
import { B as IdProvider, E as Executor, H as OAuth2ClientInput, N as ScheduleTriggerInput, j as IncomingWebhookTrigger, n as Plugin, x as Resolver } from "../plugin-BuE5ZOnW.mjs";
|
|
4
|
+
import { n as kyselyTypePlugin } from "../index-S6-FtUpA.mjs";
|
|
5
|
+
import { n as enumConstantsPlugin } from "../index-BE-fpxIo.mjs";
|
|
6
|
+
import { n as fileUtilsPlugin } from "../index-cHqh66cF.mjs";
|
|
7
|
+
import { n as seedPlugin } from "../index-D9xG-a6Y.mjs";
|
|
7
8
|
import { z } from "zod";
|
|
8
9
|
import { JsonObject, Message } from "@bufbuild/protobuf";
|
|
9
10
|
import { GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -12,6 +13,17 @@ import { OAuth2Client } from "@badgateway/oauth2-client";
|
|
|
12
13
|
import { Client } from "@connectrpc/connect";
|
|
13
14
|
import { Jsonifiable } from "type-fest";
|
|
14
15
|
|
|
16
|
+
//#region src/cli/commands/deploy/function-registry-types.d.ts
|
|
17
|
+
/**
|
|
18
|
+
* In-memory bundled scripts organized by kind.
|
|
19
|
+
*/
|
|
20
|
+
type BundledScripts = {
|
|
21
|
+
resolvers: Map<string, string>;
|
|
22
|
+
executors: Map<string, string>;
|
|
23
|
+
workflowJobs: Map<string, string>;
|
|
24
|
+
authHooks: Map<string, string>;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
15
27
|
//#region ../tailor-proto/src/tailor/v1/workspace_resource_pb.d.ts
|
|
16
28
|
/**
|
|
17
29
|
* @generated from message tailor.v1.Organization
|
|
@@ -1986,6 +1998,238 @@ declare type GetOrganizationFolderAccessResponse = Message<"tailor.v1.GetOrganiz
|
|
|
1986
1998
|
* Use `create(GetOrganizationFolderAccessResponseSchema)` to create a new message.
|
|
1987
1999
|
*/
|
|
1988
2000
|
declare const GetOrganizationFolderAccessResponseSchema: GenMessage<GetOrganizationFolderAccessResponse>;
|
|
2001
|
+
/**
|
|
2002
|
+
* @generated from message tailor.v1.OrganizationIPRestriction
|
|
2003
|
+
*/
|
|
2004
|
+
declare type OrganizationIPRestriction = Message<"tailor.v1.OrganizationIPRestriction"> & {
|
|
2005
|
+
/**
|
|
2006
|
+
* @generated from field: string organization_id = 1;
|
|
2007
|
+
*/
|
|
2008
|
+
organizationId: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* @generated from field: repeated string allowed_ip_addresses = 2;
|
|
2011
|
+
*/
|
|
2012
|
+
allowedIpAddresses: string[];
|
|
2013
|
+
/**
|
|
2014
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
|
2015
|
+
*/
|
|
2016
|
+
createdAt?: Timestamp;
|
|
2017
|
+
/**
|
|
2018
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 4;
|
|
2019
|
+
*/
|
|
2020
|
+
updatedAt?: Timestamp;
|
|
2021
|
+
};
|
|
2022
|
+
/**
|
|
2023
|
+
* @generated from message tailor.v1.OrganizationFolderIPRestriction
|
|
2024
|
+
*/
|
|
2025
|
+
declare type OrganizationFolderIPRestriction = Message<"tailor.v1.OrganizationFolderIPRestriction"> & {
|
|
2026
|
+
/**
|
|
2027
|
+
* @generated from field: string organization_id = 1;
|
|
2028
|
+
*/
|
|
2029
|
+
organizationId: string;
|
|
2030
|
+
/**
|
|
2031
|
+
* @generated from field: string folder_id = 2;
|
|
2032
|
+
*/
|
|
2033
|
+
folderId: string;
|
|
2034
|
+
/**
|
|
2035
|
+
* @generated from field: repeated string allowed_ip_addresses = 3;
|
|
2036
|
+
*/
|
|
2037
|
+
allowedIpAddresses: string[];
|
|
2038
|
+
/**
|
|
2039
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
2040
|
+
*/
|
|
2041
|
+
createdAt?: Timestamp;
|
|
2042
|
+
/**
|
|
2043
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 5;
|
|
2044
|
+
*/
|
|
2045
|
+
updatedAt?: Timestamp;
|
|
2046
|
+
};
|
|
2047
|
+
/**
|
|
2048
|
+
* @generated from message tailor.v1.UpsertOrganizationIPRestrictionRequest
|
|
2049
|
+
*/
|
|
2050
|
+
declare type UpsertOrganizationIPRestrictionRequest = Message<"tailor.v1.UpsertOrganizationIPRestrictionRequest"> & {
|
|
2051
|
+
/**
|
|
2052
|
+
* @generated from field: string organization_id = 1;
|
|
2053
|
+
*/
|
|
2054
|
+
organizationId: string;
|
|
2055
|
+
/**
|
|
2056
|
+
* Must contain at least one entry. To remove the restriction entirely, call
|
|
2057
|
+
* DeleteOrganizationIPRestriction — an empty list here is rejected so that
|
|
2058
|
+
* "rule exists" and "non-empty allowlist" stay equivalent and Get's NotFound
|
|
2059
|
+
* contract is unambiguous.
|
|
2060
|
+
*
|
|
2061
|
+
* @generated from field: repeated string allowed_ip_addresses = 2;
|
|
2062
|
+
*/
|
|
2063
|
+
allowedIpAddresses: string[];
|
|
2064
|
+
};
|
|
2065
|
+
/**
|
|
2066
|
+
* Describes the message tailor.v1.UpsertOrganizationIPRestrictionRequest.
|
|
2067
|
+
* Use `create(UpsertOrganizationIPRestrictionRequestSchema)` to create a new message.
|
|
2068
|
+
*/
|
|
2069
|
+
declare const UpsertOrganizationIPRestrictionRequestSchema: GenMessage<UpsertOrganizationIPRestrictionRequest>;
|
|
2070
|
+
/**
|
|
2071
|
+
* @generated from message tailor.v1.UpsertOrganizationIPRestrictionResponse
|
|
2072
|
+
*/
|
|
2073
|
+
declare type UpsertOrganizationIPRestrictionResponse = Message<"tailor.v1.UpsertOrganizationIPRestrictionResponse"> & {
|
|
2074
|
+
/**
|
|
2075
|
+
* @generated from field: tailor.v1.OrganizationIPRestriction organization_ip_restriction = 1;
|
|
2076
|
+
*/
|
|
2077
|
+
organizationIpRestriction?: OrganizationIPRestriction;
|
|
2078
|
+
};
|
|
2079
|
+
/**
|
|
2080
|
+
* Describes the message tailor.v1.UpsertOrganizationIPRestrictionResponse.
|
|
2081
|
+
* Use `create(UpsertOrganizationIPRestrictionResponseSchema)` to create a new message.
|
|
2082
|
+
*/
|
|
2083
|
+
declare const UpsertOrganizationIPRestrictionResponseSchema: GenMessage<UpsertOrganizationIPRestrictionResponse>;
|
|
2084
|
+
/**
|
|
2085
|
+
* @generated from message tailor.v1.GetOrganizationIPRestrictionRequest
|
|
2086
|
+
*/
|
|
2087
|
+
declare type GetOrganizationIPRestrictionRequest = Message<"tailor.v1.GetOrganizationIPRestrictionRequest"> & {
|
|
2088
|
+
/**
|
|
2089
|
+
* @generated from field: string organization_id = 1;
|
|
2090
|
+
*/
|
|
2091
|
+
organizationId: string;
|
|
2092
|
+
};
|
|
2093
|
+
/**
|
|
2094
|
+
* Describes the message tailor.v1.GetOrganizationIPRestrictionRequest.
|
|
2095
|
+
* Use `create(GetOrganizationIPRestrictionRequestSchema)` to create a new message.
|
|
2096
|
+
*/
|
|
2097
|
+
declare const GetOrganizationIPRestrictionRequestSchema: GenMessage<GetOrganizationIPRestrictionRequest>;
|
|
2098
|
+
/**
|
|
2099
|
+
* @generated from message tailor.v1.GetOrganizationIPRestrictionResponse
|
|
2100
|
+
*/
|
|
2101
|
+
declare type GetOrganizationIPRestrictionResponse = Message<"tailor.v1.GetOrganizationIPRestrictionResponse"> & {
|
|
2102
|
+
/**
|
|
2103
|
+
* @generated from field: tailor.v1.OrganizationIPRestriction organization_ip_restriction = 1;
|
|
2104
|
+
*/
|
|
2105
|
+
organizationIpRestriction?: OrganizationIPRestriction;
|
|
2106
|
+
};
|
|
2107
|
+
/**
|
|
2108
|
+
* Describes the message tailor.v1.GetOrganizationIPRestrictionResponse.
|
|
2109
|
+
* Use `create(GetOrganizationIPRestrictionResponseSchema)` to create a new message.
|
|
2110
|
+
*/
|
|
2111
|
+
declare const GetOrganizationIPRestrictionResponseSchema: GenMessage<GetOrganizationIPRestrictionResponse>;
|
|
2112
|
+
/**
|
|
2113
|
+
* @generated from message tailor.v1.DeleteOrganizationIPRestrictionRequest
|
|
2114
|
+
*/
|
|
2115
|
+
declare type DeleteOrganizationIPRestrictionRequest = Message<"tailor.v1.DeleteOrganizationIPRestrictionRequest"> & {
|
|
2116
|
+
/**
|
|
2117
|
+
* @generated from field: string organization_id = 1;
|
|
2118
|
+
*/
|
|
2119
|
+
organizationId: string;
|
|
2120
|
+
};
|
|
2121
|
+
/**
|
|
2122
|
+
* Describes the message tailor.v1.DeleteOrganizationIPRestrictionRequest.
|
|
2123
|
+
* Use `create(DeleteOrganizationIPRestrictionRequestSchema)` to create a new message.
|
|
2124
|
+
*/
|
|
2125
|
+
declare const DeleteOrganizationIPRestrictionRequestSchema: GenMessage<DeleteOrganizationIPRestrictionRequest>;
|
|
2126
|
+
/**
|
|
2127
|
+
* @generated from message tailor.v1.DeleteOrganizationIPRestrictionResponse
|
|
2128
|
+
*/
|
|
2129
|
+
declare type DeleteOrganizationIPRestrictionResponse = Message<"tailor.v1.DeleteOrganizationIPRestrictionResponse"> & {};
|
|
2130
|
+
/**
|
|
2131
|
+
* Describes the message tailor.v1.DeleteOrganizationIPRestrictionResponse.
|
|
2132
|
+
* Use `create(DeleteOrganizationIPRestrictionResponseSchema)` to create a new message.
|
|
2133
|
+
*/
|
|
2134
|
+
declare const DeleteOrganizationIPRestrictionResponseSchema: GenMessage<DeleteOrganizationIPRestrictionResponse>;
|
|
2135
|
+
/**
|
|
2136
|
+
* @generated from message tailor.v1.UpsertOrganizationFolderIPRestrictionRequest
|
|
2137
|
+
*/
|
|
2138
|
+
declare type UpsertOrganizationFolderIPRestrictionRequest = Message<"tailor.v1.UpsertOrganizationFolderIPRestrictionRequest"> & {
|
|
2139
|
+
/**
|
|
2140
|
+
* @generated from field: string organization_id = 1;
|
|
2141
|
+
*/
|
|
2142
|
+
organizationId: string;
|
|
2143
|
+
/**
|
|
2144
|
+
* @generated from field: string folder_id = 2;
|
|
2145
|
+
*/
|
|
2146
|
+
folderId: string;
|
|
2147
|
+
/**
|
|
2148
|
+
* Must contain at least one entry; see UpsertOrganizationIPRestrictionRequest
|
|
2149
|
+
* for rationale. Use DeleteOrganizationFolderIPRestriction to clear the rule.
|
|
2150
|
+
*
|
|
2151
|
+
* @generated from field: repeated string allowed_ip_addresses = 3;
|
|
2152
|
+
*/
|
|
2153
|
+
allowedIpAddresses: string[];
|
|
2154
|
+
};
|
|
2155
|
+
/**
|
|
2156
|
+
* Describes the message tailor.v1.UpsertOrganizationFolderIPRestrictionRequest.
|
|
2157
|
+
* Use `create(UpsertOrganizationFolderIPRestrictionRequestSchema)` to create a new message.
|
|
2158
|
+
*/
|
|
2159
|
+
declare const UpsertOrganizationFolderIPRestrictionRequestSchema: GenMessage<UpsertOrganizationFolderIPRestrictionRequest>;
|
|
2160
|
+
/**
|
|
2161
|
+
* @generated from message tailor.v1.UpsertOrganizationFolderIPRestrictionResponse
|
|
2162
|
+
*/
|
|
2163
|
+
declare type UpsertOrganizationFolderIPRestrictionResponse = Message<"tailor.v1.UpsertOrganizationFolderIPRestrictionResponse"> & {
|
|
2164
|
+
/**
|
|
2165
|
+
* @generated from field: tailor.v1.OrganizationFolderIPRestriction organization_folder_ip_restriction = 1;
|
|
2166
|
+
*/
|
|
2167
|
+
organizationFolderIpRestriction?: OrganizationFolderIPRestriction;
|
|
2168
|
+
};
|
|
2169
|
+
/**
|
|
2170
|
+
* Describes the message tailor.v1.UpsertOrganizationFolderIPRestrictionResponse.
|
|
2171
|
+
* Use `create(UpsertOrganizationFolderIPRestrictionResponseSchema)` to create a new message.
|
|
2172
|
+
*/
|
|
2173
|
+
declare const UpsertOrganizationFolderIPRestrictionResponseSchema: GenMessage<UpsertOrganizationFolderIPRestrictionResponse>;
|
|
2174
|
+
/**
|
|
2175
|
+
* @generated from message tailor.v1.GetOrganizationFolderIPRestrictionRequest
|
|
2176
|
+
*/
|
|
2177
|
+
declare type GetOrganizationFolderIPRestrictionRequest = Message<"tailor.v1.GetOrganizationFolderIPRestrictionRequest"> & {
|
|
2178
|
+
/**
|
|
2179
|
+
* @generated from field: string organization_id = 1;
|
|
2180
|
+
*/
|
|
2181
|
+
organizationId: string;
|
|
2182
|
+
/**
|
|
2183
|
+
* @generated from field: string folder_id = 2;
|
|
2184
|
+
*/
|
|
2185
|
+
folderId: string;
|
|
2186
|
+
};
|
|
2187
|
+
/**
|
|
2188
|
+
* Describes the message tailor.v1.GetOrganizationFolderIPRestrictionRequest.
|
|
2189
|
+
* Use `create(GetOrganizationFolderIPRestrictionRequestSchema)` to create a new message.
|
|
2190
|
+
*/
|
|
2191
|
+
declare const GetOrganizationFolderIPRestrictionRequestSchema: GenMessage<GetOrganizationFolderIPRestrictionRequest>;
|
|
2192
|
+
/**
|
|
2193
|
+
* @generated from message tailor.v1.GetOrganizationFolderIPRestrictionResponse
|
|
2194
|
+
*/
|
|
2195
|
+
declare type GetOrganizationFolderIPRestrictionResponse = Message<"tailor.v1.GetOrganizationFolderIPRestrictionResponse"> & {
|
|
2196
|
+
/**
|
|
2197
|
+
* @generated from field: tailor.v1.OrganizationFolderIPRestriction organization_folder_ip_restriction = 1;
|
|
2198
|
+
*/
|
|
2199
|
+
organizationFolderIpRestriction?: OrganizationFolderIPRestriction;
|
|
2200
|
+
};
|
|
2201
|
+
/**
|
|
2202
|
+
* Describes the message tailor.v1.GetOrganizationFolderIPRestrictionResponse.
|
|
2203
|
+
* Use `create(GetOrganizationFolderIPRestrictionResponseSchema)` to create a new message.
|
|
2204
|
+
*/
|
|
2205
|
+
declare const GetOrganizationFolderIPRestrictionResponseSchema: GenMessage<GetOrganizationFolderIPRestrictionResponse>;
|
|
2206
|
+
/**
|
|
2207
|
+
* @generated from message tailor.v1.DeleteOrganizationFolderIPRestrictionRequest
|
|
2208
|
+
*/
|
|
2209
|
+
declare type DeleteOrganizationFolderIPRestrictionRequest = Message<"tailor.v1.DeleteOrganizationFolderIPRestrictionRequest"> & {
|
|
2210
|
+
/**
|
|
2211
|
+
* @generated from field: string organization_id = 1;
|
|
2212
|
+
*/
|
|
2213
|
+
organizationId: string;
|
|
2214
|
+
/**
|
|
2215
|
+
* @generated from field: string folder_id = 2;
|
|
2216
|
+
*/
|
|
2217
|
+
folderId: string;
|
|
2218
|
+
};
|
|
2219
|
+
/**
|
|
2220
|
+
* Describes the message tailor.v1.DeleteOrganizationFolderIPRestrictionRequest.
|
|
2221
|
+
* Use `create(DeleteOrganizationFolderIPRestrictionRequestSchema)` to create a new message.
|
|
2222
|
+
*/
|
|
2223
|
+
declare const DeleteOrganizationFolderIPRestrictionRequestSchema: GenMessage<DeleteOrganizationFolderIPRestrictionRequest>;
|
|
2224
|
+
/**
|
|
2225
|
+
* @generated from message tailor.v1.DeleteOrganizationFolderIPRestrictionResponse
|
|
2226
|
+
*/
|
|
2227
|
+
declare type DeleteOrganizationFolderIPRestrictionResponse = Message<"tailor.v1.DeleteOrganizationFolderIPRestrictionResponse"> & {};
|
|
2228
|
+
/**
|
|
2229
|
+
* Describes the message tailor.v1.DeleteOrganizationFolderIPRestrictionResponse.
|
|
2230
|
+
* Use `create(DeleteOrganizationFolderIPRestrictionResponseSchema)` to create a new message.
|
|
2231
|
+
*/
|
|
2232
|
+
declare const DeleteOrganizationFolderIPRestrictionResponseSchema: GenMessage<DeleteOrganizationFolderIPRestrictionResponse>;
|
|
1989
2233
|
/**
|
|
1990
2234
|
* @generated from message tailor.v1.CreateOrganizationTeamRequest
|
|
1991
2235
|
*/
|
|
@@ -2374,11 +2618,11 @@ declare type GetPlatformAccountPlanResponse = Message<"tailor.v1.GetPlatformAcco
|
|
|
2374
2618
|
*/
|
|
2375
2619
|
declare const GetPlatformAccountPlanResponseSchema: GenMessage<GetPlatformAccountPlanResponse>;
|
|
2376
2620
|
//#endregion
|
|
2377
|
-
//#region ../tailor-proto/src/tailor/v1/
|
|
2621
|
+
//#region ../tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.ts
|
|
2378
2622
|
/**
|
|
2379
|
-
* @generated from message tailor.v1.
|
|
2623
|
+
* @generated from message tailor.v1.HttpAdapter
|
|
2380
2624
|
*/
|
|
2381
|
-
declare type
|
|
2625
|
+
declare type HttpAdapter = Message<"tailor.v1.HttpAdapter"> & {
|
|
2382
2626
|
/**
|
|
2383
2627
|
* @generated from field: string name = 1;
|
|
2384
2628
|
*/
|
|
@@ -2392,15 +2636,15 @@ declare type GatewayFilter = Message<"tailor.v1.GatewayFilter"> & {
|
|
|
2392
2636
|
*/
|
|
2393
2637
|
methods: string[];
|
|
2394
2638
|
/**
|
|
2395
|
-
* @generated from field: string
|
|
2639
|
+
* @generated from field: string input_script = 4;
|
|
2396
2640
|
*/
|
|
2397
|
-
|
|
2641
|
+
inputScript: string;
|
|
2398
2642
|
/**
|
|
2399
2643
|
* optional
|
|
2400
2644
|
*
|
|
2401
|
-
* @generated from field: string
|
|
2645
|
+
* @generated from field: string output_script = 5;
|
|
2402
2646
|
*/
|
|
2403
|
-
|
|
2647
|
+
outputScript: string;
|
|
2404
2648
|
/**
|
|
2405
2649
|
* @generated from field: bool enabled = 6;
|
|
2406
2650
|
*/
|
|
@@ -2483,9 +2727,9 @@ declare type Application = Message<"tailor.v1.Application"> & {
|
|
|
2483
2727
|
*/
|
|
2484
2728
|
authIdpConfigName: string;
|
|
2485
2729
|
/**
|
|
2486
|
-
* @generated from field: repeated tailor.v1.
|
|
2730
|
+
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 15;
|
|
2487
2731
|
*/
|
|
2488
|
-
|
|
2732
|
+
httpAdapters: HttpAdapter[];
|
|
2489
2733
|
};
|
|
2490
2734
|
/**
|
|
2491
2735
|
* @generated from message tailor.v1.ApplicationSchemaUpdateAttempt
|
|
@@ -2620,9 +2864,9 @@ declare type CreateApplicationRequest = Message<"tailor.v1.CreateApplicationRequ
|
|
|
2620
2864
|
*/
|
|
2621
2865
|
disabled: boolean;
|
|
2622
2866
|
/**
|
|
2623
|
-
* @generated from field: repeated tailor.v1.
|
|
2867
|
+
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10;
|
|
2624
2868
|
*/
|
|
2625
|
-
|
|
2869
|
+
httpAdapters: HttpAdapter[];
|
|
2626
2870
|
};
|
|
2627
2871
|
/**
|
|
2628
2872
|
* Describes the message tailor.v1.CreateApplicationRequest.
|
|
@@ -2688,9 +2932,9 @@ declare type UpdateApplicationRequest = Message<"tailor.v1.UpdateApplicationRequ
|
|
|
2688
2932
|
*/
|
|
2689
2933
|
disabled: boolean;
|
|
2690
2934
|
/**
|
|
2691
|
-
* @generated from field: repeated tailor.v1.
|
|
2935
|
+
* @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10;
|
|
2692
2936
|
*/
|
|
2693
|
-
|
|
2937
|
+
httpAdapters: HttpAdapter[];
|
|
2694
2938
|
/**
|
|
2695
2939
|
* @generated from field: google.protobuf.FieldMask update_mask = 100;
|
|
2696
2940
|
*/
|
|
@@ -2965,6 +3209,14 @@ declare type TailorDBType_TypeConfig = Message<"tailor.v1.TailorDBType.TypeConfi
|
|
|
2965
3209
|
files: {
|
|
2966
3210
|
[key: string]: TailorDBType_FileConfig;
|
|
2967
3211
|
};
|
|
3212
|
+
/**
|
|
3213
|
+
* @generated from field: optional tailor.v1.TailorDBType.TypeHook type_hook = 12;
|
|
3214
|
+
*/
|
|
3215
|
+
typeHook?: TailorDBType_TypeHook;
|
|
3216
|
+
/**
|
|
3217
|
+
* @generated from field: optional tailor.v1.TailorDBType.TypeValidate type_validate = 13;
|
|
3218
|
+
*/
|
|
3219
|
+
typeValidate?: TailorDBType_TypeValidate;
|
|
2968
3220
|
};
|
|
2969
3221
|
/**
|
|
2970
3222
|
* @generated from message tailor.v1.TailorDBType.TypeSetting
|
|
@@ -3206,6 +3458,32 @@ declare type TailorDBType_FieldHook = Message<"tailor.v1.TailorDBType.FieldHook"
|
|
|
3206
3458
|
*/
|
|
3207
3459
|
update?: Script;
|
|
3208
3460
|
};
|
|
3461
|
+
/**
|
|
3462
|
+
* @generated from message tailor.v1.TailorDBType.TypeHook
|
|
3463
|
+
*/
|
|
3464
|
+
declare type TailorDBType_TypeHook = Message<"tailor.v1.TailorDBType.TypeHook"> & {
|
|
3465
|
+
/**
|
|
3466
|
+
* @generated from field: tailor.v1.Script create = 1;
|
|
3467
|
+
*/
|
|
3468
|
+
create?: Script;
|
|
3469
|
+
/**
|
|
3470
|
+
* @generated from field: tailor.v1.Script update = 2;
|
|
3471
|
+
*/
|
|
3472
|
+
update?: Script;
|
|
3473
|
+
};
|
|
3474
|
+
/**
|
|
3475
|
+
* @generated from message tailor.v1.TailorDBType.TypeValidate
|
|
3476
|
+
*/
|
|
3477
|
+
declare type TailorDBType_TypeValidate = Message<"tailor.v1.TailorDBType.TypeValidate"> & {
|
|
3478
|
+
/**
|
|
3479
|
+
* @generated from field: tailor.v1.Script create = 1;
|
|
3480
|
+
*/
|
|
3481
|
+
create?: Script;
|
|
3482
|
+
/**
|
|
3483
|
+
* @generated from field: tailor.v1.Script update = 2;
|
|
3484
|
+
*/
|
|
3485
|
+
update?: Script;
|
|
3486
|
+
};
|
|
3209
3487
|
/**
|
|
3210
3488
|
* @generated from message tailor.v1.TailorDBType.Serial
|
|
3211
3489
|
*/
|
|
@@ -11540,6 +11818,68 @@ declare type StaticWebsite = Message<"tailor.v1.StaticWebsite"> & {
|
|
|
11540
11818
|
*/
|
|
11541
11819
|
url: string;
|
|
11542
11820
|
};
|
|
11821
|
+
/**
|
|
11822
|
+
* @generated from message tailor.v1.CustomDomain
|
|
11823
|
+
*/
|
|
11824
|
+
declare type CustomDomain = Message<"tailor.v1.CustomDomain"> & {
|
|
11825
|
+
/**
|
|
11826
|
+
* @generated from field: string domain = 1;
|
|
11827
|
+
*/
|
|
11828
|
+
domain: string;
|
|
11829
|
+
/**
|
|
11830
|
+
* @generated from field: tailor.v1.CustomDomainStatus status = 2;
|
|
11831
|
+
*/
|
|
11832
|
+
status: CustomDomainStatus;
|
|
11833
|
+
/**
|
|
11834
|
+
* @generated from field: string traffic_cname_target = 3;
|
|
11835
|
+
*/
|
|
11836
|
+
trafficCnameTarget: string;
|
|
11837
|
+
/**
|
|
11838
|
+
* @generated from field: string certificate_cname_target = 4;
|
|
11839
|
+
*/
|
|
11840
|
+
certificateCnameTarget: string;
|
|
11841
|
+
/**
|
|
11842
|
+
* @generated from field: string error_message = 5;
|
|
11843
|
+
*/
|
|
11844
|
+
errorMessage: string;
|
|
11845
|
+
/**
|
|
11846
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
11847
|
+
*/
|
|
11848
|
+
createdAt?: Timestamp;
|
|
11849
|
+
/**
|
|
11850
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
11851
|
+
*/
|
|
11852
|
+
updatedAt?: Timestamp;
|
|
11853
|
+
};
|
|
11854
|
+
/**
|
|
11855
|
+
* @generated from enum tailor.v1.CustomDomainStatus
|
|
11856
|
+
*/
|
|
11857
|
+
declare enum CustomDomainStatus {
|
|
11858
|
+
/**
|
|
11859
|
+
* @generated from enum value: CUSTOM_DOMAIN_STATUS_UNSPECIFIED = 0;
|
|
11860
|
+
*/
|
|
11861
|
+
UNSPECIFIED = 0,
|
|
11862
|
+
/**
|
|
11863
|
+
* @generated from enum value: CUSTOM_DOMAIN_STATUS_PENDING = 1;
|
|
11864
|
+
*/
|
|
11865
|
+
PENDING = 1,
|
|
11866
|
+
/**
|
|
11867
|
+
* @generated from enum value: CUSTOM_DOMAIN_STATUS_VERIFYING = 2;
|
|
11868
|
+
*/
|
|
11869
|
+
VERIFYING = 2,
|
|
11870
|
+
/**
|
|
11871
|
+
* @generated from enum value: CUSTOM_DOMAIN_STATUS_CERT_ISSUED = 3;
|
|
11872
|
+
*/
|
|
11873
|
+
CERT_ISSUED = 3,
|
|
11874
|
+
/**
|
|
11875
|
+
* @generated from enum value: CUSTOM_DOMAIN_STATUS_ACTIVE = 4;
|
|
11876
|
+
*/
|
|
11877
|
+
ACTIVE = 4,
|
|
11878
|
+
/**
|
|
11879
|
+
* @generated from enum value: CUSTOM_DOMAIN_STATUS_FAILED = 5;
|
|
11880
|
+
*/
|
|
11881
|
+
FAILED = 5
|
|
11882
|
+
}
|
|
11543
11883
|
//#endregion
|
|
11544
11884
|
//#region ../tailor-proto/src/tailor/v1/staticwebsite_pb.d.ts
|
|
11545
11885
|
/**
|
|
@@ -11836,50 +12176,177 @@ declare type PublishDeploymentResponse = Message<"tailor.v1.PublishDeploymentRes
|
|
|
11836
12176
|
* Use `create(PublishDeploymentResponseSchema)` to create a new message.
|
|
11837
12177
|
*/
|
|
11838
12178
|
declare const PublishDeploymentResponseSchema: GenMessage<PublishDeploymentResponse>;
|
|
11839
|
-
//#endregion
|
|
11840
|
-
//#region ../tailor-proto/src/tailor/v1/workflow_resource_pb.d.ts
|
|
11841
12179
|
/**
|
|
11842
|
-
* @generated from message tailor.v1.
|
|
12180
|
+
* @generated from message tailor.v1.AddCustomDomainRequest
|
|
11843
12181
|
*/
|
|
11844
|
-
declare type
|
|
11845
|
-
/**
|
|
11846
|
-
* @generated from field: string id = 1;
|
|
11847
|
-
*/
|
|
11848
|
-
id: string;
|
|
11849
|
-
/**
|
|
11850
|
-
* @generated from field: string name = 2;
|
|
11851
|
-
*/
|
|
11852
|
-
name: string;
|
|
11853
|
-
/**
|
|
11854
|
-
* @generated from field: string script = 3;
|
|
11855
|
-
*/
|
|
11856
|
-
script: string;
|
|
12182
|
+
declare type AddCustomDomainRequest = Message<"tailor.v1.AddCustomDomainRequest"> & {
|
|
11857
12183
|
/**
|
|
11858
|
-
* @generated from field:
|
|
12184
|
+
* @generated from field: string workspace_id = 1;
|
|
11859
12185
|
*/
|
|
11860
|
-
|
|
12186
|
+
workspaceId: string;
|
|
11861
12187
|
/**
|
|
11862
|
-
* @generated from field:
|
|
12188
|
+
* @generated from field: string static_website_name = 2;
|
|
11863
12189
|
*/
|
|
11864
|
-
|
|
12190
|
+
staticWebsiteName: string;
|
|
11865
12191
|
/**
|
|
11866
|
-
*
|
|
11867
|
-
*
|
|
11868
|
-
* @generated from field: optional string script_ref = 6;
|
|
12192
|
+
* @generated from field: string domain = 3;
|
|
11869
12193
|
*/
|
|
11870
|
-
|
|
12194
|
+
domain: string;
|
|
11871
12195
|
};
|
|
11872
12196
|
/**
|
|
11873
|
-
*
|
|
12197
|
+
* Describes the message tailor.v1.AddCustomDomainRequest.
|
|
12198
|
+
* Use `create(AddCustomDomainRequestSchema)` to create a new message.
|
|
11874
12199
|
*/
|
|
11875
|
-
declare
|
|
12200
|
+
declare const AddCustomDomainRequestSchema: GenMessage<AddCustomDomainRequest>;
|
|
12201
|
+
/**
|
|
12202
|
+
* @generated from message tailor.v1.AddCustomDomainResponse
|
|
12203
|
+
*/
|
|
12204
|
+
declare type AddCustomDomainResponse = Message<"tailor.v1.AddCustomDomainResponse"> & {
|
|
11876
12205
|
/**
|
|
11877
|
-
* @generated from field:
|
|
12206
|
+
* @generated from field: tailor.v1.CustomDomain custom_domain = 1;
|
|
11878
12207
|
*/
|
|
11879
|
-
|
|
12208
|
+
customDomain?: CustomDomain;
|
|
11880
12209
|
};
|
|
11881
12210
|
/**
|
|
11882
|
-
*
|
|
12211
|
+
* Describes the message tailor.v1.AddCustomDomainResponse.
|
|
12212
|
+
* Use `create(AddCustomDomainResponseSchema)` to create a new message.
|
|
12213
|
+
*/
|
|
12214
|
+
declare const AddCustomDomainResponseSchema: GenMessage<AddCustomDomainResponse>;
|
|
12215
|
+
/**
|
|
12216
|
+
* @generated from message tailor.v1.GetCustomDomainRequest
|
|
12217
|
+
*/
|
|
12218
|
+
declare type GetCustomDomainRequest = Message<"tailor.v1.GetCustomDomainRequest"> & {
|
|
12219
|
+
/**
|
|
12220
|
+
* @generated from field: string workspace_id = 1;
|
|
12221
|
+
*/
|
|
12222
|
+
workspaceId: string;
|
|
12223
|
+
/**
|
|
12224
|
+
* @generated from field: string domain = 2;
|
|
12225
|
+
*/
|
|
12226
|
+
domain: string;
|
|
12227
|
+
};
|
|
12228
|
+
/**
|
|
12229
|
+
* Describes the message tailor.v1.GetCustomDomainRequest.
|
|
12230
|
+
* Use `create(GetCustomDomainRequestSchema)` to create a new message.
|
|
12231
|
+
*/
|
|
12232
|
+
declare const GetCustomDomainRequestSchema: GenMessage<GetCustomDomainRequest>;
|
|
12233
|
+
/**
|
|
12234
|
+
* @generated from message tailor.v1.GetCustomDomainResponse
|
|
12235
|
+
*/
|
|
12236
|
+
declare type GetCustomDomainResponse = Message<"tailor.v1.GetCustomDomainResponse"> & {
|
|
12237
|
+
/**
|
|
12238
|
+
* @generated from field: tailor.v1.CustomDomain custom_domain = 1;
|
|
12239
|
+
*/
|
|
12240
|
+
customDomain?: CustomDomain;
|
|
12241
|
+
};
|
|
12242
|
+
/**
|
|
12243
|
+
* Describes the message tailor.v1.GetCustomDomainResponse.
|
|
12244
|
+
* Use `create(GetCustomDomainResponseSchema)` to create a new message.
|
|
12245
|
+
*/
|
|
12246
|
+
declare const GetCustomDomainResponseSchema: GenMessage<GetCustomDomainResponse>;
|
|
12247
|
+
/**
|
|
12248
|
+
* @generated from message tailor.v1.ListCustomDomainsRequest
|
|
12249
|
+
*/
|
|
12250
|
+
declare type ListCustomDomainsRequest = Message<"tailor.v1.ListCustomDomainsRequest"> & {
|
|
12251
|
+
/**
|
|
12252
|
+
* @generated from field: string workspace_id = 1;
|
|
12253
|
+
*/
|
|
12254
|
+
workspaceId: string;
|
|
12255
|
+
/**
|
|
12256
|
+
* @generated from field: string static_website_name = 2;
|
|
12257
|
+
*/
|
|
12258
|
+
staticWebsiteName: string;
|
|
12259
|
+
};
|
|
12260
|
+
/**
|
|
12261
|
+
* Describes the message tailor.v1.ListCustomDomainsRequest.
|
|
12262
|
+
* Use `create(ListCustomDomainsRequestSchema)` to create a new message.
|
|
12263
|
+
*/
|
|
12264
|
+
declare const ListCustomDomainsRequestSchema: GenMessage<ListCustomDomainsRequest>;
|
|
12265
|
+
/**
|
|
12266
|
+
* @generated from message tailor.v1.ListCustomDomainsResponse
|
|
12267
|
+
*/
|
|
12268
|
+
declare type ListCustomDomainsResponse = Message<"tailor.v1.ListCustomDomainsResponse"> & {
|
|
12269
|
+
/**
|
|
12270
|
+
* @generated from field: repeated tailor.v1.CustomDomain custom_domains = 1;
|
|
12271
|
+
*/
|
|
12272
|
+
customDomains: CustomDomain[];
|
|
12273
|
+
};
|
|
12274
|
+
/**
|
|
12275
|
+
* Describes the message tailor.v1.ListCustomDomainsResponse.
|
|
12276
|
+
* Use `create(ListCustomDomainsResponseSchema)` to create a new message.
|
|
12277
|
+
*/
|
|
12278
|
+
declare const ListCustomDomainsResponseSchema: GenMessage<ListCustomDomainsResponse>;
|
|
12279
|
+
/**
|
|
12280
|
+
* @generated from message tailor.v1.RemoveCustomDomainRequest
|
|
12281
|
+
*/
|
|
12282
|
+
declare type RemoveCustomDomainRequest = Message<"tailor.v1.RemoveCustomDomainRequest"> & {
|
|
12283
|
+
/**
|
|
12284
|
+
* @generated from field: string workspace_id = 1;
|
|
12285
|
+
*/
|
|
12286
|
+
workspaceId: string;
|
|
12287
|
+
/**
|
|
12288
|
+
* @generated from field: string domain = 2;
|
|
12289
|
+
*/
|
|
12290
|
+
domain: string;
|
|
12291
|
+
};
|
|
12292
|
+
/**
|
|
12293
|
+
* Describes the message tailor.v1.RemoveCustomDomainRequest.
|
|
12294
|
+
* Use `create(RemoveCustomDomainRequestSchema)` to create a new message.
|
|
12295
|
+
*/
|
|
12296
|
+
declare const RemoveCustomDomainRequestSchema: GenMessage<RemoveCustomDomainRequest>;
|
|
12297
|
+
/**
|
|
12298
|
+
* @generated from message tailor.v1.RemoveCustomDomainResponse
|
|
12299
|
+
*/
|
|
12300
|
+
declare type RemoveCustomDomainResponse = Message<"tailor.v1.RemoveCustomDomainResponse"> & {};
|
|
12301
|
+
/**
|
|
12302
|
+
* Describes the message tailor.v1.RemoveCustomDomainResponse.
|
|
12303
|
+
* Use `create(RemoveCustomDomainResponseSchema)` to create a new message.
|
|
12304
|
+
*/
|
|
12305
|
+
declare const RemoveCustomDomainResponseSchema: GenMessage<RemoveCustomDomainResponse>;
|
|
12306
|
+
//#endregion
|
|
12307
|
+
//#region ../tailor-proto/src/tailor/v1/workflow_resource_pb.d.ts
|
|
12308
|
+
/**
|
|
12309
|
+
* @generated from message tailor.v1.WorkflowJobFunction
|
|
12310
|
+
*/
|
|
12311
|
+
declare type WorkflowJobFunction = Message<"tailor.v1.WorkflowJobFunction"> & {
|
|
12312
|
+
/**
|
|
12313
|
+
* @generated from field: string id = 1;
|
|
12314
|
+
*/
|
|
12315
|
+
id: string;
|
|
12316
|
+
/**
|
|
12317
|
+
* @generated from field: string name = 2;
|
|
12318
|
+
*/
|
|
12319
|
+
name: string;
|
|
12320
|
+
/**
|
|
12321
|
+
* @generated from field: string script = 3;
|
|
12322
|
+
*/
|
|
12323
|
+
script: string;
|
|
12324
|
+
/**
|
|
12325
|
+
* @generated from field: int64 version = 4;
|
|
12326
|
+
*/
|
|
12327
|
+
version: bigint;
|
|
12328
|
+
/**
|
|
12329
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
12330
|
+
*/
|
|
12331
|
+
createdAt?: Timestamp;
|
|
12332
|
+
/**
|
|
12333
|
+
* Reference to a function in the Function Registry
|
|
12334
|
+
*
|
|
12335
|
+
* @generated from field: optional string script_ref = 6;
|
|
12336
|
+
*/
|
|
12337
|
+
scriptRef?: string;
|
|
12338
|
+
};
|
|
12339
|
+
/**
|
|
12340
|
+
* @generated from message tailor.v1.ConcurrencyPolicy
|
|
12341
|
+
*/
|
|
12342
|
+
declare type ConcurrencyPolicy = Message<"tailor.v1.ConcurrencyPolicy"> & {
|
|
12343
|
+
/**
|
|
12344
|
+
* @generated from field: int32 max_concurrent_executions = 1;
|
|
12345
|
+
*/
|
|
12346
|
+
maxConcurrentExecutions: number;
|
|
12347
|
+
};
|
|
12348
|
+
/**
|
|
12349
|
+
* @generated from message tailor.v1.RetryPolicy
|
|
11883
12350
|
*/
|
|
11884
12351
|
declare type RetryPolicy = Message<"tailor.v1.RetryPolicy"> & {
|
|
11885
12352
|
/**
|
|
@@ -11940,6 +12407,39 @@ declare type Workflow = Message<"tailor.v1.Workflow"> & {
|
|
|
11940
12407
|
*/
|
|
11941
12408
|
concurrencyPolicy?: ConcurrencyPolicy;
|
|
11942
12409
|
};
|
|
12410
|
+
/**
|
|
12411
|
+
* WorkflowJobFunctionExecutionPolicy defines a runtime concurrency limit shared by
|
|
12412
|
+
* any job function invocation that specifies a matching execution_policy_key in
|
|
12413
|
+
* triggerJobFunction(). The same key can be referenced by multiple job functions
|
|
12414
|
+
* across different workflows; they all share the same concurrency pool within the workspace.
|
|
12415
|
+
*
|
|
12416
|
+
* @generated from message tailor.v1.WorkflowJobFunctionExecutionPolicy
|
|
12417
|
+
*/
|
|
12418
|
+
declare type WorkflowJobFunctionExecutionPolicy = Message<"tailor.v1.WorkflowJobFunctionExecutionPolicy"> & {
|
|
12419
|
+
/**
|
|
12420
|
+
* @generated from field: string id = 1;
|
|
12421
|
+
*/
|
|
12422
|
+
id: string;
|
|
12423
|
+
/**
|
|
12424
|
+
* @generated from field: string execution_policy_key = 2;
|
|
12425
|
+
*/
|
|
12426
|
+
executionPolicyKey: string;
|
|
12427
|
+
/**
|
|
12428
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
|
12429
|
+
*/
|
|
12430
|
+
createdAt?: Timestamp;
|
|
12431
|
+
/**
|
|
12432
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 4;
|
|
12433
|
+
*/
|
|
12434
|
+
updatedAt?: Timestamp;
|
|
12435
|
+
/**
|
|
12436
|
+
* When unset, the policy registers the key as valid but applies no user-defined
|
|
12437
|
+
* concurrency limit (platform hard limits still apply).
|
|
12438
|
+
*
|
|
12439
|
+
* @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 5;
|
|
12440
|
+
*/
|
|
12441
|
+
concurrencyPolicy?: ConcurrencyPolicy;
|
|
12442
|
+
};
|
|
11943
12443
|
/**
|
|
11944
12444
|
* @generated from message tailor.v1.WorkflowJobExecution
|
|
11945
12445
|
*/
|
|
@@ -12671,6 +13171,217 @@ declare type TestResumeWorkflowResponse = Message<"tailor.v1.TestResumeWorkflowR
|
|
|
12671
13171
|
* Use `create(TestResumeWorkflowResponseSchema)` to create a new message.
|
|
12672
13172
|
*/
|
|
12673
13173
|
declare const TestResumeWorkflowResponseSchema: GenMessage<TestResumeWorkflowResponse>;
|
|
13174
|
+
/**
|
|
13175
|
+
* @generated from message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyRequest
|
|
13176
|
+
*/
|
|
13177
|
+
declare type CreateWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.CreateWorkflowJobFunctionExecutionPolicyRequest"> & {
|
|
13178
|
+
/**
|
|
13179
|
+
* @generated from field: string workspace_id = 1;
|
|
13180
|
+
*/
|
|
13181
|
+
workspaceId: string;
|
|
13182
|
+
/**
|
|
13183
|
+
* @generated from field: string execution_policy_key = 2;
|
|
13184
|
+
*/
|
|
13185
|
+
executionPolicyKey: string;
|
|
13186
|
+
/**
|
|
13187
|
+
* @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 3;
|
|
13188
|
+
*/
|
|
13189
|
+
concurrencyPolicy?: ConcurrencyPolicy;
|
|
13190
|
+
};
|
|
13191
|
+
/**
|
|
13192
|
+
* Describes the message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyRequest.
|
|
13193
|
+
* Use `create(CreateWorkflowJobFunctionExecutionPolicyRequestSchema)` to create a new message.
|
|
13194
|
+
*/
|
|
13195
|
+
declare const CreateWorkflowJobFunctionExecutionPolicyRequestSchema: GenMessage<CreateWorkflowJobFunctionExecutionPolicyRequest>;
|
|
13196
|
+
/**
|
|
13197
|
+
* @generated from message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyResponse
|
|
13198
|
+
*/
|
|
13199
|
+
declare type CreateWorkflowJobFunctionExecutionPolicyResponse = Message<"tailor.v1.CreateWorkflowJobFunctionExecutionPolicyResponse"> & {
|
|
13200
|
+
/**
|
|
13201
|
+
* @generated from field: tailor.v1.WorkflowJobFunctionExecutionPolicy policy = 1;
|
|
13202
|
+
*/
|
|
13203
|
+
policy?: WorkflowJobFunctionExecutionPolicy;
|
|
13204
|
+
};
|
|
13205
|
+
/**
|
|
13206
|
+
* Describes the message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyResponse.
|
|
13207
|
+
* Use `create(CreateWorkflowJobFunctionExecutionPolicyResponseSchema)` to create a new message.
|
|
13208
|
+
*/
|
|
13209
|
+
declare const CreateWorkflowJobFunctionExecutionPolicyResponseSchema: GenMessage<CreateWorkflowJobFunctionExecutionPolicyResponse>;
|
|
13210
|
+
/**
|
|
13211
|
+
* @generated from message tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyRequest
|
|
13212
|
+
*/
|
|
13213
|
+
declare type UpdateWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyRequest"> & {
|
|
13214
|
+
/**
|
|
13215
|
+
* @generated from field: string workspace_id = 1;
|
|
13216
|
+
*/
|
|
13217
|
+
workspaceId: string;
|
|
13218
|
+
/**
|
|
13219
|
+
* @generated from field: string execution_policy_key = 2;
|
|
13220
|
+
*/
|
|
13221
|
+
executionPolicyKey: string;
|
|
13222
|
+
/**
|
|
13223
|
+
* @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 3;
|
|
13224
|
+
*/
|
|
13225
|
+
concurrencyPolicy?: ConcurrencyPolicy;
|
|
13226
|
+
};
|
|
13227
|
+
/**
|
|
13228
|
+
* Describes the message tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyRequest.
|
|
13229
|
+
* Use `create(UpdateWorkflowJobFunctionExecutionPolicyRequestSchema)` to create a new message.
|
|
13230
|
+
*/
|
|
13231
|
+
declare const UpdateWorkflowJobFunctionExecutionPolicyRequestSchema: GenMessage<UpdateWorkflowJobFunctionExecutionPolicyRequest>;
|
|
13232
|
+
/**
|
|
13233
|
+
* @generated from message tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyResponse
|
|
13234
|
+
*/
|
|
13235
|
+
declare type UpdateWorkflowJobFunctionExecutionPolicyResponse = Message<"tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyResponse"> & {
|
|
13236
|
+
/**
|
|
13237
|
+
* @generated from field: tailor.v1.WorkflowJobFunctionExecutionPolicy policy = 1;
|
|
13238
|
+
*/
|
|
13239
|
+
policy?: WorkflowJobFunctionExecutionPolicy;
|
|
13240
|
+
};
|
|
13241
|
+
/**
|
|
13242
|
+
* Describes the message tailor.v1.UpdateWorkflowJobFunctionExecutionPolicyResponse.
|
|
13243
|
+
* Use `create(UpdateWorkflowJobFunctionExecutionPolicyResponseSchema)` to create a new message.
|
|
13244
|
+
*/
|
|
13245
|
+
declare const UpdateWorkflowJobFunctionExecutionPolicyResponseSchema: GenMessage<UpdateWorkflowJobFunctionExecutionPolicyResponse>;
|
|
13246
|
+
/**
|
|
13247
|
+
* @generated from message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyRequest
|
|
13248
|
+
*/
|
|
13249
|
+
declare type DeleteWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyRequest"> & {
|
|
13250
|
+
/**
|
|
13251
|
+
* @generated from field: string workspace_id = 1;
|
|
13252
|
+
*/
|
|
13253
|
+
workspaceId: string;
|
|
13254
|
+
/**
|
|
13255
|
+
* @generated from field: string id = 2;
|
|
13256
|
+
*/
|
|
13257
|
+
id: string;
|
|
13258
|
+
};
|
|
13259
|
+
/**
|
|
13260
|
+
* Describes the message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyRequest.
|
|
13261
|
+
* Use `create(DeleteWorkflowJobFunctionExecutionPolicyRequestSchema)` to create a new message.
|
|
13262
|
+
*/
|
|
13263
|
+
declare const DeleteWorkflowJobFunctionExecutionPolicyRequestSchema: GenMessage<DeleteWorkflowJobFunctionExecutionPolicyRequest>;
|
|
13264
|
+
/**
|
|
13265
|
+
* @generated from message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyResponse
|
|
13266
|
+
*/
|
|
13267
|
+
declare type DeleteWorkflowJobFunctionExecutionPolicyResponse = Message<"tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyResponse"> & {};
|
|
13268
|
+
/**
|
|
13269
|
+
* Describes the message tailor.v1.DeleteWorkflowJobFunctionExecutionPolicyResponse.
|
|
13270
|
+
* Use `create(DeleteWorkflowJobFunctionExecutionPolicyResponseSchema)` to create a new message.
|
|
13271
|
+
*/
|
|
13272
|
+
declare const DeleteWorkflowJobFunctionExecutionPolicyResponseSchema: GenMessage<DeleteWorkflowJobFunctionExecutionPolicyResponse>;
|
|
13273
|
+
/**
|
|
13274
|
+
* @generated from message tailor.v1.GetWorkflowJobFunctionExecutionPolicyRequest
|
|
13275
|
+
*/
|
|
13276
|
+
declare type GetWorkflowJobFunctionExecutionPolicyRequest = Message<"tailor.v1.GetWorkflowJobFunctionExecutionPolicyRequest"> & {
|
|
13277
|
+
/**
|
|
13278
|
+
* @generated from field: string workspace_id = 1;
|
|
13279
|
+
*/
|
|
13280
|
+
workspaceId: string;
|
|
13281
|
+
/**
|
|
13282
|
+
* @generated from field: string id = 2;
|
|
13283
|
+
*/
|
|
13284
|
+
id: string;
|
|
13285
|
+
};
|
|
13286
|
+
/**
|
|
13287
|
+
* Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyRequest.
|
|
13288
|
+
* Use `create(GetWorkflowJobFunctionExecutionPolicyRequestSchema)` to create a new message.
|
|
13289
|
+
*/
|
|
13290
|
+
declare const GetWorkflowJobFunctionExecutionPolicyRequestSchema: GenMessage<GetWorkflowJobFunctionExecutionPolicyRequest>;
|
|
13291
|
+
/**
|
|
13292
|
+
* @generated from message tailor.v1.GetWorkflowJobFunctionExecutionPolicyResponse
|
|
13293
|
+
*/
|
|
13294
|
+
declare type GetWorkflowJobFunctionExecutionPolicyResponse = Message<"tailor.v1.GetWorkflowJobFunctionExecutionPolicyResponse"> & {
|
|
13295
|
+
/**
|
|
13296
|
+
* @generated from field: tailor.v1.WorkflowJobFunctionExecutionPolicy policy = 1;
|
|
13297
|
+
*/
|
|
13298
|
+
policy?: WorkflowJobFunctionExecutionPolicy;
|
|
13299
|
+
};
|
|
13300
|
+
/**
|
|
13301
|
+
* Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyResponse.
|
|
13302
|
+
* Use `create(GetWorkflowJobFunctionExecutionPolicyResponseSchema)` to create a new message.
|
|
13303
|
+
*/
|
|
13304
|
+
declare const GetWorkflowJobFunctionExecutionPolicyResponseSchema: GenMessage<GetWorkflowJobFunctionExecutionPolicyResponse>;
|
|
13305
|
+
/**
|
|
13306
|
+
* @generated from message tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyRequest
|
|
13307
|
+
*/
|
|
13308
|
+
declare type GetWorkflowJobFunctionExecutionPolicyByKeyRequest = Message<"tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyRequest"> & {
|
|
13309
|
+
/**
|
|
13310
|
+
* @generated from field: string workspace_id = 1;
|
|
13311
|
+
*/
|
|
13312
|
+
workspaceId: string;
|
|
13313
|
+
/**
|
|
13314
|
+
* @generated from field: string execution_policy_key = 2;
|
|
13315
|
+
*/
|
|
13316
|
+
executionPolicyKey: string;
|
|
13317
|
+
};
|
|
13318
|
+
/**
|
|
13319
|
+
* Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyRequest.
|
|
13320
|
+
* Use `create(GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema)` to create a new message.
|
|
13321
|
+
*/
|
|
13322
|
+
declare const GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema: GenMessage<GetWorkflowJobFunctionExecutionPolicyByKeyRequest>;
|
|
13323
|
+
/**
|
|
13324
|
+
* @generated from message tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyResponse
|
|
13325
|
+
*/
|
|
13326
|
+
declare type GetWorkflowJobFunctionExecutionPolicyByKeyResponse = Message<"tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyResponse"> & {
|
|
13327
|
+
/**
|
|
13328
|
+
* @generated from field: tailor.v1.WorkflowJobFunctionExecutionPolicy policy = 1;
|
|
13329
|
+
*/
|
|
13330
|
+
policy?: WorkflowJobFunctionExecutionPolicy;
|
|
13331
|
+
};
|
|
13332
|
+
/**
|
|
13333
|
+
* Describes the message tailor.v1.GetWorkflowJobFunctionExecutionPolicyByKeyResponse.
|
|
13334
|
+
* Use `create(GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema)` to create a new message.
|
|
13335
|
+
*/
|
|
13336
|
+
declare const GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema: GenMessage<GetWorkflowJobFunctionExecutionPolicyByKeyResponse>;
|
|
13337
|
+
/**
|
|
13338
|
+
* @generated from message tailor.v1.ListWorkflowJobFunctionExecutionPoliciesRequest
|
|
13339
|
+
*/
|
|
13340
|
+
declare type ListWorkflowJobFunctionExecutionPoliciesRequest = Message<"tailor.v1.ListWorkflowJobFunctionExecutionPoliciesRequest"> & {
|
|
13341
|
+
/**
|
|
13342
|
+
* @generated from field: string workspace_id = 1;
|
|
13343
|
+
*/
|
|
13344
|
+
workspaceId: string;
|
|
13345
|
+
/**
|
|
13346
|
+
* @generated from field: string page_token = 2;
|
|
13347
|
+
*/
|
|
13348
|
+
pageToken: string;
|
|
13349
|
+
/**
|
|
13350
|
+
* @generated from field: uint32 page_size = 3;
|
|
13351
|
+
*/
|
|
13352
|
+
pageSize: number;
|
|
13353
|
+
/**
|
|
13354
|
+
* @generated from field: tailor.v1.PageDirection page_direction = 4;
|
|
13355
|
+
*/
|
|
13356
|
+
pageDirection: PageDirection;
|
|
13357
|
+
};
|
|
13358
|
+
/**
|
|
13359
|
+
* Describes the message tailor.v1.ListWorkflowJobFunctionExecutionPoliciesRequest.
|
|
13360
|
+
* Use `create(ListWorkflowJobFunctionExecutionPoliciesRequestSchema)` to create a new message.
|
|
13361
|
+
*/
|
|
13362
|
+
declare const ListWorkflowJobFunctionExecutionPoliciesRequestSchema: GenMessage<ListWorkflowJobFunctionExecutionPoliciesRequest>;
|
|
13363
|
+
/**
|
|
13364
|
+
* @generated from message tailor.v1.ListWorkflowJobFunctionExecutionPoliciesResponse
|
|
13365
|
+
*/
|
|
13366
|
+
declare type ListWorkflowJobFunctionExecutionPoliciesResponse = Message<"tailor.v1.ListWorkflowJobFunctionExecutionPoliciesResponse"> & {
|
|
13367
|
+
/**
|
|
13368
|
+
* @generated from field: repeated tailor.v1.WorkflowJobFunctionExecutionPolicy policies = 1;
|
|
13369
|
+
*/
|
|
13370
|
+
policies: WorkflowJobFunctionExecutionPolicy[];
|
|
13371
|
+
/**
|
|
13372
|
+
* @generated from field: string next_page_token = 2;
|
|
13373
|
+
*/
|
|
13374
|
+
nextPageToken: string;
|
|
13375
|
+
/**
|
|
13376
|
+
* @generated from field: int64 total_count = 3;
|
|
13377
|
+
*/
|
|
13378
|
+
totalCount: bigint;
|
|
13379
|
+
};
|
|
13380
|
+
/**
|
|
13381
|
+
* Describes the message tailor.v1.ListWorkflowJobFunctionExecutionPoliciesResponse.
|
|
13382
|
+
* Use `create(ListWorkflowJobFunctionExecutionPoliciesResponseSchema)` to create a new message.
|
|
13383
|
+
*/
|
|
13384
|
+
declare const ListWorkflowJobFunctionExecutionPoliciesResponseSchema: GenMessage<ListWorkflowJobFunctionExecutionPoliciesResponse>;
|
|
12674
13385
|
//#endregion
|
|
12675
13386
|
//#region ../tailor-proto/src/tailor/v1/metadata_resource_pb.d.ts
|
|
12676
13387
|
/**
|
|
@@ -13799,7 +14510,110 @@ declare const OperatorService: GenService<{
|
|
|
13799
14510
|
output: typeof GetOrganizationFolderAccessResponseSchema;
|
|
13800
14511
|
};
|
|
13801
14512
|
/**
|
|
13802
|
-
*
|
|
14513
|
+
* UpsertOrganizationIPRestriction creates or replaces the IP allowlist
|
|
14514
|
+
* applied to all inbound dataplane traffic for an organization.
|
|
14515
|
+
*
|
|
14516
|
+
* [Errors]
|
|
14517
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
14518
|
+
* - InvalidArgument: request is invalid (malformed CIDR, private /
|
|
14519
|
+
* loopback / multicast address, etc.)
|
|
14520
|
+
* - PermissionDenied: caller does not have permission on the organization
|
|
14521
|
+
* - NotFound: organization does not exist or can not be accessed
|
|
14522
|
+
*
|
|
14523
|
+
* @generated from rpc tailor.v1.OperatorService.UpsertOrganizationIPRestriction
|
|
14524
|
+
*/
|
|
14525
|
+
upsertOrganizationIPRestriction: {
|
|
14526
|
+
methodKind: "unary";
|
|
14527
|
+
input: typeof UpsertOrganizationIPRestrictionRequestSchema;
|
|
14528
|
+
output: typeof UpsertOrganizationIPRestrictionResponseSchema;
|
|
14529
|
+
};
|
|
14530
|
+
/**
|
|
14531
|
+
* GetOrganizationIPRestriction returns the current IP allowlist for an
|
|
14532
|
+
* organization, or NotFound if no rule is configured.
|
|
14533
|
+
*
|
|
14534
|
+
* [Errors]
|
|
14535
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
14536
|
+
* - InvalidArgument: request is invalid
|
|
14537
|
+
* - PermissionDenied: caller does not have permission on the organization
|
|
14538
|
+
* - NotFound: no IP restriction is configured for the organization
|
|
14539
|
+
*
|
|
14540
|
+
* @generated from rpc tailor.v1.OperatorService.GetOrganizationIPRestriction
|
|
14541
|
+
*/
|
|
14542
|
+
getOrganizationIPRestriction: {
|
|
14543
|
+
methodKind: "unary";
|
|
14544
|
+
input: typeof GetOrganizationIPRestrictionRequestSchema;
|
|
14545
|
+
output: typeof GetOrganizationIPRestrictionResponseSchema;
|
|
14546
|
+
};
|
|
14547
|
+
/**
|
|
14548
|
+
* DeleteOrganizationIPRestriction removes the IP allowlist for an
|
|
14549
|
+
* organization. NotFound is returned if no rule is configured.
|
|
14550
|
+
*
|
|
14551
|
+
* [Errors]
|
|
14552
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
14553
|
+
* - InvalidArgument: request is invalid
|
|
14554
|
+
* - PermissionDenied: caller does not have permission on the organization
|
|
14555
|
+
* - NotFound: no IP restriction is configured for the organization
|
|
14556
|
+
*
|
|
14557
|
+
* @generated from rpc tailor.v1.OperatorService.DeleteOrganizationIPRestriction
|
|
14558
|
+
*/
|
|
14559
|
+
deleteOrganizationIPRestriction: {
|
|
14560
|
+
methodKind: "unary";
|
|
14561
|
+
input: typeof DeleteOrganizationIPRestrictionRequestSchema;
|
|
14562
|
+
output: typeof DeleteOrganizationIPRestrictionResponseSchema;
|
|
14563
|
+
};
|
|
14564
|
+
/**
|
|
14565
|
+
* UpsertOrganizationFolderIPRestriction creates or replaces the IP
|
|
14566
|
+
* allowlist applied to all inbound dataplane traffic for a folder.
|
|
14567
|
+
*
|
|
14568
|
+
* [Errors]
|
|
14569
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
14570
|
+
* - InvalidArgument: request is invalid
|
|
14571
|
+
* - PermissionDenied: caller does not have permission on the folder
|
|
14572
|
+
* - NotFound: folder does not exist or can not be accessed
|
|
14573
|
+
*
|
|
14574
|
+
* @generated from rpc tailor.v1.OperatorService.UpsertOrganizationFolderIPRestriction
|
|
14575
|
+
*/
|
|
14576
|
+
upsertOrganizationFolderIPRestriction: {
|
|
14577
|
+
methodKind: "unary";
|
|
14578
|
+
input: typeof UpsertOrganizationFolderIPRestrictionRequestSchema;
|
|
14579
|
+
output: typeof UpsertOrganizationFolderIPRestrictionResponseSchema;
|
|
14580
|
+
};
|
|
14581
|
+
/**
|
|
14582
|
+
* GetOrganizationFolderIPRestriction returns the current IP allowlist
|
|
14583
|
+
* for a folder, or NotFound if no rule is configured.
|
|
14584
|
+
*
|
|
14585
|
+
* [Errors]
|
|
14586
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
14587
|
+
* - InvalidArgument: request is invalid
|
|
14588
|
+
* - PermissionDenied: caller does not have permission on the folder
|
|
14589
|
+
* - NotFound: no IP restriction is configured for the folder
|
|
14590
|
+
*
|
|
14591
|
+
* @generated from rpc tailor.v1.OperatorService.GetOrganizationFolderIPRestriction
|
|
14592
|
+
*/
|
|
14593
|
+
getOrganizationFolderIPRestriction: {
|
|
14594
|
+
methodKind: "unary";
|
|
14595
|
+
input: typeof GetOrganizationFolderIPRestrictionRequestSchema;
|
|
14596
|
+
output: typeof GetOrganizationFolderIPRestrictionResponseSchema;
|
|
14597
|
+
};
|
|
14598
|
+
/**
|
|
14599
|
+
* DeleteOrganizationFolderIPRestriction removes the IP allowlist for a
|
|
14600
|
+
* folder. NotFound is returned if no rule is configured.
|
|
14601
|
+
*
|
|
14602
|
+
* [Errors]
|
|
14603
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
14604
|
+
* - InvalidArgument: request is invalid
|
|
14605
|
+
* - PermissionDenied: caller does not have permission on the folder
|
|
14606
|
+
* - NotFound: no IP restriction is configured for the folder
|
|
14607
|
+
*
|
|
14608
|
+
* @generated from rpc tailor.v1.OperatorService.DeleteOrganizationFolderIPRestriction
|
|
14609
|
+
*/
|
|
14610
|
+
deleteOrganizationFolderIPRestriction: {
|
|
14611
|
+
methodKind: "unary";
|
|
14612
|
+
input: typeof DeleteOrganizationFolderIPRestrictionRequestSchema;
|
|
14613
|
+
output: typeof DeleteOrganizationFolderIPRestrictionResponseSchema;
|
|
14614
|
+
};
|
|
14615
|
+
/**
|
|
14616
|
+
* CreateOrganizationTeam creates a team in an organization.
|
|
13803
14617
|
*
|
|
13804
14618
|
* [Errors]
|
|
13805
14619
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
@@ -15866,6 +16680,68 @@ declare const OperatorService: GenService<{
|
|
|
15866
16680
|
input: typeof ListStaticWebsitesRequestSchema;
|
|
15867
16681
|
output: typeof ListStaticWebsitesResponseSchema;
|
|
15868
16682
|
};
|
|
16683
|
+
/**
|
|
16684
|
+
* AddCustomDomain registers a custom domain for a static website.
|
|
16685
|
+
*
|
|
16686
|
+
* [Errors]
|
|
16687
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
16688
|
+
* - InvalidArgument: request is invalid
|
|
16689
|
+
* - NotFound: static website does not exist
|
|
16690
|
+
* - AlreadyExists: domain is already registered
|
|
16691
|
+
* - ResourceExhausted: maximum number of custom domains reached
|
|
16692
|
+
*
|
|
16693
|
+
* @generated from rpc tailor.v1.OperatorService.AddCustomDomain
|
|
16694
|
+
*/
|
|
16695
|
+
addCustomDomain: {
|
|
16696
|
+
methodKind: "unary";
|
|
16697
|
+
input: typeof AddCustomDomainRequestSchema;
|
|
16698
|
+
output: typeof AddCustomDomainResponseSchema;
|
|
16699
|
+
};
|
|
16700
|
+
/**
|
|
16701
|
+
* GetCustomDomain gets a custom domain.
|
|
16702
|
+
*
|
|
16703
|
+
* [Errors]
|
|
16704
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
16705
|
+
* - InvalidArgument: request is invalid
|
|
16706
|
+
* - NotFound: custom domain does not exist
|
|
16707
|
+
*
|
|
16708
|
+
* @generated from rpc tailor.v1.OperatorService.GetCustomDomain
|
|
16709
|
+
*/
|
|
16710
|
+
getCustomDomain: {
|
|
16711
|
+
methodKind: "unary";
|
|
16712
|
+
input: typeof GetCustomDomainRequestSchema;
|
|
16713
|
+
output: typeof GetCustomDomainResponseSchema;
|
|
16714
|
+
};
|
|
16715
|
+
/**
|
|
16716
|
+
* ListCustomDomains lists custom domains for a static website.
|
|
16717
|
+
*
|
|
16718
|
+
* [Errors]
|
|
16719
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
16720
|
+
* - InvalidArgument: request is invalid
|
|
16721
|
+
* - NotFound: static website does not exist
|
|
16722
|
+
*
|
|
16723
|
+
* @generated from rpc tailor.v1.OperatorService.ListCustomDomains
|
|
16724
|
+
*/
|
|
16725
|
+
listCustomDomains: {
|
|
16726
|
+
methodKind: "unary";
|
|
16727
|
+
input: typeof ListCustomDomainsRequestSchema;
|
|
16728
|
+
output: typeof ListCustomDomainsResponseSchema;
|
|
16729
|
+
};
|
|
16730
|
+
/**
|
|
16731
|
+
* RemoveCustomDomain removes a custom domain.
|
|
16732
|
+
*
|
|
16733
|
+
* [Errors]
|
|
16734
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
16735
|
+
* - InvalidArgument: request is invalid
|
|
16736
|
+
* - NotFound: custom domain does not exist
|
|
16737
|
+
*
|
|
16738
|
+
* @generated from rpc tailor.v1.OperatorService.RemoveCustomDomain
|
|
16739
|
+
*/
|
|
16740
|
+
removeCustomDomain: {
|
|
16741
|
+
methodKind: "unary";
|
|
16742
|
+
input: typeof RemoveCustomDomainRequestSchema;
|
|
16743
|
+
output: typeof RemoveCustomDomainResponseSchema;
|
|
16744
|
+
};
|
|
15869
16745
|
/**
|
|
15870
16746
|
* CreateDeployment creates a new deployment.
|
|
15871
16747
|
*
|
|
@@ -16134,6 +17010,95 @@ declare const OperatorService: GenService<{
|
|
|
16134
17010
|
input: typeof TestResumeWorkflowRequestSchema;
|
|
16135
17011
|
output: typeof TestResumeWorkflowResponseSchema;
|
|
16136
17012
|
};
|
|
17013
|
+
/**
|
|
17014
|
+
* CreateWorkflowJobFunctionExecutionPolicy creates a new workflow job function execution policy.
|
|
17015
|
+
*
|
|
17016
|
+
* [Errors]
|
|
17017
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
17018
|
+
* - InvalidArgument: request is invalid
|
|
17019
|
+
* - AlreadyExists: policy already exists with the given execution_policy_key
|
|
17020
|
+
*
|
|
17021
|
+
* @generated from rpc tailor.v1.OperatorService.CreateWorkflowJobFunctionExecutionPolicy
|
|
17022
|
+
*/
|
|
17023
|
+
createWorkflowJobFunctionExecutionPolicy: {
|
|
17024
|
+
methodKind: "unary";
|
|
17025
|
+
input: typeof CreateWorkflowJobFunctionExecutionPolicyRequestSchema;
|
|
17026
|
+
output: typeof CreateWorkflowJobFunctionExecutionPolicyResponseSchema;
|
|
17027
|
+
};
|
|
17028
|
+
/**
|
|
17029
|
+
* UpdateWorkflowJobFunctionExecutionPolicy updates a workflow job function execution policy.
|
|
17030
|
+
*
|
|
17031
|
+
* [Errors]
|
|
17032
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
17033
|
+
* - InvalidArgument: request is invalid
|
|
17034
|
+
* - NotFound: policy does not exist or can not be accessed
|
|
17035
|
+
*
|
|
17036
|
+
* @generated from rpc tailor.v1.OperatorService.UpdateWorkflowJobFunctionExecutionPolicy
|
|
17037
|
+
*/
|
|
17038
|
+
updateWorkflowJobFunctionExecutionPolicy: {
|
|
17039
|
+
methodKind: "unary";
|
|
17040
|
+
input: typeof UpdateWorkflowJobFunctionExecutionPolicyRequestSchema;
|
|
17041
|
+
output: typeof UpdateWorkflowJobFunctionExecutionPolicyResponseSchema;
|
|
17042
|
+
};
|
|
17043
|
+
/**
|
|
17044
|
+
* DeleteWorkflowJobFunctionExecutionPolicy deletes a workflow job function execution policy.
|
|
17045
|
+
*
|
|
17046
|
+
* [Errors]
|
|
17047
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
17048
|
+
* - InvalidArgument: request is invalid
|
|
17049
|
+
* - NotFound: policy does not exist or can not be accessed
|
|
17050
|
+
*
|
|
17051
|
+
* @generated from rpc tailor.v1.OperatorService.DeleteWorkflowJobFunctionExecutionPolicy
|
|
17052
|
+
*/
|
|
17053
|
+
deleteWorkflowJobFunctionExecutionPolicy: {
|
|
17054
|
+
methodKind: "unary";
|
|
17055
|
+
input: typeof DeleteWorkflowJobFunctionExecutionPolicyRequestSchema;
|
|
17056
|
+
output: typeof DeleteWorkflowJobFunctionExecutionPolicyResponseSchema;
|
|
17057
|
+
};
|
|
17058
|
+
/**
|
|
17059
|
+
* GetWorkflowJobFunctionExecutionPolicy returns a workflow job function execution policy.
|
|
17060
|
+
*
|
|
17061
|
+
* [Errors]
|
|
17062
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
17063
|
+
* - InvalidArgument: request is invalid
|
|
17064
|
+
* - NotFound: policy does not exist or can not be accessed
|
|
17065
|
+
*
|
|
17066
|
+
* @generated from rpc tailor.v1.OperatorService.GetWorkflowJobFunctionExecutionPolicy
|
|
17067
|
+
*/
|
|
17068
|
+
getWorkflowJobFunctionExecutionPolicy: {
|
|
17069
|
+
methodKind: "unary";
|
|
17070
|
+
input: typeof GetWorkflowJobFunctionExecutionPolicyRequestSchema;
|
|
17071
|
+
output: typeof GetWorkflowJobFunctionExecutionPolicyResponseSchema;
|
|
17072
|
+
};
|
|
17073
|
+
/**
|
|
17074
|
+
* GetWorkflowJobFunctionExecutionPolicyByKey returns a workflow job function execution policy by its key.
|
|
17075
|
+
*
|
|
17076
|
+
* [Errors]
|
|
17077
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
17078
|
+
* - InvalidArgument: request is invalid
|
|
17079
|
+
* - NotFound: policy does not exist or can not be accessed
|
|
17080
|
+
*
|
|
17081
|
+
* @generated from rpc tailor.v1.OperatorService.GetWorkflowJobFunctionExecutionPolicyByKey
|
|
17082
|
+
*/
|
|
17083
|
+
getWorkflowJobFunctionExecutionPolicyByKey: {
|
|
17084
|
+
methodKind: "unary";
|
|
17085
|
+
input: typeof GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema;
|
|
17086
|
+
output: typeof GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema;
|
|
17087
|
+
};
|
|
17088
|
+
/**
|
|
17089
|
+
* ListWorkflowJobFunctionExecutionPolicies returns workflow job function execution policies in a given workspace.
|
|
17090
|
+
*
|
|
17091
|
+
* [Errors]
|
|
17092
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
17093
|
+
* - InvalidArgument: request is invalid
|
|
17094
|
+
*
|
|
17095
|
+
* @generated from rpc tailor.v1.OperatorService.ListWorkflowJobFunctionExecutionPolicies
|
|
17096
|
+
*/
|
|
17097
|
+
listWorkflowJobFunctionExecutionPolicies: {
|
|
17098
|
+
methodKind: "unary";
|
|
17099
|
+
input: typeof ListWorkflowJobFunctionExecutionPoliciesRequestSchema;
|
|
17100
|
+
output: typeof ListWorkflowJobFunctionExecutionPoliciesResponseSchema;
|
|
17101
|
+
};
|
|
16137
17102
|
/**
|
|
16138
17103
|
* SetMetadata sets metadata labels for a resource.
|
|
16139
17104
|
*
|
|
@@ -16609,6 +17574,36 @@ declare function initOperatorClient(accessToken: string): Promise<Client<import(
|
|
|
16609
17574
|
input: typeof GetOrganizationFolderAccessRequestSchema;
|
|
16610
17575
|
output: typeof GetOrganizationFolderAccessResponseSchema;
|
|
16611
17576
|
};
|
|
17577
|
+
upsertOrganizationIPRestriction: {
|
|
17578
|
+
methodKind: "unary";
|
|
17579
|
+
input: typeof UpsertOrganizationIPRestrictionRequestSchema;
|
|
17580
|
+
output: typeof UpsertOrganizationIPRestrictionResponseSchema;
|
|
17581
|
+
};
|
|
17582
|
+
getOrganizationIPRestriction: {
|
|
17583
|
+
methodKind: "unary";
|
|
17584
|
+
input: typeof GetOrganizationIPRestrictionRequestSchema;
|
|
17585
|
+
output: typeof GetOrganizationIPRestrictionResponseSchema;
|
|
17586
|
+
};
|
|
17587
|
+
deleteOrganizationIPRestriction: {
|
|
17588
|
+
methodKind: "unary";
|
|
17589
|
+
input: typeof DeleteOrganizationIPRestrictionRequestSchema;
|
|
17590
|
+
output: typeof DeleteOrganizationIPRestrictionResponseSchema;
|
|
17591
|
+
};
|
|
17592
|
+
upsertOrganizationFolderIPRestriction: {
|
|
17593
|
+
methodKind: "unary";
|
|
17594
|
+
input: typeof UpsertOrganizationFolderIPRestrictionRequestSchema;
|
|
17595
|
+
output: typeof UpsertOrganizationFolderIPRestrictionResponseSchema;
|
|
17596
|
+
};
|
|
17597
|
+
getOrganizationFolderIPRestriction: {
|
|
17598
|
+
methodKind: "unary";
|
|
17599
|
+
input: typeof GetOrganizationFolderIPRestrictionRequestSchema;
|
|
17600
|
+
output: typeof GetOrganizationFolderIPRestrictionResponseSchema;
|
|
17601
|
+
};
|
|
17602
|
+
deleteOrganizationFolderIPRestriction: {
|
|
17603
|
+
methodKind: "unary";
|
|
17604
|
+
input: typeof DeleteOrganizationFolderIPRestrictionRequestSchema;
|
|
17605
|
+
output: typeof DeleteOrganizationFolderIPRestrictionResponseSchema;
|
|
17606
|
+
};
|
|
16612
17607
|
createOrganizationTeam: {
|
|
16613
17608
|
methodKind: "unary";
|
|
16614
17609
|
input: typeof CreateOrganizationTeamRequestSchema;
|
|
@@ -17364,6 +18359,26 @@ declare function initOperatorClient(accessToken: string): Promise<Client<import(
|
|
|
17364
18359
|
input: typeof ListStaticWebsitesRequestSchema;
|
|
17365
18360
|
output: typeof ListStaticWebsitesResponseSchema;
|
|
17366
18361
|
};
|
|
18362
|
+
addCustomDomain: {
|
|
18363
|
+
methodKind: "unary";
|
|
18364
|
+
input: typeof AddCustomDomainRequestSchema;
|
|
18365
|
+
output: typeof AddCustomDomainResponseSchema;
|
|
18366
|
+
};
|
|
18367
|
+
getCustomDomain: {
|
|
18368
|
+
methodKind: "unary";
|
|
18369
|
+
input: typeof GetCustomDomainRequestSchema;
|
|
18370
|
+
output: typeof GetCustomDomainResponseSchema;
|
|
18371
|
+
};
|
|
18372
|
+
listCustomDomains: {
|
|
18373
|
+
methodKind: "unary";
|
|
18374
|
+
input: typeof ListCustomDomainsRequestSchema;
|
|
18375
|
+
output: typeof ListCustomDomainsResponseSchema;
|
|
18376
|
+
};
|
|
18377
|
+
removeCustomDomain: {
|
|
18378
|
+
methodKind: "unary";
|
|
18379
|
+
input: typeof RemoveCustomDomainRequestSchema;
|
|
18380
|
+
output: typeof RemoveCustomDomainResponseSchema;
|
|
18381
|
+
};
|
|
17367
18382
|
createDeployment: {
|
|
17368
18383
|
methodKind: "unary";
|
|
17369
18384
|
input: typeof CreateDeploymentRequestSchema;
|
|
@@ -17454,6 +18469,36 @@ declare function initOperatorClient(accessToken: string): Promise<Client<import(
|
|
|
17454
18469
|
input: typeof TestResumeWorkflowRequestSchema;
|
|
17455
18470
|
output: typeof TestResumeWorkflowResponseSchema;
|
|
17456
18471
|
};
|
|
18472
|
+
createWorkflowJobFunctionExecutionPolicy: {
|
|
18473
|
+
methodKind: "unary";
|
|
18474
|
+
input: typeof CreateWorkflowJobFunctionExecutionPolicyRequestSchema;
|
|
18475
|
+
output: typeof CreateWorkflowJobFunctionExecutionPolicyResponseSchema;
|
|
18476
|
+
};
|
|
18477
|
+
updateWorkflowJobFunctionExecutionPolicy: {
|
|
18478
|
+
methodKind: "unary";
|
|
18479
|
+
input: typeof UpdateWorkflowJobFunctionExecutionPolicyRequestSchema;
|
|
18480
|
+
output: typeof UpdateWorkflowJobFunctionExecutionPolicyResponseSchema;
|
|
18481
|
+
};
|
|
18482
|
+
deleteWorkflowJobFunctionExecutionPolicy: {
|
|
18483
|
+
methodKind: "unary";
|
|
18484
|
+
input: typeof DeleteWorkflowJobFunctionExecutionPolicyRequestSchema;
|
|
18485
|
+
output: typeof DeleteWorkflowJobFunctionExecutionPolicyResponseSchema;
|
|
18486
|
+
};
|
|
18487
|
+
getWorkflowJobFunctionExecutionPolicy: {
|
|
18488
|
+
methodKind: "unary";
|
|
18489
|
+
input: typeof GetWorkflowJobFunctionExecutionPolicyRequestSchema;
|
|
18490
|
+
output: typeof GetWorkflowJobFunctionExecutionPolicyResponseSchema;
|
|
18491
|
+
};
|
|
18492
|
+
getWorkflowJobFunctionExecutionPolicyByKey: {
|
|
18493
|
+
methodKind: "unary";
|
|
18494
|
+
input: typeof GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema;
|
|
18495
|
+
output: typeof GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema;
|
|
18496
|
+
};
|
|
18497
|
+
listWorkflowJobFunctionExecutionPolicies: {
|
|
18498
|
+
methodKind: "unary";
|
|
18499
|
+
input: typeof ListWorkflowJobFunctionExecutionPoliciesRequestSchema;
|
|
18500
|
+
output: typeof ListWorkflowJobFunctionExecutionPoliciesResponseSchema;
|
|
18501
|
+
};
|
|
17457
18502
|
setMetadata: {
|
|
17458
18503
|
methodKind: "unary";
|
|
17459
18504
|
input: typeof SetMetadataRequestSchema;
|
|
@@ -17580,136 +18625,15 @@ declare function loadConfig(configPath?: string): Promise<{
|
|
|
17580
18625
|
plugins: Plugin[];
|
|
17581
18626
|
}>;
|
|
17582
18627
|
//#endregion
|
|
17583
|
-
//#region src/cli/commands/
|
|
17584
|
-
/**
|
|
17585
|
-
* In-memory bundled scripts organized by kind.
|
|
17586
|
-
*/
|
|
17587
|
-
type BundledScripts = {
|
|
17588
|
-
resolvers: Map<string, string>;
|
|
17589
|
-
executors: Map<string, string>;
|
|
17590
|
-
workflowJobs: Map<string, string>;
|
|
17591
|
-
authHooks: Map<string, string>;
|
|
17592
|
-
};
|
|
17593
|
-
//#endregion
|
|
17594
|
-
//#region src/cli/commands/tailordb/migrate/diff-calculator.d.ts
|
|
18628
|
+
//#region src/cli/commands/tailordb/migrate/snapshot-types.d.ts
|
|
17595
18629
|
/**
|
|
17596
|
-
*
|
|
18630
|
+
* Schema snapshot data model for TailorDB migrations.
|
|
17597
18631
|
*
|
|
17598
|
-
*
|
|
17599
|
-
*
|
|
18632
|
+
* Leaf module: these types describe the persisted snapshot format
|
|
18633
|
+
* (XXXX/schema.json) and are shared by snapshot.ts (snapshot management)
|
|
18634
|
+
* and diff-calculator.ts (diff types and formatting) without creating
|
|
18635
|
+
* import cycles between them.
|
|
17600
18636
|
*/
|
|
17601
|
-
/**
|
|
17602
|
-
* Current schema snapshot format version
|
|
17603
|
-
*/
|
|
17604
|
-
declare const SCHEMA_SNAPSHOT_VERSION: 1;
|
|
17605
|
-
/**
|
|
17606
|
-
* Change kind in migration diff
|
|
17607
|
-
*/
|
|
17608
|
-
type DiffChangeKind = "type_added" | "type_removed" | "type_modified" | "field_added" | "field_removed" | "field_modified" | "index_added" | "index_removed" | "index_modified" | "file_added" | "file_removed" | "file_modified" | "relationship_added" | "relationship_removed" | "relationship_modified" | "permission_modified";
|
|
17609
|
-
/**
|
|
17610
|
-
* Single change in migration diff
|
|
17611
|
-
*/
|
|
17612
|
-
interface DiffChange {
|
|
17613
|
-
kind: DiffChangeKind;
|
|
17614
|
-
typeName: string;
|
|
17615
|
-
fieldName?: string;
|
|
17616
|
-
/** Index name for index_* changes */
|
|
17617
|
-
indexName?: string;
|
|
17618
|
-
/** Relationship name for relationship_* changes */
|
|
17619
|
-
relationshipName?: string;
|
|
17620
|
-
/** Relationship type for relationship_* changes */
|
|
17621
|
-
relationshipType?: "forward" | "backward";
|
|
17622
|
-
before?: unknown;
|
|
17623
|
-
after?: unknown;
|
|
17624
|
-
reason?: string;
|
|
17625
|
-
}
|
|
17626
|
-
/**
|
|
17627
|
-
* Migration diff - changes between two schema versions
|
|
17628
|
-
* Stored as XXXX/diff.json (e.g., 0001/diff.json)
|
|
17629
|
-
*/
|
|
17630
|
-
interface MigrationDiff {
|
|
17631
|
-
/** Format version for future compatibility */
|
|
17632
|
-
version: typeof SCHEMA_SNAPSHOT_VERSION;
|
|
17633
|
-
namespace: string;
|
|
17634
|
-
createdAt: string;
|
|
17635
|
-
description?: string;
|
|
17636
|
-
changes: DiffChange[];
|
|
17637
|
-
/** Whether there are breaking changes (data loss or constraint violations possible) */
|
|
17638
|
-
hasBreakingChanges: boolean;
|
|
17639
|
-
/** List of breaking changes */
|
|
17640
|
-
breakingChanges: BreakingChangeInfo[];
|
|
17641
|
-
/** Whether there are non-breaking changes that may cause data loss (e.g. field/type removal) */
|
|
17642
|
-
hasWarnings: boolean;
|
|
17643
|
-
/** List of non-breaking warnings */
|
|
17644
|
-
warnings: WarningChangeInfo[];
|
|
17645
|
-
/** Whether a migration script is required to handle data migration */
|
|
17646
|
-
requiresMigrationScript: boolean;
|
|
17647
|
-
}
|
|
17648
|
-
/**
|
|
17649
|
-
* Breaking change information in migration diff
|
|
17650
|
-
*/
|
|
17651
|
-
interface BreakingChangeInfo {
|
|
17652
|
-
typeName: string;
|
|
17653
|
-
fieldName?: string;
|
|
17654
|
-
reason: string;
|
|
17655
|
-
/** If true, this change is not supported and migration generation will fail */
|
|
17656
|
-
unsupported?: boolean;
|
|
17657
|
-
/** If true, show 3-step migration instructions for this unsupported change */
|
|
17658
|
-
showThreeStepHint?: boolean;
|
|
17659
|
-
}
|
|
17660
|
-
/**
|
|
17661
|
-
* Warning change information in migration diff.
|
|
17662
|
-
*
|
|
17663
|
-
* Warnings are non-breaking changes that may still cause data loss
|
|
17664
|
-
* (e.g. removing a field or type). Unlike breaking changes, a migration
|
|
17665
|
-
* script is not required, but writing one is recommended if you need to
|
|
17666
|
-
* preserve or transform data before the change applies.
|
|
17667
|
-
*/
|
|
17668
|
-
interface WarningChangeInfo {
|
|
17669
|
-
typeName: string;
|
|
17670
|
-
fieldName?: string;
|
|
17671
|
-
reason: string;
|
|
17672
|
-
}
|
|
17673
|
-
/**
|
|
17674
|
-
* Check if a migration diff has any changes
|
|
17675
|
-
* @param {MigrationDiff} diff - Migration diff to check
|
|
17676
|
-
* @returns {boolean} True if diff has changes
|
|
17677
|
-
*/
|
|
17678
|
-
declare function hasChanges(diff: MigrationDiff): boolean;
|
|
17679
|
-
/**
|
|
17680
|
-
* Format a migration diff for display
|
|
17681
|
-
* @param {MigrationDiff} diff - Migration diff to format
|
|
17682
|
-
* @returns {string} Formatted diff string
|
|
17683
|
-
*/
|
|
17684
|
-
declare function formatMigrationDiff(diff: MigrationDiff): string;
|
|
17685
|
-
/**
|
|
17686
|
-
* Format a summary of the migration diff
|
|
17687
|
-
* @param {MigrationDiff} diff - Migration diff to summarize
|
|
17688
|
-
* @returns {string} Formatted summary string
|
|
17689
|
-
*/
|
|
17690
|
-
declare function formatDiffSummary(diff: MigrationDiff): string;
|
|
17691
|
-
//#endregion
|
|
17692
|
-
//#region src/cli/commands/tailordb/migrate/types.d.ts
|
|
17693
|
-
/**
|
|
17694
|
-
* Label key for storing migration state in TailorDB Service metadata
|
|
17695
|
-
*/
|
|
17696
|
-
declare const MIGRATION_LABEL_KEY = "sdk-migration";
|
|
17697
|
-
//#endregion
|
|
17698
|
-
//#region src/cli/commands/tailordb/migrate/snapshot.d.ts
|
|
17699
|
-
/**
|
|
17700
|
-
* Initial schema migration number (0000)
|
|
17701
|
-
*/
|
|
17702
|
-
declare const INITIAL_SCHEMA_NUMBER = 0;
|
|
17703
|
-
/**
|
|
17704
|
-
* Migration file names (used within migration directories)
|
|
17705
|
-
*/
|
|
17706
|
-
declare const SCHEMA_FILE_NAME = "schema.json";
|
|
17707
|
-
/** File name for migration diff metadata. */
|
|
17708
|
-
declare const DIFF_FILE_NAME = "diff.json";
|
|
17709
|
-
/** File name for migration script. */
|
|
17710
|
-
declare const MIGRATE_FILE_NAME = "migrate.ts";
|
|
17711
|
-
/** File name for generated DB type definitions. */
|
|
17712
|
-
declare const DB_TYPES_FILE_NAME = "db.ts";
|
|
17713
18637
|
/**
|
|
17714
18638
|
* Hook configuration in schema snapshot
|
|
17715
18639
|
*/
|
|
@@ -17879,6 +18803,240 @@ interface TailorDBSnapshotType {
|
|
|
17879
18803
|
gql?: SnapshotGqlPermission;
|
|
17880
18804
|
};
|
|
17881
18805
|
}
|
|
18806
|
+
//#endregion
|
|
18807
|
+
//#region src/cli/commands/tailordb/migrate/diff-calculator.d.ts
|
|
18808
|
+
/**
|
|
18809
|
+
* Current schema snapshot format version
|
|
18810
|
+
*/
|
|
18811
|
+
declare const SCHEMA_SNAPSHOT_VERSION: 1;
|
|
18812
|
+
/**
|
|
18813
|
+
* Properties shared by all diff change variants
|
|
18814
|
+
*/
|
|
18815
|
+
interface DiffChangeBase {
|
|
18816
|
+
typeName: string;
|
|
18817
|
+
reason?: string;
|
|
18818
|
+
}
|
|
18819
|
+
/**
|
|
18820
|
+
* Type-level settings patch carried by legacy `type_modified` changes.
|
|
18821
|
+
* Current SDK versions no longer produce this kind, but persisted
|
|
18822
|
+
* diff.json files written by older versions may still contain it.
|
|
18823
|
+
*/
|
|
18824
|
+
interface TypeSettingsPatch {
|
|
18825
|
+
indexes?: Record<string, SnapshotIndexConfig>;
|
|
18826
|
+
files?: Record<string, string>;
|
|
18827
|
+
}
|
|
18828
|
+
/**
|
|
18829
|
+
* Permission state carried by `permission_modified` changes.
|
|
18830
|
+
*/
|
|
18831
|
+
interface SnapshotPermissionState {
|
|
18832
|
+
recordPermission?: SnapshotRecordPermission;
|
|
18833
|
+
gqlPermission?: SnapshotGqlPermission;
|
|
18834
|
+
}
|
|
18835
|
+
/** A new type was added to the schema. */
|
|
18836
|
+
interface TypeAddedChange extends DiffChangeBase {
|
|
18837
|
+
kind: "type_added";
|
|
18838
|
+
after: TailorDBSnapshotType;
|
|
18839
|
+
}
|
|
18840
|
+
/** An existing type was removed from the schema. */
|
|
18841
|
+
interface TypeRemovedChange extends DiffChangeBase {
|
|
18842
|
+
kind: "type_removed";
|
|
18843
|
+
before: TailorDBSnapshotType;
|
|
18844
|
+
}
|
|
18845
|
+
/**
|
|
18846
|
+
* Legacy type-level settings change. Kept for backward compatibility with
|
|
18847
|
+
* diff.json files written by older SDK versions; `before`/`after` may be
|
|
18848
|
+
* absent in those files, hence optional.
|
|
18849
|
+
*/
|
|
18850
|
+
interface TypeModifiedChange extends DiffChangeBase {
|
|
18851
|
+
kind: "type_modified";
|
|
18852
|
+
before?: TypeSettingsPatch;
|
|
18853
|
+
after?: TypeSettingsPatch;
|
|
18854
|
+
}
|
|
18855
|
+
/** A field was added to a type. */
|
|
18856
|
+
interface FieldAddedChange extends DiffChangeBase {
|
|
18857
|
+
kind: "field_added";
|
|
18858
|
+
fieldName: string;
|
|
18859
|
+
after: SnapshotFieldConfig;
|
|
18860
|
+
}
|
|
18861
|
+
/** A field was removed from a type. */
|
|
18862
|
+
interface FieldRemovedChange extends DiffChangeBase {
|
|
18863
|
+
kind: "field_removed";
|
|
18864
|
+
fieldName: string;
|
|
18865
|
+
before: SnapshotFieldConfig;
|
|
18866
|
+
}
|
|
18867
|
+
/** A field configuration was modified. */
|
|
18868
|
+
interface FieldModifiedChange extends DiffChangeBase {
|
|
18869
|
+
kind: "field_modified";
|
|
18870
|
+
fieldName: string;
|
|
18871
|
+
before: SnapshotFieldConfig;
|
|
18872
|
+
after: SnapshotFieldConfig;
|
|
18873
|
+
}
|
|
18874
|
+
/** An index was added to a type. */
|
|
18875
|
+
interface IndexAddedChange extends DiffChangeBase {
|
|
18876
|
+
kind: "index_added";
|
|
18877
|
+
indexName: string;
|
|
18878
|
+
after: SnapshotIndexConfig;
|
|
18879
|
+
}
|
|
18880
|
+
/** An index was removed from a type. */
|
|
18881
|
+
interface IndexRemovedChange extends DiffChangeBase {
|
|
18882
|
+
kind: "index_removed";
|
|
18883
|
+
indexName: string;
|
|
18884
|
+
before: SnapshotIndexConfig;
|
|
18885
|
+
}
|
|
18886
|
+
/** An index configuration was modified. */
|
|
18887
|
+
interface IndexModifiedChange extends DiffChangeBase {
|
|
18888
|
+
kind: "index_modified";
|
|
18889
|
+
indexName: string;
|
|
18890
|
+
before: SnapshotIndexConfig;
|
|
18891
|
+
after: SnapshotIndexConfig;
|
|
18892
|
+
}
|
|
18893
|
+
/** A file field was added to a type. `before`/`after` hold the description. */
|
|
18894
|
+
interface FileAddedChange extends DiffChangeBase {
|
|
18895
|
+
kind: "file_added";
|
|
18896
|
+
fieldName: string;
|
|
18897
|
+
after: string;
|
|
18898
|
+
}
|
|
18899
|
+
/** A file field was removed from a type. */
|
|
18900
|
+
interface FileRemovedChange extends DiffChangeBase {
|
|
18901
|
+
kind: "file_removed";
|
|
18902
|
+
fieldName: string;
|
|
18903
|
+
before: string;
|
|
18904
|
+
}
|
|
18905
|
+
/** A file field description was modified. */
|
|
18906
|
+
interface FileModifiedChange extends DiffChangeBase {
|
|
18907
|
+
kind: "file_modified";
|
|
18908
|
+
fieldName: string;
|
|
18909
|
+
before: string;
|
|
18910
|
+
after: string;
|
|
18911
|
+
}
|
|
18912
|
+
/**
|
|
18913
|
+
* A relationship was added to a type. `relationshipType` is optional for
|
|
18914
|
+
* backward compatibility: diff.json files written by older SDK versions
|
|
18915
|
+
* predate the field.
|
|
18916
|
+
*/
|
|
18917
|
+
interface RelationshipAddedChange extends DiffChangeBase {
|
|
18918
|
+
kind: "relationship_added";
|
|
18919
|
+
relationshipName: string;
|
|
18920
|
+
relationshipType?: "forward" | "backward";
|
|
18921
|
+
after: SnapshotRelationship;
|
|
18922
|
+
}
|
|
18923
|
+
/** A relationship was removed from a type. */
|
|
18924
|
+
interface RelationshipRemovedChange extends DiffChangeBase {
|
|
18925
|
+
kind: "relationship_removed";
|
|
18926
|
+
relationshipName: string;
|
|
18927
|
+
relationshipType?: "forward" | "backward";
|
|
18928
|
+
before: SnapshotRelationship;
|
|
18929
|
+
}
|
|
18930
|
+
/** A relationship configuration was modified. */
|
|
18931
|
+
interface RelationshipModifiedChange extends DiffChangeBase {
|
|
18932
|
+
kind: "relationship_modified";
|
|
18933
|
+
relationshipName: string;
|
|
18934
|
+
relationshipType?: "forward" | "backward";
|
|
18935
|
+
before: SnapshotRelationship;
|
|
18936
|
+
after: SnapshotRelationship;
|
|
18937
|
+
}
|
|
18938
|
+
/**
|
|
18939
|
+
* Type-level permissions were modified. `before`/`after` are optional for
|
|
18940
|
+
* robustness against hand-edited or legacy diff.json files; consumers guard
|
|
18941
|
+
* on their presence.
|
|
18942
|
+
*/
|
|
18943
|
+
interface PermissionModifiedChange extends DiffChangeBase {
|
|
18944
|
+
kind: "permission_modified";
|
|
18945
|
+
before?: SnapshotPermissionState;
|
|
18946
|
+
after?: SnapshotPermissionState;
|
|
18947
|
+
}
|
|
18948
|
+
/**
|
|
18949
|
+
* Single change in migration diff, discriminated by `kind` so that
|
|
18950
|
+
* `before`/`after` are typed per change kind.
|
|
18951
|
+
*/
|
|
18952
|
+
type DiffChange = TypeAddedChange | TypeRemovedChange | TypeModifiedChange | FieldAddedChange | FieldRemovedChange | FieldModifiedChange | IndexAddedChange | IndexRemovedChange | IndexModifiedChange | FileAddedChange | FileRemovedChange | FileModifiedChange | RelationshipAddedChange | RelationshipRemovedChange | RelationshipModifiedChange | PermissionModifiedChange;
|
|
18953
|
+
/**
|
|
18954
|
+
* Migration diff - changes between two schema versions
|
|
18955
|
+
* Stored as XXXX/diff.json (e.g., 0001/diff.json)
|
|
18956
|
+
*/
|
|
18957
|
+
interface MigrationDiff {
|
|
18958
|
+
/** Format version for future compatibility */
|
|
18959
|
+
version: typeof SCHEMA_SNAPSHOT_VERSION;
|
|
18960
|
+
namespace: string;
|
|
18961
|
+
createdAt: string;
|
|
18962
|
+
description?: string;
|
|
18963
|
+
changes: DiffChange[];
|
|
18964
|
+
/** Whether there are breaking changes (data loss or constraint violations possible) */
|
|
18965
|
+
hasBreakingChanges: boolean;
|
|
18966
|
+
/** List of breaking changes */
|
|
18967
|
+
breakingChanges: BreakingChangeInfo[];
|
|
18968
|
+
/** Whether there are non-breaking changes that may cause data loss (e.g. field/type removal) */
|
|
18969
|
+
hasWarnings: boolean;
|
|
18970
|
+
/** List of non-breaking warnings */
|
|
18971
|
+
warnings: WarningChangeInfo[];
|
|
18972
|
+
/** Whether a migration script is required to handle data migration */
|
|
18973
|
+
requiresMigrationScript: boolean;
|
|
18974
|
+
}
|
|
18975
|
+
/**
|
|
18976
|
+
* Breaking change information in migration diff
|
|
18977
|
+
*/
|
|
18978
|
+
interface BreakingChangeInfo {
|
|
18979
|
+
typeName: string;
|
|
18980
|
+
fieldName?: string;
|
|
18981
|
+
reason: string;
|
|
18982
|
+
/** If true, this change is not supported and migration generation will fail */
|
|
18983
|
+
unsupported?: boolean;
|
|
18984
|
+
/** If true, show 3-step migration instructions for this unsupported change */
|
|
18985
|
+
showThreeStepHint?: boolean;
|
|
18986
|
+
}
|
|
18987
|
+
/**
|
|
18988
|
+
* Warning change information in migration diff.
|
|
18989
|
+
*
|
|
18990
|
+
* Warnings are non-breaking changes that may still cause data loss
|
|
18991
|
+
* (e.g. removing a field or type). Unlike breaking changes, a migration
|
|
18992
|
+
* script is not required, but writing one is recommended if you need to
|
|
18993
|
+
* preserve or transform data before the change applies.
|
|
18994
|
+
*/
|
|
18995
|
+
interface WarningChangeInfo {
|
|
18996
|
+
typeName: string;
|
|
18997
|
+
fieldName?: string;
|
|
18998
|
+
reason: string;
|
|
18999
|
+
}
|
|
19000
|
+
/**
|
|
19001
|
+
* Check if a migration diff has any changes
|
|
19002
|
+
* @param {MigrationDiff} diff - Migration diff to check
|
|
19003
|
+
* @returns {boolean} True if diff has changes
|
|
19004
|
+
*/
|
|
19005
|
+
declare function hasChanges(diff: MigrationDiff): boolean;
|
|
19006
|
+
/**
|
|
19007
|
+
* Format a migration diff for display
|
|
19008
|
+
* @param {MigrationDiff} diff - Migration diff to format
|
|
19009
|
+
* @returns {string} Formatted diff string
|
|
19010
|
+
*/
|
|
19011
|
+
declare function formatMigrationDiff(diff: MigrationDiff): string;
|
|
19012
|
+
/**
|
|
19013
|
+
* Format a summary of the migration diff
|
|
19014
|
+
* @param {MigrationDiff} diff - Migration diff to summarize
|
|
19015
|
+
* @returns {string} Formatted summary string
|
|
19016
|
+
*/
|
|
19017
|
+
declare function formatDiffSummary(diff: MigrationDiff): string;
|
|
19018
|
+
//#endregion
|
|
19019
|
+
//#region src/cli/commands/tailordb/migrate/types.d.ts
|
|
19020
|
+
/**
|
|
19021
|
+
* Label key for storing migration state in TailorDB Service metadata
|
|
19022
|
+
*/
|
|
19023
|
+
declare const MIGRATION_LABEL_KEY = "sdk-migration";
|
|
19024
|
+
//#endregion
|
|
19025
|
+
//#region src/cli/commands/tailordb/migrate/snapshot.d.ts
|
|
19026
|
+
/**
|
|
19027
|
+
* Initial schema migration number (0000)
|
|
19028
|
+
*/
|
|
19029
|
+
declare const INITIAL_SCHEMA_NUMBER = 0;
|
|
19030
|
+
/**
|
|
19031
|
+
* Migration file names (used within migration directories)
|
|
19032
|
+
*/
|
|
19033
|
+
declare const SCHEMA_FILE_NAME = "schema.json";
|
|
19034
|
+
/** File name for migration diff metadata. */
|
|
19035
|
+
declare const DIFF_FILE_NAME = "diff.json";
|
|
19036
|
+
/** File name for migration script. */
|
|
19037
|
+
declare const MIGRATE_FILE_NAME = "migrate.ts";
|
|
19038
|
+
/** File name for generated DB type definitions. */
|
|
19039
|
+
declare const DB_TYPES_FILE_NAME = "db.ts";
|
|
17882
19040
|
/**
|
|
17883
19041
|
* Schema snapshot - full schema state at a point in time
|
|
17884
19042
|
* Stored as XXXX/schema.json (e.g., 0000/schema.json for initial snapshot)
|