Skip to content

Commit 9050e1f

Browse files
committed
Various updates
1 parent 3ca49f3 commit 9050e1f

10 files changed

+59
-31
lines changed

launcher-csharp/Rooms/Examples/AddingFormToRoom.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ public static (FormSummaryList forms, RoomSummaryList rooms) GetFormsAndRooms(
2626
string accountId)
2727
{
2828
// Construct your API headers
29+
//ds-snippet-start:Rooms4Step2
2930
var apiClient = new ApiClient(basePath);
3031
apiClient.Configuration.DefaultHeader.Add("Authorization", $"Bearer {accessToken}");
3132
var roomsApi = new RoomsApi(apiClient);
3233
var formLibrariesApi = new FormLibrariesApi(apiClient);
34+
//ds-snippet-end:Rooms4Step2
3335

3436
// Get Forms Libraries
37+
//ds-snippet-start:Rooms4Step3
3538
FormLibrarySummaryList formLibraries = formLibrariesApi.GetFormLibraries(accountId);
3639

3740
// Get Forms
@@ -42,6 +45,7 @@ public static (FormSummaryList forms, RoomSummaryList rooms) GetFormsAndRooms(
4245
accountId,
4346
formLibraries.FormsLibrarySummaries.First().FormsLibraryId);
4447
}
48+
//ds-snippet-end:Rooms4Step3
4549

4650
// Get Rooms
4751
RoomSummaryList rooms = roomsApi.GetRooms(accountId);
@@ -72,7 +76,9 @@ public static RoomDocument AddForm(
7276
var roomsApi = new RoomsApi(apiClient);
7377

7478
// Call the Rooms API to get room field data
79+
//ds-snippet-start:Rooms4Step4
7580
return roomsApi.AddFormToRoom(accountId, roomId, new FormForAdd(formId));
81+
//ds-snippet-end:Rooms4Step4
7682
}
7783
}
7884
}

launcher-csharp/Rooms/Examples/CreateRoomFromTemplate.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ public static RoomTemplatesSummaryList GetTemplates(
2525
string accountId)
2626
{
2727
// Construct your API headers
28+
//ds-snippet-start:Rooms2Step3
2829
var apiClient = new ApiClient(basePath);
2930
apiClient.Configuration.DefaultHeader.Add("Authorization", $"Bearer {accessToken}");
3031
var roomTemplatesApi = new RoomTemplatesApi(apiClient);
3132

3233
// Call the Rooms API to create a room
3334
return roomTemplatesApi.GetRoomTemplates(accountId);
35+
//ds-snippet-end:Rooms2Step3
3436
}
3537

3638
/// <summary>
@@ -50,21 +52,28 @@ public static Room CreateRoom(
5052
int templateId)
5153
{
5254
// Construct your API headers
55+
//ds-snippet-start:Rooms2Step2
5356
var apiClient = new ApiClient(basePath);
5457
apiClient.Configuration.DefaultHeader.Add("Authorization", $"Bearer {accessToken}");
5558
var roomsApi = new RoomsApi(apiClient);
5659
var rolesApi = new RolesApi(apiClient);
60+
//ds-snippet-end:Rooms2Step2
5761

5862
// Obtain Role
5963
var clientRole = rolesApi.GetRoles(accountId, new RolesApi.GetRolesOptions { filter = "Default Admin" }).Roles.First();
6064

6165
// Construct the request body for your room
66+
//ds-snippet-start:Rooms2Step4
6267
var newRoom = BuildRoom(model, clientRole, templateId);
68+
//ds-snippet-end:Rooms2Step4
6369

6470
// Call the Rooms API to create a room
71+
//ds-snippet-start:Rooms2Step5
6572
return roomsApi.CreateRoom(accountId, newRoom);
73+
//ds-snippet-end:Rooms2Step5
6674
}
6775

76+
//ds-snippet-start:Rooms2Step4
6877
private static RoomForCreate BuildRoom(
6978
RoomModel model,
7079
RoleSummary clientRole,
@@ -92,6 +101,7 @@ private static RoomForCreate BuildRoom(
92101

93102
return newRoom;
94103
}
104+
//ds-snippet-end:Rooms2Step4
95105

96106
public class RoomModel
97107
{

launcher-csharp/Rooms/Examples/ExportDataFromRoom.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,16 @@ public static FieldData Export(
4646
int roomId)
4747
{
4848
// Construct your API headers
49+
//ds-snippet-start:Rooms3Step2
4950
var apiClient = new ApiClient(basePath);
5051
apiClient.Configuration.DefaultHeader.Add("Authorization", $"Bearer {accessToken}");
5152
var roomsApi = new RoomsApi(apiClient);
53+
//ds-snippet-end:Rooms3Step2
5254

5355
// Call the Rooms API to get room field data
56+
//ds-snippet-start:Rooms3Step3
5457
return roomsApi.GetRoomFieldData(accountId, roomId);
58+
//ds-snippet-end:Rooms3Step3
5559
}
5660
}
5761
}

launcher-csharp/Rooms/Examples/GrantOfficeAccessToFormGroup.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ public static (OfficeSummaryList offices, FormGroupSummaryList formGroups) GetOf
3030
var formGroupsApi = new FormGroupsApi(apiClient);
3131

3232
// Call the Rooms API to get offices
33+
//ds-snippet-start:Rooms8Step3
3334
var offices = officesApi.GetOffices(accountId);
35+
//ds-snippet-end:Rooms8Step3
3436

3537
// Call the Rooms API to get form groups
38+
//ds-snippet-start:Rooms8Step4
3639
var formGroups = formGroupsApi.GetFormGroups(accountId);
40+
//ds-snippet-end:Rooms8Step4
3741

3842
return (offices, formGroups);
3943
}
@@ -55,12 +59,16 @@ public static void GrantAccess(
5559
int? officeId)
5660
{
5761
// Construct your API headers
62+
//ds-snippet-start:Rooms8Step2
5863
var apiClient = new ApiClient(basePath);
5964
apiClient.Configuration.DefaultHeader.Add("Authorization", $"Bearer {accessToken}");
6065
var formGroupsApi = new FormGroupsApi(apiClient);
66+
//ds-snippet-end:Rooms8Step2
6167

6268
// Call the Rooms API to grant office access to a form group
69+
//ds-snippet-start:Rooms8Step5
6370
formGroupsApi.GrantOfficeAccessToFormGroup(accountId, new Guid(formGroupId), officeId);
71+
//ds-snippet-end:Rooms8Step5
6472
}
6573
}
6674
}

manifest/ConfigurationManifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"authenticationTypes": [
33
{
44
"name": "AuthCodeGrant",
@@ -206,7 +206,7 @@
206206
"packages": [
207207
{
208208
"name": "DocuSign.eSign.dll",
209-
"version": "6.1.0"
209+
"version": "6.5.0"
210210
}
211211
],
212212
"scopes": [
@@ -219,7 +219,7 @@
219219
"packages": [
220220
{
221221
"name": "DocuSign.Rooms",
222-
"version": "1.2.0-rc"
222+
"version": "1.4.1"
223223
}
224224
],
225225
"scopes": [
@@ -240,7 +240,7 @@
240240
"packages": [
241241
{
242242
"name": "DocuSign.Click",
243-
"version": "1.2.2"
243+
"version": "1.3.1"
244244
}
245245
],
246246
"scopes": [
@@ -254,7 +254,7 @@
254254
"packages": [
255255
{
256256
"name": "DocuSign.Monitor",
257-
"version": "1.1.0"
257+
"version": "1.1.1"
258258
}
259259
],
260260
"scopes": [

manifest/ConfigurationManifestJS.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"authenticationTypes": [
33
{
44
"name": "AuthCodeGrant",
@@ -176,7 +176,7 @@
176176
"packages": [
177177
{
178178
"name": "docusign-esign",
179-
"version": "6.0.0"
179+
"version": "6.3.0"
180180
},
181181
{
182182
"name": "fs",
@@ -198,7 +198,7 @@
198198
"packages": [
199199
{
200200
"name": "docusign-esign",
201-
"version": "^6.0.0"
201+
"version": "^6.3.0"
202202
}
203203
],
204204
"scopes": [
@@ -232,7 +232,7 @@
232232
"packages": [
233233
{
234234
"name": "docusign-click",
235-
"version": "^2.0.0"
235+
"version": "^2.2.0"
236236
}
237237
],
238238
"scopes": [
@@ -246,7 +246,7 @@
246246
"packages": [
247247
{
248248
"name": "docusign-monitor",
249-
"version": "^2.0.0"
249+
"version": "^2.1.0"
250250
}
251251
]
252252
}

manifest/ConfigurationManifestJava.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
{
352352
"group": "com.docusign",
353353
"name": "docusign-esign-java",
354-
"version": "3.22.0"
354+
"version": "4.3.0"
355355
}
356356
],
357357
"scopes": ["signature"]
@@ -363,7 +363,7 @@
363363
{
364364
"group": "com.docusign",
365365
"name": "docusign-rooms-java",
366-
"version": "1.1.0"
366+
"version": "1.4.3"
367367
}
368368
],
369369
"scopes": [
@@ -386,7 +386,7 @@
386386
{
387387
"group": "com.docusign",
388388
"name": "docusign-click-java",
389-
"version": "1.2.2"
389+
"version": "1.5.0"
390390
}
391391
],
392392
"scopes": ["click.manage", "click.send"]
@@ -398,7 +398,7 @@
398398
{
399399
"group": "com.docusign",
400400
"name": "docusign-monitor-java",
401-
"version": "1.1.0"
401+
"version": "1.3.0"
402402
}
403403
],
404404
"scopes": ["signature", "impersonation"]

manifest/ConfigurationManifestPHP.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"authenticationTypes": [
33
{
44
"name": "AuthCodeGrant",
@@ -208,23 +208,23 @@
208208
"packages": [
209209
{
210210
"name": "twig/twig",
211-
"version": "3.5.0"
211+
"version": "3.6.1"
212212
},
213213
{
214214
"name": "league/oauth2-client",
215-
"version": "2.6.1"
215+
"version": "2.7.0"
216216
},
217217
{
218218
"name": "ext-json",
219219
"version": "*"
220220
},
221221
{
222222
"name": "guzzlehttp/guzzle",
223-
"version": "7.5.0"
223+
"version": "7.7.0"
224224
},
225225
{
226226
"name": "firebase/php-jwt",
227-
"version": "6.3.2"
227+
"version": "6.8.0"
228228
},
229229
{
230230
"name": "mashape/unirest-php",
@@ -251,7 +251,7 @@
251251
"packages": [
252252
{
253253
"name": "docusign/rooms-client",
254-
"version": "2.0.0"
254+
"version": "2.1.0"
255255
}
256256
],
257257
"scopes": [

manifest/ConfigurationManifestPython.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
"packages": [
192192
{
193193
"name": "Flask",
194-
"version": "2.2.2"
194+
"version": "2.2.5"
195195
},
196196
{
197197
"name": "Flask-OAuthlib",
@@ -207,7 +207,7 @@
207207
},
208208
{
209209
"name": "requests",
210-
"version": "2.28.2"
210+
"version": "2.31.0"
211211
},
212212
{
213213
"name": "requests-oauthlib",
@@ -221,7 +221,7 @@
221221
"packages": [
222222
{
223223
"name": "docusign-esign",
224-
"version": "3.19.0"
224+
"version": "3.23.0"
225225
}
226226
],
227227
"scopes": [
@@ -234,7 +234,7 @@
234234
"packages": [
235235
{
236236
"name": "docusign-rooms",
237-
"version": "1.1.0"
237+
"version": "1.3.0"
238238
}
239239
],
240240
"scopes": [
@@ -255,7 +255,7 @@
255255
"packages": [
256256
{
257257
"name": "docusign-click",
258-
"version": "1.2.2"
258+
"version": "1.4.0"
259259
}
260260
],
261261
"scopes": [

manifest/ConfigurationManifestRuby.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@
185185
"packages": [
186186
{
187187
"name": "rails",
188-
"version": "7.0.4.2"
188+
"version": "7.0.5"
189189
},
190190
{
191191
"name": "sqlite3",
192-
"version": "1.6.0"
192+
"version": "1.6.3"
193193
},
194194
{
195195
"name": "puma",
196-
"version": "6.0.2"
196+
"version": "6.3.0"
197197
},
198198
{
199199
"name": "sass-rails",
@@ -227,7 +227,7 @@
227227
"packages": [
228228
{
229229
"name": "docusign_esign",
230-
"version": "3.20.0"
230+
"version": "3.24.0"
231231
}
232232
],
233233
"scopes": [
@@ -240,7 +240,7 @@
240240
"packages": [
241241
{
242242
"name": "docusign_rooms",
243-
"version": "1.1.0"
243+
"version": "1.3.0"
244244
}
245245
],
246246
"scopes": [
@@ -261,7 +261,7 @@
261261
"packages": [
262262
{
263263
"name": "docusign_click",
264-
"version": "1.2.2"
264+
"version": "1.4.0"
265265
}
266266
],
267267
"scopes": [

0 commit comments

Comments
 (0)