deepline 0.3.69 → 0.3.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/client.ts +54 -4
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +55 -2
- package/dist/cli/index.js +346 -209
- package/dist/cli/index.mjs +302 -159
- package/dist/index.d.mts +30 -5
- package/dist/index.d.ts +30 -5
- package/dist/index.js +23 -1
- package/dist/index.mjs +23 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2872,6 +2872,27 @@ type BillingPlansResult = {
|
|
|
2872
2872
|
/** @deprecated Use meters. Retained for installed SDK compatibility. */
|
|
2873
2873
|
metrics: BillingMetricEntry[];
|
|
2874
2874
|
};
|
|
2875
|
+
type WorkspaceCreateResult = {
|
|
2876
|
+
org_id: string;
|
|
2877
|
+
org_name: string;
|
|
2878
|
+
org_slug: string;
|
|
2879
|
+
plan_sku: 'payg-v1';
|
|
2880
|
+
rate_policy_ref: 'payg-rates-v2';
|
|
2881
|
+
operation: {
|
|
2882
|
+
id: string;
|
|
2883
|
+
state: 'completed';
|
|
2884
|
+
replayed: boolean;
|
|
2885
|
+
};
|
|
2886
|
+
request_id?: string;
|
|
2887
|
+
};
|
|
2888
|
+
/** Deliberate workspace lifecycle operations. */
|
|
2889
|
+
type WorkspacesNamespace = {
|
|
2890
|
+
/** Create an additional workspace and provision its active PAYG Contract. */
|
|
2891
|
+
create: (options: {
|
|
2892
|
+
name: string;
|
|
2893
|
+
idempotencyKey: string;
|
|
2894
|
+
}) => Promise<WorkspaceCreateResult>;
|
|
2895
|
+
};
|
|
2875
2896
|
/**
|
|
2876
2897
|
* Public billing namespace exposed as `client.billing`.
|
|
2877
2898
|
*
|
|
@@ -2942,10 +2963,7 @@ type MintStagedFileUpload = {
|
|
|
2942
2963
|
uploadExpiresAt: string | null;
|
|
2943
2964
|
};
|
|
2944
2965
|
/**
|
|
2945
|
-
* Low-level client
|
|
2946
|
-
*
|
|
2947
|
-
* Provides typed methods for every API endpoint: tools, plays, auth, and health.
|
|
2948
|
-
* Handles authentication, retries, and localhost failover automatically.
|
|
2966
|
+
* Low-level typed REST client with authentication, retries, and localhost failover.
|
|
2949
2967
|
*
|
|
2950
2968
|
* @example
|
|
2951
2969
|
* ```typescript
|
|
@@ -2972,6 +2990,8 @@ declare class DeeplineClient {
|
|
|
2972
2990
|
readonly db: DbNamespace;
|
|
2973
2991
|
/** Billing namespace: subscription status/cancel and invoice history. */
|
|
2974
2992
|
readonly billing: BillingNamespace;
|
|
2993
|
+
/** Workspace lifecycle namespace. */
|
|
2994
|
+
readonly workspaces: WorkspacesNamespace;
|
|
2975
2995
|
/** Monitors namespace: access, catalog, deploy/check, and lifecycle. */
|
|
2976
2996
|
readonly monitors: MonitorsNamespace;
|
|
2977
2997
|
/**
|
|
@@ -3981,6 +4001,11 @@ declare class DeeplineClient {
|
|
|
3981
4001
|
createTargetBillingPortalSession(): Promise<{
|
|
3982
4002
|
url: string;
|
|
3983
4003
|
}>;
|
|
4004
|
+
/** Create an additional workspace through the durable PAYG workflow. */
|
|
4005
|
+
createWorkspace(options: {
|
|
4006
|
+
name: string;
|
|
4007
|
+
idempotencyKey: string;
|
|
4008
|
+
}): Promise<WorkspaceCreateResult>;
|
|
3984
4009
|
/**
|
|
3985
4010
|
* Whether the current workspace can use Deepline Monitors. Reachable without
|
|
3986
4011
|
* monitor access; a denial is a normal 200 body, not a 403. Prefer
|
|
@@ -5061,4 +5086,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
5061
5086
|
*/
|
|
5062
5087
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
5063
5088
|
|
|
5064
|
-
export { type AdmittedMonitorFleetAuthoringContract, AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FetchOptions, type FileInput, type IngestionStorageRepairResult, type LiveEventEnvelope, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, type MonitorCheckResult, type MonitorControls, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorFleetAuthoringContractEdition, type MonitorFleetAuthoringContractResult, type MonitorFleetColumn, type MonitorFleetContractIssue, type MonitorFleetDeactivateOptions, type MonitorFleetDefinition, type MonitorFleetExpression, type MonitorFleetGetOptions, type MonitorFleetResult, type MonitorFleetStatus, type MonitorFleetSyncOptions, type MonitorFleetTemplate, type MonitorFleetWaitOptions, type MonitorFleetsNamespace, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorSpec, type MonitorUpdateChangeSummary, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayFetchResponse, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, ToolExecuteResult, type ToolExecution, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, type ToolMetadata, ToolRateLimitError, type ToolSearchOptions, type ToolSearchResult, admitMonitorFleetAuthoringContract, defineInput, defineMonitor, defineMonitorFleet, definePlay, defineWorkflow, extractSummaryFields, fleetColumn, fleetKey, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, validateMonitorFleetDefinition, writeCsvOutputFile, writeJsonOutputFile };
|
|
5089
|
+
export { type AdmittedMonitorFleetAuthoringContract, AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FetchOptions, type FileInput, type IngestionStorageRepairResult, type LiveEventEnvelope, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, type MonitorCheckResult, type MonitorControls, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorFleetAuthoringContractEdition, type MonitorFleetAuthoringContractResult, type MonitorFleetColumn, type MonitorFleetContractIssue, type MonitorFleetDeactivateOptions, type MonitorFleetDefinition, type MonitorFleetExpression, type MonitorFleetGetOptions, type MonitorFleetResult, type MonitorFleetStatus, type MonitorFleetSyncOptions, type MonitorFleetTemplate, type MonitorFleetWaitOptions, type MonitorFleetsNamespace, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorSpec, type MonitorUpdateChangeSummary, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayFetchResponse, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, ToolExecuteResult, type ToolExecution, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, type ToolMetadata, ToolRateLimitError, type ToolSearchOptions, type ToolSearchResult, type WorkspaceCreateResult, type WorkspacesNamespace, admitMonitorFleetAuthoringContract, defineInput, defineMonitor, defineMonitorFleet, definePlay, defineWorkflow, extractSummaryFields, fleetColumn, fleetKey, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, validateMonitorFleetDefinition, writeCsvOutputFile, writeJsonOutputFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -2872,6 +2872,27 @@ type BillingPlansResult = {
|
|
|
2872
2872
|
/** @deprecated Use meters. Retained for installed SDK compatibility. */
|
|
2873
2873
|
metrics: BillingMetricEntry[];
|
|
2874
2874
|
};
|
|
2875
|
+
type WorkspaceCreateResult = {
|
|
2876
|
+
org_id: string;
|
|
2877
|
+
org_name: string;
|
|
2878
|
+
org_slug: string;
|
|
2879
|
+
plan_sku: 'payg-v1';
|
|
2880
|
+
rate_policy_ref: 'payg-rates-v2';
|
|
2881
|
+
operation: {
|
|
2882
|
+
id: string;
|
|
2883
|
+
state: 'completed';
|
|
2884
|
+
replayed: boolean;
|
|
2885
|
+
};
|
|
2886
|
+
request_id?: string;
|
|
2887
|
+
};
|
|
2888
|
+
/** Deliberate workspace lifecycle operations. */
|
|
2889
|
+
type WorkspacesNamespace = {
|
|
2890
|
+
/** Create an additional workspace and provision its active PAYG Contract. */
|
|
2891
|
+
create: (options: {
|
|
2892
|
+
name: string;
|
|
2893
|
+
idempotencyKey: string;
|
|
2894
|
+
}) => Promise<WorkspaceCreateResult>;
|
|
2895
|
+
};
|
|
2875
2896
|
/**
|
|
2876
2897
|
* Public billing namespace exposed as `client.billing`.
|
|
2877
2898
|
*
|
|
@@ -2942,10 +2963,7 @@ type MintStagedFileUpload = {
|
|
|
2942
2963
|
uploadExpiresAt: string | null;
|
|
2943
2964
|
};
|
|
2944
2965
|
/**
|
|
2945
|
-
* Low-level client
|
|
2946
|
-
*
|
|
2947
|
-
* Provides typed methods for every API endpoint: tools, plays, auth, and health.
|
|
2948
|
-
* Handles authentication, retries, and localhost failover automatically.
|
|
2966
|
+
* Low-level typed REST client with authentication, retries, and localhost failover.
|
|
2949
2967
|
*
|
|
2950
2968
|
* @example
|
|
2951
2969
|
* ```typescript
|
|
@@ -2972,6 +2990,8 @@ declare class DeeplineClient {
|
|
|
2972
2990
|
readonly db: DbNamespace;
|
|
2973
2991
|
/** Billing namespace: subscription status/cancel and invoice history. */
|
|
2974
2992
|
readonly billing: BillingNamespace;
|
|
2993
|
+
/** Workspace lifecycle namespace. */
|
|
2994
|
+
readonly workspaces: WorkspacesNamespace;
|
|
2975
2995
|
/** Monitors namespace: access, catalog, deploy/check, and lifecycle. */
|
|
2976
2996
|
readonly monitors: MonitorsNamespace;
|
|
2977
2997
|
/**
|
|
@@ -3981,6 +4001,11 @@ declare class DeeplineClient {
|
|
|
3981
4001
|
createTargetBillingPortalSession(): Promise<{
|
|
3982
4002
|
url: string;
|
|
3983
4003
|
}>;
|
|
4004
|
+
/** Create an additional workspace through the durable PAYG workflow. */
|
|
4005
|
+
createWorkspace(options: {
|
|
4006
|
+
name: string;
|
|
4007
|
+
idempotencyKey: string;
|
|
4008
|
+
}): Promise<WorkspaceCreateResult>;
|
|
3984
4009
|
/**
|
|
3985
4010
|
* Whether the current workspace can use Deepline Monitors. Reachable without
|
|
3986
4011
|
* monitor access; a denial is a normal 200 body, not a 403. Prefer
|
|
@@ -5061,4 +5086,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
5061
5086
|
*/
|
|
5062
5087
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
5063
5088
|
|
|
5064
|
-
export { type AdmittedMonitorFleetAuthoringContract, AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FetchOptions, type FileInput, type IngestionStorageRepairResult, type LiveEventEnvelope, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, type MonitorCheckResult, type MonitorControls, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorFleetAuthoringContractEdition, type MonitorFleetAuthoringContractResult, type MonitorFleetColumn, type MonitorFleetContractIssue, type MonitorFleetDeactivateOptions, type MonitorFleetDefinition, type MonitorFleetExpression, type MonitorFleetGetOptions, type MonitorFleetResult, type MonitorFleetStatus, type MonitorFleetSyncOptions, type MonitorFleetTemplate, type MonitorFleetWaitOptions, type MonitorFleetsNamespace, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorSpec, type MonitorUpdateChangeSummary, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayFetchResponse, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, ToolExecuteResult, type ToolExecution, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, type ToolMetadata, ToolRateLimitError, type ToolSearchOptions, type ToolSearchResult, admitMonitorFleetAuthoringContract, defineInput, defineMonitor, defineMonitorFleet, definePlay, defineWorkflow, extractSummaryFields, fleetColumn, fleetKey, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, validateMonitorFleetDefinition, writeCsvOutputFile, writeJsonOutputFile };
|
|
5089
|
+
export { type AdmittedMonitorFleetAuthoringContract, AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FetchOptions, type FileInput, type IngestionStorageRepairResult, type LiveEventEnvelope, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, type MonitorCheckResult, type MonitorControls, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorFleetAuthoringContractEdition, type MonitorFleetAuthoringContractResult, type MonitorFleetColumn, type MonitorFleetContractIssue, type MonitorFleetDeactivateOptions, type MonitorFleetDefinition, type MonitorFleetExpression, type MonitorFleetGetOptions, type MonitorFleetResult, type MonitorFleetStatus, type MonitorFleetSyncOptions, type MonitorFleetTemplate, type MonitorFleetWaitOptions, type MonitorFleetsNamespace, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorSpec, type MonitorUpdateChangeSummary, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayFetchResponse, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, ToolExecuteResult, type ToolExecution, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, type ToolMetadata, ToolRateLimitError, type ToolSearchOptions, type ToolSearchResult, type WorkspaceCreateResult, type WorkspacesNamespace, admitMonitorFleetAuthoringContract, defineInput, defineMonitor, defineMonitorFleet, definePlay, defineWorkflow, extractSummaryFields, fleetColumn, fleetKey, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, validateMonitorFleetDefinition, writeCsvOutputFile, writeJsonOutputFile };
|
package/dist/index.js
CHANGED
|
@@ -832,7 +832,7 @@ var SDK_RELEASE = {
|
|
|
832
832
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
833
833
|
// getters keep their established compatibility behavior.
|
|
834
834
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
835
|
-
version: "0.3.
|
|
835
|
+
version: "0.3.71",
|
|
836
836
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
837
837
|
packageCapabilities: {
|
|
838
838
|
updatePreferences: 1
|
|
@@ -4438,6 +4438,8 @@ var DeeplineClient = class {
|
|
|
4438
4438
|
db;
|
|
4439
4439
|
/** Billing namespace: subscription status/cancel and invoice history. */
|
|
4440
4440
|
billing;
|
|
4441
|
+
/** Workspace lifecycle namespace. */
|
|
4442
|
+
workspaces;
|
|
4441
4443
|
/** Monitors namespace: access, catalog, deploy/check, and lifecycle. */
|
|
4442
4444
|
monitors;
|
|
4443
4445
|
/**
|
|
@@ -4486,6 +4488,9 @@ var DeeplineClient = class {
|
|
|
4486
4488
|
transitionPlan: (options2) => this.transitionTargetBillingPlan(options2),
|
|
4487
4489
|
portalSession: () => this.createTargetBillingPortalSession()
|
|
4488
4490
|
};
|
|
4491
|
+
this.workspaces = {
|
|
4492
|
+
create: (options2) => this.createWorkspace(options2)
|
|
4493
|
+
};
|
|
4489
4494
|
this.monitors = {
|
|
4490
4495
|
status: () => this.getMonitorsAccess(),
|
|
4491
4496
|
available: (toolIdOrOptions, options2) => this.getMonitorsAvailable(toolIdOrOptions, options2),
|
|
@@ -6637,6 +6642,23 @@ var DeeplineClient = class {
|
|
|
6637
6642
|
const response = await this.http.post("/api/v2/billing/portal-sessions", {});
|
|
6638
6643
|
return response.data;
|
|
6639
6644
|
}
|
|
6645
|
+
/** Create an additional workspace through the durable PAYG workflow. */
|
|
6646
|
+
async createWorkspace(options) {
|
|
6647
|
+
const idempotencyKey = requireTargetBillingIdempotencyKey(
|
|
6648
|
+
options.idempotencyKey
|
|
6649
|
+
);
|
|
6650
|
+
const response = await this.http.post(
|
|
6651
|
+
"/api/v2/workspaces",
|
|
6652
|
+
{ name: options.name },
|
|
6653
|
+
{ "Idempotency-Key": idempotencyKey },
|
|
6654
|
+
{ maxRetries: 0, exactUrlOnly: true }
|
|
6655
|
+
);
|
|
6656
|
+
return {
|
|
6657
|
+
...response.data,
|
|
6658
|
+
operation: response.operation,
|
|
6659
|
+
...response.request_id ? { request_id: response.request_id } : {}
|
|
6660
|
+
};
|
|
6661
|
+
}
|
|
6640
6662
|
// ——————————————————————————————————————————————————————————
|
|
6641
6663
|
// Monitors
|
|
6642
6664
|
// ——————————————————————————————————————————————————————————
|
package/dist/index.mjs
CHANGED
|
@@ -744,7 +744,7 @@ var SDK_RELEASE = {
|
|
|
744
744
|
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
745
745
|
// getters keep their established compatibility behavior.
|
|
746
746
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
747
|
-
version: "0.3.
|
|
747
|
+
version: "0.3.71",
|
|
748
748
|
updateSummary: "Automatic CLI updates are now enabled by default. To opt out, run `deepline settings autoupdate off`; use `deepline settings autoupdate on` to re-enable updates or `deepline settings autoupdate pin <version>` to hold an exact release. This release also adds raw-v2 tool responses at toolResponse.rawV2 while preserving existing toolResponse.raw and declared getters.",
|
|
749
749
|
packageCapabilities: {
|
|
750
750
|
updatePreferences: 1
|
|
@@ -4350,6 +4350,8 @@ var DeeplineClient = class {
|
|
|
4350
4350
|
db;
|
|
4351
4351
|
/** Billing namespace: subscription status/cancel and invoice history. */
|
|
4352
4352
|
billing;
|
|
4353
|
+
/** Workspace lifecycle namespace. */
|
|
4354
|
+
workspaces;
|
|
4353
4355
|
/** Monitors namespace: access, catalog, deploy/check, and lifecycle. */
|
|
4354
4356
|
monitors;
|
|
4355
4357
|
/**
|
|
@@ -4398,6 +4400,9 @@ var DeeplineClient = class {
|
|
|
4398
4400
|
transitionPlan: (options2) => this.transitionTargetBillingPlan(options2),
|
|
4399
4401
|
portalSession: () => this.createTargetBillingPortalSession()
|
|
4400
4402
|
};
|
|
4403
|
+
this.workspaces = {
|
|
4404
|
+
create: (options2) => this.createWorkspace(options2)
|
|
4405
|
+
};
|
|
4401
4406
|
this.monitors = {
|
|
4402
4407
|
status: () => this.getMonitorsAccess(),
|
|
4403
4408
|
available: (toolIdOrOptions, options2) => this.getMonitorsAvailable(toolIdOrOptions, options2),
|
|
@@ -6549,6 +6554,23 @@ var DeeplineClient = class {
|
|
|
6549
6554
|
const response = await this.http.post("/api/v2/billing/portal-sessions", {});
|
|
6550
6555
|
return response.data;
|
|
6551
6556
|
}
|
|
6557
|
+
/** Create an additional workspace through the durable PAYG workflow. */
|
|
6558
|
+
async createWorkspace(options) {
|
|
6559
|
+
const idempotencyKey = requireTargetBillingIdempotencyKey(
|
|
6560
|
+
options.idempotencyKey
|
|
6561
|
+
);
|
|
6562
|
+
const response = await this.http.post(
|
|
6563
|
+
"/api/v2/workspaces",
|
|
6564
|
+
{ name: options.name },
|
|
6565
|
+
{ "Idempotency-Key": idempotencyKey },
|
|
6566
|
+
{ maxRetries: 0, exactUrlOnly: true }
|
|
6567
|
+
);
|
|
6568
|
+
return {
|
|
6569
|
+
...response.data,
|
|
6570
|
+
operation: response.operation,
|
|
6571
|
+
...response.request_id ? { request_id: response.request_id } : {}
|
|
6572
|
+
};
|
|
6573
|
+
}
|
|
6552
6574
|
// ——————————————————————————————————————————————————————————
|
|
6553
6575
|
// Monitors
|
|
6554
6576
|
// ——————————————————————————————————————————————————————————
|