@deepraxis/sdk 0.2.0-dev.72cb989 → 0.2.0-dev.7bb8403

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>;
@@ -6944,6 +7581,17 @@ export declare function createDevops(transport: Transport): {
6944
7581
  };
6945
7582
  };
6946
7583
  };
7584
+ export declare function createEvents(transport: Transport): {
7585
+ subscriptions: {
7586
+ create: (options: import("./core/transport.js").CallOptions<Types.EventsCreateSubscriptionData>) => Promise<Types.EventsEventSubscription>;
7587
+ delete: (options: import("./core/transport.js").CallOptions<Types.EventsDeleteSubscriptionData>) => Promise<void>;
7588
+ list: (options?: import("./core/transport.js").CallOptions<Types.EventsListSubscriptionsData> | undefined) => Promise<Types.EventsEventSubscriptionPage>;
7589
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EventsRetrieveSubscriptionData>) => Promise<Types.EventsEventSubscription>;
7590
+ };
7591
+ types: {
7592
+ list: (options?: import("./core/transport.js").CallOptions<Types.EventsListTypesData> | undefined) => Promise<Types.EventsEventTypePage>;
7593
+ };
7594
+ };
6947
7595
  export declare function createFile(transport: Transport): {
6948
7596
  files: {
6949
7597
  contentLinks: {
@@ -7061,6 +7709,9 @@ export declare function createMedia(transport: Transport): {
7061
7709
  versions: {
7062
7710
  restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
7063
7711
  };
7712
+ works: {
7713
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListAssetWorksData>) => Promise<import("./automation.js").Page<Types.MediaWorkSummary>>;
7714
+ };
7064
7715
  };
7065
7716
  batches: {
7066
7717
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -7118,6 +7769,13 @@ export declare function createMedia(transport: Transport): {
7118
7769
  create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
7119
7770
  };
7120
7771
  };
7772
+ works: {
7773
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateWorkData>) => Promise<Types.MediaWork>;
7774
+ delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteWorkData>) => Promise<Types.MediaDeletedWork>;
7775
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaListWorksData>) => Promise<import("./automation.js").Page<Types.MediaWorkSummary>>;
7776
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetWorkData>) => Promise<Types.MediaWork>;
7777
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateWorkData>) => Promise<Types.MediaWork>;
7778
+ };
7121
7779
  };
7122
7780
  pipelines: {
7123
7781
  create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
@@ -7811,6 +8469,10 @@ export declare function createOrganization(transport: Transport): {
7811
8469
  ServiceCategory?: string;
7812
8470
  ResourceId?: string;
7813
8471
  ResourceName?: string;
8472
+ SessionId?: string | null;
8473
+ AgentId?: string | null;
8474
+ ApiKeyId?: string | null;
8475
+ RunId?: string | null;
7814
8476
  BilledCost: string;
7815
8477
  BillingCurrency: "CNY" | "USD";
7816
8478
  x_EventCount: string;
@@ -7835,6 +8497,10 @@ export declare function createOrganization(transport: Transport): {
7835
8497
  BillingCurrency: "CNY" | "USD";
7836
8498
  ChargeClass: "Correction" | null;
7837
8499
  request_id: string | null;
8500
+ session_id: string | null;
8501
+ agent_id: string | null;
8502
+ api_key_id: string | null;
8503
+ run_id: string | null;
7838
8504
  settlement: {
7839
8505
  status: "settled" | "no_charge" | "rejected";
7840
8506
  shortfall: string | null;
@@ -7862,6 +8528,10 @@ export declare function createOrganization(transport: Transport): {
7862
8528
  BillingCurrency: "CNY" | "USD";
7863
8529
  ChargeClass: "Correction" | null;
7864
8530
  request_id: string | null;
8531
+ session_id: string | null;
8532
+ agent_id: string | null;
8533
+ api_key_id: string | null;
8534
+ run_id: string | null;
7865
8535
  settlement: {
7866
8536
  status: "settled" | "no_charge" | "rejected";
7867
8537
  shortfall: string | null;
@@ -8045,6 +8715,12 @@ export declare function createOrganization(transport: Transport): {
8045
8715
  archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
8046
8716
  unread: number;
8047
8717
  }>;
8718
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationNotificationLetterData>) => Promise<{
8719
+ letter: {
8720
+ id: string;
8721
+ deliverAt: string;
8722
+ };
8723
+ }>;
8048
8724
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
8049
8725
  letters: Array<{
8050
8726
  id: string;
@@ -8052,7 +8728,7 @@ export declare function createOrganization(transport: Transport): {
8052
8728
  summary: string;
8053
8729
  body: string;
8054
8730
  thread: string;
8055
- kind: "notice" | "mention" | "decision";
8731
+ kind: "notice" | "mention" | "decision" | "event";
8056
8732
  source: {
8057
8733
  [key: string]: unknown;
8058
8734
  };
@@ -8082,7 +8758,7 @@ export declare function createOrganization(transport: Transport): {
8082
8758
  summary: string;
8083
8759
  body: string;
8084
8760
  thread: string;
8085
- kind: "notice" | "mention" | "decision";
8761
+ kind: "notice" | "mention" | "decision" | "event";
8086
8762
  source: {
8087
8763
  [key: string]: unknown;
8088
8764
  };
@@ -8098,6 +8774,56 @@ export declare function createOrganization(transport: Transport): {
8098
8774
  };
8099
8775
  }>;
8100
8776
  };
8777
+ messages: {
8778
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteOrganizationNotificationMessageData>) => Promise<{
8779
+ deleted: boolean;
8780
+ }>;
8781
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationMessagesData> | undefined) => Promise<{
8782
+ items: Array<{
8783
+ name: string;
8784
+ organizationId: string;
8785
+ group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
8786
+ workflow: string;
8787
+ title: string;
8788
+ body: string;
8789
+ actionUrl?: string;
8790
+ seen: boolean;
8791
+ read: boolean;
8792
+ archived: boolean;
8793
+ createTime: string;
8794
+ }>;
8795
+ nextPageToken?: string;
8796
+ }>;
8797
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationMessagesData> | undefined) => Promise<{
8798
+ updated: number;
8799
+ }>;
8800
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationMessageData>) => Promise<{
8801
+ name: string;
8802
+ organizationId: string;
8803
+ group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
8804
+ workflow: string;
8805
+ title: string;
8806
+ body: string;
8807
+ actionUrl?: string;
8808
+ seen: boolean;
8809
+ read: boolean;
8810
+ archived: boolean;
8811
+ createTime: string;
8812
+ }>;
8813
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationMessageData>) => Promise<{
8814
+ name: string;
8815
+ organizationId: string;
8816
+ group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
8817
+ workflow: string;
8818
+ title: string;
8819
+ body: string;
8820
+ actionUrl?: string;
8821
+ seen: boolean;
8822
+ read: boolean;
8823
+ archived: boolean;
8824
+ createTime: string;
8825
+ }>;
8826
+ };
8101
8827
  organizationDefault: {
8102
8828
  create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
8103
8829
  [key: string]: unknown;
@@ -8152,6 +8878,10 @@ export declare function createOrganization(transport: Transport): {
8152
8878
  ServiceCategory?: string;
8153
8879
  ResourceId?: string;
8154
8880
  ResourceName?: string;
8881
+ SessionId?: string | null;
8882
+ AgentId?: string | null;
8883
+ ApiKeyId?: string | null;
8884
+ RunId?: string | null;
8155
8885
  ConsumedQuantity: string;
8156
8886
  ConsumedUnit: string;
8157
8887
  x_EventCount: string;
@@ -8246,6 +8976,7 @@ export declare function createSandbox(transport: Transport): {
8246
8976
  dir: string;
8247
8977
  agent: string;
8248
8978
  }>;
8979
+ envd_version: string | null;
8249
8980
  allow_bypass: boolean;
8250
8981
  }>;
8251
8982
  }>;
@@ -8265,6 +8996,7 @@ export declare function createSandbox(transport: Transport): {
8265
8996
  dir: string;
8266
8997
  agent: string;
8267
8998
  }>;
8999
+ envd_version: string | null;
8268
9000
  allow_bypass: boolean;
8269
9001
  }>;
8270
9002
  update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
@@ -8283,6 +9015,7 @@ export declare function createSandbox(transport: Transport): {
8283
9015
  dir: string;
8284
9016
  agent: string;
8285
9017
  }>;
9018
+ envd_version: string | null;
8286
9019
  allow_bypass: boolean;
8287
9020
  }>;
8288
9021
  };
@@ -8303,6 +9036,29 @@ export declare function createSandbox(transport: Transport): {
8303
9036
  organization_name: string;
8304
9037
  expires_at: string;
8305
9038
  }>;
9039
+ status: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingStatusData>) => Promise<{
9040
+ code: string;
9041
+ expires_at: string;
9042
+ claimed_device: {
9043
+ object: "byod_device";
9044
+ id: string;
9045
+ platform: "android" | "macos" | "linux";
9046
+ name: string;
9047
+ model: string;
9048
+ os_version: string;
9049
+ online: boolean;
9050
+ last_seen_at: string | null;
9051
+ created_at: string;
9052
+ capabilities: Array<"display" | "agent">;
9053
+ agent_dirs: Array<string>;
9054
+ agent_bindings: Array<{
9055
+ dir: string;
9056
+ agent: string;
9057
+ }>;
9058
+ envd_version: string | null;
9059
+ allow_bypass: boolean;
9060
+ } | null;
9061
+ }>;
8306
9062
  };
8307
9063
  };
8308
9064
  events: {
@@ -8991,6 +9747,7 @@ export declare const resourceFactories: {
8991
9747
  cut: typeof createCut;
8992
9748
  database: typeof createDatabase;
8993
9749
  devops: typeof createDevops;
9750
+ events: typeof createEvents;
8994
9751
  file: typeof createFile;
8995
9752
  knowledge: typeof createKnowledge;
8996
9753
  media: typeof createMedia;