@workbuddy/cli-vnext 1.0.87 → 1.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1289 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -33,7 +35,7 @@ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports,
|
|
|
33
35
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
34
36
|
|
|
35
37
|
// node_modules/commander/lib/error.js
|
|
36
|
-
var require_error = __commonJS((exports)
|
|
38
|
+
var require_error = __commonJS(function(exports) {
|
|
37
39
|
class CommanderError extends Error {
|
|
38
40
|
constructor(exitCode, code, message) {
|
|
39
41
|
super(message);
|
|
@@ -57,7 +59,7 @@ var require_error = __commonJS((exports) => {
|
|
|
57
59
|
});
|
|
58
60
|
|
|
59
61
|
// node_modules/commander/lib/argument.js
|
|
60
|
-
var require_argument = __commonJS((exports)
|
|
62
|
+
var require_argument = __commonJS(function(exports) {
|
|
61
63
|
var { InvalidArgumentError } = require_error();
|
|
62
64
|
|
|
63
65
|
class Argument {
|
|
@@ -137,7 +139,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
137
139
|
});
|
|
138
140
|
|
|
139
141
|
// node_modules/commander/lib/help.js
|
|
140
|
-
var require_help = __commonJS((exports)
|
|
142
|
+
var require_help = __commonJS(function(exports) {
|
|
141
143
|
var { humanReadableArgName } = require_argument();
|
|
142
144
|
|
|
143
145
|
class Help {
|
|
@@ -494,7 +496,7 @@ ${itemIndentStr}`);
|
|
|
494
496
|
});
|
|
495
497
|
|
|
496
498
|
// node_modules/commander/lib/option.js
|
|
497
|
-
var require_option = __commonJS((exports)
|
|
499
|
+
var require_option = __commonJS(function(exports) {
|
|
498
500
|
var { InvalidArgumentError } = require_error();
|
|
499
501
|
|
|
500
502
|
class Option {
|
|
@@ -678,7 +680,7 @@ var require_option = __commonJS((exports) => {
|
|
|
678
680
|
});
|
|
679
681
|
|
|
680
682
|
// node_modules/commander/lib/suggestSimilar.js
|
|
681
|
-
var require_suggestSimilar = __commonJS((exports)
|
|
683
|
+
var require_suggestSimilar = __commonJS(function(exports) {
|
|
682
684
|
var maxDistance = 3;
|
|
683
685
|
function editDistance(a, b) {
|
|
684
686
|
if (Math.abs(a.length - b.length) > maxDistance)
|
|
@@ -751,7 +753,7 @@ var require_suggestSimilar = __commonJS((exports) => {
|
|
|
751
753
|
});
|
|
752
754
|
|
|
753
755
|
// node_modules/commander/lib/command.js
|
|
754
|
-
var require_command = __commonJS((exports)
|
|
756
|
+
var require_command = __commonJS(function(exports) {
|
|
755
757
|
var EventEmitter = __require("node:events").EventEmitter;
|
|
756
758
|
var childProcess = __require("node:child_process");
|
|
757
759
|
var path = __require("node:path");
|
|
@@ -2106,7 +2108,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2106
2108
|
});
|
|
2107
2109
|
|
|
2108
2110
|
// node_modules/commander/index.js
|
|
2109
|
-
var require_commander = __commonJS((exports)
|
|
2111
|
+
var require_commander = __commonJS(function(exports) {
|
|
2110
2112
|
var { Argument } = require_argument();
|
|
2111
2113
|
var { Command } = require_command();
|
|
2112
2114
|
var { CommanderError, InvalidArgumentError } = require_error();
|
|
@@ -12513,6 +12515,15 @@ Requires scope: settings:read`,
|
|
|
12513
12515
|
required: false,
|
|
12514
12516
|
description: ""
|
|
12515
12517
|
},
|
|
12518
|
+
{
|
|
12519
|
+
name: "primaryContact",
|
|
12520
|
+
cliName: "primary-contact",
|
|
12521
|
+
optionKey: "primaryContact",
|
|
12522
|
+
source: "body",
|
|
12523
|
+
type: "object",
|
|
12524
|
+
required: false,
|
|
12525
|
+
description: ""
|
|
12526
|
+
},
|
|
12516
12527
|
{
|
|
12517
12528
|
name: "primarySite",
|
|
12518
12529
|
cliName: "primary-site",
|
|
@@ -13372,6 +13383,15 @@ Requires scope: settings:read`,
|
|
|
13372
13383
|
required: false,
|
|
13373
13384
|
description: ""
|
|
13374
13385
|
},
|
|
13386
|
+
{
|
|
13387
|
+
name: "primaryContact",
|
|
13388
|
+
cliName: "primary-contact",
|
|
13389
|
+
optionKey: "primaryContact",
|
|
13390
|
+
source: "body",
|
|
13391
|
+
type: "object",
|
|
13392
|
+
required: false,
|
|
13393
|
+
description: ""
|
|
13394
|
+
},
|
|
13375
13395
|
{
|
|
13376
13396
|
name: "primarySite",
|
|
13377
13397
|
cliName: "primary-site",
|
|
@@ -14185,6 +14205,15 @@ Requires scope: settings:read`,
|
|
|
14185
14205
|
required: false,
|
|
14186
14206
|
description: ""
|
|
14187
14207
|
},
|
|
14208
|
+
{
|
|
14209
|
+
name: "primaryContact",
|
|
14210
|
+
cliName: "primary-contact",
|
|
14211
|
+
optionKey: "primaryContact",
|
|
14212
|
+
source: "body",
|
|
14213
|
+
type: "object",
|
|
14214
|
+
required: false,
|
|
14215
|
+
description: ""
|
|
14216
|
+
},
|
|
14188
14217
|
{
|
|
14189
14218
|
name: "primarySite",
|
|
14190
14219
|
cliName: "primary-site",
|
|
@@ -15535,6 +15564,1253 @@ Requires scope: settings:read`,
|
|
|
15535
15564
|
}
|
|
15536
15565
|
]
|
|
15537
15566
|
},
|
|
15567
|
+
{
|
|
15568
|
+
operationId: "PublicServicePlanController_create",
|
|
15569
|
+
displayName: "Create a Service Plan",
|
|
15570
|
+
description: "Creates only the Service Plan contract header. Lines and Tasks are added through their nested endpoints.",
|
|
15571
|
+
method: "POST",
|
|
15572
|
+
path: "/service-plans",
|
|
15573
|
+
commandPath: ["service", "plans", "create"],
|
|
15574
|
+
options: [
|
|
15575
|
+
{
|
|
15576
|
+
name: "integrationId",
|
|
15577
|
+
cliName: "integration-id",
|
|
15578
|
+
optionKey: "integrationId",
|
|
15579
|
+
source: "body",
|
|
15580
|
+
type: "string",
|
|
15581
|
+
required: true,
|
|
15582
|
+
description: "integration ID"
|
|
15583
|
+
},
|
|
15584
|
+
{
|
|
15585
|
+
name: "name",
|
|
15586
|
+
cliName: "name",
|
|
15587
|
+
optionKey: "name",
|
|
15588
|
+
source: "body",
|
|
15589
|
+
type: "string",
|
|
15590
|
+
required: true,
|
|
15591
|
+
description: "Display name"
|
|
15592
|
+
},
|
|
15593
|
+
{
|
|
15594
|
+
name: "customerId",
|
|
15595
|
+
cliName: "customer-id",
|
|
15596
|
+
optionKey: "customerId",
|
|
15597
|
+
source: "body",
|
|
15598
|
+
type: "string",
|
|
15599
|
+
required: true,
|
|
15600
|
+
description: "Customer ID — use /crm/customers to look up",
|
|
15601
|
+
lookupEndpoint: "/crm/customers"
|
|
15602
|
+
},
|
|
15603
|
+
{
|
|
15604
|
+
name: "siteId",
|
|
15605
|
+
cliName: "site-id",
|
|
15606
|
+
optionKey: "siteId",
|
|
15607
|
+
source: "body",
|
|
15608
|
+
type: "string",
|
|
15609
|
+
required: true,
|
|
15610
|
+
description: "Site ID — use /crm/sites to look up",
|
|
15611
|
+
lookupEndpoint: "/crm/sites"
|
|
15612
|
+
},
|
|
15613
|
+
{
|
|
15614
|
+
name: "serviceTypeId",
|
|
15615
|
+
cliName: "service-type-id",
|
|
15616
|
+
optionKey: "serviceTypeId",
|
|
15617
|
+
source: "body",
|
|
15618
|
+
type: "string",
|
|
15619
|
+
required: true,
|
|
15620
|
+
description: "service type ID"
|
|
15621
|
+
},
|
|
15622
|
+
{
|
|
15623
|
+
name: "serviceScopeId",
|
|
15624
|
+
cliName: "service-scope-id",
|
|
15625
|
+
optionKey: "serviceScopeId",
|
|
15626
|
+
source: "body",
|
|
15627
|
+
type: "string",
|
|
15628
|
+
required: true,
|
|
15629
|
+
description: "service scope ID"
|
|
15630
|
+
},
|
|
15631
|
+
{
|
|
15632
|
+
name: "dateStart",
|
|
15633
|
+
cliName: "date-start",
|
|
15634
|
+
optionKey: "dateStart",
|
|
15635
|
+
source: "body",
|
|
15636
|
+
type: "string",
|
|
15637
|
+
required: true,
|
|
15638
|
+
description: ""
|
|
15639
|
+
},
|
|
15640
|
+
{
|
|
15641
|
+
name: "dateEnd",
|
|
15642
|
+
cliName: "date-end",
|
|
15643
|
+
optionKey: "dateEnd",
|
|
15644
|
+
source: "body",
|
|
15645
|
+
type: "string",
|
|
15646
|
+
required: false,
|
|
15647
|
+
description: ""
|
|
15648
|
+
},
|
|
15649
|
+
{
|
|
15650
|
+
name: "workingDays",
|
|
15651
|
+
cliName: "working-days",
|
|
15652
|
+
optionKey: "workingDays",
|
|
15653
|
+
source: "body",
|
|
15654
|
+
type: "array",
|
|
15655
|
+
required: false,
|
|
15656
|
+
description: ""
|
|
15657
|
+
},
|
|
15658
|
+
{
|
|
15659
|
+
name: "raw-body",
|
|
15660
|
+
cliName: "raw-body",
|
|
15661
|
+
optionKey: "rawBody",
|
|
15662
|
+
source: "body",
|
|
15663
|
+
type: "object",
|
|
15664
|
+
required: false,
|
|
15665
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
15666
|
+
}
|
|
15667
|
+
],
|
|
15668
|
+
hasRequestBody: true,
|
|
15669
|
+
responseFields: [
|
|
15670
|
+
{
|
|
15671
|
+
name: "data",
|
|
15672
|
+
type: "object"
|
|
15673
|
+
}
|
|
15674
|
+
]
|
|
15675
|
+
},
|
|
15676
|
+
{
|
|
15677
|
+
operationId: "PublicServicePlanController_get",
|
|
15678
|
+
displayName: "Get a Service Plan",
|
|
15679
|
+
description: "Resolves a WorkBuddy ID first, then the authenticated caller's integrationId.",
|
|
15680
|
+
method: "GET",
|
|
15681
|
+
path: "/service-plans/{identifier}",
|
|
15682
|
+
commandPath: ["service", "plans", "get"],
|
|
15683
|
+
options: [
|
|
15684
|
+
{
|
|
15685
|
+
name: "identifier",
|
|
15686
|
+
cliName: "identifier",
|
|
15687
|
+
optionKey: "identifier",
|
|
15688
|
+
source: "path",
|
|
15689
|
+
type: "string",
|
|
15690
|
+
required: true,
|
|
15691
|
+
description: "WorkBuddy Service Plan ID or caller integrationId"
|
|
15692
|
+
}
|
|
15693
|
+
],
|
|
15694
|
+
hasRequestBody: false,
|
|
15695
|
+
responseFields: [
|
|
15696
|
+
{
|
|
15697
|
+
name: "data",
|
|
15698
|
+
type: "object"
|
|
15699
|
+
}
|
|
15700
|
+
]
|
|
15701
|
+
},
|
|
15702
|
+
{
|
|
15703
|
+
operationId: "PublicServicePlanController_activate",
|
|
15704
|
+
displayName: "Activate a Service Plan",
|
|
15705
|
+
description: "Validates and publishes a fully assembled Service Plan.",
|
|
15706
|
+
method: "POST",
|
|
15707
|
+
path: "/service-plans/{identifier}/activate",
|
|
15708
|
+
commandPath: ["service", "plans", "activate"],
|
|
15709
|
+
options: [
|
|
15710
|
+
{
|
|
15711
|
+
name: "identifier",
|
|
15712
|
+
cliName: "identifier",
|
|
15713
|
+
optionKey: "identifier",
|
|
15714
|
+
source: "path",
|
|
15715
|
+
type: "string",
|
|
15716
|
+
required: true,
|
|
15717
|
+
description: "Entity ID or human-readable number"
|
|
15718
|
+
},
|
|
15719
|
+
{
|
|
15720
|
+
name: "reason",
|
|
15721
|
+
cliName: "reason",
|
|
15722
|
+
optionKey: "reason",
|
|
15723
|
+
source: "body",
|
|
15724
|
+
type: "string",
|
|
15725
|
+
required: false,
|
|
15726
|
+
description: "Reason for the action (e.g. cancellation reason)"
|
|
15727
|
+
},
|
|
15728
|
+
{
|
|
15729
|
+
name: "raw-body",
|
|
15730
|
+
cliName: "raw-body",
|
|
15731
|
+
optionKey: "rawBody",
|
|
15732
|
+
source: "body",
|
|
15733
|
+
type: "object",
|
|
15734
|
+
required: false,
|
|
15735
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
15736
|
+
}
|
|
15737
|
+
],
|
|
15738
|
+
hasRequestBody: true,
|
|
15739
|
+
responseFields: [
|
|
15740
|
+
{
|
|
15741
|
+
name: "data",
|
|
15742
|
+
type: "object"
|
|
15743
|
+
}
|
|
15744
|
+
]
|
|
15745
|
+
},
|
|
15746
|
+
{
|
|
15747
|
+
operationId: "PublicServicePlanController_suspend",
|
|
15748
|
+
displayName: "Suspend a Service Plan",
|
|
15749
|
+
description: "Stops future scheduled work while preserving history.",
|
|
15750
|
+
method: "POST",
|
|
15751
|
+
path: "/service-plans/{identifier}/suspend",
|
|
15752
|
+
commandPath: ["service", "plans", "suspend"],
|
|
15753
|
+
options: [
|
|
15754
|
+
{
|
|
15755
|
+
name: "identifier",
|
|
15756
|
+
cliName: "identifier",
|
|
15757
|
+
optionKey: "identifier",
|
|
15758
|
+
source: "path",
|
|
15759
|
+
type: "string",
|
|
15760
|
+
required: true,
|
|
15761
|
+
description: "Entity ID or human-readable number"
|
|
15762
|
+
},
|
|
15763
|
+
{
|
|
15764
|
+
name: "reason",
|
|
15765
|
+
cliName: "reason",
|
|
15766
|
+
optionKey: "reason",
|
|
15767
|
+
source: "body",
|
|
15768
|
+
type: "string",
|
|
15769
|
+
required: false,
|
|
15770
|
+
description: "Reason for the action (e.g. cancellation reason)"
|
|
15771
|
+
},
|
|
15772
|
+
{
|
|
15773
|
+
name: "raw-body",
|
|
15774
|
+
cliName: "raw-body",
|
|
15775
|
+
optionKey: "rawBody",
|
|
15776
|
+
source: "body",
|
|
15777
|
+
type: "object",
|
|
15778
|
+
required: false,
|
|
15779
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
15780
|
+
}
|
|
15781
|
+
],
|
|
15782
|
+
hasRequestBody: true,
|
|
15783
|
+
responseFields: [
|
|
15784
|
+
{
|
|
15785
|
+
name: "data",
|
|
15786
|
+
type: "object"
|
|
15787
|
+
}
|
|
15788
|
+
]
|
|
15789
|
+
},
|
|
15790
|
+
{
|
|
15791
|
+
operationId: "PublicServicePlanController_archive",
|
|
15792
|
+
displayName: "Archive a Service Plan",
|
|
15793
|
+
description: "Archives a suspended Service Plan and reconciles future scheduled work.",
|
|
15794
|
+
method: "POST",
|
|
15795
|
+
path: "/service-plans/{identifier}/archive",
|
|
15796
|
+
commandPath: ["service", "plans", "archive"],
|
|
15797
|
+
options: [
|
|
15798
|
+
{
|
|
15799
|
+
name: "identifier",
|
|
15800
|
+
cliName: "identifier",
|
|
15801
|
+
optionKey: "identifier",
|
|
15802
|
+
source: "path",
|
|
15803
|
+
type: "string",
|
|
15804
|
+
required: true,
|
|
15805
|
+
description: "Entity ID or human-readable number"
|
|
15806
|
+
},
|
|
15807
|
+
{
|
|
15808
|
+
name: "reason",
|
|
15809
|
+
cliName: "reason",
|
|
15810
|
+
optionKey: "reason",
|
|
15811
|
+
source: "body",
|
|
15812
|
+
type: "string",
|
|
15813
|
+
required: false,
|
|
15814
|
+
description: "Reason for the action (e.g. cancellation reason)"
|
|
15815
|
+
},
|
|
15816
|
+
{
|
|
15817
|
+
name: "raw-body",
|
|
15818
|
+
cliName: "raw-body",
|
|
15819
|
+
optionKey: "rawBody",
|
|
15820
|
+
source: "body",
|
|
15821
|
+
type: "object",
|
|
15822
|
+
required: false,
|
|
15823
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
15824
|
+
}
|
|
15825
|
+
],
|
|
15826
|
+
hasRequestBody: true,
|
|
15827
|
+
responseFields: [
|
|
15828
|
+
{
|
|
15829
|
+
name: "data",
|
|
15830
|
+
type: "object"
|
|
15831
|
+
}
|
|
15832
|
+
]
|
|
15833
|
+
},
|
|
15834
|
+
{
|
|
15835
|
+
operationId: "PublicServiceLineController_list",
|
|
15836
|
+
displayName: "List Service Lines",
|
|
15837
|
+
description: "List Service Lines",
|
|
15838
|
+
method: "GET",
|
|
15839
|
+
path: "/service-plans/{planId}/lines",
|
|
15840
|
+
commandPath: ["service", "plans", "lines", "list"],
|
|
15841
|
+
options: [
|
|
15842
|
+
{
|
|
15843
|
+
name: "planId",
|
|
15844
|
+
cliName: "plan-id",
|
|
15845
|
+
optionKey: "planId",
|
|
15846
|
+
source: "path",
|
|
15847
|
+
type: "string",
|
|
15848
|
+
required: true,
|
|
15849
|
+
description: "WorkBuddy Service Plan ID"
|
|
15850
|
+
}
|
|
15851
|
+
],
|
|
15852
|
+
hasRequestBody: false,
|
|
15853
|
+
responseFields: [
|
|
15854
|
+
{
|
|
15855
|
+
name: "items",
|
|
15856
|
+
type: "array"
|
|
15857
|
+
},
|
|
15858
|
+
{
|
|
15859
|
+
name: "pagination",
|
|
15860
|
+
type: "object"
|
|
15861
|
+
}
|
|
15862
|
+
]
|
|
15863
|
+
},
|
|
15864
|
+
{
|
|
15865
|
+
operationId: "PublicServiceLineController_create",
|
|
15866
|
+
displayName: "Create a Service Line",
|
|
15867
|
+
description: "Create a Service Line",
|
|
15868
|
+
method: "POST",
|
|
15869
|
+
path: "/service-plans/{planId}/lines",
|
|
15870
|
+
commandPath: ["service", "plans", "lines", "create"],
|
|
15871
|
+
options: [
|
|
15872
|
+
{
|
|
15873
|
+
name: "planId",
|
|
15874
|
+
cliName: "plan-id",
|
|
15875
|
+
optionKey: "planId",
|
|
15876
|
+
source: "path",
|
|
15877
|
+
type: "string",
|
|
15878
|
+
required: true,
|
|
15879
|
+
description: "plan ID"
|
|
15880
|
+
},
|
|
15881
|
+
{
|
|
15882
|
+
name: "integrationId",
|
|
15883
|
+
cliName: "integration-id",
|
|
15884
|
+
optionKey: "integrationId",
|
|
15885
|
+
source: "body",
|
|
15886
|
+
type: "string",
|
|
15887
|
+
required: true,
|
|
15888
|
+
description: "integration ID"
|
|
15889
|
+
},
|
|
15890
|
+
{
|
|
15891
|
+
name: "name",
|
|
15892
|
+
cliName: "name",
|
|
15893
|
+
optionKey: "name",
|
|
15894
|
+
source: "body",
|
|
15895
|
+
type: "string",
|
|
15896
|
+
required: true,
|
|
15897
|
+
description: "Display name"
|
|
15898
|
+
},
|
|
15899
|
+
{
|
|
15900
|
+
name: "description",
|
|
15901
|
+
cliName: "description",
|
|
15902
|
+
optionKey: "description",
|
|
15903
|
+
source: "body",
|
|
15904
|
+
type: "string",
|
|
15905
|
+
required: false,
|
|
15906
|
+
description: "Detailed description"
|
|
15907
|
+
},
|
|
15908
|
+
{
|
|
15909
|
+
name: "workCategoryId",
|
|
15910
|
+
cliName: "work-category-id",
|
|
15911
|
+
optionKey: "workCategoryId",
|
|
15912
|
+
source: "body",
|
|
15913
|
+
type: "string",
|
|
15914
|
+
required: true,
|
|
15915
|
+
description: "Work category ID — use /settings/work-types to look up",
|
|
15916
|
+
lookupEndpoint: "/settings/work-types"
|
|
15917
|
+
},
|
|
15918
|
+
{
|
|
15919
|
+
name: "dateStart",
|
|
15920
|
+
cliName: "date-start",
|
|
15921
|
+
optionKey: "dateStart",
|
|
15922
|
+
source: "body",
|
|
15923
|
+
type: "string",
|
|
15924
|
+
required: false,
|
|
15925
|
+
description: ""
|
|
15926
|
+
},
|
|
15927
|
+
{
|
|
15928
|
+
name: "dateEnd",
|
|
15929
|
+
cliName: "date-end",
|
|
15930
|
+
optionKey: "dateEnd",
|
|
15931
|
+
source: "body",
|
|
15932
|
+
type: "string",
|
|
15933
|
+
required: false,
|
|
15934
|
+
description: ""
|
|
15935
|
+
},
|
|
15936
|
+
{
|
|
15937
|
+
name: "defaultWindow",
|
|
15938
|
+
cliName: "default-window",
|
|
15939
|
+
optionKey: "defaultWindow",
|
|
15940
|
+
source: "body",
|
|
15941
|
+
type: "object",
|
|
15942
|
+
required: true,
|
|
15943
|
+
description: ""
|
|
15944
|
+
},
|
|
15945
|
+
{
|
|
15946
|
+
name: "workingDays",
|
|
15947
|
+
cliName: "working-days",
|
|
15948
|
+
optionKey: "workingDays",
|
|
15949
|
+
source: "body",
|
|
15950
|
+
type: "array",
|
|
15951
|
+
required: false,
|
|
15952
|
+
description: ""
|
|
15953
|
+
},
|
|
15954
|
+
{
|
|
15955
|
+
name: "jobDefaults",
|
|
15956
|
+
cliName: "job-defaults",
|
|
15957
|
+
optionKey: "jobDefaults",
|
|
15958
|
+
source: "body",
|
|
15959
|
+
type: "object",
|
|
15960
|
+
required: false,
|
|
15961
|
+
description: ""
|
|
15962
|
+
},
|
|
15963
|
+
{
|
|
15964
|
+
name: "raw-body",
|
|
15965
|
+
cliName: "raw-body",
|
|
15966
|
+
optionKey: "rawBody",
|
|
15967
|
+
source: "body",
|
|
15968
|
+
type: "object",
|
|
15969
|
+
required: false,
|
|
15970
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
15971
|
+
}
|
|
15972
|
+
],
|
|
15973
|
+
hasRequestBody: true,
|
|
15974
|
+
responseFields: [
|
|
15975
|
+
{
|
|
15976
|
+
name: "data",
|
|
15977
|
+
type: "object"
|
|
15978
|
+
}
|
|
15979
|
+
]
|
|
15980
|
+
},
|
|
15981
|
+
{
|
|
15982
|
+
operationId: "PublicServiceLineController_get",
|
|
15983
|
+
displayName: "Get a Service Line",
|
|
15984
|
+
description: "Get a Service Line",
|
|
15985
|
+
method: "GET",
|
|
15986
|
+
path: "/service-plans/{planId}/lines/{identifier}",
|
|
15987
|
+
commandPath: ["service", "plans", "lines", "get"],
|
|
15988
|
+
options: [
|
|
15989
|
+
{
|
|
15990
|
+
name: "planId",
|
|
15991
|
+
cliName: "plan-id",
|
|
15992
|
+
optionKey: "planId",
|
|
15993
|
+
source: "path",
|
|
15994
|
+
type: "string",
|
|
15995
|
+
required: true,
|
|
15996
|
+
description: "plan ID"
|
|
15997
|
+
},
|
|
15998
|
+
{
|
|
15999
|
+
name: "identifier",
|
|
16000
|
+
cliName: "identifier",
|
|
16001
|
+
optionKey: "identifier",
|
|
16002
|
+
source: "path",
|
|
16003
|
+
type: "string",
|
|
16004
|
+
required: true,
|
|
16005
|
+
description: "WorkBuddy Service Line ID or caller integrationId"
|
|
16006
|
+
}
|
|
16007
|
+
],
|
|
16008
|
+
hasRequestBody: false,
|
|
16009
|
+
responseFields: [
|
|
16010
|
+
{
|
|
16011
|
+
name: "data",
|
|
16012
|
+
type: "object"
|
|
16013
|
+
}
|
|
16014
|
+
]
|
|
16015
|
+
},
|
|
16016
|
+
{
|
|
16017
|
+
operationId: "PublicServiceLineController_patch",
|
|
16018
|
+
displayName: "Update a Service Line",
|
|
16019
|
+
description: "Update a Service Line",
|
|
16020
|
+
method: "PATCH",
|
|
16021
|
+
path: "/service-plans/{planId}/lines/{identifier}",
|
|
16022
|
+
commandPath: ["service", "plans", "lines", "update"],
|
|
16023
|
+
options: [
|
|
16024
|
+
{
|
|
16025
|
+
name: "planId",
|
|
16026
|
+
cliName: "plan-id",
|
|
16027
|
+
optionKey: "planId",
|
|
16028
|
+
source: "path",
|
|
16029
|
+
type: "string",
|
|
16030
|
+
required: true,
|
|
16031
|
+
description: "plan ID"
|
|
16032
|
+
},
|
|
16033
|
+
{
|
|
16034
|
+
name: "identifier",
|
|
16035
|
+
cliName: "identifier",
|
|
16036
|
+
optionKey: "identifier",
|
|
16037
|
+
source: "path",
|
|
16038
|
+
type: "string",
|
|
16039
|
+
required: true,
|
|
16040
|
+
description: "Entity ID or human-readable number"
|
|
16041
|
+
},
|
|
16042
|
+
{
|
|
16043
|
+
name: "name",
|
|
16044
|
+
cliName: "name",
|
|
16045
|
+
optionKey: "name",
|
|
16046
|
+
source: "body",
|
|
16047
|
+
type: "string",
|
|
16048
|
+
required: false,
|
|
16049
|
+
description: "Display name"
|
|
16050
|
+
},
|
|
16051
|
+
{
|
|
16052
|
+
name: "description",
|
|
16053
|
+
cliName: "description",
|
|
16054
|
+
optionKey: "description",
|
|
16055
|
+
source: "body",
|
|
16056
|
+
type: "string",
|
|
16057
|
+
required: false,
|
|
16058
|
+
description: "Detailed description"
|
|
16059
|
+
},
|
|
16060
|
+
{
|
|
16061
|
+
name: "workCategoryId",
|
|
16062
|
+
cliName: "work-category-id",
|
|
16063
|
+
optionKey: "workCategoryId",
|
|
16064
|
+
source: "body",
|
|
16065
|
+
type: "string",
|
|
16066
|
+
required: false,
|
|
16067
|
+
description: "Work category ID — use /settings/work-types to look up",
|
|
16068
|
+
lookupEndpoint: "/settings/work-types"
|
|
16069
|
+
},
|
|
16070
|
+
{
|
|
16071
|
+
name: "dateStart",
|
|
16072
|
+
cliName: "date-start",
|
|
16073
|
+
optionKey: "dateStart",
|
|
16074
|
+
source: "body",
|
|
16075
|
+
type: "string",
|
|
16076
|
+
required: false,
|
|
16077
|
+
description: ""
|
|
16078
|
+
},
|
|
16079
|
+
{
|
|
16080
|
+
name: "dateEnd",
|
|
16081
|
+
cliName: "date-end",
|
|
16082
|
+
optionKey: "dateEnd",
|
|
16083
|
+
source: "body",
|
|
16084
|
+
type: "string",
|
|
16085
|
+
required: false,
|
|
16086
|
+
description: ""
|
|
16087
|
+
},
|
|
16088
|
+
{
|
|
16089
|
+
name: "defaultWindow",
|
|
16090
|
+
cliName: "default-window",
|
|
16091
|
+
optionKey: "defaultWindow",
|
|
16092
|
+
source: "body",
|
|
16093
|
+
type: "object",
|
|
16094
|
+
required: false,
|
|
16095
|
+
description: ""
|
|
16096
|
+
},
|
|
16097
|
+
{
|
|
16098
|
+
name: "workingDays",
|
|
16099
|
+
cliName: "working-days",
|
|
16100
|
+
optionKey: "workingDays",
|
|
16101
|
+
source: "body",
|
|
16102
|
+
type: "array",
|
|
16103
|
+
required: false,
|
|
16104
|
+
description: ""
|
|
16105
|
+
},
|
|
16106
|
+
{
|
|
16107
|
+
name: "jobDefaults",
|
|
16108
|
+
cliName: "job-defaults",
|
|
16109
|
+
optionKey: "jobDefaults",
|
|
16110
|
+
source: "body",
|
|
16111
|
+
type: "object",
|
|
16112
|
+
required: false,
|
|
16113
|
+
description: ""
|
|
16114
|
+
},
|
|
16115
|
+
{
|
|
16116
|
+
name: "raw-body",
|
|
16117
|
+
cliName: "raw-body",
|
|
16118
|
+
optionKey: "rawBody",
|
|
16119
|
+
source: "body",
|
|
16120
|
+
type: "object",
|
|
16121
|
+
required: false,
|
|
16122
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
16123
|
+
}
|
|
16124
|
+
],
|
|
16125
|
+
hasRequestBody: true,
|
|
16126
|
+
responseFields: [
|
|
16127
|
+
{
|
|
16128
|
+
name: "data",
|
|
16129
|
+
type: "object"
|
|
16130
|
+
}
|
|
16131
|
+
]
|
|
16132
|
+
},
|
|
16133
|
+
{
|
|
16134
|
+
operationId: "PublicServiceLineTaskController_list",
|
|
16135
|
+
displayName: "List root Service Line Tasks",
|
|
16136
|
+
description: "List root Service Line Tasks",
|
|
16137
|
+
method: "GET",
|
|
16138
|
+
path: "/service-plans/{planId}/lines/{lineId}/tasks",
|
|
16139
|
+
commandPath: ["service", "plans", "lines", "tasks", "list"],
|
|
16140
|
+
options: [
|
|
16141
|
+
{
|
|
16142
|
+
name: "planId",
|
|
16143
|
+
cliName: "plan-id",
|
|
16144
|
+
optionKey: "planId",
|
|
16145
|
+
source: "path",
|
|
16146
|
+
type: "string",
|
|
16147
|
+
required: true,
|
|
16148
|
+
description: "WorkBuddy Service Plan ID"
|
|
16149
|
+
},
|
|
16150
|
+
{
|
|
16151
|
+
name: "lineId",
|
|
16152
|
+
cliName: "line-id",
|
|
16153
|
+
optionKey: "lineId",
|
|
16154
|
+
source: "path",
|
|
16155
|
+
type: "string",
|
|
16156
|
+
required: true,
|
|
16157
|
+
description: "WorkBuddy Service Line ID or caller integrationId"
|
|
16158
|
+
}
|
|
16159
|
+
],
|
|
16160
|
+
hasRequestBody: false,
|
|
16161
|
+
responseFields: [
|
|
16162
|
+
{
|
|
16163
|
+
name: "items",
|
|
16164
|
+
type: "array"
|
|
16165
|
+
},
|
|
16166
|
+
{
|
|
16167
|
+
name: "pagination",
|
|
16168
|
+
type: "object"
|
|
16169
|
+
}
|
|
16170
|
+
]
|
|
16171
|
+
},
|
|
16172
|
+
{
|
|
16173
|
+
operationId: "PublicServiceLineTaskController_create",
|
|
16174
|
+
displayName: "Create root Service Line Tasks",
|
|
16175
|
+
description: "Pass one Task, or `{ items }` with 1–100 Tasks. Bulk ingest is a bounded domain command — not N public creates — and returns per-item created, existing, conflict, and invalid outcomes.",
|
|
16176
|
+
method: "POST",
|
|
16177
|
+
path: "/service-plans/{planId}/lines/{lineId}/tasks",
|
|
16178
|
+
commandPath: ["service", "plans", "lines", "tasks", "create"],
|
|
16179
|
+
options: [
|
|
16180
|
+
{
|
|
16181
|
+
name: "planId",
|
|
16182
|
+
cliName: "plan-id",
|
|
16183
|
+
optionKey: "planId",
|
|
16184
|
+
source: "path",
|
|
16185
|
+
type: "string",
|
|
16186
|
+
required: true,
|
|
16187
|
+
description: "plan ID"
|
|
16188
|
+
},
|
|
16189
|
+
{
|
|
16190
|
+
name: "lineId",
|
|
16191
|
+
cliName: "line-id",
|
|
16192
|
+
optionKey: "lineId",
|
|
16193
|
+
source: "path",
|
|
16194
|
+
type: "string",
|
|
16195
|
+
required: true,
|
|
16196
|
+
description: "line ID"
|
|
16197
|
+
},
|
|
16198
|
+
{
|
|
16199
|
+
name: "items",
|
|
16200
|
+
cliName: "items",
|
|
16201
|
+
optionKey: "items",
|
|
16202
|
+
source: "body",
|
|
16203
|
+
type: "array",
|
|
16204
|
+
required: true,
|
|
16205
|
+
description: ""
|
|
16206
|
+
},
|
|
16207
|
+
{
|
|
16208
|
+
name: "raw-body",
|
|
16209
|
+
cliName: "raw-body",
|
|
16210
|
+
optionKey: "rawBody",
|
|
16211
|
+
source: "body",
|
|
16212
|
+
type: "object",
|
|
16213
|
+
required: false,
|
|
16214
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
16215
|
+
}
|
|
16216
|
+
],
|
|
16217
|
+
hasRequestBody: true,
|
|
16218
|
+
responseFields: [
|
|
16219
|
+
{
|
|
16220
|
+
name: "results",
|
|
16221
|
+
type: "array"
|
|
16222
|
+
},
|
|
16223
|
+
{
|
|
16224
|
+
name: "created",
|
|
16225
|
+
type: "integer"
|
|
16226
|
+
},
|
|
16227
|
+
{
|
|
16228
|
+
name: "existing",
|
|
16229
|
+
type: "integer"
|
|
16230
|
+
},
|
|
16231
|
+
{
|
|
16232
|
+
name: "failed",
|
|
16233
|
+
type: "integer"
|
|
16234
|
+
}
|
|
16235
|
+
]
|
|
16236
|
+
},
|
|
16237
|
+
{
|
|
16238
|
+
operationId: "PublicServiceLineTaskController_get",
|
|
16239
|
+
displayName: "Get a root Service Line Task",
|
|
16240
|
+
description: "Get a root Service Line Task",
|
|
16241
|
+
method: "GET",
|
|
16242
|
+
path: "/service-plans/{planId}/lines/{lineId}/tasks/{identifier}",
|
|
16243
|
+
commandPath: ["service", "plans", "lines", "tasks", "get"],
|
|
16244
|
+
options: [
|
|
16245
|
+
{
|
|
16246
|
+
name: "planId",
|
|
16247
|
+
cliName: "plan-id",
|
|
16248
|
+
optionKey: "planId",
|
|
16249
|
+
source: "path",
|
|
16250
|
+
type: "string",
|
|
16251
|
+
required: true,
|
|
16252
|
+
description: "plan ID"
|
|
16253
|
+
},
|
|
16254
|
+
{
|
|
16255
|
+
name: "lineId",
|
|
16256
|
+
cliName: "line-id",
|
|
16257
|
+
optionKey: "lineId",
|
|
16258
|
+
source: "path",
|
|
16259
|
+
type: "string",
|
|
16260
|
+
required: true,
|
|
16261
|
+
description: "line ID"
|
|
16262
|
+
},
|
|
16263
|
+
{
|
|
16264
|
+
name: "identifier",
|
|
16265
|
+
cliName: "identifier",
|
|
16266
|
+
optionKey: "identifier",
|
|
16267
|
+
source: "path",
|
|
16268
|
+
type: "string",
|
|
16269
|
+
required: true,
|
|
16270
|
+
description: "WorkBuddy Task ID or caller integrationId"
|
|
16271
|
+
}
|
|
16272
|
+
],
|
|
16273
|
+
hasRequestBody: false,
|
|
16274
|
+
responseFields: [
|
|
16275
|
+
{
|
|
16276
|
+
name: "data",
|
|
16277
|
+
type: "object"
|
|
16278
|
+
}
|
|
16279
|
+
]
|
|
16280
|
+
},
|
|
16281
|
+
{
|
|
16282
|
+
operationId: "PublicServiceLineTaskController_patch",
|
|
16283
|
+
displayName: "Update a root Service Line Task",
|
|
16284
|
+
description: "Update a root Service Line Task",
|
|
16285
|
+
method: "PATCH",
|
|
16286
|
+
path: "/service-plans/{planId}/lines/{lineId}/tasks/{identifier}",
|
|
16287
|
+
commandPath: ["service", "plans", "lines", "tasks", "update"],
|
|
16288
|
+
options: [
|
|
16289
|
+
{
|
|
16290
|
+
name: "planId",
|
|
16291
|
+
cliName: "plan-id",
|
|
16292
|
+
optionKey: "planId",
|
|
16293
|
+
source: "path",
|
|
16294
|
+
type: "string",
|
|
16295
|
+
required: true,
|
|
16296
|
+
description: "plan ID"
|
|
16297
|
+
},
|
|
16298
|
+
{
|
|
16299
|
+
name: "lineId",
|
|
16300
|
+
cliName: "line-id",
|
|
16301
|
+
optionKey: "lineId",
|
|
16302
|
+
source: "path",
|
|
16303
|
+
type: "string",
|
|
16304
|
+
required: true,
|
|
16305
|
+
description: "line ID"
|
|
16306
|
+
},
|
|
16307
|
+
{
|
|
16308
|
+
name: "identifier",
|
|
16309
|
+
cliName: "identifier",
|
|
16310
|
+
optionKey: "identifier",
|
|
16311
|
+
source: "path",
|
|
16312
|
+
type: "string",
|
|
16313
|
+
required: true,
|
|
16314
|
+
description: "Entity ID or human-readable number"
|
|
16315
|
+
},
|
|
16316
|
+
{
|
|
16317
|
+
name: "name",
|
|
16318
|
+
cliName: "name",
|
|
16319
|
+
optionKey: "name",
|
|
16320
|
+
source: "body",
|
|
16321
|
+
type: "string",
|
|
16322
|
+
required: false,
|
|
16323
|
+
description: "Display name"
|
|
16324
|
+
},
|
|
16325
|
+
{
|
|
16326
|
+
name: "description",
|
|
16327
|
+
cliName: "description",
|
|
16328
|
+
optionKey: "description",
|
|
16329
|
+
source: "body",
|
|
16330
|
+
type: "string",
|
|
16331
|
+
required: false,
|
|
16332
|
+
description: "Detailed description"
|
|
16333
|
+
},
|
|
16334
|
+
{
|
|
16335
|
+
name: "startsOn",
|
|
16336
|
+
cliName: "starts-on",
|
|
16337
|
+
optionKey: "startsOn",
|
|
16338
|
+
source: "body",
|
|
16339
|
+
type: "string",
|
|
16340
|
+
required: false,
|
|
16341
|
+
description: ""
|
|
16342
|
+
},
|
|
16343
|
+
{
|
|
16344
|
+
name: "schedule",
|
|
16345
|
+
cliName: "schedule",
|
|
16346
|
+
optionKey: "schedule",
|
|
16347
|
+
source: "body",
|
|
16348
|
+
type: "string",
|
|
16349
|
+
required: false,
|
|
16350
|
+
description: ""
|
|
16351
|
+
},
|
|
16352
|
+
{
|
|
16353
|
+
name: "exceptions",
|
|
16354
|
+
cliName: "exceptions",
|
|
16355
|
+
optionKey: "exceptions",
|
|
16356
|
+
source: "body",
|
|
16357
|
+
type: "object",
|
|
16358
|
+
required: false,
|
|
16359
|
+
description: ""
|
|
16360
|
+
},
|
|
16361
|
+
{
|
|
16362
|
+
name: "mandatory",
|
|
16363
|
+
cliName: "mandatory",
|
|
16364
|
+
optionKey: "mandatory",
|
|
16365
|
+
source: "body",
|
|
16366
|
+
type: "boolean",
|
|
16367
|
+
required: false,
|
|
16368
|
+
description: ""
|
|
16369
|
+
},
|
|
16370
|
+
{
|
|
16371
|
+
name: "signatureEnabled",
|
|
16372
|
+
cliName: "signature-enabled",
|
|
16373
|
+
optionKey: "signatureEnabled",
|
|
16374
|
+
source: "body",
|
|
16375
|
+
type: "boolean",
|
|
16376
|
+
required: false,
|
|
16377
|
+
description: ""
|
|
16378
|
+
},
|
|
16379
|
+
{
|
|
16380
|
+
name: "commentEnabled",
|
|
16381
|
+
cliName: "comment-enabled",
|
|
16382
|
+
optionKey: "commentEnabled",
|
|
16383
|
+
source: "body",
|
|
16384
|
+
type: "boolean",
|
|
16385
|
+
required: false,
|
|
16386
|
+
description: ""
|
|
16387
|
+
},
|
|
16388
|
+
{
|
|
16389
|
+
name: "beforePhotoEnabled",
|
|
16390
|
+
cliName: "before-photo-enabled",
|
|
16391
|
+
optionKey: "beforePhotoEnabled",
|
|
16392
|
+
source: "body",
|
|
16393
|
+
type: "boolean",
|
|
16394
|
+
required: false,
|
|
16395
|
+
description: ""
|
|
16396
|
+
},
|
|
16397
|
+
{
|
|
16398
|
+
name: "duringPhotoEnabled",
|
|
16399
|
+
cliName: "during-photo-enabled",
|
|
16400
|
+
optionKey: "duringPhotoEnabled",
|
|
16401
|
+
source: "body",
|
|
16402
|
+
type: "boolean",
|
|
16403
|
+
required: false,
|
|
16404
|
+
description: ""
|
|
16405
|
+
},
|
|
16406
|
+
{
|
|
16407
|
+
name: "afterPhotoEnabled",
|
|
16408
|
+
cliName: "after-photo-enabled",
|
|
16409
|
+
optionKey: "afterPhotoEnabled",
|
|
16410
|
+
source: "body",
|
|
16411
|
+
type: "boolean",
|
|
16412
|
+
required: false,
|
|
16413
|
+
description: ""
|
|
16414
|
+
},
|
|
16415
|
+
{
|
|
16416
|
+
name: "fileEnabled",
|
|
16417
|
+
cliName: "file-enabled",
|
|
16418
|
+
optionKey: "fileEnabled",
|
|
16419
|
+
source: "body",
|
|
16420
|
+
type: "boolean",
|
|
16421
|
+
required: false,
|
|
16422
|
+
description: ""
|
|
16423
|
+
},
|
|
16424
|
+
{
|
|
16425
|
+
name: "fileTemplateId",
|
|
16426
|
+
cliName: "file-template-id",
|
|
16427
|
+
optionKey: "fileTemplateId",
|
|
16428
|
+
source: "body",
|
|
16429
|
+
type: "string",
|
|
16430
|
+
required: false,
|
|
16431
|
+
description: "file template ID"
|
|
16432
|
+
},
|
|
16433
|
+
{
|
|
16434
|
+
name: "formEnabled",
|
|
16435
|
+
cliName: "form-enabled",
|
|
16436
|
+
optionKey: "formEnabled",
|
|
16437
|
+
source: "body",
|
|
16438
|
+
type: "boolean",
|
|
16439
|
+
required: false,
|
|
16440
|
+
description: ""
|
|
16441
|
+
},
|
|
16442
|
+
{
|
|
16443
|
+
name: "formTemplateId",
|
|
16444
|
+
cliName: "form-template-id",
|
|
16445
|
+
optionKey: "formTemplateId",
|
|
16446
|
+
source: "body",
|
|
16447
|
+
type: "string",
|
|
16448
|
+
required: false,
|
|
16449
|
+
description: "form template ID"
|
|
16450
|
+
},
|
|
16451
|
+
{
|
|
16452
|
+
name: "raw-body",
|
|
16453
|
+
cliName: "raw-body",
|
|
16454
|
+
optionKey: "rawBody",
|
|
16455
|
+
source: "body",
|
|
16456
|
+
type: "object",
|
|
16457
|
+
required: false,
|
|
16458
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
16459
|
+
}
|
|
16460
|
+
],
|
|
16461
|
+
hasRequestBody: true,
|
|
16462
|
+
responseFields: [
|
|
16463
|
+
{
|
|
16464
|
+
name: "data",
|
|
16465
|
+
type: "object"
|
|
16466
|
+
}
|
|
16467
|
+
]
|
|
16468
|
+
},
|
|
16469
|
+
{
|
|
16470
|
+
operationId: "PublicServiceLineSubtaskController_list",
|
|
16471
|
+
displayName: "List Subtasks",
|
|
16472
|
+
description: "List Subtasks",
|
|
16473
|
+
method: "GET",
|
|
16474
|
+
path: "/service-plans/{planId}/lines/{lineId}/tasks/{taskId}/subtasks",
|
|
16475
|
+
commandPath: ["service", "plans", "lines", "tasks", "subtasks", "list"],
|
|
16476
|
+
options: [
|
|
16477
|
+
{
|
|
16478
|
+
name: "planId",
|
|
16479
|
+
cliName: "plan-id",
|
|
16480
|
+
optionKey: "planId",
|
|
16481
|
+
source: "path",
|
|
16482
|
+
type: "string",
|
|
16483
|
+
required: true,
|
|
16484
|
+
description: "WorkBuddy Service Plan ID"
|
|
16485
|
+
},
|
|
16486
|
+
{
|
|
16487
|
+
name: "lineId",
|
|
16488
|
+
cliName: "line-id",
|
|
16489
|
+
optionKey: "lineId",
|
|
16490
|
+
source: "path",
|
|
16491
|
+
type: "string",
|
|
16492
|
+
required: true,
|
|
16493
|
+
description: "WorkBuddy Service Line ID or caller integrationId"
|
|
16494
|
+
},
|
|
16495
|
+
{
|
|
16496
|
+
name: "taskId",
|
|
16497
|
+
cliName: "task-id",
|
|
16498
|
+
optionKey: "taskId",
|
|
16499
|
+
source: "path",
|
|
16500
|
+
type: "string",
|
|
16501
|
+
required: true,
|
|
16502
|
+
description: "WorkBuddy root Task ID or caller integrationId"
|
|
16503
|
+
}
|
|
16504
|
+
],
|
|
16505
|
+
hasRequestBody: false,
|
|
16506
|
+
responseFields: [
|
|
16507
|
+
{
|
|
16508
|
+
name: "items",
|
|
16509
|
+
type: "array"
|
|
16510
|
+
},
|
|
16511
|
+
{
|
|
16512
|
+
name: "pagination",
|
|
16513
|
+
type: "object"
|
|
16514
|
+
}
|
|
16515
|
+
]
|
|
16516
|
+
},
|
|
16517
|
+
{
|
|
16518
|
+
operationId: "PublicServiceLineSubtaskController_create",
|
|
16519
|
+
displayName: "Create Subtasks",
|
|
16520
|
+
description: "Pass one Subtask, or `{ items }` with 1–100 Subtasks. Bounded domain ingest — not N public creates. Schedule and start-date fields are rejected.",
|
|
16521
|
+
method: "POST",
|
|
16522
|
+
path: "/service-plans/{planId}/lines/{lineId}/tasks/{taskId}/subtasks",
|
|
16523
|
+
commandPath: ["service", "plans", "lines", "tasks", "subtasks", "create"],
|
|
16524
|
+
options: [
|
|
16525
|
+
{
|
|
16526
|
+
name: "planId",
|
|
16527
|
+
cliName: "plan-id",
|
|
16528
|
+
optionKey: "planId",
|
|
16529
|
+
source: "path",
|
|
16530
|
+
type: "string",
|
|
16531
|
+
required: true,
|
|
16532
|
+
description: "plan ID"
|
|
16533
|
+
},
|
|
16534
|
+
{
|
|
16535
|
+
name: "lineId",
|
|
16536
|
+
cliName: "line-id",
|
|
16537
|
+
optionKey: "lineId",
|
|
16538
|
+
source: "path",
|
|
16539
|
+
type: "string",
|
|
16540
|
+
required: true,
|
|
16541
|
+
description: "line ID"
|
|
16542
|
+
},
|
|
16543
|
+
{
|
|
16544
|
+
name: "taskId",
|
|
16545
|
+
cliName: "task-id",
|
|
16546
|
+
optionKey: "taskId",
|
|
16547
|
+
source: "path",
|
|
16548
|
+
type: "string",
|
|
16549
|
+
required: true,
|
|
16550
|
+
description: "task ID"
|
|
16551
|
+
},
|
|
16552
|
+
{
|
|
16553
|
+
name: "items",
|
|
16554
|
+
cliName: "items",
|
|
16555
|
+
optionKey: "items",
|
|
16556
|
+
source: "body",
|
|
16557
|
+
type: "array",
|
|
16558
|
+
required: true,
|
|
16559
|
+
description: ""
|
|
16560
|
+
},
|
|
16561
|
+
{
|
|
16562
|
+
name: "raw-body",
|
|
16563
|
+
cliName: "raw-body",
|
|
16564
|
+
optionKey: "rawBody",
|
|
16565
|
+
source: "body",
|
|
16566
|
+
type: "object",
|
|
16567
|
+
required: false,
|
|
16568
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
16569
|
+
}
|
|
16570
|
+
],
|
|
16571
|
+
hasRequestBody: true,
|
|
16572
|
+
responseFields: [
|
|
16573
|
+
{
|
|
16574
|
+
name: "results",
|
|
16575
|
+
type: "array"
|
|
16576
|
+
},
|
|
16577
|
+
{
|
|
16578
|
+
name: "created",
|
|
16579
|
+
type: "integer"
|
|
16580
|
+
},
|
|
16581
|
+
{
|
|
16582
|
+
name: "existing",
|
|
16583
|
+
type: "integer"
|
|
16584
|
+
},
|
|
16585
|
+
{
|
|
16586
|
+
name: "failed",
|
|
16587
|
+
type: "integer"
|
|
16588
|
+
}
|
|
16589
|
+
]
|
|
16590
|
+
},
|
|
16591
|
+
{
|
|
16592
|
+
operationId: "PublicServiceLineSubtaskController_get",
|
|
16593
|
+
displayName: "Get a Subtask",
|
|
16594
|
+
description: "Get a Subtask",
|
|
16595
|
+
method: "GET",
|
|
16596
|
+
path: "/service-plans/{planId}/lines/{lineId}/tasks/{taskId}/subtasks/{identifier}",
|
|
16597
|
+
commandPath: ["service", "plans", "lines", "tasks", "subtasks", "get"],
|
|
16598
|
+
options: [
|
|
16599
|
+
{
|
|
16600
|
+
name: "planId",
|
|
16601
|
+
cliName: "plan-id",
|
|
16602
|
+
optionKey: "planId",
|
|
16603
|
+
source: "path",
|
|
16604
|
+
type: "string",
|
|
16605
|
+
required: true,
|
|
16606
|
+
description: "plan ID"
|
|
16607
|
+
},
|
|
16608
|
+
{
|
|
16609
|
+
name: "lineId",
|
|
16610
|
+
cliName: "line-id",
|
|
16611
|
+
optionKey: "lineId",
|
|
16612
|
+
source: "path",
|
|
16613
|
+
type: "string",
|
|
16614
|
+
required: true,
|
|
16615
|
+
description: "line ID"
|
|
16616
|
+
},
|
|
16617
|
+
{
|
|
16618
|
+
name: "taskId",
|
|
16619
|
+
cliName: "task-id",
|
|
16620
|
+
optionKey: "taskId",
|
|
16621
|
+
source: "path",
|
|
16622
|
+
type: "string",
|
|
16623
|
+
required: true,
|
|
16624
|
+
description: "task ID"
|
|
16625
|
+
},
|
|
16626
|
+
{
|
|
16627
|
+
name: "identifier",
|
|
16628
|
+
cliName: "identifier",
|
|
16629
|
+
optionKey: "identifier",
|
|
16630
|
+
source: "path",
|
|
16631
|
+
type: "string",
|
|
16632
|
+
required: true,
|
|
16633
|
+
description: "WorkBuddy Subtask ID or caller integrationId"
|
|
16634
|
+
}
|
|
16635
|
+
],
|
|
16636
|
+
hasRequestBody: false,
|
|
16637
|
+
responseFields: [
|
|
16638
|
+
{
|
|
16639
|
+
name: "data",
|
|
16640
|
+
type: "object"
|
|
16641
|
+
}
|
|
16642
|
+
]
|
|
16643
|
+
},
|
|
16644
|
+
{
|
|
16645
|
+
operationId: "PublicServiceLineSubtaskController_patch",
|
|
16646
|
+
displayName: "Update a Subtask",
|
|
16647
|
+
description: "Update a Subtask",
|
|
16648
|
+
method: "PATCH",
|
|
16649
|
+
path: "/service-plans/{planId}/lines/{lineId}/tasks/{taskId}/subtasks/{identifier}",
|
|
16650
|
+
commandPath: ["service", "plans", "lines", "tasks", "subtasks", "update"],
|
|
16651
|
+
options: [
|
|
16652
|
+
{
|
|
16653
|
+
name: "planId",
|
|
16654
|
+
cliName: "plan-id",
|
|
16655
|
+
optionKey: "planId",
|
|
16656
|
+
source: "path",
|
|
16657
|
+
type: "string",
|
|
16658
|
+
required: true,
|
|
16659
|
+
description: "plan ID"
|
|
16660
|
+
},
|
|
16661
|
+
{
|
|
16662
|
+
name: "lineId",
|
|
16663
|
+
cliName: "line-id",
|
|
16664
|
+
optionKey: "lineId",
|
|
16665
|
+
source: "path",
|
|
16666
|
+
type: "string",
|
|
16667
|
+
required: true,
|
|
16668
|
+
description: "line ID"
|
|
16669
|
+
},
|
|
16670
|
+
{
|
|
16671
|
+
name: "taskId",
|
|
16672
|
+
cliName: "task-id",
|
|
16673
|
+
optionKey: "taskId",
|
|
16674
|
+
source: "path",
|
|
16675
|
+
type: "string",
|
|
16676
|
+
required: true,
|
|
16677
|
+
description: "task ID"
|
|
16678
|
+
},
|
|
16679
|
+
{
|
|
16680
|
+
name: "identifier",
|
|
16681
|
+
cliName: "identifier",
|
|
16682
|
+
optionKey: "identifier",
|
|
16683
|
+
source: "path",
|
|
16684
|
+
type: "string",
|
|
16685
|
+
required: true,
|
|
16686
|
+
description: "Entity ID or human-readable number"
|
|
16687
|
+
},
|
|
16688
|
+
{
|
|
16689
|
+
name: "name",
|
|
16690
|
+
cliName: "name",
|
|
16691
|
+
optionKey: "name",
|
|
16692
|
+
source: "body",
|
|
16693
|
+
type: "string",
|
|
16694
|
+
required: false,
|
|
16695
|
+
description: "Display name"
|
|
16696
|
+
},
|
|
16697
|
+
{
|
|
16698
|
+
name: "description",
|
|
16699
|
+
cliName: "description",
|
|
16700
|
+
optionKey: "description",
|
|
16701
|
+
source: "body",
|
|
16702
|
+
type: "string",
|
|
16703
|
+
required: false,
|
|
16704
|
+
description: "Detailed description"
|
|
16705
|
+
},
|
|
16706
|
+
{
|
|
16707
|
+
name: "mandatory",
|
|
16708
|
+
cliName: "mandatory",
|
|
16709
|
+
optionKey: "mandatory",
|
|
16710
|
+
source: "body",
|
|
16711
|
+
type: "boolean",
|
|
16712
|
+
required: false,
|
|
16713
|
+
description: ""
|
|
16714
|
+
},
|
|
16715
|
+
{
|
|
16716
|
+
name: "signatureEnabled",
|
|
16717
|
+
cliName: "signature-enabled",
|
|
16718
|
+
optionKey: "signatureEnabled",
|
|
16719
|
+
source: "body",
|
|
16720
|
+
type: "boolean",
|
|
16721
|
+
required: false,
|
|
16722
|
+
description: ""
|
|
16723
|
+
},
|
|
16724
|
+
{
|
|
16725
|
+
name: "commentEnabled",
|
|
16726
|
+
cliName: "comment-enabled",
|
|
16727
|
+
optionKey: "commentEnabled",
|
|
16728
|
+
source: "body",
|
|
16729
|
+
type: "boolean",
|
|
16730
|
+
required: false,
|
|
16731
|
+
description: ""
|
|
16732
|
+
},
|
|
16733
|
+
{
|
|
16734
|
+
name: "beforePhotoEnabled",
|
|
16735
|
+
cliName: "before-photo-enabled",
|
|
16736
|
+
optionKey: "beforePhotoEnabled",
|
|
16737
|
+
source: "body",
|
|
16738
|
+
type: "boolean",
|
|
16739
|
+
required: false,
|
|
16740
|
+
description: ""
|
|
16741
|
+
},
|
|
16742
|
+
{
|
|
16743
|
+
name: "duringPhotoEnabled",
|
|
16744
|
+
cliName: "during-photo-enabled",
|
|
16745
|
+
optionKey: "duringPhotoEnabled",
|
|
16746
|
+
source: "body",
|
|
16747
|
+
type: "boolean",
|
|
16748
|
+
required: false,
|
|
16749
|
+
description: ""
|
|
16750
|
+
},
|
|
16751
|
+
{
|
|
16752
|
+
name: "afterPhotoEnabled",
|
|
16753
|
+
cliName: "after-photo-enabled",
|
|
16754
|
+
optionKey: "afterPhotoEnabled",
|
|
16755
|
+
source: "body",
|
|
16756
|
+
type: "boolean",
|
|
16757
|
+
required: false,
|
|
16758
|
+
description: ""
|
|
16759
|
+
},
|
|
16760
|
+
{
|
|
16761
|
+
name: "fileEnabled",
|
|
16762
|
+
cliName: "file-enabled",
|
|
16763
|
+
optionKey: "fileEnabled",
|
|
16764
|
+
source: "body",
|
|
16765
|
+
type: "boolean",
|
|
16766
|
+
required: false,
|
|
16767
|
+
description: ""
|
|
16768
|
+
},
|
|
16769
|
+
{
|
|
16770
|
+
name: "fileTemplateId",
|
|
16771
|
+
cliName: "file-template-id",
|
|
16772
|
+
optionKey: "fileTemplateId",
|
|
16773
|
+
source: "body",
|
|
16774
|
+
type: "string",
|
|
16775
|
+
required: false,
|
|
16776
|
+
description: "file template ID"
|
|
16777
|
+
},
|
|
16778
|
+
{
|
|
16779
|
+
name: "formEnabled",
|
|
16780
|
+
cliName: "form-enabled",
|
|
16781
|
+
optionKey: "formEnabled",
|
|
16782
|
+
source: "body",
|
|
16783
|
+
type: "boolean",
|
|
16784
|
+
required: false,
|
|
16785
|
+
description: ""
|
|
16786
|
+
},
|
|
16787
|
+
{
|
|
16788
|
+
name: "formTemplateId",
|
|
16789
|
+
cliName: "form-template-id",
|
|
16790
|
+
optionKey: "formTemplateId",
|
|
16791
|
+
source: "body",
|
|
16792
|
+
type: "string",
|
|
16793
|
+
required: false,
|
|
16794
|
+
description: "form template ID"
|
|
16795
|
+
},
|
|
16796
|
+
{
|
|
16797
|
+
name: "raw-body",
|
|
16798
|
+
cliName: "raw-body",
|
|
16799
|
+
optionKey: "rawBody",
|
|
16800
|
+
source: "body",
|
|
16801
|
+
type: "object",
|
|
16802
|
+
required: false,
|
|
16803
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
16804
|
+
}
|
|
16805
|
+
],
|
|
16806
|
+
hasRequestBody: true,
|
|
16807
|
+
responseFields: [
|
|
16808
|
+
{
|
|
16809
|
+
name: "data",
|
|
16810
|
+
type: "object"
|
|
16811
|
+
}
|
|
16812
|
+
]
|
|
16813
|
+
},
|
|
15538
16814
|
{
|
|
15539
16815
|
operationId: "McpV3StreamableController_handleGet",
|
|
15540
16816
|
displayName: "MCP SSE stream (not supported)",
|