deepline 0.1.72 → 0.1.73

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/cli/index.js CHANGED
@@ -229,10 +229,10 @@ var import_node_path2 = require("path");
229
229
 
230
230
  // src/release.ts
231
231
  var SDK_RELEASE = {
232
- version: "0.1.72",
232
+ version: "0.1.73",
233
233
  apiContract: "2026-06-dataset-column-syntax-cutover",
234
234
  supportPolicy: {
235
- latest: "0.1.72",
235
+ latest: "0.1.73",
236
236
  minimumSupported: "0.1.53",
237
237
  deprecatedBelow: "0.1.53"
238
238
  }
@@ -206,10 +206,10 @@ import { join as join2 } from "path";
206
206
 
207
207
  // src/release.ts
208
208
  var SDK_RELEASE = {
209
- version: "0.1.72",
209
+ version: "0.1.73",
210
210
  apiContract: "2026-06-dataset-column-syntax-cutover",
211
211
  supportPolicy: {
212
- latest: "0.1.72",
212
+ latest: "0.1.73",
213
213
  minimumSupported: "0.1.53",
214
214
  deprecatedBelow: "0.1.53"
215
215
  }
package/dist/index.d.mts CHANGED
@@ -2657,7 +2657,6 @@ type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = {
2657
2657
  billing?: PlayBindings['billing'];
2658
2658
  };
2659
2659
  declare function steps<TInput>(): StepProgram<TInput, TInput, TInput>;
2660
- declare function when<Row, Value>(predicate: (row: Row, index: number) => boolean | Promise<boolean>, resolver: StepResolver<Row, Value>): never;
2661
2660
  declare function runIf<Row, Value>(predicate: (row: Row, index: number) => boolean | Promise<boolean>, resolver: StepResolver<Row, Value>): ConditionalStepResolver<Row, Value, null>;
2662
2661
  /**
2663
2662
  * A defined play: both a callable function and a named play handle.
@@ -3070,4 +3069,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
3070
3069
  */
3071
3070
  declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
3072
3071
 
3073
- export { AuthError, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplineToolCategory, type DefinePlayConfig, type DefinedPlay, type FileInput, type LiveEventEnvelope, 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 PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, SDK_API_CONTRACT, SDK_VERSION, type StartPlayRunRequest, type StepProgram, type StepProgramResolver, type StepResolver, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolMetadata, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, when, writeCsvOutputFile, writeJsonOutputFile };
3072
+ export { AuthError, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplineToolCategory, type DefinePlayConfig, type DefinedPlay, type FileInput, type LiveEventEnvelope, 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 PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, SDK_API_CONTRACT, SDK_VERSION, type StartPlayRunRequest, type StepProgram, type StepProgramResolver, type StepResolver, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolMetadata, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
package/dist/index.d.ts CHANGED
@@ -2657,7 +2657,6 @@ type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = {
2657
2657
  billing?: PlayBindings['billing'];
2658
2658
  };
2659
2659
  declare function steps<TInput>(): StepProgram<TInput, TInput, TInput>;
2660
- declare function when<Row, Value>(predicate: (row: Row, index: number) => boolean | Promise<boolean>, resolver: StepResolver<Row, Value>): never;
2661
2660
  declare function runIf<Row, Value>(predicate: (row: Row, index: number) => boolean | Promise<boolean>, resolver: StepResolver<Row, Value>): ConditionalStepResolver<Row, Value, null>;
2662
2661
  /**
2663
2662
  * A defined play: both a callable function and a named play handle.
@@ -3070,4 +3069,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
3070
3069
  */
3071
3070
  declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
3072
3071
 
3073
- export { AuthError, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplineToolCategory, type DefinePlayConfig, type DefinedPlay, type FileInput, type LiveEventEnvelope, 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 PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, SDK_API_CONTRACT, SDK_VERSION, type StartPlayRunRequest, type StepProgram, type StepProgramResolver, type StepResolver, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolMetadata, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, when, writeCsvOutputFile, writeJsonOutputFile };
3072
+ export { AuthError, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplineToolCategory, type DefinePlayConfig, type DefinedPlay, type FileInput, type LiveEventEnvelope, 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 PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, SDK_API_CONTRACT, SDK_VERSION, type StartPlayRunRequest, type StepProgram, type StepProgramResolver, type StepResolver, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolMetadata, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
package/dist/index.js CHANGED
@@ -55,7 +55,6 @@ __export(src_exports, {
55
55
  runIf: () => runIf,
56
56
  steps: () => steps,
57
57
  tryConvertToList: () => tryConvertToList,
58
- when: () => when,
59
58
  writeCsvOutputFile: () => writeCsvOutputFile,
60
59
  writeJsonOutputFile: () => writeJsonOutputFile
61
60
  });
@@ -242,10 +241,10 @@ var import_node_path2 = require("path");
242
241
 
243
242
  // src/release.ts
244
243
  var SDK_RELEASE = {
245
- version: "0.1.72",
244
+ version: "0.1.73",
246
245
  apiContract: "2026-06-dataset-column-syntax-cutover",
247
246
  supportPolicy: {
248
- latest: "0.1.72",
247
+ latest: "0.1.73",
249
248
  minimumSupported: "0.1.53",
250
249
  deprecatedBelow: "0.1.53"
251
250
  }
@@ -2390,8 +2389,8 @@ function createToolExecuteResult(input) {
2390
2389
 
2391
2390
  // src/play.ts
2392
2391
  var DeeplineConditionalStepResolver = class _DeeplineConditionalStepResolver {
2393
- constructor(when2, run, elseValue) {
2394
- this.when = when2;
2392
+ constructor(when, run, elseValue) {
2393
+ this.when = when;
2395
2394
  this.run = run;
2396
2395
  this.elseValue = elseValue;
2397
2396
  }
@@ -2435,13 +2434,6 @@ var DeeplineStepProgram = class _DeeplineStepProgram {
2435
2434
  function steps() {
2436
2435
  return new DeeplineStepProgram([]);
2437
2436
  }
2438
- function when(predicate, resolver) {
2439
- void predicate;
2440
- void resolver;
2441
- throw new Error(
2442
- "when(...) has been replaced by runIf(...). Use runIf(predicate, resolver)."
2443
- );
2444
- }
2445
2437
  function runIf(predicate, resolver) {
2446
2438
  return new DeeplineConditionalStepResolver(predicate, resolver, null);
2447
2439
  }
@@ -3022,7 +3014,6 @@ function extractSummaryFields(payload) {
3022
3014
  runIf,
3023
3015
  steps,
3024
3016
  tryConvertToList,
3025
- when,
3026
3017
  writeCsvOutputFile,
3027
3018
  writeJsonOutputFile
3028
3019
  });
package/dist/index.mjs CHANGED
@@ -179,10 +179,10 @@ import { join as join2 } from "path";
179
179
 
180
180
  // src/release.ts
181
181
  var SDK_RELEASE = {
182
- version: "0.1.72",
182
+ version: "0.1.73",
183
183
  apiContract: "2026-06-dataset-column-syntax-cutover",
184
184
  supportPolicy: {
185
- latest: "0.1.72",
185
+ latest: "0.1.73",
186
186
  minimumSupported: "0.1.53",
187
187
  deprecatedBelow: "0.1.53"
188
188
  }
@@ -2327,8 +2327,8 @@ function createToolExecuteResult(input) {
2327
2327
 
2328
2328
  // src/play.ts
2329
2329
  var DeeplineConditionalStepResolver = class _DeeplineConditionalStepResolver {
2330
- constructor(when2, run, elseValue) {
2331
- this.when = when2;
2330
+ constructor(when, run, elseValue) {
2331
+ this.when = when;
2332
2332
  this.run = run;
2333
2333
  this.elseValue = elseValue;
2334
2334
  }
@@ -2372,13 +2372,6 @@ var DeeplineStepProgram = class _DeeplineStepProgram {
2372
2372
  function steps() {
2373
2373
  return new DeeplineStepProgram([]);
2374
2374
  }
2375
- function when(predicate, resolver) {
2376
- void predicate;
2377
- void resolver;
2378
- throw new Error(
2379
- "when(...) has been replaced by runIf(...). Use runIf(predicate, resolver)."
2380
- );
2381
- }
2382
2375
  function runIf(predicate, resolver) {
2383
2376
  return new DeeplineConditionalStepResolver(predicate, resolver, null);
2384
2377
  }
@@ -2958,7 +2951,6 @@ export {
2958
2951
  runIf,
2959
2952
  steps,
2960
2953
  tryConvertToList,
2961
- when,
2962
2954
  writeCsvOutputFile,
2963
2955
  writeJsonOutputFile
2964
2956
  };
@@ -97,7 +97,6 @@ export {
97
97
  getDefinedPlayMetadata,
98
98
  runIf,
99
99
  steps,
100
- when,
101
100
  } from './play.js';
102
101
 
103
102
  // ——— Tool output processing ———
@@ -895,17 +895,6 @@ export function steps<TInput>(): StepProgram<TInput, TInput, TInput> {
895
895
  return new DeeplineStepProgram<TInput, TInput, TInput>([]);
896
896
  }
897
897
 
898
- export function when<Row, Value>(
899
- predicate: (row: Row, index: number) => boolean | Promise<boolean>,
900
- resolver: StepResolver<Row, Value>,
901
- ): never {
902
- void predicate;
903
- void resolver;
904
- throw new Error(
905
- 'when(...) has been replaced by runIf(...). Use runIf(predicate, resolver).',
906
- );
907
- }
908
-
909
898
  export function runIf<Row, Value>(
910
899
  predicate: (row: Row, index: number) => boolean | Promise<boolean>,
911
900
  resolver: StepResolver<Row, Value>,
@@ -50,10 +50,10 @@ export type SdkRelease = {
50
50
  };
51
51
 
52
52
  export const SDK_RELEASE = {
53
- version: '0.1.72',
53
+ version: '0.1.73',
54
54
  apiContract: '2026-06-dataset-column-syntax-cutover',
55
55
  supportPolicy: {
56
- latest: '0.1.72',
56
+ latest: '0.1.73',
57
57
  minimumSupported: '0.1.53',
58
58
  deprecatedBelow: '0.1.53',
59
59
  },
@@ -125,17 +125,6 @@ export function steps<TInput>(): StepProgram<TInput, TInput, TInput> {
125
125
  return new WorkerStepProgram<TInput, TInput, TInput>([]);
126
126
  }
127
127
 
128
- export function when<Row, Value>(
129
- predicate: (row: Row, index: number) => boolean | Promise<boolean>,
130
- resolver: StepResolver<Row, Value>,
131
- ): never {
132
- void predicate;
133
- void resolver;
134
- throw new Error(
135
- 'when(...) has been replaced by runIf(...). Use runIf(predicate, resolver).',
136
- );
137
- }
138
-
139
128
  export function runIf<Row, Value>(
140
129
  predicate: (row: Row, index: number) => boolean | Promise<boolean>,
141
130
  resolver: StepResolver<Row, Value>,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.1.72",
3
+ "version": "0.1.73",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {