intercom-client 6.0.0-alpha → 6.0.0-beta.2
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/CHANGELOG.md +77 -0
- package/LICENSE +201 -0
- package/README.md +217 -111
- package/_shims/MultipartBody.d.ts +9 -0
- package/_shims/MultipartBody.d.ts.map +1 -0
- package/_shims/MultipartBody.js +16 -0
- package/_shims/MultipartBody.js.map +1 -0
- package/_shims/MultipartBody.mjs +12 -0
- package/_shims/MultipartBody.mjs.map +1 -0
- package/_shims/README.md +46 -0
- package/_shims/auto/runtime-bun.d.ts +5 -0
- package/_shims/auto/runtime-bun.d.ts.map +1 -0
- package/_shims/auto/runtime-bun.js +21 -0
- package/_shims/auto/runtime-bun.js.map +1 -0
- package/_shims/auto/runtime-bun.mjs +2 -0
- package/_shims/auto/runtime-bun.mjs.map +1 -0
- package/_shims/auto/runtime-node.d.ts +5 -0
- package/_shims/auto/runtime-node.d.ts.map +1 -0
- package/_shims/auto/runtime-node.js +21 -0
- package/_shims/auto/runtime-node.js.map +1 -0
- package/_shims/auto/runtime-node.mjs +2 -0
- package/_shims/auto/runtime-node.mjs.map +1 -0
- package/_shims/auto/runtime.d.ts +5 -0
- package/_shims/auto/runtime.d.ts.map +1 -0
- package/_shims/auto/runtime.js +21 -0
- package/_shims/auto/runtime.js.map +1 -0
- package/_shims/auto/runtime.mjs +2 -0
- package/_shims/auto/runtime.mjs.map +1 -0
- package/_shims/auto/types-node.d.ts +5 -0
- package/_shims/auto/types-node.d.ts.map +1 -0
- package/_shims/auto/types-node.js +21 -0
- package/_shims/auto/types-node.js.map +1 -0
- package/_shims/auto/types-node.mjs +2 -0
- package/_shims/auto/types-node.mjs.map +1 -0
- package/_shims/auto/types.d.ts +101 -0
- package/_shims/auto/types.js +3 -0
- package/_shims/auto/types.mjs +3 -0
- package/_shims/bun-runtime.d.ts +6 -0
- package/_shims/bun-runtime.d.ts.map +1 -0
- package/_shims/bun-runtime.js +14 -0
- package/_shims/bun-runtime.js.map +1 -0
- package/_shims/bun-runtime.mjs +10 -0
- package/_shims/bun-runtime.mjs.map +1 -0
- package/_shims/index.d.ts +81 -0
- package/_shims/index.js +13 -0
- package/_shims/index.mjs +7 -0
- package/_shims/manual-types.d.ts +12 -0
- package/_shims/manual-types.js +3 -0
- package/_shims/manual-types.mjs +3 -0
- package/_shims/node-runtime.d.ts +3 -0
- package/_shims/node-runtime.d.ts.map +1 -0
- package/_shims/node-runtime.js +89 -0
- package/_shims/node-runtime.js.map +1 -0
- package/_shims/node-runtime.mjs +56 -0
- package/_shims/node-runtime.mjs.map +1 -0
- package/_shims/node-types.d.ts +42 -0
- package/_shims/node-types.js +3 -0
- package/_shims/node-types.mjs +3 -0
- package/_shims/registry.d.ts +37 -0
- package/_shims/registry.d.ts.map +1 -0
- package/_shims/registry.js +41 -0
- package/_shims/registry.js.map +1 -0
- package/_shims/registry.mjs +37 -0
- package/_shims/registry.mjs.map +1 -0
- package/_shims/web-runtime.d.ts +5 -0
- package/_shims/web-runtime.d.ts.map +1 -0
- package/_shims/web-runtime.js +78 -0
- package/_shims/web-runtime.js.map +1 -0
- package/_shims/web-runtime.mjs +71 -0
- package/_shims/web-runtime.mjs.map +1 -0
- package/_shims/web-types.d.ts +83 -0
- package/_shims/web-types.js +3 -0
- package/_shims/web-types.mjs +3 -0
- package/core.d.ts +239 -0
- package/core.d.ts.map +1 -0
- package/core.js +881 -0
- package/core.js.map +1 -0
- package/core.mjs +850 -0
- package/core.mjs.map +1 -0
- package/error.d.ts +53 -0
- package/error.d.ts.map +1 -0
- package/error.js +143 -0
- package/error.js.map +1 -0
- package/error.mjs +127 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +296 -0
- package/index.d.ts +296 -4
- package/index.d.ts.map +1 -0
- package/index.js +145 -9
- package/index.js.map +1 -0
- package/index.mjs +142 -0
- package/index.mjs.map +1 -0
- package/package.json +99 -33
- package/pagination.d.ts +40 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +41 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +37 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.ts +6 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +11 -0
- package/resource.js.map +1 -0
- package/resource.mjs +7 -0
- package/resource.mjs.map +1 -0
- package/resources/admins/activity-logs.d.ts +144 -0
- package/resources/admins/activity-logs.d.ts.map +1 -0
- package/resources/admins/activity-logs.js +27 -0
- package/resources/admins/activity-logs.js.map +1 -0
- package/resources/admins/activity-logs.mjs +23 -0
- package/resources/admins/activity-logs.mjs.map +1 -0
- package/resources/admins/admins.d.ts +75 -0
- package/resources/admins/admins.d.ts.map +1 -0
- package/resources/admins/admins.js +87 -0
- package/resources/admins/admins.js.map +1 -0
- package/resources/admins/admins.mjs +60 -0
- package/resources/admins/admins.mjs.map +1 -0
- package/resources/admins/index.d.ts +3 -0
- package/resources/admins/index.d.ts.map +1 -0
- package/resources/admins/index.js +9 -0
- package/resources/admins/index.js.map +1 -0
- package/resources/admins/index.mjs +4 -0
- package/resources/admins/index.mjs.map +1 -0
- package/resources/articles.d.ts +496 -0
- package/resources/articles.d.ts.map +1 -0
- package/resources/articles.js +106 -0
- package/resources/articles.js.map +1 -0
- package/resources/articles.mjs +102 -0
- package/resources/articles.mjs.map +1 -0
- package/resources/companies/companies.d.ts +322 -0
- package/resources/companies/companies.d.ts.map +1 -0
- package/resources/companies/companies.js +153 -0
- package/resources/companies/companies.js.map +1 -0
- package/resources/companies/companies.mjs +126 -0
- package/resources/companies/companies.mjs.map +1 -0
- package/resources/companies/contacts.d.ts +47 -0
- package/resources/companies/contacts.d.ts.map +1 -0
- package/resources/companies/contacts.js +27 -0
- package/resources/companies/contacts.js.map +1 -0
- package/resources/companies/contacts.mjs +23 -0
- package/resources/companies/contacts.mjs.map +1 -0
- package/resources/companies/index.d.ts +4 -0
- package/resources/companies/index.d.ts.map +1 -0
- package/resources/companies/index.js +11 -0
- package/resources/companies/index.js.map +1 -0
- package/resources/companies/index.mjs +5 -0
- package/resources/companies/index.mjs.map +1 -0
- package/resources/companies/segments.d.ts +36 -0
- package/resources/companies/segments.d.ts.map +1 -0
- package/resources/companies/segments.js +27 -0
- package/resources/companies/segments.js.map +1 -0
- package/resources/companies/segments.mjs +23 -0
- package/resources/companies/segments.mjs.map +1 -0
- package/resources/contacts/companies.d.ts +99 -0
- package/resources/contacts/companies.d.ts.map +1 -0
- package/resources/contacts/companies.js +58 -0
- package/resources/contacts/companies.js.map +1 -0
- package/resources/contacts/companies.mjs +54 -0
- package/resources/contacts/companies.mjs.map +1 -0
- package/resources/contacts/contacts.d.ts +467 -0
- package/resources/contacts/contacts.d.ts.map +1 -0
- package/resources/contacts/contacts.js +315 -0
- package/resources/contacts/contacts.js.map +1 -0
- package/resources/contacts/contacts.mjs +288 -0
- package/resources/contacts/contacts.mjs.map +1 -0
- package/resources/contacts/index.d.ts +7 -0
- package/resources/contacts/index.d.ts.map +1 -0
- package/resources/contacts/index.js +17 -0
- package/resources/contacts/index.js.map +1 -0
- package/resources/contacts/index.mjs +8 -0
- package/resources/contacts/index.mjs.map +1 -0
- package/resources/contacts/notes.d.ts +71 -0
- package/resources/contacts/notes.d.ts.map +1 -0
- package/resources/contacts/notes.js +43 -0
- package/resources/contacts/notes.js.map +1 -0
- package/resources/contacts/notes.mjs +39 -0
- package/resources/contacts/notes.mjs.map +1 -0
- package/resources/contacts/segments.d.ts +36 -0
- package/resources/contacts/segments.d.ts.map +1 -0
- package/resources/contacts/segments.js +27 -0
- package/resources/contacts/segments.js.map +1 -0
- package/resources/contacts/segments.mjs +23 -0
- package/resources/contacts/segments.mjs.map +1 -0
- package/resources/contacts/subscriptions.d.ts +149 -0
- package/resources/contacts/subscriptions.d.ts.map +1 -0
- package/resources/contacts/subscriptions.js +68 -0
- package/resources/contacts/subscriptions.js.map +1 -0
- package/resources/contacts/subscriptions.mjs +64 -0
- package/resources/contacts/subscriptions.mjs.map +1 -0
- package/resources/contacts/tags.d.ts +53 -0
- package/resources/contacts/tags.d.ts.map +1 -0
- package/resources/contacts/tags.js +59 -0
- package/resources/contacts/tags.js.map +1 -0
- package/resources/contacts/tags.mjs +55 -0
- package/resources/contacts/tags.mjs.map +1 -0
- package/resources/conversations/conversations.d.ts +428 -0
- package/resources/conversations/conversations.d.ts.map +1 -0
- package/resources/conversations/conversations.js +298 -0
- package/resources/conversations/conversations.js.map +1 -0
- package/resources/conversations/conversations.mjs +270 -0
- package/resources/conversations/conversations.mjs.map +1 -0
- package/resources/conversations/customers.d.ts +145 -0
- package/resources/conversations/customers.d.ts.map +1 -0
- package/resources/conversations/customers.js +50 -0
- package/resources/conversations/customers.js.map +1 -0
- package/resources/conversations/customers.mjs +46 -0
- package/resources/conversations/customers.mjs.map +1 -0
- package/resources/conversations/index.d.ts +7 -0
- package/resources/conversations/index.d.ts.map +1 -0
- package/resources/conversations/index.js +18 -0
- package/resources/conversations/index.js.map +1 -0
- package/resources/conversations/index.mjs +8 -0
- package/resources/conversations/index.mjs.map +1 -0
- package/resources/conversations/parts.d.ts +110 -0
- package/resources/conversations/parts.d.ts.map +1 -0
- package/resources/conversations/parts.js +32 -0
- package/resources/conversations/parts.js.map +1 -0
- package/resources/conversations/parts.mjs +28 -0
- package/resources/conversations/parts.mjs.map +1 -0
- package/resources/conversations/reply.d.ts +163 -0
- package/resources/conversations/reply.d.ts.map +1 -0
- package/resources/conversations/reply.js +28 -0
- package/resources/conversations/reply.js.map +1 -0
- package/resources/conversations/reply.mjs +24 -0
- package/resources/conversations/reply.mjs.map +1 -0
- package/resources/conversations/run-assignment-rules.d.ts +24 -0
- package/resources/conversations/run-assignment-rules.d.ts.map +1 -0
- package/resources/conversations/run-assignment-rules.js +27 -0
- package/resources/conversations/run-assignment-rules.js.map +1 -0
- package/resources/conversations/run-assignment-rules.mjs +23 -0
- package/resources/conversations/run-assignment-rules.mjs.map +1 -0
- package/resources/conversations/tags.d.ts +47 -0
- package/resources/conversations/tags.d.ts.map +1 -0
- package/resources/conversations/tags.js +45 -0
- package/resources/conversations/tags.js.map +1 -0
- package/resources/conversations/tags.mjs +41 -0
- package/resources/conversations/tags.mjs.map +1 -0
- package/resources/data-attributes.d.ts +198 -0
- package/resources/data-attributes.d.ts.map +1 -0
- package/resources/data-attributes.js +60 -0
- package/resources/data-attributes.js.map +1 -0
- package/resources/data-attributes.mjs +56 -0
- package/resources/data-attributes.mjs.map +1 -0
- package/resources/data-events.d.ts +276 -0
- package/resources/data-events.d.ts.map +1 -0
- package/resources/data-events.js +148 -0
- package/resources/data-events.js.map +1 -0
- package/resources/data-events.mjs +144 -0
- package/resources/data-events.mjs.map +1 -0
- package/resources/data-exports.d.ts +77 -0
- package/resources/data-exports.d.ts.map +1 -0
- package/resources/data-exports.js +51 -0
- package/resources/data-exports.js.map +1 -0
- package/resources/data-exports.mjs +47 -0
- package/resources/data-exports.mjs.map +1 -0
- package/resources/download/content/content.d.ts +10 -0
- package/resources/download/content/content.d.ts.map +1 -0
- package/resources/download/content/content.js +40 -0
- package/resources/download/content/content.js.map +1 -0
- package/resources/download/content/content.mjs +13 -0
- package/resources/download/content/content.mjs.map +1 -0
- package/resources/download/content/data.d.ts +31 -0
- package/resources/download/content/data.d.ts.map +1 -0
- package/resources/download/content/data.js +28 -0
- package/resources/download/content/data.js.map +1 -0
- package/resources/download/content/data.mjs +24 -0
- package/resources/download/content/data.mjs.map +1 -0
- package/resources/download/content/index.d.ts +3 -0
- package/resources/download/content/index.d.ts.map +1 -0
- package/resources/download/content/index.js +9 -0
- package/resources/download/content/index.js.map +1 -0
- package/resources/download/content/index.mjs +4 -0
- package/resources/download/content/index.mjs.map +1 -0
- package/resources/download/download.d.ts +9 -0
- package/resources/download/download.d.ts.map +1 -0
- package/resources/download/download.js +40 -0
- package/resources/download/download.js.map +1 -0
- package/resources/download/download.mjs +13 -0
- package/resources/download/download.mjs.map +1 -0
- package/resources/download/index.d.ts +3 -0
- package/resources/download/index.d.ts.map +1 -0
- package/resources/download/index.js +9 -0
- package/resources/download/index.js.map +1 -0
- package/resources/download/index.mjs +4 -0
- package/resources/download/index.mjs.map +1 -0
- package/resources/export/content/content.d.ts +10 -0
- package/resources/export/content/content.d.ts.map +1 -0
- package/resources/export/content/content.js +40 -0
- package/resources/export/content/content.js.map +1 -0
- package/resources/export/content/content.mjs +13 -0
- package/resources/export/content/content.mjs.map +1 -0
- package/resources/export/content/data.d.ts +30 -0
- package/resources/export/content/data.d.ts.map +1 -0
- package/resources/export/content/data.js +27 -0
- package/resources/export/content/data.js.map +1 -0
- package/resources/export/content/data.mjs +23 -0
- package/resources/export/content/data.mjs.map +1 -0
- package/resources/export/content/index.d.ts +3 -0
- package/resources/export/content/index.d.ts.map +1 -0
- package/resources/export/content/index.js +9 -0
- package/resources/export/content/index.js.map +1 -0
- package/resources/export/content/index.mjs +4 -0
- package/resources/export/content/index.mjs.map +1 -0
- package/resources/export/export.d.ts +25 -0
- package/resources/export/export.d.ts.map +1 -0
- package/resources/export/export.js +56 -0
- package/resources/export/export.js.map +1 -0
- package/resources/export/export.mjs +29 -0
- package/resources/export/export.mjs.map +1 -0
- package/resources/export/index.d.ts +3 -0
- package/resources/export/index.d.ts.map +1 -0
- package/resources/export/index.js +9 -0
- package/resources/export/index.js.map +1 -0
- package/resources/export/index.mjs +4 -0
- package/resources/export/index.mjs.map +1 -0
- package/resources/help-center/collections.d.ts +237 -0
- package/resources/help-center/collections.d.ts.map +1 -0
- package/resources/help-center/collections.js +90 -0
- package/resources/help-center/collections.js.map +1 -0
- package/resources/help-center/collections.mjs +86 -0
- package/resources/help-center/collections.mjs.map +1 -0
- package/resources/help-center/help-center.d.ts +72 -0
- package/resources/help-center/help-center.d.ts.map +1 -0
- package/resources/help-center/help-center.js +43 -0
- package/resources/help-center/help-center.js.map +1 -0
- package/resources/help-center/help-center.mjs +16 -0
- package/resources/help-center/help-center.mjs.map +1 -0
- package/resources/help-center/help-centers.d.ts +37 -0
- package/resources/help-center/help-centers.d.ts.map +1 -0
- package/resources/help-center/help-centers.js +42 -0
- package/resources/help-center/help-centers.js.map +1 -0
- package/resources/help-center/help-centers.mjs +38 -0
- package/resources/help-center/help-centers.mjs.map +1 -0
- package/resources/help-center/index.d.ts +4 -0
- package/resources/help-center/index.d.ts.map +1 -0
- package/resources/help-center/index.js +11 -0
- package/resources/help-center/index.js.map +1 -0
- package/resources/help-center/index.mjs +5 -0
- package/resources/help-center/index.mjs.map +1 -0
- package/resources/index.d.ts +25 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +67 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +26 -0
- package/resources/index.mjs.map +1 -0
- package/resources/me.d.ts +131 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +27 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +23 -0
- package/resources/me.mjs.map +1 -0
- package/resources/messages.d.ts +54 -0
- package/resources/messages.d.ts.map +1 -0
- package/resources/messages.js +42 -0
- package/resources/messages.js.map +1 -0
- package/resources/messages.mjs +38 -0
- package/resources/messages.mjs.map +1 -0
- package/resources/news/index.d.ts +4 -0
- package/resources/news/index.d.ts.map +1 -0
- package/resources/news/index.js +11 -0
- package/resources/news/index.js.map +1 -0
- package/resources/news/index.mjs +5 -0
- package/resources/news/index.mjs.map +1 -0
- package/resources/news/news-items.d.ts +311 -0
- package/resources/news/news-items.d.ts.map +1 -0
- package/resources/news/news-items.js +89 -0
- package/resources/news/news-items.js.map +1 -0
- package/resources/news/news-items.mjs +85 -0
- package/resources/news/news-items.mjs.map +1 -0
- package/resources/news/news.d.ts +24 -0
- package/resources/news/news.d.ts.map +1 -0
- package/resources/news/news.js +43 -0
- package/resources/news/news.js.map +1 -0
- package/resources/news/news.mjs +16 -0
- package/resources/news/news.mjs.map +1 -0
- package/resources/news/newsfeeds/index.d.ts +3 -0
- package/resources/news/newsfeeds/index.d.ts.map +1 -0
- package/resources/news/newsfeeds/index.js +9 -0
- package/resources/news/newsfeeds/index.js.map +1 -0
- package/resources/news/newsfeeds/index.mjs +4 -0
- package/resources/news/newsfeeds/index.mjs.map +1 -0
- package/resources/news/newsfeeds/items.d.ts +49 -0
- package/resources/news/newsfeeds/items.d.ts.map +1 -0
- package/resources/news/newsfeeds/items.js +27 -0
- package/resources/news/newsfeeds/items.js.map +1 -0
- package/resources/news/newsfeeds/items.mjs +23 -0
- package/resources/news/newsfeeds/items.mjs.map +1 -0
- package/resources/news/newsfeeds/newsfeeds.d.ts +96 -0
- package/resources/news/newsfeeds/newsfeeds.d.ts.map +1 -0
- package/resources/news/newsfeeds/newsfeeds.js +71 -0
- package/resources/news/newsfeeds/newsfeeds.js.map +1 -0
- package/resources/news/newsfeeds/newsfeeds.mjs +44 -0
- package/resources/news/newsfeeds/newsfeeds.mjs.map +1 -0
- package/resources/notes.d.ts +22 -0
- package/resources/notes.d.ts.map +1 -0
- package/resources/notes.js +27 -0
- package/resources/notes.js.map +1 -0
- package/resources/notes.mjs +23 -0
- package/resources/notes.mjs.map +1 -0
- package/resources/phone-call-redirects.d.ts +75 -0
- package/resources/phone-call-redirects.d.ts.map +1 -0
- package/resources/phone-call-redirects.js +32 -0
- package/resources/phone-call-redirects.js.map +1 -0
- package/resources/phone-call-redirects.mjs +28 -0
- package/resources/phone-call-redirects.mjs.map +1 -0
- package/resources/segments.d.ts +92 -0
- package/resources/segments.d.ts.map +1 -0
- package/resources/segments.js +43 -0
- package/resources/segments.js.map +1 -0
- package/resources/segments.mjs +39 -0
- package/resources/segments.mjs.map +1 -0
- package/resources/shared.d.ts +2159 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/subscription-types.d.ts +23 -0
- package/resources/subscription-types.d.ts.map +1 -0
- package/resources/subscription-types.js +27 -0
- package/resources/subscription-types.js.map +1 -0
- package/resources/subscription-types.mjs +23 -0
- package/resources/subscription-types.mjs.map +1 -0
- package/resources/tags.d.ts +179 -0
- package/resources/tags.d.ts.map +1 -0
- package/resources/tags.js +96 -0
- package/resources/tags.js.map +1 -0
- package/resources/tags.mjs +92 -0
- package/resources/tags.mjs.map +1 -0
- package/resources/teams.d.ts +90 -0
- package/resources/teams.d.ts.map +1 -0
- package/resources/teams.js +42 -0
- package/resources/teams.js.map +1 -0
- package/resources/teams.mjs +38 -0
- package/resources/teams.mjs.map +1 -0
- package/resources/ticket-types/attributes.d.ts +131 -0
- package/resources/ticket-types/attributes.d.ts.map +1 -0
- package/resources/ticket-types/attributes.js +44 -0
- package/resources/ticket-types/attributes.js.map +1 -0
- package/resources/ticket-types/attributes.mjs +40 -0
- package/resources/ticket-types/attributes.mjs.map +1 -0
- package/resources/ticket-types/index.d.ts +3 -0
- package/resources/ticket-types/index.d.ts.map +1 -0
- package/resources/ticket-types/index.js +9 -0
- package/resources/ticket-types/index.js.map +1 -0
- package/resources/ticket-types/index.mjs +4 -0
- package/resources/ticket-types/index.mjs.map +1 -0
- package/resources/ticket-types/ticket-types.d.ts +204 -0
- package/resources/ticket-types/ticket-types.d.ts.map +1 -0
- package/resources/ticket-types/ticket-types.js +109 -0
- package/resources/ticket-types/ticket-types.js.map +1 -0
- package/resources/ticket-types/ticket-types.mjs +82 -0
- package/resources/ticket-types/ticket-types.mjs.map +1 -0
- package/resources/tickets/index.d.ts +3 -0
- package/resources/tickets/index.d.ts.map +1 -0
- package/resources/tickets/index.js +9 -0
- package/resources/tickets/index.js.map +1 -0
- package/resources/tickets/index.mjs +4 -0
- package/resources/tickets/index.mjs.map +1 -0
- package/resources/tickets/tags.d.ts +47 -0
- package/resources/tickets/tags.d.ts.map +1 -0
- package/resources/tickets/tags.js +45 -0
- package/resources/tickets/tags.js.map +1 -0
- package/resources/tickets/tags.mjs +41 -0
- package/resources/tickets/tags.mjs.map +1 -0
- package/resources/tickets/tickets.d.ts +472 -0
- package/resources/tickets/tickets.d.ts.map +1 -0
- package/resources/tickets/tickets.js +191 -0
- package/resources/tickets/tickets.js.map +1 -0
- package/resources/tickets/tickets.mjs +164 -0
- package/resources/tickets/tickets.mjs.map +1 -0
- package/resources/visitors.d.ts +355 -0
- package/resources/visitors.d.ts.map +1 -0
- package/resources/visitors.js +73 -0
- package/resources/visitors.js.map +1 -0
- package/resources/visitors.mjs +69 -0
- package/resources/visitors.mjs.map +1 -0
- package/shims/node.d.ts +29 -0
- package/shims/node.d.ts.map +1 -0
- package/shims/node.js +31 -0
- package/shims/node.js.map +1 -0
- package/shims/node.mjs +5 -0
- package/shims/node.mjs.map +1 -0
- package/shims/web.d.ts +26 -0
- package/shims/web.d.ts.map +1 -0
- package/shims/web.js +31 -0
- package/shims/web.js.map +1 -0
- package/shims/web.mjs +5 -0
- package/shims/web.mjs.map +1 -0
- package/src/_shims/MultipartBody.ts +9 -0
- package/src/_shims/README.md +46 -0
- package/src/_shims/auto/runtime-bun.ts +4 -0
- package/src/_shims/auto/runtime-node.ts +4 -0
- package/src/_shims/auto/runtime.ts +4 -0
- package/src/_shims/auto/types-node.ts +4 -0
- package/src/_shims/auto/types.d.ts +101 -0
- package/src/_shims/auto/types.js +3 -0
- package/src/_shims/auto/types.mjs +3 -0
- package/src/_shims/bun-runtime.ts +14 -0
- package/src/_shims/index.d.ts +81 -0
- package/src/_shims/index.js +13 -0
- package/src/_shims/index.mjs +7 -0
- package/src/_shims/manual-types.d.ts +12 -0
- package/src/_shims/manual-types.js +3 -0
- package/src/_shims/manual-types.mjs +3 -0
- package/src/_shims/node-runtime.ts +81 -0
- package/src/_shims/node-types.d.ts +42 -0
- package/src/_shims/node-types.js +3 -0
- package/src/_shims/node-types.mjs +3 -0
- package/src/_shims/registry.ts +67 -0
- package/src/_shims/web-runtime.ts +103 -0
- package/src/_shims/web-types.d.ts +83 -0
- package/src/_shims/web-types.js +3 -0
- package/src/_shims/web-types.mjs +3 -0
- package/src/core.ts +1165 -0
- package/src/error.ts +146 -0
- package/src/index.ts +408 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +91 -0
- package/src/resource.ts +11 -0
- package/src/resources/admins/activity-logs.ts +269 -0
- package/src/resources/admins/admins.ts +200 -0
- package/src/resources/admins/index.ts +4 -0
- package/src/resources/articles.ts +806 -0
- package/src/resources/companies/companies.ts +645 -0
- package/src/resources/companies/contacts.ts +97 -0
- package/src/resources/companies/index.ts +17 -0
- package/src/resources/companies/segments.ts +84 -0
- package/src/resources/contacts/companies.ts +236 -0
- package/src/resources/contacts/contacts.ts +904 -0
- package/src/resources/contacts/index.ts +35 -0
- package/src/resources/contacts/notes.ts +152 -0
- package/src/resources/contacts/segments.ts +84 -0
- package/src/resources/contacts/subscriptions.ts +291 -0
- package/src/resources/contacts/tags.ts +181 -0
- package/src/resources/conversations/conversations.ts +754 -0
- package/src/resources/conversations/customers.ts +247 -0
- package/src/resources/conversations/index.ts +20 -0
- package/src/resources/conversations/parts.ts +224 -0
- package/src/resources/conversations/reply.ts +288 -0
- package/src/resources/conversations/run-assignment-rules.ts +70 -0
- package/src/resources/conversations/tags.ts +125 -0
- package/src/resources/data-attributes.ts +347 -0
- package/src/resources/data-events.ts +454 -0
- package/src/resources/data-exports.ts +120 -0
- package/src/resources/download/content/content.ts +13 -0
- package/src/resources/download/content/data.ts +78 -0
- package/src/resources/download/content/index.ts +4 -0
- package/src/resources/download/download.ts +12 -0
- package/src/resources/download/index.ts +4 -0
- package/src/resources/export/content/content.ts +13 -0
- package/src/resources/export/content/data.ts +76 -0
- package/src/resources/export/content/index.ts +4 -0
- package/src/resources/export/export.ts +72 -0
- package/src/resources/export/index.ts +4 -0
- package/src/resources/help-center/collections.ts +469 -0
- package/src/resources/help-center/help-center.ts +84 -0
- package/src/resources/help-center/help-centers.ts +124 -0
- package/src/resources/help-center/index.ts +15 -0
- package/src/resources/index.ts +114 -0
- package/src/resources/me.ts +193 -0
- package/src/resources/messages.ts +110 -0
- package/src/resources/news/index.ts +21 -0
- package/src/resources/news/news-items.ts +545 -0
- package/src/resources/news/news.ts +27 -0
- package/src/resources/news/newsfeeds/index.ts +10 -0
- package/src/resources/news/newsfeeds/items.ts +95 -0
- package/src/resources/news/newsfeeds/newsfeeds.ts +190 -0
- package/src/resources/notes.ts +68 -0
- package/src/resources/phone-call-redirects.ts +120 -0
- package/src/resources/segments.ts +188 -0
- package/src/resources/shared.ts +2609 -0
- package/src/resources/subscription-types.ts +67 -0
- package/src/resources/tags.ts +414 -0
- package/src/resources/teams.ts +179 -0
- package/src/resources/ticket-types/attributes.ts +240 -0
- package/src/resources/ticket-types/index.ts +12 -0
- package/src/resources/ticket-types/ticket-types.ts +391 -0
- package/src/resources/tickets/index.ts +13 -0
- package/src/resources/tickets/tags.ts +125 -0
- package/src/resources/tickets/tickets.ts +780 -0
- package/src/resources/visitors.ts +542 -0
- package/src/shims/node.ts +50 -0
- package/src/shims/web.ts +50 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +248 -0
- package/src/version.ts +1 -0
- package/uploads.d.ts +75 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +165 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +152 -0
- package/uploads.mjs.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
- package/Client.d.ts +0 -91
- package/Client.js +0 -117
- package/api/errors/BadRequestError.d.ts +0 -7
- package/api/errors/BadRequestError.js +0 -41
- package/api/errors/ForbiddenError.d.ts +0 -8
- package/api/errors/ForbiddenError.js +0 -41
- package/api/errors/NotFoundError.d.ts +0 -7
- package/api/errors/NotFoundError.js +0 -41
- package/api/errors/UnauthorizedError.d.ts +0 -8
- package/api/errors/UnauthorizedError.js +0 -41
- package/api/errors/UnprocessableEntityError.d.ts +0 -7
- package/api/errors/UnprocessableEntityError.js +0 -41
- package/api/errors/index.d.ts +0 -5
- package/api/errors/index.js +0 -21
- package/api/index.d.ts +0 -4
- package/api/index.js +0 -19
- package/api/resources/admins/client/Client.d.ts +0 -101
- package/api/resources/admins/client/Client.js +0 -387
- package/api/resources/admins/client/index.d.ts +0 -1
- package/api/resources/admins/client/index.js +0 -17
- package/api/resources/admins/client/requests/AdminsAwayRequest.d.ts +0 -28
- package/api/resources/admins/client/requests/AdminsAwayRequest.js +0 -5
- package/api/resources/admins/client/requests/AdminsListAllActivityLogsRequest.d.ts +0 -19
- package/api/resources/admins/client/requests/AdminsListAllActivityLogsRequest.js +0 -5
- package/api/resources/admins/client/requests/index.d.ts +0 -2
- package/api/resources/admins/client/requests/index.js +0 -2
- package/api/resources/admins/index.d.ts +0 -2
- package/api/resources/admins/index.js +0 -18
- package/api/resources/admins/types/Admin.d.ts +0 -30
- package/api/resources/admins/types/Admin.js +0 -5
- package/api/resources/admins/types/index.d.ts +0 -1
- package/api/resources/admins/types/index.js +0 -17
- package/api/resources/aiAgent/index.d.ts +0 -1
- package/api/resources/aiAgent/index.js +0 -17
- package/api/resources/aiAgent/types/AiAgent.d.ts +0 -22
- package/api/resources/aiAgent/types/AiAgent.js +0 -5
- package/api/resources/aiAgent/types/AiAgentSourceType.d.ts +0 -14
- package/api/resources/aiAgent/types/AiAgentSourceType.js +0 -13
- package/api/resources/aiAgent/types/index.d.ts +0 -2
- package/api/resources/aiAgent/types/index.js +0 -18
- package/api/resources/aiContentSource/index.d.ts +0 -1
- package/api/resources/aiContentSource/index.js +0 -17
- package/api/resources/aiContentSource/types/ContentSource.d.ts +0 -17
- package/api/resources/aiContentSource/types/ContentSource.js +0 -5
- package/api/resources/aiContentSource/types/ContentSourceContentType.d.ts +0 -14
- package/api/resources/aiContentSource/types/ContentSourceContentType.js +0 -13
- package/api/resources/aiContentSource/types/index.d.ts +0 -2
- package/api/resources/aiContentSource/types/index.js +0 -18
- package/api/resources/articles/client/Client.d.ts +0 -142
- package/api/resources/articles/client/Client.js +0 -495
- package/api/resources/articles/client/index.d.ts +0 -1
- package/api/resources/articles/client/index.js +0 -17
- package/api/resources/articles/client/requests/ArticlesSearchRequest.d.ts +0 -25
- package/api/resources/articles/client/requests/ArticlesSearchRequest.js +0 -5
- package/api/resources/articles/client/requests/index.d.ts +0 -1
- package/api/resources/articles/client/requests/index.js +0 -2
- package/api/resources/articles/index.d.ts +0 -2
- package/api/resources/articles/index.js +0 -18
- package/api/resources/articles/types/Article.d.ts +0 -10
- package/api/resources/articles/types/Article.js +0 -5
- package/api/resources/articles/types/ArticleListItem.d.ts +0 -40
- package/api/resources/articles/types/ArticleListItem.js +0 -5
- package/api/resources/articles/types/ArticleListItemState.d.ts +0 -11
- package/api/resources/articles/types/ArticleListItemState.js +0 -10
- package/api/resources/articles/types/ArticleSearchHighlights.d.ts +0 -15
- package/api/resources/articles/types/ArticleSearchHighlights.js +0 -5
- package/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItem.d.ts +0 -13
- package/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItem.js +0 -5
- package/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItemType.d.ts +0 -11
- package/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItemType.js +0 -10
- package/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItem.d.ts +0 -13
- package/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItem.js +0 -5
- package/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItemType.d.ts +0 -11
- package/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItemType.js +0 -10
- package/api/resources/articles/types/ArticleSearchResponse.d.ts +0 -16
- package/api/resources/articles/types/ArticleSearchResponse.js +0 -5
- package/api/resources/articles/types/ArticleSearchResponseData.d.ts +0 -13
- package/api/resources/articles/types/ArticleSearchResponseData.js +0 -5
- package/api/resources/articles/types/index.d.ts +0 -10
- package/api/resources/articles/types/index.js +0 -26
- package/api/resources/companies/client/Client.d.ts +0 -237
- package/api/resources/companies/client/Client.js +0 -893
- package/api/resources/companies/client/index.d.ts +0 -1
- package/api/resources/companies/client/index.js +0 -17
- package/api/resources/companies/client/requests/CompaniesAttachContactRequest.d.ts +0 -23
- package/api/resources/companies/client/requests/CompaniesAttachContactRequest.js +0 -5
- package/api/resources/companies/client/requests/CompaniesListRequest.d.ts +0 -21
- package/api/resources/companies/client/requests/CompaniesListRequest.js +0 -5
- package/api/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +0 -33
- package/api/resources/companies/client/requests/CompaniesRetrieveRequest.js +0 -5
- package/api/resources/companies/client/requests/CompaniesScrollRequest.d.ts +0 -13
- package/api/resources/companies/client/requests/CompaniesScrollRequest.js +0 -5
- package/api/resources/companies/client/requests/index.d.ts +0 -4
- package/api/resources/companies/client/requests/index.js +0 -2
- package/api/resources/companies/index.d.ts +0 -2
- package/api/resources/companies/index.js +0 -18
- package/api/resources/companies/types/Company.d.ts +0 -46
- package/api/resources/companies/types/Company.js +0 -5
- package/api/resources/companies/types/CompanyPlan.d.ts +0 -11
- package/api/resources/companies/types/CompanyPlan.js +0 -5
- package/api/resources/companies/types/CompanySegments.d.ts +0 -12
- package/api/resources/companies/types/CompanySegments.js +0 -5
- package/api/resources/companies/types/CompanyTags.d.ts +0 -11
- package/api/resources/companies/types/CompanyTags.js +0 -5
- package/api/resources/companies/types/index.d.ts +0 -4
- package/api/resources/companies/types/index.js +0 -20
- package/api/resources/contacts/client/Client.d.ts +0 -363
- package/api/resources/contacts/client/Client.js +0 -1150
- package/api/resources/contacts/client/index.d.ts +0 -1
- package/api/resources/contacts/client/index.js +0 -17
- package/api/resources/contacts/client/requests/ContactsAttachToContactRequest.d.ts +0 -28
- package/api/resources/contacts/client/requests/ContactsAttachToContactRequest.js +0 -5
- package/api/resources/contacts/client/requests/MergeContactsRequest.d.ts +0 -16
- package/api/resources/contacts/client/requests/MergeContactsRequest.js +0 -5
- package/api/resources/contacts/client/requests/UpdateContactRequest.d.ts +0 -34
- package/api/resources/contacts/client/requests/UpdateContactRequest.js +0 -5
- package/api/resources/contacts/client/requests/index.d.ts +0 -3
- package/api/resources/contacts/client/requests/index.js +0 -2
- package/api/resources/contacts/index.d.ts +0 -2
- package/api/resources/contacts/index.js +0 -18
- package/api/resources/contacts/types/Contact.d.ts +0 -95
- package/api/resources/contacts/types/Contact.js +0 -5
- package/api/resources/contacts/types/ContactAvatar.d.ts +0 -9
- package/api/resources/contacts/types/ContactAvatar.js +0 -5
- package/api/resources/contacts/types/index.d.ts +0 -2
- package/api/resources/contacts/types/index.js +0 -18
- package/api/resources/conversations/client/Client.d.ts +0 -446
- package/api/resources/conversations/client/Client.js +0 -1153
- package/api/resources/conversations/client/index.d.ts +0 -1
- package/api/resources/conversations/client/index.js +0 -17
- package/api/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +0 -26
- package/api/resources/conversations/client/requests/AttachContactToConversationRequest.js +0 -5
- package/api/resources/conversations/client/requests/ConversationsFindRequest.d.ts +0 -13
- package/api/resources/conversations/client/requests/ConversationsFindRequest.js +0 -5
- package/api/resources/conversations/client/requests/ConversationsListRequest.d.ts +0 -17
- package/api/resources/conversations/client/requests/ConversationsListRequest.js +0 -5
- package/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +0 -20
- package/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +0 -5
- package/api/resources/conversations/client/requests/CreateConversationRequest.d.ts +0 -28
- package/api/resources/conversations/client/requests/CreateConversationRequest.js +0 -5
- package/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +0 -28
- package/api/resources/conversations/client/requests/DetachContactFromConversationRequest.js +0 -5
- package/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +0 -32
- package/api/resources/conversations/client/requests/UpdateConversationRequest.js +0 -5
- package/api/resources/conversations/client/requests/index.d.ts +0 -7
- package/api/resources/conversations/client/requests/index.js +0 -2
- package/api/resources/conversations/index.d.ts +0 -2
- package/api/resources/conversations/index.js +0 -18
- package/api/resources/conversations/types/AttachContactToConversationRequestCustomer.d.ts +0 -5
- package/api/resources/conversations/types/AttachContactToConversationRequestCustomer.js +0 -5
- package/api/resources/conversations/types/AttachContactToConversationRequestCustomerCustomer.d.ts +0 -9
- package/api/resources/conversations/types/AttachContactToConversationRequestCustomerCustomer.js +0 -5
- package/api/resources/conversations/types/AttachContactToConversationRequestCustomerIntercomUserId.d.ts +0 -9
- package/api/resources/conversations/types/AttachContactToConversationRequestCustomerIntercomUserId.js +0 -5
- package/api/resources/conversations/types/AttachContactToConversationRequestCustomerUserId.d.ts +0 -9
- package/api/resources/conversations/types/AttachContactToConversationRequestCustomerUserId.js +0 -5
- package/api/resources/conversations/types/Conversation.d.ts +0 -49
- package/api/resources/conversations/types/Conversation.js +0 -5
- package/api/resources/conversations/types/ConversationPriority.d.ts +0 -11
- package/api/resources/conversations/types/ConversationPriority.js +0 -10
- package/api/resources/conversations/types/ConversationState.d.ts +0 -12
- package/api/resources/conversations/types/ConversationState.js +0 -11
- package/api/resources/conversations/types/ConversationsManageRequestBody.d.ts +0 -19
- package/api/resources/conversations/types/ConversationsManageRequestBody.js +0 -5
- package/api/resources/conversations/types/CreateConversationRequestFrom.d.ts +0 -10
- package/api/resources/conversations/types/CreateConversationRequestFrom.js +0 -5
- package/api/resources/conversations/types/CreateConversationRequestFromType.d.ts +0 -12
- package/api/resources/conversations/types/CreateConversationRequestFromType.js +0 -11
- package/api/resources/conversations/types/index.d.ts +0 -10
- package/api/resources/conversations/types/index.js +0 -26
- package/api/resources/customObjectInstances/index.d.ts +0 -1
- package/api/resources/customObjectInstances/index.js +0 -17
- package/api/resources/customObjectInstances/types/CustomObjectInstance.d.ts +0 -16
- package/api/resources/customObjectInstances/types/CustomObjectInstance.js +0 -5
- package/api/resources/customObjectInstances/types/index.d.ts +0 -1
- package/api/resources/customObjectInstances/types/index.js +0 -17
- package/api/resources/dataAttributes/client/Client.d.ts +0 -136
- package/api/resources/dataAttributes/client/Client.js +0 -336
- package/api/resources/dataAttributes/client/index.d.ts +0 -1
- package/api/resources/dataAttributes/client/index.js +0 -17
- package/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +0 -63
- package/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +0 -5
- package/api/resources/dataAttributes/client/requests/DataAttributesListRequest.d.ts +0 -18
- package/api/resources/dataAttributes/client/requests/DataAttributesListRequest.js +0 -5
- package/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +0 -41
- package/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +0 -5
- package/api/resources/dataAttributes/client/requests/index.d.ts +0 -3
- package/api/resources/dataAttributes/client/requests/index.js +0 -2
- package/api/resources/dataAttributes/index.d.ts +0 -2
- package/api/resources/dataAttributes/index.js +0 -18
- package/api/resources/dataAttributes/types/CreateDataAttributeRequestDataType.d.ts +0 -15
- package/api/resources/dataAttributes/types/CreateDataAttributeRequestDataType.js +0 -14
- package/api/resources/dataAttributes/types/CreateDataAttributeRequestModel.d.ts +0 -11
- package/api/resources/dataAttributes/types/CreateDataAttributeRequestModel.js +0 -10
- package/api/resources/dataAttributes/types/DataAttribute.d.ts +0 -43
- package/api/resources/dataAttributes/types/DataAttribute.js +0 -5
- package/api/resources/dataAttributes/types/DataAttributeDataType.d.ts +0 -14
- package/api/resources/dataAttributes/types/DataAttributeDataType.js +0 -13
- package/api/resources/dataAttributes/types/DataAttributeModel.d.ts +0 -11
- package/api/resources/dataAttributes/types/DataAttributeModel.js +0 -10
- package/api/resources/dataAttributes/types/DataAttributesListRequestModel.d.ts +0 -9
- package/api/resources/dataAttributes/types/DataAttributesListRequestModel.js +0 -11
- package/api/resources/dataAttributes/types/index.d.ts +0 -6
- package/api/resources/dataAttributes/types/index.js +0 -22
- package/api/resources/dataEvents/index.d.ts +0 -1
- package/api/resources/dataEvents/index.js +0 -17
- package/api/resources/dataEvents/types/DataEvent.d.ts +0 -24
- package/api/resources/dataEvents/types/DataEvent.js +0 -5
- package/api/resources/dataEvents/types/index.d.ts +0 -1
- package/api/resources/dataEvents/types/index.js +0 -17
- package/api/resources/dataExport/client/Client.d.ts +0 -100
- package/api/resources/dataExport/client/Client.js +0 -310
- package/api/resources/dataExport/client/index.d.ts +0 -1
- package/api/resources/dataExport/client/index.js +0 -17
- package/api/resources/dataExport/client/requests/CreateDataExportsRequest.d.ts +0 -16
- package/api/resources/dataExport/client/requests/CreateDataExportsRequest.js +0 -5
- package/api/resources/dataExport/client/requests/index.d.ts +0 -1
- package/api/resources/dataExport/client/requests/index.js +0 -2
- package/api/resources/dataExport/index.d.ts +0 -2
- package/api/resources/dataExport/index.js +0 -18
- package/api/resources/dataExport/types/DataExport.d.ts +0 -17
- package/api/resources/dataExport/types/DataExport.js +0 -5
- package/api/resources/dataExport/types/DataExportStatus.d.ts +0 -15
- package/api/resources/dataExport/types/DataExportStatus.js +0 -14
- package/api/resources/dataExport/types/index.d.ts +0 -2
- package/api/resources/dataExport/types/index.js +0 -18
- package/api/resources/events/client/Client.d.ts +0 -127
- package/api/resources/events/client/Client.js +0 -318
- package/api/resources/events/client/index.d.ts +0 -1
- package/api/resources/events/client/index.js +0 -17
- package/api/resources/events/client/requests/CreateDataEventSummariesRequest.d.ts +0 -14
- package/api/resources/events/client/requests/CreateDataEventSummariesRequest.js +0 -5
- package/api/resources/events/client/requests/EventsListRequest.d.ts +0 -25
- package/api/resources/events/client/requests/EventsListRequest.js +0 -5
- package/api/resources/events/client/requests/index.d.ts +0 -2
- package/api/resources/events/client/requests/index.js +0 -2
- package/api/resources/events/index.d.ts +0 -2
- package/api/resources/events/index.js +0 -18
- package/api/resources/events/types/CreateDataEventSummariesRequestEventSummaries.d.ts +0 -16
- package/api/resources/events/types/CreateDataEventSummariesRequestEventSummaries.js +0 -5
- package/api/resources/events/types/EventsListRequestFilter.d.ts +0 -5
- package/api/resources/events/types/EventsListRequestFilter.js +0 -5
- package/api/resources/events/types/EventsListRequestFilterEmail.d.ts +0 -6
- package/api/resources/events/types/EventsListRequestFilterEmail.js +0 -5
- package/api/resources/events/types/EventsListRequestFilterIntercomUserId.d.ts +0 -6
- package/api/resources/events/types/EventsListRequestFilterIntercomUserId.js +0 -5
- package/api/resources/events/types/EventsListRequestFilterUserId.d.ts +0 -6
- package/api/resources/events/types/EventsListRequestFilterUserId.js +0 -5
- package/api/resources/events/types/index.d.ts +0 -5
- package/api/resources/events/types/index.js +0 -21
- package/api/resources/helpCenter/client/Client.d.ts +0 -60
- package/api/resources/helpCenter/client/Client.js +0 -196
- package/api/resources/helpCenter/client/index.d.ts +0 -1
- package/api/resources/helpCenter/client/index.js +0 -2
- package/api/resources/helpCenter/index.d.ts +0 -3
- package/api/resources/helpCenter/index.js +0 -19
- package/api/resources/helpCenter/resources/collections/client/Client.d.ts +0 -106
- package/api/resources/helpCenter/resources/collections/client/Client.js +0 -395
- package/api/resources/helpCenter/resources/collections/client/index.d.ts +0 -1
- package/api/resources/helpCenter/resources/collections/client/index.js +0 -17
- package/api/resources/helpCenter/resources/collections/client/requests/CreateCollectionRequest.d.ts +0 -27
- package/api/resources/helpCenter/resources/collections/client/requests/CreateCollectionRequest.js +0 -5
- package/api/resources/helpCenter/resources/collections/client/requests/UpdateCollectionRequest.d.ts +0 -24
- package/api/resources/helpCenter/resources/collections/client/requests/UpdateCollectionRequest.js +0 -5
- package/api/resources/helpCenter/resources/collections/client/requests/index.d.ts +0 -2
- package/api/resources/helpCenter/resources/collections/client/requests/index.js +0 -2
- package/api/resources/helpCenter/resources/collections/index.d.ts +0 -1
- package/api/resources/helpCenter/resources/collections/index.js +0 -17
- package/api/resources/helpCenter/resources/index.d.ts +0 -2
- package/api/resources/helpCenter/resources/index.js +0 -31
- package/api/resources/helpCenter/types/Collection.d.ts +0 -34
- package/api/resources/helpCenter/types/Collection.js +0 -5
- package/api/resources/helpCenter/types/HelpCenter.d.ts +0 -22
- package/api/resources/helpCenter/types/HelpCenter.js +0 -5
- package/api/resources/helpCenter/types/HelpCenterList.d.ts +0 -13
- package/api/resources/helpCenter/types/HelpCenterList.js +0 -5
- package/api/resources/helpCenter/types/index.d.ts +0 -3
- package/api/resources/helpCenter/types/index.js +0 -19
- package/api/resources/index.d.ts +0 -63
- package/api/resources/index.js +0 -92
- package/api/resources/messages/client/Client.d.ts +0 -145
- package/api/resources/messages/client/Client.js +0 -235
- package/api/resources/messages/client/index.d.ts +0 -1
- package/api/resources/messages/client/index.js +0 -2
- package/api/resources/messages/index.d.ts +0 -2
- package/api/resources/messages/index.js +0 -18
- package/api/resources/messages/types/Message.d.ts +0 -23
- package/api/resources/messages/types/Message.js +0 -5
- package/api/resources/messages/types/MessageMessageType.d.ts +0 -13
- package/api/resources/messages/types/MessageMessageType.js +0 -12
- package/api/resources/messages/types/index.d.ts +0 -2
- package/api/resources/messages/types/index.js +0 -18
- package/api/resources/news/client/Client.d.ts +0 -154
- package/api/resources/news/client/Client.js +0 -588
- package/api/resources/news/client/index.d.ts +0 -1
- package/api/resources/news/client/index.js +0 -2
- package/api/resources/news/index.d.ts +0 -2
- package/api/resources/news/index.js +0 -18
- package/api/resources/news/types/NewsItem.d.ts +0 -35
- package/api/resources/news/types/NewsItem.js +0 -5
- package/api/resources/news/types/NewsItemState.d.ts +0 -11
- package/api/resources/news/types/NewsItemState.js +0 -10
- package/api/resources/news/types/Newsfeed.d.ts +0 -18
- package/api/resources/news/types/Newsfeed.js +0 -5
- package/api/resources/news/types/NewsfeedAssignment.d.ts +0 -12
- package/api/resources/news/types/NewsfeedAssignment.js +0 -5
- package/api/resources/news/types/index.d.ts +0 -4
- package/api/resources/news/types/index.js +0 -20
- package/api/resources/notes/client/Client.d.ts +0 -89
- package/api/resources/notes/client/Client.js +0 -273
- package/api/resources/notes/client/index.d.ts +0 -1
- package/api/resources/notes/client/index.js +0 -17
- package/api/resources/notes/client/requests/NotesCreateRequest.d.ts +0 -33
- package/api/resources/notes/client/requests/NotesCreateRequest.js +0 -5
- package/api/resources/notes/client/requests/index.d.ts +0 -1
- package/api/resources/notes/client/requests/index.js +0 -2
- package/api/resources/notes/index.d.ts +0 -2
- package/api/resources/notes/index.js +0 -18
- package/api/resources/notes/types/Note.d.ts +0 -21
- package/api/resources/notes/types/Note.js +0 -5
- package/api/resources/notes/types/NoteContact.d.ts +0 -12
- package/api/resources/notes/types/NoteContact.js +0 -5
- package/api/resources/notes/types/index.d.ts +0 -2
- package/api/resources/notes/types/index.js +0 -18
- package/api/resources/phoneCallRedirect/client/Client.d.ts +0 -62
- package/api/resources/phoneCallRedirect/client/Client.js +0 -150
- package/api/resources/phoneCallRedirect/client/index.d.ts +0 -1
- package/api/resources/phoneCallRedirect/client/index.js +0 -2
- package/api/resources/phoneCallRedirect/index.d.ts +0 -1
- package/api/resources/phoneCallRedirect/index.js +0 -17
- package/api/resources/segments/client/Client.d.ts +0 -58
- package/api/resources/segments/client/Client.js +0 -198
- package/api/resources/segments/client/index.d.ts +0 -1
- package/api/resources/segments/client/index.js +0 -17
- package/api/resources/segments/client/requests/SegmentsListRequest.d.ts +0 -13
- package/api/resources/segments/client/requests/SegmentsListRequest.js +0 -5
- package/api/resources/segments/client/requests/index.d.ts +0 -1
- package/api/resources/segments/client/requests/index.js +0 -2
- package/api/resources/segments/index.d.ts +0 -2
- package/api/resources/segments/index.js +0 -18
- package/api/resources/segments/types/Segment.d.ts +0 -23
- package/api/resources/segments/types/Segment.js +0 -5
- package/api/resources/segments/types/SegmentPersonType.d.ts +0 -11
- package/api/resources/segments/types/SegmentPersonType.js +0 -10
- package/api/resources/segments/types/index.d.ts +0 -2
- package/api/resources/segments/types/index.js +0 -18
- package/api/resources/subscriptionTypes/index.d.ts +0 -1
- package/api/resources/subscriptionTypes/index.js +0 -17
- package/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +0 -22
- package/api/resources/subscriptionTypes/types/SubscriptionType.js +0 -5
- package/api/resources/subscriptionTypes/types/SubscriptionTypeConsentType.d.ts +0 -11
- package/api/resources/subscriptionTypes/types/SubscriptionTypeConsentType.js +0 -10
- package/api/resources/subscriptionTypes/types/SubscriptionTypeContentTypesItem.d.ts +0 -8
- package/api/resources/subscriptionTypes/types/SubscriptionTypeContentTypesItem.js +0 -10
- package/api/resources/subscriptionTypes/types/SubscriptionTypeState.d.ts +0 -12
- package/api/resources/subscriptionTypes/types/SubscriptionTypeState.js +0 -11
- package/api/resources/subscriptionTypes/types/index.d.ts +0 -4
- package/api/resources/subscriptionTypes/types/index.js +0 -20
- package/api/resources/subscriptions/client/Client.d.ts +0 -41
- package/api/resources/subscriptions/client/Client.js +0 -124
- package/api/resources/subscriptions/client/index.d.ts +0 -1
- package/api/resources/subscriptions/client/index.js +0 -2
- package/api/resources/subscriptions/index.d.ts +0 -1
- package/api/resources/subscriptions/index.js +0 -17
- package/api/resources/tags/client/Client.d.ts +0 -224
- package/api/resources/tags/client/Client.js +0 -776
- package/api/resources/tags/client/index.d.ts +0 -1
- package/api/resources/tags/client/index.js +0 -17
- package/api/resources/tags/client/requests/TagsAttachRequest.d.ts +0 -22
- package/api/resources/tags/client/requests/TagsAttachRequest.js +0 -5
- package/api/resources/tags/client/requests/TagsDetachRequest.d.ts +0 -23
- package/api/resources/tags/client/requests/TagsDetachRequest.js +0 -5
- package/api/resources/tags/client/requests/TagsTagContactRequest.d.ts +0 -23
- package/api/resources/tags/client/requests/TagsTagContactRequest.js +0 -5
- package/api/resources/tags/client/requests/TagsTagConversationRequest.d.ts +0 -22
- package/api/resources/tags/client/requests/TagsTagConversationRequest.js +0 -5
- package/api/resources/tags/client/requests/TagsUntagConversationRequest.d.ts +0 -23
- package/api/resources/tags/client/requests/TagsUntagConversationRequest.js +0 -5
- package/api/resources/tags/client/requests/index.d.ts +0 -5
- package/api/resources/tags/client/requests/index.js +0 -2
- package/api/resources/tags/index.d.ts +0 -2
- package/api/resources/tags/index.js +0 -18
- package/api/resources/tags/types/Tag.d.ts +0 -18
- package/api/resources/tags/types/Tag.js +0 -5
- package/api/resources/tags/types/TagsCreateRequestBody.d.ts +0 -5
- package/api/resources/tags/types/TagsCreateRequestBody.js +0 -5
- package/api/resources/tags/types/index.d.ts +0 -2
- package/api/resources/tags/types/index.js +0 -18
- package/api/resources/teams/client/Client.d.ts +0 -57
- package/api/resources/teams/client/Client.js +0 -191
- package/api/resources/teams/client/index.d.ts +0 -1
- package/api/resources/teams/client/index.js +0 -2
- package/api/resources/teams/index.d.ts +0 -2
- package/api/resources/teams/index.js +0 -18
- package/api/resources/teams/types/Team.d.ts +0 -18
- package/api/resources/teams/types/Team.js +0 -5
- package/api/resources/teams/types/index.d.ts +0 -1
- package/api/resources/teams/types/index.js +0 -17
- package/api/resources/ticketTypeAttributes/client/Client.d.ts +0 -67
- package/api/resources/ticketTypeAttributes/client/Client.js +0 -201
- package/api/resources/ticketTypeAttributes/client/index.d.ts +0 -1
- package/api/resources/ticketTypeAttributes/client/index.js +0 -17
- package/api/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +0 -35
- package/api/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.js +0 -5
- package/api/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +0 -31
- package/api/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.js +0 -5
- package/api/resources/ticketTypeAttributes/client/requests/index.d.ts +0 -2
- package/api/resources/ticketTypeAttributes/client/requests/index.js +0 -2
- package/api/resources/ticketTypeAttributes/index.d.ts +0 -2
- package/api/resources/ticketTypeAttributes/index.js +0 -18
- package/api/resources/ticketTypeAttributes/types/CreateTicketTypeAttributeRequestDataType.d.ts +0 -16
- package/api/resources/ticketTypeAttributes/types/CreateTicketTypeAttributeRequestDataType.js +0 -15
- package/api/resources/ticketTypeAttributes/types/index.d.ts +0 -1
- package/api/resources/ticketTypeAttributes/types/index.js +0 -17
- package/api/resources/ticketTypes/client/Client.d.ts +0 -97
- package/api/resources/ticketTypes/client/Client.js +0 -329
- package/api/resources/ticketTypes/client/index.d.ts +0 -1
- package/api/resources/ticketTypes/client/index.js +0 -2
- package/api/resources/ticketTypes/index.d.ts +0 -1
- package/api/resources/ticketTypes/index.js +0 -17
- package/api/resources/tickets/client/Client.d.ts +0 -251
- package/api/resources/tickets/client/Client.js +0 -546
- package/api/resources/tickets/client/index.d.ts +0 -1
- package/api/resources/tickets/client/index.js +0 -17
- package/api/resources/tickets/client/requests/CreateTicketRequest.d.ts +0 -28
- package/api/resources/tickets/client/requests/CreateTicketRequest.js +0 -5
- package/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +0 -59
- package/api/resources/tickets/client/requests/UpdateTicketRequest.js +0 -5
- package/api/resources/tickets/client/requests/index.d.ts +0 -2
- package/api/resources/tickets/client/requests/index.js +0 -2
- package/api/resources/tickets/index.d.ts +0 -2
- package/api/resources/tickets/index.js +0 -18
- package/api/resources/tickets/types/CreateTicketRequestContactsItem.d.ts +0 -5
- package/api/resources/tickets/types/CreateTicketRequestContactsItem.js +0 -5
- package/api/resources/tickets/types/CreateTicketRequestContactsItemEmail.d.ts +0 -7
- package/api/resources/tickets/types/CreateTicketRequestContactsItemEmail.js +0 -5
- package/api/resources/tickets/types/CreateTicketRequestContactsItemExternalId.d.ts +0 -7
- package/api/resources/tickets/types/CreateTicketRequestContactsItemExternalId.js +0 -5
- package/api/resources/tickets/types/CreateTicketRequestContactsItemId.d.ts +0 -7
- package/api/resources/tickets/types/CreateTicketRequestContactsItemId.js +0 -5
- package/api/resources/tickets/types/Ticket.d.ts +0 -42
- package/api/resources/tickets/types/Ticket.js +0 -5
- package/api/resources/tickets/types/TicketCategory.d.ts +0 -12
- package/api/resources/tickets/types/TicketCategory.js +0 -11
- package/api/resources/tickets/types/TicketContacts.d.ts +0 -13
- package/api/resources/tickets/types/TicketContacts.js +0 -5
- package/api/resources/tickets/types/TicketPart.d.ts +0 -34
- package/api/resources/tickets/types/TicketPart.js +0 -5
- package/api/resources/tickets/types/TicketPartPreviousTicketState.d.ts +0 -13
- package/api/resources/tickets/types/TicketPartPreviousTicketState.js +0 -12
- package/api/resources/tickets/types/TicketPartTicketState.d.ts +0 -13
- package/api/resources/tickets/types/TicketPartTicketState.js +0 -12
- package/api/resources/tickets/types/TicketTicketState.d.ts +0 -13
- package/api/resources/tickets/types/TicketTicketState.js +0 -12
- package/api/resources/tickets/types/TicketType.d.ts +0 -30
- package/api/resources/tickets/types/TicketType.js +0 -5
- package/api/resources/tickets/types/TicketTypeCategory.d.ts +0 -12
- package/api/resources/tickets/types/TicketTypeCategory.js +0 -11
- package/api/resources/tickets/types/TicketsReplyRequestBody.d.ts +0 -5
- package/api/resources/tickets/types/TicketsReplyRequestBody.js +0 -5
- package/api/resources/tickets/types/UpdateTicketRequestAssignment.d.ts +0 -9
- package/api/resources/tickets/types/UpdateTicketRequestAssignment.js +0 -5
- package/api/resources/tickets/types/UpdateTicketRequestState.d.ts +0 -12
- package/api/resources/tickets/types/UpdateTicketRequestState.js +0 -11
- package/api/resources/tickets/types/index.d.ts +0 -16
- package/api/resources/tickets/types/index.js +0 -32
- package/api/resources/visitors/client/Client.d.ts +0 -97
- package/api/resources/visitors/client/Client.js +0 -288
- package/api/resources/visitors/client/index.d.ts +0 -1
- package/api/resources/visitors/client/index.js +0 -17
- package/api/resources/visitors/client/requests/ConvertVisitorRequest.d.ts +0 -25
- package/api/resources/visitors/client/requests/ConvertVisitorRequest.js +0 -5
- package/api/resources/visitors/client/requests/VisitorsFindRequest.d.ts +0 -15
- package/api/resources/visitors/client/requests/VisitorsFindRequest.js +0 -5
- package/api/resources/visitors/client/requests/index.d.ts +0 -2
- package/api/resources/visitors/client/requests/index.js +0 -2
- package/api/resources/visitors/index.d.ts +0 -2
- package/api/resources/visitors/index.js +0 -18
- package/api/resources/visitors/types/ConvertVisitorRequestUser.d.ts +0 -8
- package/api/resources/visitors/types/ConvertVisitorRequestUser.js +0 -5
- package/api/resources/visitors/types/ConvertVisitorRequestVisitor.d.ts +0 -8
- package/api/resources/visitors/types/ConvertVisitorRequestVisitor.js +0 -5
- package/api/resources/visitors/types/UserWithId.d.ts +0 -9
- package/api/resources/visitors/types/UserWithId.js +0 -5
- package/api/resources/visitors/types/UserWithUserId.d.ts +0 -9
- package/api/resources/visitors/types/UserWithUserId.js +0 -5
- package/api/resources/visitors/types/VisitorWithEmail.d.ts +0 -7
- package/api/resources/visitors/types/VisitorWithEmail.js +0 -5
- package/api/resources/visitors/types/VisitorWithId.d.ts +0 -7
- package/api/resources/visitors/types/VisitorWithId.js +0 -5
- package/api/resources/visitors/types/VisitorWithUserId.d.ts +0 -7
- package/api/resources/visitors/types/VisitorWithUserId.js +0 -5
- package/api/resources/visitors/types/index.d.ts +0 -7
- package/api/resources/visitors/types/index.js +0 -23
- package/api/types/ActivityLog.d.ts +0 -19
- package/api/types/ActivityLog.js +0 -5
- package/api/types/ActivityLogActivityType.d.ts +0 -73
- package/api/types/ActivityLogActivityType.js +0 -75
- package/api/types/ActivityLogList.d.ts +0 -14
- package/api/types/ActivityLogList.js +0 -5
- package/api/types/ActivityLogMetadata.d.ts +0 -26
- package/api/types/ActivityLogMetadata.js +0 -5
- package/api/types/ActivityLogPerformedBy.d.ts +0 -16
- package/api/types/ActivityLogPerformedBy.js +0 -5
- package/api/types/AddressableList.d.ts +0 -14
- package/api/types/AddressableList.js +0 -5
- package/api/types/AdminList.d.ts +0 -13
- package/api/types/AdminList.js +0 -5
- package/api/types/AdminPriorityLevel.d.ts +0 -12
- package/api/types/AdminPriorityLevel.js +0 -5
- package/api/types/AdminReplyConversationRequest.d.ts +0 -21
- package/api/types/AdminReplyConversationRequest.js +0 -5
- package/api/types/AdminReplyConversationRequestMessageType.d.ts +0 -8
- package/api/types/AdminReplyConversationRequestMessageType.js +0 -10
- package/api/types/AdminReplyTicketRequest.d.ts +0 -21
- package/api/types/AdminReplyTicketRequest.js +0 -5
- package/api/types/AdminReplyTicketRequestMessageType.d.ts +0 -9
- package/api/types/AdminReplyTicketRequestMessageType.js +0 -11
- package/api/types/AdminReplyTicketRequestReplyOptionsItem.d.ts +0 -9
- package/api/types/AdminReplyTicketRequestReplyOptionsItem.js +0 -5
- package/api/types/AdminWithApp.d.ts +0 -33
- package/api/types/AdminWithApp.js +0 -5
- package/api/types/AdminWithAppAvatar.d.ts +0 -12
- package/api/types/AdminWithAppAvatar.js +0 -5
- package/api/types/App.d.ts +0 -22
- package/api/types/App.js +0 -5
- package/api/types/ArticleContent.d.ts +0 -27
- package/api/types/ArticleContent.js +0 -5
- package/api/types/ArticleContentState.d.ts +0 -11
- package/api/types/ArticleContentState.js +0 -10
- package/api/types/ArticleList.d.ts +0 -16
- package/api/types/ArticleList.js +0 -5
- package/api/types/ArticleStatistics.d.ts +0 -22
- package/api/types/ArticleStatistics.js +0 -5
- package/api/types/ArticleTranslatedContent.d.ts +0 -85
- package/api/types/ArticleTranslatedContent.js +0 -5
- package/api/types/AssignConversationRequest.d.ts +0 -16
- package/api/types/AssignConversationRequest.js +0 -5
- package/api/types/AssignConversationRequestType.d.ts +0 -8
- package/api/types/AssignConversationRequestType.js +0 -10
- package/api/types/CloseConversationRequest.d.ts +0 -13
- package/api/types/CloseConversationRequest.js +0 -5
- package/api/types/CollectionList.d.ts +0 -16
- package/api/types/CollectionList.js +0 -5
- package/api/types/CompanyAttachedContacts.d.ts +0 -16
- package/api/types/CompanyAttachedContacts.js +0 -5
- package/api/types/CompanyAttachedSegments.d.ts +0 -13
- package/api/types/CompanyAttachedSegments.js +0 -5
- package/api/types/CompanyList.d.ts +0 -16
- package/api/types/CompanyList.js +0 -5
- package/api/types/CompanyScroll.d.ts +0 -17
- package/api/types/CompanyScroll.js +0 -5
- package/api/types/ContactArchived.d.ts +0 -16
- package/api/types/ContactArchived.js +0 -5
- package/api/types/ContactAttachedCompanies.d.ts +0 -16
- package/api/types/ContactAttachedCompanies.js +0 -5
- package/api/types/ContactCompanies.d.ts +0 -14
- package/api/types/ContactCompanies.js +0 -5
- package/api/types/ContactDeleted.d.ts +0 -16
- package/api/types/ContactDeleted.js +0 -5
- package/api/types/ContactList.d.ts +0 -16
- package/api/types/ContactList.js +0 -5
- package/api/types/ContactLocation.d.ts +0 -16
- package/api/types/ContactLocation.js +0 -5
- package/api/types/ContactNotes.d.ts +0 -17
- package/api/types/ContactNotes.js +0 -5
- package/api/types/ContactReference.d.ts +0 -14
- package/api/types/ContactReference.js +0 -5
- package/api/types/ContactReplyBaseRequest.d.ts +0 -13
- package/api/types/ContactReplyBaseRequest.js +0 -5
- package/api/types/ContactReplyConversationRequest.d.ts +0 -5
- package/api/types/ContactReplyConversationRequest.js +0 -5
- package/api/types/ContactReplyEmailRequest.d.ts +0 -13
- package/api/types/ContactReplyEmailRequest.js +0 -5
- package/api/types/ContactReplyIntercomUserIdRequest.d.ts +0 -13
- package/api/types/ContactReplyIntercomUserIdRequest.js +0 -5
- package/api/types/ContactReplyTicketEmailRequest.d.ts +0 -11
- package/api/types/ContactReplyTicketEmailRequest.js +0 -5
- package/api/types/ContactReplyTicketIntercomUserIdRequest.d.ts +0 -11
- package/api/types/ContactReplyTicketIntercomUserIdRequest.js +0 -5
- package/api/types/ContactReplyTicketRequest.d.ts +0 -5
- package/api/types/ContactReplyTicketRequest.js +0 -5
- package/api/types/ContactReplyTicketUserIdRequest.d.ts +0 -11
- package/api/types/ContactReplyTicketUserIdRequest.js +0 -5
- package/api/types/ContactReplyUserIdRequest.d.ts +0 -13
- package/api/types/ContactReplyUserIdRequest.js +0 -5
- package/api/types/ContactSegments.d.ts +0 -13
- package/api/types/ContactSegments.js +0 -5
- package/api/types/ContactSocialProfiles.d.ts +0 -11
- package/api/types/ContactSocialProfiles.js +0 -5
- package/api/types/ContactSubscriptionTypes.d.ts +0 -17
- package/api/types/ContactSubscriptionTypes.js +0 -5
- package/api/types/ContactTags.d.ts +0 -17
- package/api/types/ContactTags.js +0 -5
- package/api/types/ContactUnarchived.d.ts +0 -16
- package/api/types/ContactUnarchived.js +0 -5
- package/api/types/ContentSourcesList.d.ts +0 -11
- package/api/types/ContentSourcesList.js +0 -5
- package/api/types/ConversationAttachmentFiles.d.ts +0 -14
- package/api/types/ConversationAttachmentFiles.js +0 -5
- package/api/types/ConversationContacts.d.ts +0 -13
- package/api/types/ConversationContacts.js +0 -5
- package/api/types/ConversationFirstContactReply.d.ts +0 -14
- package/api/types/ConversationFirstContactReply.js +0 -5
- package/api/types/ConversationList.d.ts +0 -16
- package/api/types/ConversationList.js +0 -5
- package/api/types/ConversationPart.d.ts +0 -32
- package/api/types/ConversationPart.js +0 -5
- package/api/types/ConversationPartAuthor.d.ts +0 -16
- package/api/types/ConversationPartAuthor.js +0 -5
- package/api/types/ConversationParts.d.ts +0 -15
- package/api/types/ConversationParts.js +0 -5
- package/api/types/ConversationRating.d.ts +0 -17
- package/api/types/ConversationRating.js +0 -5
- package/api/types/ConversationSource.d.ts +0 -26
- package/api/types/ConversationSource.js +0 -5
- package/api/types/ConversationStatistics.d.ts +0 -46
- package/api/types/ConversationStatistics.js +0 -5
- package/api/types/ConversationTeammates.d.ts +0 -13
- package/api/types/ConversationTeammates.js +0 -5
- package/api/types/CreateArticleRequest.d.ts +0 -24
- package/api/types/CreateArticleRequest.js +0 -5
- package/api/types/CreateArticleRequestState.d.ts +0 -11
- package/api/types/CreateArticleRequestState.js +0 -10
- package/api/types/CreateContactRequest.d.ts +0 -8
- package/api/types/CreateContactRequest.js +0 -5
- package/api/types/CreateContactRequestWithEmail.d.ts +0 -23
- package/api/types/CreateContactRequestWithEmail.js +0 -5
- package/api/types/CreateContactRequestWithExternalId.d.ts +0 -23
- package/api/types/CreateContactRequestWithExternalId.js +0 -5
- package/api/types/CreateContactRequestWithRole.d.ts +0 -23
- package/api/types/CreateContactRequestWithRole.js +0 -5
- package/api/types/CreateDataEventRequest.d.ts +0 -8
- package/api/types/CreateDataEventRequest.js +0 -5
- package/api/types/CreateDataEventRequestWithEmail.d.ts +0 -13
- package/api/types/CreateDataEventRequestWithEmail.js +0 -5
- package/api/types/CreateDataEventRequestWithId.d.ts +0 -13
- package/api/types/CreateDataEventRequestWithId.js +0 -5
- package/api/types/CreateDataEventRequestWithUserId.d.ts +0 -13
- package/api/types/CreateDataEventRequestWithUserId.js +0 -5
- package/api/types/CreateMessageRequest.d.ts +0 -16
- package/api/types/CreateMessageRequest.js +0 -5
- package/api/types/CreateMessageRequestFrom.d.ts +0 -12
- package/api/types/CreateMessageRequestFrom.js +0 -5
- package/api/types/CreateMessageRequestTo.d.ts +0 -13
- package/api/types/CreateMessageRequestTo.js +0 -5
- package/api/types/CreateMessageRequestType.d.ts +0 -11
- package/api/types/CreateMessageRequestType.js +0 -10
- package/api/types/CreateMessageRequestWithEmail.d.ts +0 -20
- package/api/types/CreateMessageRequestWithEmail.js +0 -5
- package/api/types/CreateMessageRequestWithInapp.d.ts +0 -20
- package/api/types/CreateMessageRequestWithInapp.js +0 -5
- package/api/types/CreateOrUpdateCompanyRequest.d.ts +0 -26
- package/api/types/CreateOrUpdateCompanyRequest.js +0 -5
- package/api/types/CreateOrUpdateTagRequest.d.ts +0 -12
- package/api/types/CreateOrUpdateTagRequest.js +0 -5
- package/api/types/CreatePhoneSwitchRequest.d.ts +0 -12
- package/api/types/CreatePhoneSwitchRequest.js +0 -5
- package/api/types/CreateTicketReplyWithCommentRequest.d.ts +0 -5
- package/api/types/CreateTicketReplyWithCommentRequest.js +0 -5
- package/api/types/CreateTicketTypeRequest.d.ts +0 -20
- package/api/types/CreateTicketTypeRequest.js +0 -5
- package/api/types/CreateTicketTypeRequestCategory.d.ts +0 -12
- package/api/types/CreateTicketTypeRequestCategory.js +0 -11
- package/api/types/CursorPages.d.ts +0 -19
- package/api/types/CursorPages.js +0 -5
- package/api/types/CustomAttributes.d.ts +0 -8
- package/api/types/CustomAttributes.js +0 -5
- package/api/types/CustomAttributesValue.d.ts +0 -5
- package/api/types/CustomAttributesValue.js +0 -5
- package/api/types/CustomerRequest.d.ts +0 -5
- package/api/types/CustomerRequest.js +0 -5
- package/api/types/CustomerRequestEmail.d.ts +0 -7
- package/api/types/CustomerRequestEmail.js +0 -5
- package/api/types/CustomerRequestIntercomUserId.d.ts +0 -7
- package/api/types/CustomerRequestIntercomUserId.js +0 -5
- package/api/types/CustomerRequestUserId.d.ts +0 -7
- package/api/types/CustomerRequestUserId.js +0 -5
- package/api/types/DataAttributeList.d.ts +0 -13
- package/api/types/DataAttributeList.js +0 -5
- package/api/types/DataEventList.d.ts +0 -15
- package/api/types/DataEventList.js +0 -5
- package/api/types/DataEventListPages.d.ts +0 -10
- package/api/types/DataEventListPages.js +0 -5
- package/api/types/DataEventSummary.d.ts +0 -19
- package/api/types/DataEventSummary.js +0 -5
- package/api/types/DataEventSummaryItem.d.ts +0 -18
- package/api/types/DataEventSummaryItem.js +0 -5
- package/api/types/DataExportCsv.d.ts +0 -60
- package/api/types/DataExportCsv.js +0 -5
- package/api/types/DeletedArticleObject.d.ts +0 -14
- package/api/types/DeletedArticleObject.js +0 -5
- package/api/types/DeletedCollectionObject.d.ts +0 -14
- package/api/types/DeletedCollectionObject.js +0 -5
- package/api/types/DeletedCompanyObject.d.ts +0 -14
- package/api/types/DeletedCompanyObject.js +0 -5
- package/api/types/DeletedObject.d.ts +0 -14
- package/api/types/DeletedObject.js +0 -5
- package/api/types/ErrorErrorsItem.d.ts +0 -11
- package/api/types/ErrorErrorsItem.js +0 -5
- package/api/types/Error_.d.ts +0 -15
- package/api/types/Error_.js +0 -5
- package/api/types/FileAttribute.d.ts +0 -21
- package/api/types/FileAttribute.js +0 -5
- package/api/types/GroupContent.d.ts +0 -14
- package/api/types/GroupContent.js +0 -5
- package/api/types/GroupTranslatedContent.d.ts +0 -85
- package/api/types/GroupTranslatedContent.js +0 -5
- package/api/types/LinkedObject.d.ts +0 -15
- package/api/types/LinkedObject.js +0 -5
- package/api/types/LinkedObjectList.d.ts +0 -17
- package/api/types/LinkedObjectList.js +0 -5
- package/api/types/LinkedObjectType.d.ts +0 -11
- package/api/types/LinkedObjectType.js +0 -10
- package/api/types/MultipleFilterSearchRequest.d.ts +0 -12
- package/api/types/MultipleFilterSearchRequest.js +0 -5
- package/api/types/MultipleFilterSearchRequestOperator.d.ts +0 -11
- package/api/types/MultipleFilterSearchRequestOperator.js +0 -10
- package/api/types/MultipleFilterSearchRequestValue.d.ts +0 -11
- package/api/types/MultipleFilterSearchRequestValue.js +0 -5
- package/api/types/NewsItemRequest.d.ts +0 -25
- package/api/types/NewsItemRequest.js +0 -5
- package/api/types/NewsItemRequestState.d.ts +0 -11
- package/api/types/NewsItemRequestState.js +0 -10
- package/api/types/NoteList.d.ts +0 -16
- package/api/types/NoteList.js +0 -5
- package/api/types/OpenConversationRequest.d.ts +0 -10
- package/api/types/OpenConversationRequest.js +0 -5
- package/api/types/PagesLink.d.ts +0 -16
- package/api/types/PagesLink.js +0 -5
- package/api/types/PaginatedResponse.d.ts +0 -16
- package/api/types/PaginatedResponse.js +0 -5
- package/api/types/PaginatedResponseDataItem.d.ts +0 -13
- package/api/types/PaginatedResponseDataItem.js +0 -5
- package/api/types/PaginatedResponseType.d.ts +0 -11
- package/api/types/PaginatedResponseType.js +0 -10
- package/api/types/PartAttachment.d.ts +0 -22
- package/api/types/PartAttachment.js +0 -5
- package/api/types/PhoneSwitch.d.ts +0 -12
- package/api/types/PhoneSwitch.js +0 -5
- package/api/types/RedactConversationRequest.d.ts +0 -19
- package/api/types/RedactConversationRequest.js +0 -5
- package/api/types/RedactConversationRequestConversationPart.d.ts +0 -12
- package/api/types/RedactConversationRequestConversationPart.js +0 -5
- package/api/types/RedactConversationRequestSource.d.ts +0 -12
- package/api/types/RedactConversationRequestSource.js +0 -5
- package/api/types/Reference.d.ts +0 -12
- package/api/types/Reference.js +0 -5
- package/api/types/ReplyConversationRequest.d.ts +0 -5
- package/api/types/ReplyConversationRequest.js +0 -5
- package/api/types/SearchRequest.d.ts +0 -11
- package/api/types/SearchRequest.js +0 -5
- package/api/types/SearchRequestQuery.d.ts +0 -5
- package/api/types/SearchRequestQuery.js +0 -5
- package/api/types/SegmentList.d.ts +0 -15
- package/api/types/SegmentList.js +0 -5
- package/api/types/SingleFilterSearchRequest.d.ts +0 -15
- package/api/types/SingleFilterSearchRequest.js +0 -5
- package/api/types/SingleFilterSearchRequestOperator.d.ts +0 -19
- package/api/types/SingleFilterSearchRequestOperator.js +0 -18
- package/api/types/SlaApplied.d.ts +0 -16
- package/api/types/SlaApplied.js +0 -5
- package/api/types/SlaAppliedSlaStatus.d.ts +0 -13
- package/api/types/SlaAppliedSlaStatus.js +0 -12
- package/api/types/SnoozeConversationRequest.d.ts +0 -12
- package/api/types/SnoozeConversationRequest.js +0 -5
- package/api/types/SocialProfile.d.ts +0 -14
- package/api/types/SocialProfile.js +0 -5
- package/api/types/StartingAfterPaging.d.ts +0 -9
- package/api/types/StartingAfterPaging.js +0 -5
- package/api/types/SubscriptionTypeList.d.ts +0 -13
- package/api/types/SubscriptionTypeList.js +0 -5
- package/api/types/TagCompanyRequest.d.ts +0 -13
- package/api/types/TagCompanyRequest.js +0 -5
- package/api/types/TagCompanyRequestCompaniesItem.d.ts +0 -9
- package/api/types/TagCompanyRequestCompaniesItem.js +0 -5
- package/api/types/TagList.d.ts +0 -13
- package/api/types/TagList.js +0 -5
- package/api/types/TagMultipleUsersRequest.d.ts +0 -12
- package/api/types/TagMultipleUsersRequest.js +0 -5
- package/api/types/TagMultipleUsersRequestUsersItem.d.ts +0 -7
- package/api/types/TagMultipleUsersRequestUsersItem.js +0 -5
- package/api/types/Tags.d.ts +0 -13
- package/api/types/Tags.js +0 -5
- package/api/types/TeamList.d.ts +0 -13
- package/api/types/TeamList.js +0 -5
- package/api/types/TeamPriorityLevel.d.ts +0 -12
- package/api/types/TeamPriorityLevel.js +0 -5
- package/api/types/TicketCustomAttributes.d.ts +0 -8
- package/api/types/TicketCustomAttributes.js +0 -5
- package/api/types/TicketCustomAttributesValue.d.ts +0 -5
- package/api/types/TicketCustomAttributesValue.js +0 -5
- package/api/types/TicketList.d.ts +0 -16
- package/api/types/TicketList.js +0 -5
- package/api/types/TicketPartAuthor.d.ts +0 -17
- package/api/types/TicketPartAuthor.js +0 -5
- package/api/types/TicketPartAuthorType.d.ts +0 -13
- package/api/types/TicketPartAuthorType.js +0 -12
- package/api/types/TicketParts.d.ts +0 -15
- package/api/types/TicketParts.js +0 -5
- package/api/types/TicketReply.d.ts +0 -26
- package/api/types/TicketReply.js +0 -5
- package/api/types/TicketReplyPartType.d.ts +0 -12
- package/api/types/TicketReplyPartType.js +0 -11
- package/api/types/TicketRequestCustomAttributes.d.ts +0 -8
- package/api/types/TicketRequestCustomAttributes.js +0 -5
- package/api/types/TicketRequestCustomAttributesValue.d.ts +0 -4
- package/api/types/TicketRequestCustomAttributesValue.js +0 -5
- package/api/types/TicketTypeAttribute.d.ts +0 -42
- package/api/types/TicketTypeAttribute.js +0 -5
- package/api/types/TicketTypeAttributeList.d.ts +0 -13
- package/api/types/TicketTypeAttributeList.js +0 -5
- package/api/types/TicketTypeList.d.ts +0 -13
- package/api/types/TicketTypeList.js +0 -5
- package/api/types/Translation.d.ts +0 -14
- package/api/types/Translation.js +0 -5
- package/api/types/UntagCompanyRequest.d.ts +0 -13
- package/api/types/UntagCompanyRequest.js +0 -5
- package/api/types/UntagCompanyRequestCompaniesItem.d.ts +0 -11
- package/api/types/UntagCompanyRequestCompaniesItem.js +0 -5
- package/api/types/UpdateArticleRequest.d.ts +0 -24
- package/api/types/UpdateArticleRequest.js +0 -5
- package/api/types/UpdateArticleRequestState.d.ts +0 -11
- package/api/types/UpdateArticleRequestState.js +0 -10
- package/api/types/UpdateTicketTypeRequest.d.ts +0 -22
- package/api/types/UpdateTicketTypeRequest.js +0 -5
- package/api/types/UpdateTicketTypeRequestCategory.d.ts +0 -12
- package/api/types/UpdateTicketTypeRequestCategory.js +0 -11
- package/api/types/UpdateVisitorRequest.d.ts +0 -8
- package/api/types/UpdateVisitorRequest.js +0 -5
- package/api/types/UpdateVisitorRequestWithId.d.ts +0 -9
- package/api/types/UpdateVisitorRequestWithId.js +0 -5
- package/api/types/UpdateVisitorRequestWithUserId.d.ts +0 -9
- package/api/types/UpdateVisitorRequestWithUserId.js +0 -5
- package/api/types/Visitor.d.ts +0 -69
- package/api/types/Visitor.js +0 -5
- package/api/types/VisitorAvatar.d.ts +0 -9
- package/api/types/VisitorAvatar.js +0 -5
- package/api/types/VisitorCompanies.d.ts +0 -9
- package/api/types/VisitorCompanies.js +0 -5
- package/api/types/VisitorDeletedObject.d.ts +0 -14
- package/api/types/VisitorDeletedObject.js +0 -5
- package/api/types/VisitorLocationData.d.ts +0 -21
- package/api/types/VisitorLocationData.js +0 -5
- package/api/types/VisitorSegments.d.ts +0 -8
- package/api/types/VisitorSegments.js +0 -5
- package/api/types/VisitorSocialProfiles.d.ts +0 -8
- package/api/types/VisitorSocialProfiles.js +0 -5
- package/api/types/VisitorTags.d.ts +0 -9
- package/api/types/VisitorTags.js +0 -5
- package/api/types/VisitorTagsTagsItem.d.ts +0 -11
- package/api/types/VisitorTagsTagsItem.js +0 -5
- package/api/types/index.d.ts +0 -179
- package/api/types/index.js +0 -195
- package/api/version.d.ts +0 -5
- package/api/version.js +0 -5
- package/core/auth/BasicAuth.d.ts +0 -8
- package/core/auth/BasicAuth.js +0 -26
- package/core/auth/BearerToken.d.ts +0 -5
- package/core/auth/BearerToken.js +0 -15
- package/core/auth/index.d.ts +0 -2
- package/core/auth/index.js +0 -7
- package/core/fetcher/APIResponse.d.ts +0 -10
- package/core/fetcher/APIResponse.js +0 -2
- package/core/fetcher/Fetcher.d.ts +0 -38
- package/core/fetcher/Fetcher.js +0 -99
- package/core/fetcher/Supplier.d.ts +0 -4
- package/core/fetcher/Supplier.js +0 -22
- package/core/fetcher/createRequestUrl.d.ts +0 -1
- package/core/fetcher/createRequestUrl.js +0 -13
- package/core/fetcher/getFetchFn.d.ts +0 -4
- package/core/fetcher/getFetchFn.js +0 -55
- package/core/fetcher/getHeader.d.ts +0 -1
- package/core/fetcher/getHeader.js +0 -12
- package/core/fetcher/getRequestBody.d.ts +0 -7
- package/core/fetcher/getRequestBody.js +0 -23
- package/core/fetcher/getResponseBody.d.ts +0 -1
- package/core/fetcher/getResponseBody.js +0 -48
- package/core/fetcher/index.d.ts +0 -5
- package/core/fetcher/index.js +0 -9
- package/core/fetcher/makeRequest.d.ts +0 -1
- package/core/fetcher/makeRequest.js +0 -40
- package/core/fetcher/requestWithRetries.d.ts +0 -1
- package/core/fetcher/requestWithRetries.js +0 -32
- package/core/fetcher/signals.d.ts +0 -12
- package/core/fetcher/signals.js +0 -37
- package/core/index.d.ts +0 -5
- package/core/index.js +0 -21
- package/core/pagination/Page.d.ts +0 -29
- package/core/pagination/Page.js +0 -94
- package/core/pagination/Pageable.d.ts +0 -12
- package/core/pagination/Pageable.js +0 -10
- package/core/pagination/index.d.ts +0 -2
- package/core/pagination/index.js +0 -7
- package/core/runtime/index.d.ts +0 -1
- package/core/runtime/index.js +0 -5
- package/core/runtime/runtime.d.ts +0 -9
- package/core/runtime/runtime.js +0 -93
- package/core/utils/index.d.ts +0 -1
- package/core/utils/index.js +0 -5
- package/core/utils/setObjectProperty.d.ts +0 -11
- package/core/utils/setObjectProperty.js +0 -43
- package/dist/Client.d.ts +0 -91
- package/dist/Client.js +0 -117
- package/dist/api/errors/BadRequestError.d.ts +0 -7
- package/dist/api/errors/BadRequestError.js +0 -41
- package/dist/api/errors/ForbiddenError.d.ts +0 -8
- package/dist/api/errors/ForbiddenError.js +0 -41
- package/dist/api/errors/NotFoundError.d.ts +0 -7
- package/dist/api/errors/NotFoundError.js +0 -41
- package/dist/api/errors/UnauthorizedError.d.ts +0 -8
- package/dist/api/errors/UnauthorizedError.js +0 -41
- package/dist/api/errors/UnprocessableEntityError.d.ts +0 -7
- package/dist/api/errors/UnprocessableEntityError.js +0 -41
- package/dist/api/errors/index.d.ts +0 -5
- package/dist/api/errors/index.js +0 -21
- package/dist/api/index.d.ts +0 -4
- package/dist/api/index.js +0 -19
- package/dist/api/resources/admins/client/Client.d.ts +0 -101
- package/dist/api/resources/admins/client/Client.js +0 -387
- package/dist/api/resources/admins/client/index.d.ts +0 -1
- package/dist/api/resources/admins/client/index.js +0 -17
- package/dist/api/resources/admins/client/requests/AdminsAwayRequest.d.ts +0 -28
- package/dist/api/resources/admins/client/requests/AdminsAwayRequest.js +0 -5
- package/dist/api/resources/admins/client/requests/AdminsListAllActivityLogsRequest.d.ts +0 -19
- package/dist/api/resources/admins/client/requests/AdminsListAllActivityLogsRequest.js +0 -5
- package/dist/api/resources/admins/client/requests/index.d.ts +0 -2
- package/dist/api/resources/admins/client/requests/index.js +0 -2
- package/dist/api/resources/admins/index.d.ts +0 -2
- package/dist/api/resources/admins/index.js +0 -18
- package/dist/api/resources/admins/types/Admin.d.ts +0 -30
- package/dist/api/resources/admins/types/Admin.js +0 -5
- package/dist/api/resources/admins/types/index.d.ts +0 -1
- package/dist/api/resources/admins/types/index.js +0 -17
- package/dist/api/resources/aiAgent/index.d.ts +0 -1
- package/dist/api/resources/aiAgent/index.js +0 -17
- package/dist/api/resources/aiAgent/types/AiAgent.d.ts +0 -22
- package/dist/api/resources/aiAgent/types/AiAgent.js +0 -5
- package/dist/api/resources/aiAgent/types/AiAgentSourceType.d.ts +0 -14
- package/dist/api/resources/aiAgent/types/AiAgentSourceType.js +0 -13
- package/dist/api/resources/aiAgent/types/index.d.ts +0 -2
- package/dist/api/resources/aiAgent/types/index.js +0 -18
- package/dist/api/resources/aiContentSource/index.d.ts +0 -1
- package/dist/api/resources/aiContentSource/index.js +0 -17
- package/dist/api/resources/aiContentSource/types/ContentSource.d.ts +0 -17
- package/dist/api/resources/aiContentSource/types/ContentSource.js +0 -5
- package/dist/api/resources/aiContentSource/types/ContentSourceContentType.d.ts +0 -14
- package/dist/api/resources/aiContentSource/types/ContentSourceContentType.js +0 -13
- package/dist/api/resources/aiContentSource/types/index.d.ts +0 -2
- package/dist/api/resources/aiContentSource/types/index.js +0 -18
- package/dist/api/resources/articles/client/Client.d.ts +0 -142
- package/dist/api/resources/articles/client/Client.js +0 -495
- package/dist/api/resources/articles/client/index.d.ts +0 -1
- package/dist/api/resources/articles/client/index.js +0 -17
- package/dist/api/resources/articles/client/requests/ArticlesSearchRequest.d.ts +0 -25
- package/dist/api/resources/articles/client/requests/ArticlesSearchRequest.js +0 -5
- package/dist/api/resources/articles/client/requests/index.d.ts +0 -1
- package/dist/api/resources/articles/client/requests/index.js +0 -2
- package/dist/api/resources/articles/index.d.ts +0 -2
- package/dist/api/resources/articles/index.js +0 -18
- package/dist/api/resources/articles/types/Article.d.ts +0 -10
- package/dist/api/resources/articles/types/Article.js +0 -5
- package/dist/api/resources/articles/types/ArticleListItem.d.ts +0 -40
- package/dist/api/resources/articles/types/ArticleListItem.js +0 -5
- package/dist/api/resources/articles/types/ArticleListItemState.d.ts +0 -11
- package/dist/api/resources/articles/types/ArticleListItemState.js +0 -10
- package/dist/api/resources/articles/types/ArticleSearchHighlights.d.ts +0 -15
- package/dist/api/resources/articles/types/ArticleSearchHighlights.js +0 -5
- package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItem.d.ts +0 -13
- package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItem.js +0 -5
- package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItemType.d.ts +0 -11
- package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedSummaryItemItemType.js +0 -10
- package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItem.d.ts +0 -13
- package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItem.js +0 -5
- package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItemType.d.ts +0 -11
- package/dist/api/resources/articles/types/ArticleSearchHighlightsHighlightedTitleItemType.js +0 -10
- package/dist/api/resources/articles/types/ArticleSearchResponse.d.ts +0 -16
- package/dist/api/resources/articles/types/ArticleSearchResponse.js +0 -5
- package/dist/api/resources/articles/types/ArticleSearchResponseData.d.ts +0 -13
- package/dist/api/resources/articles/types/ArticleSearchResponseData.js +0 -5
- package/dist/api/resources/articles/types/index.d.ts +0 -10
- package/dist/api/resources/articles/types/index.js +0 -26
- package/dist/api/resources/companies/client/Client.d.ts +0 -237
- package/dist/api/resources/companies/client/Client.js +0 -893
- package/dist/api/resources/companies/client/index.d.ts +0 -1
- package/dist/api/resources/companies/client/index.js +0 -17
- package/dist/api/resources/companies/client/requests/CompaniesAttachContactRequest.d.ts +0 -23
- package/dist/api/resources/companies/client/requests/CompaniesAttachContactRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/CompaniesListRequest.d.ts +0 -21
- package/dist/api/resources/companies/client/requests/CompaniesListRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +0 -33
- package/dist/api/resources/companies/client/requests/CompaniesRetrieveRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/CompaniesScrollRequest.d.ts +0 -13
- package/dist/api/resources/companies/client/requests/CompaniesScrollRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/index.d.ts +0 -4
- package/dist/api/resources/companies/client/requests/index.js +0 -2
- package/dist/api/resources/companies/index.d.ts +0 -2
- package/dist/api/resources/companies/index.js +0 -18
- package/dist/api/resources/companies/types/Company.d.ts +0 -46
- package/dist/api/resources/companies/types/Company.js +0 -5
- package/dist/api/resources/companies/types/CompanyPlan.d.ts +0 -11
- package/dist/api/resources/companies/types/CompanyPlan.js +0 -5
- package/dist/api/resources/companies/types/CompanySegments.d.ts +0 -12
- package/dist/api/resources/companies/types/CompanySegments.js +0 -5
- package/dist/api/resources/companies/types/CompanyTags.d.ts +0 -11
- package/dist/api/resources/companies/types/CompanyTags.js +0 -5
- package/dist/api/resources/companies/types/index.d.ts +0 -4
- package/dist/api/resources/companies/types/index.js +0 -20
- package/dist/api/resources/contacts/client/Client.d.ts +0 -363
- package/dist/api/resources/contacts/client/Client.js +0 -1150
- package/dist/api/resources/contacts/client/index.d.ts +0 -1
- package/dist/api/resources/contacts/client/index.js +0 -17
- package/dist/api/resources/contacts/client/requests/ContactsAttachToContactRequest.d.ts +0 -28
- package/dist/api/resources/contacts/client/requests/ContactsAttachToContactRequest.js +0 -5
- package/dist/api/resources/contacts/client/requests/MergeContactsRequest.d.ts +0 -16
- package/dist/api/resources/contacts/client/requests/MergeContactsRequest.js +0 -5
- package/dist/api/resources/contacts/client/requests/UpdateContactRequest.d.ts +0 -34
- package/dist/api/resources/contacts/client/requests/UpdateContactRequest.js +0 -5
- package/dist/api/resources/contacts/client/requests/index.d.ts +0 -3
- package/dist/api/resources/contacts/client/requests/index.js +0 -2
- package/dist/api/resources/contacts/index.d.ts +0 -2
- package/dist/api/resources/contacts/index.js +0 -18
- package/dist/api/resources/contacts/types/Contact.d.ts +0 -95
- package/dist/api/resources/contacts/types/Contact.js +0 -5
- package/dist/api/resources/contacts/types/ContactAvatar.d.ts +0 -9
- package/dist/api/resources/contacts/types/ContactAvatar.js +0 -5
- package/dist/api/resources/contacts/types/index.d.ts +0 -2
- package/dist/api/resources/contacts/types/index.js +0 -18
- package/dist/api/resources/conversations/client/Client.d.ts +0 -446
- package/dist/api/resources/conversations/client/Client.js +0 -1153
- package/dist/api/resources/conversations/client/index.d.ts +0 -1
- package/dist/api/resources/conversations/client/index.js +0 -17
- package/dist/api/resources/conversations/client/requests/AttachContactToConversationRequest.d.ts +0 -26
- package/dist/api/resources/conversations/client/requests/AttachContactToConversationRequest.js +0 -5
- package/dist/api/resources/conversations/client/requests/ConversationsFindRequest.d.ts +0 -13
- package/dist/api/resources/conversations/client/requests/ConversationsFindRequest.js +0 -5
- package/dist/api/resources/conversations/client/requests/ConversationsListRequest.d.ts +0 -17
- package/dist/api/resources/conversations/client/requests/ConversationsListRequest.js +0 -5
- package/dist/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.d.ts +0 -20
- package/dist/api/resources/conversations/client/requests/ConvertConversationToTicketRequest.js +0 -5
- package/dist/api/resources/conversations/client/requests/CreateConversationRequest.d.ts +0 -28
- package/dist/api/resources/conversations/client/requests/CreateConversationRequest.js +0 -5
- package/dist/api/resources/conversations/client/requests/DetachContactFromConversationRequest.d.ts +0 -28
- package/dist/api/resources/conversations/client/requests/DetachContactFromConversationRequest.js +0 -5
- package/dist/api/resources/conversations/client/requests/UpdateConversationRequest.d.ts +0 -32
- package/dist/api/resources/conversations/client/requests/UpdateConversationRequest.js +0 -5
- package/dist/api/resources/conversations/client/requests/index.d.ts +0 -7
- package/dist/api/resources/conversations/client/requests/index.js +0 -2
- package/dist/api/resources/conversations/index.d.ts +0 -2
- package/dist/api/resources/conversations/index.js +0 -18
- package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomer.d.ts +0 -5
- package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomer.js +0 -5
- package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerCustomer.d.ts +0 -9
- package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerCustomer.js +0 -5
- package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerIntercomUserId.d.ts +0 -9
- package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerIntercomUserId.js +0 -5
- package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerUserId.d.ts +0 -9
- package/dist/api/resources/conversations/types/AttachContactToConversationRequestCustomerUserId.js +0 -5
- package/dist/api/resources/conversations/types/Conversation.d.ts +0 -49
- package/dist/api/resources/conversations/types/Conversation.js +0 -5
- package/dist/api/resources/conversations/types/ConversationPriority.d.ts +0 -11
- package/dist/api/resources/conversations/types/ConversationPriority.js +0 -10
- package/dist/api/resources/conversations/types/ConversationState.d.ts +0 -12
- package/dist/api/resources/conversations/types/ConversationState.js +0 -11
- package/dist/api/resources/conversations/types/ConversationsManageRequestBody.d.ts +0 -19
- package/dist/api/resources/conversations/types/ConversationsManageRequestBody.js +0 -5
- package/dist/api/resources/conversations/types/CreateConversationRequestFrom.d.ts +0 -10
- package/dist/api/resources/conversations/types/CreateConversationRequestFrom.js +0 -5
- package/dist/api/resources/conversations/types/CreateConversationRequestFromType.d.ts +0 -12
- package/dist/api/resources/conversations/types/CreateConversationRequestFromType.js +0 -11
- package/dist/api/resources/conversations/types/index.d.ts +0 -10
- package/dist/api/resources/conversations/types/index.js +0 -26
- package/dist/api/resources/customObjectInstances/index.d.ts +0 -1
- package/dist/api/resources/customObjectInstances/index.js +0 -17
- package/dist/api/resources/customObjectInstances/types/CustomObjectInstance.d.ts +0 -16
- package/dist/api/resources/customObjectInstances/types/CustomObjectInstance.js +0 -5
- package/dist/api/resources/customObjectInstances/types/index.d.ts +0 -1
- package/dist/api/resources/customObjectInstances/types/index.js +0 -17
- package/dist/api/resources/dataAttributes/client/Client.d.ts +0 -136
- package/dist/api/resources/dataAttributes/client/Client.js +0 -336
- package/dist/api/resources/dataAttributes/client/index.d.ts +0 -1
- package/dist/api/resources/dataAttributes/client/index.js +0 -17
- package/dist/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.d.ts +0 -63
- package/dist/api/resources/dataAttributes/client/requests/CreateDataAttributeRequest.js +0 -5
- package/dist/api/resources/dataAttributes/client/requests/DataAttributesListRequest.d.ts +0 -18
- package/dist/api/resources/dataAttributes/client/requests/DataAttributesListRequest.js +0 -5
- package/dist/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.d.ts +0 -41
- package/dist/api/resources/dataAttributes/client/requests/UpdateDataAttributeRequest.js +0 -5
- package/dist/api/resources/dataAttributes/client/requests/index.d.ts +0 -3
- package/dist/api/resources/dataAttributes/client/requests/index.js +0 -2
- package/dist/api/resources/dataAttributes/index.d.ts +0 -2
- package/dist/api/resources/dataAttributes/index.js +0 -18
- package/dist/api/resources/dataAttributes/types/CreateDataAttributeRequestDataType.d.ts +0 -15
- package/dist/api/resources/dataAttributes/types/CreateDataAttributeRequestDataType.js +0 -14
- package/dist/api/resources/dataAttributes/types/CreateDataAttributeRequestModel.d.ts +0 -11
- package/dist/api/resources/dataAttributes/types/CreateDataAttributeRequestModel.js +0 -10
- package/dist/api/resources/dataAttributes/types/DataAttribute.d.ts +0 -43
- package/dist/api/resources/dataAttributes/types/DataAttribute.js +0 -5
- package/dist/api/resources/dataAttributes/types/DataAttributeDataType.d.ts +0 -14
- package/dist/api/resources/dataAttributes/types/DataAttributeDataType.js +0 -13
- package/dist/api/resources/dataAttributes/types/DataAttributeModel.d.ts +0 -11
- package/dist/api/resources/dataAttributes/types/DataAttributeModel.js +0 -10
- package/dist/api/resources/dataAttributes/types/DataAttributesListRequestModel.d.ts +0 -9
- package/dist/api/resources/dataAttributes/types/DataAttributesListRequestModel.js +0 -11
- package/dist/api/resources/dataAttributes/types/index.d.ts +0 -6
- package/dist/api/resources/dataAttributes/types/index.js +0 -22
- package/dist/api/resources/dataEvents/index.d.ts +0 -1
- package/dist/api/resources/dataEvents/index.js +0 -17
- package/dist/api/resources/dataEvents/types/DataEvent.d.ts +0 -24
- package/dist/api/resources/dataEvents/types/DataEvent.js +0 -5
- package/dist/api/resources/dataEvents/types/index.d.ts +0 -1
- package/dist/api/resources/dataEvents/types/index.js +0 -17
- package/dist/api/resources/dataExport/client/Client.d.ts +0 -100
- package/dist/api/resources/dataExport/client/Client.js +0 -310
- package/dist/api/resources/dataExport/client/index.d.ts +0 -1
- package/dist/api/resources/dataExport/client/index.js +0 -17
- package/dist/api/resources/dataExport/client/requests/CreateDataExportsRequest.d.ts +0 -16
- package/dist/api/resources/dataExport/client/requests/CreateDataExportsRequest.js +0 -5
- package/dist/api/resources/dataExport/client/requests/index.d.ts +0 -1
- package/dist/api/resources/dataExport/client/requests/index.js +0 -2
- package/dist/api/resources/dataExport/index.d.ts +0 -2
- package/dist/api/resources/dataExport/index.js +0 -18
- package/dist/api/resources/dataExport/types/DataExport.d.ts +0 -17
- package/dist/api/resources/dataExport/types/DataExport.js +0 -5
- package/dist/api/resources/dataExport/types/DataExportStatus.d.ts +0 -15
- package/dist/api/resources/dataExport/types/DataExportStatus.js +0 -14
- package/dist/api/resources/dataExport/types/index.d.ts +0 -2
- package/dist/api/resources/dataExport/types/index.js +0 -18
- package/dist/api/resources/events/client/Client.d.ts +0 -127
- package/dist/api/resources/events/client/Client.js +0 -318
- package/dist/api/resources/events/client/index.d.ts +0 -1
- package/dist/api/resources/events/client/index.js +0 -17
- package/dist/api/resources/events/client/requests/CreateDataEventSummariesRequest.d.ts +0 -14
- package/dist/api/resources/events/client/requests/CreateDataEventSummariesRequest.js +0 -5
- package/dist/api/resources/events/client/requests/EventsListRequest.d.ts +0 -25
- package/dist/api/resources/events/client/requests/EventsListRequest.js +0 -5
- package/dist/api/resources/events/client/requests/index.d.ts +0 -2
- package/dist/api/resources/events/client/requests/index.js +0 -2
- package/dist/api/resources/events/index.d.ts +0 -2
- package/dist/api/resources/events/index.js +0 -18
- package/dist/api/resources/events/types/CreateDataEventSummariesRequestEventSummaries.d.ts +0 -16
- package/dist/api/resources/events/types/CreateDataEventSummariesRequestEventSummaries.js +0 -5
- package/dist/api/resources/events/types/EventsListRequestFilter.d.ts +0 -5
- package/dist/api/resources/events/types/EventsListRequestFilter.js +0 -5
- package/dist/api/resources/events/types/EventsListRequestFilterEmail.d.ts +0 -6
- package/dist/api/resources/events/types/EventsListRequestFilterEmail.js +0 -5
- package/dist/api/resources/events/types/EventsListRequestFilterIntercomUserId.d.ts +0 -6
- package/dist/api/resources/events/types/EventsListRequestFilterIntercomUserId.js +0 -5
- package/dist/api/resources/events/types/EventsListRequestFilterUserId.d.ts +0 -6
- package/dist/api/resources/events/types/EventsListRequestFilterUserId.js +0 -5
- package/dist/api/resources/events/types/index.d.ts +0 -5
- package/dist/api/resources/events/types/index.js +0 -21
- package/dist/api/resources/helpCenter/client/Client.d.ts +0 -60
- package/dist/api/resources/helpCenter/client/Client.js +0 -196
- package/dist/api/resources/helpCenter/client/index.d.ts +0 -1
- package/dist/api/resources/helpCenter/client/index.js +0 -2
- package/dist/api/resources/helpCenter/index.d.ts +0 -3
- package/dist/api/resources/helpCenter/index.js +0 -19
- package/dist/api/resources/helpCenter/resources/collections/client/Client.d.ts +0 -106
- package/dist/api/resources/helpCenter/resources/collections/client/Client.js +0 -395
- package/dist/api/resources/helpCenter/resources/collections/client/index.d.ts +0 -1
- package/dist/api/resources/helpCenter/resources/collections/client/index.js +0 -17
- package/dist/api/resources/helpCenter/resources/collections/client/requests/CreateCollectionRequest.d.ts +0 -27
- package/dist/api/resources/helpCenter/resources/collections/client/requests/CreateCollectionRequest.js +0 -5
- package/dist/api/resources/helpCenter/resources/collections/client/requests/UpdateCollectionRequest.d.ts +0 -24
- package/dist/api/resources/helpCenter/resources/collections/client/requests/UpdateCollectionRequest.js +0 -5
- package/dist/api/resources/helpCenter/resources/collections/client/requests/index.d.ts +0 -2
- package/dist/api/resources/helpCenter/resources/collections/client/requests/index.js +0 -2
- package/dist/api/resources/helpCenter/resources/collections/index.d.ts +0 -1
- package/dist/api/resources/helpCenter/resources/collections/index.js +0 -17
- package/dist/api/resources/helpCenter/resources/index.d.ts +0 -2
- package/dist/api/resources/helpCenter/resources/index.js +0 -31
- package/dist/api/resources/helpCenter/types/Collection.d.ts +0 -34
- package/dist/api/resources/helpCenter/types/Collection.js +0 -5
- package/dist/api/resources/helpCenter/types/HelpCenter.d.ts +0 -22
- package/dist/api/resources/helpCenter/types/HelpCenter.js +0 -5
- package/dist/api/resources/helpCenter/types/HelpCenterList.d.ts +0 -13
- package/dist/api/resources/helpCenter/types/HelpCenterList.js +0 -5
- package/dist/api/resources/helpCenter/types/index.d.ts +0 -3
- package/dist/api/resources/helpCenter/types/index.js +0 -19
- package/dist/api/resources/index.d.ts +0 -63
- package/dist/api/resources/index.js +0 -92
- package/dist/api/resources/messages/client/Client.d.ts +0 -145
- package/dist/api/resources/messages/client/Client.js +0 -235
- package/dist/api/resources/messages/client/index.d.ts +0 -1
- package/dist/api/resources/messages/client/index.js +0 -2
- package/dist/api/resources/messages/index.d.ts +0 -2
- package/dist/api/resources/messages/index.js +0 -18
- package/dist/api/resources/messages/types/Message.d.ts +0 -23
- package/dist/api/resources/messages/types/Message.js +0 -5
- package/dist/api/resources/messages/types/MessageMessageType.d.ts +0 -13
- package/dist/api/resources/messages/types/MessageMessageType.js +0 -12
- package/dist/api/resources/messages/types/index.d.ts +0 -2
- package/dist/api/resources/messages/types/index.js +0 -18
- package/dist/api/resources/news/client/Client.d.ts +0 -154
- package/dist/api/resources/news/client/Client.js +0 -588
- package/dist/api/resources/news/client/index.d.ts +0 -1
- package/dist/api/resources/news/client/index.js +0 -2
- package/dist/api/resources/news/index.d.ts +0 -2
- package/dist/api/resources/news/index.js +0 -18
- package/dist/api/resources/news/types/NewsItem.d.ts +0 -35
- package/dist/api/resources/news/types/NewsItem.js +0 -5
- package/dist/api/resources/news/types/NewsItemState.d.ts +0 -11
- package/dist/api/resources/news/types/NewsItemState.js +0 -10
- package/dist/api/resources/news/types/Newsfeed.d.ts +0 -18
- package/dist/api/resources/news/types/Newsfeed.js +0 -5
- package/dist/api/resources/news/types/NewsfeedAssignment.d.ts +0 -12
- package/dist/api/resources/news/types/NewsfeedAssignment.js +0 -5
- package/dist/api/resources/news/types/index.d.ts +0 -4
- package/dist/api/resources/news/types/index.js +0 -20
- package/dist/api/resources/notes/client/Client.d.ts +0 -89
- package/dist/api/resources/notes/client/Client.js +0 -273
- package/dist/api/resources/notes/client/index.d.ts +0 -1
- package/dist/api/resources/notes/client/index.js +0 -17
- package/dist/api/resources/notes/client/requests/NotesCreateRequest.d.ts +0 -33
- package/dist/api/resources/notes/client/requests/NotesCreateRequest.js +0 -5
- package/dist/api/resources/notes/client/requests/index.d.ts +0 -1
- package/dist/api/resources/notes/client/requests/index.js +0 -2
- package/dist/api/resources/notes/index.d.ts +0 -2
- package/dist/api/resources/notes/index.js +0 -18
- package/dist/api/resources/notes/types/Note.d.ts +0 -21
- package/dist/api/resources/notes/types/Note.js +0 -5
- package/dist/api/resources/notes/types/NoteContact.d.ts +0 -12
- package/dist/api/resources/notes/types/NoteContact.js +0 -5
- package/dist/api/resources/notes/types/index.d.ts +0 -2
- package/dist/api/resources/notes/types/index.js +0 -18
- package/dist/api/resources/phoneCallRedirect/client/Client.d.ts +0 -62
- package/dist/api/resources/phoneCallRedirect/client/Client.js +0 -150
- package/dist/api/resources/phoneCallRedirect/client/index.d.ts +0 -1
- package/dist/api/resources/phoneCallRedirect/client/index.js +0 -2
- package/dist/api/resources/phoneCallRedirect/index.d.ts +0 -1
- package/dist/api/resources/phoneCallRedirect/index.js +0 -17
- package/dist/api/resources/segments/client/Client.d.ts +0 -58
- package/dist/api/resources/segments/client/Client.js +0 -198
- package/dist/api/resources/segments/client/index.d.ts +0 -1
- package/dist/api/resources/segments/client/index.js +0 -17
- package/dist/api/resources/segments/client/requests/SegmentsListRequest.d.ts +0 -13
- package/dist/api/resources/segments/client/requests/SegmentsListRequest.js +0 -5
- package/dist/api/resources/segments/client/requests/index.d.ts +0 -1
- package/dist/api/resources/segments/client/requests/index.js +0 -2
- package/dist/api/resources/segments/index.d.ts +0 -2
- package/dist/api/resources/segments/index.js +0 -18
- package/dist/api/resources/segments/types/Segment.d.ts +0 -23
- package/dist/api/resources/segments/types/Segment.js +0 -5
- package/dist/api/resources/segments/types/SegmentPersonType.d.ts +0 -11
- package/dist/api/resources/segments/types/SegmentPersonType.js +0 -10
- package/dist/api/resources/segments/types/index.d.ts +0 -2
- package/dist/api/resources/segments/types/index.js +0 -18
- package/dist/api/resources/subscriptionTypes/index.d.ts +0 -1
- package/dist/api/resources/subscriptionTypes/index.js +0 -17
- package/dist/api/resources/subscriptionTypes/types/SubscriptionType.d.ts +0 -22
- package/dist/api/resources/subscriptionTypes/types/SubscriptionType.js +0 -5
- package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeConsentType.d.ts +0 -11
- package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeConsentType.js +0 -10
- package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeContentTypesItem.d.ts +0 -8
- package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeContentTypesItem.js +0 -10
- package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeState.d.ts +0 -12
- package/dist/api/resources/subscriptionTypes/types/SubscriptionTypeState.js +0 -11
- package/dist/api/resources/subscriptionTypes/types/index.d.ts +0 -4
- package/dist/api/resources/subscriptionTypes/types/index.js +0 -20
- package/dist/api/resources/subscriptions/client/Client.d.ts +0 -41
- package/dist/api/resources/subscriptions/client/Client.js +0 -124
- package/dist/api/resources/subscriptions/client/index.d.ts +0 -1
- package/dist/api/resources/subscriptions/client/index.js +0 -2
- package/dist/api/resources/subscriptions/index.d.ts +0 -1
- package/dist/api/resources/subscriptions/index.js +0 -17
- package/dist/api/resources/tags/client/Client.d.ts +0 -224
- package/dist/api/resources/tags/client/Client.js +0 -776
- package/dist/api/resources/tags/client/index.d.ts +0 -1
- package/dist/api/resources/tags/client/index.js +0 -17
- package/dist/api/resources/tags/client/requests/TagsAttachRequest.d.ts +0 -22
- package/dist/api/resources/tags/client/requests/TagsAttachRequest.js +0 -5
- package/dist/api/resources/tags/client/requests/TagsDetachRequest.d.ts +0 -23
- package/dist/api/resources/tags/client/requests/TagsDetachRequest.js +0 -5
- package/dist/api/resources/tags/client/requests/TagsTagContactRequest.d.ts +0 -23
- package/dist/api/resources/tags/client/requests/TagsTagContactRequest.js +0 -5
- package/dist/api/resources/tags/client/requests/TagsTagConversationRequest.d.ts +0 -22
- package/dist/api/resources/tags/client/requests/TagsTagConversationRequest.js +0 -5
- package/dist/api/resources/tags/client/requests/TagsUntagConversationRequest.d.ts +0 -23
- package/dist/api/resources/tags/client/requests/TagsUntagConversationRequest.js +0 -5
- package/dist/api/resources/tags/client/requests/index.d.ts +0 -5
- package/dist/api/resources/tags/client/requests/index.js +0 -2
- package/dist/api/resources/tags/index.d.ts +0 -2
- package/dist/api/resources/tags/index.js +0 -18
- package/dist/api/resources/tags/types/Tag.d.ts +0 -18
- package/dist/api/resources/tags/types/Tag.js +0 -5
- package/dist/api/resources/tags/types/TagsCreateRequestBody.d.ts +0 -5
- package/dist/api/resources/tags/types/TagsCreateRequestBody.js +0 -5
- package/dist/api/resources/tags/types/index.d.ts +0 -2
- package/dist/api/resources/tags/types/index.js +0 -18
- package/dist/api/resources/teams/client/Client.d.ts +0 -57
- package/dist/api/resources/teams/client/Client.js +0 -191
- package/dist/api/resources/teams/client/index.d.ts +0 -1
- package/dist/api/resources/teams/client/index.js +0 -2
- package/dist/api/resources/teams/index.d.ts +0 -2
- package/dist/api/resources/teams/index.js +0 -18
- package/dist/api/resources/teams/types/Team.d.ts +0 -18
- package/dist/api/resources/teams/types/Team.js +0 -5
- package/dist/api/resources/teams/types/index.d.ts +0 -1
- package/dist/api/resources/teams/types/index.js +0 -17
- package/dist/api/resources/ticketTypeAttributes/client/Client.d.ts +0 -67
- package/dist/api/resources/ticketTypeAttributes/client/Client.js +0 -201
- package/dist/api/resources/ticketTypeAttributes/client/index.d.ts +0 -1
- package/dist/api/resources/ticketTypeAttributes/client/index.js +0 -17
- package/dist/api/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.d.ts +0 -35
- package/dist/api/resources/ticketTypeAttributes/client/requests/CreateTicketTypeAttributeRequest.js +0 -5
- package/dist/api/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.d.ts +0 -31
- package/dist/api/resources/ticketTypeAttributes/client/requests/UpdateTicketTypeAttributeRequest.js +0 -5
- package/dist/api/resources/ticketTypeAttributes/client/requests/index.d.ts +0 -2
- package/dist/api/resources/ticketTypeAttributes/client/requests/index.js +0 -2
- package/dist/api/resources/ticketTypeAttributes/index.d.ts +0 -2
- package/dist/api/resources/ticketTypeAttributes/index.js +0 -18
- package/dist/api/resources/ticketTypeAttributes/types/CreateTicketTypeAttributeRequestDataType.d.ts +0 -16
- package/dist/api/resources/ticketTypeAttributes/types/CreateTicketTypeAttributeRequestDataType.js +0 -15
- package/dist/api/resources/ticketTypeAttributes/types/index.d.ts +0 -1
- package/dist/api/resources/ticketTypeAttributes/types/index.js +0 -17
- package/dist/api/resources/ticketTypes/client/Client.d.ts +0 -97
- package/dist/api/resources/ticketTypes/client/Client.js +0 -329
- package/dist/api/resources/ticketTypes/client/index.d.ts +0 -1
- package/dist/api/resources/ticketTypes/client/index.js +0 -2
- package/dist/api/resources/ticketTypes/index.d.ts +0 -1
- package/dist/api/resources/ticketTypes/index.js +0 -17
- package/dist/api/resources/tickets/client/Client.d.ts +0 -251
- package/dist/api/resources/tickets/client/Client.js +0 -546
- package/dist/api/resources/tickets/client/index.d.ts +0 -1
- package/dist/api/resources/tickets/client/index.js +0 -17
- package/dist/api/resources/tickets/client/requests/CreateTicketRequest.d.ts +0 -28
- package/dist/api/resources/tickets/client/requests/CreateTicketRequest.js +0 -5
- package/dist/api/resources/tickets/client/requests/UpdateTicketRequest.d.ts +0 -59
- package/dist/api/resources/tickets/client/requests/UpdateTicketRequest.js +0 -5
- package/dist/api/resources/tickets/client/requests/index.d.ts +0 -2
- package/dist/api/resources/tickets/client/requests/index.js +0 -2
- package/dist/api/resources/tickets/index.d.ts +0 -2
- package/dist/api/resources/tickets/index.js +0 -18
- package/dist/api/resources/tickets/types/CreateTicketRequestContactsItem.d.ts +0 -5
- package/dist/api/resources/tickets/types/CreateTicketRequestContactsItem.js +0 -5
- package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemEmail.d.ts +0 -7
- package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemEmail.js +0 -5
- package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemExternalId.d.ts +0 -7
- package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemExternalId.js +0 -5
- package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemId.d.ts +0 -7
- package/dist/api/resources/tickets/types/CreateTicketRequestContactsItemId.js +0 -5
- package/dist/api/resources/tickets/types/Ticket.d.ts +0 -42
- package/dist/api/resources/tickets/types/Ticket.js +0 -5
- package/dist/api/resources/tickets/types/TicketCategory.d.ts +0 -12
- package/dist/api/resources/tickets/types/TicketCategory.js +0 -11
- package/dist/api/resources/tickets/types/TicketContacts.d.ts +0 -13
- package/dist/api/resources/tickets/types/TicketContacts.js +0 -5
- package/dist/api/resources/tickets/types/TicketPart.d.ts +0 -34
- package/dist/api/resources/tickets/types/TicketPart.js +0 -5
- package/dist/api/resources/tickets/types/TicketPartPreviousTicketState.d.ts +0 -13
- package/dist/api/resources/tickets/types/TicketPartPreviousTicketState.js +0 -12
- package/dist/api/resources/tickets/types/TicketPartTicketState.d.ts +0 -13
- package/dist/api/resources/tickets/types/TicketPartTicketState.js +0 -12
- package/dist/api/resources/tickets/types/TicketTicketState.d.ts +0 -13
- package/dist/api/resources/tickets/types/TicketTicketState.js +0 -12
- package/dist/api/resources/tickets/types/TicketType.d.ts +0 -30
- package/dist/api/resources/tickets/types/TicketType.js +0 -5
- package/dist/api/resources/tickets/types/TicketTypeCategory.d.ts +0 -12
- package/dist/api/resources/tickets/types/TicketTypeCategory.js +0 -11
- package/dist/api/resources/tickets/types/TicketsReplyRequestBody.d.ts +0 -5
- package/dist/api/resources/tickets/types/TicketsReplyRequestBody.js +0 -5
- package/dist/api/resources/tickets/types/UpdateTicketRequestAssignment.d.ts +0 -9
- package/dist/api/resources/tickets/types/UpdateTicketRequestAssignment.js +0 -5
- package/dist/api/resources/tickets/types/UpdateTicketRequestState.d.ts +0 -12
- package/dist/api/resources/tickets/types/UpdateTicketRequestState.js +0 -11
- package/dist/api/resources/tickets/types/index.d.ts +0 -16
- package/dist/api/resources/tickets/types/index.js +0 -32
- package/dist/api/resources/visitors/client/Client.d.ts +0 -97
- package/dist/api/resources/visitors/client/Client.js +0 -288
- package/dist/api/resources/visitors/client/index.d.ts +0 -1
- package/dist/api/resources/visitors/client/index.js +0 -17
- package/dist/api/resources/visitors/client/requests/ConvertVisitorRequest.d.ts +0 -25
- package/dist/api/resources/visitors/client/requests/ConvertVisitorRequest.js +0 -5
- package/dist/api/resources/visitors/client/requests/VisitorsFindRequest.d.ts +0 -15
- package/dist/api/resources/visitors/client/requests/VisitorsFindRequest.js +0 -5
- package/dist/api/resources/visitors/client/requests/index.d.ts +0 -2
- package/dist/api/resources/visitors/client/requests/index.js +0 -2
- package/dist/api/resources/visitors/index.d.ts +0 -2
- package/dist/api/resources/visitors/index.js +0 -18
- package/dist/api/resources/visitors/types/ConvertVisitorRequestUser.d.ts +0 -8
- package/dist/api/resources/visitors/types/ConvertVisitorRequestUser.js +0 -5
- package/dist/api/resources/visitors/types/ConvertVisitorRequestVisitor.d.ts +0 -8
- package/dist/api/resources/visitors/types/ConvertVisitorRequestVisitor.js +0 -5
- package/dist/api/resources/visitors/types/UserWithId.d.ts +0 -9
- package/dist/api/resources/visitors/types/UserWithId.js +0 -5
- package/dist/api/resources/visitors/types/UserWithUserId.d.ts +0 -9
- package/dist/api/resources/visitors/types/UserWithUserId.js +0 -5
- package/dist/api/resources/visitors/types/VisitorWithEmail.d.ts +0 -7
- package/dist/api/resources/visitors/types/VisitorWithEmail.js +0 -5
- package/dist/api/resources/visitors/types/VisitorWithId.d.ts +0 -7
- package/dist/api/resources/visitors/types/VisitorWithId.js +0 -5
- package/dist/api/resources/visitors/types/VisitorWithUserId.d.ts +0 -7
- package/dist/api/resources/visitors/types/VisitorWithUserId.js +0 -5
- package/dist/api/resources/visitors/types/index.d.ts +0 -7
- package/dist/api/resources/visitors/types/index.js +0 -23
- package/dist/api/types/ActivityLog.d.ts +0 -19
- package/dist/api/types/ActivityLog.js +0 -5
- package/dist/api/types/ActivityLogActivityType.d.ts +0 -73
- package/dist/api/types/ActivityLogActivityType.js +0 -75
- package/dist/api/types/ActivityLogList.d.ts +0 -14
- package/dist/api/types/ActivityLogList.js +0 -5
- package/dist/api/types/ActivityLogMetadata.d.ts +0 -26
- package/dist/api/types/ActivityLogMetadata.js +0 -5
- package/dist/api/types/ActivityLogPerformedBy.d.ts +0 -16
- package/dist/api/types/ActivityLogPerformedBy.js +0 -5
- package/dist/api/types/AddressableList.d.ts +0 -14
- package/dist/api/types/AddressableList.js +0 -5
- package/dist/api/types/AdminList.d.ts +0 -13
- package/dist/api/types/AdminList.js +0 -5
- package/dist/api/types/AdminPriorityLevel.d.ts +0 -12
- package/dist/api/types/AdminPriorityLevel.js +0 -5
- package/dist/api/types/AdminReplyConversationRequest.d.ts +0 -21
- package/dist/api/types/AdminReplyConversationRequest.js +0 -5
- package/dist/api/types/AdminReplyConversationRequestMessageType.d.ts +0 -8
- package/dist/api/types/AdminReplyConversationRequestMessageType.js +0 -10
- package/dist/api/types/AdminReplyTicketRequest.d.ts +0 -21
- package/dist/api/types/AdminReplyTicketRequest.js +0 -5
- package/dist/api/types/AdminReplyTicketRequestMessageType.d.ts +0 -9
- package/dist/api/types/AdminReplyTicketRequestMessageType.js +0 -11
- package/dist/api/types/AdminReplyTicketRequestReplyOptionsItem.d.ts +0 -9
- package/dist/api/types/AdminReplyTicketRequestReplyOptionsItem.js +0 -5
- package/dist/api/types/AdminWithApp.d.ts +0 -33
- package/dist/api/types/AdminWithApp.js +0 -5
- package/dist/api/types/AdminWithAppAvatar.d.ts +0 -12
- package/dist/api/types/AdminWithAppAvatar.js +0 -5
- package/dist/api/types/App.d.ts +0 -22
- package/dist/api/types/App.js +0 -5
- package/dist/api/types/ArticleContent.d.ts +0 -27
- package/dist/api/types/ArticleContent.js +0 -5
- package/dist/api/types/ArticleContentState.d.ts +0 -11
- package/dist/api/types/ArticleContentState.js +0 -10
- package/dist/api/types/ArticleList.d.ts +0 -16
- package/dist/api/types/ArticleList.js +0 -5
- package/dist/api/types/ArticleStatistics.d.ts +0 -22
- package/dist/api/types/ArticleStatistics.js +0 -5
- package/dist/api/types/ArticleTranslatedContent.d.ts +0 -85
- package/dist/api/types/ArticleTranslatedContent.js +0 -5
- package/dist/api/types/AssignConversationRequest.d.ts +0 -16
- package/dist/api/types/AssignConversationRequest.js +0 -5
- package/dist/api/types/AssignConversationRequestType.d.ts +0 -8
- package/dist/api/types/AssignConversationRequestType.js +0 -10
- package/dist/api/types/CloseConversationRequest.d.ts +0 -13
- package/dist/api/types/CloseConversationRequest.js +0 -5
- package/dist/api/types/CollectionList.d.ts +0 -16
- package/dist/api/types/CollectionList.js +0 -5
- package/dist/api/types/CompanyAttachedContacts.d.ts +0 -16
- package/dist/api/types/CompanyAttachedContacts.js +0 -5
- package/dist/api/types/CompanyAttachedSegments.d.ts +0 -13
- package/dist/api/types/CompanyAttachedSegments.js +0 -5
- package/dist/api/types/CompanyList.d.ts +0 -16
- package/dist/api/types/CompanyList.js +0 -5
- package/dist/api/types/CompanyScroll.d.ts +0 -17
- package/dist/api/types/CompanyScroll.js +0 -5
- package/dist/api/types/ContactArchived.d.ts +0 -16
- package/dist/api/types/ContactArchived.js +0 -5
- package/dist/api/types/ContactAttachedCompanies.d.ts +0 -16
- package/dist/api/types/ContactAttachedCompanies.js +0 -5
- package/dist/api/types/ContactCompanies.d.ts +0 -14
- package/dist/api/types/ContactCompanies.js +0 -5
- package/dist/api/types/ContactDeleted.d.ts +0 -16
- package/dist/api/types/ContactDeleted.js +0 -5
- package/dist/api/types/ContactList.d.ts +0 -16
- package/dist/api/types/ContactList.js +0 -5
- package/dist/api/types/ContactLocation.d.ts +0 -16
- package/dist/api/types/ContactLocation.js +0 -5
- package/dist/api/types/ContactNotes.d.ts +0 -17
- package/dist/api/types/ContactNotes.js +0 -5
- package/dist/api/types/ContactReference.d.ts +0 -14
- package/dist/api/types/ContactReference.js +0 -5
- package/dist/api/types/ContactReplyBaseRequest.d.ts +0 -13
- package/dist/api/types/ContactReplyBaseRequest.js +0 -5
- package/dist/api/types/ContactReplyConversationRequest.d.ts +0 -5
- package/dist/api/types/ContactReplyConversationRequest.js +0 -5
- package/dist/api/types/ContactReplyEmailRequest.d.ts +0 -13
- package/dist/api/types/ContactReplyEmailRequest.js +0 -5
- package/dist/api/types/ContactReplyIntercomUserIdRequest.d.ts +0 -13
- package/dist/api/types/ContactReplyIntercomUserIdRequest.js +0 -5
- package/dist/api/types/ContactReplyTicketEmailRequest.d.ts +0 -11
- package/dist/api/types/ContactReplyTicketEmailRequest.js +0 -5
- package/dist/api/types/ContactReplyTicketIntercomUserIdRequest.d.ts +0 -11
- package/dist/api/types/ContactReplyTicketIntercomUserIdRequest.js +0 -5
- package/dist/api/types/ContactReplyTicketRequest.d.ts +0 -5
- package/dist/api/types/ContactReplyTicketRequest.js +0 -5
- package/dist/api/types/ContactReplyTicketUserIdRequest.d.ts +0 -11
- package/dist/api/types/ContactReplyTicketUserIdRequest.js +0 -5
- package/dist/api/types/ContactReplyUserIdRequest.d.ts +0 -13
- package/dist/api/types/ContactReplyUserIdRequest.js +0 -5
- package/dist/api/types/ContactSegments.d.ts +0 -13
- package/dist/api/types/ContactSegments.js +0 -5
- package/dist/api/types/ContactSocialProfiles.d.ts +0 -11
- package/dist/api/types/ContactSocialProfiles.js +0 -5
- package/dist/api/types/ContactSubscriptionTypes.d.ts +0 -17
- package/dist/api/types/ContactSubscriptionTypes.js +0 -5
- package/dist/api/types/ContactTags.d.ts +0 -17
- package/dist/api/types/ContactTags.js +0 -5
- package/dist/api/types/ContactUnarchived.d.ts +0 -16
- package/dist/api/types/ContactUnarchived.js +0 -5
- package/dist/api/types/ContentSourcesList.d.ts +0 -11
- package/dist/api/types/ContentSourcesList.js +0 -5
- package/dist/api/types/ConversationAttachmentFiles.d.ts +0 -14
- package/dist/api/types/ConversationAttachmentFiles.js +0 -5
- package/dist/api/types/ConversationContacts.d.ts +0 -13
- package/dist/api/types/ConversationContacts.js +0 -5
- package/dist/api/types/ConversationFirstContactReply.d.ts +0 -14
- package/dist/api/types/ConversationFirstContactReply.js +0 -5
- package/dist/api/types/ConversationList.d.ts +0 -16
- package/dist/api/types/ConversationList.js +0 -5
- package/dist/api/types/ConversationPart.d.ts +0 -32
- package/dist/api/types/ConversationPart.js +0 -5
- package/dist/api/types/ConversationPartAuthor.d.ts +0 -16
- package/dist/api/types/ConversationPartAuthor.js +0 -5
- package/dist/api/types/ConversationParts.d.ts +0 -15
- package/dist/api/types/ConversationParts.js +0 -5
- package/dist/api/types/ConversationRating.d.ts +0 -17
- package/dist/api/types/ConversationRating.js +0 -5
- package/dist/api/types/ConversationSource.d.ts +0 -26
- package/dist/api/types/ConversationSource.js +0 -5
- package/dist/api/types/ConversationStatistics.d.ts +0 -46
- package/dist/api/types/ConversationStatistics.js +0 -5
- package/dist/api/types/ConversationTeammates.d.ts +0 -13
- package/dist/api/types/ConversationTeammates.js +0 -5
- package/dist/api/types/CreateArticleRequest.d.ts +0 -24
- package/dist/api/types/CreateArticleRequest.js +0 -5
- package/dist/api/types/CreateArticleRequestState.d.ts +0 -11
- package/dist/api/types/CreateArticleRequestState.js +0 -10
- package/dist/api/types/CreateContactRequest.d.ts +0 -8
- package/dist/api/types/CreateContactRequest.js +0 -5
- package/dist/api/types/CreateContactRequestWithEmail.d.ts +0 -23
- package/dist/api/types/CreateContactRequestWithEmail.js +0 -5
- package/dist/api/types/CreateContactRequestWithExternalId.d.ts +0 -23
- package/dist/api/types/CreateContactRequestWithExternalId.js +0 -5
- package/dist/api/types/CreateContactRequestWithRole.d.ts +0 -23
- package/dist/api/types/CreateContactRequestWithRole.js +0 -5
- package/dist/api/types/CreateDataEventRequest.d.ts +0 -8
- package/dist/api/types/CreateDataEventRequest.js +0 -5
- package/dist/api/types/CreateDataEventRequestWithEmail.d.ts +0 -13
- package/dist/api/types/CreateDataEventRequestWithEmail.js +0 -5
- package/dist/api/types/CreateDataEventRequestWithId.d.ts +0 -13
- package/dist/api/types/CreateDataEventRequestWithId.js +0 -5
- package/dist/api/types/CreateDataEventRequestWithUserId.d.ts +0 -13
- package/dist/api/types/CreateDataEventRequestWithUserId.js +0 -5
- package/dist/api/types/CreateMessageRequest.d.ts +0 -16
- package/dist/api/types/CreateMessageRequest.js +0 -5
- package/dist/api/types/CreateMessageRequestFrom.d.ts +0 -12
- package/dist/api/types/CreateMessageRequestFrom.js +0 -5
- package/dist/api/types/CreateMessageRequestTo.d.ts +0 -13
- package/dist/api/types/CreateMessageRequestTo.js +0 -5
- package/dist/api/types/CreateMessageRequestType.d.ts +0 -11
- package/dist/api/types/CreateMessageRequestType.js +0 -10
- package/dist/api/types/CreateMessageRequestWithEmail.d.ts +0 -20
- package/dist/api/types/CreateMessageRequestWithEmail.js +0 -5
- package/dist/api/types/CreateMessageRequestWithInapp.d.ts +0 -20
- package/dist/api/types/CreateMessageRequestWithInapp.js +0 -5
- package/dist/api/types/CreateOrUpdateCompanyRequest.d.ts +0 -26
- package/dist/api/types/CreateOrUpdateCompanyRequest.js +0 -5
- package/dist/api/types/CreateOrUpdateTagRequest.d.ts +0 -12
- package/dist/api/types/CreateOrUpdateTagRequest.js +0 -5
- package/dist/api/types/CreatePhoneSwitchRequest.d.ts +0 -12
- package/dist/api/types/CreatePhoneSwitchRequest.js +0 -5
- package/dist/api/types/CreateTicketReplyWithCommentRequest.d.ts +0 -5
- package/dist/api/types/CreateTicketReplyWithCommentRequest.js +0 -5
- package/dist/api/types/CreateTicketTypeRequest.d.ts +0 -20
- package/dist/api/types/CreateTicketTypeRequest.js +0 -5
- package/dist/api/types/CreateTicketTypeRequestCategory.d.ts +0 -12
- package/dist/api/types/CreateTicketTypeRequestCategory.js +0 -11
- package/dist/api/types/CursorPages.d.ts +0 -19
- package/dist/api/types/CursorPages.js +0 -5
- package/dist/api/types/CustomAttributes.d.ts +0 -8
- package/dist/api/types/CustomAttributes.js +0 -5
- package/dist/api/types/CustomAttributesValue.d.ts +0 -5
- package/dist/api/types/CustomAttributesValue.js +0 -5
- package/dist/api/types/CustomerRequest.d.ts +0 -5
- package/dist/api/types/CustomerRequest.js +0 -5
- package/dist/api/types/CustomerRequestEmail.d.ts +0 -7
- package/dist/api/types/CustomerRequestEmail.js +0 -5
- package/dist/api/types/CustomerRequestIntercomUserId.d.ts +0 -7
- package/dist/api/types/CustomerRequestIntercomUserId.js +0 -5
- package/dist/api/types/CustomerRequestUserId.d.ts +0 -7
- package/dist/api/types/CustomerRequestUserId.js +0 -5
- package/dist/api/types/DataAttributeList.d.ts +0 -13
- package/dist/api/types/DataAttributeList.js +0 -5
- package/dist/api/types/DataEventList.d.ts +0 -15
- package/dist/api/types/DataEventList.js +0 -5
- package/dist/api/types/DataEventListPages.d.ts +0 -10
- package/dist/api/types/DataEventListPages.js +0 -5
- package/dist/api/types/DataEventSummary.d.ts +0 -19
- package/dist/api/types/DataEventSummary.js +0 -5
- package/dist/api/types/DataEventSummaryItem.d.ts +0 -18
- package/dist/api/types/DataEventSummaryItem.js +0 -5
- package/dist/api/types/DataExportCsv.d.ts +0 -60
- package/dist/api/types/DataExportCsv.js +0 -5
- package/dist/api/types/DeletedArticleObject.d.ts +0 -14
- package/dist/api/types/DeletedArticleObject.js +0 -5
- package/dist/api/types/DeletedCollectionObject.d.ts +0 -14
- package/dist/api/types/DeletedCollectionObject.js +0 -5
- package/dist/api/types/DeletedCompanyObject.d.ts +0 -14
- package/dist/api/types/DeletedCompanyObject.js +0 -5
- package/dist/api/types/DeletedObject.d.ts +0 -14
- package/dist/api/types/DeletedObject.js +0 -5
- package/dist/api/types/ErrorErrorsItem.d.ts +0 -11
- package/dist/api/types/ErrorErrorsItem.js +0 -5
- package/dist/api/types/Error_.d.ts +0 -15
- package/dist/api/types/Error_.js +0 -5
- package/dist/api/types/FileAttribute.d.ts +0 -21
- package/dist/api/types/FileAttribute.js +0 -5
- package/dist/api/types/GroupContent.d.ts +0 -14
- package/dist/api/types/GroupContent.js +0 -5
- package/dist/api/types/GroupTranslatedContent.d.ts +0 -85
- package/dist/api/types/GroupTranslatedContent.js +0 -5
- package/dist/api/types/LinkedObject.d.ts +0 -15
- package/dist/api/types/LinkedObject.js +0 -5
- package/dist/api/types/LinkedObjectList.d.ts +0 -17
- package/dist/api/types/LinkedObjectList.js +0 -5
- package/dist/api/types/LinkedObjectType.d.ts +0 -11
- package/dist/api/types/LinkedObjectType.js +0 -10
- package/dist/api/types/MultipleFilterSearchRequest.d.ts +0 -12
- package/dist/api/types/MultipleFilterSearchRequest.js +0 -5
- package/dist/api/types/MultipleFilterSearchRequestOperator.d.ts +0 -11
- package/dist/api/types/MultipleFilterSearchRequestOperator.js +0 -10
- package/dist/api/types/MultipleFilterSearchRequestValue.d.ts +0 -11
- package/dist/api/types/MultipleFilterSearchRequestValue.js +0 -5
- package/dist/api/types/NewsItemRequest.d.ts +0 -25
- package/dist/api/types/NewsItemRequest.js +0 -5
- package/dist/api/types/NewsItemRequestState.d.ts +0 -11
- package/dist/api/types/NewsItemRequestState.js +0 -10
- package/dist/api/types/NoteList.d.ts +0 -16
- package/dist/api/types/NoteList.js +0 -5
- package/dist/api/types/OpenConversationRequest.d.ts +0 -10
- package/dist/api/types/OpenConversationRequest.js +0 -5
- package/dist/api/types/PagesLink.d.ts +0 -16
- package/dist/api/types/PagesLink.js +0 -5
- package/dist/api/types/PaginatedResponse.d.ts +0 -16
- package/dist/api/types/PaginatedResponse.js +0 -5
- package/dist/api/types/PaginatedResponseDataItem.d.ts +0 -13
- package/dist/api/types/PaginatedResponseDataItem.js +0 -5
- package/dist/api/types/PaginatedResponseType.d.ts +0 -11
- package/dist/api/types/PaginatedResponseType.js +0 -10
- package/dist/api/types/PartAttachment.d.ts +0 -22
- package/dist/api/types/PartAttachment.js +0 -5
- package/dist/api/types/PhoneSwitch.d.ts +0 -12
- package/dist/api/types/PhoneSwitch.js +0 -5
- package/dist/api/types/RedactConversationRequest.d.ts +0 -19
- package/dist/api/types/RedactConversationRequest.js +0 -5
- package/dist/api/types/RedactConversationRequestConversationPart.d.ts +0 -12
- package/dist/api/types/RedactConversationRequestConversationPart.js +0 -5
- package/dist/api/types/RedactConversationRequestSource.d.ts +0 -12
- package/dist/api/types/RedactConversationRequestSource.js +0 -5
- package/dist/api/types/Reference.d.ts +0 -12
- package/dist/api/types/Reference.js +0 -5
- package/dist/api/types/ReplyConversationRequest.d.ts +0 -5
- package/dist/api/types/ReplyConversationRequest.js +0 -5
- package/dist/api/types/SearchRequest.d.ts +0 -11
- package/dist/api/types/SearchRequest.js +0 -5
- package/dist/api/types/SearchRequestQuery.d.ts +0 -5
- package/dist/api/types/SearchRequestQuery.js +0 -5
- package/dist/api/types/SegmentList.d.ts +0 -15
- package/dist/api/types/SegmentList.js +0 -5
- package/dist/api/types/SingleFilterSearchRequest.d.ts +0 -15
- package/dist/api/types/SingleFilterSearchRequest.js +0 -5
- package/dist/api/types/SingleFilterSearchRequestOperator.d.ts +0 -19
- package/dist/api/types/SingleFilterSearchRequestOperator.js +0 -18
- package/dist/api/types/SlaApplied.d.ts +0 -16
- package/dist/api/types/SlaApplied.js +0 -5
- package/dist/api/types/SlaAppliedSlaStatus.d.ts +0 -13
- package/dist/api/types/SlaAppliedSlaStatus.js +0 -12
- package/dist/api/types/SnoozeConversationRequest.d.ts +0 -12
- package/dist/api/types/SnoozeConversationRequest.js +0 -5
- package/dist/api/types/SocialProfile.d.ts +0 -14
- package/dist/api/types/SocialProfile.js +0 -5
- package/dist/api/types/StartingAfterPaging.d.ts +0 -9
- package/dist/api/types/StartingAfterPaging.js +0 -5
- package/dist/api/types/SubscriptionTypeList.d.ts +0 -13
- package/dist/api/types/SubscriptionTypeList.js +0 -5
- package/dist/api/types/TagCompanyRequest.d.ts +0 -13
- package/dist/api/types/TagCompanyRequest.js +0 -5
- package/dist/api/types/TagCompanyRequestCompaniesItem.d.ts +0 -9
- package/dist/api/types/TagCompanyRequestCompaniesItem.js +0 -5
- package/dist/api/types/TagList.d.ts +0 -13
- package/dist/api/types/TagList.js +0 -5
- package/dist/api/types/TagMultipleUsersRequest.d.ts +0 -12
- package/dist/api/types/TagMultipleUsersRequest.js +0 -5
- package/dist/api/types/TagMultipleUsersRequestUsersItem.d.ts +0 -7
- package/dist/api/types/TagMultipleUsersRequestUsersItem.js +0 -5
- package/dist/api/types/Tags.d.ts +0 -13
- package/dist/api/types/Tags.js +0 -5
- package/dist/api/types/TeamList.d.ts +0 -13
- package/dist/api/types/TeamList.js +0 -5
- package/dist/api/types/TeamPriorityLevel.d.ts +0 -12
- package/dist/api/types/TeamPriorityLevel.js +0 -5
- package/dist/api/types/TicketCustomAttributes.d.ts +0 -8
- package/dist/api/types/TicketCustomAttributes.js +0 -5
- package/dist/api/types/TicketCustomAttributesValue.d.ts +0 -5
- package/dist/api/types/TicketCustomAttributesValue.js +0 -5
- package/dist/api/types/TicketList.d.ts +0 -16
- package/dist/api/types/TicketList.js +0 -5
- package/dist/api/types/TicketPartAuthor.d.ts +0 -17
- package/dist/api/types/TicketPartAuthor.js +0 -5
- package/dist/api/types/TicketPartAuthorType.d.ts +0 -13
- package/dist/api/types/TicketPartAuthorType.js +0 -12
- package/dist/api/types/TicketParts.d.ts +0 -15
- package/dist/api/types/TicketParts.js +0 -5
- package/dist/api/types/TicketReply.d.ts +0 -26
- package/dist/api/types/TicketReply.js +0 -5
- package/dist/api/types/TicketReplyPartType.d.ts +0 -12
- package/dist/api/types/TicketReplyPartType.js +0 -11
- package/dist/api/types/TicketRequestCustomAttributes.d.ts +0 -8
- package/dist/api/types/TicketRequestCustomAttributes.js +0 -5
- package/dist/api/types/TicketRequestCustomAttributesValue.d.ts +0 -4
- package/dist/api/types/TicketRequestCustomAttributesValue.js +0 -5
- package/dist/api/types/TicketTypeAttribute.d.ts +0 -42
- package/dist/api/types/TicketTypeAttribute.js +0 -5
- package/dist/api/types/TicketTypeAttributeList.d.ts +0 -13
- package/dist/api/types/TicketTypeAttributeList.js +0 -5
- package/dist/api/types/TicketTypeList.d.ts +0 -13
- package/dist/api/types/TicketTypeList.js +0 -5
- package/dist/api/types/Translation.d.ts +0 -14
- package/dist/api/types/Translation.js +0 -5
- package/dist/api/types/UntagCompanyRequest.d.ts +0 -13
- package/dist/api/types/UntagCompanyRequest.js +0 -5
- package/dist/api/types/UntagCompanyRequestCompaniesItem.d.ts +0 -11
- package/dist/api/types/UntagCompanyRequestCompaniesItem.js +0 -5
- package/dist/api/types/UpdateArticleRequest.d.ts +0 -24
- package/dist/api/types/UpdateArticleRequest.js +0 -5
- package/dist/api/types/UpdateArticleRequestState.d.ts +0 -11
- package/dist/api/types/UpdateArticleRequestState.js +0 -10
- package/dist/api/types/UpdateTicketTypeRequest.d.ts +0 -22
- package/dist/api/types/UpdateTicketTypeRequest.js +0 -5
- package/dist/api/types/UpdateTicketTypeRequestCategory.d.ts +0 -12
- package/dist/api/types/UpdateTicketTypeRequestCategory.js +0 -11
- package/dist/api/types/UpdateVisitorRequest.d.ts +0 -8
- package/dist/api/types/UpdateVisitorRequest.js +0 -5
- package/dist/api/types/UpdateVisitorRequestWithId.d.ts +0 -9
- package/dist/api/types/UpdateVisitorRequestWithId.js +0 -5
- package/dist/api/types/UpdateVisitorRequestWithUserId.d.ts +0 -9
- package/dist/api/types/UpdateVisitorRequestWithUserId.js +0 -5
- package/dist/api/types/Visitor.d.ts +0 -69
- package/dist/api/types/Visitor.js +0 -5
- package/dist/api/types/VisitorAvatar.d.ts +0 -9
- package/dist/api/types/VisitorAvatar.js +0 -5
- package/dist/api/types/VisitorCompanies.d.ts +0 -9
- package/dist/api/types/VisitorCompanies.js +0 -5
- package/dist/api/types/VisitorDeletedObject.d.ts +0 -14
- package/dist/api/types/VisitorDeletedObject.js +0 -5
- package/dist/api/types/VisitorLocationData.d.ts +0 -21
- package/dist/api/types/VisitorLocationData.js +0 -5
- package/dist/api/types/VisitorSegments.d.ts +0 -8
- package/dist/api/types/VisitorSegments.js +0 -5
- package/dist/api/types/VisitorSocialProfiles.d.ts +0 -8
- package/dist/api/types/VisitorSocialProfiles.js +0 -5
- package/dist/api/types/VisitorTags.d.ts +0 -9
- package/dist/api/types/VisitorTags.js +0 -5
- package/dist/api/types/VisitorTagsTagsItem.d.ts +0 -11
- package/dist/api/types/VisitorTagsTagsItem.js +0 -5
- package/dist/api/types/index.d.ts +0 -179
- package/dist/api/types/index.js +0 -195
- package/dist/api/version.d.ts +0 -5
- package/dist/api/version.js +0 -5
- package/dist/core/auth/BasicAuth.d.ts +0 -8
- package/dist/core/auth/BasicAuth.js +0 -26
- package/dist/core/auth/BearerToken.d.ts +0 -5
- package/dist/core/auth/BearerToken.js +0 -15
- package/dist/core/auth/index.d.ts +0 -2
- package/dist/core/auth/index.js +0 -7
- package/dist/core/fetcher/APIResponse.d.ts +0 -10
- package/dist/core/fetcher/APIResponse.js +0 -2
- package/dist/core/fetcher/Fetcher.d.ts +0 -38
- package/dist/core/fetcher/Fetcher.js +0 -99
- package/dist/core/fetcher/Supplier.d.ts +0 -4
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
- package/dist/core/fetcher/createRequestUrl.js +0 -13
- package/dist/core/fetcher/getFetchFn.d.ts +0 -4
- package/dist/core/fetcher/getFetchFn.js +0 -55
- package/dist/core/fetcher/getHeader.d.ts +0 -1
- package/dist/core/fetcher/getHeader.js +0 -12
- package/dist/core/fetcher/getRequestBody.d.ts +0 -7
- package/dist/core/fetcher/getRequestBody.js +0 -23
- package/dist/core/fetcher/getResponseBody.d.ts +0 -1
- package/dist/core/fetcher/getResponseBody.js +0 -48
- package/dist/core/fetcher/index.d.ts +0 -5
- package/dist/core/fetcher/index.js +0 -9
- package/dist/core/fetcher/makeRequest.d.ts +0 -1
- package/dist/core/fetcher/makeRequest.js +0 -40
- package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
- package/dist/core/fetcher/requestWithRetries.js +0 -32
- package/dist/core/fetcher/signals.d.ts +0 -12
- package/dist/core/fetcher/signals.js +0 -37
- package/dist/core/index.d.ts +0 -5
- package/dist/core/index.js +0 -21
- package/dist/core/pagination/Page.d.ts +0 -29
- package/dist/core/pagination/Page.js +0 -94
- package/dist/core/pagination/Pageable.d.ts +0 -12
- package/dist/core/pagination/Pageable.js +0 -10
- package/dist/core/pagination/index.d.ts +0 -2
- package/dist/core/pagination/index.js +0 -7
- package/dist/core/runtime/index.d.ts +0 -1
- package/dist/core/runtime/index.js +0 -5
- package/dist/core/runtime/runtime.d.ts +0 -9
- package/dist/core/runtime/runtime.js +0 -93
- package/dist/core/utils/index.d.ts +0 -1
- package/dist/core/utils/index.js +0 -5
- package/dist/core/utils/setObjectProperty.d.ts +0 -11
- package/dist/core/utils/setObjectProperty.js +0 -43
- package/dist/environments.d.ts +0 -9
- package/dist/environments.js +0 -11
- package/dist/errors/IntercomError.d.ts +0 -12
- package/dist/errors/IntercomError.js +0 -32
- package/dist/errors/IntercomTimeoutError.d.ts +0 -6
- package/dist/errors/IntercomTimeoutError.js +0 -13
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.js +0 -7
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -34
- package/environments.d.ts +0 -9
- package/environments.js +0 -11
- package/errors/IntercomError.d.ts +0 -12
- package/errors/IntercomError.js +0 -32
- package/errors/IntercomTimeoutError.d.ts +0 -6
- package/errors/IntercomTimeoutError.js +0 -13
- package/errors/index.d.ts +0 -2
- package/errors/index.js +0 -7
- package/jest.config.js +0 -5
- package/reference.md +0 -7755
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
import * as DataAttributesAPI from "./data-attributes.js";
|
|
4
|
+
export declare class DataAttributes extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* You can create a data attributes for a `contact` or a `company`.
|
|
7
|
+
*/
|
|
8
|
+
create(params: DataAttributeCreateParams, options?: Core.RequestOptions): Core.APIPromise<DataAttribute>;
|
|
9
|
+
/**
|
|
10
|
+
* You can update a data attribute.
|
|
11
|
+
*
|
|
12
|
+
* > 🚧 Updating the data type is not possible
|
|
13
|
+
* >
|
|
14
|
+
* > It is currently a dangerous action to execute changing a data attribute's type
|
|
15
|
+
* > via the API. You will need to update the type via the UI instead.
|
|
16
|
+
*/
|
|
17
|
+
update(id: number, params?: DataAttributeUpdateParams, options?: Core.RequestOptions): Core.APIPromise<DataAttribute>;
|
|
18
|
+
update(id: number, options?: Core.RequestOptions): Core.APIPromise<DataAttribute>;
|
|
19
|
+
/**
|
|
20
|
+
* You can fetch a list of all data attributes belonging to a workspace for
|
|
21
|
+
* contacts, companies or conversations.
|
|
22
|
+
*/
|
|
23
|
+
list(params?: DataAttributeListParams, options?: Core.RequestOptions): Core.APIPromise<DataAttributeList>;
|
|
24
|
+
list(options?: Core.RequestOptions): Core.APIPromise<DataAttributeList>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Data Attributes are metadata used to describe your contact, company and
|
|
28
|
+
* conversation models. These include standard and custom attributes. By using the
|
|
29
|
+
* data attributes endpoint, you can get the global list of attributes for your
|
|
30
|
+
* workspace, as well as create and archive custom attributes.
|
|
31
|
+
*/
|
|
32
|
+
export interface DataAttribute {
|
|
33
|
+
/**
|
|
34
|
+
* The unique identifier for the data attribute which is given by Intercom. Only
|
|
35
|
+
* available for custom attributes.
|
|
36
|
+
*/
|
|
37
|
+
id?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Teammate who created the attribute. Only applicable to CDAs
|
|
40
|
+
*/
|
|
41
|
+
admin_id?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Can this attribute be updated through API
|
|
44
|
+
*/
|
|
45
|
+
api_writable?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Is this attribute archived. (Only applicable to CDAs)
|
|
48
|
+
*/
|
|
49
|
+
archived?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* The time the attribute was created as a UTC Unix timestamp
|
|
52
|
+
*/
|
|
53
|
+
created_at?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Set to true if this is a CDA
|
|
56
|
+
*/
|
|
57
|
+
custom?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* The data type of the attribute.
|
|
60
|
+
*/
|
|
61
|
+
data_type?: 'string' | 'integer' | 'float' | 'boolean' | 'date';
|
|
62
|
+
/**
|
|
63
|
+
* Readable description of the attribute.
|
|
64
|
+
*/
|
|
65
|
+
description?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Full name of the attribute. Should match the name unless it's a nested
|
|
68
|
+
* attribute. We can split full_name on `.` to access nested user object values.
|
|
69
|
+
*/
|
|
70
|
+
full_name?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Readable name of the attribute (i.e. name you see in the UI)
|
|
73
|
+
*/
|
|
74
|
+
label?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Can this attribute be updated by the Messenger
|
|
77
|
+
*/
|
|
78
|
+
messenger_writable?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Value is `contact` for user/lead attributes and `company` for company
|
|
81
|
+
* attributes.
|
|
82
|
+
*/
|
|
83
|
+
model?: 'contact' | 'company';
|
|
84
|
+
/**
|
|
85
|
+
* Name of the attribute.
|
|
86
|
+
*/
|
|
87
|
+
name?: string;
|
|
88
|
+
/**
|
|
89
|
+
* List of predefined options for attribute value.
|
|
90
|
+
*/
|
|
91
|
+
options?: Array<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Value is `data_attribute`.
|
|
94
|
+
*/
|
|
95
|
+
type?: 'data_attribute';
|
|
96
|
+
/**
|
|
97
|
+
* Can this attribute be updated in the UI
|
|
98
|
+
*/
|
|
99
|
+
ui_writable?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* The time the attribute was last updated as a UTC Unix timestamp
|
|
102
|
+
*/
|
|
103
|
+
updated_at?: number;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* A list of all data attributes belonging to a workspace for contacts, companies
|
|
107
|
+
* or conversations.
|
|
108
|
+
*/
|
|
109
|
+
export interface DataAttributeList {
|
|
110
|
+
/**
|
|
111
|
+
* A list of data attributes
|
|
112
|
+
*/
|
|
113
|
+
data?: Array<DataAttribute>;
|
|
114
|
+
/**
|
|
115
|
+
* The type of the object
|
|
116
|
+
*/
|
|
117
|
+
type?: 'list';
|
|
118
|
+
}
|
|
119
|
+
export interface DataAttributeCreateParams {
|
|
120
|
+
/**
|
|
121
|
+
* Body param: The type of data stored for this attribute.
|
|
122
|
+
*/
|
|
123
|
+
data_type: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'date';
|
|
124
|
+
/**
|
|
125
|
+
* Body param: The model that the data attribute belongs to.
|
|
126
|
+
*/
|
|
127
|
+
model: 'contact' | 'company';
|
|
128
|
+
/**
|
|
129
|
+
* Body param: The name of the data attribute.
|
|
130
|
+
*/
|
|
131
|
+
name: string;
|
|
132
|
+
/**
|
|
133
|
+
* Body param: The readable description you see in the UI for the attribute.
|
|
134
|
+
*/
|
|
135
|
+
description?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Body param: Can this attribute be updated by the Messenger
|
|
138
|
+
*/
|
|
139
|
+
messenger_writable?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Body param: To create list attributes. Provide a set of hashes with `value` as
|
|
142
|
+
* the key of the options you want to make. `data_type` must be `string`.
|
|
143
|
+
*/
|
|
144
|
+
options?: Array<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
147
|
+
* the app package.
|
|
148
|
+
*/
|
|
149
|
+
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
150
|
+
}
|
|
151
|
+
export interface DataAttributeUpdateParams {
|
|
152
|
+
/**
|
|
153
|
+
* Body param: Whether the attribute is to be archived or not.
|
|
154
|
+
*/
|
|
155
|
+
archived?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Body param: The readable description you see in the UI for the attribute.
|
|
158
|
+
*/
|
|
159
|
+
description?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Body param: Can this attribute be updated by the Messenger
|
|
162
|
+
*/
|
|
163
|
+
messenger_writable?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Body param: To create list attributes. Provide a set of hashes with `value` as
|
|
166
|
+
* the key of the options you want to make. `data_type` must be `string`.
|
|
167
|
+
*/
|
|
168
|
+
options?: Array<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
171
|
+
* the app package.
|
|
172
|
+
*/
|
|
173
|
+
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
174
|
+
}
|
|
175
|
+
export interface DataAttributeListParams {
|
|
176
|
+
/**
|
|
177
|
+
* Query param: Include archived attributes in the list. By default we return only
|
|
178
|
+
* non archived data attributes.
|
|
179
|
+
*/
|
|
180
|
+
include_archived?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* Query param: Specify the data attribute model to return.
|
|
183
|
+
*/
|
|
184
|
+
model?: 'contact' | 'company' | 'conversation';
|
|
185
|
+
/**
|
|
186
|
+
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
187
|
+
* the app package.
|
|
188
|
+
*/
|
|
189
|
+
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
190
|
+
}
|
|
191
|
+
export declare namespace DataAttributes {
|
|
192
|
+
export import DataAttribute = DataAttributesAPI.DataAttribute;
|
|
193
|
+
export import DataAttributeList = DataAttributesAPI.DataAttributeList;
|
|
194
|
+
export import DataAttributeCreateParams = DataAttributesAPI.DataAttributeCreateParams;
|
|
195
|
+
export import DataAttributeUpdateParams = DataAttributesAPI.DataAttributeUpdateParams;
|
|
196
|
+
export import DataAttributeListParams = DataAttributesAPI.DataAttributeListParams;
|
|
197
|
+
}
|
|
198
|
+
//# sourceMappingURL=data-attributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-attributes.d.ts","sourceRoot":"","sources":["../src/resources/data-attributes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,iBAAiB,MAAM,mBAAmB,CAAC;AAEvD,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;IAcxG;;;;;;;OAOG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,yBAAyB,EAClC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;IACjC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;IAsBjF;;;OAGG;IACH,IAAI,CAAC,MAAM,CAAC,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;IACzG,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAoBxE;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAEhE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAE5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;IAE5E;;OAEG;IACH,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAE7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;OAGG;IACH,kBAAkB,CAAC,EACf,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,UAAU,CAAC;CAChB;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;OAGG;IACH,kBAAkB,CAAC,EACf,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,UAAU,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,cAAc,CAAC;IAE/C;;;OAGG;IACH,kBAAkB,CAAC,EACf,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,UAAU,CAAC;CAChB;AAED,yBAAiB,cAAc,CAAC;IAC9B,MAAM,QAAQ,aAAa,GAAG,iBAAiB,CAAC,aAAa,CAAC;IAC9D,MAAM,QAAQ,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;IACtE,MAAM,QAAQ,yBAAyB,GAAG,iBAAiB,CAAC,yBAAyB,CAAC;IACtF,MAAM,QAAQ,yBAAyB,GAAG,iBAAiB,CAAC,yBAAyB,CAAC;IACtF,MAAM,QAAQ,uBAAuB,GAAG,iBAAiB,CAAC,uBAAuB,CAAC;CACnF"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DataAttributes = void 0;
|
|
5
|
+
const resource_1 = require("../resource.js");
|
|
6
|
+
const core_1 = require("../core.js");
|
|
7
|
+
class DataAttributes extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* You can create a data attributes for a `contact` or a `company`.
|
|
10
|
+
*/
|
|
11
|
+
create(params, options) {
|
|
12
|
+
const { 'Intercom-Version': intercomVersion, ...body } = params;
|
|
13
|
+
return this._client.post('/data_attributes', {
|
|
14
|
+
body,
|
|
15
|
+
...options,
|
|
16
|
+
headers: {
|
|
17
|
+
...(intercomVersion?.toString() != null ?
|
|
18
|
+
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
19
|
+
: undefined),
|
|
20
|
+
...options?.headers,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
update(id, params = {}, options) {
|
|
25
|
+
if ((0, core_1.isRequestOptions)(params)) {
|
|
26
|
+
return this.update(id, {}, params);
|
|
27
|
+
}
|
|
28
|
+
const { 'Intercom-Version': intercomVersion, ...body } = params;
|
|
29
|
+
return this._client.put(`/data_attributes/${id}`, {
|
|
30
|
+
body,
|
|
31
|
+
...options,
|
|
32
|
+
headers: {
|
|
33
|
+
...(intercomVersion?.toString() != null ?
|
|
34
|
+
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
35
|
+
: undefined),
|
|
36
|
+
...options?.headers,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
list(params = {}, options) {
|
|
41
|
+
if ((0, core_1.isRequestOptions)(params)) {
|
|
42
|
+
return this.list({}, params);
|
|
43
|
+
}
|
|
44
|
+
const { 'Intercom-Version': intercomVersion, ...query } = params;
|
|
45
|
+
return this._client.get('/data_attributes', {
|
|
46
|
+
query,
|
|
47
|
+
...options,
|
|
48
|
+
headers: {
|
|
49
|
+
...(intercomVersion?.toString() != null ?
|
|
50
|
+
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
51
|
+
: undefined),
|
|
52
|
+
...options?.headers,
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.DataAttributes = DataAttributes;
|
|
58
|
+
(function (DataAttributes) {
|
|
59
|
+
})(DataAttributes = exports.DataAttributes || (exports.DataAttributes = {}));
|
|
60
|
+
//# sourceMappingURL=data-attributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-attributes.js","sourceRoot":"","sources":["../src/resources/data-attributes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAI3C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;OAEG;IACH,MAAM,CAAC,MAAiC,EAAE,OAA6B;QACrE,MAAM,EAAE,kBAAkB,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE;gBACP,GAAG,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;oBACvC,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE;oBACrD,CAAC,CAAC,SAAS,CAAC;gBACZ,GAAG,OAAO,EAAE,OAAO;aACpB;SACF,CAAC,CAAC;IACL,CAAC;IAgBD,MAAM,CACJ,EAAU,EACV,SAA0D,EAAE,EAC5D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;SACpC;QACD,MAAM,EAAE,kBAAkB,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,EAAE,EAAE;YAChD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE;gBACP,GAAG,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;oBACvC,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE;oBACrD,CAAC,CAAC,SAAS,CAAC;gBACZ,GAAG,OAAO,EAAE,OAAO;aACpB;SACF,CAAC,CAAC;IACL,CAAC;IAQD,IAAI,CACF,SAAwD,EAAE,EAC1D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;SAC9B;QACD,MAAM,EAAE,kBAAkB,EAAE,eAAe,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE;YAC1C,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE;gBACP,GAAG,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;oBACvC,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE;oBACrD,CAAC,CAAC,SAAS,CAAC;gBACZ,GAAG,OAAO,EAAE,OAAO;aACpB;SACF,CAAC,CAAC;IACL,CAAC;CACF;AA9ED,wCA8EC;AA+PD,WAAiB,cAAc;AAM/B,CAAC,EANgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAM9B"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
import { isRequestOptions } from "../core.mjs";
|
|
4
|
+
export class DataAttributes extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* You can create a data attributes for a `contact` or a `company`.
|
|
7
|
+
*/
|
|
8
|
+
create(params, options) {
|
|
9
|
+
const { 'Intercom-Version': intercomVersion, ...body } = params;
|
|
10
|
+
return this._client.post('/data_attributes', {
|
|
11
|
+
body,
|
|
12
|
+
...options,
|
|
13
|
+
headers: {
|
|
14
|
+
...(intercomVersion?.toString() != null ?
|
|
15
|
+
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
16
|
+
: undefined),
|
|
17
|
+
...options?.headers,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
update(id, params = {}, options) {
|
|
22
|
+
if (isRequestOptions(params)) {
|
|
23
|
+
return this.update(id, {}, params);
|
|
24
|
+
}
|
|
25
|
+
const { 'Intercom-Version': intercomVersion, ...body } = params;
|
|
26
|
+
return this._client.put(`/data_attributes/${id}`, {
|
|
27
|
+
body,
|
|
28
|
+
...options,
|
|
29
|
+
headers: {
|
|
30
|
+
...(intercomVersion?.toString() != null ?
|
|
31
|
+
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
32
|
+
: undefined),
|
|
33
|
+
...options?.headers,
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
list(params = {}, options) {
|
|
38
|
+
if (isRequestOptions(params)) {
|
|
39
|
+
return this.list({}, params);
|
|
40
|
+
}
|
|
41
|
+
const { 'Intercom-Version': intercomVersion, ...query } = params;
|
|
42
|
+
return this._client.get('/data_attributes', {
|
|
43
|
+
query,
|
|
44
|
+
...options,
|
|
45
|
+
headers: {
|
|
46
|
+
...(intercomVersion?.toString() != null ?
|
|
47
|
+
{ 'Intercom-Version': intercomVersion?.toString() }
|
|
48
|
+
: undefined),
|
|
49
|
+
...options?.headers,
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
(function (DataAttributes) {
|
|
55
|
+
})(DataAttributes || (DataAttributes = {}));
|
|
56
|
+
//# sourceMappingURL=data-attributes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-attributes.mjs","sourceRoot":"","sources":["../src/resources/data-attributes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAI3B,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,MAAM,CAAC,MAAiC,EAAE,OAA6B;QACrE,MAAM,EAAE,kBAAkB,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE;gBACP,GAAG,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;oBACvC,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE;oBACrD,CAAC,CAAC,SAAS,CAAC;gBACZ,GAAG,OAAO,EAAE,OAAO;aACpB;SACF,CAAC,CAAC;IACL,CAAC;IAgBD,MAAM,CACJ,EAAU,EACV,SAA0D,EAAE,EAC5D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;SACpC;QACD,MAAM,EAAE,kBAAkB,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,EAAE,EAAE;YAChD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE;gBACP,GAAG,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;oBACvC,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE;oBACrD,CAAC,CAAC,SAAS,CAAC;gBACZ,GAAG,OAAO,EAAE,OAAO;aACpB;SACF,CAAC,CAAC;IACL,CAAC;IAQD,IAAI,CACF,SAAwD,EAAE,EAC1D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;SAC9B;QACD,MAAM,EAAE,kBAAkB,EAAE,eAAe,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE;YAC1C,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE;gBACP,GAAG,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;oBACvC,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE;oBACrD,CAAC,CAAC,SAAS,CAAC;gBACZ,GAAG,OAAO,EAAE,OAAO;aACpB;SACF,CAAC,CAAC;IACL,CAAC;CACF;AA+PD,WAAiB,cAAc;AAM/B,CAAC,EANgB,cAAc,KAAd,cAAc,QAM9B"}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
import * as DataEventsAPI from "./data-events.js";
|
|
4
|
+
export declare class DataEvents extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* You will need an Access Token that has write permissions to send Events. Once
|
|
7
|
+
* you have a key you can submit events via POST to the Events resource, which is
|
|
8
|
+
* located at https://api.intercom.io/events, or you can send events using one of
|
|
9
|
+
* the client libraries. When working with the HTTP API directly a client should
|
|
10
|
+
* send the event with a `Content-Type` of `application/json`.
|
|
11
|
+
*
|
|
12
|
+
* When using the JavaScript API,
|
|
13
|
+
* [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app)
|
|
14
|
+
* makes the Events API available. Once added, you can submit an event using the
|
|
15
|
+
* `trackEvent` method. This will associate the event with the Lead or currently
|
|
16
|
+
* logged-in user or logged-out visitor/lead and send it to Intercom. The final
|
|
17
|
+
* parameter is a map that can be used to send optional metadata about the event.
|
|
18
|
+
*
|
|
19
|
+
* With the Ruby client you pass a hash describing the event to
|
|
20
|
+
* `Intercom::Event.create`, or call the `track_user` method directly on the
|
|
21
|
+
* current user object (e.g. `user.track_event`).
|
|
22
|
+
*
|
|
23
|
+
* **NB: For the JSON object types, please note that we do not currently support
|
|
24
|
+
* nested JSON structure.**
|
|
25
|
+
*
|
|
26
|
+
* | Type | Description | Example |
|
|
27
|
+
* | :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |
|
|
28
|
+
* | String | The value is a JSON String | `"source":"desktop"` |
|
|
29
|
+
* | Number | The value is a JSON Number | `"load": 3.67` |
|
|
30
|
+
* | Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `"contact_date": 1392036272` |
|
|
31
|
+
* | Link | The value is a HTTP or HTTPS URI. | `"article": "https://example.org/ab1de.html"` |
|
|
32
|
+
* | Rich Link | The value is a JSON object that contains `url` and `value` keys. | `"article": {"url": "https://example.org/ab1de.html", "value":"the dude abides"}` |
|
|
33
|
+
* | Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `"price": {"amount": 34999, "currency": "eur"}` |
|
|
34
|
+
*
|
|
35
|
+
* **Lead Events**
|
|
36
|
+
*
|
|
37
|
+
* When submitting events for Leads, you will need to specify the Lead's `id`.
|
|
38
|
+
*
|
|
39
|
+
* **Metadata behaviour**
|
|
40
|
+
*
|
|
41
|
+
* - We currently limit the number of tracked metadata keys to 10 per event. Once
|
|
42
|
+
* the quota is reached, we ignore any further keys we receive. The first 10
|
|
43
|
+
* metadata keys are determined by the order in which they are sent in with the
|
|
44
|
+
* event.
|
|
45
|
+
* - It is not possible to change the metadata keys once the event has been sent. A
|
|
46
|
+
* new event will need to be created with the new keys and you can archive the
|
|
47
|
+
* old one.
|
|
48
|
+
* - There might be up to 24 hrs delay when you send a new metadata for an existing
|
|
49
|
+
* event.
|
|
50
|
+
*
|
|
51
|
+
* **Event de-duplication**
|
|
52
|
+
*
|
|
53
|
+
* The API may detect and ignore duplicate events. Each event is uniquely
|
|
54
|
+
* identified as a combination of the following data - the Workspace identifier,
|
|
55
|
+
* the Contact external identifier, the Data Event name and the Data Event created
|
|
56
|
+
* time. As a result, it is **strongly recommended** to send a second granularity
|
|
57
|
+
* Unix timestamp in the `created_at` field.
|
|
58
|
+
*
|
|
59
|
+
* Duplicated events are responded to using the normal `202 Accepted` code - an
|
|
60
|
+
* error is not thrown, however repeat requests will be counted against any rate
|
|
61
|
+
* limit that is in place.
|
|
62
|
+
*
|
|
63
|
+
* ### HTTP API Responses
|
|
64
|
+
*
|
|
65
|
+
* - Successful responses to submitted events return `202 Accepted` with an empty
|
|
66
|
+
* body.
|
|
67
|
+
* - Unauthorised access will be rejected with a `401 Unauthorized` or
|
|
68
|
+
* `403 Forbidden` response code.
|
|
69
|
+
* - Events sent about users that cannot be found will return a `404 Not Found`.
|
|
70
|
+
* - Event lists containing duplicate events will have those duplicates ignored.
|
|
71
|
+
* - Server errors will return a `500` response code and may contain an error
|
|
72
|
+
* message in the body.
|
|
73
|
+
*/
|
|
74
|
+
create(params: DataEventCreateParams, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
75
|
+
/**
|
|
76
|
+
* > 🚧
|
|
77
|
+
* >
|
|
78
|
+
* > Please note that you can only 'list' events that are less than 90 days old.
|
|
79
|
+
* > Event counts and summaries will still include your events older than 90 days
|
|
80
|
+
* > but you cannot 'list' these events individually if they are older than 90 days
|
|
81
|
+
*
|
|
82
|
+
* The events belonging to a customer can be listed by sending a GET request to
|
|
83
|
+
* `https://api.intercom.io/events` with a user or lead identifier along with a
|
|
84
|
+
* `type` parameter. The identifier parameter can be one of `user_id`, `email` or
|
|
85
|
+
* `intercom_user_id`. The `type` parameter value must be `user`.
|
|
86
|
+
*
|
|
87
|
+
* - `https://api.intercom.io/events?type=user&user_id={user_id}`
|
|
88
|
+
* - `https://api.intercom.io/events?type=user&email={email}`
|
|
89
|
+
* - `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call
|
|
90
|
+
* can be used to list leads)
|
|
91
|
+
*
|
|
92
|
+
* The `email` parameter value should be
|
|
93
|
+
* [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.
|
|
94
|
+
*
|
|
95
|
+
* You can optionally define the result page size as well with the `per_page`
|
|
96
|
+
* parameter.
|
|
97
|
+
*/
|
|
98
|
+
list(params: DataEventListParams, options?: Core.RequestOptions): Core.APIPromise<DataEventSummary>;
|
|
99
|
+
/**
|
|
100
|
+
* Create event summaries for a user. Event summaries are used to track the number
|
|
101
|
+
* of times an event has occurred, the first time it occurred and the last time it
|
|
102
|
+
* occurred.
|
|
103
|
+
*/
|
|
104
|
+
summaries(params?: DataEventSummariesParams, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
105
|
+
summaries(options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* This will return a summary of data events for the App.
|
|
109
|
+
*/
|
|
110
|
+
export interface DataEventSummary {
|
|
111
|
+
/**
|
|
112
|
+
* The email address of the user
|
|
113
|
+
*/
|
|
114
|
+
email?: string;
|
|
115
|
+
/**
|
|
116
|
+
* A summary of data events
|
|
117
|
+
*/
|
|
118
|
+
events?: Array<DataEventSummary.Event | null>;
|
|
119
|
+
/**
|
|
120
|
+
* The Intercom user ID of the user
|
|
121
|
+
*/
|
|
122
|
+
intercom_user_id?: string;
|
|
123
|
+
/**
|
|
124
|
+
* The type of the object
|
|
125
|
+
*/
|
|
126
|
+
type?: 'event.summary';
|
|
127
|
+
/**
|
|
128
|
+
* The user ID of the user
|
|
129
|
+
*/
|
|
130
|
+
user_id?: string;
|
|
131
|
+
}
|
|
132
|
+
export declare namespace DataEventSummary {
|
|
133
|
+
/**
|
|
134
|
+
* This will return a summary of a data event for the App.
|
|
135
|
+
*/
|
|
136
|
+
interface Event {
|
|
137
|
+
/**
|
|
138
|
+
* The number of times the event was sent
|
|
139
|
+
*/
|
|
140
|
+
count?: number;
|
|
141
|
+
/**
|
|
142
|
+
* The description of the event
|
|
143
|
+
*/
|
|
144
|
+
description?: string;
|
|
145
|
+
/**
|
|
146
|
+
* The first time the event was sent
|
|
147
|
+
*/
|
|
148
|
+
first?: string;
|
|
149
|
+
/**
|
|
150
|
+
* The last time the event was sent
|
|
151
|
+
*/
|
|
152
|
+
last?: string;
|
|
153
|
+
/**
|
|
154
|
+
* The name of the event
|
|
155
|
+
*/
|
|
156
|
+
name?: string;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
export type DataEventCreateParams = DataEventCreateParams.IDRequired | DataEventCreateParams.UserIDRequired | DataEventCreateParams.EmailRequired;
|
|
160
|
+
export declare namespace DataEventCreateParams {
|
|
161
|
+
interface IDRequired {
|
|
162
|
+
/**
|
|
163
|
+
* Body param:
|
|
164
|
+
*/
|
|
165
|
+
body: unknown;
|
|
166
|
+
/**
|
|
167
|
+
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
168
|
+
* the app package.
|
|
169
|
+
*/
|
|
170
|
+
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
171
|
+
}
|
|
172
|
+
interface UserIDRequired {
|
|
173
|
+
/**
|
|
174
|
+
* Body param:
|
|
175
|
+
*/
|
|
176
|
+
body: unknown;
|
|
177
|
+
/**
|
|
178
|
+
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
179
|
+
* the app package.
|
|
180
|
+
*/
|
|
181
|
+
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
182
|
+
}
|
|
183
|
+
interface EmailRequired {
|
|
184
|
+
/**
|
|
185
|
+
* Body param:
|
|
186
|
+
*/
|
|
187
|
+
body: unknown;
|
|
188
|
+
/**
|
|
189
|
+
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
190
|
+
* the app package.
|
|
191
|
+
*/
|
|
192
|
+
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
export interface DataEventListParams {
|
|
196
|
+
/**
|
|
197
|
+
* Query param:
|
|
198
|
+
*/
|
|
199
|
+
filter: DataEventListParams.UserIDQueryParameter | DataEventListParams.IntercomUserIDQueryParameter | DataEventListParams.EmailQueryParameter;
|
|
200
|
+
/**
|
|
201
|
+
* Query param: The value must be user
|
|
202
|
+
*/
|
|
203
|
+
type: string;
|
|
204
|
+
/**
|
|
205
|
+
* Query param: summary flag
|
|
206
|
+
*/
|
|
207
|
+
summary?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
210
|
+
* the app package.
|
|
211
|
+
*/
|
|
212
|
+
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
213
|
+
}
|
|
214
|
+
export declare namespace DataEventListParams {
|
|
215
|
+
interface UserIDQueryParameter {
|
|
216
|
+
user_id: string;
|
|
217
|
+
}
|
|
218
|
+
interface IntercomUserIDQueryParameter {
|
|
219
|
+
intercom_user_id: string;
|
|
220
|
+
}
|
|
221
|
+
interface EmailQueryParameter {
|
|
222
|
+
email: string;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
export interface DataEventSummariesParams {
|
|
226
|
+
/**
|
|
227
|
+
* Body param: A list of event summaries for the user. Each event summary should
|
|
228
|
+
* contain the event name, the time the event occurred, and the number of times the
|
|
229
|
+
* event occurred. The event name should be a past tense 'verb-noun' combination,
|
|
230
|
+
* to improve readability, for example `updated-plan`.
|
|
231
|
+
*/
|
|
232
|
+
event_summaries?: DataEventSummariesParams.EventSummaries;
|
|
233
|
+
/**
|
|
234
|
+
* Body param: Your identifier for the user.
|
|
235
|
+
*/
|
|
236
|
+
user_id?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Header param: Intercom API version.By default, it's equal to the version set in
|
|
239
|
+
* the app package.
|
|
240
|
+
*/
|
|
241
|
+
'Intercom-Version'?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | 'Unstable';
|
|
242
|
+
}
|
|
243
|
+
export declare namespace DataEventSummariesParams {
|
|
244
|
+
/**
|
|
245
|
+
* A list of event summaries for the user. Each event summary should contain the
|
|
246
|
+
* event name, the time the event occurred, and the number of times the event
|
|
247
|
+
* occurred. The event name should be a past tense 'verb-noun' combination, to
|
|
248
|
+
* improve readability, for example `updated-plan`.
|
|
249
|
+
*/
|
|
250
|
+
interface EventSummaries {
|
|
251
|
+
/**
|
|
252
|
+
* The number of times the event occurred.
|
|
253
|
+
*/
|
|
254
|
+
count?: number;
|
|
255
|
+
/**
|
|
256
|
+
* The name of the event that occurred. A good event name is typically a past tense
|
|
257
|
+
* 'verb-noun' combination, to improve readability, for example `updated-plan`.
|
|
258
|
+
*/
|
|
259
|
+
event_name?: string;
|
|
260
|
+
/**
|
|
261
|
+
* The first time the event was sent
|
|
262
|
+
*/
|
|
263
|
+
first?: number;
|
|
264
|
+
/**
|
|
265
|
+
* The last time the event was sent
|
|
266
|
+
*/
|
|
267
|
+
last?: number;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
export declare namespace DataEvents {
|
|
271
|
+
export import DataEventSummary = DataEventsAPI.DataEventSummary;
|
|
272
|
+
export import DataEventCreateParams = DataEventsAPI.DataEventCreateParams;
|
|
273
|
+
export import DataEventListParams = DataEventsAPI.DataEventListParams;
|
|
274
|
+
export import DataEventSummariesParams = DataEventsAPI.DataEventSummariesParams;
|
|
275
|
+
}
|
|
276
|
+
//# sourceMappingURL=data-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-events.d.ts","sourceRoot":"","sources":["../src/resources/data-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,aAAa,MAAM,eAAe,CAAC;AAE/C,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoEG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;IAe3F;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,IAAI,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC;IAcnG;;;;OAIG;IACH,SAAS,CAAC,MAAM,CAAC,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;IAClG,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;CAqBhE;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IAE9C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,yBAAiB,gBAAgB,CAAC;IAChC;;OAEG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,MAAM,qBAAqB,GAC7B,qBAAqB,CAAC,UAAU,GAChC,qBAAqB,CAAC,cAAc,GACpC,qBAAqB,CAAC,aAAa,CAAC;AAExC,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,UAAU;QACzB;;WAEG;QACH,IAAI,EAAE,OAAO,CAAC;QAEd;;;WAGG;QACH,kBAAkB,CAAC,EACf,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,UAAU,CAAC;KAChB;IAED,UAAiB,cAAc;QAC7B;;WAEG;QACH,IAAI,EAAE,OAAO,CAAC;QAEd;;;WAGG;QACH,kBAAkB,CAAC,EACf,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,UAAU,CAAC;KAChB;IAED,UAAiB,aAAa;QAC5B;;WAEG;QACH,IAAI,EAAE,OAAO,CAAC;QAEd;;;WAGG;QACH,kBAAkB,CAAC,EACf,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,UAAU,CAAC;KAChB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EACF,mBAAmB,CAAC,oBAAoB,GACxC,mBAAmB,CAAC,4BAA4B,GAChD,mBAAmB,CAAC,mBAAmB,CAAC;IAE5C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,kBAAkB,CAAC,EACf,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,UAAU,CAAC;CAChB;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,oBAAoB;QACnC,OAAO,EAAE,MAAM,CAAC;KACjB;IAED,UAAiB,4BAA4B;QAC3C,gBAAgB,EAAE,MAAM,CAAC;KAC1B;IAED,UAAiB,mBAAmB;QAClC,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;;;;OAKG;IACH,eAAe,CAAC,EAAE,wBAAwB,CAAC,cAAc,CAAC;IAE1D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,kBAAkB,CAAC,EACf,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,UAAU,CAAC;CAChB;AAED,yBAAiB,wBAAwB,CAAC;IACxC;;;;;OAKG;IACH,UAAiB,cAAc;QAC7B;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;CACF;AAED,yBAAiB,UAAU,CAAC;IAC1B,MAAM,QAAQ,gBAAgB,GAAG,aAAa,CAAC,gBAAgB,CAAC;IAChE,MAAM,QAAQ,qBAAqB,GAAG,aAAa,CAAC,qBAAqB,CAAC;IAC1E,MAAM,QAAQ,mBAAmB,GAAG,aAAa,CAAC,mBAAmB,CAAC;IACtE,MAAM,QAAQ,wBAAwB,GAAG,aAAa,CAAC,wBAAwB,CAAC;CACjF"}
|