@vm0/cli 9.94.2 → 9.95.0
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/{chunk-VSMRILJH.js → chunk-RLI2BL4P.js} +978 -10
- package/chunk-RLI2BL4P.js.map +1 -0
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +31 -14
- package/zero.js.map +1 -1
- package/chunk-VSMRILJH.js.map +0 -1
|
@@ -49,7 +49,7 @@ if (DSN) {
|
|
|
49
49
|
Sentry.init({
|
|
50
50
|
dsn: DSN,
|
|
51
51
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
52
|
-
release: "9.
|
|
52
|
+
release: "9.95.0",
|
|
53
53
|
sendDefaultPii: false,
|
|
54
54
|
tracesSampleRate: 0,
|
|
55
55
|
shutdownTimeout: 500,
|
|
@@ -68,7 +68,7 @@ if (DSN) {
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
Sentry.setContext("cli", {
|
|
71
|
-
version: "9.
|
|
71
|
+
version: "9.95.0",
|
|
72
72
|
command: process.argv.slice(2).join(" ")
|
|
73
73
|
});
|
|
74
74
|
Sentry.setContext("runtime", {
|
|
@@ -658,7 +658,7 @@ var composeListItemSchema = z3.object({
|
|
|
658
658
|
});
|
|
659
659
|
var composesListContract = c.router({
|
|
660
660
|
/**
|
|
661
|
-
* GET /api/agent/composes/list
|
|
661
|
+
* GET /api/agent/composes/list
|
|
662
662
|
* List all agent composes for an org
|
|
663
663
|
* Uses the authenticated user's active org.
|
|
664
664
|
*/
|
|
@@ -1050,8 +1050,6 @@ var unifiedRunRequestSchema = z8.object({
|
|
|
1050
1050
|
memoryName: z8.string().optional(),
|
|
1051
1051
|
// Debug flag to force real Claude in mock environments (internal use only)
|
|
1052
1052
|
debugNoMockClaude: z8.boolean().optional(),
|
|
1053
|
-
// Model provider for automatic secret injection
|
|
1054
|
-
modelProvider: z8.string().optional(),
|
|
1055
1053
|
// Required
|
|
1056
1054
|
prompt: z8.string().min(1, "Missing prompt"),
|
|
1057
1055
|
// Optional system prompt to append to the agent's system prompt
|
|
@@ -23962,7 +23960,87 @@ var stravaFirewall = {
|
|
|
23962
23960
|
Authorization: "Bearer ${{ secrets.STRAVA_TOKEN }}"
|
|
23963
23961
|
}
|
|
23964
23962
|
},
|
|
23965
|
-
permissions: [
|
|
23963
|
+
permissions: [
|
|
23964
|
+
{
|
|
23965
|
+
name: "activity:read",
|
|
23966
|
+
rules: [
|
|
23967
|
+
"GET /api/v3/activities/{id}",
|
|
23968
|
+
"GET /api/v3/activities/{id}/comments",
|
|
23969
|
+
"GET /api/v3/activities/{id}/kudos",
|
|
23970
|
+
"GET /api/v3/activities/{id}/laps",
|
|
23971
|
+
"GET /api/v3/activities/{id}/streams",
|
|
23972
|
+
"GET /api/v3/activities/{id}/zones",
|
|
23973
|
+
"GET /api/v3/athlete/activities"
|
|
23974
|
+
]
|
|
23975
|
+
},
|
|
23976
|
+
{
|
|
23977
|
+
name: "activity:read_all",
|
|
23978
|
+
rules: [
|
|
23979
|
+
"GET /api/v3/activities/{id}",
|
|
23980
|
+
"GET /api/v3/activities/{id}/comments",
|
|
23981
|
+
"GET /api/v3/activities/{id}/kudos",
|
|
23982
|
+
"GET /api/v3/activities/{id}/laps",
|
|
23983
|
+
"GET /api/v3/activities/{id}/streams",
|
|
23984
|
+
"GET /api/v3/activities/{id}/zones",
|
|
23985
|
+
"GET /api/v3/athlete/activities"
|
|
23986
|
+
]
|
|
23987
|
+
},
|
|
23988
|
+
{
|
|
23989
|
+
name: "activity:write",
|
|
23990
|
+
rules: [
|
|
23991
|
+
"POST /api/v3/activities",
|
|
23992
|
+
"PUT /api/v3/activities/{id}",
|
|
23993
|
+
"POST /api/v3/uploads",
|
|
23994
|
+
"GET /api/v3/uploads/{uploadId}"
|
|
23995
|
+
]
|
|
23996
|
+
},
|
|
23997
|
+
{
|
|
23998
|
+
name: "profile:read_all",
|
|
23999
|
+
rules: ["GET /api/v3/athlete", "GET /api/v3/athlete/zones"]
|
|
24000
|
+
},
|
|
24001
|
+
{
|
|
24002
|
+
name: "profile:write",
|
|
24003
|
+
rules: ["PUT /api/v3/athlete", "PUT /api/v3/segments/{id}/starred"]
|
|
24004
|
+
},
|
|
24005
|
+
{
|
|
24006
|
+
name: "read",
|
|
24007
|
+
rules: [
|
|
24008
|
+
"GET /api/v3/athlete",
|
|
24009
|
+
"GET /api/v3/athlete/clubs",
|
|
24010
|
+
"GET /api/v3/athletes/{id}/routes",
|
|
24011
|
+
"GET /api/v3/athletes/{id}/stats",
|
|
24012
|
+
"GET /api/v3/clubs/{id}",
|
|
24013
|
+
"GET /api/v3/clubs/{id}/activities",
|
|
24014
|
+
"GET /api/v3/clubs/{id}/admins",
|
|
24015
|
+
"GET /api/v3/clubs/{id}/members",
|
|
24016
|
+
"GET /api/v3/gear/{id}",
|
|
24017
|
+
"GET /api/v3/routes/{id}",
|
|
24018
|
+
"GET /api/v3/routes/{id}/export_gpx",
|
|
24019
|
+
"GET /api/v3/routes/{id}/export_tcx",
|
|
24020
|
+
"GET /api/v3/routes/{id}/streams",
|
|
24021
|
+
"GET /api/v3/segment_efforts",
|
|
24022
|
+
"GET /api/v3/segment_efforts/{id}",
|
|
24023
|
+
"GET /api/v3/segments/explore",
|
|
24024
|
+
"GET /api/v3/segments/starred",
|
|
24025
|
+
"GET /api/v3/segments/{id}",
|
|
24026
|
+
"GET /api/v3/segments/{id}/streams"
|
|
24027
|
+
]
|
|
24028
|
+
},
|
|
24029
|
+
{
|
|
24030
|
+
name: "read_all",
|
|
24031
|
+
rules: [
|
|
24032
|
+
"GET /api/v3/athletes/{id}/routes",
|
|
24033
|
+
"GET /api/v3/routes/{id}",
|
|
24034
|
+
"GET /api/v3/routes/{id}/export_gpx",
|
|
24035
|
+
"GET /api/v3/routes/{id}/export_tcx",
|
|
24036
|
+
"GET /api/v3/routes/{id}/streams",
|
|
24037
|
+
"GET /api/v3/segment_efforts/{id}/streams",
|
|
24038
|
+
"GET /api/v3/segments/starred",
|
|
24039
|
+
"GET /api/v3/segments/{id}",
|
|
24040
|
+
"GET /api/v3/segments/{id}/streams"
|
|
24041
|
+
]
|
|
24042
|
+
}
|
|
24043
|
+
]
|
|
23966
24044
|
}
|
|
23967
24045
|
]
|
|
23968
24046
|
};
|
|
@@ -25337,13 +25415,901 @@ var xeroFirewall = {
|
|
|
25337
25415
|
},
|
|
25338
25416
|
apis: [
|
|
25339
25417
|
{
|
|
25340
|
-
base: "https://api.xero.com",
|
|
25418
|
+
base: "https://api.xero.com/api.xro/2.0",
|
|
25341
25419
|
auth: {
|
|
25342
25420
|
headers: {
|
|
25343
25421
|
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
25344
25422
|
}
|
|
25345
25423
|
},
|
|
25346
|
-
permissions: [
|
|
25424
|
+
permissions: [
|
|
25425
|
+
{
|
|
25426
|
+
name: "accounting.attachments",
|
|
25427
|
+
rules: [
|
|
25428
|
+
"GET /Accounts/{AccountID}/Attachments",
|
|
25429
|
+
"GET /Accounts/{AccountID}/Attachments/{AttachmentID}",
|
|
25430
|
+
"GET /Accounts/{AccountID}/Attachments/{FileName}",
|
|
25431
|
+
"POST /Accounts/{AccountID}/Attachments/{FileName}",
|
|
25432
|
+
"PUT /Accounts/{AccountID}/Attachments/{FileName}",
|
|
25433
|
+
"GET /BankTransactions/{BankTransactionID}/Attachments",
|
|
25434
|
+
"GET /BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}",
|
|
25435
|
+
"GET /BankTransactions/{BankTransactionID}/Attachments/{FileName}",
|
|
25436
|
+
"POST /BankTransactions/{BankTransactionID}/Attachments/{FileName}",
|
|
25437
|
+
"PUT /BankTransactions/{BankTransactionID}/Attachments/{FileName}",
|
|
25438
|
+
"GET /BankTransfers/{BankTransferID}/Attachments",
|
|
25439
|
+
"GET /BankTransfers/{BankTransferID}/Attachments/{AttachmentID}",
|
|
25440
|
+
"GET /BankTransfers/{BankTransferID}/Attachments/{FileName}",
|
|
25441
|
+
"POST /BankTransfers/{BankTransferID}/Attachments/{FileName}",
|
|
25442
|
+
"PUT /BankTransfers/{BankTransferID}/Attachments/{FileName}",
|
|
25443
|
+
"GET /Contacts/{ContactID}/Attachments",
|
|
25444
|
+
"GET /Contacts/{ContactID}/Attachments/{AttachmentID}",
|
|
25445
|
+
"GET /Contacts/{ContactID}/Attachments/{FileName}",
|
|
25446
|
+
"POST /Contacts/{ContactID}/Attachments/{FileName}",
|
|
25447
|
+
"PUT /Contacts/{ContactID}/Attachments/{FileName}",
|
|
25448
|
+
"GET /CreditNotes/{CreditNoteID}/Attachments",
|
|
25449
|
+
"GET /CreditNotes/{CreditNoteID}/Attachments/{AttachmentID}",
|
|
25450
|
+
"GET /CreditNotes/{CreditNoteID}/Attachments/{FileName}",
|
|
25451
|
+
"POST /CreditNotes/{CreditNoteID}/Attachments/{FileName}",
|
|
25452
|
+
"PUT /CreditNotes/{CreditNoteID}/Attachments/{FileName}",
|
|
25453
|
+
"GET /Invoices/{InvoiceID}/Attachments",
|
|
25454
|
+
"GET /Invoices/{InvoiceID}/Attachments/{AttachmentID}",
|
|
25455
|
+
"GET /Invoices/{InvoiceID}/Attachments/{FileName}",
|
|
25456
|
+
"POST /Invoices/{InvoiceID}/Attachments/{FileName}",
|
|
25457
|
+
"PUT /Invoices/{InvoiceID}/Attachments/{FileName}",
|
|
25458
|
+
"GET /ManualJournals/{ManualJournalID}/Attachments",
|
|
25459
|
+
"GET /ManualJournals/{ManualJournalID}/Attachments/{AttachmentID}",
|
|
25460
|
+
"GET /ManualJournals/{ManualJournalID}/Attachments/{FileName}",
|
|
25461
|
+
"POST /ManualJournals/{ManualJournalID}/Attachments/{FileName}",
|
|
25462
|
+
"PUT /ManualJournals/{ManualJournalID}/Attachments/{FileName}",
|
|
25463
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/Attachments",
|
|
25464
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/Attachments/{AttachmentID}",
|
|
25465
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}",
|
|
25466
|
+
"POST /PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}",
|
|
25467
|
+
"PUT /PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}",
|
|
25468
|
+
"GET /Quotes/{QuoteID}/Attachments",
|
|
25469
|
+
"GET /Quotes/{QuoteID}/Attachments/{AttachmentID}",
|
|
25470
|
+
"GET /Quotes/{QuoteID}/Attachments/{FileName}",
|
|
25471
|
+
"POST /Quotes/{QuoteID}/Attachments/{FileName}",
|
|
25472
|
+
"PUT /Quotes/{QuoteID}/Attachments/{FileName}",
|
|
25473
|
+
"GET /Receipts/{ReceiptID}/Attachments",
|
|
25474
|
+
"GET /Receipts/{ReceiptID}/Attachments/{AttachmentID}",
|
|
25475
|
+
"GET /Receipts/{ReceiptID}/Attachments/{FileName}",
|
|
25476
|
+
"POST /Receipts/{ReceiptID}/Attachments/{FileName}",
|
|
25477
|
+
"PUT /Receipts/{ReceiptID}/Attachments/{FileName}",
|
|
25478
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}/Attachments",
|
|
25479
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{AttachmentID}",
|
|
25480
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}",
|
|
25481
|
+
"POST /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}",
|
|
25482
|
+
"PUT /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}"
|
|
25483
|
+
]
|
|
25484
|
+
},
|
|
25485
|
+
{
|
|
25486
|
+
name: "accounting.attachments.read",
|
|
25487
|
+
rules: [
|
|
25488
|
+
"GET /Accounts/{AccountID}/Attachments",
|
|
25489
|
+
"GET /Accounts/{AccountID}/Attachments/{AttachmentID}",
|
|
25490
|
+
"GET /Accounts/{AccountID}/Attachments/{FileName}",
|
|
25491
|
+
"GET /BankTransactions/{BankTransactionID}/Attachments",
|
|
25492
|
+
"GET /BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}",
|
|
25493
|
+
"GET /BankTransactions/{BankTransactionID}/Attachments/{FileName}",
|
|
25494
|
+
"GET /BankTransfers/{BankTransferID}/Attachments",
|
|
25495
|
+
"GET /BankTransfers/{BankTransferID}/Attachments/{AttachmentID}",
|
|
25496
|
+
"GET /BankTransfers/{BankTransferID}/Attachments/{FileName}",
|
|
25497
|
+
"GET /Contacts/{ContactID}/Attachments",
|
|
25498
|
+
"GET /Contacts/{ContactID}/Attachments/{AttachmentID}",
|
|
25499
|
+
"GET /Contacts/{ContactID}/Attachments/{FileName}",
|
|
25500
|
+
"GET /CreditNotes/{CreditNoteID}/Attachments",
|
|
25501
|
+
"GET /CreditNotes/{CreditNoteID}/Attachments/{AttachmentID}",
|
|
25502
|
+
"GET /CreditNotes/{CreditNoteID}/Attachments/{FileName}",
|
|
25503
|
+
"GET /Invoices/{InvoiceID}/Attachments",
|
|
25504
|
+
"GET /Invoices/{InvoiceID}/Attachments/{AttachmentID}",
|
|
25505
|
+
"GET /Invoices/{InvoiceID}/Attachments/{FileName}",
|
|
25506
|
+
"GET /ManualJournals/{ManualJournalID}/Attachments",
|
|
25507
|
+
"GET /ManualJournals/{ManualJournalID}/Attachments/{AttachmentID}",
|
|
25508
|
+
"GET /ManualJournals/{ManualJournalID}/Attachments/{FileName}",
|
|
25509
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/Attachments",
|
|
25510
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/Attachments/{AttachmentID}",
|
|
25511
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}",
|
|
25512
|
+
"GET /Quotes/{QuoteID}/Attachments",
|
|
25513
|
+
"GET /Quotes/{QuoteID}/Attachments/{AttachmentID}",
|
|
25514
|
+
"GET /Quotes/{QuoteID}/Attachments/{FileName}",
|
|
25515
|
+
"GET /Receipts/{ReceiptID}/Attachments",
|
|
25516
|
+
"GET /Receipts/{ReceiptID}/Attachments/{AttachmentID}",
|
|
25517
|
+
"GET /Receipts/{ReceiptID}/Attachments/{FileName}",
|
|
25518
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}/Attachments",
|
|
25519
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{AttachmentID}",
|
|
25520
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}"
|
|
25521
|
+
]
|
|
25522
|
+
},
|
|
25523
|
+
{
|
|
25524
|
+
name: "accounting.budgets.read",
|
|
25525
|
+
rules: ["GET /Budgets", "GET /Budgets/{BudgetID}"]
|
|
25526
|
+
},
|
|
25527
|
+
{
|
|
25528
|
+
name: "accounting.contacts",
|
|
25529
|
+
rules: [
|
|
25530
|
+
"GET /ContactGroups",
|
|
25531
|
+
"PUT /ContactGroups",
|
|
25532
|
+
"GET /ContactGroups/{ContactGroupID}",
|
|
25533
|
+
"POST /ContactGroups/{ContactGroupID}",
|
|
25534
|
+
"PUT /ContactGroups/{ContactGroupID}/Contacts",
|
|
25535
|
+
"DELETE /ContactGroups/{ContactGroupID}/Contacts",
|
|
25536
|
+
"DELETE /ContactGroups/{ContactGroupID}/Contacts/{ContactID}",
|
|
25537
|
+
"GET /Contacts",
|
|
25538
|
+
"POST /Contacts",
|
|
25539
|
+
"PUT /Contacts",
|
|
25540
|
+
"GET /Contacts/{ContactID}",
|
|
25541
|
+
"POST /Contacts/{ContactID}",
|
|
25542
|
+
"GET /Contacts/{ContactID}/History",
|
|
25543
|
+
"PUT /Contacts/{ContactID}/History",
|
|
25544
|
+
"GET /Contacts/{ContactNumber}"
|
|
25545
|
+
]
|
|
25546
|
+
},
|
|
25547
|
+
{
|
|
25548
|
+
name: "accounting.contacts.read",
|
|
25549
|
+
rules: [
|
|
25550
|
+
"GET /ContactGroups",
|
|
25551
|
+
"GET /ContactGroups/{ContactGroupID}",
|
|
25552
|
+
"GET /Contacts",
|
|
25553
|
+
"GET /Contacts/{ContactID}",
|
|
25554
|
+
"GET /Contacts/{ContactID}/History",
|
|
25555
|
+
"GET /Contacts/{ContactNumber}"
|
|
25556
|
+
]
|
|
25557
|
+
},
|
|
25558
|
+
{
|
|
25559
|
+
name: "accounting.journals.read",
|
|
25560
|
+
rules: [
|
|
25561
|
+
"GET /Journals",
|
|
25562
|
+
"GET /Journals/{JournalID}",
|
|
25563
|
+
"GET /Journals/{JournalNumber}"
|
|
25564
|
+
]
|
|
25565
|
+
},
|
|
25566
|
+
{
|
|
25567
|
+
name: "accounting.reports.read",
|
|
25568
|
+
rules: [
|
|
25569
|
+
"GET /Reports",
|
|
25570
|
+
"GET /Reports/AgedPayablesByContact",
|
|
25571
|
+
"GET /Reports/AgedReceivablesByContact",
|
|
25572
|
+
"GET /Reports/BalanceSheet",
|
|
25573
|
+
"GET /Reports/BankSummary",
|
|
25574
|
+
"GET /Reports/BudgetSummary",
|
|
25575
|
+
"GET /Reports/ExecutiveSummary",
|
|
25576
|
+
"GET /Reports/ProfitAndLoss",
|
|
25577
|
+
"GET /Reports/TenNinetyNine",
|
|
25578
|
+
"GET /Reports/TrialBalance",
|
|
25579
|
+
"GET /Reports/{ReportID}"
|
|
25580
|
+
]
|
|
25581
|
+
},
|
|
25582
|
+
{
|
|
25583
|
+
name: "accounting.reports.tenninetynine.read",
|
|
25584
|
+
rules: ["GET /Reports/TenNinetyNine"]
|
|
25585
|
+
},
|
|
25586
|
+
{
|
|
25587
|
+
name: "accounting.settings",
|
|
25588
|
+
rules: [
|
|
25589
|
+
"GET /Accounts",
|
|
25590
|
+
"PUT /Accounts",
|
|
25591
|
+
"GET /Accounts/{AccountID}",
|
|
25592
|
+
"POST /Accounts/{AccountID}",
|
|
25593
|
+
"DELETE /Accounts/{AccountID}",
|
|
25594
|
+
"GET /BrandingThemes",
|
|
25595
|
+
"GET /BrandingThemes/{BrandingThemeID}",
|
|
25596
|
+
"GET /Contacts/{ContactID}/CISSettings",
|
|
25597
|
+
"GET /Currencies",
|
|
25598
|
+
"PUT /Currencies",
|
|
25599
|
+
"GET /Employees",
|
|
25600
|
+
"POST /Employees",
|
|
25601
|
+
"PUT /Employees",
|
|
25602
|
+
"GET /Employees/{EmployeeID}",
|
|
25603
|
+
"GET /InvoiceReminders/Settings",
|
|
25604
|
+
"GET /Items",
|
|
25605
|
+
"POST /Items",
|
|
25606
|
+
"PUT /Items",
|
|
25607
|
+
"GET /Items/{ItemID}",
|
|
25608
|
+
"POST /Items/{ItemID}",
|
|
25609
|
+
"DELETE /Items/{ItemID}",
|
|
25610
|
+
"GET /Items/{ItemID}/History",
|
|
25611
|
+
"PUT /Items/{ItemID}/History",
|
|
25612
|
+
"GET /Organisation",
|
|
25613
|
+
"GET /Organisation/Actions",
|
|
25614
|
+
"GET /Organisation/{OrganisationID}/CISSettings",
|
|
25615
|
+
"POST /Setup",
|
|
25616
|
+
"GET /TaxRates",
|
|
25617
|
+
"POST /TaxRates",
|
|
25618
|
+
"PUT /TaxRates",
|
|
25619
|
+
"GET /TaxRates/{TaxType}",
|
|
25620
|
+
"GET /TrackingCategories",
|
|
25621
|
+
"PUT /TrackingCategories",
|
|
25622
|
+
"GET /TrackingCategories/{TrackingCategoryID}",
|
|
25623
|
+
"POST /TrackingCategories/{TrackingCategoryID}",
|
|
25624
|
+
"DELETE /TrackingCategories/{TrackingCategoryID}",
|
|
25625
|
+
"PUT /TrackingCategories/{TrackingCategoryID}/Options",
|
|
25626
|
+
"POST /TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}",
|
|
25627
|
+
"DELETE /TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}",
|
|
25628
|
+
"GET /Users",
|
|
25629
|
+
"GET /Users/{UserID}"
|
|
25630
|
+
]
|
|
25631
|
+
},
|
|
25632
|
+
{
|
|
25633
|
+
name: "accounting.settings.read",
|
|
25634
|
+
rules: [
|
|
25635
|
+
"GET /Accounts",
|
|
25636
|
+
"GET /Accounts/{AccountID}",
|
|
25637
|
+
"GET /BrandingThemes",
|
|
25638
|
+
"GET /BrandingThemes/{BrandingThemeID}",
|
|
25639
|
+
"GET /Contacts/{ContactID}/CISSettings",
|
|
25640
|
+
"GET /Currencies",
|
|
25641
|
+
"GET /Employees",
|
|
25642
|
+
"GET /Employees/{EmployeeID}",
|
|
25643
|
+
"GET /InvoiceReminders/Settings",
|
|
25644
|
+
"GET /Items",
|
|
25645
|
+
"GET /Items/{ItemID}",
|
|
25646
|
+
"GET /Items/{ItemID}/History",
|
|
25647
|
+
"GET /Organisation",
|
|
25648
|
+
"GET /Organisation/Actions",
|
|
25649
|
+
"GET /Organisation/{OrganisationID}/CISSettings",
|
|
25650
|
+
"GET /TaxRates",
|
|
25651
|
+
"GET /TaxRates/{TaxType}",
|
|
25652
|
+
"GET /TrackingCategories",
|
|
25653
|
+
"GET /TrackingCategories/{TrackingCategoryID}",
|
|
25654
|
+
"GET /Users",
|
|
25655
|
+
"GET /Users/{UserID}"
|
|
25656
|
+
]
|
|
25657
|
+
},
|
|
25658
|
+
{
|
|
25659
|
+
name: "accounting.transactions",
|
|
25660
|
+
rules: [
|
|
25661
|
+
"GET /BankTransactions",
|
|
25662
|
+
"POST /BankTransactions",
|
|
25663
|
+
"PUT /BankTransactions",
|
|
25664
|
+
"GET /BankTransactions/{BankTransactionID}",
|
|
25665
|
+
"POST /BankTransactions/{BankTransactionID}",
|
|
25666
|
+
"GET /BankTransactions/{BankTransactionID}/History",
|
|
25667
|
+
"PUT /BankTransactions/{BankTransactionID}/History",
|
|
25668
|
+
"GET /BankTransfers",
|
|
25669
|
+
"PUT /BankTransfers",
|
|
25670
|
+
"GET /BankTransfers/{BankTransferID}",
|
|
25671
|
+
"GET /BankTransfers/{BankTransferID}/History",
|
|
25672
|
+
"PUT /BankTransfers/{BankTransferID}/History",
|
|
25673
|
+
"GET /BatchPayments",
|
|
25674
|
+
"POST /BatchPayments",
|
|
25675
|
+
"PUT /BatchPayments",
|
|
25676
|
+
"GET /BatchPayments/{BatchPaymentID}",
|
|
25677
|
+
"POST /BatchPayments/{BatchPaymentID}",
|
|
25678
|
+
"GET /BatchPayments/{BatchPaymentID}/History",
|
|
25679
|
+
"PUT /BatchPayments/{BatchPaymentID}/History",
|
|
25680
|
+
"GET /CreditNotes",
|
|
25681
|
+
"POST /CreditNotes",
|
|
25682
|
+
"PUT /CreditNotes",
|
|
25683
|
+
"GET /CreditNotes/{CreditNoteID}",
|
|
25684
|
+
"POST /CreditNotes/{CreditNoteID}",
|
|
25685
|
+
"PUT /CreditNotes/{CreditNoteID}/Allocations",
|
|
25686
|
+
"DELETE /CreditNotes/{CreditNoteID}/Allocations/{AllocationID}",
|
|
25687
|
+
"GET /CreditNotes/{CreditNoteID}/History",
|
|
25688
|
+
"PUT /CreditNotes/{CreditNoteID}/History",
|
|
25689
|
+
"GET /CreditNotes/{CreditNoteID}/pdf",
|
|
25690
|
+
"GET /ExpenseClaims",
|
|
25691
|
+
"PUT /ExpenseClaims",
|
|
25692
|
+
"GET /ExpenseClaims/{ExpenseClaimID}",
|
|
25693
|
+
"POST /ExpenseClaims/{ExpenseClaimID}",
|
|
25694
|
+
"GET /ExpenseClaims/{ExpenseClaimID}/History",
|
|
25695
|
+
"PUT /ExpenseClaims/{ExpenseClaimID}/History",
|
|
25696
|
+
"GET /Invoices",
|
|
25697
|
+
"POST /Invoices",
|
|
25698
|
+
"PUT /Invoices",
|
|
25699
|
+
"GET /Invoices/{InvoiceID}",
|
|
25700
|
+
"POST /Invoices/{InvoiceID}",
|
|
25701
|
+
"POST /Invoices/{InvoiceID}/Email",
|
|
25702
|
+
"GET /Invoices/{InvoiceID}/History",
|
|
25703
|
+
"PUT /Invoices/{InvoiceID}/History",
|
|
25704
|
+
"GET /Invoices/{InvoiceID}/OnlineInvoice",
|
|
25705
|
+
"GET /Invoices/{InvoiceID}/pdf",
|
|
25706
|
+
"GET /LinkedTransactions",
|
|
25707
|
+
"PUT /LinkedTransactions",
|
|
25708
|
+
"GET /LinkedTransactions/{LinkedTransactionID}",
|
|
25709
|
+
"POST /LinkedTransactions/{LinkedTransactionID}",
|
|
25710
|
+
"DELETE /LinkedTransactions/{LinkedTransactionID}",
|
|
25711
|
+
"GET /ManualJournals",
|
|
25712
|
+
"POST /ManualJournals",
|
|
25713
|
+
"PUT /ManualJournals",
|
|
25714
|
+
"GET /ManualJournals/{ManualJournalID}",
|
|
25715
|
+
"POST /ManualJournals/{ManualJournalID}",
|
|
25716
|
+
"GET /ManualJournals/{ManualJournalID}/History",
|
|
25717
|
+
"PUT /ManualJournals/{ManualJournalID}/History",
|
|
25718
|
+
"GET /Overpayments",
|
|
25719
|
+
"GET /Overpayments/{OverpaymentID}",
|
|
25720
|
+
"PUT /Overpayments/{OverpaymentID}/Allocations",
|
|
25721
|
+
"DELETE /Overpayments/{OverpaymentID}/Allocations/{AllocationID}",
|
|
25722
|
+
"GET /Overpayments/{OverpaymentID}/History",
|
|
25723
|
+
"PUT /Overpayments/{OverpaymentID}/History",
|
|
25724
|
+
"GET /Payments",
|
|
25725
|
+
"POST /Payments",
|
|
25726
|
+
"PUT /Payments",
|
|
25727
|
+
"GET /Payments/{PaymentID}",
|
|
25728
|
+
"POST /Payments/{PaymentID}",
|
|
25729
|
+
"GET /Payments/{PaymentID}/History",
|
|
25730
|
+
"PUT /Payments/{PaymentID}/History",
|
|
25731
|
+
"GET /Prepayments",
|
|
25732
|
+
"GET /Prepayments/{PrepaymentID}",
|
|
25733
|
+
"PUT /Prepayments/{PrepaymentID}/Allocations",
|
|
25734
|
+
"DELETE /Prepayments/{PrepaymentID}/Allocations/{AllocationID}",
|
|
25735
|
+
"GET /Prepayments/{PrepaymentID}/History",
|
|
25736
|
+
"PUT /Prepayments/{PrepaymentID}/History",
|
|
25737
|
+
"GET /PurchaseOrders",
|
|
25738
|
+
"POST /PurchaseOrders",
|
|
25739
|
+
"PUT /PurchaseOrders",
|
|
25740
|
+
"GET /PurchaseOrders/{PurchaseOrderID}",
|
|
25741
|
+
"POST /PurchaseOrders/{PurchaseOrderID}",
|
|
25742
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/History",
|
|
25743
|
+
"PUT /PurchaseOrders/{PurchaseOrderID}/History",
|
|
25744
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/pdf",
|
|
25745
|
+
"GET /PurchaseOrders/{PurchaseOrderNumber}",
|
|
25746
|
+
"GET /Quotes",
|
|
25747
|
+
"POST /Quotes",
|
|
25748
|
+
"PUT /Quotes",
|
|
25749
|
+
"GET /Quotes/{QuoteID}",
|
|
25750
|
+
"POST /Quotes/{QuoteID}",
|
|
25751
|
+
"GET /Quotes/{QuoteID}/History",
|
|
25752
|
+
"PUT /Quotes/{QuoteID}/History",
|
|
25753
|
+
"GET /Quotes/{QuoteID}/pdf",
|
|
25754
|
+
"GET /Receipts",
|
|
25755
|
+
"PUT /Receipts",
|
|
25756
|
+
"GET /Receipts/{ReceiptID}",
|
|
25757
|
+
"POST /Receipts/{ReceiptID}",
|
|
25758
|
+
"GET /Receipts/{ReceiptID}/History",
|
|
25759
|
+
"PUT /Receipts/{ReceiptID}/History",
|
|
25760
|
+
"GET /RepeatingInvoices",
|
|
25761
|
+
"POST /RepeatingInvoices",
|
|
25762
|
+
"PUT /RepeatingInvoices",
|
|
25763
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}",
|
|
25764
|
+
"POST /RepeatingInvoices/{RepeatingInvoiceID}",
|
|
25765
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}/History",
|
|
25766
|
+
"PUT /RepeatingInvoices/{RepeatingInvoiceID}/History"
|
|
25767
|
+
]
|
|
25768
|
+
},
|
|
25769
|
+
{
|
|
25770
|
+
name: "accounting.transactions.read",
|
|
25771
|
+
rules: [
|
|
25772
|
+
"GET /BankTransactions",
|
|
25773
|
+
"GET /BankTransactions/{BankTransactionID}",
|
|
25774
|
+
"GET /BankTransactions/{BankTransactionID}/History",
|
|
25775
|
+
"GET /BankTransfers",
|
|
25776
|
+
"GET /BankTransfers/{BankTransferID}",
|
|
25777
|
+
"GET /BankTransfers/{BankTransferID}/History",
|
|
25778
|
+
"GET /BatchPayments",
|
|
25779
|
+
"GET /BatchPayments/{BatchPaymentID}",
|
|
25780
|
+
"GET /BatchPayments/{BatchPaymentID}/History",
|
|
25781
|
+
"GET /CreditNotes",
|
|
25782
|
+
"GET /CreditNotes/{CreditNoteID}",
|
|
25783
|
+
"GET /CreditNotes/{CreditNoteID}/History",
|
|
25784
|
+
"GET /CreditNotes/{CreditNoteID}/pdf",
|
|
25785
|
+
"GET /ExpenseClaims",
|
|
25786
|
+
"GET /ExpenseClaims/{ExpenseClaimID}",
|
|
25787
|
+
"GET /ExpenseClaims/{ExpenseClaimID}/History",
|
|
25788
|
+
"GET /Invoices",
|
|
25789
|
+
"GET /Invoices/{InvoiceID}",
|
|
25790
|
+
"GET /Invoices/{InvoiceID}/History",
|
|
25791
|
+
"GET /Invoices/{InvoiceID}/OnlineInvoice",
|
|
25792
|
+
"GET /Invoices/{InvoiceID}/pdf",
|
|
25793
|
+
"GET /LinkedTransactions",
|
|
25794
|
+
"GET /LinkedTransactions/{LinkedTransactionID}",
|
|
25795
|
+
"GET /ManualJournals",
|
|
25796
|
+
"GET /ManualJournals/{ManualJournalID}",
|
|
25797
|
+
"GET /ManualJournals/{ManualJournalID}/History",
|
|
25798
|
+
"GET /Overpayments",
|
|
25799
|
+
"GET /Overpayments/{OverpaymentID}",
|
|
25800
|
+
"GET /Overpayments/{OverpaymentID}/History",
|
|
25801
|
+
"GET /Payments",
|
|
25802
|
+
"GET /Payments/{PaymentID}",
|
|
25803
|
+
"GET /Payments/{PaymentID}/History",
|
|
25804
|
+
"GET /Prepayments",
|
|
25805
|
+
"GET /Prepayments/{PrepaymentID}",
|
|
25806
|
+
"GET /Prepayments/{PrepaymentID}/History",
|
|
25807
|
+
"GET /PurchaseOrders",
|
|
25808
|
+
"GET /PurchaseOrders/{PurchaseOrderID}",
|
|
25809
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/History",
|
|
25810
|
+
"GET /PurchaseOrders/{PurchaseOrderID}/pdf",
|
|
25811
|
+
"GET /PurchaseOrders/{PurchaseOrderNumber}",
|
|
25812
|
+
"GET /Quotes",
|
|
25813
|
+
"GET /Quotes/{QuoteID}",
|
|
25814
|
+
"GET /Quotes/{QuoteID}/History",
|
|
25815
|
+
"GET /Quotes/{QuoteID}/pdf",
|
|
25816
|
+
"GET /Receipts",
|
|
25817
|
+
"GET /Receipts/{ReceiptID}",
|
|
25818
|
+
"GET /Receipts/{ReceiptID}/History",
|
|
25819
|
+
"GET /RepeatingInvoices",
|
|
25820
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}",
|
|
25821
|
+
"GET /RepeatingInvoices/{RepeatingInvoiceID}/History"
|
|
25822
|
+
]
|
|
25823
|
+
},
|
|
25824
|
+
{
|
|
25825
|
+
name: "paymentservices",
|
|
25826
|
+
rules: [
|
|
25827
|
+
"GET /BrandingThemes/{BrandingThemeID}/PaymentServices",
|
|
25828
|
+
"POST /BrandingThemes/{BrandingThemeID}/PaymentServices",
|
|
25829
|
+
"GET /PaymentServices",
|
|
25830
|
+
"PUT /PaymentServices"
|
|
25831
|
+
]
|
|
25832
|
+
}
|
|
25833
|
+
]
|
|
25834
|
+
},
|
|
25835
|
+
{
|
|
25836
|
+
base: "https://api.xero.com/appstore/2.0",
|
|
25837
|
+
auth: {
|
|
25838
|
+
headers: {
|
|
25839
|
+
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
25840
|
+
}
|
|
25841
|
+
},
|
|
25842
|
+
permissions: [
|
|
25843
|
+
{
|
|
25844
|
+
name: "marketplace.billing",
|
|
25845
|
+
rules: [
|
|
25846
|
+
"GET /subscriptions/{subscriptionId}",
|
|
25847
|
+
"POST /subscriptions/{subscriptionId}/items/{subscriptionItemId}/usage-records",
|
|
25848
|
+
"PUT /subscriptions/{subscriptionId}/items/{subscriptionItemId}/usage-records/{usageRecordId}",
|
|
25849
|
+
"GET /subscriptions/{subscriptionId}/usage-records"
|
|
25850
|
+
]
|
|
25851
|
+
}
|
|
25852
|
+
]
|
|
25853
|
+
},
|
|
25854
|
+
{
|
|
25855
|
+
base: "https://api.xero.com/assets.xro/1.0",
|
|
25856
|
+
auth: {
|
|
25857
|
+
headers: {
|
|
25858
|
+
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
25859
|
+
}
|
|
25860
|
+
},
|
|
25861
|
+
permissions: [
|
|
25862
|
+
{
|
|
25863
|
+
name: "assets",
|
|
25864
|
+
rules: [
|
|
25865
|
+
"GET /AssetTypes",
|
|
25866
|
+
"POST /AssetTypes",
|
|
25867
|
+
"GET /Assets",
|
|
25868
|
+
"POST /Assets",
|
|
25869
|
+
"GET /Assets/{id}",
|
|
25870
|
+
"GET /Settings"
|
|
25871
|
+
]
|
|
25872
|
+
},
|
|
25873
|
+
{
|
|
25874
|
+
name: "assets.read",
|
|
25875
|
+
rules: [
|
|
25876
|
+
"GET /AssetTypes",
|
|
25877
|
+
"GET /Assets",
|
|
25878
|
+
"GET /Assets/{id}",
|
|
25879
|
+
"GET /Settings"
|
|
25880
|
+
]
|
|
25881
|
+
}
|
|
25882
|
+
]
|
|
25883
|
+
},
|
|
25884
|
+
{
|
|
25885
|
+
base: "https://api.xero.com/bankfeeds.xro/1.0",
|
|
25886
|
+
auth: {
|
|
25887
|
+
headers: {
|
|
25888
|
+
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
25889
|
+
}
|
|
25890
|
+
},
|
|
25891
|
+
permissions: [
|
|
25892
|
+
{
|
|
25893
|
+
name: "bankfeeds",
|
|
25894
|
+
rules: [
|
|
25895
|
+
"GET /FeedConnections",
|
|
25896
|
+
"POST /FeedConnections",
|
|
25897
|
+
"POST /FeedConnections/DeleteRequests",
|
|
25898
|
+
"GET /FeedConnections/{id}",
|
|
25899
|
+
"GET /Statements",
|
|
25900
|
+
"POST /Statements",
|
|
25901
|
+
"GET /Statements/{statementId}"
|
|
25902
|
+
]
|
|
25903
|
+
}
|
|
25904
|
+
]
|
|
25905
|
+
},
|
|
25906
|
+
{
|
|
25907
|
+
base: "https://api.xero.com/files.xro/1.0",
|
|
25908
|
+
auth: {
|
|
25909
|
+
headers: {
|
|
25910
|
+
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
25911
|
+
}
|
|
25912
|
+
},
|
|
25913
|
+
permissions: [
|
|
25914
|
+
{
|
|
25915
|
+
name: "files",
|
|
25916
|
+
rules: [
|
|
25917
|
+
"GET /Associations/Count",
|
|
25918
|
+
"GET /Associations/{ObjectId}",
|
|
25919
|
+
"GET /Files",
|
|
25920
|
+
"POST /Files",
|
|
25921
|
+
"GET /Files/{FileId}",
|
|
25922
|
+
"PUT /Files/{FileId}",
|
|
25923
|
+
"DELETE /Files/{FileId}",
|
|
25924
|
+
"GET /Files/{FileId}/Associations",
|
|
25925
|
+
"POST /Files/{FileId}/Associations",
|
|
25926
|
+
"DELETE /Files/{FileId}/Associations/{ObjectId}",
|
|
25927
|
+
"GET /Files/{FileId}/Content",
|
|
25928
|
+
"POST /Files/{FolderId}",
|
|
25929
|
+
"GET /Folders",
|
|
25930
|
+
"POST /Folders",
|
|
25931
|
+
"GET /Folders/{FolderId}",
|
|
25932
|
+
"PUT /Folders/{FolderId}",
|
|
25933
|
+
"DELETE /Folders/{FolderId}",
|
|
25934
|
+
"GET /Inbox"
|
|
25935
|
+
]
|
|
25936
|
+
},
|
|
25937
|
+
{
|
|
25938
|
+
name: "files.read",
|
|
25939
|
+
rules: [
|
|
25940
|
+
"GET /Associations/Count",
|
|
25941
|
+
"GET /Associations/{ObjectId}",
|
|
25942
|
+
"GET /Files",
|
|
25943
|
+
"GET /Files/{FileId}",
|
|
25944
|
+
"GET /Files/{FileId}/Associations",
|
|
25945
|
+
"GET /Files/{FileId}/Content",
|
|
25946
|
+
"GET /Folders",
|
|
25947
|
+
"GET /Folders/{FolderId}",
|
|
25948
|
+
"GET /Inbox"
|
|
25949
|
+
]
|
|
25950
|
+
}
|
|
25951
|
+
]
|
|
25952
|
+
},
|
|
25953
|
+
{
|
|
25954
|
+
base: "https://api.xero.com/finance.xro/1.0",
|
|
25955
|
+
auth: {
|
|
25956
|
+
headers: {
|
|
25957
|
+
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
25958
|
+
}
|
|
25959
|
+
},
|
|
25960
|
+
permissions: [
|
|
25961
|
+
{
|
|
25962
|
+
name: "finance.bankstatementsplus.read",
|
|
25963
|
+
rules: ["GET /BankStatementsPlus/statements"]
|
|
25964
|
+
},
|
|
25965
|
+
{
|
|
25966
|
+
name: "finance.cashvalidation.read",
|
|
25967
|
+
rules: ["GET /CashValidation"]
|
|
25968
|
+
},
|
|
25969
|
+
{
|
|
25970
|
+
name: "finance.statements.read",
|
|
25971
|
+
rules: [
|
|
25972
|
+
"GET /FinancialStatements/BalanceSheet",
|
|
25973
|
+
"GET /FinancialStatements/Cashflow",
|
|
25974
|
+
"GET /FinancialStatements/ProfitAndLoss",
|
|
25975
|
+
"GET /FinancialStatements/TrialBalance",
|
|
25976
|
+
"GET /FinancialStatements/contacts/expense",
|
|
25977
|
+
"GET /FinancialStatements/contacts/revenue"
|
|
25978
|
+
]
|
|
25979
|
+
}
|
|
25980
|
+
]
|
|
25981
|
+
},
|
|
25982
|
+
{
|
|
25983
|
+
base: "https://api.xero.com/payroll.xro/1.0",
|
|
25984
|
+
auth: {
|
|
25985
|
+
headers: {
|
|
25986
|
+
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
25987
|
+
}
|
|
25988
|
+
},
|
|
25989
|
+
permissions: [
|
|
25990
|
+
{
|
|
25991
|
+
name: "payroll.employees",
|
|
25992
|
+
rules: [
|
|
25993
|
+
"GET /Employees",
|
|
25994
|
+
"POST /Employees",
|
|
25995
|
+
"GET /Employees/{EmployeeID}",
|
|
25996
|
+
"POST /Employees/{EmployeeID}",
|
|
25997
|
+
"GET /LeaveApplications",
|
|
25998
|
+
"POST /LeaveApplications",
|
|
25999
|
+
"GET /LeaveApplications/v2",
|
|
26000
|
+
"GET /LeaveApplications/{LeaveApplicationID}",
|
|
26001
|
+
"POST /LeaveApplications/{LeaveApplicationID}",
|
|
26002
|
+
"POST /LeaveApplications/{LeaveApplicationID}/approve",
|
|
26003
|
+
"POST /LeaveApplications/{LeaveApplicationID}/reject"
|
|
26004
|
+
]
|
|
26005
|
+
},
|
|
26006
|
+
{
|
|
26007
|
+
name: "payroll.employees.read",
|
|
26008
|
+
rules: [
|
|
26009
|
+
"GET /Employees",
|
|
26010
|
+
"GET /Employees/{EmployeeID}",
|
|
26011
|
+
"GET /LeaveApplications",
|
|
26012
|
+
"GET /LeaveApplications/v2",
|
|
26013
|
+
"GET /LeaveApplications/{LeaveApplicationID}"
|
|
26014
|
+
]
|
|
26015
|
+
},
|
|
26016
|
+
{
|
|
26017
|
+
name: "payroll.payruns",
|
|
26018
|
+
rules: [
|
|
26019
|
+
"GET /PayRuns",
|
|
26020
|
+
"POST /PayRuns",
|
|
26021
|
+
"GET /PayRuns/{PayRunID}",
|
|
26022
|
+
"POST /PayRuns/{PayRunID}"
|
|
26023
|
+
]
|
|
26024
|
+
},
|
|
26025
|
+
{
|
|
26026
|
+
name: "payroll.payruns.read",
|
|
26027
|
+
rules: ["GET /PayRuns", "GET /PayRuns/{PayRunID}"]
|
|
26028
|
+
},
|
|
26029
|
+
{
|
|
26030
|
+
name: "payroll.payslip",
|
|
26031
|
+
rules: ["GET /Payslip/{PayslipID}", "POST /Payslip/{PayslipID}"]
|
|
26032
|
+
},
|
|
26033
|
+
{
|
|
26034
|
+
name: "payroll.payslip.read",
|
|
26035
|
+
rules: ["GET /Payslip/{PayslipID}"]
|
|
26036
|
+
},
|
|
26037
|
+
{
|
|
26038
|
+
name: "payroll.settings",
|
|
26039
|
+
rules: [
|
|
26040
|
+
"GET /PayItems",
|
|
26041
|
+
"POST /PayItems",
|
|
26042
|
+
"GET /PayrollCalendars",
|
|
26043
|
+
"POST /PayrollCalendars",
|
|
26044
|
+
"GET /PayrollCalendars/{PayrollCalendarID}",
|
|
26045
|
+
"GET /Settings",
|
|
26046
|
+
"GET /SuperfundProducts",
|
|
26047
|
+
"GET /Superfunds",
|
|
26048
|
+
"POST /Superfunds",
|
|
26049
|
+
"GET /Superfunds/{SuperFundID}",
|
|
26050
|
+
"POST /Superfunds/{SuperFundID}"
|
|
26051
|
+
]
|
|
26052
|
+
},
|
|
26053
|
+
{
|
|
26054
|
+
name: "payroll.settings.read",
|
|
26055
|
+
rules: [
|
|
26056
|
+
"GET /PayItems",
|
|
26057
|
+
"GET /PayrollCalendars",
|
|
26058
|
+
"GET /PayrollCalendars/{PayrollCalendarID}",
|
|
26059
|
+
"GET /Settings",
|
|
26060
|
+
"GET /SuperfundProducts",
|
|
26061
|
+
"GET /Superfunds",
|
|
26062
|
+
"GET /Superfunds/{SuperFundID}"
|
|
26063
|
+
]
|
|
26064
|
+
},
|
|
26065
|
+
{
|
|
26066
|
+
name: "payroll.timesheets",
|
|
26067
|
+
rules: [
|
|
26068
|
+
"GET /Timesheets",
|
|
26069
|
+
"POST /Timesheets",
|
|
26070
|
+
"GET /Timesheets/{TimesheetID}",
|
|
26071
|
+
"POST /Timesheets/{TimesheetID}"
|
|
26072
|
+
]
|
|
26073
|
+
},
|
|
26074
|
+
{
|
|
26075
|
+
name: "payroll.timesheets.read",
|
|
26076
|
+
rules: ["GET /Timesheets", "GET /Timesheets/{TimesheetID}"]
|
|
26077
|
+
}
|
|
26078
|
+
]
|
|
26079
|
+
},
|
|
26080
|
+
{
|
|
26081
|
+
base: "https://api.xero.com/payroll.xro/2.0",
|
|
26082
|
+
auth: {
|
|
26083
|
+
headers: {
|
|
26084
|
+
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
26085
|
+
}
|
|
26086
|
+
},
|
|
26087
|
+
permissions: [
|
|
26088
|
+
{
|
|
26089
|
+
name: "payroll.employees",
|
|
26090
|
+
rules: [
|
|
26091
|
+
"GET /Employees",
|
|
26092
|
+
"POST /Employees",
|
|
26093
|
+
"GET /Employees/{EmployeeID}",
|
|
26094
|
+
"PUT /Employees/{EmployeeID}",
|
|
26095
|
+
"POST /Employees/{EmployeeID}/Employment",
|
|
26096
|
+
"GET /Employees/{EmployeeID}/Leave",
|
|
26097
|
+
"POST /Employees/{EmployeeID}/Leave",
|
|
26098
|
+
"GET /Employees/{EmployeeID}/Leave/{LeaveID}",
|
|
26099
|
+
"PUT /Employees/{EmployeeID}/Leave/{LeaveID}",
|
|
26100
|
+
"DELETE /Employees/{EmployeeID}/Leave/{LeaveID}",
|
|
26101
|
+
"GET /Employees/{EmployeeID}/LeaveBalances",
|
|
26102
|
+
"GET /Employees/{EmployeeID}/LeavePeriods",
|
|
26103
|
+
"POST /Employees/{EmployeeID}/LeaveSetup",
|
|
26104
|
+
"GET /Employees/{EmployeeID}/LeaveTypes",
|
|
26105
|
+
"POST /Employees/{EmployeeID}/LeaveTypes",
|
|
26106
|
+
"GET /Employees/{EmployeeID}/OpeningBalances",
|
|
26107
|
+
"POST /Employees/{EmployeeID}/OpeningBalances",
|
|
26108
|
+
"POST /Employees/{EmployeeID}/PayTemplateEarnings",
|
|
26109
|
+
"GET /Employees/{EmployeeID}/PayTemplates",
|
|
26110
|
+
"POST /Employees/{EmployeeID}/PayTemplates/Earnings",
|
|
26111
|
+
"PUT /Employees/{EmployeeID}/PayTemplates/Earnings/{PayTemplateEarningID}",
|
|
26112
|
+
"DELETE /Employees/{EmployeeID}/PayTemplates/Earnings/{PayTemplateEarningID}",
|
|
26113
|
+
"POST /Employees/{EmployeeID}/PayTemplates/earnings",
|
|
26114
|
+
"PUT /Employees/{EmployeeID}/PayTemplates/earnings/{PayTemplateEarningID}",
|
|
26115
|
+
"DELETE /Employees/{EmployeeID}/PayTemplates/earnings/{PayTemplateEarningID}",
|
|
26116
|
+
"GET /Employees/{EmployeeID}/PaymentMethods",
|
|
26117
|
+
"POST /Employees/{EmployeeID}/PaymentMethods",
|
|
26118
|
+
"GET /Employees/{EmployeeID}/SalaryAndWages",
|
|
26119
|
+
"POST /Employees/{EmployeeID}/SalaryAndWages",
|
|
26120
|
+
"GET /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID}",
|
|
26121
|
+
"PUT /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID}",
|
|
26122
|
+
"DELETE /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID}",
|
|
26123
|
+
"GET /Employees/{EmployeeID}/StatutoryLeaveBalance",
|
|
26124
|
+
"GET /Employees/{EmployeeID}/Tax",
|
|
26125
|
+
"POST /Employees/{EmployeeID}/Tax",
|
|
26126
|
+
"GET /Employees/{EmployeeID}/Working-Patterns",
|
|
26127
|
+
"POST /Employees/{EmployeeID}/Working-Patterns",
|
|
26128
|
+
"GET /Employees/{EmployeeID}/Working-Patterns/{EmployeeWorkingPatternID}",
|
|
26129
|
+
"DELETE /Employees/{EmployeeID}/Working-Patterns/{EmployeeWorkingPatternID}",
|
|
26130
|
+
"POST /Employees/{EmployeeID}/paytemplateearnings",
|
|
26131
|
+
"GET /Employees/{EmployeeID}/ukopeningbalances",
|
|
26132
|
+
"POST /Employees/{EmployeeID}/ukopeningbalances",
|
|
26133
|
+
"PUT /Employees/{EmployeeID}/ukopeningbalances"
|
|
26134
|
+
]
|
|
26135
|
+
},
|
|
26136
|
+
{
|
|
26137
|
+
name: "payroll.employees.read",
|
|
26138
|
+
rules: [
|
|
26139
|
+
"GET /Employees",
|
|
26140
|
+
"GET /Employees/{EmployeeID}",
|
|
26141
|
+
"GET /Employees/{EmployeeID}/Leave",
|
|
26142
|
+
"GET /Employees/{EmployeeID}/Leave/{LeaveID}",
|
|
26143
|
+
"GET /Employees/{EmployeeID}/LeaveBalances",
|
|
26144
|
+
"GET /Employees/{EmployeeID}/LeavePeriods",
|
|
26145
|
+
"GET /Employees/{EmployeeID}/LeaveTypes",
|
|
26146
|
+
"GET /Employees/{EmployeeID}/OpeningBalances",
|
|
26147
|
+
"GET /Employees/{EmployeeID}/PayTemplates",
|
|
26148
|
+
"GET /Employees/{EmployeeID}/PaymentMethods",
|
|
26149
|
+
"GET /Employees/{EmployeeID}/SalaryAndWages",
|
|
26150
|
+
"GET /Employees/{EmployeeID}/SalaryAndWages/{SalaryAndWagesID}",
|
|
26151
|
+
"GET /Employees/{EmployeeID}/StatutoryLeaveBalance",
|
|
26152
|
+
"GET /Employees/{EmployeeID}/Tax",
|
|
26153
|
+
"GET /Employees/{EmployeeID}/Working-Patterns",
|
|
26154
|
+
"GET /Employees/{EmployeeID}/Working-Patterns/{EmployeeWorkingPatternID}",
|
|
26155
|
+
"GET /Employees/{EmployeeID}/ukopeningbalances"
|
|
26156
|
+
]
|
|
26157
|
+
},
|
|
26158
|
+
{
|
|
26159
|
+
name: "payroll.payruns",
|
|
26160
|
+
rules: ["GET /PayRuns", "POST /PayRuns", "GET /PayRuns/{PayRunID}"]
|
|
26161
|
+
},
|
|
26162
|
+
{
|
|
26163
|
+
name: "payroll.payruns.read",
|
|
26164
|
+
rules: ["GET /PayRuns", "GET /PayRuns/{PayRunID}"]
|
|
26165
|
+
},
|
|
26166
|
+
{
|
|
26167
|
+
name: "payroll.payslip",
|
|
26168
|
+
rules: [
|
|
26169
|
+
"GET /PaySlips",
|
|
26170
|
+
"GET /PaySlips/{PaySlipID}",
|
|
26171
|
+
"PUT /PaySlips/{PaySlipID}",
|
|
26172
|
+
"GET /Payslips",
|
|
26173
|
+
"GET /Payslips/{PayslipID}"
|
|
26174
|
+
]
|
|
26175
|
+
},
|
|
26176
|
+
{
|
|
26177
|
+
name: "payroll.payslip.read",
|
|
26178
|
+
rules: [
|
|
26179
|
+
"GET /PaySlips",
|
|
26180
|
+
"GET /PaySlips/{PaySlipID}",
|
|
26181
|
+
"GET /Payslips",
|
|
26182
|
+
"GET /Payslips/{PayslipID}"
|
|
26183
|
+
]
|
|
26184
|
+
},
|
|
26185
|
+
{
|
|
26186
|
+
name: "payroll.settings",
|
|
26187
|
+
rules: [
|
|
26188
|
+
"GET /Benefits",
|
|
26189
|
+
"POST /Benefits",
|
|
26190
|
+
"GET /Benefits/{id}",
|
|
26191
|
+
"GET /Deductions",
|
|
26192
|
+
"POST /Deductions",
|
|
26193
|
+
"GET /Deductions/{deductionId}",
|
|
26194
|
+
"GET /EarningsOrders",
|
|
26195
|
+
"GET /EarningsOrders/{id}",
|
|
26196
|
+
"GET /EarningsRates",
|
|
26197
|
+
"POST /EarningsRates",
|
|
26198
|
+
"GET /EarningsRates/{EarningsRateID}",
|
|
26199
|
+
"GET /LeaveTypes",
|
|
26200
|
+
"POST /LeaveTypes",
|
|
26201
|
+
"GET /LeaveTypes/{LeaveTypeID}",
|
|
26202
|
+
"GET /PayRunCalendars",
|
|
26203
|
+
"POST /PayRunCalendars",
|
|
26204
|
+
"GET /PayRunCalendars/{PayRunCalendarID}",
|
|
26205
|
+
"GET /PayRunCalendars/{PayrollCalendarID}",
|
|
26206
|
+
"GET /Reimbursements",
|
|
26207
|
+
"POST /Reimbursements",
|
|
26208
|
+
"GET /Reimbursements/{ReimbursementID}",
|
|
26209
|
+
"GET /Settings",
|
|
26210
|
+
"GET /Settings/TrackingCategories",
|
|
26211
|
+
"GET /Settings/trackingCategories",
|
|
26212
|
+
"GET /StatutoryDeductions",
|
|
26213
|
+
"GET /StatutoryDeductions/{id}",
|
|
26214
|
+
"POST /StatutoryLeaves/Sick",
|
|
26215
|
+
"GET /StatutoryLeaves/Sick/{StatutorySickLeaveID}",
|
|
26216
|
+
"GET /StatutoryLeaves/Summary/{EmployeeID}",
|
|
26217
|
+
"GET /Superannuations",
|
|
26218
|
+
"POST /Superannuations",
|
|
26219
|
+
"GET /Superannuations/{SuperannuationID}"
|
|
26220
|
+
]
|
|
26221
|
+
},
|
|
26222
|
+
{
|
|
26223
|
+
name: "payroll.settings.read",
|
|
26224
|
+
rules: [
|
|
26225
|
+
"GET /Benefits",
|
|
26226
|
+
"GET /Benefits/{id}",
|
|
26227
|
+
"GET /Deductions",
|
|
26228
|
+
"GET /Deductions/{deductionId}",
|
|
26229
|
+
"GET /EarningsOrders",
|
|
26230
|
+
"GET /EarningsOrders/{id}",
|
|
26231
|
+
"GET /EarningsRates",
|
|
26232
|
+
"GET /EarningsRates/{EarningsRateID}",
|
|
26233
|
+
"GET /LeaveTypes",
|
|
26234
|
+
"GET /LeaveTypes/{LeaveTypeID}",
|
|
26235
|
+
"GET /PayRunCalendars",
|
|
26236
|
+
"GET /PayRunCalendars/{PayRunCalendarID}",
|
|
26237
|
+
"GET /PayRunCalendars/{PayrollCalendarID}",
|
|
26238
|
+
"GET /Reimbursements",
|
|
26239
|
+
"GET /Reimbursements/{ReimbursementID}",
|
|
26240
|
+
"GET /Settings",
|
|
26241
|
+
"GET /Settings/TrackingCategories",
|
|
26242
|
+
"GET /Settings/trackingCategories",
|
|
26243
|
+
"GET /StatutoryDeductions",
|
|
26244
|
+
"GET /StatutoryDeductions/{id}",
|
|
26245
|
+
"GET /StatutoryLeaves/Sick/{StatutorySickLeaveID}",
|
|
26246
|
+
"GET /StatutoryLeaves/Summary/{EmployeeID}",
|
|
26247
|
+
"GET /Superannuations",
|
|
26248
|
+
"GET /Superannuations/{SuperannuationID}"
|
|
26249
|
+
]
|
|
26250
|
+
},
|
|
26251
|
+
{
|
|
26252
|
+
name: "payroll.timesheets",
|
|
26253
|
+
rules: [
|
|
26254
|
+
"GET /Timesheets",
|
|
26255
|
+
"POST /Timesheets",
|
|
26256
|
+
"GET /Timesheets/{TimesheetID}",
|
|
26257
|
+
"DELETE /Timesheets/{TimesheetID}",
|
|
26258
|
+
"POST /Timesheets/{TimesheetID}/Approve",
|
|
26259
|
+
"POST /Timesheets/{TimesheetID}/Lines",
|
|
26260
|
+
"PUT /Timesheets/{TimesheetID}/Lines/{TimesheetLineID}",
|
|
26261
|
+
"DELETE /Timesheets/{TimesheetID}/Lines/{TimesheetLineID}",
|
|
26262
|
+
"POST /Timesheets/{TimesheetID}/RevertToDraft"
|
|
26263
|
+
]
|
|
26264
|
+
},
|
|
26265
|
+
{
|
|
26266
|
+
name: "payroll.timesheets.read",
|
|
26267
|
+
rules: ["GET /Timesheets", "GET /Timesheets/{TimesheetID}"]
|
|
26268
|
+
}
|
|
26269
|
+
]
|
|
26270
|
+
},
|
|
26271
|
+
{
|
|
26272
|
+
base: "https://api.xero.com/projects.xro/2.0",
|
|
26273
|
+
auth: {
|
|
26274
|
+
headers: {
|
|
26275
|
+
Authorization: "Bearer ${{ secrets.XERO_TOKEN }}"
|
|
26276
|
+
}
|
|
26277
|
+
},
|
|
26278
|
+
permissions: [
|
|
26279
|
+
{
|
|
26280
|
+
name: "projects",
|
|
26281
|
+
rules: [
|
|
26282
|
+
"GET /Projects",
|
|
26283
|
+
"POST /Projects",
|
|
26284
|
+
"GET /Projects/{projectId}",
|
|
26285
|
+
"PUT /Projects/{projectId}",
|
|
26286
|
+
"PATCH /Projects/{projectId}",
|
|
26287
|
+
"GET /Projects/{projectId}/Tasks",
|
|
26288
|
+
"POST /Projects/{projectId}/Tasks",
|
|
26289
|
+
"GET /Projects/{projectId}/Tasks/{taskId}",
|
|
26290
|
+
"PUT /Projects/{projectId}/Tasks/{taskId}",
|
|
26291
|
+
"DELETE /Projects/{projectId}/Tasks/{taskId}",
|
|
26292
|
+
"GET /Projects/{projectId}/Time",
|
|
26293
|
+
"POST /Projects/{projectId}/Time",
|
|
26294
|
+
"GET /Projects/{projectId}/Time/{timeEntryId}",
|
|
26295
|
+
"PUT /Projects/{projectId}/Time/{timeEntryId}",
|
|
26296
|
+
"DELETE /Projects/{projectId}/Time/{timeEntryId}",
|
|
26297
|
+
"GET /ProjectsUsers"
|
|
26298
|
+
]
|
|
26299
|
+
},
|
|
26300
|
+
{
|
|
26301
|
+
name: "projects.read",
|
|
26302
|
+
rules: [
|
|
26303
|
+
"GET /Projects",
|
|
26304
|
+
"GET /Projects/{projectId}",
|
|
26305
|
+
"GET /Projects/{projectId}/Tasks",
|
|
26306
|
+
"GET /Projects/{projectId}/Tasks/{taskId}",
|
|
26307
|
+
"GET /Projects/{projectId}/Time",
|
|
26308
|
+
"GET /Projects/{projectId}/Time/{timeEntryId}",
|
|
26309
|
+
"GET /ProjectsUsers"
|
|
26310
|
+
]
|
|
26311
|
+
}
|
|
26312
|
+
]
|
|
25347
26313
|
}
|
|
25348
26314
|
]
|
|
25349
26315
|
};
|
|
@@ -27068,7 +28034,8 @@ var zeroRunRequestSchema = unifiedRunRequestSchema.omit({
|
|
|
27068
28034
|
agentComposeId: true,
|
|
27069
28035
|
appendSystemPrompt: true
|
|
27070
28036
|
}).extend({
|
|
27071
|
-
agentId: z31.string().optional()
|
|
28037
|
+
agentId: z31.string().optional(),
|
|
28038
|
+
modelProvider: z31.string().optional()
|
|
27072
28039
|
});
|
|
27073
28040
|
var c25 = initContract();
|
|
27074
28041
|
var zeroRunsMainContract = c25.router({
|
|
@@ -30433,6 +31400,7 @@ function showNextSteps(result) {
|
|
|
30433
31400
|
|
|
30434
31401
|
export {
|
|
30435
31402
|
configureGlobalProxyFromEnv,
|
|
31403
|
+
decodeCliTokenPayload,
|
|
30436
31404
|
decodeZeroTokenPayload,
|
|
30437
31405
|
loadConfig,
|
|
30438
31406
|
saveConfig,
|
|
@@ -30578,4 +31546,4 @@ export {
|
|
|
30578
31546
|
pollEvents,
|
|
30579
31547
|
showNextSteps
|
|
30580
31548
|
};
|
|
30581
|
-
//# sourceMappingURL=chunk-
|
|
31549
|
+
//# sourceMappingURL=chunk-RLI2BL4P.js.map
|