@deepraxis/sdk 0.2.0-dev.bda9e20 → 0.2.0-dev.c1f0e29

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.
@@ -6073,63 +6073,285 @@ export declare function createApplication(transport: Transport): {
6073
6073
  };
6074
6074
  export declare function createAutomation(transport: Transport): {
6075
6075
  actions: {
6076
- archive: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsArchiveData>) => Promise<Types.AutomationActionArchiveResult>;
6076
+ archive: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsArchiveData, "path"> & {
6077
+ path: {
6078
+ namespace: string;
6079
+ name: string;
6080
+ } | (Omit<{
6081
+ namespace: string;
6082
+ name: string;
6083
+ }, "namespace"> & {
6084
+ ns: string;
6085
+ });
6086
+ }>) => Promise<Types.AutomationActionArchiveResult>;
6077
6087
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsCreateData>) => Promise<Types.AutomationActionDef>;
6078
6088
  dependents: {
6079
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsDependentsData>) => Promise<import("./automation.js").Page<Types.AutomationDependent>>;
6089
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsDependentsData, "path"> & {
6090
+ path: {
6091
+ namespace: string;
6092
+ name: string;
6093
+ } | (Omit<{
6094
+ namespace: string;
6095
+ name: string;
6096
+ }, "namespace"> & {
6097
+ ns: string;
6098
+ });
6099
+ }>) => Promise<import("./automation.js").Page<Types.AutomationDependent>>;
6080
6100
  };
6081
6101
  invocations: {
6082
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsInvocationsData>) => Promise<import("./automation.js").Page<Types.AutomationInvocation>>;
6102
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsInvocationsData, "path"> & {
6103
+ path: {
6104
+ namespace: string;
6105
+ name: string;
6106
+ } | (Omit<{
6107
+ namespace: string;
6108
+ name: string;
6109
+ }, "namespace"> & {
6110
+ ns: string;
6111
+ });
6112
+ }>) => Promise<import("./automation.js").Page<Types.AutomationInvocation>>;
6083
6113
  };
6084
6114
  list: (options?: import("./core/transport.js").CallOptions<Types.AutomationActionsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationActionListItem>>;
6085
- restore: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsRestoreData>) => Promise<Types.AutomationActionDef>;
6086
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsGetData>) => Promise<Types.AutomationActionDef>;
6115
+ restore: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsRestoreData, "path"> & {
6116
+ path: {
6117
+ namespace: string;
6118
+ name: string;
6119
+ } | (Omit<{
6120
+ namespace: string;
6121
+ name: string;
6122
+ }, "namespace"> & {
6123
+ ns: string;
6124
+ });
6125
+ }>) => Promise<Types.AutomationActionDef>;
6126
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsGetData, "path"> & {
6127
+ path: {
6128
+ namespace: string;
6129
+ name: string;
6130
+ } | (Omit<{
6131
+ namespace: string;
6132
+ name: string;
6133
+ }, "namespace"> & {
6134
+ ns: string;
6135
+ });
6136
+ }>) => Promise<Types.AutomationActionDef>;
6087
6137
  revisions: {
6088
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsRevisionsData>) => Promise<import("./automation.js").Page<Types.AutomationRevisionSummary>>;
6089
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsRevisionData>) => Promise<Types.AutomationRevisionListItem>;
6090
- };
6091
- rollback: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsRollbackData>) => Promise<Types.AutomationActionDef>;
6092
- update: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsUpdateData>) => Promise<Types.AutomationActionUpdateResult>;
6138
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsRevisionsData, "path"> & {
6139
+ path: {
6140
+ namespace: string;
6141
+ name: string;
6142
+ } | (Omit<{
6143
+ namespace: string;
6144
+ name: string;
6145
+ }, "namespace"> & {
6146
+ ns: string;
6147
+ });
6148
+ }>) => Promise<import("./automation.js").Page<Types.AutomationRevisionSummary>>;
6149
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsRevisionData, "path"> & {
6150
+ path: {
6151
+ namespace: string;
6152
+ name: string;
6153
+ revision: string;
6154
+ } | (Omit<{
6155
+ namespace: string;
6156
+ name: string;
6157
+ revision: string;
6158
+ }, "namespace"> & {
6159
+ ns: string;
6160
+ });
6161
+ }>) => Promise<Types.AutomationRevisionListItem>;
6162
+ };
6163
+ rollback: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsRollbackData, "path"> & {
6164
+ path: {
6165
+ namespace: string;
6166
+ name: string;
6167
+ } | (Omit<{
6168
+ namespace: string;
6169
+ name: string;
6170
+ }, "namespace"> & {
6171
+ ns: string;
6172
+ });
6173
+ }>) => Promise<Types.AutomationActionDef>;
6174
+ update: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationActionsUpdateData, "path"> & {
6175
+ path: {
6176
+ namespace: string;
6177
+ name: string;
6178
+ } | (Omit<{
6179
+ namespace: string;
6180
+ name: string;
6181
+ }, "namespace"> & {
6182
+ ns: string;
6183
+ });
6184
+ }>) => Promise<Types.AutomationActionUpdateResult>;
6093
6185
  };
6094
6186
  hooks: {
6095
6187
  send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
6096
6188
  };
6097
6189
  humanTasks: {
6098
- cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
6099
- delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
6190
+ cancel: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationHumanTasksCancelData, "path"> & {
6191
+ path: {
6192
+ task_id: string;
6193
+ } | (Omit<{
6194
+ task_id: string;
6195
+ }, "task_id"> & {
6196
+ id: string;
6197
+ });
6198
+ }>) => Promise<Types.AutomationHumanTask>;
6199
+ delegate: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationHumanTasksDelegateData, "path"> & {
6200
+ path: {
6201
+ task_id: string;
6202
+ } | (Omit<{
6203
+ task_id: string;
6204
+ }, "task_id"> & {
6205
+ id: string;
6206
+ });
6207
+ }>) => Promise<Types.AutomationHumanTask>;
6100
6208
  list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
6101
- respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
6102
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
6209
+ respond: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationHumanTasksRespondData, "path"> & {
6210
+ path: {
6211
+ task_id: string;
6212
+ } | (Omit<{
6213
+ task_id: string;
6214
+ }, "task_id"> & {
6215
+ id: string;
6216
+ });
6217
+ }>) => Promise<Types.AutomationHumanTask>;
6218
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationHumanTasksGetData, "path"> & {
6219
+ path: {
6220
+ task_id: string;
6221
+ } | (Omit<{
6222
+ task_id: string;
6223
+ }, "task_id"> & {
6224
+ id: string;
6225
+ });
6226
+ }>) => Promise<Types.AutomationHumanTask>;
6103
6227
  };
6104
6228
  resolve: {
6105
6229
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
6106
6230
  };
6107
6231
  runs: {
6108
6232
  artifacts: {
6109
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsArtifactsData>) => Promise<import("./automation.js").Page<Types.AutomationRunArtifact>>;
6233
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsArtifactsData, "path"> & {
6234
+ path: {
6235
+ run_id: string;
6236
+ } | (Omit<{
6237
+ run_id: string;
6238
+ }, "run_id"> & {
6239
+ id: string;
6240
+ });
6241
+ }>) => Promise<import("./automation.js").Page<Types.AutomationRunArtifact>>;
6110
6242
  };
6111
6243
  calls: {
6112
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsCallsData>) => Promise<import("./automation.js").Page<Types.AutomationCall>>;
6244
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsCallsData, "path"> & {
6245
+ path: {
6246
+ run_id: string;
6247
+ } | (Omit<{
6248
+ run_id: string;
6249
+ }, "run_id"> & {
6250
+ id: string;
6251
+ });
6252
+ }>) => Promise<import("./automation.js").Page<Types.AutomationCall>>;
6113
6253
  };
6114
- cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsCancelData>) => Promise<Types.AutomationRun>;
6254
+ cancel: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsCancelData, "path"> & {
6255
+ path: {
6256
+ run_id: string;
6257
+ } | (Omit<{
6258
+ run_id: string;
6259
+ }, "run_id"> & {
6260
+ id: string;
6261
+ });
6262
+ }>) => Promise<Types.AutomationRun>;
6115
6263
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsCreateData>) => Promise<Types.AutomationRun>;
6116
- events: (options: import("./core/transport.js").StreamOptions<Types.AutomationRunsEventsData>) => AsyncIterable<Types.PraxisSdkSseGetAutomationV1RunsIdEvents>;
6264
+ events: (options: import("./core/transport.js").StreamOptions<Omit<Types.AutomationRunsEventsData, "path"> & {
6265
+ path: {
6266
+ run_id: string;
6267
+ } | (Omit<{
6268
+ run_id: string;
6269
+ }, "run_id"> & {
6270
+ id: string;
6271
+ });
6272
+ }>) => AsyncIterable<Types.PraxisSdkSseGetAutomationV1RunsRunIdEvents>;
6117
6273
  list: (options?: import("./core/transport.js").CallOptions<Types.AutomationRunsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationRun>>;
6118
- logs: (options: import("./core/transport.js").StreamOptions<Types.AutomationRunsLogsData>) => AsyncIterable<Types.PraxisSdkSseGetAutomationV1RunsIdLogs>;
6119
- rerun: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsRerunData>) => Promise<Types.AutomationRun>;
6120
- resume: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsResumeData>) => Promise<Types.AutomationRun>;
6121
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsGetData>) => Promise<Types.AutomationExpandedRun>;
6122
- retrieveSource: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsSourceData>) => Promise<{
6274
+ logs: (options: import("./core/transport.js").StreamOptions<Omit<Types.AutomationRunsLogsData, "path"> & {
6275
+ path: {
6276
+ run_id: string;
6277
+ } | (Omit<{
6278
+ run_id: string;
6279
+ }, "run_id"> & {
6280
+ id: string;
6281
+ });
6282
+ }>) => AsyncIterable<Types.PraxisSdkSseGetAutomationV1RunsRunIdLogs>;
6283
+ rerun: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsRerunData, "path"> & {
6284
+ path: {
6285
+ run_id: string;
6286
+ } | (Omit<{
6287
+ run_id: string;
6288
+ }, "run_id"> & {
6289
+ id: string;
6290
+ });
6291
+ }>) => Promise<Types.AutomationRun>;
6292
+ resume: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsResumeData, "path"> & {
6293
+ path: {
6294
+ run_id: string;
6295
+ } | (Omit<{
6296
+ run_id: string;
6297
+ }, "run_id"> & {
6298
+ id: string;
6299
+ });
6300
+ }>) => Promise<Types.AutomationRun>;
6301
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsGetData, "path"> & {
6302
+ path: {
6303
+ run_id: string;
6304
+ } | (Omit<{
6305
+ run_id: string;
6306
+ }, "run_id"> & {
6307
+ id: string;
6308
+ });
6309
+ }>) => Promise<Types.AutomationExpandedRun>;
6310
+ retrieveSource: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsSourceData, "path"> & {
6311
+ path: {
6312
+ run_id: string;
6313
+ } | (Omit<{
6314
+ run_id: string;
6315
+ }, "run_id"> & {
6316
+ id: string;
6317
+ });
6318
+ }>) => Promise<{
6123
6319
  language: Types.AutomationSourceLanguage;
6124
6320
  source: string;
6125
6321
  sha256: string;
6126
6322
  }>;
6127
- suspend: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsSuspendData>) => Promise<Types.AutomationRun>;
6323
+ suspend: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsSuspendData, "path"> & {
6324
+ path: {
6325
+ run_id: string;
6326
+ } | (Omit<{
6327
+ run_id: string;
6328
+ }, "run_id"> & {
6329
+ id: string;
6330
+ });
6331
+ }>) => Promise<Types.AutomationRun>;
6128
6332
  tasks: {
6129
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsTasksData>) => Promise<import("./automation.js").Page<Types.AutomationTask | Types.AutomationTaskGroup>>;
6333
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsTasksData, "path"> & {
6334
+ path: {
6335
+ run_id: string;
6336
+ } | (Omit<{
6337
+ run_id: string;
6338
+ }, "run_id"> & {
6339
+ id: string;
6340
+ });
6341
+ }>) => Promise<import("./automation.js").Page<Types.AutomationTask | Types.AutomationTaskGroup>>;
6130
6342
  };
6131
6343
  waits: {
6132
- complete: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsCompleteWaitData>) => Promise<{
6344
+ complete: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsCompleteWaitData, "path"> & {
6345
+ path: {
6346
+ run_id: string;
6347
+ wait_id: string;
6348
+ } | (Omit<{
6349
+ run_id: string;
6350
+ wait_id: string;
6351
+ }, "run_id"> & {
6352
+ id: string;
6353
+ });
6354
+ }>) => Promise<{
6133
6355
  id: string;
6134
6356
  run_id: string;
6135
6357
  kind: "event" | "timer" | "child";
@@ -6145,31 +6367,136 @@ export declare function createAutomation(transport: Transport): {
6145
6367
  expires_at: null | string;
6146
6368
  resolved_at: null | string;
6147
6369
  replayed: boolean;
6370
+ status: "cancelled" | "open" | "resolved" | "expired";
6148
6371
  }>;
6149
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsWaitsData>) => Promise<import("./automation.js").Page<Types.AutomationWait>>;
6372
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationRunsWaitsData, "path"> & {
6373
+ path: {
6374
+ run_id: string;
6375
+ } | (Omit<{
6376
+ run_id: string;
6377
+ }, "run_id"> & {
6378
+ id: string;
6379
+ });
6380
+ }>) => Promise<import("./automation.js").Page<Types.AutomationWait>>;
6150
6381
  };
6151
6382
  };
6152
6383
  scripts: {
6153
- archive: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsArchiveData>) => Promise<Types.AutomationDefinition>;
6384
+ archive: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsArchiveData, "path"> & {
6385
+ path: {
6386
+ namespace: string;
6387
+ name: string;
6388
+ } | (Omit<{
6389
+ namespace: string;
6390
+ name: string;
6391
+ }, "namespace"> & {
6392
+ ns: string;
6393
+ });
6394
+ }>) => Promise<Types.AutomationDefinition>;
6154
6395
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsCreateData>) => Promise<Types.AutomationDefinitionDetail>;
6155
6396
  distTags: {
6156
- delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeleteDistTagData>) => Promise<{
6397
+ delete: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsDeleteDistTagData, "path"> & {
6398
+ path: {
6399
+ namespace: string;
6400
+ name: string;
6401
+ tag: string;
6402
+ } | (Omit<{
6403
+ namespace: string;
6404
+ name: string;
6405
+ tag: string;
6406
+ }, "namespace"> & {
6407
+ ns: string;
6408
+ });
6409
+ }>) => Promise<{
6157
6410
  [key: string]: Types.AutomationDistTag;
6158
6411
  }>;
6159
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDistTagsData>) => Promise<{
6412
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsDistTagsData, "path"> & {
6413
+ path: {
6414
+ namespace: string;
6415
+ name: string;
6416
+ } | (Omit<{
6417
+ namespace: string;
6418
+ name: string;
6419
+ }, "namespace"> & {
6420
+ ns: string;
6421
+ });
6422
+ }>) => Promise<{
6160
6423
  [key: string]: Types.AutomationDistTag;
6161
6424
  }>;
6162
- set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsSetDistTagData>) => Promise<{
6425
+ set: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsSetDistTagData, "path"> & {
6426
+ path: {
6427
+ namespace: string;
6428
+ name: string;
6429
+ tag: string;
6430
+ } | (Omit<{
6431
+ namespace: string;
6432
+ name: string;
6433
+ tag: string;
6434
+ }, "namespace"> & {
6435
+ ns: string;
6436
+ });
6437
+ }>) => Promise<{
6163
6438
  [key: string]: Types.AutomationDistTag;
6164
6439
  }>;
6165
6440
  };
6166
6441
  list: (options?: import("./core/transport.js").CallOptions<Types.AutomationScriptsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationDefinition>>;
6167
- restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
6168
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
6169
- update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
6442
+ restore: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsRestoreData, "path"> & {
6443
+ path: {
6444
+ namespace: string;
6445
+ name: string;
6446
+ } | (Omit<{
6447
+ namespace: string;
6448
+ name: string;
6449
+ }, "namespace"> & {
6450
+ ns: string;
6451
+ });
6452
+ }>) => Promise<Types.AutomationDefinition>;
6453
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsGetData, "path"> & {
6454
+ path: {
6455
+ namespace: string;
6456
+ name: string;
6457
+ } | (Omit<{
6458
+ namespace: string;
6459
+ name: string;
6460
+ }, "namespace"> & {
6461
+ ns: string;
6462
+ });
6463
+ }>) => Promise<Types.AutomationDefinitionDetail>;
6464
+ update: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsPatchData, "path"> & {
6465
+ path: {
6466
+ namespace: string;
6467
+ name: string;
6468
+ } | (Omit<{
6469
+ namespace: string;
6470
+ name: string;
6471
+ }, "namespace"> & {
6472
+ ns: string;
6473
+ });
6474
+ }>) => Promise<Types.AutomationDefinitionDetail>;
6170
6475
  vaults: {
6171
- delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
6172
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
6476
+ delete: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsVaultsDeleteData, "path"> & {
6477
+ path: {
6478
+ namespace: string;
6479
+ name: string;
6480
+ alias: string;
6481
+ } | (Omit<{
6482
+ namespace: string;
6483
+ name: string;
6484
+ alias: string;
6485
+ }, "namespace"> & {
6486
+ ns: string;
6487
+ });
6488
+ }>) => Promise<void>;
6489
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsVaultsListData, "path"> & {
6490
+ path: {
6491
+ namespace: string;
6492
+ name: string;
6493
+ } | (Omit<{
6494
+ namespace: string;
6495
+ name: string;
6496
+ }, "namespace"> & {
6497
+ ns: string;
6498
+ });
6499
+ }>) => Promise<{
6173
6500
  data: Array<{
6174
6501
  alias: string;
6175
6502
  vault: {
@@ -6182,7 +6509,19 @@ export declare function createAutomation(transport: Transport): {
6182
6509
  secrets_unavailable?: true;
6183
6510
  }>;
6184
6511
  }>;
6185
- set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
6512
+ set: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsVaultsSetData, "path"> & {
6513
+ path: {
6514
+ namespace: string;
6515
+ name: string;
6516
+ alias: string;
6517
+ } | (Omit<{
6518
+ namespace: string;
6519
+ name: string;
6520
+ alias: string;
6521
+ }, "namespace"> & {
6522
+ ns: string;
6523
+ });
6524
+ }>) => Promise<{
6186
6525
  alias: string;
6187
6526
  vault: {
6188
6527
  id: string;
@@ -6195,11 +6534,65 @@ export declare function createAutomation(transport: Transport): {
6195
6534
  }>;
6196
6535
  };
6197
6536
  versions: {
6198
- create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
6199
- deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
6200
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVersionsData>) => Promise<import("./automation.js").Page<Types.AutomationVersionListItem>>;
6201
- publish: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
6202
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVersionData>) => Promise<Types.AutomationVersion>;
6537
+ create: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsPublishData, "path"> & {
6538
+ path: {
6539
+ namespace: string;
6540
+ name: string;
6541
+ } | (Omit<{
6542
+ namespace: string;
6543
+ name: string;
6544
+ }, "namespace"> & {
6545
+ ns: string;
6546
+ });
6547
+ }>) => Promise<Types.AutomationVersion>;
6548
+ deprecate: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsDeprecateData, "path"> & {
6549
+ path: {
6550
+ namespace: string;
6551
+ name: string;
6552
+ version: string;
6553
+ } | (Omit<{
6554
+ namespace: string;
6555
+ name: string;
6556
+ version: string;
6557
+ }, "namespace"> & {
6558
+ ns: string;
6559
+ });
6560
+ }>) => Promise<Types.AutomationVersion>;
6561
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsVersionsData, "path"> & {
6562
+ path: {
6563
+ namespace: string;
6564
+ name: string;
6565
+ } | (Omit<{
6566
+ namespace: string;
6567
+ name: string;
6568
+ }, "namespace"> & {
6569
+ ns: string;
6570
+ });
6571
+ }>) => Promise<import("./automation.js").Page<Types.AutomationVersionListItem>>;
6572
+ publish: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsPublishData, "path"> & {
6573
+ path: {
6574
+ namespace: string;
6575
+ name: string;
6576
+ } | (Omit<{
6577
+ namespace: string;
6578
+ name: string;
6579
+ }, "namespace"> & {
6580
+ ns: string;
6581
+ });
6582
+ }>) => Promise<Types.AutomationVersion>;
6583
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationScriptsVersionData, "path"> & {
6584
+ path: {
6585
+ namespace: string;
6586
+ name: string;
6587
+ version: string;
6588
+ } | (Omit<{
6589
+ namespace: string;
6590
+ name: string;
6591
+ version: string;
6592
+ }, "namespace"> & {
6593
+ ns: string;
6594
+ });
6595
+ }>) => Promise<Types.AutomationVersion>;
6203
6596
  };
6204
6597
  };
6205
6598
  targets: {
@@ -6207,43 +6600,203 @@ export declare function createAutomation(transport: Transport): {
6207
6600
  };
6208
6601
  triggers: {
6209
6602
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersCreateData>) => Promise<Types.AutomationTriggerCreateResult>;
6210
- delete: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersDeleteData>) => Promise<void>;
6211
- fire: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersFireData>) => Promise<Types.AutomationFiring>;
6603
+ delete: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationTriggersDeleteData, "path"> & {
6604
+ path: {
6605
+ trigger_id: string;
6606
+ } | (Omit<{
6607
+ trigger_id: string;
6608
+ }, "trigger_id"> & {
6609
+ id: string;
6610
+ });
6611
+ }>) => Promise<void>;
6612
+ fire: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationTriggersFireData, "path"> & {
6613
+ path: {
6614
+ trigger_id: string;
6615
+ } | (Omit<{
6616
+ trigger_id: string;
6617
+ }, "trigger_id"> & {
6618
+ id: string;
6619
+ });
6620
+ }>) => Promise<Types.AutomationFiring>;
6212
6621
  firings: {
6213
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersFiringsData>) => Promise<import("./automation.js").Page<Types.AutomationFiring>>;
6622
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationTriggersFiringsData, "path"> & {
6623
+ path: {
6624
+ trigger_id: string;
6625
+ } | (Omit<{
6626
+ trigger_id: string;
6627
+ }, "trigger_id"> & {
6628
+ id: string;
6629
+ });
6630
+ }>) => Promise<import("./automation.js").Page<Types.AutomationFiring>>;
6214
6631
  };
6215
6632
  list: (options?: import("./core/transport.js").CallOptions<Types.AutomationTriggersListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationTrigger>>;
6216
- pause: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersPauseData>) => Promise<Types.AutomationTrigger>;
6633
+ pause: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationTriggersPauseData, "path"> & {
6634
+ path: {
6635
+ trigger_id: string;
6636
+ } | (Omit<{
6637
+ trigger_id: string;
6638
+ }, "trigger_id"> & {
6639
+ id: string;
6640
+ });
6641
+ }>) => Promise<Types.AutomationTrigger>;
6217
6642
  preview: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersPreviewData>) => Promise<Types.AutomationTriggerPreview>;
6218
- resume: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersResumeData>) => Promise<Types.AutomationTrigger>;
6219
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersGetData>) => Promise<Types.AutomationTrigger>;
6220
- rotateWebhook: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersRotateWebhookData>) => Promise<Types.AutomationWebhookUrl>;
6221
- update: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersPatchData>) => Promise<Types.AutomationTrigger>;
6643
+ resume: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationTriggersResumeData, "path"> & {
6644
+ path: {
6645
+ trigger_id: string;
6646
+ } | (Omit<{
6647
+ trigger_id: string;
6648
+ }, "trigger_id"> & {
6649
+ id: string;
6650
+ });
6651
+ }>) => Promise<Types.AutomationTrigger>;
6652
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationTriggersGetData, "path"> & {
6653
+ path: {
6654
+ trigger_id: string;
6655
+ } | (Omit<{
6656
+ trigger_id: string;
6657
+ }, "trigger_id"> & {
6658
+ id: string;
6659
+ });
6660
+ }>) => Promise<Types.AutomationTrigger>;
6661
+ rotateWebhook: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationTriggersRotateWebhookData, "path"> & {
6662
+ path: {
6663
+ trigger_id: string;
6664
+ } | (Omit<{
6665
+ trigger_id: string;
6666
+ }, "trigger_id"> & {
6667
+ id: string;
6668
+ });
6669
+ }>) => Promise<Types.AutomationWebhookUrl>;
6670
+ update: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationTriggersPatchData, "path"> & {
6671
+ path: {
6672
+ trigger_id: string;
6673
+ } | (Omit<{
6674
+ trigger_id: string;
6675
+ }, "trigger_id"> & {
6676
+ id: string;
6677
+ });
6678
+ }>) => Promise<Types.AutomationTrigger>;
6222
6679
  };
6223
6680
  validate: {
6224
6681
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationValidateValidateData>) => Promise<Types.AutomationValidateResult>;
6225
6682
  };
6226
6683
  workflows: {
6227
- archive: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsArchiveData>) => Promise<Types.AutomationDefinition>;
6684
+ archive: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsArchiveData, "path"> & {
6685
+ path: {
6686
+ namespace: string;
6687
+ name: string;
6688
+ } | (Omit<{
6689
+ namespace: string;
6690
+ name: string;
6691
+ }, "namespace"> & {
6692
+ ns: string;
6693
+ });
6694
+ }>) => Promise<Types.AutomationDefinition>;
6228
6695
  create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsCreateData>) => Promise<Types.AutomationDefinitionDetail>;
6229
6696
  distTags: {
6230
- delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeleteDistTagData>) => Promise<{
6697
+ delete: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsDeleteDistTagData, "path"> & {
6698
+ path: {
6699
+ namespace: string;
6700
+ name: string;
6701
+ tag: string;
6702
+ } | (Omit<{
6703
+ namespace: string;
6704
+ name: string;
6705
+ tag: string;
6706
+ }, "namespace"> & {
6707
+ ns: string;
6708
+ });
6709
+ }>) => Promise<{
6231
6710
  [key: string]: Types.AutomationDistTag;
6232
6711
  }>;
6233
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDistTagsData>) => Promise<{
6712
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsDistTagsData, "path"> & {
6713
+ path: {
6714
+ namespace: string;
6715
+ name: string;
6716
+ } | (Omit<{
6717
+ namespace: string;
6718
+ name: string;
6719
+ }, "namespace"> & {
6720
+ ns: string;
6721
+ });
6722
+ }>) => Promise<{
6234
6723
  [key: string]: Types.AutomationDistTag;
6235
6724
  }>;
6236
- set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsSetDistTagData>) => Promise<{
6725
+ set: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsSetDistTagData, "path"> & {
6726
+ path: {
6727
+ namespace: string;
6728
+ name: string;
6729
+ tag: string;
6730
+ } | (Omit<{
6731
+ namespace: string;
6732
+ name: string;
6733
+ tag: string;
6734
+ }, "namespace"> & {
6735
+ ns: string;
6736
+ });
6737
+ }>) => Promise<{
6237
6738
  [key: string]: Types.AutomationDistTag;
6238
6739
  }>;
6239
6740
  };
6240
6741
  list: (options?: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationDefinition>>;
6241
- restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
6242
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
6243
- update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
6742
+ restore: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsRestoreData, "path"> & {
6743
+ path: {
6744
+ namespace: string;
6745
+ name: string;
6746
+ } | (Omit<{
6747
+ namespace: string;
6748
+ name: string;
6749
+ }, "namespace"> & {
6750
+ ns: string;
6751
+ });
6752
+ }>) => Promise<Types.AutomationDefinition>;
6753
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsGetData, "path"> & {
6754
+ path: {
6755
+ namespace: string;
6756
+ name: string;
6757
+ } | (Omit<{
6758
+ namespace: string;
6759
+ name: string;
6760
+ }, "namespace"> & {
6761
+ ns: string;
6762
+ });
6763
+ }>) => Promise<Types.AutomationDefinitionDetail>;
6764
+ update: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsPatchData, "path"> & {
6765
+ path: {
6766
+ namespace: string;
6767
+ name: string;
6768
+ } | (Omit<{
6769
+ namespace: string;
6770
+ name: string;
6771
+ }, "namespace"> & {
6772
+ ns: string;
6773
+ });
6774
+ }>) => Promise<Types.AutomationDefinitionDetail>;
6244
6775
  vaults: {
6245
- delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
6246
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
6776
+ delete: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsVaultsDeleteData, "path"> & {
6777
+ path: {
6778
+ namespace: string;
6779
+ name: string;
6780
+ alias: string;
6781
+ } | (Omit<{
6782
+ namespace: string;
6783
+ name: string;
6784
+ alias: string;
6785
+ }, "namespace"> & {
6786
+ ns: string;
6787
+ });
6788
+ }>) => Promise<void>;
6789
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsVaultsListData, "path"> & {
6790
+ path: {
6791
+ namespace: string;
6792
+ name: string;
6793
+ } | (Omit<{
6794
+ namespace: string;
6795
+ name: string;
6796
+ }, "namespace"> & {
6797
+ ns: string;
6798
+ });
6799
+ }>) => Promise<{
6247
6800
  data: Array<{
6248
6801
  alias: string;
6249
6802
  vault: {
@@ -6256,7 +6809,19 @@ export declare function createAutomation(transport: Transport): {
6256
6809
  secrets_unavailable?: true;
6257
6810
  }>;
6258
6811
  }>;
6259
- set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
6812
+ set: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsVaultsSetData, "path"> & {
6813
+ path: {
6814
+ namespace: string;
6815
+ name: string;
6816
+ alias: string;
6817
+ } | (Omit<{
6818
+ namespace: string;
6819
+ name: string;
6820
+ alias: string;
6821
+ }, "namespace"> & {
6822
+ ns: string;
6823
+ });
6824
+ }>) => Promise<{
6260
6825
  alias: string;
6261
6826
  vault: {
6262
6827
  id: string;
@@ -6269,11 +6834,65 @@ export declare function createAutomation(transport: Transport): {
6269
6834
  }>;
6270
6835
  };
6271
6836
  versions: {
6272
- create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
6273
- deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
6274
- list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVersionsData>) => Promise<import("./automation.js").Page<Types.AutomationVersionListItem>>;
6275
- publish: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
6276
- retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVersionData>) => Promise<Types.AutomationVersion>;
6837
+ create: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsPublishData, "path"> & {
6838
+ path: {
6839
+ namespace: string;
6840
+ name: string;
6841
+ } | (Omit<{
6842
+ namespace: string;
6843
+ name: string;
6844
+ }, "namespace"> & {
6845
+ ns: string;
6846
+ });
6847
+ }>) => Promise<Types.AutomationVersion>;
6848
+ deprecate: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsDeprecateData, "path"> & {
6849
+ path: {
6850
+ namespace: string;
6851
+ name: string;
6852
+ version: string;
6853
+ } | (Omit<{
6854
+ namespace: string;
6855
+ name: string;
6856
+ version: string;
6857
+ }, "namespace"> & {
6858
+ ns: string;
6859
+ });
6860
+ }>) => Promise<Types.AutomationVersion>;
6861
+ list: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsVersionsData, "path"> & {
6862
+ path: {
6863
+ namespace: string;
6864
+ name: string;
6865
+ } | (Omit<{
6866
+ namespace: string;
6867
+ name: string;
6868
+ }, "namespace"> & {
6869
+ ns: string;
6870
+ });
6871
+ }>) => Promise<import("./automation.js").Page<Types.AutomationVersionListItem>>;
6872
+ publish: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsPublishData, "path"> & {
6873
+ path: {
6874
+ namespace: string;
6875
+ name: string;
6876
+ } | (Omit<{
6877
+ namespace: string;
6878
+ name: string;
6879
+ }, "namespace"> & {
6880
+ ns: string;
6881
+ });
6882
+ }>) => Promise<Types.AutomationVersion>;
6883
+ retrieve: (options: import("./core/transport.js").CallOptions<Omit<Types.AutomationWorkflowsVersionData, "path"> & {
6884
+ path: {
6885
+ namespace: string;
6886
+ name: string;
6887
+ version: string;
6888
+ } | (Omit<{
6889
+ namespace: string;
6890
+ name: string;
6891
+ version: string;
6892
+ }, "namespace"> & {
6893
+ ns: string;
6894
+ });
6895
+ }>) => Promise<Types.AutomationVersion>;
6277
6896
  };
6278
6897
  };
6279
6898
  };
@@ -6366,6 +6985,24 @@ export declare function createBrowser(transport: Transport): {
6366
6985
  tab: string;
6367
6986
  name: string;
6368
6987
  domain: string;
6988
+ } | {
6989
+ type: "route";
6990
+ routeId: string;
6991
+ } | {
6992
+ type: "unroute";
6993
+ routeId: string;
6994
+ removed: boolean;
6995
+ } | {
6996
+ type: "routes";
6997
+ routes: Array<{
6998
+ routeId: string;
6999
+ url: string;
7000
+ method?: string;
7001
+ tab?: string;
7002
+ response: {
7003
+ [key: string]: unknown;
7004
+ };
7005
+ }>;
6369
7006
  }>;
6370
7007
  };
6371
7008
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -6415,6 +7052,11 @@ export declare function createCanvas(transport: Transport): {
6415
7052
  nodes: {
6416
7053
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
6417
7054
  };
7055
+ processes: {
7056
+ steps: {
7057
+ retrieveBrief: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveProcessStepBriefData>) => Promise<Types.CanvasProcessStepBrief>;
7058
+ };
7059
+ };
6418
7060
  publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
6419
7061
  restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
6420
7062
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
@@ -6514,28 +7156,43 @@ export declare function createCrm(transport: Transport): {
6514
7156
  };
6515
7157
  export declare function createCustomer(transport: Transport): {
6516
7158
  accessTokens: {
7159
+ /** @deprecated use POST /end/v1/access_tokens instead; this path stops working on 2026-12-12. */
6517
7160
  create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
7161
+ /** @deprecated use POST /end/v1/access_tokens/renew instead; this path stops working on 2026-12-12. */
6518
7162
  renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
7163
+ /** @deprecated use DELETE /end/v1/access_tokens/current instead; this path stops working on 2026-12-12. */
6519
7164
  revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
6520
7165
  };
6521
7166
  customers: {
7167
+ /** @deprecated use POST /end/v1/users/{end_user_id}/block instead; this path stops working on 2026-12-12. */
6522
7168
  block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
7169
+ /** @deprecated use DELETE /end/v1/users/{end_user_id} instead; this path stops working on 2026-12-12. */
6523
7170
  delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
7171
+ /** @deprecated use GET /end/v1/users instead; this path stops working on 2026-12-12. */
6524
7172
  list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
7173
+ /** @deprecated use GET /end/v1/users/{end_user_id} instead; this path stops working on 2026-12-12. */
6525
7174
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
7175
+ /** @deprecated use POST /end/v1/users/{end_user_id}/revoke_tokens instead; this path stops working on 2026-12-12. */
6526
7176
  revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
7177
+ /** @deprecated use POST /end/v1/users/{end_user_id}/unblock instead; this path stops working on 2026-12-12. */
6527
7178
  unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
6528
7179
  };
6529
7180
  grantCodes: {
7181
+ /** @deprecated use POST /end/v1/grant_codes instead; this path stops working on 2026-12-12. */
6530
7182
  create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
6531
7183
  };
6532
7184
  publishableKeys: {
7185
+ /** @deprecated use POST /end/v1/publishable_keys instead; this path stops working on 2026-12-12. */
6533
7186
  create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
7187
+ /** @deprecated use DELETE /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. */
6534
7188
  delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
7189
+ /** @deprecated use GET /end/v1/publishable_keys instead; this path stops working on 2026-12-12. */
6535
7190
  list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
7191
+ /** @deprecated use PATCH /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. */
6536
7192
  update: (options: import("./core/transport.js").CallOptions<Types.CustomerUpdatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
6537
7193
  };
6538
7194
  usage: {
7195
+ /** @deprecated use GET /end/v1/users/{end_user_id}/usage instead; this path stops working on 2026-12-12. */
6539
7196
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
6540
7197
  };
6541
7198
  };
@@ -6891,6 +7548,7 @@ export declare function createDevops(transport: Transport): {
6891
7548
  pullRequests: {
6892
7549
  close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6893
7550
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
7551
+ overrideGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsOverrideGateData>) => Promise<Types.DevopsPullRequest>;
6894
7552
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6895
7553
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6896
7554
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
@@ -6944,6 +7602,44 @@ export declare function createDevops(transport: Transport): {
6944
7602
  };
6945
7603
  };
6946
7604
  };
7605
+ export declare function createEnd(transport: Transport): {
7606
+ accessTokens: {
7607
+ create: (options: import("./core/transport.js").CallOptions<Types.EndCreateAccessTokenData>) => Promise<Types.EndAccessToken>;
7608
+ renew: (options?: import("./core/transport.js").CallOptions<Types.EndRenewAccessTokenData> | undefined) => Promise<Types.EndAccessToken>;
7609
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.EndRevokeCurrentTokensData> | undefined) => Promise<unknown>;
7610
+ };
7611
+ grantCodes: {
7612
+ create: (options: import("./core/transport.js").CallOptions<Types.EndCreateGrantCodeData>) => Promise<Types.EndGrantCode>;
7613
+ };
7614
+ publishableKeys: {
7615
+ create: (options: import("./core/transport.js").CallOptions<Types.EndCreatePublishableKeyData>) => Promise<Types.EndPublishableKey>;
7616
+ delete: (options: import("./core/transport.js").CallOptions<Types.EndDeletePublishableKeyData>) => Promise<Types.EndPublishableKeyDeleted>;
7617
+ list: (options?: import("./core/transport.js").CallOptions<Types.EndListPublishableKeysData> | undefined) => Promise<Types.EndPublishableKeyPage>;
7618
+ update: (options: import("./core/transport.js").CallOptions<Types.EndUpdatePublishableKeyData>) => Promise<Types.EndPublishableKey>;
7619
+ };
7620
+ usage: {
7621
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EndGetUsageData>) => Promise<Types.EndEndUserUsage>;
7622
+ };
7623
+ users: {
7624
+ block: (options: import("./core/transport.js").CallOptions<Types.EndBlockUserData>) => Promise<Types.EndEndUser>;
7625
+ delete: (options: import("./core/transport.js").CallOptions<Types.EndDeleteUserData>) => Promise<Types.EndEndUserDeleted>;
7626
+ list: (options?: import("./core/transport.js").CallOptions<Types.EndListUsersData> | undefined) => Promise<Types.EndEndUserPage>;
7627
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EndGetUserData>) => Promise<Types.EndEndUser>;
7628
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.EndRevokeTokensData>) => Promise<Types.EndTokensRevoked>;
7629
+ unblock: (options: import("./core/transport.js").CallOptions<Types.EndUnblockUserData>) => Promise<Types.EndEndUser>;
7630
+ };
7631
+ };
7632
+ export declare function createEvents(transport: Transport): {
7633
+ subscriptions: {
7634
+ create: (options: import("./core/transport.js").CallOptions<Types.EventsCreateSubscriptionData>) => Promise<Types.EventsEventSubscription>;
7635
+ delete: (options: import("./core/transport.js").CallOptions<Types.EventsDeleteSubscriptionData>) => Promise<void>;
7636
+ list: (options?: import("./core/transport.js").CallOptions<Types.EventsListSubscriptionsData> | undefined) => Promise<Types.EventsEventSubscriptionPage>;
7637
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EventsRetrieveSubscriptionData>) => Promise<Types.EventsEventSubscription>;
7638
+ };
7639
+ types: {
7640
+ list: (options?: import("./core/transport.js").CallOptions<Types.EventsListTypesData> | undefined) => Promise<Types.EventsEventTypePage>;
7641
+ };
7642
+ };
6947
7643
  export declare function createFile(transport: Transport): {
6948
7644
  files: {
6949
7645
  contentLinks: {
@@ -7061,6 +7757,9 @@ export declare function createMedia(transport: Transport): {
7061
7757
  versions: {
7062
7758
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
7063
7759
  };
7760
+ works: {
7761
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListAssetWorksData>) => Promise<import("./automation.js").Page<Types.MediaWorkSummary>>;
7762
+ };
7064
7763
  };
7065
7764
  batches: {
7066
7765
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -7118,6 +7817,13 @@ export declare function createMedia(transport: Transport): {
7118
7817
  create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
7119
7818
  };
7120
7819
  };
7820
+ works: {
7821
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateWorkData>) => Promise<Types.MediaWork>;
7822
+ delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteWorkData>) => Promise<Types.MediaDeletedWork>;
7823
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListWorksData>) => Promise<import("./automation.js").Page<Types.MediaWorkSummary>>;
7824
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetWorkData>) => Promise<Types.MediaWork>;
7825
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateWorkData>) => Promise<Types.MediaWork>;
7826
+ };
7121
7827
  };
7122
7828
  pipelines: {
7123
7829
  create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
@@ -7811,6 +8517,10 @@ export declare function createOrganization(transport: Transport): {
7811
8517
  ServiceCategory?: string;
7812
8518
  ResourceId?: string;
7813
8519
  ResourceName?: string;
8520
+ SessionId?: string | null;
8521
+ AgentId?: string | null;
8522
+ ApiKeyId?: string | null;
8523
+ RunId?: string | null;
7814
8524
  BilledCost: string;
7815
8525
  BillingCurrency: "CNY" | "USD";
7816
8526
  x_EventCount: string;
@@ -7835,6 +8545,10 @@ export declare function createOrganization(transport: Transport): {
7835
8545
  BillingCurrency: "CNY" | "USD";
7836
8546
  ChargeClass: "Correction" | null;
7837
8547
  request_id: string | null;
8548
+ session_id: string | null;
8549
+ agent_id: string | null;
8550
+ api_key_id: string | null;
8551
+ run_id: string | null;
7838
8552
  settlement: {
7839
8553
  status: "settled" | "no_charge" | "rejected";
7840
8554
  shortfall: string | null;
@@ -7862,6 +8576,10 @@ export declare function createOrganization(transport: Transport): {
7862
8576
  BillingCurrency: "CNY" | "USD";
7863
8577
  ChargeClass: "Correction" | null;
7864
8578
  request_id: string | null;
8579
+ session_id: string | null;
8580
+ agent_id: string | null;
8581
+ api_key_id: string | null;
8582
+ run_id: string | null;
7865
8583
  settlement: {
7866
8584
  status: "settled" | "no_charge" | "rejected";
7867
8585
  shortfall: string | null;
@@ -8045,6 +8763,12 @@ export declare function createOrganization(transport: Transport): {
8045
8763
  archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
8046
8764
  unread: number;
8047
8765
  }>;
8766
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationNotificationLetterData>) => Promise<{
8767
+ letter: {
8768
+ id: string;
8769
+ deliverAt: string;
8770
+ };
8771
+ }>;
8048
8772
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
8049
8773
  letters: Array<{
8050
8774
  id: string;
@@ -8052,7 +8776,7 @@ export declare function createOrganization(transport: Transport): {
8052
8776
  summary: string;
8053
8777
  body: string;
8054
8778
  thread: string;
8055
- kind: "notice" | "mention" | "decision";
8779
+ kind: "notice" | "mention" | "decision" | "event";
8056
8780
  source: {
8057
8781
  [key: string]: unknown;
8058
8782
  };
@@ -8082,7 +8806,7 @@ export declare function createOrganization(transport: Transport): {
8082
8806
  summary: string;
8083
8807
  body: string;
8084
8808
  thread: string;
8085
- kind: "notice" | "mention" | "decision";
8809
+ kind: "notice" | "mention" | "decision" | "event";
8086
8810
  source: {
8087
8811
  [key: string]: unknown;
8088
8812
  };
@@ -8098,6 +8822,56 @@ export declare function createOrganization(transport: Transport): {
8098
8822
  };
8099
8823
  }>;
8100
8824
  };
8825
+ messages: {
8826
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteOrganizationNotificationMessageData>) => Promise<{
8827
+ deleted: boolean;
8828
+ }>;
8829
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationMessagesData> | undefined) => Promise<{
8830
+ items: Array<{
8831
+ name: string;
8832
+ organizationId: string;
8833
+ group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
8834
+ workflow: string;
8835
+ title: string;
8836
+ body: string;
8837
+ actionUrl?: string;
8838
+ seen: boolean;
8839
+ read: boolean;
8840
+ archived: boolean;
8841
+ createTime: string;
8842
+ }>;
8843
+ nextPageToken?: string;
8844
+ }>;
8845
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationMessagesData> | undefined) => Promise<{
8846
+ updated: number;
8847
+ }>;
8848
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationMessageData>) => Promise<{
8849
+ name: string;
8850
+ organizationId: string;
8851
+ group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
8852
+ workflow: string;
8853
+ title: string;
8854
+ body: string;
8855
+ actionUrl?: string;
8856
+ seen: boolean;
8857
+ read: boolean;
8858
+ archived: boolean;
8859
+ createTime: string;
8860
+ }>;
8861
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationMessageData>) => Promise<{
8862
+ name: string;
8863
+ organizationId: string;
8864
+ group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
8865
+ workflow: string;
8866
+ title: string;
8867
+ body: string;
8868
+ actionUrl?: string;
8869
+ seen: boolean;
8870
+ read: boolean;
8871
+ archived: boolean;
8872
+ createTime: string;
8873
+ }>;
8874
+ };
8101
8875
  organizationDefault: {
8102
8876
  create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
8103
8877
  [key: string]: unknown;
@@ -8152,6 +8926,10 @@ export declare function createOrganization(transport: Transport): {
8152
8926
  ServiceCategory?: string;
8153
8927
  ResourceId?: string;
8154
8928
  ResourceName?: string;
8929
+ SessionId?: string | null;
8930
+ AgentId?: string | null;
8931
+ ApiKeyId?: string | null;
8932
+ RunId?: string | null;
8155
8933
  ConsumedQuantity: string;
8156
8934
  ConsumedUnit: string;
8157
8935
  x_EventCount: string;
@@ -8306,6 +9084,29 @@ export declare function createSandbox(transport: Transport): {
8306
9084
  organization_name: string;
8307
9085
  expires_at: string;
8308
9086
  }>;
9087
+ status: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingStatusData>) => Promise<{
9088
+ code: string;
9089
+ expires_at: string;
9090
+ claimed_device: {
9091
+ object: "byod_device";
9092
+ id: string;
9093
+ platform: "android" | "macos" | "linux";
9094
+ name: string;
9095
+ model: string;
9096
+ os_version: string;
9097
+ online: boolean;
9098
+ last_seen_at: string | null;
9099
+ created_at: string;
9100
+ capabilities: Array<"display" | "agent">;
9101
+ agent_dirs: Array<string>;
9102
+ agent_bindings: Array<{
9103
+ dir: string;
9104
+ agent: string;
9105
+ }>;
9106
+ envd_version: string | null;
9107
+ allow_bypass: boolean;
9108
+ } | null;
9109
+ }>;
8309
9110
  };
8310
9111
  };
8311
9112
  events: {
@@ -8994,6 +9795,8 @@ export declare const resourceFactories: {
8994
9795
  cut: typeof createCut;
8995
9796
  database: typeof createDatabase;
8996
9797
  devops: typeof createDevops;
9798
+ end: typeof createEnd;
9799
+ events: typeof createEvents;
8997
9800
  file: typeof createFile;
8998
9801
  knowledge: typeof createKnowledge;
8999
9802
  media: typeof createMedia;