@pageproof/sdk-pr 496.0.1695950320044 → 496.0.1695951399311

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,19 +58,14 @@ declare class Team extends API {
58
58
  */
59
59
  workflows: TeamWorkflows;
60
60
  /**
61
- * Updates a team data e.g: team name.
61
+ * Updates your team's information e.g: team name.
62
62
  *
63
63
  * @example <caption>Update the team name</caption>
64
- * const admin = await client.admin();
65
- * const updateTeamName = admin.team.update({name: 'My Team Name'});
66
- *
67
- * @example <caption>Resetting the team name back to the default</caption>
68
- * const admin = await client.admin();
69
- * const updateTeamName = admin.team.update(null);
64
+ * await client.admin.team.update({name: 'My Team Name'});
70
65
  *
71
66
  * @param {object} options
72
67
  * @param {string} options.name The team name.
73
- * @returns {Promise<TeamName>}
68
+ * @returns {Promise}
74
69
  */
75
70
  update({ name }: {
76
71
  name: string;
@@ -105,19 +105,14 @@ var Team = function (_API) {
105
105
  }
106
106
 
107
107
  /**
108
- * Updates a team data e.g: team name.
108
+ * Updates your team's information e.g: team name.
109
109
  *
110
110
  * @example <caption>Update the team name</caption>
111
- * const admin = await client.admin();
112
- * const updateTeamName = admin.team.update({name: 'My Team Name'});
111
+ * await client.admin.team.update({name: 'My Team Name'});
113
112
  *
114
- * @example <caption>Resetting the team name back to the default</caption>
115
- * const admin = await client.admin();
116
- * const updateTeamName = admin.team.update(null);
117
- *
118
113
  * @param {object} options
119
114
  * @param {string} options.name The team name.
120
- * @returns {Promise<TeamName>}
115
+ * @returns {Promise}
121
116
  */
122
117
 
123
118