Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "intercom",
"version": "0.57.17"
"version": "0.63.25"
}
11 changes: 9 additions & 2 deletions fern/generators.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# yaml-language-server: $schema=https://schema.buildwithfern.dev/generators-yml.json
api:
specs:
- openapi: ../descriptions/2.11/api.intercom.io.yaml
overrides: ./openapi-overrides.yml
settings:
title-as-schema-name: false
inline-path-parameters: true
- openapi: ../descriptions/0/api.intercom.io.yaml
overrides: ./unstable-openapi-overrides.yml
namespace: unstable
settings:
title-as-schema-name: false
inline-path-parameters: true
groups:
ts-sdk:
generators:
- name: fernapi/fern-typescript-node-sdk
version: 0.49.3
version: 0.51.7
output:
location: npm
package-name: intercom-client
Expand Down Expand Up @@ -39,7 +46,7 @@ groups:
java-sdk:
generators:
- name: fernapi/fern-java-sdk
version: 2.32.8
version: 2.37.0
output:
location: maven
coordinate: io.intercom:intercom-java
Expand Down
24 changes: 0 additions & 24 deletions fern/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -442,30 +442,6 @@ paths:
- conversations
x-fern-sdk-method-name: redactConversationPart
x-fern-request-name: RedactConversationPartRequest
/custom_channel_events/notify_attribute_collected:
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyAttributeCollected
x-fern-request-name: NotifyAttributeCollectedRequest
/custom_channel_events/notify_new_message:
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyNewMessage
x-fern-request-name: NotifyNewMessageRequest
/custom_channel_events/notify_new_conversation:
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyNewConversation
x-fern-request-name: NotifyNewConversationRequest
/custom_channel_events/notify_quick_reply_selected:
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyQuickReplySelected
x-fern-request-name: NotifyQuickReplySelectedRequest
/data_attributes:
get:
x-fern-sdk-group-name:
Expand Down
123 changes: 123 additions & 0 deletions fern/unstable-openapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
paths:
'/articles':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateArticleRequestBody'
'/articles/{id}':
put: null
'/tickets':
post: null
'/ticket_types/{id}':
put: null
'/export/reporting_data/{job_identifier}':
get: null
'/download/reporting_data/{job_identifier}':
get: null
'/companies':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOrUpdateCompanyRequestBody'
'/phone_call_redirects':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreatePhoneSwitchRequestBody'
'/ticket_types':
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateTicketTypeRequestBody'
'/contacts/{id}/companies':
post:
requestBody:
content:
application/json:
schema:
required:
- company_id
properties:
company_id:
type: string
description: The unique identifier for the company which is given
by Intercom
example: 58a430d35458202d41b1e65b
id: null
examples:
successful:
summary: Successful
value:
company_id: 6762f09a1bb69f9f2193bb34
bad_request:
summary: Bad Request
value:
company_not_found:
summary: Company Not Found
value:
company_id: '123'
'/messages/status':
get:
responses:
'500':
content:
application/json:
examples: null
'/custom_channel_events/notify_attribute_collected':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyAttributeCollected
x-fern-request-name: NotifyAttributeCollectedRequest
'/custom_channel_events/notify_new_message':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyNewMessage
x-fern-request-name: NotifyNewMessageRequest
'/custom_channel_events/notify_new_conversation':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyNewConversation
x-fern-request-name: NotifyNewConversationRequest
'/custom_channel_events/notify_quick_reply_selected':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyQuickReplySelected
x-fern-request-name: NotifyQuickReplySelectedRequest

components:
schemas:
custom_attributes:
example:
monthly_spend: '155.5'
create_ticket_request:
x-fern-type-name: CreateTicketRequestBody
properties:
ticket_attributes: null
reply_conversation_request:
x-fern-type-name: ReplyConversationRequestBody
update_article_request:
x-fern-type-name: UpdateArticleRequestBody
update_ticket_type_request:
x-fern-type-name: UpdateTicketTypeRequestBody
single_filter_search_request:
properties:
operator:
enum:
- '='
- '!='
- IN
- NIN
- '<'
- '>'