@tailor-platform/sdk 1.85.2 → 1.85.4

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.
@@ -11,7 +11,6 @@ interface ListMachineUsersOptions {
11
11
  interface MachineUserInfo {
12
12
  name: string;
13
13
  clientId: string;
14
- clientSecret: string;
15
14
  createdAt: Date | null;
16
15
  updatedAt: Date | null;
17
16
  attributes: Record<string, unknown>;
@@ -3,8 +3,8 @@ import { r as parseInputFields } from "../schema-CYrle8JZ.mjs";
3
3
  import { At as PATScope, Ct as AuthInvokerSchema, E as CustomDomainStatus, W as FunctionExecution_Type } from "../workspace_resource_pb-6X2GIZDj.mjs";
4
4
  import { t as assertDefined } from "../assert-DBxo8jPo.mjs";
5
5
  import { n as logger, r as styles } from "../logger-CXQq9YIp.mjs";
6
- import { $n as saveUserTokens, $t as checkMigrationDiffs, An as formatMigrationDiff, At as startCommand, Bn as loadConfig, Bt as deployFromCLI, Ct as listCommand$7, Dn as formatMigrationNumber, Dt as jobsCommand, E as listCommand$13, En as reconstructSnapshotFromMigrations, F as openInConfiguredEditor, Fn as PluginManager, G as treeCommand, Gn as loadAccessToken, Gt as formatKeyValueTable, H as updateCommand$3, Hn as fetchLatestToken, In as generateUserTypes, J as getCommand$5, Jn as loadStoredUserTokens, Jt as executeScript, K as listCommand$12, Kn as loadConsoleBaseUrl, Kt as workspaceNameSchema, L as showCommand, Ln as prompt, Lt as getCommand$1, M as generateMigrationScript, Mn as getNamespacesWithMigrations, Mt as getCommand$6, N as writeDbTypesFile, Nn as resourceTrn, On as parseMigrationNumberArg, P as getConfiguredEditorCommand, Pn as sdkNameLabelKey, Pt as executionsCommand, Q as listCommand$11, Qn as resolveUserTokenKey, R as extractOwnedNamespaces, Rn as apiCall, S as waitCommand, Sn as getMigrationFiles, Tn as loadDiff, Un as hasAnyUserTokenEntry, Ut as createCommand$4, V as removeCommand$1, Vn as deleteUserTokens, Vt as listCommand$16, Wn as hasUserTokenEntry, X as updateCommand$2, Xn as platformConfigFromProfile, Xt as functionExecutionStatusToString, Yn as loadWorkspaceId, Zn as readPlatformConfig, Zt as joinFunctionLogMessages, _n as createSnapshotFromLocalTypes, _t as getCommand$2, an as parseMigrationLabelNumber, ar as deploymentArgs, bt as webhookCommand, c as listCommand$15, cn as protoGqlPermission, cr as pagedLogArgs, ct as getCommand$3, dn as INITIAL_SCHEMA_NUMBER, dr as toPageDirection, dt as tokenCommand, en as logRemoteDriftGuidance, er as writePlatformConfig, et as getCommand$4, f as restoreCommand, fr as workspaceArgs, ft as listCommand$9, g as deleteCommand$5, hn as compareLocalTypesWithSnapshot, ht as listCommand$8, i as updateCommand$4, in as handleOptionalToRequiredError, ir as confirmationArgs, it as createCommand$3, j as generateCommand$1, jn as hasChanges, k as truncateCommand, kn as formatDiffSummary, lr as paginationArgs, m as getCommand$7, mn as assertValidMigrationFiles, mt as generate, nn as verifyRemoteSchema, nr as commonArgs, nt as deleteCommand$4, o as removeCommand, on as compareSnapshotWithRemote, or as isVerbose, ot as listCommand$10, qn as loadMachineUserName, qt as ensureConfigId, r as queryCommand, rn as MIGRATION_LABEL_KEY, rr as configArg, sn as generateAllTypeManifestsFromSnapshot, sr as multiConfigArg, t as registerTypeScriptRuntime, tn as toTailorDBDeployInput, tr as defineAppCommand, u as inviteCommand, ur as resolveMachineUserInputSource, vn as formatSchemaDrifts, w as resumeCommand, wn as isValidMigrationNumber, x as healthCommand, xn as getMigrationFilePath, xt as triggerCommand, y as listCommand$14, yn as getLatestMigrationNumber, z as logBetaWarning, zn as assertWritable } from "../register-typescript-runtime-DFYkQ44K.mjs";
7
- import { A as getDistDir, B as fetchUserInfo, C as composeFunctionTreeshakeOptions, E as createBundleLog, F as fetchAll, G as initOAuth2Client, I as fetchAllTolerant, K as initOperatorClient, N as closeConnectionPool, P as defaultPlatformBaseUrl, R as fetchPaged, S as platformBundleDefinePlugin, T as resolveBundleLogLevel, U as getOrNull, b as createTsconfigPathsPlugin, c as WorkflowJobSchema, d as INVOKER_EXPR, h as assertUniqueLocalTailorDBTypeNames, j as hashContent$1, l as ResolverSchema, m as buildResolverPermissionAndInputCheckExpr, o as resolveInlineSourcemap, q as isDefaultPlatform, t as defineApplication, w as createLogLevelTreeshakeOptions, x as resolveTSConfigWithFallback, y as createGeneratedEntryResolverPlugin, z as fetchPlatformMachineUserToken } from "../application-DT4QXGjs.mjs";
6
+ import { $n as saveUserTokens, $t as checkMigrationDiffs, An as formatMigrationDiff, At as startCommand, Bn as loadConfig, Bt as deployFromCLI, Ct as listCommand$7, Dn as formatMigrationNumber, Dt as jobsCommand, E as listCommand$13, En as reconstructSnapshotFromMigrations, F as openInConfiguredEditor, Fn as PluginManager, G as treeCommand, Gn as loadAccessToken, Gt as formatKeyValueTable, H as updateCommand$3, Hn as fetchLatestToken, In as generateUserTypes, J as getCommand$5, Jn as loadStoredUserTokens, Jt as executeScript, K as listCommand$12, Kn as loadConsoleBaseUrl, Kt as workspaceNameSchema, L as showCommand, Ln as prompt, Lt as getCommand$1, M as generateMigrationScript, Mn as getNamespacesWithMigrations, Mt as getCommand$6, N as writeDbTypesFile, Nn as resourceTrn, On as parseMigrationNumberArg, P as getConfiguredEditorCommand, Pn as sdkNameLabelKey, Pt as executionsCommand, Q as listCommand$11, Qn as resolveUserTokenKey, R as extractOwnedNamespaces, Rn as apiCall, S as waitCommand, Sn as getMigrationFiles, Tn as loadDiff, Un as hasAnyUserTokenEntry, Ut as createCommand$4, V as removeCommand$1, Vn as deleteUserTokens, Vt as listCommand$16, Wn as hasUserTokenEntry, X as updateCommand$2, Xn as platformConfigFromProfile, Xt as functionExecutionStatusToString, Yn as loadWorkspaceId, Zn as readPlatformConfig, Zt as joinFunctionLogMessages, _n as createSnapshotFromLocalTypes, _t as getCommand$2, an as parseMigrationLabelNumber, ar as deploymentArgs, bt as webhookCommand, c as listCommand$15, cn as protoGqlPermission, cr as pagedLogArgs, ct as getCommand$3, dn as INITIAL_SCHEMA_NUMBER, dr as toPageDirection, dt as tokenCommand, en as logRemoteDriftGuidance, er as writePlatformConfig, et as getCommand$4, f as restoreCommand, fr as workspaceArgs, ft as listCommand$9, g as deleteCommand$5, hn as compareLocalTypesWithSnapshot, ht as listCommand$8, i as updateCommand$4, in as handleOptionalToRequiredError, ir as confirmationArgs, it as createCommand$3, j as generateCommand$1, jn as hasChanges, k as truncateCommand, kn as formatDiffSummary, lr as paginationArgs, m as getCommand$7, mn as assertValidMigrationFiles, mt as generate, nn as verifyRemoteSchema, nr as commonArgs, nt as deleteCommand$4, o as removeCommand, on as compareSnapshotWithRemote, or as isVerbose, ot as listCommand$10, qn as loadMachineUserName, qt as ensureConfigId, r as queryCommand, rn as MIGRATION_LABEL_KEY, rr as configArg, sn as generateAllTypeManifestsFromSnapshot, sr as multiConfigArg, t as registerTypeScriptRuntime, tn as toTailorDBDeployInput, tr as defineAppCommand, u as inviteCommand, ur as resolveMachineUserInputSource, vn as formatSchemaDrifts, w as resumeCommand, wn as isValidMigrationNumber, x as healthCommand, xn as getMigrationFilePath, xt as triggerCommand, y as listCommand$14, yn as getLatestMigrationNumber, z as logBetaWarning, zn as assertWritable } from "../register-typescript-runtime-CkZYnoz3.mjs";
7
+ import { A as getDistDir, B as fetchPlatformMachineUserToken, C as composeFunctionTreeshakeOptions, E as createBundleLog, F as defaultPlatformBaseUrl, I as fetchAll, J as isDefaultPlatform, K as initOAuth2Client, L as fetchAllTolerant, P as closeConnectionPool, S as platformBundleDefinePlugin, T as resolveBundleLogLevel, V as fetchUserInfo, W as getOrNull, b as createTsconfigPathsPlugin, c as WorkflowJobSchema, d as INVOKER_EXPR, h as assertUniqueLocalTailorDBTypeNames, j as hashContent$1, l as ResolverSchema, m as buildResolverPermissionAndInputCheckExpr, o as resolveInlineSourcemap, q as initOperatorClient, t as defineApplication, w as createLogLevelTreeshakeOptions, x as resolveTSConfigWithFallback, y as createGeneratedEntryResolverPlugin, z as fetchPaged } from "../application-D9j1a2Xc.mjs";
8
8
  import { n as ExecutorSchema } from "../service-CPJWhTLn.mjs";
9
9
  import { t as multiline } from "../multiline-sfHpTZZK.mjs";
10
10
  import { t as isPluginGeneratedType } from "../type-source-DH_LH20p.mjs";
@@ -6846,7 +6846,7 @@ async function fetchRemoteTypes(client, workspaceId, namespace) {
6846
6846
  async function assertMigrationsReproduceLocalTypes(loaded, target) {
6847
6847
  const { config, plugins } = loaded;
6848
6848
  const pluginManager = plugins.length > 0 ? new PluginManager(plugins) : void 0;
6849
- const { defineApplication, generatePluginFilesIfNeeded } = await import("../application-DT0NIIm1.mjs");
6849
+ const { defineApplication, generatePluginFilesIfNeeded } = await import("../application-CzmT8-Nh.mjs");
6850
6850
  const application = defineApplication({
6851
6851
  config,
6852
6852
  pluginManager
@@ -7154,7 +7154,7 @@ async function collectValidationReports(options) {
7154
7154
  const targetNamespaces = options.namespace ? namespacesWithMigrations.filter((ns) => ns.namespace === options.namespace) : namespacesWithMigrations;
7155
7155
  if (targetNamespaces.length === 0) throw new Error(`Namespace "${options.namespace}" not found or does not have migrations configured`);
7156
7156
  const pluginManager = plugins.length > 0 ? new PluginManager(plugins) : void 0;
7157
- const { defineApplication } = await import("../application-DT0NIIm1.mjs");
7157
+ const { defineApplication } = await import("../application-CzmT8-Nh.mjs");
7158
7158
  const application = defineApplication({
7159
7159
  config,
7160
7160
  pluginManager
package/dist/cli/lib.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as assertDefined } from "../assert-DBxo8jPo.mjs";
2
- import { $ as listFolders, A as generate$1, An as formatMigrationDiff, B as remove, Bn as loadConfig, C as waitWorkflowExecution, Cn as getNextMigrationNumber, D as listWorkflows, En as reconstructSnapshotFromMigrations, Et as getExecutorWaitFailureMessage, Ft as getWorkflowExecution, Gn as loadAccessToken, Ht as listWorkspaces, I as show, In as generateUserTypes, It as listWorkflowExecutions, Jt as executeScript, Mn as getNamespacesWithMigrations, Nt as getWorkflow, O as truncate, Ot as listExecutorJobs, Qt as bundleMigrationScript, Rn as apiCall, Rt as getExecutor, Sn as getMigrationFiles, St as triggerExecutor, T as resumeWorkflow, Tt as getExecutorJob, U as updateOrganization, W as organizationTree, Wt as createWorkspace, Y as getOrganization, Yn as loadWorkspaceId, Yt as waitForExecution, Z as updateFolder, _ as deleteWorkspace, _n as createSnapshotFromLocalTypes, a as updateUser, at as createFolder, b as getAppHealth, bn as getMigrationDirPath, d as inviteUser, dn as INITIAL_SCHEMA_NUMBER, fn as MIGRATE_FILE_NAME, gn as compareSnapshots, gt as listFunctionRegistries, h as getWorkspace, hn as compareLocalTypesWithSnapshot, jn as hasChanges, jt as startWorkflow, kn as formatDiffSummary, kt as watchExecutorJob, l as listUsers, ln as DB_TYPES_FILE_NAME, lt as getOAuth2Client, mt as generate, n as query, p as restoreWorkspace, pn as SCHEMA_FILE_NAME, pt as listMachineUsers, q as listOrganizations, rn as MIGRATION_LABEL_KEY, rt as deleteFolder, s as removeUser, st as listOAuth2Clients, t as registerTypeScriptRuntime, tt as getFolder, un as DIFF_FILE_NAME, ut as getMachineUserToken, v as listApps, vt as getFunctionRegistry, wt as listExecutors, xn as getMigrationFilePath, yn as getLatestMigrationNumber, yt as listWebhookExecutors, zt as deploy } from "../register-typescript-runtime-DFYkQ44K.mjs";
3
- import { A as getDistDir, E as createBundleLog, K as initOperatorClient, S as platformBundleDefinePlugin, b as createTsconfigPathsPlugin, y as createGeneratedEntryResolverPlugin } from "../application-DT4QXGjs.mjs";
2
+ import { $ as listFolders, A as generate$1, An as formatMigrationDiff, B as remove, Bn as loadConfig, C as waitWorkflowExecution, Cn as getNextMigrationNumber, D as listWorkflows, En as reconstructSnapshotFromMigrations, Et as getExecutorWaitFailureMessage, Ft as getWorkflowExecution, Gn as loadAccessToken, Ht as listWorkspaces, I as show, In as generateUserTypes, It as listWorkflowExecutions, Jt as executeScript, Mn as getNamespacesWithMigrations, Nt as getWorkflow, O as truncate, Ot as listExecutorJobs, Qt as bundleMigrationScript, Rn as apiCall, Rt as getExecutor, Sn as getMigrationFiles, St as triggerExecutor, T as resumeWorkflow, Tt as getExecutorJob, U as updateOrganization, W as organizationTree, Wt as createWorkspace, Y as getOrganization, Yn as loadWorkspaceId, Yt as waitForExecution, Z as updateFolder, _ as deleteWorkspace, _n as createSnapshotFromLocalTypes, a as updateUser, at as createFolder, b as getAppHealth, bn as getMigrationDirPath, d as inviteUser, dn as INITIAL_SCHEMA_NUMBER, fn as MIGRATE_FILE_NAME, gn as compareSnapshots, gt as listFunctionRegistries, h as getWorkspace, hn as compareLocalTypesWithSnapshot, jn as hasChanges, jt as startWorkflow, kn as formatDiffSummary, kt as watchExecutorJob, l as listUsers, ln as DB_TYPES_FILE_NAME, lt as getOAuth2Client, mt as generate, n as query, p as restoreWorkspace, pn as SCHEMA_FILE_NAME, pt as listMachineUsers, q as listOrganizations, rn as MIGRATION_LABEL_KEY, rt as deleteFolder, s as removeUser, st as listOAuth2Clients, t as registerTypeScriptRuntime, tt as getFolder, un as DIFF_FILE_NAME, ut as getMachineUserToken, v as listApps, vt as getFunctionRegistry, wt as listExecutors, xn as getMigrationFilePath, yn as getLatestMigrationNumber, yt as listWebhookExecutors, zt as deploy } from "../register-typescript-runtime-CkZYnoz3.mjs";
3
+ import { A as getDistDir, E as createBundleLog, S as platformBundleDefinePlugin, b as createTsconfigPathsPlugin, q as initOperatorClient, y as createGeneratedEntryResolverPlugin } from "../application-D9j1a2Xc.mjs";
4
4
  import { n as enumConstantsPlugin } from "../enum-constants-j9QBF0cB.mjs";
5
5
  import { t as multiline } from "../multiline-sfHpTZZK.mjs";
6
6
  import { n as fileUtilsPlugin } from "../file-utils-DcyIPFQh.mjs";
@@ -1,5 +1,5 @@
1
1
  # politty-completion-version: 1
2
- # politty-bin-sig: 1791871983
2
+ # politty-bin-sig: 1792501496
3
3
  # politty-bin-path: /home/runner/work/sdk/sdk/node_modules/.bin/tailor-sdk
4
4
  # program: tailor-sdk
5
5
  # shell: zsh
@@ -2,7 +2,7 @@ import { t as db } from "./schema-CYrle8JZ.mjs";
2
2
  import { $ as CreateAuthHookRequestSchema, B as IdPLang, Bt as Subgraph_ServiceType, C as CreateStaticWebsiteRequestSchema, Ct as AuthInvokerSchema, D as CreateSecretManagerSecretRequestSchema, Dt as AuthSCIMAttribute_Type, Et as AuthSCIMAttribute_Mutability, Ft as CreateApplicationRequestSchema, H as IdPPermissionPermit, Ht as UpdateAIGatewayRequestSchema, I as PipelineResolver_OperationType, It as GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus, Jt as FilterSchema, K as CreateExecutorExecutorRequestSchema, Kt as ConditionSchema, L as CreateIdPServiceRequestSchema, Lt as UpdateApplicationRequestSchema, M as CreatePipelineServiceRequestSchema, Mt as UserProfileProviderConfig_UserProfileProviderType, N as UpdatePipelineResolverRequestSchema, O as CreateSecretManagerVaultRequestSchema, Ot as AuthSCIMAttribute_Uniqueness, P as UpdatePipelineServiceRequestSchema, Q as CreateAuthConnectionRequestSchema, R as UpdateIdPServiceRequestSchema, S as AddCustomDomainRequestSchema, St as AuthIDPConfig_AuthType, Tt as AuthOAuth2Client_GrantType, U as FunctionExecution_Status, V as IdPPermissionOperator, Vt as CreateAIGatewayRequestSchema, X as ExecutorTargetType, Y as ExecutorJobStatus, Yt as PageDirection, Z as ExecutorTriggerType, _ as TailorDBGQLPermission_Permit, _t as UpdateUserProfileConfigRequestSchema, a as CreateWorkflowRequestSchema, at as CreateAuthServiceRequestSchema, b as TailorDBType_Permission_Permit, bt as AuthConnection_Type, ct as UpdateAuthConnectionRequestSchema, d as CreateTailorDBServiceRequestSchema, dt as UpdateAuthMachineUserRequestSchema, et as CreateAuthIDPConfigRequestSchema, f as CreateTailorDBTypeRequestSchema, ft as UpdateAuthOAuth2ClientRequestSchema, g as TailorDBGQLPermission_Operator, gt as UpdateTenantConfigRequestSchema, h as TailorDBGQLPermission_Action, ht as UpdateAuthServiceRequestSchema, i as CreateWorkflowJobFunctionRequestSchema, it as CreateAuthSCIMResourceRequestSchema, j as CreatePipelineResolverRequestSchema, jt as TenantProviderConfig_TenantProviderType, k as UpdateSecretManagerSecretRequestSchema, kt as AuthSCIMConfig_AuthorizationType, l as WorkflowExecution_Status, lt as UpdateAuthHookRequestSchema, mt as UpdateAuthSCIMResourceRequestSchema, nt as CreateAuthOAuth2ClientRequestSchema, o as UpdateWorkflowJobFunctionExecutionPolicyRequestSchema, ot as CreateTenantConfigRequestSchema, p as UpdateTailorDBTypeRequestSchema, pt as UpdateAuthSCIMConfigRequestSchema, q as UpdateExecutorExecutorRequestSchema, qt as Condition_Operator, r as CreateWorkflowJobFunctionExecutionPolicyRequestSchema, rt as CreateAuthSCIMConfigRequestSchema, s as UpdateWorkflowRequestSchema, st as CreateUserProfileConfigRequestSchema, t as WorkspacePlatformUserRole, tt as CreateAuthMachineUserRequestSchema, u as WorkflowJobExecution_Status, ut as UpdateAuthIDPConfigRequestSchema, v as TailorDBTypeSchema, w as UpdateStaticWebsiteRequestSchema, wt as AuthOAuth2Client_ClientType, x as TailorDBType_PermitAction, xt as AuthHookPoint, y as TailorDBType_Permission_Operator, yt as AuthConnection_Status, zt as ApplicationSchemaUpdateAttemptStatus } from "./workspace_resource_pb-6X2GIZDj.mjs";
3
3
  import { t as assertDefined } from "./assert-DBxo8jPo.mjs";
4
4
  import { a as parseBoolean, i as symbols, n as logger, o as renderTable, r as styles, t as CIPromptError } from "./logger-CXQq9YIp.mjs";
5
- import { $ as createApplyLimiter, A as getDistDir, D as getPluginGenerationDependencies, E as createBundleLog, F as fetchAll, G as initOAuth2Client, H as getOAuth2ClientId, I as fetchAllTolerant, J as isNotFoundError, K as initOperatorClient, L as fetchMachineUserToken, M as hashFile, O as hasGenerationHooks, P as defaultPlatformBaseUrl, Q as byName, R as fetchPaged, S as platformBundleDefinePlugin, U as getOrNull, V as getConsoleBaseUrl, W as getPlatformBaseUrl, X as rememberPlatformConfigForToken, Y as normalizeBaseUrl, Z as resolveStaticWebsiteUrls, _ as TailorDBTypeSchema$1, a as resolverBundleKey, b as createTsconfigPathsPlugin, et as LOG_LEVELS, f as buildExecutorArgsExpr, g as assertUniqueTailorDBTypeNamesWithExternal, h as assertUniqueLocalTailorDBTypeNames, i as hasImplicitAllEmailDomains, j as hashContent, k as createBundleCache, n as generatePluginFilesIfNeeded, p as buildResolverOperationHookExpr, q as isDefaultPlatform, r as loadApplication, s as WorkflowJobFunctionExecutionPolicySchema, t as defineApplication, u as HTTP_METHODS, v as stringifyFunction, x as resolveTSConfigWithFallback, y as createGeneratedEntryResolverPlugin } from "./application-DT4QXGjs.mjs";
5
+ import { $ as byName, A as getDistDir, D as getPluginGenerationDependencies, E as createBundleLog, F as defaultPlatformBaseUrl, G as getPlatformBaseUrl, H as getConsoleBaseUrl, I as fetchAll, J as isDefaultPlatform, K as initOAuth2Client, L as fetchAllTolerant, M as hashFile, N as MAX_PAGE_SIZE, O as hasGenerationHooks, Q as resolveStaticWebsiteUrls, R as fetchMachineUserToken, S as platformBundleDefinePlugin, U as getOAuth2ClientId, W as getOrNull, X as normalizeBaseUrl, Y as isNotFoundError, Z as rememberPlatformConfigForToken, _ as TailorDBTypeSchema$1, a as resolverBundleKey, b as createTsconfigPathsPlugin, et as createApplyLimiter, f as buildExecutorArgsExpr, g as assertUniqueTailorDBTypeNamesWithExternal, h as assertUniqueLocalTailorDBTypeNames, i as hasImplicitAllEmailDomains, j as hashContent, k as createBundleCache, n as generatePluginFilesIfNeeded, p as buildResolverOperationHookExpr, q as initOperatorClient, r as loadApplication, s as WorkflowJobFunctionExecutionPolicySchema, t as defineApplication, tt as LOG_LEVELS, u as HTTP_METHODS, v as stringifyFunction, x as resolveTSConfigWithFallback, y as createGeneratedEntryResolverPlugin, z as fetchPaged } from "./application-D9j1a2Xc.mjs";
6
6
  import { o as loadFilesWithIgnores, s as functionSchema, t as createExecutorService } from "./service-CPJWhTLn.mjs";
7
7
  import { n as enumConstantsPlugin, t as EnumConstantsGeneratorID } from "./enum-constants-j9QBF0cB.mjs";
8
8
  import { t as multiline } from "./multiline-sfHpTZZK.mjs";
@@ -17719,7 +17719,6 @@ function machineUserInfo(user) {
17719
17719
  return {
17720
17720
  name: user.name,
17721
17721
  clientId: user.clientId,
17722
- clientSecret: user.clientSecret,
17723
17722
  createdAt: user.createdAt ? timestampDate(user.createdAt) : null,
17724
17723
  updatedAt: user.updatedAt ? timestampDate(user.updatedAt) : null,
17725
17724
  attributes: Object.fromEntries(Object.entries(user.attributeMap).map(([key, value]) => [key, toJson(ValueSchema, value)]))
@@ -19406,7 +19405,7 @@ async function generate(options) {
19406
19405
  if (options.init) await handleInitOption(namespacesWithMigrations, options.yes);
19407
19406
  let pluginManager;
19408
19407
  if (plugins.length > 0) pluginManager = new PluginManager(plugins);
19409
- const { defineApplication } = await import("./application-DT0NIIm1.mjs");
19408
+ const { defineApplication } = await import("./application-CzmT8-Nh.mjs");
19410
19409
  const application = defineApplication({
19411
19410
  config,
19412
19411
  pluginManager
@@ -19572,10 +19571,13 @@ async function resolveTypeNamespaces(args) {
19572
19571
  const typeNamespaceMap = /* @__PURE__ */ new Map();
19573
19572
  for (const namespace of args.namespaces) {
19574
19573
  if (unresolvedTypes.size === 0) break;
19575
- try {
19576
- const { tailordbTypes } = await args.client.listTailorDBTypes({
19574
+ let pageToken = "";
19575
+ do {
19576
+ const { tailordbTypes, nextPageToken } = await args.client.listTailorDBTypes({
19577
19577
  workspaceId: args.workspaceId,
19578
- namespaceName: namespace
19578
+ namespaceName: namespace,
19579
+ pageToken,
19580
+ pageSize: MAX_PAGE_SIZE
19579
19581
  });
19580
19582
  for (const type of tailordbTypes) {
19581
19583
  const matchedRequestedTypes = requestedTypesByLowercase.get(type.name.toLowerCase());
@@ -19586,9 +19588,8 @@ async function resolveTypeNamespaces(args) {
19586
19588
  unresolvedTypes.delete(requestedTypeName);
19587
19589
  }
19588
19590
  }
19589
- } catch {
19590
- continue;
19591
- }
19591
+ pageToken = nextPageToken;
19592
+ } while (pageToken && unresolvedTypes.size > 0);
19592
19593
  }
19593
19594
  return typeNamespaceMap;
19594
19595
  }
@@ -21542,4 +21543,4 @@ async function registerTypeScriptRuntime(hookUrl) {
21542
21543
 
21543
21544
  //#endregion
21544
21545
  export { listFolders as $, saveUserTokens as $n, checkMigrationDiffs as $t, generate as A, formatMigrationDiff as An, startCommand as At, remove as B, loadConfig as Bn, deployFromCLI as Bt, waitWorkflowExecution as C, getNextMigrationNumber as Cn, listCommand$8 as Ct, listWorkflows as D, formatMigrationNumber as Dn, jobsCommand as Dt, listCommand$2 as E, reconstructSnapshotFromMigrations as En, getExecutorWaitFailureMessage as Et, openInConfiguredEditor as F, PluginManager as Fn, getWorkflowExecution as Ft, treeCommand as G, loadAccessToken as Gn, formatKeyValueTable as Gt, updateCommand$1 as H, fetchLatestToken as Hn, listWorkspaces as Ht, show as I, generateUserTypes as In, listWorkflowExecutions as It, getCommand$1 as J, loadStoredUserTokens as Jn, executeScript as Jt, listCommand$3 as K, loadConsoleBaseUrl as Kn, workspaceNameSchema as Kt, showCommand as L, prompt as Ln, getCommand$6 as Lt, generateMigrationScript as M, getNamespacesWithMigrations as Mn, getCommand$5 as Mt, writeDbTypesFile as N, resourceTrn as Nn, getWorkflow as Nt, truncate as O, parseMigrationNumberArg as On, listExecutorJobs as Ot, getConfiguredEditorCommand as P, sdkNameLabelKey as Pn, executionsCommand as Pt, listCommand$4 as Q, resolveUserTokenKey as Qn, bundleMigrationScript as Qt, extractOwnedNamespaces as R, apiCall as Rn, getExecutor as Rt, waitCommand as S, getMigrationFiles as Sn, triggerExecutor as St, resumeWorkflow as T, loadDiff as Tn, getExecutorJob as Tt, updateOrganization as U, hasAnyUserTokenEntry as Un, createCommand$1 as Ut, removeCommand$1 as V, deleteUserTokens as Vn, listCommand$9 as Vt, organizationTree as W, hasUserTokenEntry as Wn, createWorkspace$1 as Wt, updateCommand$2 as X, platformConfigFromProfile as Xn, functionExecutionStatusToString as Xt, getOrganization as Y, loadWorkspaceId as Yn, waitForExecution as Yt, updateFolder as Z, readPlatformConfig as Zn, joinFunctionLogMessages as Zt, deleteWorkspace as _, createSnapshotFromLocalTypes as _n, getCommand$4 as _t, updateUser as a, parseMigrationLabelNumber as an, deploymentArgs as ar, createFolder as at, getAppHealth as b, getMigrationDirPath as bn, webhookCommand as bt, listCommand as c, protoGqlPermission as cn, pagedLogArgs as cr, getCommand$3 as ct, inviteUser as d, INITIAL_SCHEMA_NUMBER as dn, toPageDirection as dr, tokenCommand as dt, logRemoteDriftGuidance as en, writePlatformConfig as er, getCommand$2 as et, restoreCommand as f, MIGRATE_FILE_NAME as fn, workspaceArgs as fr, listCommand$6 as ft, deleteCommand as g, compareSnapshots as gn, listFunctionRegistries as gt, getWorkspace as h, compareLocalTypesWithSnapshot as hn, listCommand$7 as ht, updateCommand as i, handleOptionalToRequiredError as in, confirmationArgs as ir, createCommand as it, generateCommand as j, hasChanges as jn, startWorkflow as jt, truncateCommand as k, formatDiffSummary as kn, watchExecutorJob as kt, listUsers as l, DB_TYPES_FILE_NAME as ln, paginationArgs as lr, getOAuth2Client as lt, getCommand as m, assertValidMigrationFiles as mn, generate$1 as mt, query as n, verifyRemoteSchema as nn, commonArgs as nr, deleteCommand$1 as nt, removeCommand as o, compareSnapshotWithRemote as on, isVerbose as or, listCommand$5 as ot, restoreWorkspace as p, SCHEMA_FILE_NAME as pn, listMachineUsers as pt, listOrganizations as q, loadMachineUserName as qn, ensureConfigId as qt, queryCommand as r, MIGRATION_LABEL_KEY as rn, configArg as rr, deleteFolder as rt, removeUser as s, generateAllTypeManifestsFromSnapshot as sn, multiConfigArg as sr, listOAuth2Clients as st, registerTypeScriptRuntime as t, toTailorDBDeployInput as tn, defineAppCommand as tr, getFolder as tt, inviteCommand as u, DIFF_FILE_NAME as un, resolveMachineUserInputSource as ur, getMachineUserToken as ut, listApps as v, formatSchemaDrifts as vn, getFunctionRegistry as vt, resumeCommand as w, isValidMigrationNumber as wn, listExecutors as wt, healthCommand as x, getMigrationFilePath as xn, triggerCommand as xt, listCommand$1 as y, getLatestMigrationNumber as yn, listWebhookExecutors as yt, logBetaWarning as z, assertWritable as zn, deploy as zt };
21545
- //# sourceMappingURL=register-typescript-runtime-DFYkQ44K.mjs.map
21546
+ //# sourceMappingURL=register-typescript-runtime-CkZYnoz3.mjs.map