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,2609 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import * as Shared from './shared';
|
|
4
|
+
import * as SegmentsAPI from './segments';
|
|
5
|
+
import * as SubscriptionsAPI from './contacts/subscriptions';
|
|
6
|
+
import * as TicketTypesAPI from './ticket-types/ticket-types';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Admins are teammate accounts that have access to a workspace.
|
|
10
|
+
*/
|
|
11
|
+
export interface Admin {
|
|
12
|
+
/**
|
|
13
|
+
* The id representing the admin.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Image for the associated team or teammate
|
|
19
|
+
*/
|
|
20
|
+
avatar?: string | null;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Identifies if this admin is currently set in away mode.
|
|
24
|
+
*/
|
|
25
|
+
away_mode_enabled?: boolean;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Identifies if this admin is set to automatically reassign new conversations to
|
|
29
|
+
* the apps default inbox.
|
|
30
|
+
*/
|
|
31
|
+
away_mode_reassign?: boolean;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The email of the admin.
|
|
35
|
+
*/
|
|
36
|
+
email?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Identifies if this admin has a paid inbox seat to restrict/allow features that
|
|
40
|
+
* require them.
|
|
41
|
+
*/
|
|
42
|
+
has_inbox_seat?: boolean;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The job title of the admin.
|
|
46
|
+
*/
|
|
47
|
+
job_title?: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The name of the admin.
|
|
51
|
+
*/
|
|
52
|
+
name?: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* This object represents the avatar associated with the admin.
|
|
56
|
+
*/
|
|
57
|
+
team_ids?: Array<number>;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Admin priority levels for teams
|
|
61
|
+
*/
|
|
62
|
+
team_priority_level?: Admin.TeamPriorityLevel | null;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* String representing the object's type. Always has the value `admin`.
|
|
66
|
+
*/
|
|
67
|
+
type?: string;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export namespace Admin {
|
|
71
|
+
/**
|
|
72
|
+
* Admin priority levels for teams
|
|
73
|
+
*/
|
|
74
|
+
export interface TeamPriorityLevel {
|
|
75
|
+
/**
|
|
76
|
+
* The primary team ids for the team
|
|
77
|
+
*/
|
|
78
|
+
primary_team_ids?: Array<number> | null;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The secondary team ids for the team
|
|
82
|
+
*/
|
|
83
|
+
secondary_team_ids?: Array<number> | null;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The Content of an Article.
|
|
89
|
+
*/
|
|
90
|
+
export interface ArticleContent {
|
|
91
|
+
/**
|
|
92
|
+
* The ID of the author of the article.
|
|
93
|
+
*/
|
|
94
|
+
author_id?: number;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The body of the article.
|
|
98
|
+
*/
|
|
99
|
+
body?: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The time when the article was created (seconds).
|
|
103
|
+
*/
|
|
104
|
+
created_at?: number;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The description of the article.
|
|
108
|
+
*/
|
|
109
|
+
description?: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Whether the article is `published` or is a `draft` .
|
|
113
|
+
*/
|
|
114
|
+
state?: 'published' | 'draft';
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The title of the article.
|
|
118
|
+
*/
|
|
119
|
+
title?: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* The type of object - `article_content` .
|
|
123
|
+
*/
|
|
124
|
+
type?: 'article_content' | null;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The time when the article was last updated (seconds).
|
|
128
|
+
*/
|
|
129
|
+
updated_at?: number;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* The URL of the article.
|
|
133
|
+
*/
|
|
134
|
+
url?: string;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The Translated Content of an Article. The keys are the locale codes and the
|
|
139
|
+
* values are the translated content of the article.
|
|
140
|
+
*/
|
|
141
|
+
export interface ArticleTranslatedContent {
|
|
142
|
+
/**
|
|
143
|
+
* The content of the article in Indonesian
|
|
144
|
+
*/
|
|
145
|
+
id?: ArticleContent | null;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* The content of the article in Arabic
|
|
149
|
+
*/
|
|
150
|
+
ar?: ArticleContent | null;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* The content of the article in Bulgarian
|
|
154
|
+
*/
|
|
155
|
+
bg?: ArticleContent | null;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* The content of the article in Bosnian
|
|
159
|
+
*/
|
|
160
|
+
bs?: ArticleContent | null;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The content of the article in Catalan
|
|
164
|
+
*/
|
|
165
|
+
ca?: ArticleContent | null;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The content of the article in Czech
|
|
169
|
+
*/
|
|
170
|
+
cs?: ArticleContent | null;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* The content of the article in Danish
|
|
174
|
+
*/
|
|
175
|
+
da?: ArticleContent | null;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* The content of the article in German
|
|
179
|
+
*/
|
|
180
|
+
de?: ArticleContent | null;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The content of the article in Greek
|
|
184
|
+
*/
|
|
185
|
+
el?: ArticleContent | null;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* The content of the article in English
|
|
189
|
+
*/
|
|
190
|
+
en?: ArticleContent | null;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* The content of the article in Spanish
|
|
194
|
+
*/
|
|
195
|
+
es?: ArticleContent | null;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The content of the article in Estonian
|
|
199
|
+
*/
|
|
200
|
+
et?: ArticleContent | null;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* The content of the article in Finnish
|
|
204
|
+
*/
|
|
205
|
+
fi?: ArticleContent | null;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The content of the article in French
|
|
209
|
+
*/
|
|
210
|
+
fr?: ArticleContent | null;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* The content of the article in Hebrew
|
|
214
|
+
*/
|
|
215
|
+
he?: ArticleContent | null;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* The content of the article in Croatian
|
|
219
|
+
*/
|
|
220
|
+
hr?: ArticleContent | null;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* The content of the article in Hungarian
|
|
224
|
+
*/
|
|
225
|
+
hu?: ArticleContent | null;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The content of the article in Italian
|
|
229
|
+
*/
|
|
230
|
+
it?: ArticleContent | null;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* The content of the article in Japanese
|
|
234
|
+
*/
|
|
235
|
+
ja?: ArticleContent | null;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* The content of the article in Korean
|
|
239
|
+
*/
|
|
240
|
+
ko?: ArticleContent | null;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* The content of the article in Lithuanian
|
|
244
|
+
*/
|
|
245
|
+
lt?: ArticleContent | null;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* The content of the article in Latvian
|
|
249
|
+
*/
|
|
250
|
+
lv?: ArticleContent | null;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The content of the article in Mongolian
|
|
254
|
+
*/
|
|
255
|
+
mn?: ArticleContent | null;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* The content of the article in Norwegian
|
|
259
|
+
*/
|
|
260
|
+
nb?: ArticleContent | null;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* The content of the article in Dutch
|
|
264
|
+
*/
|
|
265
|
+
nl?: ArticleContent | null;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* The content of the article in Polish
|
|
269
|
+
*/
|
|
270
|
+
pl?: ArticleContent | null;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* The content of the article in Portuguese (Portugal)
|
|
274
|
+
*/
|
|
275
|
+
pt?: ArticleContent | null;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* The content of the article in Portuguese (Brazil)
|
|
279
|
+
*/
|
|
280
|
+
'pt-BR'?: ArticleContent | null;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* The content of the article in Romanian
|
|
284
|
+
*/
|
|
285
|
+
ro?: ArticleContent | null;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* The content of the article in Russian
|
|
289
|
+
*/
|
|
290
|
+
ru?: ArticleContent | null;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* The content of the article in Slovenian
|
|
294
|
+
*/
|
|
295
|
+
sl?: ArticleContent | null;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* The content of the article in Serbian
|
|
299
|
+
*/
|
|
300
|
+
sr?: ArticleContent | null;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The content of the article in Swedish
|
|
304
|
+
*/
|
|
305
|
+
sv?: ArticleContent | null;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* The content of the article in Turkish
|
|
309
|
+
*/
|
|
310
|
+
tr?: ArticleContent | null;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* The type of object - article_translated_content.
|
|
314
|
+
*/
|
|
315
|
+
type?: 'article_translated_content' | null;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* The content of the article in Vietnamese
|
|
319
|
+
*/
|
|
320
|
+
vi?: ArticleContent | null;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* The content of the article in Chinese (China)
|
|
324
|
+
*/
|
|
325
|
+
'zh-CN'?: ArticleContent | null;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* The content of the article in Chinese (Taiwan)
|
|
329
|
+
*/
|
|
330
|
+
'zh-TW'?: ArticleContent | null;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Companies allow you to represent organizations using your product. Each company
|
|
335
|
+
* will have its own description and be associated with contacts. You can fetch,
|
|
336
|
+
* create, update and list companies.
|
|
337
|
+
*/
|
|
338
|
+
export interface Company {
|
|
339
|
+
/**
|
|
340
|
+
* The Intercom defined id representing the company.
|
|
341
|
+
*/
|
|
342
|
+
id?: string;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* The Intercom defined code of the workspace the company is associated to.
|
|
346
|
+
*/
|
|
347
|
+
app_id?: string;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* The company id you have defined for the company.
|
|
351
|
+
*/
|
|
352
|
+
company_id?: string;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* The time the company was added in Intercom.
|
|
356
|
+
*/
|
|
357
|
+
created_at?: number;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* The custom attributes you have set on the company.
|
|
361
|
+
*/
|
|
362
|
+
custom_attributes?: Record<string, string>;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* The industry that the company operates in.
|
|
366
|
+
*/
|
|
367
|
+
industry?: string;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* The time the company last recorded making a request.
|
|
371
|
+
*/
|
|
372
|
+
last_request_at?: number;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* How much revenue the company generates for your business.
|
|
376
|
+
*/
|
|
377
|
+
monthly_spend?: number;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* The name of the company.
|
|
381
|
+
*/
|
|
382
|
+
name?: string;
|
|
383
|
+
|
|
384
|
+
plan?: Company.Plan;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* The time the company was created by you.
|
|
388
|
+
*/
|
|
389
|
+
remote_created_at?: number;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The list of segments associated with the company
|
|
393
|
+
*/
|
|
394
|
+
segments?: Company.Segments;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* How many sessions the company has recorded.
|
|
398
|
+
*/
|
|
399
|
+
session_count?: number;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* The number of employees in the company.
|
|
403
|
+
*/
|
|
404
|
+
size?: number;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* The list of tags associated with the company
|
|
408
|
+
*/
|
|
409
|
+
tags?: Company.Tags;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Value is `company`
|
|
413
|
+
*/
|
|
414
|
+
type?: 'company';
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* The last time the company was updated.
|
|
418
|
+
*/
|
|
419
|
+
updated_at?: number;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* The number of users in the company.
|
|
423
|
+
*/
|
|
424
|
+
user_count?: number;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* The URL for the company website.
|
|
428
|
+
*/
|
|
429
|
+
website?: string;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export namespace Company {
|
|
433
|
+
export interface Plan {
|
|
434
|
+
/**
|
|
435
|
+
* The id of the plan
|
|
436
|
+
*/
|
|
437
|
+
id?: string;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* The name of the plan
|
|
441
|
+
*/
|
|
442
|
+
name?: string;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Value is always "plan"
|
|
446
|
+
*/
|
|
447
|
+
type?: string;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* The list of segments associated with the company
|
|
452
|
+
*/
|
|
453
|
+
export interface Segments {
|
|
454
|
+
segments?: Array<SegmentsAPI.Segment>;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* The type of the object
|
|
458
|
+
*/
|
|
459
|
+
type?: 'segment.list';
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* The list of tags associated with the company
|
|
464
|
+
*/
|
|
465
|
+
export interface Tags {
|
|
466
|
+
tags?: Array<Shared.Tag>;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* The type of the object
|
|
470
|
+
*/
|
|
471
|
+
type?: 'tag.list';
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Contact are the objects that represent your leads and users in Intercom.
|
|
477
|
+
*/
|
|
478
|
+
export interface Contact {
|
|
479
|
+
/**
|
|
480
|
+
* The unique identifier for the contact which is given by Intercom.
|
|
481
|
+
*/
|
|
482
|
+
id?: string;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* The name of the Android app which the contact is using.
|
|
486
|
+
*/
|
|
487
|
+
android_app_name?: string | null;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* The version of the Android app which the contact is using.
|
|
491
|
+
*/
|
|
492
|
+
android_app_version?: string | null;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* The Android device which the contact is using.
|
|
496
|
+
*/
|
|
497
|
+
android_device?: string | null;
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* (UNIX timestamp) The time when the contact was last seen on an Android device.
|
|
501
|
+
*/
|
|
502
|
+
android_last_seen_at?: number | null;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* The version of the Android OS which the contact is using.
|
|
506
|
+
*/
|
|
507
|
+
android_os_version?: string | null;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* The version of the Android SDK which the contact is using.
|
|
511
|
+
*/
|
|
512
|
+
android_sdk_version?: string | null;
|
|
513
|
+
|
|
514
|
+
avatar?: Contact.Avatar | null;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* The name of the browser which the contact is using.
|
|
518
|
+
*/
|
|
519
|
+
browser?: string | null;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* The language set by the browser which the contact is using.
|
|
523
|
+
*/
|
|
524
|
+
browser_language?: string | null;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* The version of the browser which the contact is using.
|
|
528
|
+
*/
|
|
529
|
+
browser_version?: string | null;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* An object containing companies meta data about the companies that a contact has.
|
|
533
|
+
* Up to 10 will be displayed here. Use the url to get more.
|
|
534
|
+
*/
|
|
535
|
+
companies?: Contact.Companies;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* (UNIX timestamp) The time when the contact was created.
|
|
539
|
+
*/
|
|
540
|
+
created_at?: number;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* The custom attributes which are set for the contact.
|
|
544
|
+
*/
|
|
545
|
+
custom_attributes?: unknown;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* The contact's email.
|
|
549
|
+
*/
|
|
550
|
+
email?: string;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* The contact's email domain.
|
|
554
|
+
*/
|
|
555
|
+
email_domain?: string;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* The unique identifier for the contact which is provided by the Client.
|
|
559
|
+
*/
|
|
560
|
+
external_id?: string | null;
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* The contacts phone number normalized to the E164 format
|
|
564
|
+
*/
|
|
565
|
+
formatted_phone?: string | null;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Whether the contact has had an email sent to them hard bounce.
|
|
569
|
+
*/
|
|
570
|
+
has_hard_bounced?: boolean;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* The name of the iOS app which the contact is using.
|
|
574
|
+
*/
|
|
575
|
+
ios_app_name?: string | null;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* The version of the iOS app which the contact is using.
|
|
579
|
+
*/
|
|
580
|
+
ios_app_version?: string | null;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* The iOS device which the contact is using.
|
|
584
|
+
*/
|
|
585
|
+
ios_device?: string | null;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* (UNIX timestamp) The last time the contact used the iOS app.
|
|
589
|
+
*/
|
|
590
|
+
ios_last_seen_at?: number | null;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* The version of iOS which the contact is using.
|
|
594
|
+
*/
|
|
595
|
+
ios_os_version?: string | null;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* The version of the iOS SDK which the contact is using.
|
|
599
|
+
*/
|
|
600
|
+
ios_sdk_version?: string | null;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* A preferred language setting for the contact, used by the Intercom Messenger
|
|
604
|
+
* even if their browser settings change.
|
|
605
|
+
*/
|
|
606
|
+
language_override?: string | null;
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* (UNIX timestamp) The time when the contact was last messaged.
|
|
610
|
+
*/
|
|
611
|
+
last_contacted_at?: number | null;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* (UNIX timestamp) The time when the contact last clicked a link in an email.
|
|
615
|
+
*/
|
|
616
|
+
last_email_clicked_at?: number | null;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* (UNIX timestamp) The time when the contact last opened an email.
|
|
620
|
+
*/
|
|
621
|
+
last_email_opened_at?: number | null;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* (UNIX timestamp) The time when the contact last messaged in.
|
|
625
|
+
*/
|
|
626
|
+
last_replied_at?: number | null;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* (UNIX timestamp) The time when the contact was last seen (either where the
|
|
630
|
+
* Intercom Messenger was installed or when specified manually).
|
|
631
|
+
*/
|
|
632
|
+
last_seen_at?: number | null;
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* An object containing location meta data about a Intercom contact.
|
|
636
|
+
*/
|
|
637
|
+
location?: Contact.Location;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Whether the contact has marked an email sent to them as spam.
|
|
641
|
+
*/
|
|
642
|
+
marked_email_as_spam?: boolean;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* The contacts name.
|
|
646
|
+
*/
|
|
647
|
+
name?: string | null;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* An object containing notes meta data about the notes that a contact has. Up to
|
|
651
|
+
* 10 will be displayed here. Use the url to get more.
|
|
652
|
+
*/
|
|
653
|
+
notes?: Contact.Notes;
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* The operating system which the contact is using.
|
|
657
|
+
*/
|
|
658
|
+
os?: string | null;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* The id of an admin that has been assigned account ownership of the contact.
|
|
662
|
+
*/
|
|
663
|
+
owner_id?: number | null;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* The contacts phone.
|
|
667
|
+
*/
|
|
668
|
+
phone?: string | null;
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* The role of the contact.
|
|
672
|
+
*/
|
|
673
|
+
role?: string;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* (UNIX timestamp) The time specified for when a contact signed up.
|
|
677
|
+
*/
|
|
678
|
+
signed_up_at?: number | null;
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* An object containing social profiles that a contact has.
|
|
682
|
+
*/
|
|
683
|
+
social_profiles?: Contact.SocialProfiles;
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* An object containing tags meta data about the tags that a contact has. Up to 10
|
|
687
|
+
* will be displayed here. Use the url to get more.
|
|
688
|
+
*/
|
|
689
|
+
tags?: Contact.Tags | null;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* The type of object.
|
|
693
|
+
*/
|
|
694
|
+
type?: string;
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Whether the contact is unsubscribed from emails.
|
|
698
|
+
*/
|
|
699
|
+
unsubscribed_from_emails?: boolean;
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* (UNIX timestamp) The time when the contact was last updated.
|
|
703
|
+
*/
|
|
704
|
+
updated_at?: number;
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* The id of the workspace which the contact belongs to.
|
|
708
|
+
*/
|
|
709
|
+
workspace_id?: string;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
export namespace Contact {
|
|
713
|
+
export interface Avatar {
|
|
714
|
+
/**
|
|
715
|
+
* An image URL containing the avatar of a contact.
|
|
716
|
+
*/
|
|
717
|
+
image_url?: string | null;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* The type of object
|
|
721
|
+
*/
|
|
722
|
+
type?: string;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* An object containing companies meta data about the companies that a contact has.
|
|
727
|
+
* Up to 10 will be displayed here. Use the url to get more.
|
|
728
|
+
*/
|
|
729
|
+
export interface Companies {
|
|
730
|
+
/**
|
|
731
|
+
* Whether there's more Addressable Objects to be viewed. If true, use the url to
|
|
732
|
+
* view all
|
|
733
|
+
*/
|
|
734
|
+
has_more?: boolean;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Int representing the total number of companyies attached to this contact
|
|
738
|
+
*/
|
|
739
|
+
total_count?: number;
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Url to get more company resources for this contact
|
|
743
|
+
*/
|
|
744
|
+
url?: string;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* An object containing location meta data about a Intercom contact.
|
|
749
|
+
*/
|
|
750
|
+
export interface Location {
|
|
751
|
+
/**
|
|
752
|
+
* The city that the contact is located in
|
|
753
|
+
*/
|
|
754
|
+
city?: string | null;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* The country that the contact is located in
|
|
758
|
+
*/
|
|
759
|
+
country?: string | null;
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* The overal region that the contact is located in
|
|
763
|
+
*/
|
|
764
|
+
region?: string | null;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Always location
|
|
768
|
+
*/
|
|
769
|
+
type?: string | null;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* An object containing notes meta data about the notes that a contact has. Up to
|
|
774
|
+
* 10 will be displayed here. Use the url to get more.
|
|
775
|
+
*/
|
|
776
|
+
export interface Notes {
|
|
777
|
+
/**
|
|
778
|
+
* This object represents the notes attached to a contact.
|
|
779
|
+
*/
|
|
780
|
+
data?: Array<Notes.Data>;
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* Whether there's more Addressable Objects to be viewed. If true, use the url to
|
|
784
|
+
* view all
|
|
785
|
+
*/
|
|
786
|
+
has_more?: boolean;
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Int representing the total number of companyies attached to this contact
|
|
790
|
+
*/
|
|
791
|
+
total_count?: number;
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Url to get more company resources for this contact
|
|
795
|
+
*/
|
|
796
|
+
url?: string;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export namespace Notes {
|
|
800
|
+
/**
|
|
801
|
+
* A list used to access other resources from a parent model.
|
|
802
|
+
*/
|
|
803
|
+
export interface Data {
|
|
804
|
+
/**
|
|
805
|
+
* The id of the addressable object
|
|
806
|
+
*/
|
|
807
|
+
id?: string;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* The addressable object type
|
|
811
|
+
*/
|
|
812
|
+
type?: string;
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Url to get more company resources for this contact
|
|
816
|
+
*/
|
|
817
|
+
url?: string;
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* An object containing social profiles that a contact has.
|
|
823
|
+
*/
|
|
824
|
+
export interface SocialProfiles {
|
|
825
|
+
/**
|
|
826
|
+
* A list of social profiles objects associated with the contact.
|
|
827
|
+
*/
|
|
828
|
+
data?: Array<SocialProfiles.Data>;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
export namespace SocialProfiles {
|
|
832
|
+
/**
|
|
833
|
+
* A Social Profile allows you to label your contacts, companies, and conversations
|
|
834
|
+
* and list them using that Social Profile.
|
|
835
|
+
*/
|
|
836
|
+
export interface Data {
|
|
837
|
+
/**
|
|
838
|
+
* The name of the Social media profile
|
|
839
|
+
*/
|
|
840
|
+
name?: string;
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* value is "social_profile"
|
|
844
|
+
*/
|
|
845
|
+
type?: string;
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* The name of the Social media profile
|
|
849
|
+
*/
|
|
850
|
+
url?: string;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* An object containing tags meta data about the tags that a contact has. Up to 10
|
|
856
|
+
* will be displayed here. Use the url to get more.
|
|
857
|
+
*/
|
|
858
|
+
export interface Tags {
|
|
859
|
+
/**
|
|
860
|
+
* This object represents the tags attached to a contact.
|
|
861
|
+
*/
|
|
862
|
+
data?: Array<Tags.Data>;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Whether there's more Addressable Objects to be viewed. If true, use the url to
|
|
866
|
+
* view all
|
|
867
|
+
*/
|
|
868
|
+
has_more?: boolean;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Int representing the total number of tags attached to this contact
|
|
872
|
+
*/
|
|
873
|
+
total_count?: number;
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* url to get more tag resources for this contact
|
|
877
|
+
*/
|
|
878
|
+
url?: string;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
export namespace Tags {
|
|
882
|
+
/**
|
|
883
|
+
* A list used to access other resources from a parent model.
|
|
884
|
+
*/
|
|
885
|
+
export interface Data {
|
|
886
|
+
/**
|
|
887
|
+
* The id of the addressable object
|
|
888
|
+
*/
|
|
889
|
+
id?: string;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* The addressable object type
|
|
893
|
+
*/
|
|
894
|
+
type?: string;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Url to get more company resources for this contact
|
|
898
|
+
*/
|
|
899
|
+
url?: string;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* reference to contact object
|
|
906
|
+
*/
|
|
907
|
+
export interface ContactReference {
|
|
908
|
+
/**
|
|
909
|
+
* The unique identifier for the contact which is given by Intercom.
|
|
910
|
+
*/
|
|
911
|
+
id?: string;
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* The unique identifier for the contact which is provided by the Client.
|
|
915
|
+
*/
|
|
916
|
+
external_id?: string | null;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* always contact
|
|
920
|
+
*/
|
|
921
|
+
type?: 'contact';
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Conversations are how you can communicate with users in Intercom. They are
|
|
926
|
+
* created when a contact replies to an outbound message, or when one admin
|
|
927
|
+
* directly sends a message to a single contact.
|
|
928
|
+
*/
|
|
929
|
+
export interface Conversation {
|
|
930
|
+
/**
|
|
931
|
+
* The id representing the conversation.
|
|
932
|
+
*/
|
|
933
|
+
id?: string;
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* The id of the admin assigned to the conversation. If it's not assigned to an
|
|
937
|
+
* admin it will return null.
|
|
938
|
+
*/
|
|
939
|
+
admin_assignee_id?: number | null;
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Data related to AI Agent involvement in the conversation.
|
|
943
|
+
*/
|
|
944
|
+
ai_agent?: Conversation.AIAgent | null;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Indicates whether the AI Agent participated in the conversation.
|
|
948
|
+
*/
|
|
949
|
+
ai_agent_participated?: boolean;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* The list of contacts (users or leads) involved in this conversation. This will
|
|
953
|
+
* only contain one customer unless more were added via the group conversation
|
|
954
|
+
* feature.
|
|
955
|
+
*/
|
|
956
|
+
contacts?: Conversation.Contacts;
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* A list of Conversation Part objects for each part message in the conversation.
|
|
960
|
+
* This is only returned when Retrieving a Conversation, and ignored when Listing
|
|
961
|
+
* all Conversations. There is a limit of 500 parts.
|
|
962
|
+
*/
|
|
963
|
+
conversation_parts?: Conversation.ConversationParts;
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* The Conversation Rating object which contains information on the rating and/or
|
|
967
|
+
* remark added by a Contact and the Admin assigned to the conversation.
|
|
968
|
+
*/
|
|
969
|
+
conversation_rating?: Conversation.ConversationRating | null;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* The time the conversation was created.
|
|
973
|
+
*/
|
|
974
|
+
created_at?: number;
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* An object containing the different custom attributes associated to the
|
|
978
|
+
* conversation as key-value pairs. For relationship attributes the value will be a
|
|
979
|
+
* list of custom object instance models.
|
|
980
|
+
*/
|
|
981
|
+
custom_attributes?: Record<string, string | Conversation.CustomObjectInstance | null>;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* An object containing information on the first users message. For a contact
|
|
985
|
+
* initiated message this will represent the users original message.
|
|
986
|
+
*/
|
|
987
|
+
first_contact_reply?: Conversation.FirstContactReply | null;
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* An object containing metadata about linked conversations and linked tickets. Up
|
|
991
|
+
* to 1000 can be returned.
|
|
992
|
+
*/
|
|
993
|
+
linked_objects?: Conversation.LinkedObjects;
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Indicates whether a conversation is open (true) or closed (false).
|
|
997
|
+
*/
|
|
998
|
+
open?: boolean;
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* If marked as priority, it will return priority or else not_priority.
|
|
1002
|
+
*/
|
|
1003
|
+
priority?: 'priority' | 'not_priority';
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Indicates whether a conversation has been read.
|
|
1007
|
+
*/
|
|
1008
|
+
read?: boolean;
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* The SLA Applied object contains the details for which SLA has been applied to
|
|
1012
|
+
* this conversation. Important: if there are any canceled sla_events for the
|
|
1013
|
+
* conversation - meaning an SLA has been manually removed from a conversation, the
|
|
1014
|
+
* sla_status will always be returned as null.
|
|
1015
|
+
*/
|
|
1016
|
+
sla_applied?: Conversation.SlaApplied | null;
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* If set this is the time in the future when this conversation will be marked as
|
|
1020
|
+
* open. i.e. it will be in a snoozed state until this time. i.e. it will be in a
|
|
1021
|
+
* snoozed state until this time.
|
|
1022
|
+
*/
|
|
1023
|
+
snoozed_until?: number | null;
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* The Conversation Part that originated this conversation, which can be Contact,
|
|
1027
|
+
* Admin, Campaign, Automated or Operator initiated.
|
|
1028
|
+
*/
|
|
1029
|
+
source?: Conversation.Source;
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* Can be set to "open", "closed" or "snoozed".
|
|
1033
|
+
*/
|
|
1034
|
+
state?: 'open' | 'closed' | 'snoozed';
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* A Statistics object containing all information required for reporting, with
|
|
1038
|
+
* timestamps and calculated metrics.
|
|
1039
|
+
*/
|
|
1040
|
+
statistics?: Conversation.Statistics | null;
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* A list of tags objects associated with a conversation
|
|
1044
|
+
*/
|
|
1045
|
+
tags?: Conversation.Tags;
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* The id of the team assigned to the conversation. If it's not assigned to a team
|
|
1049
|
+
* it will return null.
|
|
1050
|
+
*/
|
|
1051
|
+
team_assignee_id?: string | null;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* The list of teammates who participated in the conversation (wrote at least one
|
|
1055
|
+
* conversation part).
|
|
1056
|
+
*/
|
|
1057
|
+
teammates?: Conversation.Teammates | null;
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* The title given to the conversation.
|
|
1061
|
+
*/
|
|
1062
|
+
title?: string | null;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Always conversation.
|
|
1066
|
+
*/
|
|
1067
|
+
type?: string;
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* The last time the conversation was updated.
|
|
1071
|
+
*/
|
|
1072
|
+
updated_at?: number;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* The last time a Contact responded to an Admin. In other words, the time a
|
|
1076
|
+
* customer started waiting for a response. Set to null if last reply is from an
|
|
1077
|
+
* Admin.
|
|
1078
|
+
*/
|
|
1079
|
+
waiting_since?: number | null;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
export namespace Conversation {
|
|
1083
|
+
/**
|
|
1084
|
+
* Data related to AI Agent involvement in the conversation.
|
|
1085
|
+
*/
|
|
1086
|
+
export interface AIAgent {
|
|
1087
|
+
content_sources?: AIAgent.ContentSources;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* The type of the last answer delviered by AI Agent. If no answer was delivered
|
|
1091
|
+
* then this will return null
|
|
1092
|
+
*/
|
|
1093
|
+
last_answer_type?: 'ai_answer' | 'custom_answer' | null;
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* The customer satisfaction rating given to AI Agent, from 1-5.
|
|
1097
|
+
*/
|
|
1098
|
+
rating?: number;
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* The customer satisfaction rating remark given to AI Agent.
|
|
1102
|
+
*/
|
|
1103
|
+
rating_remark?: string;
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* The resolution state of AI Agent. If no AI or custom answer has been delivered
|
|
1107
|
+
* then this will return `abandoned`.
|
|
1108
|
+
*/
|
|
1109
|
+
resolution_state?: 'assumed_resolution' | 'confirmed_resolution' | 'routed_to_team' | 'abandoned';
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* The title of the source that triggered AI Agent involvement in the conversation.
|
|
1113
|
+
* If this is `essentials_plan_setup` then it will return null.
|
|
1114
|
+
*/
|
|
1115
|
+
source_title?: string | null;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* The type of the source that triggered AI Agent involvement in the conversation.
|
|
1119
|
+
*/
|
|
1120
|
+
source_type?: 'essentials_plan_setup' | 'profile' | 'workflow' | 'workflow_preview' | 'fin_preview';
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
export namespace AIAgent {
|
|
1124
|
+
export interface ContentSources {
|
|
1125
|
+
/**
|
|
1126
|
+
* The content sources used by AI Agent in the conversation.
|
|
1127
|
+
*/
|
|
1128
|
+
content_sources?: Array<ContentSources.ContentSource>;
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* The total number of content sources used by AI Agent in the conversation.
|
|
1132
|
+
*/
|
|
1133
|
+
total_count?: number;
|
|
1134
|
+
|
|
1135
|
+
type?: 'content_source.list';
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
export namespace ContentSources {
|
|
1139
|
+
/**
|
|
1140
|
+
* The content source used by AI Agent in the conversation.
|
|
1141
|
+
*/
|
|
1142
|
+
export interface ContentSource {
|
|
1143
|
+
/**
|
|
1144
|
+
* The type of the content source.
|
|
1145
|
+
*/
|
|
1146
|
+
content_type?:
|
|
1147
|
+
| 'file'
|
|
1148
|
+
| 'article'
|
|
1149
|
+
| 'external_content'
|
|
1150
|
+
| 'content_snippet'
|
|
1151
|
+
| 'workflow_connector_action';
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* The ISO 639 language code of the content source.
|
|
1155
|
+
*/
|
|
1156
|
+
locale?: string;
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* The title of the content source.
|
|
1160
|
+
*/
|
|
1161
|
+
title?: string;
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* The internal URL linking to the content source for teammates.
|
|
1165
|
+
*/
|
|
1166
|
+
url?: string;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* The list of contacts (users or leads) involved in this conversation. This will
|
|
1173
|
+
* only contain one customer unless more were added via the group conversation
|
|
1174
|
+
* feature.
|
|
1175
|
+
*/
|
|
1176
|
+
export interface Contacts {
|
|
1177
|
+
/**
|
|
1178
|
+
* The list of contacts (users or leads) involved in this conversation. This will
|
|
1179
|
+
* only contain one customer unless more were added via the group conversation
|
|
1180
|
+
* feature.
|
|
1181
|
+
*/
|
|
1182
|
+
contacts?: Array<Shared.ContactReference>;
|
|
1183
|
+
|
|
1184
|
+
type?: 'contact.list';
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* A list of Conversation Part objects for each part message in the conversation.
|
|
1189
|
+
* This is only returned when Retrieving a Conversation, and ignored when Listing
|
|
1190
|
+
* all Conversations. There is a limit of 500 parts.
|
|
1191
|
+
*/
|
|
1192
|
+
export interface ConversationParts {
|
|
1193
|
+
/**
|
|
1194
|
+
* A list of Conversation Part objects for each part message in the conversation.
|
|
1195
|
+
* This is only returned when Retrieving a Conversation, and ignored when Listing
|
|
1196
|
+
* all Conversations. There is a limit of 500 parts.
|
|
1197
|
+
*/
|
|
1198
|
+
conversation_parts?: Array<ConversationParts.ConversationPart>;
|
|
1199
|
+
|
|
1200
|
+
total_count?: number;
|
|
1201
|
+
|
|
1202
|
+
type?: 'conversation_part.list';
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export namespace ConversationParts {
|
|
1206
|
+
/**
|
|
1207
|
+
* A Conversation Part represents a message in the conversation.
|
|
1208
|
+
*/
|
|
1209
|
+
export interface ConversationPart {
|
|
1210
|
+
/**
|
|
1211
|
+
* The id representing the conversation part.
|
|
1212
|
+
*/
|
|
1213
|
+
id?: string;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* The id of the admin that was assigned the conversation by this conversation_part
|
|
1217
|
+
* (null if there has been no change in assignment.)
|
|
1218
|
+
*/
|
|
1219
|
+
assigned_to?: Shared.Reference | null;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* A list of attachments for the part.
|
|
1223
|
+
*/
|
|
1224
|
+
attachments?: Array<Shared.PartAttachment>;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* The object who initiated the conversation, which can be a Contact, Admin or
|
|
1228
|
+
* Team. Bots and campaigns send messages on behalf of Admins or Teams. For
|
|
1229
|
+
* Twitter, this will be blank.
|
|
1230
|
+
*/
|
|
1231
|
+
author?: ConversationPart.Author;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* The message body, which may contain HTML. For Twitter, this will show a generic
|
|
1235
|
+
* message regarding why the body is obscured.
|
|
1236
|
+
*/
|
|
1237
|
+
body?: string | null;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* The time the conversation part was created.
|
|
1241
|
+
*/
|
|
1242
|
+
created_at?: number;
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* The external id of the conversation part
|
|
1246
|
+
*/
|
|
1247
|
+
external_id?: string | null;
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* The time the user was notified with the conversation part.
|
|
1251
|
+
*/
|
|
1252
|
+
notified_at?: number;
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* The type of conversation part.
|
|
1256
|
+
*/
|
|
1257
|
+
part_type?: string;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Whether or not the conversation part has been redacted.
|
|
1261
|
+
*/
|
|
1262
|
+
redacted?: boolean;
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Always conversation_part
|
|
1266
|
+
*/
|
|
1267
|
+
type?: string;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* The last time the conversation part was updated.
|
|
1271
|
+
*/
|
|
1272
|
+
updated_at?: number;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
export namespace ConversationPart {
|
|
1276
|
+
/**
|
|
1277
|
+
* The object who initiated the conversation, which can be a Contact, Admin or
|
|
1278
|
+
* Team. Bots and campaigns send messages on behalf of Admins or Teams. For
|
|
1279
|
+
* Twitter, this will be blank.
|
|
1280
|
+
*/
|
|
1281
|
+
export interface Author {
|
|
1282
|
+
/**
|
|
1283
|
+
* The id of the author
|
|
1284
|
+
*/
|
|
1285
|
+
id?: string;
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* The email of the author
|
|
1289
|
+
*/
|
|
1290
|
+
email?: string;
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* The name of the author
|
|
1294
|
+
*/
|
|
1295
|
+
name?: string;
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* The type of the author
|
|
1299
|
+
*/
|
|
1300
|
+
type?: string;
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* The Conversation Rating object which contains information on the rating and/or
|
|
1307
|
+
* remark added by a Contact and the Admin assigned to the conversation.
|
|
1308
|
+
*/
|
|
1309
|
+
export interface ConversationRating {
|
|
1310
|
+
/**
|
|
1311
|
+
* reference to contact object
|
|
1312
|
+
*/
|
|
1313
|
+
contact?: Shared.ContactReference;
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* The time the rating was requested in the conversation being rated.
|
|
1317
|
+
*/
|
|
1318
|
+
created_at?: number;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* The rating, between 1 and 5, for the conversation.
|
|
1322
|
+
*/
|
|
1323
|
+
rating?: number;
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* An optional field to add a remark to correspond to the number rating
|
|
1327
|
+
*/
|
|
1328
|
+
remark?: string;
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* reference to another object
|
|
1332
|
+
*/
|
|
1333
|
+
teammate?: Shared.Reference;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* A Custom Object Instance represents an instance of a custom object type. This
|
|
1338
|
+
* allows you to create and set custom attributes to store data about your
|
|
1339
|
+
* customers that is not already captured by Intercom. The parent object includes
|
|
1340
|
+
* recommended default attributes and you can add your own custom attributes.
|
|
1341
|
+
*/
|
|
1342
|
+
export interface CustomObjectInstance {
|
|
1343
|
+
/**
|
|
1344
|
+
* The Intercom defined id representing the custom object instance.
|
|
1345
|
+
*/
|
|
1346
|
+
id?: string;
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* The custom attributes you have set on the custom object instance.
|
|
1350
|
+
*/
|
|
1351
|
+
custom_attributes?: Record<string, string>;
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* The id you have defined for the custom object instance.
|
|
1355
|
+
*/
|
|
1356
|
+
external_id?: string;
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* The identifier of the custom object type that defines the structure of the
|
|
1360
|
+
* custom object instance.
|
|
1361
|
+
*/
|
|
1362
|
+
type?: string;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* An object containing information on the first users message. For a contact
|
|
1367
|
+
* initiated message this will represent the users original message.
|
|
1368
|
+
*/
|
|
1369
|
+
export interface FirstContactReply {
|
|
1370
|
+
created_at?: number;
|
|
1371
|
+
|
|
1372
|
+
type?: string;
|
|
1373
|
+
|
|
1374
|
+
url?: string | null;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* An object containing metadata about linked conversations and linked tickets. Up
|
|
1379
|
+
* to 1000 can be returned.
|
|
1380
|
+
*/
|
|
1381
|
+
export interface LinkedObjects {
|
|
1382
|
+
/**
|
|
1383
|
+
* An array containing the linked conversations and linked tickets.
|
|
1384
|
+
*/
|
|
1385
|
+
data?: Array<LinkedObjects.Data>;
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Whether or not there are more linked objects than returned.
|
|
1389
|
+
*/
|
|
1390
|
+
has_more?: boolean;
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* The total number of linked objects.
|
|
1394
|
+
*/
|
|
1395
|
+
total_count?: number;
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Always list.
|
|
1399
|
+
*/
|
|
1400
|
+
type?: 'list';
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
export namespace LinkedObjects {
|
|
1404
|
+
/**
|
|
1405
|
+
* A linked conversation or ticket.
|
|
1406
|
+
*/
|
|
1407
|
+
export interface Data {
|
|
1408
|
+
/**
|
|
1409
|
+
* The ID of the linked object
|
|
1410
|
+
*/
|
|
1411
|
+
id?: string;
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* Category of the Linked Ticket Object.
|
|
1415
|
+
*/
|
|
1416
|
+
category?: 'Customer' | 'Back-office' | 'Tracker' | null;
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* ticket or conversation
|
|
1420
|
+
*/
|
|
1421
|
+
type?: 'ticket' | 'conversation';
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* The SLA Applied object contains the details for which SLA has been applied to
|
|
1427
|
+
* this conversation. Important: if there are any canceled sla_events for the
|
|
1428
|
+
* conversation - meaning an SLA has been manually removed from a conversation, the
|
|
1429
|
+
* sla_status will always be returned as null.
|
|
1430
|
+
*/
|
|
1431
|
+
export interface SlaApplied {
|
|
1432
|
+
/**
|
|
1433
|
+
* The name of the SLA as given by the teammate when it was created.
|
|
1434
|
+
*/
|
|
1435
|
+
sla_name?: string;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* SLA statuses: - `hit`: If there’s at least one hit event in the underlying
|
|
1439
|
+
* sla_events table, and no “missed” or “canceled” events for the conversation. -
|
|
1440
|
+
* `missed`: If there are any missed sla_events for the conversation and no
|
|
1441
|
+
* canceled events. If there’s even a single missed sla event, the status will
|
|
1442
|
+
* always be missed. A missed status is not applied when the SLA expires, only the
|
|
1443
|
+
* next time a teammate replies. - `active`: An SLA has been applied to a
|
|
1444
|
+
* conversation, but has not yet been fulfilled. SLA status is active only if there
|
|
1445
|
+
* are no “hit, “missed”, or “canceled” events.
|
|
1446
|
+
*/
|
|
1447
|
+
sla_status?: 'hit' | 'missed' | 'cancelled' | 'active';
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* object type
|
|
1451
|
+
*/
|
|
1452
|
+
type?: string;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* The Conversation Part that originated this conversation, which can be Contact,
|
|
1457
|
+
* Admin, Campaign, Automated or Operator initiated.
|
|
1458
|
+
*/
|
|
1459
|
+
export interface Source {
|
|
1460
|
+
/**
|
|
1461
|
+
* The id representing the message.
|
|
1462
|
+
*/
|
|
1463
|
+
id?: string;
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* A list of attachments for the part.
|
|
1467
|
+
*/
|
|
1468
|
+
attachments?: Array<Shared.PartAttachment>;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* The object who initiated the conversation, which can be a Contact, Admin or
|
|
1472
|
+
* Team. Bots and campaigns send messages on behalf of Admins or Teams. For
|
|
1473
|
+
* Twitter, this will be blank.
|
|
1474
|
+
*/
|
|
1475
|
+
author?: Source.Author;
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* The message body, which may contain HTML. For Twitter, this will show a generic
|
|
1479
|
+
* message regarding why the body is obscured.
|
|
1480
|
+
*/
|
|
1481
|
+
body?: string;
|
|
1482
|
+
|
|
1483
|
+
/**
|
|
1484
|
+
* The conversation's initiation type. Possible values are customer_initiated,
|
|
1485
|
+
* campaigns_initiated (legacy campaigns), operator_initiated (Custom bot),
|
|
1486
|
+
* automated (Series and other outbounds with dynamic audience message) and
|
|
1487
|
+
* admin_initiated (fixed audience message, ticket initiated by an admin, group
|
|
1488
|
+
* email).
|
|
1489
|
+
*/
|
|
1490
|
+
delivered_as?: string;
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* Whether or not the source message has been redacted. Only applicable for contact
|
|
1494
|
+
* initiated messages.
|
|
1495
|
+
*/
|
|
1496
|
+
redacted?: boolean;
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Optional. The message subject. For Twitter, this will show a generic message
|
|
1500
|
+
* regarding why the subject is obscured.
|
|
1501
|
+
*/
|
|
1502
|
+
subject?: string;
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* This includes conversation, email, facebook, instagram, phone_call,
|
|
1506
|
+
* phone_switch, push, sms, twitter and whatsapp.
|
|
1507
|
+
*/
|
|
1508
|
+
type?: string;
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* The URL where the conversation was started. For Twitter, Email, and Bots, this
|
|
1512
|
+
* will be blank.
|
|
1513
|
+
*/
|
|
1514
|
+
url?: string | null;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
export namespace Source {
|
|
1518
|
+
/**
|
|
1519
|
+
* The object who initiated the conversation, which can be a Contact, Admin or
|
|
1520
|
+
* Team. Bots and campaigns send messages on behalf of Admins or Teams. For
|
|
1521
|
+
* Twitter, this will be blank.
|
|
1522
|
+
*/
|
|
1523
|
+
export interface Author {
|
|
1524
|
+
/**
|
|
1525
|
+
* The id of the author
|
|
1526
|
+
*/
|
|
1527
|
+
id?: string;
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* The email of the author
|
|
1531
|
+
*/
|
|
1532
|
+
email?: string;
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* The name of the author
|
|
1536
|
+
*/
|
|
1537
|
+
name?: string;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* The type of the author
|
|
1541
|
+
*/
|
|
1542
|
+
type?: string;
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* A Statistics object containing all information required for reporting, with
|
|
1548
|
+
* timestamps and calculated metrics.
|
|
1549
|
+
*/
|
|
1550
|
+
export interface Statistics {
|
|
1551
|
+
/**
|
|
1552
|
+
* Number of assignments after first_contact_reply_at.
|
|
1553
|
+
*/
|
|
1554
|
+
count_assignments?: number;
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* Total number of conversation parts.
|
|
1558
|
+
*/
|
|
1559
|
+
count_conversation_parts?: number;
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* Number of reopens after first_contact_reply_at.
|
|
1563
|
+
*/
|
|
1564
|
+
count_reopens?: number;
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* Time of first admin reply after first_contact_reply_at.
|
|
1568
|
+
*/
|
|
1569
|
+
first_admin_reply_at?: number;
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* Time of first assignment after first_contact_reply_at.
|
|
1573
|
+
*/
|
|
1574
|
+
first_assignment_at?: number;
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Time of first close after first_contact_reply_at.
|
|
1578
|
+
*/
|
|
1579
|
+
first_close_at?: number;
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* Time of first text conversation part from a contact.
|
|
1583
|
+
*/
|
|
1584
|
+
first_contact_reply_at?: number;
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Time of the last conversation part from an admin.
|
|
1588
|
+
*/
|
|
1589
|
+
last_admin_reply_at?: number;
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* Time of first admin reply since most recent assignment.
|
|
1593
|
+
*/
|
|
1594
|
+
last_assignment_admin_reply_at?: number;
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* Time of last assignment after first_contact_reply_at.
|
|
1598
|
+
*/
|
|
1599
|
+
last_assignment_at?: number;
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Time of the last conversation close.
|
|
1603
|
+
*/
|
|
1604
|
+
last_close_at?: number;
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* The last admin who closed the conversation. Returns a reference to an Admin
|
|
1608
|
+
* object.
|
|
1609
|
+
*/
|
|
1610
|
+
last_closed_by_id?: string;
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* Time of the last conversation part from a contact.
|
|
1614
|
+
*/
|
|
1615
|
+
last_contact_reply_at?: number;
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* Median based on all admin replies after a contact reply. Subtracts out of
|
|
1619
|
+
* business hours. In seconds.
|
|
1620
|
+
*/
|
|
1621
|
+
median_time_to_reply?: number;
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* Duration until first admin reply. Subtracts out of business hours. In seconds.
|
|
1625
|
+
*/
|
|
1626
|
+
time_to_admin_reply?: number;
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* Duration until last assignment before first admin reply. In seconds.
|
|
1630
|
+
*/
|
|
1631
|
+
time_to_assignment?: number;
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* Duration until conversation was closed first time. Subtracts out of business
|
|
1635
|
+
* hours. In seconds.
|
|
1636
|
+
*/
|
|
1637
|
+
time_to_first_close?: number;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Duration until conversation was closed last time. Subtracts out of business
|
|
1641
|
+
* hours. In seconds.
|
|
1642
|
+
*/
|
|
1643
|
+
time_to_last_close?: number;
|
|
1644
|
+
|
|
1645
|
+
type?: string;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* A list of tags objects associated with a conversation
|
|
1650
|
+
*/
|
|
1651
|
+
export interface Tags {
|
|
1652
|
+
/**
|
|
1653
|
+
* A list of tags objects associated with the conversation.
|
|
1654
|
+
*/
|
|
1655
|
+
tags?: Array<Shared.Tag>;
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* The type of the object
|
|
1659
|
+
*/
|
|
1660
|
+
type?: 'tag.list';
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* The list of teammates who participated in the conversation (wrote at least one
|
|
1665
|
+
* conversation part).
|
|
1666
|
+
*/
|
|
1667
|
+
export interface Teammates {
|
|
1668
|
+
/**
|
|
1669
|
+
* The list of teammates who participated in the conversation (wrote at least one
|
|
1670
|
+
* conversation part).
|
|
1671
|
+
*/
|
|
1672
|
+
teammates?: Array<Shared.Reference>;
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* The type of the object - `admin.list`.
|
|
1676
|
+
*/
|
|
1677
|
+
type?: string;
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* Cursor-based pagination is a technique used in the Intercom API to navigate
|
|
1683
|
+
* through large amounts of data. A "cursor" or pointer is used to keep track of
|
|
1684
|
+
* the current position in the result set, allowing the API to return the data in
|
|
1685
|
+
* small chunks or "pages" as needed.
|
|
1686
|
+
*/
|
|
1687
|
+
export interface CursorPages {
|
|
1688
|
+
next?: StartingAfterPaging | null;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* The current page
|
|
1692
|
+
*/
|
|
1693
|
+
page?: number;
|
|
1694
|
+
|
|
1695
|
+
/**
|
|
1696
|
+
* Number of results per page
|
|
1697
|
+
*/
|
|
1698
|
+
per_page?: number;
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* Total number of pages
|
|
1702
|
+
*/
|
|
1703
|
+
total_pages?: number;
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* the type of object `pages`.
|
|
1707
|
+
*/
|
|
1708
|
+
type?: 'pages';
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* The Content of a Group.
|
|
1713
|
+
*/
|
|
1714
|
+
export interface GroupContent {
|
|
1715
|
+
/**
|
|
1716
|
+
* The description of the collection. Only available for collections.
|
|
1717
|
+
*/
|
|
1718
|
+
description?: string;
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* The name of the collection or section.
|
|
1722
|
+
*/
|
|
1723
|
+
name?: string;
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* The type of object - `group_content` .
|
|
1727
|
+
*/
|
|
1728
|
+
type?: 'group_content' | null;
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* The Translated Content of an Group. The keys are the locale codes and the values
|
|
1733
|
+
* are the translated content of the Group.
|
|
1734
|
+
*/
|
|
1735
|
+
export interface GroupTranslatedContent {
|
|
1736
|
+
/**
|
|
1737
|
+
* The content of the group in Indonesian
|
|
1738
|
+
*/
|
|
1739
|
+
id?: GroupContent | null;
|
|
1740
|
+
|
|
1741
|
+
/**
|
|
1742
|
+
* The content of the group in Arabic
|
|
1743
|
+
*/
|
|
1744
|
+
ar?: GroupContent | null;
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* The content of the group in Bulgarian
|
|
1748
|
+
*/
|
|
1749
|
+
bg?: GroupContent | null;
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* The content of the group in Bosnian
|
|
1753
|
+
*/
|
|
1754
|
+
bs?: GroupContent | null;
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* The content of the group in Catalan
|
|
1758
|
+
*/
|
|
1759
|
+
ca?: GroupContent | null;
|
|
1760
|
+
|
|
1761
|
+
/**
|
|
1762
|
+
* The content of the group in Czech
|
|
1763
|
+
*/
|
|
1764
|
+
cs?: GroupContent | null;
|
|
1765
|
+
|
|
1766
|
+
/**
|
|
1767
|
+
* The content of the group in Danish
|
|
1768
|
+
*/
|
|
1769
|
+
da?: GroupContent | null;
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* The content of the group in German
|
|
1773
|
+
*/
|
|
1774
|
+
de?: GroupContent | null;
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* The content of the group in Greek
|
|
1778
|
+
*/
|
|
1779
|
+
el?: GroupContent | null;
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* The content of the group in English
|
|
1783
|
+
*/
|
|
1784
|
+
en?: GroupContent | null;
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* The content of the group in Spanish
|
|
1788
|
+
*/
|
|
1789
|
+
es?: GroupContent | null;
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* The content of the group in Estonian
|
|
1793
|
+
*/
|
|
1794
|
+
et?: GroupContent | null;
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* The content of the group in Finnish
|
|
1798
|
+
*/
|
|
1799
|
+
fi?: GroupContent | null;
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* The content of the group in French
|
|
1803
|
+
*/
|
|
1804
|
+
fr?: GroupContent | null;
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* The content of the group in Hebrew
|
|
1808
|
+
*/
|
|
1809
|
+
he?: GroupContent | null;
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* The content of the group in Croatian
|
|
1813
|
+
*/
|
|
1814
|
+
hr?: GroupContent | null;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* The content of the group in Hungarian
|
|
1818
|
+
*/
|
|
1819
|
+
hu?: GroupContent | null;
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* The content of the group in Italian
|
|
1823
|
+
*/
|
|
1824
|
+
it?: GroupContent | null;
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* The content of the group in Japanese
|
|
1828
|
+
*/
|
|
1829
|
+
ja?: GroupContent | null;
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* The content of the group in Korean
|
|
1833
|
+
*/
|
|
1834
|
+
ko?: GroupContent | null;
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* The content of the group in Lithuanian
|
|
1838
|
+
*/
|
|
1839
|
+
lt?: GroupContent | null;
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* The content of the group in Latvian
|
|
1843
|
+
*/
|
|
1844
|
+
lv?: GroupContent | null;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* The content of the group in Mongolian
|
|
1848
|
+
*/
|
|
1849
|
+
mn?: GroupContent | null;
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* The content of the group in Norwegian
|
|
1853
|
+
*/
|
|
1854
|
+
nb?: GroupContent | null;
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* The content of the group in Dutch
|
|
1858
|
+
*/
|
|
1859
|
+
nl?: GroupContent | null;
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* The content of the group in Polish
|
|
1863
|
+
*/
|
|
1864
|
+
pl?: GroupContent | null;
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* The content of the group in Portuguese (Portugal)
|
|
1868
|
+
*/
|
|
1869
|
+
pt?: GroupContent | null;
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* The content of the group in Portuguese (Brazil)
|
|
1873
|
+
*/
|
|
1874
|
+
'pt-BR'?: GroupContent | null;
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* The content of the group in Romanian
|
|
1878
|
+
*/
|
|
1879
|
+
ro?: GroupContent | null;
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* The content of the group in Russian
|
|
1883
|
+
*/
|
|
1884
|
+
ru?: GroupContent | null;
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* The content of the group in Slovenian
|
|
1888
|
+
*/
|
|
1889
|
+
sl?: GroupContent | null;
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
* The content of the group in Serbian
|
|
1893
|
+
*/
|
|
1894
|
+
sr?: GroupContent | null;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* The content of the group in Swedish
|
|
1898
|
+
*/
|
|
1899
|
+
sv?: GroupContent | null;
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* The content of the group in Turkish
|
|
1903
|
+
*/
|
|
1904
|
+
tr?: GroupContent | null;
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* The type of object - group_translated_content.
|
|
1908
|
+
*/
|
|
1909
|
+
type?: 'group_translated_content' | null;
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* The content of the group in Vietnamese
|
|
1913
|
+
*/
|
|
1914
|
+
vi?: GroupContent | null;
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* The content of the group in Chinese (China)
|
|
1918
|
+
*/
|
|
1919
|
+
'zh-CN'?: GroupContent | null;
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* The content of the group in Chinese (Taiwan)
|
|
1923
|
+
*/
|
|
1924
|
+
'zh-TW'?: GroupContent | null;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* Message are how you reach out to contacts in Intercom. They are created when an
|
|
1929
|
+
* admin sends an outbound message to a contact.
|
|
1930
|
+
*/
|
|
1931
|
+
export interface Message {
|
|
1932
|
+
/**
|
|
1933
|
+
* The id representing the message.
|
|
1934
|
+
*/
|
|
1935
|
+
id: string;
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* The message body, which may contain HTML.
|
|
1939
|
+
*/
|
|
1940
|
+
body: string;
|
|
1941
|
+
|
|
1942
|
+
/**
|
|
1943
|
+
* The time the conversation was created.
|
|
1944
|
+
*/
|
|
1945
|
+
created_at: number;
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* The type of message that was sent. Can be email, inapp, facebook or twitter.
|
|
1949
|
+
*/
|
|
1950
|
+
message_type: 'email' | 'inapp' | 'facebook' | 'twitter';
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* The type of the message
|
|
1954
|
+
*/
|
|
1955
|
+
type: string;
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* The associated conversation_id
|
|
1959
|
+
*/
|
|
1960
|
+
conversation_id?: string;
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* The subject of the message. Only present if message_type: email.
|
|
1964
|
+
*/
|
|
1965
|
+
subject?: string;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* Search using Intercoms Search APIs with more than one filter.
|
|
1970
|
+
*/
|
|
1971
|
+
export interface MultipleFilterSearchRequest {
|
|
1972
|
+
/**
|
|
1973
|
+
* An operator to allow boolean inspection between multiple fields.
|
|
1974
|
+
*/
|
|
1975
|
+
operator?: 'AND' | 'OR';
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Add mutiple filters.
|
|
1979
|
+
*/
|
|
1980
|
+
value?: Array<MultipleFilterSearchRequest> | Array<SingleFilterSearchRequest>;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Notes allow you to annotate and comment on your contacts.
|
|
1985
|
+
*/
|
|
1986
|
+
export interface Note {
|
|
1987
|
+
/**
|
|
1988
|
+
* The id of the note.
|
|
1989
|
+
*/
|
|
1990
|
+
id?: string;
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* Optional. Represents the Admin that created the note.
|
|
1994
|
+
*/
|
|
1995
|
+
author?: Admin | null;
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* The body text of the note.
|
|
1999
|
+
*/
|
|
2000
|
+
body?: string;
|
|
2001
|
+
|
|
2002
|
+
/**
|
|
2003
|
+
* Represents the contact that the note was created about.
|
|
2004
|
+
*/
|
|
2005
|
+
contact?: Note.Contact | null;
|
|
2006
|
+
|
|
2007
|
+
/**
|
|
2008
|
+
* The time the note was created.
|
|
2009
|
+
*/
|
|
2010
|
+
created_at?: number;
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* String representing the object's type. Always has the value `note`.
|
|
2014
|
+
*/
|
|
2015
|
+
type?: string;
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
export namespace Note {
|
|
2019
|
+
/**
|
|
2020
|
+
* Represents the contact that the note was created about.
|
|
2021
|
+
*/
|
|
2022
|
+
export interface Contact {
|
|
2023
|
+
/**
|
|
2024
|
+
* The id of the contact.
|
|
2025
|
+
*/
|
|
2026
|
+
id?: string;
|
|
2027
|
+
|
|
2028
|
+
/**
|
|
2029
|
+
* String representing the object's type. Always has the value `contact`.
|
|
2030
|
+
*/
|
|
2031
|
+
type?: string;
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* The file attached to a part
|
|
2037
|
+
*/
|
|
2038
|
+
export interface PartAttachment {
|
|
2039
|
+
/**
|
|
2040
|
+
* The content type of the attachment
|
|
2041
|
+
*/
|
|
2042
|
+
content_type?: string;
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* The size of the attachment
|
|
2046
|
+
*/
|
|
2047
|
+
filesize?: number;
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* The height of the attachment
|
|
2051
|
+
*/
|
|
2052
|
+
height?: number;
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* The name of the attachment
|
|
2056
|
+
*/
|
|
2057
|
+
name?: string;
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* The type of attachment
|
|
2061
|
+
*/
|
|
2062
|
+
type?: string;
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* The URL of the attachment
|
|
2066
|
+
*/
|
|
2067
|
+
url?: string;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* The width of the attachment
|
|
2071
|
+
*/
|
|
2072
|
+
width?: number;
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* reference to another object
|
|
2077
|
+
*/
|
|
2078
|
+
export interface Reference {
|
|
2079
|
+
id?: string | null;
|
|
2080
|
+
|
|
2081
|
+
type?: string;
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* Search using Intercoms Search APIs.
|
|
2086
|
+
*/
|
|
2087
|
+
export interface SearchRequest {
|
|
2088
|
+
/**
|
|
2089
|
+
* Search using Intercoms Search APIs with a single filter.
|
|
2090
|
+
*/
|
|
2091
|
+
query: SingleFilterSearchRequest | MultipleFilterSearchRequest;
|
|
2092
|
+
|
|
2093
|
+
pagination?: StartingAfterPaging | null;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* Search using Intercoms Search APIs with a single filter.
|
|
2098
|
+
*/
|
|
2099
|
+
export interface SingleFilterSearchRequest {
|
|
2100
|
+
/**
|
|
2101
|
+
* The accepted field that you want to search on.
|
|
2102
|
+
*/
|
|
2103
|
+
field?: string;
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* The accepted operators you can use to define how you want to search for the
|
|
2107
|
+
* value.
|
|
2108
|
+
*/
|
|
2109
|
+
operator?: '=' | '!=' | 'IN' | 'NIN' | '<' | '>' | '~' | '!~' | '^' | '$';
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* The value that you want to search on.
|
|
2113
|
+
*/
|
|
2114
|
+
value?: string;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
export interface StartingAfterPaging {
|
|
2118
|
+
/**
|
|
2119
|
+
* The number of results to fetch per page.
|
|
2120
|
+
*/
|
|
2121
|
+
per_page?: number;
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* The cursor to use in the next request to get the next page of results.
|
|
2125
|
+
*/
|
|
2126
|
+
starting_after?: string | null;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* A list of subscription type objects.
|
|
2131
|
+
*/
|
|
2132
|
+
export interface SubscriptionTypeList {
|
|
2133
|
+
/**
|
|
2134
|
+
* A list of subscription type objects associated with the workspace .
|
|
2135
|
+
*/
|
|
2136
|
+
data?: Array<SubscriptionsAPI.SubscriptionType>;
|
|
2137
|
+
|
|
2138
|
+
/**
|
|
2139
|
+
* The type of the object
|
|
2140
|
+
*/
|
|
2141
|
+
type?: 'list';
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* A tag allows you to label your contacts, companies, and conversations and list
|
|
2146
|
+
* them using that tag.
|
|
2147
|
+
*/
|
|
2148
|
+
export interface Tag {
|
|
2149
|
+
/**
|
|
2150
|
+
* The id of the tag
|
|
2151
|
+
*/
|
|
2152
|
+
id?: string;
|
|
2153
|
+
|
|
2154
|
+
/**
|
|
2155
|
+
* The time when the tag was applied to the object
|
|
2156
|
+
*/
|
|
2157
|
+
applied_at?: number;
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* reference to another object
|
|
2161
|
+
*/
|
|
2162
|
+
applied_by?: Reference;
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* The name of the tag
|
|
2166
|
+
*/
|
|
2167
|
+
name?: string;
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* value is "tag"
|
|
2171
|
+
*/
|
|
2172
|
+
type?: string;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* A list of tags objects in the workspace.
|
|
2177
|
+
*/
|
|
2178
|
+
export interface TagList {
|
|
2179
|
+
/**
|
|
2180
|
+
* A list of tags objects associated with the workspace .
|
|
2181
|
+
*/
|
|
2182
|
+
data?: Array<Tag>;
|
|
2183
|
+
|
|
2184
|
+
/**
|
|
2185
|
+
* The type of the object
|
|
2186
|
+
*/
|
|
2187
|
+
type?: 'list';
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
/**
|
|
2191
|
+
* Tickets are how you track requests from your users.
|
|
2192
|
+
*/
|
|
2193
|
+
export interface Ticket {
|
|
2194
|
+
/**
|
|
2195
|
+
* The unique identifier for the ticket which is given by Intercom.
|
|
2196
|
+
*/
|
|
2197
|
+
id?: string;
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* The id representing the admin assigned to the ticket.
|
|
2201
|
+
*/
|
|
2202
|
+
admin_assignee_id?: string;
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* Category of the Ticket.
|
|
2206
|
+
*/
|
|
2207
|
+
category?: 'Customer' | 'Back-office' | 'Tracker';
|
|
2208
|
+
|
|
2209
|
+
/**
|
|
2210
|
+
* The list of contacts affected by a ticket.
|
|
2211
|
+
*/
|
|
2212
|
+
contacts?: Ticket.Contacts;
|
|
2213
|
+
|
|
2214
|
+
/**
|
|
2215
|
+
* The time the ticket was created as a UTC Unix timestamp.
|
|
2216
|
+
*/
|
|
2217
|
+
created_at?: number;
|
|
2218
|
+
|
|
2219
|
+
/**
|
|
2220
|
+
* Whether or not the ticket is shared with the customer.
|
|
2221
|
+
*/
|
|
2222
|
+
is_shared?: boolean;
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* An object containing metadata about linked conversations and linked tickets. Up
|
|
2226
|
+
* to 1000 can be returned.
|
|
2227
|
+
*/
|
|
2228
|
+
linked_objects?: Ticket.LinkedObjects;
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* Whether or not the ticket is open. If false, the ticket is closed.
|
|
2232
|
+
*/
|
|
2233
|
+
open?: boolean;
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* The time the ticket will be snoozed until as a UTC Unix timestamp. If null, the
|
|
2237
|
+
* ticket is not currently snoozed.
|
|
2238
|
+
*/
|
|
2239
|
+
snoozed_until?: number;
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* The id representing the team assigned to the ticket.
|
|
2243
|
+
*/
|
|
2244
|
+
team_assignee_id?: string;
|
|
2245
|
+
|
|
2246
|
+
/**
|
|
2247
|
+
* An object containing the different attributes associated to the ticket as
|
|
2248
|
+
* key-value pairs. For the default title and description attributes, the keys are
|
|
2249
|
+
* `_default_title_` and `_default_description_`.
|
|
2250
|
+
*/
|
|
2251
|
+
ticket_attributes?: Record<
|
|
2252
|
+
string,
|
|
2253
|
+
string | null | number | boolean | Array<unknown> | Ticket.FileAttribute
|
|
2254
|
+
>;
|
|
2255
|
+
|
|
2256
|
+
/**
|
|
2257
|
+
* The ID of the Ticket used in the Intercom Inbox and Messenger. Do not use
|
|
2258
|
+
* ticket_id for API queries.
|
|
2259
|
+
*/
|
|
2260
|
+
ticket_id?: string;
|
|
2261
|
+
|
|
2262
|
+
/**
|
|
2263
|
+
* A list of Ticket Part objects for each note and event in the ticket. There is a
|
|
2264
|
+
* limit of 500 parts.
|
|
2265
|
+
*/
|
|
2266
|
+
ticket_parts?: Ticket.TicketParts;
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* The state the ticket is currenly in
|
|
2270
|
+
*/
|
|
2271
|
+
ticket_state?: 'submitted' | 'in_progress' | 'waiting_on_customer' | 'resolved';
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* The state the ticket is currently in, in a human readable form - visible to
|
|
2275
|
+
* customers, in the messenger, email and tickets portal.
|
|
2276
|
+
*/
|
|
2277
|
+
ticket_state_external_label?: string;
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* The state the ticket is currently in, in a human readable form - visible in
|
|
2281
|
+
* Intercom
|
|
2282
|
+
*/
|
|
2283
|
+
ticket_state_internal_label?: string;
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* A ticket type, used to define the data fields to be captured in a ticket.
|
|
2287
|
+
*/
|
|
2288
|
+
ticket_type?: TicketTypesAPI.TicketType | null;
|
|
2289
|
+
|
|
2290
|
+
/**
|
|
2291
|
+
* Always ticket
|
|
2292
|
+
*/
|
|
2293
|
+
type?: 'ticket';
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* The last time the ticket was updated as a UTC Unix timestamp.
|
|
2297
|
+
*/
|
|
2298
|
+
updated_at?: number;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
export namespace Ticket {
|
|
2302
|
+
/**
|
|
2303
|
+
* The list of contacts affected by a ticket.
|
|
2304
|
+
*/
|
|
2305
|
+
export interface Contacts {
|
|
2306
|
+
/**
|
|
2307
|
+
* The list of contacts affected by this ticket.
|
|
2308
|
+
*/
|
|
2309
|
+
contacts?: Array<Shared.ContactReference>;
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* always contact.list
|
|
2313
|
+
*/
|
|
2314
|
+
type?: 'contact.list';
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
* An object containing metadata about linked conversations and linked tickets. Up
|
|
2319
|
+
* to 1000 can be returned.
|
|
2320
|
+
*/
|
|
2321
|
+
export interface LinkedObjects {
|
|
2322
|
+
/**
|
|
2323
|
+
* An array containing the linked conversations and linked tickets.
|
|
2324
|
+
*/
|
|
2325
|
+
data?: Array<LinkedObjects.Data>;
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* Whether or not there are more linked objects than returned.
|
|
2329
|
+
*/
|
|
2330
|
+
has_more?: boolean;
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* The total number of linked objects.
|
|
2334
|
+
*/
|
|
2335
|
+
total_count?: number;
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* Always list.
|
|
2339
|
+
*/
|
|
2340
|
+
type?: 'list';
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
export namespace LinkedObjects {
|
|
2344
|
+
/**
|
|
2345
|
+
* A linked conversation or ticket.
|
|
2346
|
+
*/
|
|
2347
|
+
export interface Data {
|
|
2348
|
+
/**
|
|
2349
|
+
* The ID of the linked object
|
|
2350
|
+
*/
|
|
2351
|
+
id?: string;
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* Category of the Linked Ticket Object.
|
|
2355
|
+
*/
|
|
2356
|
+
category?: 'Customer' | 'Back-office' | 'Tracker' | null;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* ticket or conversation
|
|
2360
|
+
*/
|
|
2361
|
+
type?: 'ticket' | 'conversation';
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
/**
|
|
2366
|
+
* The value describing a file upload set for a custom attribute
|
|
2367
|
+
*/
|
|
2368
|
+
export interface FileAttribute {
|
|
2369
|
+
/**
|
|
2370
|
+
* The type of file
|
|
2371
|
+
*/
|
|
2372
|
+
content_type?: string;
|
|
2373
|
+
|
|
2374
|
+
/**
|
|
2375
|
+
* The size of the file in bytes
|
|
2376
|
+
*/
|
|
2377
|
+
filesize?: number;
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* The height of the file in pixels, if applicable
|
|
2381
|
+
*/
|
|
2382
|
+
height?: number;
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* The name of the file
|
|
2386
|
+
*/
|
|
2387
|
+
name?: string;
|
|
2388
|
+
|
|
2389
|
+
type?: string;
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* The url of the file. This is a temporary URL and will expire after 30 minutes.
|
|
2393
|
+
*/
|
|
2394
|
+
url?: string;
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
* The width of the file in pixels, if applicable
|
|
2398
|
+
*/
|
|
2399
|
+
width?: number;
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
/**
|
|
2403
|
+
* A list of Ticket Part objects for each note and event in the ticket. There is a
|
|
2404
|
+
* limit of 500 parts.
|
|
2405
|
+
*/
|
|
2406
|
+
export interface TicketParts {
|
|
2407
|
+
/**
|
|
2408
|
+
* A list of Ticket Part objects for each ticket. There is a limit of 500 parts.
|
|
2409
|
+
*/
|
|
2410
|
+
ticket_parts?: Array<TicketParts.TicketPart>;
|
|
2411
|
+
|
|
2412
|
+
total_count?: number;
|
|
2413
|
+
|
|
2414
|
+
type?: 'ticket_part.list';
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
export namespace TicketParts {
|
|
2418
|
+
/**
|
|
2419
|
+
* A Ticket Part represents a message in the ticket.
|
|
2420
|
+
*/
|
|
2421
|
+
export interface TicketPart {
|
|
2422
|
+
/**
|
|
2423
|
+
* The id representing the ticket part.
|
|
2424
|
+
*/
|
|
2425
|
+
id?: string;
|
|
2426
|
+
|
|
2427
|
+
/**
|
|
2428
|
+
* The id of the admin that was assigned the ticket by this ticket_part (null if
|
|
2429
|
+
* there has been no change in assignment.)
|
|
2430
|
+
*/
|
|
2431
|
+
assigned_to?: Shared.Reference | null;
|
|
2432
|
+
|
|
2433
|
+
/**
|
|
2434
|
+
* A list of attachments for the part.
|
|
2435
|
+
*/
|
|
2436
|
+
attachments?: Array<Shared.PartAttachment>;
|
|
2437
|
+
|
|
2438
|
+
/**
|
|
2439
|
+
* The author that wrote or triggered the part. Can be a bot, admin, team or user.
|
|
2440
|
+
*/
|
|
2441
|
+
author?: TicketPart.Author;
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* The message body, which may contain HTML.
|
|
2445
|
+
*/
|
|
2446
|
+
body?: string | null;
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
* The time the ticket part was created.
|
|
2450
|
+
*/
|
|
2451
|
+
created_at?: number;
|
|
2452
|
+
|
|
2453
|
+
/**
|
|
2454
|
+
* The external id of the ticket part
|
|
2455
|
+
*/
|
|
2456
|
+
external_id?: string | null;
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* The type of ticket part.
|
|
2460
|
+
*/
|
|
2461
|
+
part_type?: string;
|
|
2462
|
+
|
|
2463
|
+
/**
|
|
2464
|
+
* The previous state of the ticket.
|
|
2465
|
+
*/
|
|
2466
|
+
previous_ticket_state?: 'submitted' | 'in_progress' | 'waiting_on_customer' | 'resolved';
|
|
2467
|
+
|
|
2468
|
+
/**
|
|
2469
|
+
* Whether or not the ticket part has been redacted.
|
|
2470
|
+
*/
|
|
2471
|
+
redacted?: boolean;
|
|
2472
|
+
|
|
2473
|
+
/**
|
|
2474
|
+
* The state of the ticket.
|
|
2475
|
+
*/
|
|
2476
|
+
ticket_state?: 'submitted' | 'in_progress' | 'waiting_on_customer' | 'resolved';
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* Always ticket_part
|
|
2480
|
+
*/
|
|
2481
|
+
type?: string;
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
* The last time the ticket part was updated.
|
|
2485
|
+
*/
|
|
2486
|
+
updated_at?: number;
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
export namespace TicketPart {
|
|
2490
|
+
/**
|
|
2491
|
+
* The author that wrote or triggered the part. Can be a bot, admin, team or user.
|
|
2492
|
+
*/
|
|
2493
|
+
export interface Author {
|
|
2494
|
+
/**
|
|
2495
|
+
* The id of the author
|
|
2496
|
+
*/
|
|
2497
|
+
id?: string;
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* The email of the author
|
|
2501
|
+
*/
|
|
2502
|
+
email?: string;
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
* The name of the author
|
|
2506
|
+
*/
|
|
2507
|
+
name?: string | null;
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* The type of the author
|
|
2511
|
+
*/
|
|
2512
|
+
type?: 'admin' | 'bot' | 'team' | 'user';
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Ticket type attribute, used to define each data field to be captured in a
|
|
2520
|
+
* ticket.
|
|
2521
|
+
*/
|
|
2522
|
+
export interface TicketTypeAttribute {
|
|
2523
|
+
/**
|
|
2524
|
+
* The id representing the ticket type attribute.
|
|
2525
|
+
*/
|
|
2526
|
+
id?: string;
|
|
2527
|
+
|
|
2528
|
+
/**
|
|
2529
|
+
* Whether the ticket type attribute is archived or not.
|
|
2530
|
+
*/
|
|
2531
|
+
archived?: boolean;
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* The date and time the ticket type attribute was created.
|
|
2535
|
+
*/
|
|
2536
|
+
created_at?: number;
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* The type of the data attribute (allowed values: "string list integer decimal
|
|
2540
|
+
* boolean datetime files")
|
|
2541
|
+
*/
|
|
2542
|
+
data_type?: string;
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* Whether the attribute is built in or not.
|
|
2546
|
+
*/
|
|
2547
|
+
default?: boolean;
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* The description of the ticket type attribute
|
|
2551
|
+
*/
|
|
2552
|
+
description?: string;
|
|
2553
|
+
|
|
2554
|
+
/**
|
|
2555
|
+
* Input options for the attribute
|
|
2556
|
+
*/
|
|
2557
|
+
input_options?: unknown;
|
|
2558
|
+
|
|
2559
|
+
/**
|
|
2560
|
+
* The name of the ticket type attribute
|
|
2561
|
+
*/
|
|
2562
|
+
name?: string;
|
|
2563
|
+
|
|
2564
|
+
/**
|
|
2565
|
+
* The order of the attribute against other attributes
|
|
2566
|
+
*/
|
|
2567
|
+
order?: number;
|
|
2568
|
+
|
|
2569
|
+
/**
|
|
2570
|
+
* Whether the attribute is required or not for teammates.
|
|
2571
|
+
*/
|
|
2572
|
+
required_to_create?: boolean;
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
* Whether the attribute is required or not for contacts.
|
|
2576
|
+
*/
|
|
2577
|
+
required_to_create_for_contacts?: boolean;
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* The id of the ticket type that the attribute belongs to.
|
|
2581
|
+
*/
|
|
2582
|
+
ticket_type_id?: number;
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* String representing the object's type. Always has the value
|
|
2586
|
+
* `ticket_type_attribute`.
|
|
2587
|
+
*/
|
|
2588
|
+
type?: string;
|
|
2589
|
+
|
|
2590
|
+
/**
|
|
2591
|
+
* The date and time the ticket type attribute was last updated.
|
|
2592
|
+
*/
|
|
2593
|
+
updated_at?: number;
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* Whether the attribute is visible or not to teammates.
|
|
2597
|
+
*/
|
|
2598
|
+
visible_on_create?: boolean;
|
|
2599
|
+
|
|
2600
|
+
/**
|
|
2601
|
+
* Whether the attribute is visible or not to contacts.
|
|
2602
|
+
*/
|
|
2603
|
+
visible_to_contacts?: boolean;
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* The id of the workspace that the ticket type attribute belongs to.
|
|
2607
|
+
*/
|
|
2608
|
+
workspace_id?: string;
|
|
2609
|
+
}
|