@imbue-ai/detent 1.7.0 → 1.9.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/dist/src/schemas/generatedBuiltinSchemas.d.ts.map +1 -1
- package/dist/src/schemas/generatedBuiltinSchemas.js +498 -1
- package/dist/src/schemas/generatedBuiltinSchemas.js.map +1 -1
- package/dist/tests/builtinSchemas.test.js +99 -0
- package/dist/tests/builtinSchemas.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAw+N5E,CAAC"}
|
|
@@ -1491,7 +1491,7 @@ export const generatedBuiltinSchemas = {
|
|
|
1491
1491
|
]
|
|
1492
1492
|
},
|
|
1493
1493
|
"github-rest-api": {
|
|
1494
|
-
"$comment": "Any interaction with the GitHub REST API
|
|
1494
|
+
"$comment": "Any interaction with the GitHub REST API.",
|
|
1495
1495
|
"properties": {
|
|
1496
1496
|
"domain": {
|
|
1497
1497
|
"const": "api.github.com"
|
|
@@ -1508,6 +1508,21 @@ export const generatedBuiltinSchemas = {
|
|
|
1508
1508
|
"path"
|
|
1509
1509
|
]
|
|
1510
1510
|
},
|
|
1511
|
+
"github-graphql-api": {
|
|
1512
|
+
"$comment": "Any interaction with the GitHub GraphQL API.",
|
|
1513
|
+
"properties": {
|
|
1514
|
+
"domain": {
|
|
1515
|
+
"const": "api.github.com"
|
|
1516
|
+
},
|
|
1517
|
+
"path": {
|
|
1518
|
+
"const": "/graphql"
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
"required": [
|
|
1522
|
+
"domain",
|
|
1523
|
+
"path"
|
|
1524
|
+
]
|
|
1525
|
+
},
|
|
1511
1526
|
"github-git": {
|
|
1512
1527
|
"$comment": "Any Git protocol operation (clone, fetch, push) on GitHub.",
|
|
1513
1528
|
"properties": {
|
|
@@ -4960,6 +4975,488 @@ export const generatedBuiltinSchemas = {
|
|
|
4960
4975
|
"path"
|
|
4961
4976
|
]
|
|
4962
4977
|
},
|
|
4978
|
+
"ramp-api": {
|
|
4979
|
+
"$comment": "Any interaction with the Ramp API.",
|
|
4980
|
+
"properties": {
|
|
4981
|
+
"domain": {
|
|
4982
|
+
"type": "string",
|
|
4983
|
+
"pattern": "^api\\.ramp\\.com$"
|
|
4984
|
+
}
|
|
4985
|
+
},
|
|
4986
|
+
"required": [
|
|
4987
|
+
"domain"
|
|
4988
|
+
]
|
|
4989
|
+
},
|
|
4990
|
+
"ramp-read-all": {
|
|
4991
|
+
"$comment": "Read anything from Ramp: every read capability across all resources (transactions, cards, bills, reimbursements, treasury, vendors, users, accounting, trips, limits, and more). Limited to Ramp's agent-tools capabilities.",
|
|
4992
|
+
"properties": {
|
|
4993
|
+
"method": {
|
|
4994
|
+
"enum": [
|
|
4995
|
+
"GET",
|
|
4996
|
+
"POST"
|
|
4997
|
+
]
|
|
4998
|
+
},
|
|
4999
|
+
"path": {
|
|
5000
|
+
"type": "string",
|
|
5001
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(answer-policy-question|enroll-business-in-agent-cards|estimate-mileage-reimbursement|estimate-per-diem-amount|execute-analyst-query|get-account-balance-history|get-agent-card-creds|get-agent-card-funds|get-ai-token-spend-aggregates|get-ai-token-spend-connections|get-ai-token-spend-current-spend|get-ai-token-spend-filter-options|get-analyst-artifact-status|get-analyst-catalog|get-analyst-metric-metadata|get-analyst-spend-facts-domain-docs|get-analyst-table-domain-docs|get-attention-feed|get-bill-amount-summary|get-bill-comments|get-bill-details|get-bill-history|get-bill-invoices|get-bill-metrics|get-bill-status|get-bills-for-approval|get-bookings|get-candidate-trips-for-transaction|get-decline-explanation|get-draft-bill-details|get-flight-booking-locations|get-full-transaction-metadata|get-funds|get-investment-account-balance|get-managed-portfolio-account-balance|get-org-chart|get-outstanding-reimbursements-by-currency|get-purchase-order-details|get-ramp-business-account-balance|get-recurring-bill|get-reimbursement-receipts|get-reimbursements|get-reimbursements-for-approval|get-requests-to-review|get-simplified-user-detail|get-tracking-categories|get-tracking-category-options|get-transaction-missing-items|get-transaction-suggested-memos|get-transactions|get-traveler-profile|get-treasury-balance-history|get-unified-request-details|get-user-recent-reimbursements|get-user-trips|get-vendor-agreement|get-vendor-document-bulk-status|list-bills|list-business-accounts|list-cards|list-treasury-accounts|list-users|list-vendor-agreements|list-wallet-transfers|search-bills|search-flights|search-help-center-snippets|search-purchase-orders|search-reimbursements|search-unified-requests|search-user|search-user-reimbursements|search-vendors|submit-flight-booking))$"
|
|
5002
|
+
}
|
|
5003
|
+
},
|
|
5004
|
+
"required": [
|
|
5005
|
+
"method",
|
|
5006
|
+
"path"
|
|
5007
|
+
]
|
|
5008
|
+
},
|
|
5009
|
+
"ramp-write-all": {
|
|
5010
|
+
"$comment": "Create or modify anything in Ramp: every write capability across all resources (activate/lock cards, approve transactions & reimbursements, edit limits, issue funds, manage trips & vendors, pay via x402, and more). Limited to Ramp's agent-tools capabilities.",
|
|
5011
|
+
"properties": {
|
|
5012
|
+
"method": {
|
|
5013
|
+
"const": "POST"
|
|
5014
|
+
},
|
|
5015
|
+
"path": {
|
|
5016
|
+
"type": "string",
|
|
5017
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(activate-card|approve-or-reject-reimbursement|approve-or-reject-request|approve-or-reject-transaction|attach-receipt-to-transaction|attach-vendor-document|bulk-upload-vendor-documents|cancel-reimbursement-payment|create-reimbursement-from-receipt|create-trip|duplicate-reimbursement|edit-reimbursement|edit-transaction|issue-one-off-funds|limit-increase|lock-or-unlock-card|lock-or-unlock-spend-allocation|lock-or-unlock-spend-allocation-member|mark-transaction-missing-receipt|pay-with-x402|post-comment|provide-no-receipt-reason|request-transaction-repayment|resubmit-reimbursement|submit-reimbursement|update-category-restrictions|update-merchant-restrictions|update-transaction-amount-limit|update-traveler-profile|upload-receipt-file))$"
|
|
5018
|
+
}
|
|
5019
|
+
},
|
|
5020
|
+
"required": [
|
|
5021
|
+
"method",
|
|
5022
|
+
"path"
|
|
5023
|
+
]
|
|
5024
|
+
},
|
|
5025
|
+
"ramp-read-accounting": {
|
|
5026
|
+
"$comment": "Read accounting / analyst queries. Limited to Ramp's agent-tools capabilities. Includes: execute analyst query, get analyst artifact status, get analyst catalog, get analyst metric metadata, get analyst spend facts domain docs, get analyst table domain docs, get tracking categories, get tracking category options.",
|
|
5027
|
+
"properties": {
|
|
5028
|
+
"method": {
|
|
5029
|
+
"const": "POST"
|
|
5030
|
+
},
|
|
5031
|
+
"path": {
|
|
5032
|
+
"type": "string",
|
|
5033
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(execute-analyst-query|get-analyst-artifact-status|get-analyst-catalog|get-analyst-metric-metadata|get-analyst-spend-facts-domain-docs|get-analyst-table-domain-docs|get-tracking-categories|get-tracking-category-options))$"
|
|
5034
|
+
}
|
|
5035
|
+
},
|
|
5036
|
+
"required": [
|
|
5037
|
+
"method",
|
|
5038
|
+
"path"
|
|
5039
|
+
]
|
|
5040
|
+
},
|
|
5041
|
+
"ramp-read-ai-spend": {
|
|
5042
|
+
"$comment": "Read AI token spend. Limited to Ramp's agent-tools capabilities. Includes: get ai token spend aggregates, get ai token spend connections, get ai token spend current spend, get ai token spend filter options.",
|
|
5043
|
+
"properties": {
|
|
5044
|
+
"method": {
|
|
5045
|
+
"const": "POST"
|
|
5046
|
+
},
|
|
5047
|
+
"path": {
|
|
5048
|
+
"type": "string",
|
|
5049
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-ai-token-spend-aggregates|get-ai-token-spend-connections|get-ai-token-spend-current-spend|get-ai-token-spend-filter-options))$"
|
|
5050
|
+
}
|
|
5051
|
+
},
|
|
5052
|
+
"required": [
|
|
5053
|
+
"method",
|
|
5054
|
+
"path"
|
|
5055
|
+
]
|
|
5056
|
+
},
|
|
5057
|
+
"ramp-read-bills": {
|
|
5058
|
+
"$comment": "Read bills. Limited to Ramp's agent-tools capabilities. Includes: get bill amount summary, get bill comments, get bill details, get bill history, get bill invoices, get bill metrics, get bill status, get bills for approval, get draft bill details, get recurring bill, list bills, search bills.",
|
|
5059
|
+
"properties": {
|
|
5060
|
+
"method": {
|
|
5061
|
+
"const": "POST"
|
|
5062
|
+
},
|
|
5063
|
+
"path": {
|
|
5064
|
+
"type": "string",
|
|
5065
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-bill-amount-summary|get-bill-comments|get-bill-details|get-bill-history|get-bill-invoices|get-bill-metrics|get-bill-status|get-bills-for-approval|get-draft-bill-details|get-recurring-bill|list-bills|search-bills))$"
|
|
5066
|
+
}
|
|
5067
|
+
},
|
|
5068
|
+
"required": [
|
|
5069
|
+
"method",
|
|
5070
|
+
"path"
|
|
5071
|
+
]
|
|
5072
|
+
},
|
|
5073
|
+
"ramp-read-cards": {
|
|
5074
|
+
"$comment": "Read cards. Limited to Ramp's agent-tools capabilities. Includes: enroll business in agent cards, get agent card creds, get agent card funds.",
|
|
5075
|
+
"properties": {
|
|
5076
|
+
"method": {
|
|
5077
|
+
"const": "POST"
|
|
5078
|
+
},
|
|
5079
|
+
"path": {
|
|
5080
|
+
"type": "string",
|
|
5081
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(enroll-business-in-agent-cards|get-agent-card-creds|get-agent-card-funds))$"
|
|
5082
|
+
}
|
|
5083
|
+
},
|
|
5084
|
+
"required": [
|
|
5085
|
+
"method",
|
|
5086
|
+
"path"
|
|
5087
|
+
]
|
|
5088
|
+
},
|
|
5089
|
+
"ramp-read-help-center": {
|
|
5090
|
+
"$comment": "Read Ramp help-center articles. Limited to Ramp's agent-tools capabilities. Includes: search help center snippets.",
|
|
5091
|
+
"properties": {
|
|
5092
|
+
"method": {
|
|
5093
|
+
"const": "POST"
|
|
5094
|
+
},
|
|
5095
|
+
"path": {
|
|
5096
|
+
"type": "string",
|
|
5097
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(search-help-center-snippets))$"
|
|
5098
|
+
}
|
|
5099
|
+
},
|
|
5100
|
+
"required": [
|
|
5101
|
+
"method",
|
|
5102
|
+
"path"
|
|
5103
|
+
]
|
|
5104
|
+
},
|
|
5105
|
+
"ramp-read-limits": {
|
|
5106
|
+
"$comment": "Read spend limits & allocations. Limited to Ramp's agent-tools capabilities. Includes: get funds, list cards.",
|
|
5107
|
+
"properties": {
|
|
5108
|
+
"method": {
|
|
5109
|
+
"const": "POST"
|
|
5110
|
+
},
|
|
5111
|
+
"path": {
|
|
5112
|
+
"type": "string",
|
|
5113
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-funds|list-cards))$"
|
|
5114
|
+
}
|
|
5115
|
+
},
|
|
5116
|
+
"required": [
|
|
5117
|
+
"method",
|
|
5118
|
+
"path"
|
|
5119
|
+
]
|
|
5120
|
+
},
|
|
5121
|
+
"ramp-read-memos": {
|
|
5122
|
+
"$comment": "Read transaction memos. Limited to Ramp's agent-tools capabilities. Includes: get transaction suggested memos.",
|
|
5123
|
+
"properties": {
|
|
5124
|
+
"method": {
|
|
5125
|
+
"const": "POST"
|
|
5126
|
+
},
|
|
5127
|
+
"path": {
|
|
5128
|
+
"type": "string",
|
|
5129
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-transaction-suggested-memos))$"
|
|
5130
|
+
}
|
|
5131
|
+
},
|
|
5132
|
+
"required": [
|
|
5133
|
+
"method",
|
|
5134
|
+
"path"
|
|
5135
|
+
]
|
|
5136
|
+
},
|
|
5137
|
+
"ramp-read-purchase-orders": {
|
|
5138
|
+
"$comment": "Read purchase orders. Limited to Ramp's agent-tools capabilities. Includes: get purchase order details, search purchase orders.",
|
|
5139
|
+
"properties": {
|
|
5140
|
+
"method": {
|
|
5141
|
+
"const": "POST"
|
|
5142
|
+
},
|
|
5143
|
+
"path": {
|
|
5144
|
+
"type": "string",
|
|
5145
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-purchase-order-details|search-purchase-orders))$"
|
|
5146
|
+
}
|
|
5147
|
+
},
|
|
5148
|
+
"required": [
|
|
5149
|
+
"method",
|
|
5150
|
+
"path"
|
|
5151
|
+
]
|
|
5152
|
+
},
|
|
5153
|
+
"ramp-read-reimbursements": {
|
|
5154
|
+
"$comment": "Read out-of-pocket reimbursements. Limited to Ramp's agent-tools capabilities. Includes: estimate mileage reimbursement, estimate per diem amount, get outstanding reimbursements by currency, get reimbursement receipts, get reimbursements, get reimbursements for approval, get user recent reimbursements, search reimbursements, search user reimbursements.",
|
|
5155
|
+
"properties": {
|
|
5156
|
+
"method": {
|
|
5157
|
+
"const": "POST"
|
|
5158
|
+
},
|
|
5159
|
+
"path": {
|
|
5160
|
+
"type": "string",
|
|
5161
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(estimate-mileage-reimbursement|estimate-per-diem-amount|get-outstanding-reimbursements-by-currency|get-reimbursement-receipts|get-reimbursements|get-reimbursements-for-approval|get-user-recent-reimbursements|search-reimbursements|search-user-reimbursements))$"
|
|
5162
|
+
}
|
|
5163
|
+
},
|
|
5164
|
+
"required": [
|
|
5165
|
+
"method",
|
|
5166
|
+
"path"
|
|
5167
|
+
]
|
|
5168
|
+
},
|
|
5169
|
+
"ramp-read-tasks": {
|
|
5170
|
+
"$comment": "Read attention feed / tasks. Limited to Ramp's agent-tools capabilities. Includes: get attention feed.",
|
|
5171
|
+
"properties": {
|
|
5172
|
+
"method": {
|
|
5173
|
+
"const": "POST"
|
|
5174
|
+
},
|
|
5175
|
+
"path": {
|
|
5176
|
+
"type": "string",
|
|
5177
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-attention-feed))$"
|
|
5178
|
+
}
|
|
5179
|
+
},
|
|
5180
|
+
"required": [
|
|
5181
|
+
"method",
|
|
5182
|
+
"path"
|
|
5183
|
+
]
|
|
5184
|
+
},
|
|
5185
|
+
"ramp-read-transactions": {
|
|
5186
|
+
"$comment": "Read card transactions. Limited to Ramp's agent-tools capabilities. Includes: answer policy question, get decline explanation, get full transaction metadata, get transaction missing items, get transactions.",
|
|
5187
|
+
"properties": {
|
|
5188
|
+
"method": {
|
|
5189
|
+
"const": "POST"
|
|
5190
|
+
},
|
|
5191
|
+
"path": {
|
|
5192
|
+
"type": "string",
|
|
5193
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(answer-policy-question|get-decline-explanation|get-full-transaction-metadata|get-transaction-missing-items|get-transactions))$"
|
|
5194
|
+
}
|
|
5195
|
+
},
|
|
5196
|
+
"required": [
|
|
5197
|
+
"method",
|
|
5198
|
+
"path"
|
|
5199
|
+
]
|
|
5200
|
+
},
|
|
5201
|
+
"ramp-read-treasury": {
|
|
5202
|
+
"$comment": "Read treasury / business account balances. Limited to Ramp's agent-tools capabilities. Includes: get account balance history, get investment account balance, get managed portfolio account balance, get ramp business account balance, get treasury balance history, list business accounts, list treasury accounts, list wallet transfers.",
|
|
5203
|
+
"properties": {
|
|
5204
|
+
"method": {
|
|
5205
|
+
"const": "GET"
|
|
5206
|
+
},
|
|
5207
|
+
"path": {
|
|
5208
|
+
"type": "string",
|
|
5209
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-account-balance-history|get-investment-account-balance|get-managed-portfolio-account-balance|get-ramp-business-account-balance|get-treasury-balance-history|list-business-accounts|list-treasury-accounts|list-wallet-transfers))$"
|
|
5210
|
+
}
|
|
5211
|
+
},
|
|
5212
|
+
"required": [
|
|
5213
|
+
"method",
|
|
5214
|
+
"path"
|
|
5215
|
+
]
|
|
5216
|
+
},
|
|
5217
|
+
"ramp-read-trips": {
|
|
5218
|
+
"$comment": "Read travel & trips. Limited to Ramp's agent-tools capabilities. Includes: get bookings, get candidate trips for transaction, get flight booking locations, get traveler profile, get user trips, search flights, submit flight booking.",
|
|
5219
|
+
"properties": {
|
|
5220
|
+
"method": {
|
|
5221
|
+
"const": "POST"
|
|
5222
|
+
},
|
|
5223
|
+
"path": {
|
|
5224
|
+
"type": "string",
|
|
5225
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-bookings|get-candidate-trips-for-transaction|get-flight-booking-locations|get-traveler-profile|get-user-trips|search-flights|submit-flight-booking))$"
|
|
5226
|
+
}
|
|
5227
|
+
},
|
|
5228
|
+
"required": [
|
|
5229
|
+
"method",
|
|
5230
|
+
"path"
|
|
5231
|
+
]
|
|
5232
|
+
},
|
|
5233
|
+
"ramp-read-unified-requests": {
|
|
5234
|
+
"$comment": "Read unified requests (approvals inbox). Limited to Ramp's agent-tools capabilities. Includes: get requests to review, get unified request details, search unified requests.",
|
|
5235
|
+
"properties": {
|
|
5236
|
+
"method": {
|
|
5237
|
+
"const": "POST"
|
|
5238
|
+
},
|
|
5239
|
+
"path": {
|
|
5240
|
+
"type": "string",
|
|
5241
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-requests-to-review|get-unified-request-details|search-unified-requests))$"
|
|
5242
|
+
}
|
|
5243
|
+
},
|
|
5244
|
+
"required": [
|
|
5245
|
+
"method",
|
|
5246
|
+
"path"
|
|
5247
|
+
]
|
|
5248
|
+
},
|
|
5249
|
+
"ramp-read-users": {
|
|
5250
|
+
"$comment": "Read users & org chart. Limited to Ramp's agent-tools capabilities. Includes: get org chart, get simplified user detail, list users, search user.",
|
|
5251
|
+
"properties": {
|
|
5252
|
+
"method": {
|
|
5253
|
+
"const": "POST"
|
|
5254
|
+
},
|
|
5255
|
+
"path": {
|
|
5256
|
+
"type": "string",
|
|
5257
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-org-chart|get-simplified-user-detail|list-users|search-user))$"
|
|
5258
|
+
}
|
|
5259
|
+
},
|
|
5260
|
+
"required": [
|
|
5261
|
+
"method",
|
|
5262
|
+
"path"
|
|
5263
|
+
]
|
|
5264
|
+
},
|
|
5265
|
+
"ramp-read-vendors": {
|
|
5266
|
+
"$comment": "Read vendors. Limited to Ramp's agent-tools capabilities. Includes: get vendor agreement, get vendor document bulk status, list vendor agreements, search vendors.",
|
|
5267
|
+
"properties": {
|
|
5268
|
+
"method": {
|
|
5269
|
+
"enum": [
|
|
5270
|
+
"GET",
|
|
5271
|
+
"POST"
|
|
5272
|
+
]
|
|
5273
|
+
},
|
|
5274
|
+
"path": {
|
|
5275
|
+
"type": "string",
|
|
5276
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(get-vendor-agreement|get-vendor-document-bulk-status|list-vendor-agreements|search-vendors))$"
|
|
5277
|
+
}
|
|
5278
|
+
},
|
|
5279
|
+
"required": [
|
|
5280
|
+
"method",
|
|
5281
|
+
"path"
|
|
5282
|
+
]
|
|
5283
|
+
},
|
|
5284
|
+
"ramp-write-approvals": {
|
|
5285
|
+
"$comment": "Create or modify approval decisions. Limited to Ramp's agent-tools capabilities. Includes: approve or reject request.",
|
|
5286
|
+
"properties": {
|
|
5287
|
+
"method": {
|
|
5288
|
+
"const": "POST"
|
|
5289
|
+
},
|
|
5290
|
+
"path": {
|
|
5291
|
+
"type": "string",
|
|
5292
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(approve-or-reject-request))$"
|
|
5293
|
+
}
|
|
5294
|
+
},
|
|
5295
|
+
"required": [
|
|
5296
|
+
"method",
|
|
5297
|
+
"path"
|
|
5298
|
+
]
|
|
5299
|
+
},
|
|
5300
|
+
"ramp-write-cards": {
|
|
5301
|
+
"$comment": "Create or modify cards. Limited to Ramp's agent-tools capabilities. Includes: activate card, lock or unlock card.",
|
|
5302
|
+
"properties": {
|
|
5303
|
+
"method": {
|
|
5304
|
+
"const": "POST"
|
|
5305
|
+
},
|
|
5306
|
+
"path": {
|
|
5307
|
+
"type": "string",
|
|
5308
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(activate-card|lock-or-unlock-card))$"
|
|
5309
|
+
}
|
|
5310
|
+
},
|
|
5311
|
+
"required": [
|
|
5312
|
+
"method",
|
|
5313
|
+
"path"
|
|
5314
|
+
]
|
|
5315
|
+
},
|
|
5316
|
+
"ramp-write-comments": {
|
|
5317
|
+
"$comment": "Create or modify comments. Limited to Ramp's agent-tools capabilities. Includes: post comment.",
|
|
5318
|
+
"properties": {
|
|
5319
|
+
"method": {
|
|
5320
|
+
"const": "POST"
|
|
5321
|
+
},
|
|
5322
|
+
"path": {
|
|
5323
|
+
"type": "string",
|
|
5324
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(post-comment))$"
|
|
5325
|
+
}
|
|
5326
|
+
},
|
|
5327
|
+
"required": [
|
|
5328
|
+
"method",
|
|
5329
|
+
"path"
|
|
5330
|
+
]
|
|
5331
|
+
},
|
|
5332
|
+
"ramp-write-funds": {
|
|
5333
|
+
"$comment": "Create or modify agent-card funds. Limited to Ramp's agent-tools capabilities. Includes: issue one off funds.",
|
|
5334
|
+
"properties": {
|
|
5335
|
+
"method": {
|
|
5336
|
+
"const": "POST"
|
|
5337
|
+
},
|
|
5338
|
+
"path": {
|
|
5339
|
+
"type": "string",
|
|
5340
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(issue-one-off-funds))$"
|
|
5341
|
+
}
|
|
5342
|
+
},
|
|
5343
|
+
"required": [
|
|
5344
|
+
"method",
|
|
5345
|
+
"path"
|
|
5346
|
+
]
|
|
5347
|
+
},
|
|
5348
|
+
"ramp-write-limits": {
|
|
5349
|
+
"$comment": "Create or modify spend limits & allocations. Limited to Ramp's agent-tools capabilities. Includes: limit increase, lock or unlock spend allocation, lock or unlock spend allocation member, update category restrictions, update merchant restrictions, update transaction amount limit.",
|
|
5350
|
+
"properties": {
|
|
5351
|
+
"method": {
|
|
5352
|
+
"const": "POST"
|
|
5353
|
+
},
|
|
5354
|
+
"path": {
|
|
5355
|
+
"type": "string",
|
|
5356
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(limit-increase|lock-or-unlock-spend-allocation|lock-or-unlock-spend-allocation-member|update-category-restrictions|update-merchant-restrictions|update-transaction-amount-limit))$"
|
|
5357
|
+
}
|
|
5358
|
+
},
|
|
5359
|
+
"required": [
|
|
5360
|
+
"method",
|
|
5361
|
+
"path"
|
|
5362
|
+
]
|
|
5363
|
+
},
|
|
5364
|
+
"ramp-write-receipts": {
|
|
5365
|
+
"$comment": "Create or modify receipts. Limited to Ramp's agent-tools capabilities. Includes: attach receipt to transaction, mark transaction missing receipt, provide no receipt reason, upload receipt file.",
|
|
5366
|
+
"properties": {
|
|
5367
|
+
"method": {
|
|
5368
|
+
"const": "POST"
|
|
5369
|
+
},
|
|
5370
|
+
"path": {
|
|
5371
|
+
"type": "string",
|
|
5372
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(attach-receipt-to-transaction|mark-transaction-missing-receipt|provide-no-receipt-reason|upload-receipt-file))$"
|
|
5373
|
+
}
|
|
5374
|
+
},
|
|
5375
|
+
"required": [
|
|
5376
|
+
"method",
|
|
5377
|
+
"path"
|
|
5378
|
+
]
|
|
5379
|
+
},
|
|
5380
|
+
"ramp-write-reimbursements": {
|
|
5381
|
+
"$comment": "Create or modify out-of-pocket reimbursements. Limited to Ramp's agent-tools capabilities. Includes: approve or reject reimbursement, cancel reimbursement payment, create reimbursement from receipt, duplicate reimbursement, edit reimbursement, resubmit reimbursement, submit reimbursement.",
|
|
5382
|
+
"properties": {
|
|
5383
|
+
"method": {
|
|
5384
|
+
"const": "POST"
|
|
5385
|
+
},
|
|
5386
|
+
"path": {
|
|
5387
|
+
"type": "string",
|
|
5388
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(approve-or-reject-reimbursement|cancel-reimbursement-payment|create-reimbursement-from-receipt|duplicate-reimbursement|edit-reimbursement|resubmit-reimbursement|submit-reimbursement))$"
|
|
5389
|
+
}
|
|
5390
|
+
},
|
|
5391
|
+
"required": [
|
|
5392
|
+
"method",
|
|
5393
|
+
"path"
|
|
5394
|
+
]
|
|
5395
|
+
},
|
|
5396
|
+
"ramp-write-transactions": {
|
|
5397
|
+
"$comment": "Create or modify card transactions. Limited to Ramp's agent-tools capabilities. Includes: approve or reject transaction, edit transaction, request transaction repayment.",
|
|
5398
|
+
"properties": {
|
|
5399
|
+
"method": {
|
|
5400
|
+
"const": "POST"
|
|
5401
|
+
},
|
|
5402
|
+
"path": {
|
|
5403
|
+
"type": "string",
|
|
5404
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(approve-or-reject-transaction|edit-transaction|request-transaction-repayment))$"
|
|
5405
|
+
}
|
|
5406
|
+
},
|
|
5407
|
+
"required": [
|
|
5408
|
+
"method",
|
|
5409
|
+
"path"
|
|
5410
|
+
]
|
|
5411
|
+
},
|
|
5412
|
+
"ramp-write-trips": {
|
|
5413
|
+
"$comment": "Create or modify travel & trips. Limited to Ramp's agent-tools capabilities. Includes: create trip, update traveler profile.",
|
|
5414
|
+
"properties": {
|
|
5415
|
+
"method": {
|
|
5416
|
+
"const": "POST"
|
|
5417
|
+
},
|
|
5418
|
+
"path": {
|
|
5419
|
+
"type": "string",
|
|
5420
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(create-trip|update-traveler-profile))$"
|
|
5421
|
+
}
|
|
5422
|
+
},
|
|
5423
|
+
"required": [
|
|
5424
|
+
"method",
|
|
5425
|
+
"path"
|
|
5426
|
+
]
|
|
5427
|
+
},
|
|
5428
|
+
"ramp-write-vendors": {
|
|
5429
|
+
"$comment": "Create or modify vendors. Limited to Ramp's agent-tools capabilities. Includes: attach vendor document, bulk upload vendor documents.",
|
|
5430
|
+
"properties": {
|
|
5431
|
+
"method": {
|
|
5432
|
+
"const": "POST"
|
|
5433
|
+
},
|
|
5434
|
+
"path": {
|
|
5435
|
+
"type": "string",
|
|
5436
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(attach-vendor-document|bulk-upload-vendor-documents))$"
|
|
5437
|
+
}
|
|
5438
|
+
},
|
|
5439
|
+
"required": [
|
|
5440
|
+
"method",
|
|
5441
|
+
"path"
|
|
5442
|
+
]
|
|
5443
|
+
},
|
|
5444
|
+
"ramp-write-x402": {
|
|
5445
|
+
"$comment": "Create or modify x402 protocol payments. Limited to Ramp's agent-tools capabilities. Includes: pay with x402.",
|
|
5446
|
+
"properties": {
|
|
5447
|
+
"method": {
|
|
5448
|
+
"const": "POST"
|
|
5449
|
+
},
|
|
5450
|
+
"path": {
|
|
5451
|
+
"type": "string",
|
|
5452
|
+
"pattern": "^(/developer/v[0-9]+/agent-tools/(pay-with-x402))$"
|
|
5453
|
+
}
|
|
5454
|
+
},
|
|
5455
|
+
"required": [
|
|
5456
|
+
"method",
|
|
5457
|
+
"path"
|
|
5458
|
+
]
|
|
5459
|
+
},
|
|
4963
5460
|
"sentry-api": {
|
|
4964
5461
|
"$comment": "Any request to the Sentry API.",
|
|
4965
5462
|
"properties": {
|