@workbuddy/cli-vnext 1.0.164 → 1.0.166

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.
Files changed (2) hide show
  1. package/dist/index.js +947 -134
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16330,6 +16330,10 @@ Requires scope: settings:read`,
16330
16330
  name: "kind",
16331
16331
  type: "string"
16332
16332
  },
16333
+ {
16334
+ name: "parent",
16335
+ type: "string"
16336
+ },
16333
16337
  {
16334
16338
  name: "body",
16335
16339
  type: "string",
@@ -16485,6 +16489,10 @@ Requires scope: settings:read`,
16485
16489
  name: "kind",
16486
16490
  type: "string"
16487
16491
  },
16492
+ {
16493
+ name: "parent",
16494
+ type: "string"
16495
+ },
16488
16496
  {
16489
16497
  name: "body",
16490
16498
  type: "string",
@@ -16648,6 +16656,10 @@ Requires scope: settings:read`,
16648
16656
  name: "kind",
16649
16657
  type: "string"
16650
16658
  },
16659
+ {
16660
+ name: "parent",
16661
+ type: "string"
16662
+ },
16651
16663
  {
16652
16664
  name: "body",
16653
16665
  type: "string",
@@ -16775,6 +16787,10 @@ Requires scope: settings:read`,
16775
16787
  name: "kind",
16776
16788
  type: "string"
16777
16789
  },
16790
+ {
16791
+ name: "parent",
16792
+ type: "string"
16793
+ },
16778
16794
  {
16779
16795
  name: "body",
16780
16796
  type: "string",
@@ -17215,6 +17231,10 @@ Requires scope: settings:read`,
17215
17231
  name: "kind",
17216
17232
  type: "string"
17217
17233
  },
17234
+ {
17235
+ name: "parent",
17236
+ type: "string"
17237
+ },
17218
17238
  {
17219
17239
  name: "body",
17220
17240
  type: "string",
@@ -17313,6 +17333,10 @@ Requires scope: settings:read`,
17313
17333
  name: "kind",
17314
17334
  type: "string"
17315
17335
  },
17336
+ {
17337
+ name: "parent",
17338
+ type: "string"
17339
+ },
17316
17340
  {
17317
17341
  name: "body",
17318
17342
  type: "string",
@@ -17411,6 +17435,10 @@ Requires scope: settings:read`,
17411
17435
  name: "kind",
17412
17436
  type: "string"
17413
17437
  },
17438
+ {
17439
+ name: "parent",
17440
+ type: "string"
17441
+ },
17414
17442
  {
17415
17443
  name: "body",
17416
17444
  type: "string",
@@ -17637,6 +17665,10 @@ Requires scope: settings:read`,
17637
17665
  name: "kind",
17638
17666
  type: "string"
17639
17667
  },
17668
+ {
17669
+ name: "parent",
17670
+ type: "string"
17671
+ },
17640
17672
  {
17641
17673
  name: "body",
17642
17674
  type: "string",
@@ -17810,6 +17842,10 @@ Requires scope: settings:read`,
17810
17842
  name: "kind",
17811
17843
  type: "string"
17812
17844
  },
17845
+ {
17846
+ name: "parent",
17847
+ type: "string"
17848
+ },
17813
17849
  {
17814
17850
  name: "body",
17815
17851
  type: "string",
@@ -17982,6 +18018,10 @@ Requires scope: settings:read`,
17982
18018
  name: "kind",
17983
18019
  type: "string"
17984
18020
  },
18021
+ {
18022
+ name: "parent",
18023
+ type: "string"
18024
+ },
17985
18025
  {
17986
18026
  name: "body",
17987
18027
  type: "string",
@@ -18118,6 +18158,10 @@ Requires scope: settings:read`,
18118
18158
  name: "kind",
18119
18159
  type: "string"
18120
18160
  },
18161
+ {
18162
+ name: "parent",
18163
+ type: "string"
18164
+ },
18121
18165
  {
18122
18166
  name: "body",
18123
18167
  type: "string",
@@ -18585,6 +18629,10 @@ Requires scope: settings:read`,
18585
18629
  name: "kind",
18586
18630
  type: "string"
18587
18631
  },
18632
+ {
18633
+ name: "parent",
18634
+ type: "string"
18635
+ },
18588
18636
  {
18589
18637
  name: "body",
18590
18638
  type: "string",
@@ -18692,6 +18740,10 @@ Requires scope: settings:read`,
18692
18740
  name: "kind",
18693
18741
  type: "string"
18694
18742
  },
18743
+ {
18744
+ name: "parent",
18745
+ type: "string"
18746
+ },
18695
18747
  {
18696
18748
  name: "body",
18697
18749
  type: "string",
@@ -18799,6 +18851,10 @@ Requires scope: settings:read`,
18799
18851
  name: "kind",
18800
18852
  type: "string"
18801
18853
  },
18854
+ {
18855
+ name: "parent",
18856
+ type: "string"
18857
+ },
18802
18858
  {
18803
18859
  name: "body",
18804
18860
  type: "string",
@@ -18942,6 +18998,15 @@ Requires scope: settings:read`,
18942
18998
  type: "string",
18943
18999
  description: "Entity ID"
18944
19000
  },
19001
+ {
19002
+ name: "kind",
19003
+ type: "string",
19004
+ description: "Present for File activities; task evidence can also appear in File lists."
19005
+ },
19006
+ {
19007
+ name: "parent",
19008
+ type: "string"
19009
+ },
18945
19010
  {
18946
19011
  name: "title",
18947
19012
  type: "string"
@@ -19009,6 +19074,15 @@ Requires scope: settings:read`,
19009
19074
  type: "string",
19010
19075
  description: "Entity ID"
19011
19076
  },
19077
+ {
19078
+ name: "kind",
19079
+ type: "string",
19080
+ description: "Present for File activities; task evidence can also appear in File lists."
19081
+ },
19082
+ {
19083
+ name: "parent",
19084
+ type: "string"
19085
+ },
19012
19086
  {
19013
19087
  name: "title",
19014
19088
  type: "string"
@@ -19205,6 +19279,15 @@ Requires scope: settings:read`,
19205
19279
  type: "string",
19206
19280
  description: "Entity ID"
19207
19281
  },
19282
+ {
19283
+ name: "kind",
19284
+ type: "string",
19285
+ description: "Present for File activities; task evidence can also appear in File lists."
19286
+ },
19287
+ {
19288
+ name: "parent",
19289
+ type: "string"
19290
+ },
19208
19291
  {
19209
19292
  name: "title",
19210
19293
  type: "string"
@@ -19281,6 +19364,15 @@ Requires scope: settings:read`,
19281
19364
  type: "string",
19282
19365
  description: "Entity ID"
19283
19366
  },
19367
+ {
19368
+ name: "kind",
19369
+ type: "string",
19370
+ description: "Present for File activities; task evidence can also appear in File lists."
19371
+ },
19372
+ {
19373
+ name: "parent",
19374
+ type: "string"
19375
+ },
19284
19376
  {
19285
19377
  name: "title",
19286
19378
  type: "string"
@@ -25927,184 +26019,859 @@ Requires scope: settings:read`,
25927
26019
  hasRequestBody: false
25928
26020
  },
25929
26021
  {
25930
- operationId: "PublicApiWebhookV2Controller_regenerateSecret",
25931
- displayName: "Regenerate the signing secret for a webhook subscription",
25932
- description: "Regenerate the signing secret for a webhook subscription",
26022
+ operationId: "PublicApiWebhookV2Controller_registerJob",
26023
+ displayName: "Register a job webhook",
26024
+ description: "Register a job webhook",
25933
26025
  method: "POST",
25934
- path: "/webhooks/{id}/regenerate-secret",
25935
- commandPath: ["webhooks", "regenerate-secret"],
26026
+ path: "/webhooks/jobs",
26027
+ commandPath: ["webhooks", "register-job"],
25936
26028
  options: [
25937
26029
  {
25938
- name: "id",
25939
- cliName: "id",
25940
- optionKey: "id",
25941
- source: "path",
26030
+ name: "name",
26031
+ cliName: "name",
26032
+ optionKey: "name",
26033
+ source: "body",
25942
26034
  type: "string",
25943
26035
  required: true,
25944
- description: "Entity ID"
25945
- }
25946
- ],
25947
- hasRequestBody: false
25948
- },
25949
- {
25950
- operationId: "PublicApiWebhookV2Controller_test",
25951
- displayName: "Send a test event to a webhook subscription",
25952
- description: "Send a test event to a webhook subscription",
25953
- method: "POST",
25954
- path: "/webhooks/{id}/test",
25955
- commandPath: ["webhooks", "test"],
25956
- options: [
26036
+ description: "Display name"
26037
+ },
25957
26038
  {
25958
- name: "id",
25959
- cliName: "id",
25960
- optionKey: "id",
25961
- source: "path",
26039
+ name: "url",
26040
+ cliName: "url",
26041
+ optionKey: "url",
26042
+ source: "body",
25962
26043
  type: "string",
25963
26044
  required: true,
25964
- description: "Entity ID"
25965
- }
25966
- ],
25967
- hasRequestBody: false
25968
- },
25969
- {
25970
- operationId: "PublicApiWebhookV2Controller_listDeliveries",
25971
- displayName: "List recent delivery attempts for a webhook subscription",
25972
- description: "List recent delivery attempts for a webhook subscription",
25973
- method: "GET",
25974
- path: "/webhooks/{id}/deliveries",
25975
- commandPath: ["webhooks", "deliveries", "list"],
25976
- options: [
26045
+ description: "Webhook callback URL",
26046
+ format: "uri"
26047
+ },
25977
26048
  {
25978
- name: "id",
25979
- cliName: "id",
25980
- optionKey: "id",
25981
- source: "path",
25982
- type: "string",
26049
+ name: "events",
26050
+ cliName: "events",
26051
+ optionKey: "events",
26052
+ source: "body",
26053
+ type: "array",
25983
26054
  required: true,
25984
- description: "Entity ID"
25985
- }
25986
- ],
25987
- hasRequestBody: false
25988
- },
25989
- {
25990
- operationId: "PublicExportController_export",
25991
- displayName: "Export entity data",
25992
- description: "Bulk export data from a MongoDB view. Returns raw view documents with pagination. Financial fields are stripped unless the token has the jobs:financial scope.",
25993
- method: "GET",
25994
- path: "/exports/{entity}",
25995
- commandPath: ["exports", "get"],
25996
- options: [
26055
+ description: "Event names to subscribe to"
26056
+ },
25997
26057
  {
25998
- name: "entity",
25999
- cliName: "entity",
26000
- optionKey: "entity",
26001
- source: "path",
26002
- type: "string",
26003
- required: true,
26004
- description: "Entity name to export",
26005
- enumValues: [
26006
- "jobs",
26007
- "stages",
26008
- "timesheets",
26009
- "assets",
26010
- "tasks",
26011
- "quotes_pro",
26012
- "job-activities",
26013
- "managed_sites",
26014
- "allocations_x",
26015
- "services",
26016
- "customers",
26017
- "invoices",
26018
- "asset_job_links"
26019
- ]
26058
+ name: "filters",
26059
+ cliName: "filters",
26060
+ optionKey: "filters",
26061
+ source: "body",
26062
+ type: "object",
26063
+ required: false,
26064
+ description: ""
26020
26065
  },
26021
26066
  {
26022
- name: "lastModifiedOn",
26023
- cliName: "last-modified-on",
26024
- optionKey: "lastModifiedOn",
26025
- source: "query",
26026
- type: "string",
26067
+ name: "businessHours",
26068
+ cliName: "business-hours",
26069
+ optionKey: "businessHours",
26070
+ source: "body",
26071
+ type: "object",
26027
26072
  required: false,
26028
- description: "ISO date — only return records modified on or after this date"
26073
+ description: ""
26029
26074
  },
26030
26075
  {
26031
- name: "pageSize",
26032
- cliName: "page-size",
26033
- optionKey: "pageSize",
26034
- source: "query",
26035
- type: "number",
26076
+ name: "workflow",
26077
+ cliName: "workflow",
26078
+ optionKey: "workflow",
26079
+ source: "body",
26080
+ type: "object",
26036
26081
  required: false,
26037
- description: "Page size 1-500 (default 500)"
26082
+ description: ""
26038
26083
  },
26039
26084
  {
26040
- name: "page",
26041
- cliName: "page",
26042
- optionKey: "page",
26043
- source: "query",
26044
- type: "number",
26085
+ name: "raw-body",
26086
+ cliName: "raw-body",
26087
+ optionKey: "rawBody",
26088
+ source: "body",
26089
+ type: "object",
26045
26090
  required: false,
26046
- description: "Page number (default 1)"
26091
+ description: "Raw request body JSON (overrides individual fields)"
26047
26092
  }
26048
26093
  ],
26049
- hasRequestBody: false
26094
+ hasRequestBody: true
26050
26095
  },
26051
26096
  {
26052
- operationId: "PublicApiExtensionRunsController_ingestEvent",
26053
- displayName: "Write an agent run event",
26054
- description: "Used by an external agent to report progress, action-required, completed, failed, heartbeat, or message events for an existing run.",
26097
+ operationId: "PublicApiWebhookV2Controller_registerStage",
26098
+ displayName: "Register a stage webhook",
26099
+ description: "Register a stage webhook",
26055
26100
  method: "POST",
26056
- path: "/extension-runs/{runId}/events",
26057
- commandPath: ["agents", "ingest-event"],
26101
+ path: "/webhooks/stages",
26102
+ commandPath: ["webhooks", "register-stage"],
26058
26103
  options: [
26059
26104
  {
26060
- name: "runId",
26061
- cliName: "run-id",
26062
- optionKey: "runId",
26063
- source: "path",
26105
+ name: "name",
26106
+ cliName: "name",
26107
+ optionKey: "name",
26108
+ source: "body",
26064
26109
  type: "string",
26065
26110
  required: true,
26066
- description: "run ID"
26111
+ description: "Display name"
26067
26112
  },
26068
26113
  {
26069
- name: "eventId",
26070
- cliName: "event-id",
26071
- optionKey: "eventId",
26114
+ name: "url",
26115
+ cliName: "url",
26116
+ optionKey: "url",
26072
26117
  source: "body",
26073
26118
  type: "string",
26074
26119
  required: true,
26075
- description: "Idempotent event identifier for this callback event"
26120
+ description: "Webhook callback URL",
26121
+ format: "uri"
26076
26122
  },
26077
26123
  {
26078
- name: "eventType",
26079
- cliName: "event-type",
26080
- optionKey: "eventType",
26124
+ name: "events",
26125
+ cliName: "events",
26126
+ optionKey: "events",
26081
26127
  source: "body",
26082
- type: "string",
26128
+ type: "array",
26083
26129
  required: true,
26084
- description: "Lifecycle event being reported for the run",
26085
- enumValues: [
26086
- "message",
26087
- "progress",
26088
- "action_required",
26089
- "action_resolved",
26090
- "completed",
26091
- "failed",
26092
- "heartbeat",
26093
- "waiting",
26094
- "resume_requested"
26095
- ]
26130
+ description: "Event names to subscribe to"
26096
26131
  },
26097
26132
  {
26098
- name: "sequence",
26099
- cliName: "sequence",
26100
- optionKey: "sequence",
26133
+ name: "filters",
26134
+ cliName: "filters",
26135
+ optionKey: "filters",
26101
26136
  source: "body",
26102
- type: "number",
26137
+ type: "object",
26103
26138
  required: false,
26104
- description: "Optional monotonically increasing sequence number from the agent"
26139
+ description: ""
26105
26140
  },
26106
26141
  {
26107
- name: "payload",
26142
+ name: "businessHours",
26143
+ cliName: "business-hours",
26144
+ optionKey: "businessHours",
26145
+ source: "body",
26146
+ type: "object",
26147
+ required: false,
26148
+ description: ""
26149
+ },
26150
+ {
26151
+ name: "workflow",
26152
+ cliName: "workflow",
26153
+ optionKey: "workflow",
26154
+ source: "body",
26155
+ type: "object",
26156
+ required: false,
26157
+ description: ""
26158
+ },
26159
+ {
26160
+ name: "raw-body",
26161
+ cliName: "raw-body",
26162
+ optionKey: "rawBody",
26163
+ source: "body",
26164
+ type: "object",
26165
+ required: false,
26166
+ description: "Raw request body JSON (overrides individual fields)"
26167
+ }
26168
+ ],
26169
+ hasRequestBody: true
26170
+ },
26171
+ {
26172
+ operationId: "PublicApiWebhookV2Controller_registerActivity",
26173
+ displayName: "Register a activity webhook",
26174
+ description: "Register a activity webhook",
26175
+ method: "POST",
26176
+ path: "/webhooks/activities",
26177
+ commandPath: ["webhooks", "register-activity"],
26178
+ options: [
26179
+ {
26180
+ name: "name",
26181
+ cliName: "name",
26182
+ optionKey: "name",
26183
+ source: "body",
26184
+ type: "string",
26185
+ required: true,
26186
+ description: "Display name"
26187
+ },
26188
+ {
26189
+ name: "url",
26190
+ cliName: "url",
26191
+ optionKey: "url",
26192
+ source: "body",
26193
+ type: "string",
26194
+ required: true,
26195
+ description: "Webhook callback URL",
26196
+ format: "uri"
26197
+ },
26198
+ {
26199
+ name: "events",
26200
+ cliName: "events",
26201
+ optionKey: "events",
26202
+ source: "body",
26203
+ type: "array",
26204
+ required: true,
26205
+ description: "Event names to subscribe to"
26206
+ },
26207
+ {
26208
+ name: "filters",
26209
+ cliName: "filters",
26210
+ optionKey: "filters",
26211
+ source: "body",
26212
+ type: "object",
26213
+ required: false,
26214
+ description: ""
26215
+ },
26216
+ {
26217
+ name: "businessHours",
26218
+ cliName: "business-hours",
26219
+ optionKey: "businessHours",
26220
+ source: "body",
26221
+ type: "object",
26222
+ required: false,
26223
+ description: ""
26224
+ },
26225
+ {
26226
+ name: "workflow",
26227
+ cliName: "workflow",
26228
+ optionKey: "workflow",
26229
+ source: "body",
26230
+ type: "object",
26231
+ required: false,
26232
+ description: ""
26233
+ },
26234
+ {
26235
+ name: "raw-body",
26236
+ cliName: "raw-body",
26237
+ optionKey: "rawBody",
26238
+ source: "body",
26239
+ type: "object",
26240
+ required: false,
26241
+ description: "Raw request body JSON (overrides individual fields)"
26242
+ }
26243
+ ],
26244
+ hasRequestBody: true
26245
+ },
26246
+ {
26247
+ operationId: "PublicApiWebhookV2Controller_registerInvoice",
26248
+ displayName: "Register a invoice webhook",
26249
+ description: "Register a invoice webhook",
26250
+ method: "POST",
26251
+ path: "/webhooks/invoices",
26252
+ commandPath: ["webhooks", "register-invoice"],
26253
+ options: [
26254
+ {
26255
+ name: "name",
26256
+ cliName: "name",
26257
+ optionKey: "name",
26258
+ source: "body",
26259
+ type: "string",
26260
+ required: true,
26261
+ description: "Display name"
26262
+ },
26263
+ {
26264
+ name: "url",
26265
+ cliName: "url",
26266
+ optionKey: "url",
26267
+ source: "body",
26268
+ type: "string",
26269
+ required: true,
26270
+ description: "Webhook callback URL",
26271
+ format: "uri"
26272
+ },
26273
+ {
26274
+ name: "events",
26275
+ cliName: "events",
26276
+ optionKey: "events",
26277
+ source: "body",
26278
+ type: "array",
26279
+ required: true,
26280
+ description: "Event names to subscribe to"
26281
+ },
26282
+ {
26283
+ name: "filters",
26284
+ cliName: "filters",
26285
+ optionKey: "filters",
26286
+ source: "body",
26287
+ type: "object",
26288
+ required: false,
26289
+ description: ""
26290
+ },
26291
+ {
26292
+ name: "businessHours",
26293
+ cliName: "business-hours",
26294
+ optionKey: "businessHours",
26295
+ source: "body",
26296
+ type: "object",
26297
+ required: false,
26298
+ description: ""
26299
+ },
26300
+ {
26301
+ name: "workflow",
26302
+ cliName: "workflow",
26303
+ optionKey: "workflow",
26304
+ source: "body",
26305
+ type: "object",
26306
+ required: false,
26307
+ description: ""
26308
+ },
26309
+ {
26310
+ name: "raw-body",
26311
+ cliName: "raw-body",
26312
+ optionKey: "rawBody",
26313
+ source: "body",
26314
+ type: "object",
26315
+ required: false,
26316
+ description: "Raw request body JSON (overrides individual fields)"
26317
+ }
26318
+ ],
26319
+ hasRequestBody: true
26320
+ },
26321
+ {
26322
+ operationId: "PublicApiWebhookV2Controller_registerBill",
26323
+ displayName: "Register a bill webhook",
26324
+ description: "Register a bill webhook",
26325
+ method: "POST",
26326
+ path: "/webhooks/bills",
26327
+ commandPath: ["webhooks", "register-bill"],
26328
+ options: [
26329
+ {
26330
+ name: "name",
26331
+ cliName: "name",
26332
+ optionKey: "name",
26333
+ source: "body",
26334
+ type: "string",
26335
+ required: true,
26336
+ description: "Display name"
26337
+ },
26338
+ {
26339
+ name: "url",
26340
+ cliName: "url",
26341
+ optionKey: "url",
26342
+ source: "body",
26343
+ type: "string",
26344
+ required: true,
26345
+ description: "Webhook callback URL",
26346
+ format: "uri"
26347
+ },
26348
+ {
26349
+ name: "events",
26350
+ cliName: "events",
26351
+ optionKey: "events",
26352
+ source: "body",
26353
+ type: "array",
26354
+ required: true,
26355
+ description: "Event names to subscribe to"
26356
+ },
26357
+ {
26358
+ name: "filters",
26359
+ cliName: "filters",
26360
+ optionKey: "filters",
26361
+ source: "body",
26362
+ type: "object",
26363
+ required: false,
26364
+ description: ""
26365
+ },
26366
+ {
26367
+ name: "businessHours",
26368
+ cliName: "business-hours",
26369
+ optionKey: "businessHours",
26370
+ source: "body",
26371
+ type: "object",
26372
+ required: false,
26373
+ description: ""
26374
+ },
26375
+ {
26376
+ name: "workflow",
26377
+ cliName: "workflow",
26378
+ optionKey: "workflow",
26379
+ source: "body",
26380
+ type: "object",
26381
+ required: false,
26382
+ description: ""
26383
+ },
26384
+ {
26385
+ name: "raw-body",
26386
+ cliName: "raw-body",
26387
+ optionKey: "rawBody",
26388
+ source: "body",
26389
+ type: "object",
26390
+ required: false,
26391
+ description: "Raw request body JSON (overrides individual fields)"
26392
+ }
26393
+ ],
26394
+ hasRequestBody: true
26395
+ },
26396
+ {
26397
+ operationId: "PublicApiWebhookV2Controller_registerQuote",
26398
+ displayName: "Register a quote webhook",
26399
+ description: "Register a quote webhook",
26400
+ method: "POST",
26401
+ path: "/webhooks/quotes",
26402
+ commandPath: ["webhooks", "register-quote"],
26403
+ options: [
26404
+ {
26405
+ name: "name",
26406
+ cliName: "name",
26407
+ optionKey: "name",
26408
+ source: "body",
26409
+ type: "string",
26410
+ required: true,
26411
+ description: "Display name"
26412
+ },
26413
+ {
26414
+ name: "url",
26415
+ cliName: "url",
26416
+ optionKey: "url",
26417
+ source: "body",
26418
+ type: "string",
26419
+ required: true,
26420
+ description: "Webhook callback URL",
26421
+ format: "uri"
26422
+ },
26423
+ {
26424
+ name: "events",
26425
+ cliName: "events",
26426
+ optionKey: "events",
26427
+ source: "body",
26428
+ type: "array",
26429
+ required: true,
26430
+ description: "Event names to subscribe to"
26431
+ },
26432
+ {
26433
+ name: "filters",
26434
+ cliName: "filters",
26435
+ optionKey: "filters",
26436
+ source: "body",
26437
+ type: "object",
26438
+ required: false,
26439
+ description: ""
26440
+ },
26441
+ {
26442
+ name: "businessHours",
26443
+ cliName: "business-hours",
26444
+ optionKey: "businessHours",
26445
+ source: "body",
26446
+ type: "object",
26447
+ required: false,
26448
+ description: ""
26449
+ },
26450
+ {
26451
+ name: "workflow",
26452
+ cliName: "workflow",
26453
+ optionKey: "workflow",
26454
+ source: "body",
26455
+ type: "object",
26456
+ required: false,
26457
+ description: ""
26458
+ },
26459
+ {
26460
+ name: "raw-body",
26461
+ cliName: "raw-body",
26462
+ optionKey: "rawBody",
26463
+ source: "body",
26464
+ type: "object",
26465
+ required: false,
26466
+ description: "Raw request body JSON (overrides individual fields)"
26467
+ }
26468
+ ],
26469
+ hasRequestBody: true
26470
+ },
26471
+ {
26472
+ operationId: "PublicApiWebhookV2Controller_registerOpportunity",
26473
+ displayName: "Register a opportunity webhook",
26474
+ description: "Register a opportunity webhook",
26475
+ method: "POST",
26476
+ path: "/webhooks/opportunities",
26477
+ commandPath: ["webhooks", "register-opportunity"],
26478
+ options: [
26479
+ {
26480
+ name: "name",
26481
+ cliName: "name",
26482
+ optionKey: "name",
26483
+ source: "body",
26484
+ type: "string",
26485
+ required: true,
26486
+ description: "Display name"
26487
+ },
26488
+ {
26489
+ name: "url",
26490
+ cliName: "url",
26491
+ optionKey: "url",
26492
+ source: "body",
26493
+ type: "string",
26494
+ required: true,
26495
+ description: "Webhook callback URL",
26496
+ format: "uri"
26497
+ },
26498
+ {
26499
+ name: "events",
26500
+ cliName: "events",
26501
+ optionKey: "events",
26502
+ source: "body",
26503
+ type: "array",
26504
+ required: true,
26505
+ description: "Event names to subscribe to"
26506
+ },
26507
+ {
26508
+ name: "filters",
26509
+ cliName: "filters",
26510
+ optionKey: "filters",
26511
+ source: "body",
26512
+ type: "object",
26513
+ required: false,
26514
+ description: ""
26515
+ },
26516
+ {
26517
+ name: "businessHours",
26518
+ cliName: "business-hours",
26519
+ optionKey: "businessHours",
26520
+ source: "body",
26521
+ type: "object",
26522
+ required: false,
26523
+ description: ""
26524
+ },
26525
+ {
26526
+ name: "workflow",
26527
+ cliName: "workflow",
26528
+ optionKey: "workflow",
26529
+ source: "body",
26530
+ type: "object",
26531
+ required: false,
26532
+ description: ""
26533
+ },
26534
+ {
26535
+ name: "raw-body",
26536
+ cliName: "raw-body",
26537
+ optionKey: "rawBody",
26538
+ source: "body",
26539
+ type: "object",
26540
+ required: false,
26541
+ description: "Raw request body JSON (overrides individual fields)"
26542
+ }
26543
+ ],
26544
+ hasRequestBody: true
26545
+ },
26546
+ {
26547
+ operationId: "PublicApiWebhookV2Controller_registerLead",
26548
+ displayName: "Register a lead webhook",
26549
+ description: "Register a lead webhook",
26550
+ method: "POST",
26551
+ path: "/webhooks/leads",
26552
+ commandPath: ["webhooks", "register-lead"],
26553
+ options: [
26554
+ {
26555
+ name: "name",
26556
+ cliName: "name",
26557
+ optionKey: "name",
26558
+ source: "body",
26559
+ type: "string",
26560
+ required: true,
26561
+ description: "Display name"
26562
+ },
26563
+ {
26564
+ name: "url",
26565
+ cliName: "url",
26566
+ optionKey: "url",
26567
+ source: "body",
26568
+ type: "string",
26569
+ required: true,
26570
+ description: "Webhook callback URL",
26571
+ format: "uri"
26572
+ },
26573
+ {
26574
+ name: "events",
26575
+ cliName: "events",
26576
+ optionKey: "events",
26577
+ source: "body",
26578
+ type: "array",
26579
+ required: true,
26580
+ description: "Event names to subscribe to"
26581
+ },
26582
+ {
26583
+ name: "filters",
26584
+ cliName: "filters",
26585
+ optionKey: "filters",
26586
+ source: "body",
26587
+ type: "object",
26588
+ required: false,
26589
+ description: ""
26590
+ },
26591
+ {
26592
+ name: "businessHours",
26593
+ cliName: "business-hours",
26594
+ optionKey: "businessHours",
26595
+ source: "body",
26596
+ type: "object",
26597
+ required: false,
26598
+ description: ""
26599
+ },
26600
+ {
26601
+ name: "workflow",
26602
+ cliName: "workflow",
26603
+ optionKey: "workflow",
26604
+ source: "body",
26605
+ type: "object",
26606
+ required: false,
26607
+ description: ""
26608
+ },
26609
+ {
26610
+ name: "raw-body",
26611
+ cliName: "raw-body",
26612
+ optionKey: "rawBody",
26613
+ source: "body",
26614
+ type: "object",
26615
+ required: false,
26616
+ description: "Raw request body JSON (overrides individual fields)"
26617
+ }
26618
+ ],
26619
+ hasRequestBody: true
26620
+ },
26621
+ {
26622
+ operationId: "PublicApiWebhookV2Controller_registerTask",
26623
+ displayName: "Register a task webhook",
26624
+ description: "Register a task webhook",
26625
+ method: "POST",
26626
+ path: "/webhooks/tasks",
26627
+ commandPath: ["webhooks", "register-task"],
26628
+ options: [
26629
+ {
26630
+ name: "name",
26631
+ cliName: "name",
26632
+ optionKey: "name",
26633
+ source: "body",
26634
+ type: "string",
26635
+ required: true,
26636
+ description: "Display name"
26637
+ },
26638
+ {
26639
+ name: "url",
26640
+ cliName: "url",
26641
+ optionKey: "url",
26642
+ source: "body",
26643
+ type: "string",
26644
+ required: true,
26645
+ description: "Webhook callback URL",
26646
+ format: "uri"
26647
+ },
26648
+ {
26649
+ name: "events",
26650
+ cliName: "events",
26651
+ optionKey: "events",
26652
+ source: "body",
26653
+ type: "array",
26654
+ required: true,
26655
+ description: "Event names to subscribe to"
26656
+ },
26657
+ {
26658
+ name: "filters",
26659
+ cliName: "filters",
26660
+ optionKey: "filters",
26661
+ source: "body",
26662
+ type: "object",
26663
+ required: false,
26664
+ description: ""
26665
+ },
26666
+ {
26667
+ name: "businessHours",
26668
+ cliName: "business-hours",
26669
+ optionKey: "businessHours",
26670
+ source: "body",
26671
+ type: "object",
26672
+ required: false,
26673
+ description: ""
26674
+ },
26675
+ {
26676
+ name: "workflow",
26677
+ cliName: "workflow",
26678
+ optionKey: "workflow",
26679
+ source: "body",
26680
+ type: "object",
26681
+ required: false,
26682
+ description: ""
26683
+ },
26684
+ {
26685
+ name: "raw-body",
26686
+ cliName: "raw-body",
26687
+ optionKey: "rawBody",
26688
+ source: "body",
26689
+ type: "object",
26690
+ required: false,
26691
+ description: "Raw request body JSON (overrides individual fields)"
26692
+ }
26693
+ ],
26694
+ hasRequestBody: true
26695
+ },
26696
+ {
26697
+ operationId: "PublicApiWebhookV2Controller_regenerateSecret",
26698
+ displayName: "Regenerate the signing secret for a webhook subscription",
26699
+ description: "Regenerate the signing secret for a webhook subscription",
26700
+ method: "POST",
26701
+ path: "/webhooks/{id}/regenerate-secret",
26702
+ commandPath: ["webhooks", "regenerate-secret"],
26703
+ options: [
26704
+ {
26705
+ name: "id",
26706
+ cliName: "id",
26707
+ optionKey: "id",
26708
+ source: "path",
26709
+ type: "string",
26710
+ required: true,
26711
+ description: "Entity ID"
26712
+ }
26713
+ ],
26714
+ hasRequestBody: false
26715
+ },
26716
+ {
26717
+ operationId: "PublicApiWebhookV2Controller_test",
26718
+ displayName: "Queue a signed webhook.test event for this subscription",
26719
+ description: "Queue a signed webhook.test event for this subscription",
26720
+ method: "POST",
26721
+ path: "/webhooks/{id}/test",
26722
+ commandPath: ["webhooks", "test"],
26723
+ options: [
26724
+ {
26725
+ name: "id",
26726
+ cliName: "id",
26727
+ optionKey: "id",
26728
+ source: "path",
26729
+ type: "string",
26730
+ required: true,
26731
+ description: "Entity ID"
26732
+ }
26733
+ ],
26734
+ hasRequestBody: false
26735
+ },
26736
+ {
26737
+ operationId: "PublicApiWebhookV2Controller_listDeliveries",
26738
+ displayName: "List recent delivery attempts for a webhook subscription",
26739
+ description: "List recent delivery attempts for a webhook subscription",
26740
+ method: "GET",
26741
+ path: "/webhooks/{id}/deliveries",
26742
+ commandPath: ["webhooks", "deliveries", "list"],
26743
+ options: [
26744
+ {
26745
+ name: "id",
26746
+ cliName: "id",
26747
+ optionKey: "id",
26748
+ source: "path",
26749
+ type: "string",
26750
+ required: true,
26751
+ description: "Entity ID"
26752
+ }
26753
+ ],
26754
+ hasRequestBody: false
26755
+ },
26756
+ {
26757
+ operationId: "PublicExportController_export",
26758
+ displayName: "Export entity data",
26759
+ description: "Bulk export data from a MongoDB view. Returns raw view documents with pagination. Financial fields are stripped unless the token has the jobs:financial scope.",
26760
+ method: "GET",
26761
+ path: "/exports/{entity}",
26762
+ commandPath: ["exports", "get"],
26763
+ options: [
26764
+ {
26765
+ name: "entity",
26766
+ cliName: "entity",
26767
+ optionKey: "entity",
26768
+ source: "path",
26769
+ type: "string",
26770
+ required: true,
26771
+ description: "Entity name to export",
26772
+ enumValues: [
26773
+ "jobs",
26774
+ "stages",
26775
+ "timesheets",
26776
+ "assets",
26777
+ "tasks",
26778
+ "quotes_pro",
26779
+ "job-activities",
26780
+ "managed_sites",
26781
+ "allocations_x",
26782
+ "services",
26783
+ "customers",
26784
+ "invoices",
26785
+ "asset_job_links"
26786
+ ]
26787
+ },
26788
+ {
26789
+ name: "lastModifiedOn",
26790
+ cliName: "last-modified-on",
26791
+ optionKey: "lastModifiedOn",
26792
+ source: "query",
26793
+ type: "string",
26794
+ required: false,
26795
+ description: "ISO date — only return records modified on or after this date"
26796
+ },
26797
+ {
26798
+ name: "pageSize",
26799
+ cliName: "page-size",
26800
+ optionKey: "pageSize",
26801
+ source: "query",
26802
+ type: "number",
26803
+ required: false,
26804
+ description: "Page size 1-500 (default 500)"
26805
+ },
26806
+ {
26807
+ name: "page",
26808
+ cliName: "page",
26809
+ optionKey: "page",
26810
+ source: "query",
26811
+ type: "number",
26812
+ required: false,
26813
+ description: "Page number (default 1)"
26814
+ }
26815
+ ],
26816
+ hasRequestBody: false
26817
+ },
26818
+ {
26819
+ operationId: "PublicApiExtensionRunsController_ingestEvent",
26820
+ displayName: "Write an agent run event",
26821
+ description: "Used by an external agent to report progress, action-required, completed, failed, heartbeat, or message events for an existing run.",
26822
+ method: "POST",
26823
+ path: "/extension-runs/{runId}/events",
26824
+ commandPath: ["agents", "ingest-event"],
26825
+ options: [
26826
+ {
26827
+ name: "runId",
26828
+ cliName: "run-id",
26829
+ optionKey: "runId",
26830
+ source: "path",
26831
+ type: "string",
26832
+ required: true,
26833
+ description: "run ID"
26834
+ },
26835
+ {
26836
+ name: "eventId",
26837
+ cliName: "event-id",
26838
+ optionKey: "eventId",
26839
+ source: "body",
26840
+ type: "string",
26841
+ required: true,
26842
+ description: "Idempotent event identifier for this callback event"
26843
+ },
26844
+ {
26845
+ name: "eventType",
26846
+ cliName: "event-type",
26847
+ optionKey: "eventType",
26848
+ source: "body",
26849
+ type: "string",
26850
+ required: true,
26851
+ description: "Lifecycle event being reported for the run",
26852
+ enumValues: [
26853
+ "message",
26854
+ "progress",
26855
+ "action_required",
26856
+ "action_resolved",
26857
+ "completed",
26858
+ "failed",
26859
+ "heartbeat",
26860
+ "waiting",
26861
+ "resume_requested"
26862
+ ]
26863
+ },
26864
+ {
26865
+ name: "sequence",
26866
+ cliName: "sequence",
26867
+ optionKey: "sequence",
26868
+ source: "body",
26869
+ type: "number",
26870
+ required: false,
26871
+ description: "Optional monotonically increasing sequence number from the agent"
26872
+ },
26873
+ {
26874
+ name: "payload",
26108
26875
  cliName: "payload",
26109
26876
  optionKey: "payload",
26110
26877
  source: "body",
@@ -31309,6 +32076,10 @@ Requires scope: settings:read`,
31309
32076
  name: "kind",
31310
32077
  type: "string"
31311
32078
  },
32079
+ {
32080
+ name: "parent",
32081
+ type: "string"
32082
+ },
31312
32083
  {
31313
32084
  name: "body",
31314
32085
  type: "string",
@@ -31473,6 +32244,10 @@ Requires scope: settings:read`,
31473
32244
  name: "kind",
31474
32245
  type: "string"
31475
32246
  },
32247
+ {
32248
+ name: "parent",
32249
+ type: "string"
32250
+ },
31476
32251
  {
31477
32252
  name: "body",
31478
32253
  type: "string",
@@ -31645,6 +32420,10 @@ Requires scope: settings:read`,
31645
32420
  name: "kind",
31646
32421
  type: "string"
31647
32422
  },
32423
+ {
32424
+ name: "parent",
32425
+ type: "string"
32426
+ },
31648
32427
  {
31649
32428
  name: "body",
31650
32429
  type: "string",
@@ -31772,6 +32551,10 @@ Requires scope: settings:read`,
31772
32551
  name: "kind",
31773
32552
  type: "string"
31774
32553
  },
32554
+ {
32555
+ name: "parent",
32556
+ type: "string"
32557
+ },
31775
32558
  {
31776
32559
  name: "body",
31777
32560
  type: "string",
@@ -32212,6 +32995,10 @@ Requires scope: settings:read`,
32212
32995
  name: "kind",
32213
32996
  type: "string"
32214
32997
  },
32998
+ {
32999
+ name: "parent",
33000
+ type: "string"
33001
+ },
32215
33002
  {
32216
33003
  name: "body",
32217
33004
  type: "string",
@@ -32310,6 +33097,10 @@ Requires scope: settings:read`,
32310
33097
  name: "kind",
32311
33098
  type: "string"
32312
33099
  },
33100
+ {
33101
+ name: "parent",
33102
+ type: "string"
33103
+ },
32313
33104
  {
32314
33105
  name: "body",
32315
33106
  type: "string",
@@ -32408,6 +33199,10 @@ Requires scope: settings:read`,
32408
33199
  name: "kind",
32409
33200
  type: "string"
32410
33201
  },
33202
+ {
33203
+ name: "parent",
33204
+ type: "string"
33205
+ },
32411
33206
  {
32412
33207
  name: "body",
32413
33208
  type: "string",
@@ -32834,6 +33629,15 @@ Requires scope: settings:read`,
32834
33629
  type: "string",
32835
33630
  description: "Entity ID"
32836
33631
  },
33632
+ {
33633
+ name: "kind",
33634
+ type: "string",
33635
+ description: "Present for File activities; task evidence can also appear in File lists."
33636
+ },
33637
+ {
33638
+ name: "parent",
33639
+ type: "string"
33640
+ },
32837
33641
  {
32838
33642
  name: "title",
32839
33643
  type: "string"
@@ -32901,6 +33705,15 @@ Requires scope: settings:read`,
32901
33705
  type: "string",
32902
33706
  description: "Entity ID"
32903
33707
  },
33708
+ {
33709
+ name: "kind",
33710
+ type: "string",
33711
+ description: "Present for File activities; task evidence can also appear in File lists."
33712
+ },
33713
+ {
33714
+ name: "parent",
33715
+ type: "string"
33716
+ },
32904
33717
  {
32905
33718
  name: "title",
32906
33719
  type: "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/cli-vnext",
3
- "version": "1.0.164",
3
+ "version": "1.0.166",
4
4
  "description": "WorkBuddy command line interface",
5
5
  "license": "MIT",
6
6
  "type": "module",