@tangle-network/agent-integrations 0.72.0 → 0.74.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.
Files changed (35) hide show
  1. package/data/bundled-adapter-manifests.json +1 -1
  2. package/dist/{adapters-BU09k8Cr.js → adapters-CngYgl1W.js} +568 -648
  3. package/dist/{adapters-BU09k8Cr.js.map → adapters-CngYgl1W.js.map} +1 -1
  4. package/dist/{bundled-manifest-data-NtJ0vFHc.js → bundled-manifest-data-DituXLws.js} +276 -9
  5. package/dist/{bundled-manifest-data-NtJ0vFHc.js.map → bundled-manifest-data-DituXLws.js.map} +1 -1
  6. package/dist/cloudbeds-BL5EF3xl.js +1195 -0
  7. package/dist/cloudbeds-BL5EF3xl.js.map +1 -0
  8. package/dist/connect/index.js +1 -1
  9. package/dist/connectors/adapters/index.js +3 -2
  10. package/dist/connectors/index.js +5 -4
  11. package/dist/consumer.js +1 -1
  12. package/dist/index-udV3gGjx.d.ts.map +1 -1
  13. package/dist/index.js +7 -6
  14. package/dist/internal/bundled-manifest-runtime.js +1 -1
  15. package/dist/mcp.js +1 -1
  16. package/dist/middleware/index.js +1 -1
  17. package/dist/registry.js +1 -1
  18. package/dist/{specs-D5F9nOWX.js → specs-BeC45S22.js} +2 -2
  19. package/dist/{specs-D5F9nOWX.js.map → specs-BeC45S22.js.map} +1 -1
  20. package/dist/specs.js +1 -1
  21. package/dist/{src-CzkzOHaa.js → src-B4-qkoxS.js} +4 -4
  22. package/dist/{src-CzkzOHaa.js.map → src-B4-qkoxS.js.map} +1 -1
  23. package/dist/{tangle-id-D2kPF0rX.js → tangle-id-81ShqJ7k.js} +3 -262
  24. package/dist/tangle-id-81ShqJ7k.js.map +1 -0
  25. package/dist/types-BSDXGSi5.js +263 -0
  26. package/dist/types-BSDXGSi5.js.map +1 -0
  27. package/dist/webhooks/index.d.ts +5 -0
  28. package/dist/webhooks/index.d.ts.map +1 -1
  29. package/dist/webhooks/index.js +92 -2
  30. package/dist/webhooks/index.js.map +1 -1
  31. package/docs/hospitality-connectors.md +91 -11
  32. package/package.json +1 -1
  33. package/dist/tangle-id-D2kPF0rX.js.map +0 -1
  34. package/dist/webhooks-FsjqRN_0.js +0 -117
  35. package/dist/webhooks-FsjqRN_0.js.map +0 -1
@@ -28041,10 +28041,10 @@ var bundled_adapter_manifests_default = [
28041
28041
  {
28042
28042
  "kind": "cloudbeds",
28043
28043
  "displayName": "Cloudbeds",
28044
- "description": "Read reservations and room availability for one connected property, then post an approved custom item to a guest folio.",
28044
+ "description": "Read reservations, guests, housekeeping, rates and room availability for one connected property, update room condition, manage reservation webhooks, and post an approved custom item to a guest folio.",
28045
28045
  "auth": {
28046
28046
  "kind": "api-key",
28047
- "hint": "Property-scoped Cloudbeds API key with read:reservation, read:room and write:item scopes. Set the connection propertyId."
28047
+ "hint": "Property-scoped Cloudbeds API key with read:reservation, read:room, read:guest, read:housekeeping, write:housekeeping, read:rate and write:item scopes. Set the connection propertyId."
28048
28048
  },
28049
28049
  "category": "other",
28050
28050
  "defaultConsistencyModel": "authoritative",
@@ -28053,7 +28053,7 @@ var bundled_adapter_manifests_default = [
28053
28053
  "name": "reservations.list",
28054
28054
  "class": "read",
28055
28055
  "requiredScopes": ["read:reservation"],
28056
- "description": "List one page of arrivals or departures for the connected property. Guest requirements are never requested.",
28056
+ "description": "List one page of arrivals, departures, or in-house guests (status checked_in with no dates) for the connected property, with room type, room ID and room name lists. Guest requirements are never requested.",
28057
28057
  "parameters": {
28058
28058
  "type": "object",
28059
28059
  "properties": {
@@ -28097,6 +28097,125 @@ var bundled_adapter_manifests_default = [
28097
28097
  }
28098
28098
  }
28099
28099
  },
28100
+ {
28101
+ "name": "reservations.get",
28102
+ "class": "read",
28103
+ "requiredScopes": ["read:reservation"],
28104
+ "description": "Read one reservation of the connected property: status, stay dates, main guest, assigned and unassigned rooms, guest counts, source, total, balance and balanceDetailed (paid and owed amounts; Cloudbeds v1.3 has no payments read).",
28105
+ "parameters": {
28106
+ "type": "object",
28107
+ "properties": { "reservationId": {
28108
+ "type": "string",
28109
+ "minLength": 1,
28110
+ "maxLength": 256
28111
+ } },
28112
+ "required": ["reservationId"]
28113
+ }
28114
+ },
28115
+ {
28116
+ "name": "guests.get",
28117
+ "class": "read",
28118
+ "requiredScopes": ["read:guest"],
28119
+ "description": "Read one guest's name, email, phone, country and nationality at the connected property. Identity documents, address and birth date are never returned.",
28120
+ "parameters": {
28121
+ "type": "object",
28122
+ "properties": { "guestId": {
28123
+ "type": "string",
28124
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
28125
+ } },
28126
+ "required": ["guestId"]
28127
+ }
28128
+ },
28129
+ {
28130
+ "name": "guests.notes",
28131
+ "class": "read",
28132
+ "requiredScopes": ["read:guest"],
28133
+ "description": "Read staff notes on one guest at the connected property.",
28134
+ "parameters": {
28135
+ "type": "object",
28136
+ "properties": { "guestId": {
28137
+ "type": "string",
28138
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
28139
+ } },
28140
+ "required": ["guestId"]
28141
+ }
28142
+ },
28143
+ {
28144
+ "name": "housekeeping.status",
28145
+ "class": "read",
28146
+ "requiredScopes": ["read:housekeeping"],
28147
+ "description": "Read today's housekeeping status for the connected property: room condition, occupancy, do-not-disturb, front-desk status and housekeeper.",
28148
+ "parameters": {
28149
+ "type": "object",
28150
+ "properties": {
28151
+ "roomId": {
28152
+ "type": "string",
28153
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
28154
+ },
28155
+ "roomCondition": {
28156
+ "type": "string",
28157
+ "enum": ["clean", "dirty"]
28158
+ },
28159
+ "pageNumber": {
28160
+ "type": "integer",
28161
+ "minimum": 1,
28162
+ "maximum": 1e5
28163
+ },
28164
+ "pageSize": {
28165
+ "type": "integer",
28166
+ "minimum": 1,
28167
+ "maximum": 500
28168
+ }
28169
+ }
28170
+ }
28171
+ },
28172
+ {
28173
+ "name": "housekeeping.update",
28174
+ "class": "mutation",
28175
+ "cas": "optimistic-read-verify",
28176
+ "externalEffect": false,
28177
+ "requiredScopes": ["read:housekeeping", "write:housekeeping"],
28178
+ "description": "Verify the room belongs to the connected property, then set today's room condition to clean or dirty and optionally do-not-disturb. Setting an explicit condition is idempotent.",
28179
+ "parameters": {
28180
+ "type": "object",
28181
+ "properties": {
28182
+ "roomId": {
28183
+ "type": "string",
28184
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
28185
+ },
28186
+ "roomCondition": {
28187
+ "type": "string",
28188
+ "enum": ["clean", "dirty"]
28189
+ },
28190
+ "doNotDisturb": { "type": "boolean" }
28191
+ },
28192
+ "required": ["roomId", "roomCondition"]
28193
+ }
28194
+ },
28195
+ {
28196
+ "name": "rate-plans.list",
28197
+ "class": "read",
28198
+ "requiredScopes": ["read:rate"],
28199
+ "description": "Read publicly sellable rate plans and stay rates for 1 to 31 nights at the connected property, optionally for one room type. This does not hold or price a booking.",
28200
+ "parameters": {
28201
+ "type": "object",
28202
+ "properties": {
28203
+ "startDate": {
28204
+ "type": "string",
28205
+ "format": "date"
28206
+ },
28207
+ "endDate": {
28208
+ "type": "string",
28209
+ "format": "date"
28210
+ },
28211
+ "roomTypeId": {
28212
+ "type": "string",
28213
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
28214
+ }
28215
+ },
28216
+ "required": ["startDate", "endDate"]
28217
+ }
28218
+ },
28100
28219
  {
28101
28220
  "name": "room-types.available",
28102
28221
  "class": "read",
@@ -28215,6 +28334,78 @@ var bundled_adapter_manifests_default = [
28215
28334
  "taxes"
28216
28335
  ]
28217
28336
  }
28337
+ },
28338
+ {
28339
+ "name": "webhooks.subscribe",
28340
+ "class": "mutation",
28341
+ "cas": "optimistic-read-verify",
28342
+ "externalEffect": true,
28343
+ "requiredScopes": ["read:reservation"],
28344
+ "description": "Subscribe an https endpoint to one reservation event for the connected property, reusing a matching subscription. An optional auth header is sent by Cloudbeds on every delivery and is never returned.",
28345
+ "parameters": {
28346
+ "type": "object",
28347
+ "properties": {
28348
+ "object": {
28349
+ "type": "string",
28350
+ "enum": ["reservation"]
28351
+ },
28352
+ "action": {
28353
+ "type": "string",
28354
+ "enum": [
28355
+ "created",
28356
+ "status_changed",
28357
+ "dates_changed",
28358
+ "accommodation_changed",
28359
+ "deleted"
28360
+ ]
28361
+ },
28362
+ "endpointUrl": {
28363
+ "type": "string",
28364
+ "format": "uri",
28365
+ "maxLength": 2048
28366
+ },
28367
+ "authHeaderName": {
28368
+ "type": "string",
28369
+ "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,64}$"
28370
+ },
28371
+ "authHeaderValue": {
28372
+ "type": "string",
28373
+ "minLength": 1,
28374
+ "maxLength": 1024
28375
+ }
28376
+ },
28377
+ "required": [
28378
+ "object",
28379
+ "action",
28380
+ "endpointUrl"
28381
+ ]
28382
+ }
28383
+ },
28384
+ {
28385
+ "name": "webhooks.list",
28386
+ "class": "read",
28387
+ "requiredScopes": ["read:reservation"],
28388
+ "description": "List webhook subscriptions visible to the connected property. Auth header values are never returned.",
28389
+ "parameters": {
28390
+ "type": "object",
28391
+ "properties": {}
28392
+ }
28393
+ },
28394
+ {
28395
+ "name": "webhooks.delete",
28396
+ "class": "mutation",
28397
+ "cas": "optimistic-read-verify",
28398
+ "externalEffect": true,
28399
+ "requiredScopes": ["read:reservation"],
28400
+ "description": "Delete one webhook subscription after confirming it is visible to the connected property. A missing subscription is reported as already absent.",
28401
+ "parameters": {
28402
+ "type": "object",
28403
+ "properties": { "subscriptionId": {
28404
+ "type": "string",
28405
+ "pattern": "^[A-Za-z0-9_-]{1,128}$"
28406
+ } },
28407
+ "required": ["subscriptionId"]
28408
+ }
28218
28409
  }
28219
28410
  ]
28220
28411
  },
@@ -51764,7 +51955,7 @@ var bundled_adapter_manifests_default = [
51764
51955
  },
51765
51956
  {
51766
51957
  "name": "git.createTree",
51767
- "description": "Step 2 of a draft pull request. Write a tree: `base_tree` plus the changed entries. Each entry is `{ path, mode: \"100644\", type: \"blob\", content }` (use `sha: null` to delete a file). Creates an unreferenced object; nothing is visible until a branch points at a commit using it.",
51958
+ "description": "Prefer pulls.propose, which proposes a whole change under one owner approval; each of these low-level steps needs its own. Step 2 of a draft pull request. Write a tree: `base_tree` plus the changed entries. Each entry is `{ path, mode: \"100644\", type: \"blob\", content }` (use `sha: null` to delete a file). Creates an unreferenced object; nothing is visible until a branch points at a commit using it.",
51768
51959
  "parameters": {
51769
51960
  "type": "object",
51770
51961
  "properties": {
@@ -51824,7 +52015,7 @@ var bundled_adapter_manifests_default = [
51824
52015
  },
51825
52016
  {
51826
52017
  "name": "git.createCommit",
51827
- "description": "Step 3 of a draft pull request. Write a commit object for a tree with explicit parents (normally the base branch head). Creates an unreferenced object; it moves no branch. Its `sha` is what git.createRef needs.",
52018
+ "description": "Prefer pulls.propose for a pull request (one owner approval for the whole change). Step 3 of a draft pull request. Write a commit object for a tree with explicit parents (normally the base branch head). Creates an unreferenced object; it moves no branch. Its `sha` is what git.createRef needs.",
51828
52019
  "parameters": {
51829
52020
  "type": "object",
51830
52021
  "properties": {
@@ -51860,7 +52051,7 @@ var bundled_adapter_manifests_default = [
51860
52051
  },
51861
52052
  {
51862
52053
  "name": "git.createRef",
51863
- "description": "Step 4 of a draft pull request. Create a NEW branch at a commit: `ref` must be `refs/heads/<new-branch>` and `sha` the commit from git.createCommit. Never moves an existing branch; GitHub returns 422 when the ref already exists. Then pulls.create with `head: \"<new-branch>\"` (no `refs/heads/`) and `draft: true`.",
52054
+ "description": "Prefer pulls.propose for a pull request (one owner approval for the whole change). Step 4 of a draft pull request. Create a NEW branch at a commit: `ref` must be `refs/heads/<new-branch>` and `sha` the commit from git.createCommit. Never moves an existing branch; GitHub returns 422 when the ref already exists. Then pulls.create with `head: \"<new-branch>\"` (no `refs/heads/`) and `draft: true`.",
51864
52055
  "parameters": {
51865
52056
  "type": "object",
51866
52057
  "properties": {
@@ -51944,7 +52135,7 @@ var bundled_adapter_manifests_default = [
51944
52135
  },
51945
52136
  {
51946
52137
  "name": "pulls.create",
51947
- "description": "Open a pull request from `head` into `base` on the target repository. Step 5 of a draft pull request: `head` is the branch git.createRef created and `draft: true`.",
52138
+ "description": "Open a pull request from `head` into `base` on the target repository. To propose file changes, prefer pulls.propose, which writes the files and opens the draft under one owner approval. Step 5 of a draft pull request: `head` is the branch git.createRef created and `draft: true`.",
51948
52139
  "parameters": {
51949
52140
  "type": "object",
51950
52141
  "properties": {
@@ -51981,6 +52172,81 @@ var bundled_adapter_manifests_default = [
51981
52172
  "cas": "native-idempotency",
51982
52173
  "externalEffect": true
51983
52174
  },
52175
+ {
52176
+ "name": "pulls.propose",
52177
+ "description": "Propose a change as a draft pull request in ONE call, under one owner approval: write `files` on a NEW branch cut from the head of `base`, commit them, and open a draft pull request from `branch` into `base`. Prefer it over git.createTree, git.createCommit, git.createRef and pulls.create, which each need their own approval. It never moves an existing branch and never merges. Returns the pull request, the commit and each changed file with its line counts.",
52178
+ "parameters": {
52179
+ "type": "object",
52180
+ "additionalProperties": false,
52181
+ "properties": {
52182
+ "owner": { "type": "string" },
52183
+ "repo": { "type": "string" },
52184
+ "base": {
52185
+ "type": "string",
52186
+ "description": "Branch the pull request merges into, usually the default branch (`main`). A plain branch name."
52187
+ },
52188
+ "branch": {
52189
+ "type": "string",
52190
+ "description": "The NEW branch to create, e.g. `gtm-agent/hero-copy`. It must not exist yet and must differ from `base`."
52191
+ },
52192
+ "title": {
52193
+ "type": "string",
52194
+ "minLength": 1,
52195
+ "maxLength": 256
52196
+ },
52197
+ "body": {
52198
+ "type": "string",
52199
+ "description": "Pull request description (markdown)."
52200
+ },
52201
+ "commit_message": {
52202
+ "type": "string",
52203
+ "description": "Commit message; defaults to the title."
52204
+ },
52205
+ "files": {
52206
+ "type": "array",
52207
+ "minItems": 1,
52208
+ "maxItems": 50,
52209
+ "description": "Every file the change writes or deletes. `{ path, content }` writes the whole new file; `{ path, delete: true }` removes it.",
52210
+ "items": {
52211
+ "type": "object",
52212
+ "additionalProperties": false,
52213
+ "properties": {
52214
+ "path": {
52215
+ "type": "string",
52216
+ "description": "Repository-relative path, e.g. `src/routes/_index.tsx`."
52217
+ },
52218
+ "content": {
52219
+ "type": "string",
52220
+ "description": "The complete new file content (UTF-8 text)."
52221
+ },
52222
+ "mode": {
52223
+ "type": "string",
52224
+ "enum": ["100644", "100755"],
52225
+ "description": "File mode; `100755` for an executable. Defaults to `100644`."
52226
+ },
52227
+ "delete": {
52228
+ "type": "boolean",
52229
+ "description": "True deletes the file; false or absent writes `content`."
52230
+ }
52231
+ },
52232
+ "required": ["path"]
52233
+ }
52234
+ }
52235
+ },
52236
+ "required": [
52237
+ "owner",
52238
+ "repo",
52239
+ "base",
52240
+ "branch",
52241
+ "title",
52242
+ "files"
52243
+ ]
52244
+ },
52245
+ "requiredScopes": { "__tangleUndefined": true },
52246
+ "class": "mutation",
52247
+ "cas": "optimistic-read-verify",
52248
+ "externalEffect": true
52249
+ },
51984
52250
  {
51985
52251
  "name": "pulls.merge",
51986
52252
  "description": "Merge a pull request by number. `merge_method` selects merge | squash | rebase.",
@@ -61761,7 +62027,8 @@ var bundled_adapter_manifests_default = [
61761
62027
  "scopes": [
61762
62028
  "oauth",
61763
62029
  "crm.objects.contacts.read",
61764
- "crm.objects.contacts.write"
62030
+ "crm.objects.contacts.write",
62031
+ "crm.objects.deals.read"
61765
62032
  ],
61766
62033
  "clientIdEnv": "HUBSPOT_OAUTH_CLIENT_ID",
61767
62034
  "clientSecretEnv": "HUBSPOT_OAUTH_CLIENT_SECRET"
@@ -141756,4 +142023,4 @@ function isUndefinedMarker(value) {
141756
142023
  //#endregion
141757
142024
  export { getBundledAdapterManifest as a, listBundledAdapterManifests as c, bundledOAuth2AuthContract as i, bundledAuthMode as n, hasBundledAdapter as o, bundledOAuth2Auth as r, listBundledAdapterKinds as s, bundledApiKeyHint as t };
141758
142025
 
141759
- //# sourceMappingURL=bundled-manifest-data-NtJ0vFHc.js.map
142026
+ //# sourceMappingURL=bundled-manifest-data-DituXLws.js.map