Skip to content

Commit 325a5d5

Browse files
Generate unstable SDK alongside v2.11 (#265)
* Generate unstable SDK alongside v2.11 * Update unstable overrides * Remove custom channel event endpoints from overrides file * Update config settings * Update overrides --------- Co-authored-by: Matt Blank <[email protected]>
1 parent 9aefa93 commit 325a5d5

File tree

4 files changed

+133
-27
lines changed

4 files changed

+133
-27
lines changed

fern/fern.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "intercom",
3-
"version": "0.57.17"
3+
"version": "0.63.25"
44
}

fern/generators.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1+
# yaml-language-server: $schema=https://schema.buildwithfern.dev/generators-yml.json
12
api:
23
specs:
34
- openapi: ../descriptions/2.11/api.intercom.io.yaml
45
overrides: ./openapi-overrides.yml
56
settings:
67
title-as-schema-name: false
78
inline-path-parameters: true
9+
- openapi: ../descriptions/0/api.intercom.io.yaml
10+
overrides: ./unstable-openapi-overrides.yml
11+
namespace: unstable
12+
settings:
13+
title-as-schema-name: false
14+
inline-path-parameters: true
815
groups:
916
ts-sdk:
1017
generators:
1118
- name: fernapi/fern-typescript-node-sdk
12-
version: 0.49.3
19+
version: 0.51.7
1320
output:
1421
location: npm
1522
package-name: intercom-client
@@ -39,7 +46,7 @@ groups:
3946
java-sdk:
4047
generators:
4148
- name: fernapi/fern-java-sdk
42-
version: 2.32.8
49+
version: 2.37.0
4350
output:
4451
location: maven
4552
coordinate: io.intercom:intercom-java

fern/openapi-overrides.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -442,30 +442,6 @@ paths:
442442
- conversations
443443
x-fern-sdk-method-name: redactConversationPart
444444
x-fern-request-name: RedactConversationPartRequest
445-
/custom_channel_events/notify_attribute_collected:
446-
post:
447-
x-fern-sdk-group-name:
448-
- customChannelEvents
449-
x-fern-sdk-method-name: notifyAttributeCollected
450-
x-fern-request-name: NotifyAttributeCollectedRequest
451-
/custom_channel_events/notify_new_message:
452-
post:
453-
x-fern-sdk-group-name:
454-
- customChannelEvents
455-
x-fern-sdk-method-name: notifyNewMessage
456-
x-fern-request-name: NotifyNewMessageRequest
457-
/custom_channel_events/notify_new_conversation:
458-
post:
459-
x-fern-sdk-group-name:
460-
- customChannelEvents
461-
x-fern-sdk-method-name: notifyNewConversation
462-
x-fern-request-name: NotifyNewConversationRequest
463-
/custom_channel_events/notify_quick_reply_selected:
464-
post:
465-
x-fern-sdk-group-name:
466-
- customChannelEvents
467-
x-fern-sdk-method-name: notifyQuickReplySelected
468-
x-fern-request-name: NotifyQuickReplySelectedRequest
469445
/data_attributes:
470446
get:
471447
x-fern-sdk-group-name:
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
paths:
2+
'/articles':
3+
post:
4+
requestBody:
5+
content:
6+
application/json:
7+
schema:
8+
$ref: '#/components/schemas/CreateArticleRequestBody'
9+
'/articles/{id}':
10+
put: null
11+
'/tickets':
12+
post: null
13+
'/ticket_types/{id}':
14+
put: null
15+
'/export/reporting_data/{job_identifier}':
16+
get: null
17+
'/download/reporting_data/{job_identifier}':
18+
get: null
19+
'/companies':
20+
post:
21+
requestBody:
22+
content:
23+
application/json:
24+
schema:
25+
$ref: '#/components/schemas/CreateOrUpdateCompanyRequestBody'
26+
'/phone_call_redirects':
27+
post:
28+
requestBody:
29+
content:
30+
application/json:
31+
schema:
32+
$ref: '#/components/schemas/CreatePhoneSwitchRequestBody'
33+
'/ticket_types':
34+
post:
35+
requestBody:
36+
content:
37+
application/json:
38+
schema:
39+
$ref: '#/components/schemas/CreateTicketTypeRequestBody'
40+
'/contacts/{id}/companies':
41+
post:
42+
requestBody:
43+
content:
44+
application/json:
45+
schema:
46+
required:
47+
- company_id
48+
properties:
49+
company_id:
50+
type: string
51+
description: The unique identifier for the company which is given
52+
by Intercom
53+
example: 58a430d35458202d41b1e65b
54+
id: null
55+
examples:
56+
successful:
57+
summary: Successful
58+
value:
59+
company_id: 6762f09a1bb69f9f2193bb34
60+
bad_request:
61+
summary: Bad Request
62+
value:
63+
company_not_found:
64+
summary: Company Not Found
65+
value:
66+
company_id: '123'
67+
'/messages/status':
68+
get:
69+
responses:
70+
'500':
71+
content:
72+
application/json:
73+
examples: null
74+
'/custom_channel_events/notify_attribute_collected':
75+
post:
76+
x-fern-sdk-group-name:
77+
- customChannelEvents
78+
x-fern-sdk-method-name: notifyAttributeCollected
79+
x-fern-request-name: NotifyAttributeCollectedRequest
80+
'/custom_channel_events/notify_new_message':
81+
post:
82+
x-fern-sdk-group-name:
83+
- customChannelEvents
84+
x-fern-sdk-method-name: notifyNewMessage
85+
x-fern-request-name: NotifyNewMessageRequest
86+
'/custom_channel_events/notify_new_conversation':
87+
post:
88+
x-fern-sdk-group-name:
89+
- customChannelEvents
90+
x-fern-sdk-method-name: notifyNewConversation
91+
x-fern-request-name: NotifyNewConversationRequest
92+
'/custom_channel_events/notify_quick_reply_selected':
93+
post:
94+
x-fern-sdk-group-name:
95+
- customChannelEvents
96+
x-fern-sdk-method-name: notifyQuickReplySelected
97+
x-fern-request-name: NotifyQuickReplySelectedRequest
98+
99+
components:
100+
schemas:
101+
custom_attributes:
102+
example:
103+
monthly_spend: '155.5'
104+
create_ticket_request:
105+
x-fern-type-name: CreateTicketRequestBody
106+
properties:
107+
ticket_attributes: null
108+
reply_conversation_request:
109+
x-fern-type-name: ReplyConversationRequestBody
110+
update_article_request:
111+
x-fern-type-name: UpdateArticleRequestBody
112+
update_ticket_type_request:
113+
x-fern-type-name: UpdateTicketTypeRequestBody
114+
single_filter_search_request:
115+
properties:
116+
operator:
117+
enum:
118+
- '='
119+
- '!='
120+
- IN
121+
- NIN
122+
- '<'
123+
- '>'

0 commit comments

Comments
 (0)