@@ -93,7 +93,18 @@ This operation is performed by calling function `updateSlackIntegrationMappingBy
93
93
See the endpoint docs at
94
94
[ API Reference] ( https://developer.box.com/reference/put-integration-mappings-slack-id/ ) .
95
95
96
- _ Currently we don't have an example for calling ` updateSlackIntegrationMappingById ` in integration tests_
96
+ <!-- sample put_integration_mappings_slack_id -->
97
+
98
+ ``` ts
99
+ await userClient .integrationMappings .updateSlackIntegrationMappingById (
100
+ integrationMappingId ,
101
+ {
102
+ requestBody: {
103
+ boxItem: new IntegrationMappingBoxItemSlack ({ id: ' 1234567' }),
104
+ } satisfies UpdateSlackIntegrationMappingByIdRequestBody ,
105
+ } satisfies UpdateSlackIntegrationMappingByIdOptionalsInput ,
106
+ );
107
+ ```
97
108
98
109
### Arguments
99
110
@@ -120,7 +131,13 @@ This operation is performed by calling function `deleteSlackIntegrationMappingBy
120
131
See the endpoint docs at
121
132
[ API Reference] ( https://developer.box.com/reference/delete-integration-mappings-slack-id/ ) .
122
133
123
- _ Currently we don't have an example for calling ` deleteSlackIntegrationMappingById ` in integration tests_
134
+ <!-- sample delete_integration_mappings_slack_id -->
135
+
136
+ ``` ts
137
+ await userClient .integrationMappings .deleteSlackIntegrationMappingById (
138
+ integrationMappingId ,
139
+ );
140
+ ```
124
141
125
142
### Arguments
126
143
@@ -141,19 +158,23 @@ Lists [Teams integration mappings](https://support.box.com/hc/en-us/articles/360
141
158
You need Admin or Co-Admin role to
142
159
use this endpoint.
143
160
144
- This operation is performed by calling function ` getIntegrationMappingTeams ` .
161
+ This operation is performed by calling function ` getTeamsIntegrationMapping ` .
145
162
146
163
See the endpoint docs at
147
164
[ API Reference] ( https://developer.box.com/reference/get-integration-mappings-teams/ ) .
148
165
149
- _ Currently we don't have an example for calling ` getIntegrationMappingTeams ` in integration tests_
166
+ <!-- sample get_integration_mappings_teams -->
167
+
168
+ ``` ts
169
+ await userClient .integrationMappings .getTeamsIntegrationMapping ();
170
+ ```
150
171
151
172
### Arguments
152
173
153
- - queryParams ` GetIntegrationMappingTeamsQueryParams `
154
- - Query parameters of getIntegrationMappingTeams method
155
- - headersInput ` GetIntegrationMappingTeamsHeadersInput `
156
- - Headers of getIntegrationMappingTeams method
174
+ - queryParams ` GetTeamsIntegrationMappingQueryParams `
175
+ - Query parameters of getTeamsIntegrationMapping method
176
+ - headersInput ` GetTeamsIntegrationMappingHeadersInput `
177
+ - Headers of getTeamsIntegrationMapping method
157
178
- cancellationToken ` undefined | CancellationToken `
158
179
- Token used for request cancellation.
159
180
@@ -170,18 +191,30 @@ by mapping a Teams channel to a Box item.
170
191
You need Admin or Co-Admin role to
171
192
use this endpoint.
172
193
173
- This operation is performed by calling function ` createIntegrationMappingTeams ` .
194
+ This operation is performed by calling function ` createTeamsIntegrationMapping ` .
174
195
175
196
See the endpoint docs at
176
197
[ API Reference] ( https://developer.box.com/reference/post-integration-mappings-teams/ ) .
177
198
178
- _ Currently we don't have an example for calling ` createIntegrationMappingTeams ` in integration tests_
199
+ <!-- sample post_integration_mappings_teams -->
200
+
201
+ ``` ts
202
+ await userClient .integrationMappings .createTeamsIntegrationMapping ({
203
+ partnerItem: {
204
+ type: ' channel' as IntegrationMappingPartnerItemTeamsCreateRequestTypeField ,
205
+ id: partnerItemId ,
206
+ tenantId: tenantId ,
207
+ teamId: teamId ,
208
+ } satisfies IntegrationMappingPartnerItemTeamsCreateRequest ,
209
+ boxItem: new FolderReference ({ id: folder .id }),
210
+ } satisfies IntegrationMappingTeamsCreateRequest );
211
+ ```
179
212
180
213
### Arguments
181
214
182
215
- requestBody ` IntegrationMappingTeamsCreateRequest `
183
- - Request body of createIntegrationMappingTeams method
184
- - optionalsInput ` CreateIntegrationMappingTeamsOptionalsInput `
216
+ - Request body of createTeamsIntegrationMapping method
217
+ - optionalsInput ` CreateTeamsIntegrationMappingOptionalsInput `
185
218
-
186
219
187
220
### Returns
@@ -197,18 +230,29 @@ Supports updating the Box folder ID and options.
197
230
You need Admin or Co-Admin role to
198
231
use this endpoint.
199
232
200
- This operation is performed by calling function ` updateIntegrationMappingTeamsById ` .
233
+ This operation is performed by calling function ` updateTeamsIntegrationMappingById ` .
201
234
202
235
See the endpoint docs at
203
236
[ API Reference] ( https://developer.box.com/reference/put-integration-mappings-teams-id/ ) .
204
237
205
- _ Currently we don't have an example for calling ` updateIntegrationMappingTeamsById ` in integration tests_
238
+ <!-- sample put_integration_mappings_teams_id -->
239
+
240
+ ``` ts
241
+ await userClient .integrationMappings .updateTeamsIntegrationMappingById (
242
+ integrationMappingId ,
243
+ {
244
+ requestBody: {
245
+ boxItem: new FolderReference ({ id: ' 1234567' }),
246
+ } satisfies UpdateTeamsIntegrationMappingByIdRequestBody ,
247
+ } satisfies UpdateTeamsIntegrationMappingByIdOptionalsInput ,
248
+ );
249
+ ```
206
250
207
251
### Arguments
208
252
209
253
- integrationMappingId ` string `
210
254
- An ID of an integration mapping Example: "11235432"
211
- - optionalsInput ` UpdateIntegrationMappingTeamsByIdOptionalsInput `
255
+ - optionalsInput ` UpdateTeamsIntegrationMappingByIdOptionalsInput `
212
256
-
213
257
214
258
### Returns
@@ -223,18 +267,24 @@ Deletes a [Teams integration mapping](https://support.box.com/hc/en-us/articles/
223
267
You need Admin or Co-Admin role to
224
268
use this endpoint.
225
269
226
- This operation is performed by calling function ` deleteIntegrationMappingTeamsById ` .
270
+ This operation is performed by calling function ` deleteTeamsIntegrationMappingById ` .
227
271
228
272
See the endpoint docs at
229
273
[ API Reference] ( https://developer.box.com/reference/delete-integration-mappings-teams-id/ ) .
230
274
231
- _ Currently we don't have an example for calling ` deleteIntegrationMappingTeamsById ` in integration tests_
275
+ <!-- sample delete_integration_mappings_teams_id -->
276
+
277
+ ``` ts
278
+ await userClient .integrationMappings .deleteTeamsIntegrationMappingById (
279
+ integrationMappingId ,
280
+ );
281
+ ```
232
282
233
283
### Arguments
234
284
235
285
- integrationMappingId ` string `
236
286
- An ID of an integration mapping Example: "11235432"
237
- - optionalsInput ` DeleteIntegrationMappingTeamsByIdOptionalsInput `
287
+ - optionalsInput ` DeleteTeamsIntegrationMappingByIdOptionalsInput `
238
288
-
239
289
240
290
### Returns
0 commit comments