@workbuddy/cli-vnext 1.0.38 → 1.0.40
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 +193 -498
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4902,11 +4902,6 @@ var operations = [
|
|
|
4902
4902
|
type: "string",
|
|
4903
4903
|
description: "Display name"
|
|
4904
4904
|
},
|
|
4905
|
-
{
|
|
4906
|
-
name: "description",
|
|
4907
|
-
type: "string",
|
|
4908
|
-
description: "Detailed description"
|
|
4909
|
-
},
|
|
4910
4905
|
{
|
|
4911
4906
|
name: "status",
|
|
4912
4907
|
type: "object",
|
|
@@ -4961,11 +4956,6 @@ var operations = [
|
|
|
4961
4956
|
type: "string",
|
|
4962
4957
|
description: "Finalisation date (ISO 8601 datetime)"
|
|
4963
4958
|
},
|
|
4964
|
-
{
|
|
4965
|
-
name: "notes",
|
|
4966
|
-
type: "string",
|
|
4967
|
-
description: "Additional notes or comments"
|
|
4968
|
-
},
|
|
4969
4959
|
{
|
|
4970
4960
|
name: "tags",
|
|
4971
4961
|
type: "string",
|
|
@@ -5591,15 +5581,6 @@ var operations = [
|
|
|
5591
5581
|
required: false,
|
|
5592
5582
|
description: "Due date (ISO 8601 datetime)"
|
|
5593
5583
|
},
|
|
5594
|
-
{
|
|
5595
|
-
name: "notes",
|
|
5596
|
-
cliName: "notes",
|
|
5597
|
-
optionKey: "notes",
|
|
5598
|
-
source: "body",
|
|
5599
|
-
type: "string",
|
|
5600
|
-
required: false,
|
|
5601
|
-
description: "Additional notes or comments"
|
|
5602
|
-
},
|
|
5603
5584
|
{
|
|
5604
5585
|
name: "customFields",
|
|
5605
5586
|
cliName: "custom-fields",
|
|
@@ -5644,11 +5625,6 @@ var operations = [
|
|
|
5644
5625
|
type: "string",
|
|
5645
5626
|
description: "Display name"
|
|
5646
5627
|
},
|
|
5647
|
-
{
|
|
5648
|
-
name: "description",
|
|
5649
|
-
type: "string",
|
|
5650
|
-
description: "Detailed description"
|
|
5651
|
-
},
|
|
5652
5628
|
{
|
|
5653
5629
|
name: "status",
|
|
5654
5630
|
type: "object",
|
|
@@ -5703,11 +5679,6 @@ var operations = [
|
|
|
5703
5679
|
type: "string",
|
|
5704
5680
|
description: "Finalisation date (ISO 8601 datetime)"
|
|
5705
5681
|
},
|
|
5706
|
-
{
|
|
5707
|
-
name: "notes",
|
|
5708
|
-
type: "string",
|
|
5709
|
-
description: "Additional notes or comments"
|
|
5710
|
-
},
|
|
5711
5682
|
{
|
|
5712
5683
|
name: "tags",
|
|
5713
5684
|
type: "string",
|
|
@@ -5800,15 +5771,6 @@ var operations = [
|
|
|
5800
5771
|
required: false,
|
|
5801
5772
|
description: "Due date (ISO 8601 datetime)"
|
|
5802
5773
|
},
|
|
5803
|
-
{
|
|
5804
|
-
name: "notes",
|
|
5805
|
-
cliName: "notes",
|
|
5806
|
-
optionKey: "notes",
|
|
5807
|
-
source: "body",
|
|
5808
|
-
type: "string",
|
|
5809
|
-
required: false,
|
|
5810
|
-
description: "Additional notes or comments"
|
|
5811
|
-
},
|
|
5812
5774
|
{
|
|
5813
5775
|
name: "tagsSet",
|
|
5814
5776
|
cliName: "tags-set",
|
|
@@ -5913,11 +5875,6 @@ var operations = [
|
|
|
5913
5875
|
type: "string",
|
|
5914
5876
|
description: "Display name"
|
|
5915
5877
|
},
|
|
5916
|
-
{
|
|
5917
|
-
name: "description",
|
|
5918
|
-
type: "string",
|
|
5919
|
-
description: "Detailed description"
|
|
5920
|
-
},
|
|
5921
5878
|
{
|
|
5922
5879
|
name: "status",
|
|
5923
5880
|
type: "object",
|
|
@@ -5972,11 +5929,6 @@ var operations = [
|
|
|
5972
5929
|
type: "string",
|
|
5973
5930
|
description: "Finalisation date (ISO 8601 datetime)"
|
|
5974
5931
|
},
|
|
5975
|
-
{
|
|
5976
|
-
name: "notes",
|
|
5977
|
-
type: "string",
|
|
5978
|
-
description: "Additional notes or comments"
|
|
5979
|
-
},
|
|
5980
5932
|
{
|
|
5981
5933
|
name: "tags",
|
|
5982
5934
|
type: "string",
|
|
@@ -6018,7 +5970,7 @@ var operations = [
|
|
|
6018
5970
|
{
|
|
6019
5971
|
operationId: "PublicJobStageController_delete",
|
|
6020
5972
|
displayName: "Delete a stage",
|
|
6021
|
-
description: "
|
|
5973
|
+
description: "Delete a stage. If tenant settings are configured to mark stages and items as cancelled on deletion, the stage is cancelled instead of permanently removed.",
|
|
6022
5974
|
method: "DELETE",
|
|
6023
5975
|
path: "/stages/{id}",
|
|
6024
5976
|
commandPath: ["stages", "delete"],
|
|
@@ -6084,11 +6036,6 @@ var operations = [
|
|
|
6084
6036
|
type: "string",
|
|
6085
6037
|
description: "Display name"
|
|
6086
6038
|
},
|
|
6087
|
-
{
|
|
6088
|
-
name: "description",
|
|
6089
|
-
type: "string",
|
|
6090
|
-
description: "Detailed description"
|
|
6091
|
-
},
|
|
6092
6039
|
{
|
|
6093
6040
|
name: "status",
|
|
6094
6041
|
type: "object",
|
|
@@ -6143,11 +6090,6 @@ var operations = [
|
|
|
6143
6090
|
type: "string",
|
|
6144
6091
|
description: "Finalisation date (ISO 8601 datetime)"
|
|
6145
6092
|
},
|
|
6146
|
-
{
|
|
6147
|
-
name: "notes",
|
|
6148
|
-
type: "string",
|
|
6149
|
-
description: "Additional notes or comments"
|
|
6150
|
-
},
|
|
6151
6093
|
{
|
|
6152
6094
|
name: "tags",
|
|
6153
6095
|
type: "string",
|
|
@@ -6257,11 +6199,6 @@ var operations = [
|
|
|
6257
6199
|
type: "string",
|
|
6258
6200
|
description: "Display name"
|
|
6259
6201
|
},
|
|
6260
|
-
{
|
|
6261
|
-
name: "description",
|
|
6262
|
-
type: "string",
|
|
6263
|
-
description: "Detailed description"
|
|
6264
|
-
},
|
|
6265
6202
|
{
|
|
6266
6203
|
name: "status",
|
|
6267
6204
|
type: "object",
|
|
@@ -6316,11 +6253,6 @@ var operations = [
|
|
|
6316
6253
|
type: "string",
|
|
6317
6254
|
description: "Finalisation date (ISO 8601 datetime)"
|
|
6318
6255
|
},
|
|
6319
|
-
{
|
|
6320
|
-
name: "notes",
|
|
6321
|
-
type: "string",
|
|
6322
|
-
description: "Additional notes or comments"
|
|
6323
|
-
},
|
|
6324
6256
|
{
|
|
6325
6257
|
name: "tags",
|
|
6326
6258
|
type: "string",
|
|
@@ -6430,11 +6362,6 @@ var operations = [
|
|
|
6430
6362
|
type: "string",
|
|
6431
6363
|
description: "Display name"
|
|
6432
6364
|
},
|
|
6433
|
-
{
|
|
6434
|
-
name: "description",
|
|
6435
|
-
type: "string",
|
|
6436
|
-
description: "Detailed description"
|
|
6437
|
-
},
|
|
6438
6365
|
{
|
|
6439
6366
|
name: "status",
|
|
6440
6367
|
type: "object",
|
|
@@ -6489,11 +6416,6 @@ var operations = [
|
|
|
6489
6416
|
type: "string",
|
|
6490
6417
|
description: "Finalisation date (ISO 8601 datetime)"
|
|
6491
6418
|
},
|
|
6492
|
-
{
|
|
6493
|
-
name: "notes",
|
|
6494
|
-
type: "string",
|
|
6495
|
-
description: "Additional notes or comments"
|
|
6496
|
-
},
|
|
6497
6419
|
{
|
|
6498
6420
|
name: "tags",
|
|
6499
6421
|
type: "string",
|
|
@@ -6593,11 +6515,6 @@ var operations = [
|
|
|
6593
6515
|
type: "string",
|
|
6594
6516
|
description: "Display name"
|
|
6595
6517
|
},
|
|
6596
|
-
{
|
|
6597
|
-
name: "description",
|
|
6598
|
-
type: "string",
|
|
6599
|
-
description: "Detailed description"
|
|
6600
|
-
},
|
|
6601
6518
|
{
|
|
6602
6519
|
name: "status",
|
|
6603
6520
|
type: "object",
|
|
@@ -6652,11 +6569,6 @@ var operations = [
|
|
|
6652
6569
|
type: "string",
|
|
6653
6570
|
description: "Finalisation date (ISO 8601 datetime)"
|
|
6654
6571
|
},
|
|
6655
|
-
{
|
|
6656
|
-
name: "notes",
|
|
6657
|
-
type: "string",
|
|
6658
|
-
description: "Additional notes or comments"
|
|
6659
|
-
},
|
|
6660
6572
|
{
|
|
6661
6573
|
name: "tags",
|
|
6662
6574
|
type: "string",
|
|
@@ -6766,11 +6678,6 @@ var operations = [
|
|
|
6766
6678
|
type: "string",
|
|
6767
6679
|
description: "Display name"
|
|
6768
6680
|
},
|
|
6769
|
-
{
|
|
6770
|
-
name: "description",
|
|
6771
|
-
type: "string",
|
|
6772
|
-
description: "Detailed description"
|
|
6773
|
-
},
|
|
6774
6681
|
{
|
|
6775
6682
|
name: "status",
|
|
6776
6683
|
type: "object",
|
|
@@ -6825,11 +6732,6 @@ var operations = [
|
|
|
6825
6732
|
type: "string",
|
|
6826
6733
|
description: "Finalisation date (ISO 8601 datetime)"
|
|
6827
6734
|
},
|
|
6828
|
-
{
|
|
6829
|
-
name: "notes",
|
|
6830
|
-
type: "string",
|
|
6831
|
-
description: "Additional notes or comments"
|
|
6832
|
-
},
|
|
6833
6735
|
{
|
|
6834
6736
|
name: "tags",
|
|
6835
6737
|
type: "string",
|
|
@@ -7270,7 +7172,8 @@ var operations = [
|
|
|
7270
7172
|
source: "path",
|
|
7271
7173
|
type: "string",
|
|
7272
7174
|
required: true,
|
|
7273
|
-
description: "Entity type (customer, contractor, supplier)"
|
|
7175
|
+
description: "Entity type (customer, contractor, supplier)",
|
|
7176
|
+
enumValues: ["customer", "contractor", "supplier"]
|
|
7274
7177
|
}
|
|
7275
7178
|
],
|
|
7276
7179
|
hasRequestBody: false,
|
|
@@ -7404,392 +7307,93 @@ var operations = [
|
|
|
7404
7307
|
hasRequestBody: false,
|
|
7405
7308
|
responseFields: [
|
|
7406
7309
|
{
|
|
7407
|
-
name: "items",
|
|
7408
|
-
type: "array"
|
|
7409
|
-
}
|
|
7410
|
-
]
|
|
7411
|
-
},
|
|
7412
|
-
{
|
|
7413
|
-
operationId: "PublicApiTemplateController_listEmailTemplates",
|
|
7414
|
-
displayName: "List email templates for entity type",
|
|
7415
|
-
description: "Retrieve all active email templates for the specified entity type (job or stage).",
|
|
7416
|
-
method: "GET",
|
|
7417
|
-
path: "/settings/templates/{entity}/email",
|
|
7418
|
-
commandPath: ["settings", "templates", "email", "list"],
|
|
7419
|
-
options: [
|
|
7420
|
-
{
|
|
7421
|
-
name: "entity",
|
|
7422
|
-
cliName: "entity",
|
|
7423
|
-
optionKey: "entity",
|
|
7424
|
-
source: "path",
|
|
7425
|
-
type: "string",
|
|
7426
|
-
required: true,
|
|
7427
|
-
description: "Entity type",
|
|
7428
|
-
enumValues: ["job", "stage"]
|
|
7429
|
-
}
|
|
7430
|
-
],
|
|
7431
|
-
hasRequestBody: false,
|
|
7432
|
-
responseFields: [
|
|
7433
|
-
{
|
|
7434
|
-
name: "items",
|
|
7435
|
-
type: "array"
|
|
7436
|
-
}
|
|
7437
|
-
]
|
|
7438
|
-
},
|
|
7439
|
-
{
|
|
7440
|
-
operationId: "PublicApiTemplateController_listSmsTemplates",
|
|
7441
|
-
displayName: "List SMS templates for entity type",
|
|
7442
|
-
description: "Retrieve all active SMS templates for the specified entity type (job or stage).",
|
|
7443
|
-
method: "GET",
|
|
7444
|
-
path: "/settings/templates/{entity}/sms",
|
|
7445
|
-
commandPath: ["settings", "templates", "sms", "list"],
|
|
7446
|
-
options: [
|
|
7447
|
-
{
|
|
7448
|
-
name: "entity",
|
|
7449
|
-
cliName: "entity",
|
|
7450
|
-
optionKey: "entity",
|
|
7451
|
-
source: "path",
|
|
7452
|
-
type: "string",
|
|
7453
|
-
required: true,
|
|
7454
|
-
description: "Entity type",
|
|
7455
|
-
enumValues: ["job", "stage"]
|
|
7456
|
-
}
|
|
7457
|
-
],
|
|
7458
|
-
hasRequestBody: false,
|
|
7459
|
-
responseFields: [
|
|
7460
|
-
{
|
|
7461
|
-
name: "items",
|
|
7462
|
-
type: "array"
|
|
7463
|
-
}
|
|
7464
|
-
]
|
|
7465
|
-
},
|
|
7466
|
-
{
|
|
7467
|
-
operationId: "PublicApiItemController_list",
|
|
7468
|
-
displayName: "List items",
|
|
7469
|
-
description: "Retrieve paginated editable settings items.",
|
|
7470
|
-
method: "GET",
|
|
7471
|
-
path: "/settings/items",
|
|
7472
|
-
commandPath: ["settings", "items", "list"],
|
|
7473
|
-
options: [],
|
|
7474
|
-
hasRequestBody: false,
|
|
7475
|
-
responseFields: [
|
|
7476
|
-
{
|
|
7477
|
-
name: "items",
|
|
7478
|
-
type: "array"
|
|
7479
|
-
},
|
|
7480
|
-
{
|
|
7481
|
-
name: "pagination",
|
|
7482
|
-
type: "object"
|
|
7483
|
-
}
|
|
7484
|
-
]
|
|
7485
|
-
},
|
|
7486
|
-
{
|
|
7487
|
-
operationId: "PublicApiItemController_create",
|
|
7488
|
-
displayName: "Create item",
|
|
7489
|
-
description: "Create a settings item. This endpoint does not upsert.",
|
|
7490
|
-
method: "POST",
|
|
7491
|
-
path: "/settings/items",
|
|
7492
|
-
commandPath: ["settings", "items", "create"],
|
|
7493
|
-
options: [
|
|
7494
|
-
{
|
|
7495
|
-
name: "type",
|
|
7496
|
-
cliName: "type",
|
|
7497
|
-
optionKey: "type",
|
|
7498
|
-
source: "body",
|
|
7499
|
-
type: "string",
|
|
7500
|
-
required: true,
|
|
7501
|
-
description: "",
|
|
7502
|
-
enumValues: ["SERVICE", "INVENTORY", "NON-INVENTORY", "LABOUR", "INCENTIVE"]
|
|
7503
|
-
},
|
|
7504
|
-
{
|
|
7505
|
-
name: "name",
|
|
7506
|
-
cliName: "name",
|
|
7507
|
-
optionKey: "name",
|
|
7508
|
-
source: "body",
|
|
7509
|
-
type: "string",
|
|
7510
|
-
required: true,
|
|
7511
|
-
description: "Display name"
|
|
7512
|
-
},
|
|
7513
|
-
{
|
|
7514
|
-
name: "baseUomId",
|
|
7515
|
-
cliName: "base-uom-id",
|
|
7516
|
-
optionKey: "baseUomId",
|
|
7517
|
-
source: "body",
|
|
7518
|
-
type: "string",
|
|
7519
|
-
required: false,
|
|
7520
|
-
description: "base uom ID"
|
|
7521
|
-
},
|
|
7522
|
-
{
|
|
7523
|
-
name: "baseUomName",
|
|
7524
|
-
cliName: "base-uom-name",
|
|
7525
|
-
optionKey: "baseUomName",
|
|
7526
|
-
source: "body",
|
|
7527
|
-
type: "string",
|
|
7528
|
-
required: false,
|
|
7529
|
-
description: ""
|
|
7530
|
-
},
|
|
7531
|
-
{
|
|
7532
|
-
name: "description",
|
|
7533
|
-
cliName: "description",
|
|
7534
|
-
optionKey: "description",
|
|
7535
|
-
source: "body",
|
|
7536
|
-
type: "string",
|
|
7537
|
-
required: true,
|
|
7538
|
-
description: "Detailed description"
|
|
7539
|
-
},
|
|
7540
|
-
{
|
|
7541
|
-
name: "category",
|
|
7542
|
-
cliName: "category",
|
|
7543
|
-
optionKey: "category",
|
|
7544
|
-
source: "body",
|
|
7545
|
-
type: "object",
|
|
7546
|
-
required: true,
|
|
7547
|
-
description: ""
|
|
7548
|
-
},
|
|
7549
|
-
{
|
|
7550
|
-
name: "active",
|
|
7551
|
-
cliName: "active",
|
|
7552
|
-
optionKey: "active",
|
|
7553
|
-
source: "body",
|
|
7554
|
-
type: "boolean",
|
|
7555
|
-
required: false,
|
|
7556
|
-
description: "Whether the entity is active"
|
|
7557
|
-
},
|
|
7558
|
-
{
|
|
7559
|
-
name: "integrationId",
|
|
7560
|
-
cliName: "integration-id",
|
|
7561
|
-
optionKey: "integrationId",
|
|
7562
|
-
source: "body",
|
|
7563
|
-
type: "string",
|
|
7564
|
-
required: false,
|
|
7565
|
-
description: "integration ID"
|
|
7566
|
-
},
|
|
7567
|
-
{
|
|
7568
|
-
name: "canOverrideDesc",
|
|
7569
|
-
cliName: "can-override-desc",
|
|
7570
|
-
optionKey: "canOverrideDesc",
|
|
7571
|
-
source: "body",
|
|
7572
|
-
type: "boolean",
|
|
7573
|
-
required: false,
|
|
7574
|
-
description: ""
|
|
7575
|
-
},
|
|
7576
|
-
{
|
|
7577
|
-
name: "longDescription",
|
|
7578
|
-
cliName: "long-description",
|
|
7579
|
-
optionKey: "longDescription",
|
|
7580
|
-
source: "body",
|
|
7581
|
-
type: "string",
|
|
7582
|
-
required: false,
|
|
7583
|
-
description: ""
|
|
7584
|
-
},
|
|
7585
|
-
{
|
|
7586
|
-
name: "manufacturer",
|
|
7587
|
-
cliName: "manufacturer",
|
|
7588
|
-
optionKey: "manufacturer",
|
|
7589
|
-
source: "body",
|
|
7590
|
-
type: "string",
|
|
7591
|
-
required: false,
|
|
7592
|
-
description: ""
|
|
7593
|
-
},
|
|
7594
|
-
{
|
|
7595
|
-
name: "retailPrice",
|
|
7596
|
-
cliName: "retail-price",
|
|
7597
|
-
optionKey: "retailPrice",
|
|
7598
|
-
source: "body",
|
|
7599
|
-
type: "number",
|
|
7600
|
-
required: false,
|
|
7601
|
-
description: ""
|
|
7602
|
-
},
|
|
7603
|
-
{
|
|
7604
|
-
name: "tradePrice",
|
|
7605
|
-
cliName: "trade-price",
|
|
7606
|
-
optionKey: "tradePrice",
|
|
7607
|
-
source: "body",
|
|
7608
|
-
type: "number",
|
|
7609
|
-
required: false,
|
|
7610
|
-
description: ""
|
|
7611
|
-
},
|
|
7612
|
-
{
|
|
7613
|
-
name: "standardCost",
|
|
7614
|
-
cliName: "standard-cost",
|
|
7615
|
-
optionKey: "standardCost",
|
|
7616
|
-
source: "body",
|
|
7617
|
-
type: "number",
|
|
7618
|
-
required: false,
|
|
7619
|
-
description: ""
|
|
7620
|
-
},
|
|
7621
|
-
{
|
|
7622
|
-
name: "economicOrderQty",
|
|
7623
|
-
cliName: "economic-order-qty",
|
|
7624
|
-
optionKey: "economicOrderQty",
|
|
7625
|
-
source: "body",
|
|
7626
|
-
type: "number",
|
|
7627
|
-
required: false,
|
|
7628
|
-
description: ""
|
|
7629
|
-
},
|
|
7630
|
-
{
|
|
7631
|
-
name: "safetyStockQty",
|
|
7632
|
-
cliName: "safety-stock-qty",
|
|
7633
|
-
optionKey: "safetyStockQty",
|
|
7634
|
-
source: "body",
|
|
7635
|
-
type: "number",
|
|
7636
|
-
required: false,
|
|
7637
|
-
description: ""
|
|
7638
|
-
},
|
|
7639
|
-
{
|
|
7640
|
-
name: "leadTimeDays",
|
|
7641
|
-
cliName: "lead-time-days",
|
|
7642
|
-
optionKey: "leadTimeDays",
|
|
7643
|
-
source: "body",
|
|
7644
|
-
type: "number",
|
|
7645
|
-
required: false,
|
|
7646
|
-
description: ""
|
|
7647
|
-
},
|
|
7648
|
-
{
|
|
7649
|
-
name: "upc",
|
|
7650
|
-
cliName: "upc",
|
|
7651
|
-
optionKey: "upc",
|
|
7652
|
-
source: "body",
|
|
7653
|
-
type: "string",
|
|
7654
|
-
required: false,
|
|
7655
|
-
description: ""
|
|
7656
|
-
},
|
|
7657
|
-
{
|
|
7658
|
-
name: "itemSold",
|
|
7659
|
-
cliName: "item-sold",
|
|
7660
|
-
optionKey: "itemSold",
|
|
7661
|
-
source: "body",
|
|
7662
|
-
type: "boolean",
|
|
7663
|
-
required: false,
|
|
7664
|
-
description: ""
|
|
7665
|
-
},
|
|
7666
|
-
{
|
|
7667
|
-
name: "saleGlCode",
|
|
7668
|
-
cliName: "sale-gl-code",
|
|
7669
|
-
optionKey: "saleGlCode",
|
|
7670
|
-
source: "body",
|
|
7671
|
-
type: "string",
|
|
7672
|
-
required: false,
|
|
7673
|
-
description: ""
|
|
7674
|
-
},
|
|
7675
|
-
{
|
|
7676
|
-
name: "saleTaxRateId",
|
|
7677
|
-
cliName: "sale-tax-rate-id",
|
|
7678
|
-
optionKey: "saleTaxRateId",
|
|
7679
|
-
source: "body",
|
|
7680
|
-
type: "string",
|
|
7681
|
-
required: false,
|
|
7682
|
-
description: "sale tax rate ID"
|
|
7683
|
-
},
|
|
7684
|
-
{
|
|
7685
|
-
name: "saleTaxRateName",
|
|
7686
|
-
cliName: "sale-tax-rate-name",
|
|
7687
|
-
optionKey: "saleTaxRateName",
|
|
7688
|
-
source: "body",
|
|
7689
|
-
type: "string",
|
|
7690
|
-
required: false,
|
|
7691
|
-
description: ""
|
|
7692
|
-
},
|
|
7693
|
-
{
|
|
7694
|
-
name: "itemPurchased",
|
|
7695
|
-
cliName: "item-purchased",
|
|
7696
|
-
optionKey: "itemPurchased",
|
|
7697
|
-
source: "body",
|
|
7698
|
-
type: "boolean",
|
|
7699
|
-
required: false,
|
|
7700
|
-
description: ""
|
|
7701
|
-
},
|
|
7702
|
-
{
|
|
7703
|
-
name: "purchaseGlCode",
|
|
7704
|
-
cliName: "purchase-gl-code",
|
|
7705
|
-
optionKey: "purchaseGlCode",
|
|
7706
|
-
source: "body",
|
|
7707
|
-
type: "string",
|
|
7708
|
-
required: false,
|
|
7709
|
-
description: ""
|
|
7710
|
-
},
|
|
7711
|
-
{
|
|
7712
|
-
name: "purchaseTaxRateId",
|
|
7713
|
-
cliName: "purchase-tax-rate-id",
|
|
7714
|
-
optionKey: "purchaseTaxRateId",
|
|
7715
|
-
source: "body",
|
|
7716
|
-
type: "string",
|
|
7717
|
-
required: false,
|
|
7718
|
-
description: "purchase tax rate ID"
|
|
7719
|
-
},
|
|
7720
|
-
{
|
|
7721
|
-
name: "purchaseTaxRateName",
|
|
7722
|
-
cliName: "purchase-tax-rate-name",
|
|
7723
|
-
optionKey: "purchaseTaxRateName",
|
|
7724
|
-
source: "body",
|
|
7725
|
-
type: "string",
|
|
7726
|
-
required: false,
|
|
7727
|
-
description: ""
|
|
7728
|
-
},
|
|
7729
|
-
{
|
|
7730
|
-
name: "codeInvoicingStatus",
|
|
7731
|
-
cliName: "code-invoicing-status",
|
|
7732
|
-
optionKey: "codeInvoicingStatus",
|
|
7733
|
-
source: "body",
|
|
7734
|
-
type: "string",
|
|
7735
|
-
required: false,
|
|
7736
|
-
description: "",
|
|
7737
|
-
enumValues: ["Billable", "No Charge", "Not Billable"]
|
|
7738
|
-
},
|
|
7310
|
+
name: "items",
|
|
7311
|
+
type: "array"
|
|
7312
|
+
}
|
|
7313
|
+
]
|
|
7314
|
+
},
|
|
7315
|
+
{
|
|
7316
|
+
operationId: "PublicApiTemplateController_listEmailTemplates",
|
|
7317
|
+
displayName: "List email templates for entity type",
|
|
7318
|
+
description: "Retrieve all active email templates for the specified entity type (job or stage).",
|
|
7319
|
+
method: "GET",
|
|
7320
|
+
path: "/settings/templates/{entity}/email",
|
|
7321
|
+
commandPath: ["settings", "templates", "email", "list"],
|
|
7322
|
+
options: [
|
|
7739
7323
|
{
|
|
7740
|
-
name: "
|
|
7741
|
-
cliName: "
|
|
7742
|
-
optionKey: "
|
|
7743
|
-
source: "
|
|
7744
|
-
type: "
|
|
7745
|
-
required:
|
|
7746
|
-
description: ""
|
|
7747
|
-
|
|
7324
|
+
name: "entity",
|
|
7325
|
+
cliName: "entity",
|
|
7326
|
+
optionKey: "entity",
|
|
7327
|
+
source: "path",
|
|
7328
|
+
type: "string",
|
|
7329
|
+
required: true,
|
|
7330
|
+
description: "Entity type",
|
|
7331
|
+
enumValues: ["job", "stage"]
|
|
7332
|
+
}
|
|
7333
|
+
],
|
|
7334
|
+
hasRequestBody: false,
|
|
7335
|
+
responseFields: [
|
|
7748
7336
|
{
|
|
7749
|
-
name: "
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7337
|
+
name: "items",
|
|
7338
|
+
type: "array"
|
|
7339
|
+
}
|
|
7340
|
+
]
|
|
7341
|
+
},
|
|
7342
|
+
{
|
|
7343
|
+
operationId: "PublicApiTemplateController_listSmsTemplates",
|
|
7344
|
+
displayName: "List SMS templates for entity type",
|
|
7345
|
+
description: "Retrieve all active SMS templates for the specified entity type (job or stage).",
|
|
7346
|
+
method: "GET",
|
|
7347
|
+
path: "/settings/templates/{entity}/sms",
|
|
7348
|
+
commandPath: ["settings", "templates", "sms", "list"],
|
|
7349
|
+
options: [
|
|
7757
7350
|
{
|
|
7758
|
-
name: "
|
|
7759
|
-
cliName: "
|
|
7760
|
-
optionKey: "
|
|
7761
|
-
source: "
|
|
7351
|
+
name: "entity",
|
|
7352
|
+
cliName: "entity",
|
|
7353
|
+
optionKey: "entity",
|
|
7354
|
+
source: "path",
|
|
7762
7355
|
type: "string",
|
|
7763
|
-
required:
|
|
7764
|
-
description: "
|
|
7765
|
-
|
|
7356
|
+
required: true,
|
|
7357
|
+
description: "Entity type",
|
|
7358
|
+
enumValues: ["job", "stage"]
|
|
7359
|
+
}
|
|
7360
|
+
],
|
|
7361
|
+
hasRequestBody: false,
|
|
7362
|
+
responseFields: [
|
|
7766
7363
|
{
|
|
7767
|
-
name: "
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7364
|
+
name: "items",
|
|
7365
|
+
type: "array"
|
|
7366
|
+
}
|
|
7367
|
+
]
|
|
7368
|
+
},
|
|
7369
|
+
{
|
|
7370
|
+
operationId: "PublicApiItemController_list",
|
|
7371
|
+
displayName: "List items",
|
|
7372
|
+
description: "Retrieve paginated editable settings items.",
|
|
7373
|
+
method: "GET",
|
|
7374
|
+
path: "/settings/items",
|
|
7375
|
+
commandPath: ["settings", "items", "list"],
|
|
7376
|
+
options: [],
|
|
7377
|
+
hasRequestBody: false,
|
|
7378
|
+
responseFields: [
|
|
7775
7379
|
{
|
|
7776
|
-
name: "
|
|
7777
|
-
|
|
7778
|
-
optionKey: "trackingCategory2",
|
|
7779
|
-
source: "body",
|
|
7780
|
-
type: "string",
|
|
7781
|
-
required: false,
|
|
7782
|
-
description: ""
|
|
7380
|
+
name: "items",
|
|
7381
|
+
type: "array"
|
|
7783
7382
|
},
|
|
7784
7383
|
{
|
|
7785
|
-
name: "
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7384
|
+
name: "pagination",
|
|
7385
|
+
type: "object"
|
|
7386
|
+
}
|
|
7387
|
+
]
|
|
7388
|
+
},
|
|
7389
|
+
{
|
|
7390
|
+
operationId: "PublicApiItemController_create",
|
|
7391
|
+
displayName: "Create item",
|
|
7392
|
+
description: "Create a settings item. This endpoint does not upsert.",
|
|
7393
|
+
method: "POST",
|
|
7394
|
+
path: "/settings/items",
|
|
7395
|
+
commandPath: ["settings", "items", "create"],
|
|
7396
|
+
options: [
|
|
7793
7397
|
{
|
|
7794
7398
|
name: "raw-body",
|
|
7795
7399
|
cliName: "raw-body",
|
|
@@ -7824,7 +7428,7 @@ var operations = [
|
|
|
7824
7428
|
type: "string",
|
|
7825
7429
|
required: false,
|
|
7826
7430
|
description: "",
|
|
7827
|
-
enumValues: ["SERVICE", "INVENTORY", "NON-INVENTORY", "
|
|
7431
|
+
enumValues: ["SERVICE", "INVENTORY", "NON-INVENTORY", "INCENTIVE", "KIT", "BUNDLE"]
|
|
7828
7432
|
},
|
|
7829
7433
|
{
|
|
7830
7434
|
name: "name",
|
|
@@ -8184,7 +7788,7 @@ var operations = [
|
|
|
8184
7788
|
type: "string",
|
|
8185
7789
|
required: false,
|
|
8186
7790
|
description: "",
|
|
8187
|
-
enumValues: ["SERVICE", "INVENTORY", "NON-INVENTORY", "
|
|
7791
|
+
enumValues: ["SERVICE", "INVENTORY", "NON-INVENTORY", "INCENTIVE", "KIT", "BUNDLE"]
|
|
8188
7792
|
},
|
|
8189
7793
|
{
|
|
8190
7794
|
name: "name",
|
|
@@ -8516,11 +8120,39 @@ var operations = [
|
|
|
8516
8120
|
{
|
|
8517
8121
|
operationId: "PublicApiItemCategoryController_list",
|
|
8518
8122
|
displayName: "List item categories",
|
|
8519
|
-
description: "Retrieve active item categories and sub-categories.",
|
|
8123
|
+
description: "Retrieve active item categories and sub-categories. Use search, name, or id to filter by category/sub-category name or id.",
|
|
8520
8124
|
method: "GET",
|
|
8521
8125
|
path: "/settings/item-categories",
|
|
8522
8126
|
commandPath: ["settings", "items", "item-categories", "list"],
|
|
8523
|
-
options: [
|
|
8127
|
+
options: [
|
|
8128
|
+
{
|
|
8129
|
+
name: "id",
|
|
8130
|
+
cliName: "id",
|
|
8131
|
+
optionKey: "id",
|
|
8132
|
+
source: "query",
|
|
8133
|
+
type: "string",
|
|
8134
|
+
required: false,
|
|
8135
|
+
description: "Alias for search"
|
|
8136
|
+
},
|
|
8137
|
+
{
|
|
8138
|
+
name: "name",
|
|
8139
|
+
cliName: "name",
|
|
8140
|
+
optionKey: "name",
|
|
8141
|
+
source: "query",
|
|
8142
|
+
type: "string",
|
|
8143
|
+
required: false,
|
|
8144
|
+
description: "Alias for search"
|
|
8145
|
+
},
|
|
8146
|
+
{
|
|
8147
|
+
name: "search",
|
|
8148
|
+
cliName: "search",
|
|
8149
|
+
optionKey: "search",
|
|
8150
|
+
source: "query",
|
|
8151
|
+
type: "string",
|
|
8152
|
+
required: false,
|
|
8153
|
+
description: "Filter by category/sub-category name or id"
|
|
8154
|
+
}
|
|
8155
|
+
],
|
|
8524
8156
|
hasRequestBody: false,
|
|
8525
8157
|
responseFields: [
|
|
8526
8158
|
{
|
|
@@ -8838,7 +8470,7 @@ var operations = [
|
|
|
8838
8470
|
source: "path",
|
|
8839
8471
|
type: "string",
|
|
8840
8472
|
required: true,
|
|
8841
|
-
description: "Job ID
|
|
8473
|
+
description: "Job ID"
|
|
8842
8474
|
},
|
|
8843
8475
|
{
|
|
8844
8476
|
name: "id",
|
|
@@ -9175,7 +8807,7 @@ var operations = [
|
|
|
9175
8807
|
optionKey: "callDate",
|
|
9176
8808
|
source: "body",
|
|
9177
8809
|
type: "string",
|
|
9178
|
-
required:
|
|
8810
|
+
required: true,
|
|
9179
8811
|
description: "call date (ISO 8601 datetime)",
|
|
9180
8812
|
format: "date-time"
|
|
9181
8813
|
},
|
|
@@ -9431,7 +9063,7 @@ var operations = [
|
|
|
9431
9063
|
source: "path",
|
|
9432
9064
|
type: "string",
|
|
9433
9065
|
required: true,
|
|
9434
|
-
description: ""
|
|
9066
|
+
description: "Job ID"
|
|
9435
9067
|
}
|
|
9436
9068
|
],
|
|
9437
9069
|
hasRequestBody: false
|
|
@@ -9795,7 +9427,7 @@ var operations = [
|
|
|
9795
9427
|
optionKey: "callDate",
|
|
9796
9428
|
source: "body",
|
|
9797
9429
|
type: "string",
|
|
9798
|
-
required:
|
|
9430
|
+
required: true,
|
|
9799
9431
|
description: "call date (ISO 8601 datetime)",
|
|
9800
9432
|
format: "date-time"
|
|
9801
9433
|
},
|
|
@@ -11386,6 +11018,15 @@ var operations = [
|
|
|
11386
11018
|
required: true,
|
|
11387
11019
|
description: "Inline contact object — alternative to contactId"
|
|
11388
11020
|
},
|
|
11021
|
+
{
|
|
11022
|
+
name: "notes",
|
|
11023
|
+
cliName: "notes",
|
|
11024
|
+
optionKey: "notes",
|
|
11025
|
+
source: "body",
|
|
11026
|
+
type: "string",
|
|
11027
|
+
required: false,
|
|
11028
|
+
description: "Additional notes or comments"
|
|
11029
|
+
},
|
|
11389
11030
|
{
|
|
11390
11031
|
name: "customFields",
|
|
11391
11032
|
cliName: "custom-fields",
|
|
@@ -11567,13 +11208,13 @@ var operations = [
|
|
|
11567
11208
|
description: ""
|
|
11568
11209
|
},
|
|
11569
11210
|
{
|
|
11570
|
-
name: "
|
|
11571
|
-
cliName: "
|
|
11572
|
-
optionKey: "
|
|
11211
|
+
name: "notes",
|
|
11212
|
+
cliName: "notes",
|
|
11213
|
+
optionKey: "notes",
|
|
11573
11214
|
source: "body",
|
|
11574
11215
|
type: "string",
|
|
11575
11216
|
required: false,
|
|
11576
|
-
description: "
|
|
11217
|
+
description: "Additional notes or comments"
|
|
11577
11218
|
},
|
|
11578
11219
|
{
|
|
11579
11220
|
name: "customFields",
|
|
@@ -11956,6 +11597,15 @@ var operations = [
|
|
|
11956
11597
|
required: true,
|
|
11957
11598
|
description: "Inline contact object — alternative to contactId"
|
|
11958
11599
|
},
|
|
11600
|
+
{
|
|
11601
|
+
name: "notes",
|
|
11602
|
+
cliName: "notes",
|
|
11603
|
+
optionKey: "notes",
|
|
11604
|
+
source: "body",
|
|
11605
|
+
type: "string",
|
|
11606
|
+
required: false,
|
|
11607
|
+
description: "Additional notes or comments"
|
|
11608
|
+
},
|
|
11959
11609
|
{
|
|
11960
11610
|
name: "customFields",
|
|
11961
11611
|
cliName: "custom-fields",
|
|
@@ -11965,6 +11615,15 @@ var operations = [
|
|
|
11965
11615
|
required: false,
|
|
11966
11616
|
description: "Custom fields as key-value pairs — validated against tenant field definitions"
|
|
11967
11617
|
},
|
|
11618
|
+
{
|
|
11619
|
+
name: "socialNetwork",
|
|
11620
|
+
cliName: "social-network",
|
|
11621
|
+
optionKey: "socialNetwork",
|
|
11622
|
+
source: "body",
|
|
11623
|
+
type: "object",
|
|
11624
|
+
required: false,
|
|
11625
|
+
description: ""
|
|
11626
|
+
},
|
|
11968
11627
|
{
|
|
11969
11628
|
name: "hidePrices",
|
|
11970
11629
|
cliName: "hide-prices",
|
|
@@ -12127,13 +11786,13 @@ var operations = [
|
|
|
12127
11786
|
description: ""
|
|
12128
11787
|
},
|
|
12129
11788
|
{
|
|
12130
|
-
name: "
|
|
12131
|
-
cliName: "
|
|
12132
|
-
optionKey: "
|
|
11789
|
+
name: "notes",
|
|
11790
|
+
cliName: "notes",
|
|
11791
|
+
optionKey: "notes",
|
|
12133
11792
|
source: "body",
|
|
12134
11793
|
type: "string",
|
|
12135
11794
|
required: false,
|
|
12136
|
-
description: "
|
|
11795
|
+
description: "Additional notes or comments"
|
|
12137
11796
|
},
|
|
12138
11797
|
{
|
|
12139
11798
|
name: "customFields",
|
|
@@ -12144,6 +11803,15 @@ var operations = [
|
|
|
12144
11803
|
required: false,
|
|
12145
11804
|
description: "Custom fields as key-value pairs — validated against tenant field definitions"
|
|
12146
11805
|
},
|
|
11806
|
+
{
|
|
11807
|
+
name: "socialNetwork",
|
|
11808
|
+
cliName: "social-network",
|
|
11809
|
+
optionKey: "socialNetwork",
|
|
11810
|
+
source: "body",
|
|
11811
|
+
type: "object",
|
|
11812
|
+
required: false,
|
|
11813
|
+
description: ""
|
|
11814
|
+
},
|
|
12147
11815
|
{
|
|
12148
11816
|
name: "zones",
|
|
12149
11817
|
cliName: "zones",
|
|
@@ -12416,6 +12084,15 @@ var operations = [
|
|
|
12416
12084
|
required: true,
|
|
12417
12085
|
description: "Inline contact object — alternative to contactId"
|
|
12418
12086
|
},
|
|
12087
|
+
{
|
|
12088
|
+
name: "notes",
|
|
12089
|
+
cliName: "notes",
|
|
12090
|
+
optionKey: "notes",
|
|
12091
|
+
source: "body",
|
|
12092
|
+
type: "string",
|
|
12093
|
+
required: false,
|
|
12094
|
+
description: "Additional notes or comments"
|
|
12095
|
+
},
|
|
12419
12096
|
{
|
|
12420
12097
|
name: "customFields",
|
|
12421
12098
|
cliName: "custom-fields",
|
|
@@ -12425,6 +12102,15 @@ var operations = [
|
|
|
12425
12102
|
required: false,
|
|
12426
12103
|
description: "Custom fields as key-value pairs — validated against tenant field definitions"
|
|
12427
12104
|
},
|
|
12105
|
+
{
|
|
12106
|
+
name: "socialNetwork",
|
|
12107
|
+
cliName: "social-network",
|
|
12108
|
+
optionKey: "socialNetwork",
|
|
12109
|
+
source: "body",
|
|
12110
|
+
type: "object",
|
|
12111
|
+
required: false,
|
|
12112
|
+
description: ""
|
|
12113
|
+
},
|
|
12428
12114
|
{
|
|
12429
12115
|
name: "taxId",
|
|
12430
12116
|
cliName: "tax-id",
|
|
@@ -12587,13 +12273,13 @@ var operations = [
|
|
|
12587
12273
|
description: ""
|
|
12588
12274
|
},
|
|
12589
12275
|
{
|
|
12590
|
-
name: "
|
|
12591
|
-
cliName: "
|
|
12592
|
-
optionKey: "
|
|
12276
|
+
name: "notes",
|
|
12277
|
+
cliName: "notes",
|
|
12278
|
+
optionKey: "notes",
|
|
12593
12279
|
source: "body",
|
|
12594
12280
|
type: "string",
|
|
12595
12281
|
required: false,
|
|
12596
|
-
description: "
|
|
12282
|
+
description: "Additional notes or comments"
|
|
12597
12283
|
},
|
|
12598
12284
|
{
|
|
12599
12285
|
name: "customFields",
|
|
@@ -12604,6 +12290,15 @@ var operations = [
|
|
|
12604
12290
|
required: false,
|
|
12605
12291
|
description: "Custom fields as key-value pairs — validated against tenant field definitions"
|
|
12606
12292
|
},
|
|
12293
|
+
{
|
|
12294
|
+
name: "socialNetwork",
|
|
12295
|
+
cliName: "social-network",
|
|
12296
|
+
optionKey: "socialNetwork",
|
|
12297
|
+
source: "body",
|
|
12298
|
+
type: "object",
|
|
12299
|
+
required: false,
|
|
12300
|
+
description: ""
|
|
12301
|
+
},
|
|
12607
12302
|
{
|
|
12608
12303
|
name: "zones",
|
|
12609
12304
|
cliName: "zones",
|