Skip to content
Draft
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ compiled/

# Fern preview files
/fern/.preview
/fern/.definition
4 changes: 2 additions & 2 deletions fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "intercom",
"version": "0.70.1"
}
"version": "2.8.2"
}
21 changes: 17 additions & 4 deletions fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,28 @@ api:
settings:
title-as-schema-name: false
inline-path-parameters: true
type-dates-as-strings: true
object-query-parameters: false
idiomatic-request-names: false
respect-nullable-schemas: false
wrap-references-to-nullable-in-optional: true
coerce-optional-schemas-to-nullable: true
coerce-enums-to-literals: 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
type-dates-as-strings: true
object-query-parameters: false
idiomatic-request-names: false
respect-nullable-schemas: false
wrap-references-to-nullable-in-optional: true
# coerce-optional-schemas-to-nullable: true
coerce-enums-to-literals: true
settings:
path-parameter-order: spec-order
groups:
ts-sdk:
generators:
Expand Down Expand Up @@ -42,7 +58,6 @@ groups:
- intercom
- api
smart-casing: true

java-sdk:
generators:
- name: fernapi/fern-java-sdk
Expand All @@ -64,7 +79,6 @@ groups:
client-class-name: Intercom
inline-path-parameters: true
enable-forward-compatible-enums: true

python-sdk:
generators:
- name: fernapi/fern-python-sdk
Expand All @@ -78,9 +92,8 @@ groups:
skip_validation: true
output:
location: pypi
package-name: 'python-intercom'
package-name: python-intercom
token: ${FERN_PYPI_TOKEN}

php-sdk:
generators:
- name: fernapi/fern-php-sdk
Expand Down
36 changes: 3 additions & 33 deletions fern/unstable-openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,41 +86,11 @@ paths:
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
parameters:
- name: Intercom-Version
in: header
required: null
schema:
$ref: '#/components/schemas/intercom_version_unstable'
post: null
'/custom_channel_events/notify_new_message':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyNewMessage
x-fern-request-name: NotifyNewMessageRequest
parameters:
- name: Intercom-Version
in: header
required: null
schema:
$ref: '#/components/schemas/intercom_version_unstable'
post: null
'/custom_channel_events/notify_new_conversation':
post:
x-fern-sdk-group-name:
- customChannelEvents
x-fern-sdk-method-name: notifyNewConversation
x-fern-request-name: NotifyNewConversationRequest
parameters:
- name: Intercom-Version
in: header
required: null
schema:
$ref: '#/components/schemas/intercom_version_unstable'
post: null
'/custom_channel_events/notify_quick_reply_selected':
post:
x-fern-sdk-group-name:
Expand Down
Loading