@pageproof/sdk-pr 308.0.1611701476344 → 308.0.1611721174275

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0-beta.157
4
+
5
+ Released on the 27th of January 2021.
6
+
7
+ - Added internal method for requesting a free trial.
8
+
3
9
  ## 2.0.0-beta.156
4
10
 
5
11
  Released on the 15th of January 2021.
@@ -4,8 +4,8 @@ declare class FreeTrial extends API {
4
4
  /**
5
5
  * Requests a team trial.
6
6
  *
7
+ * @private
7
8
  * @param {object} details The options for the trial.
8
- *
9
9
  * @returns {Promise}
10
10
  */
11
11
  requestTeam(details: any): Promise<any>;
@@ -171,7 +171,7 @@ declare class Proofs extends API {
171
171
  *
172
172
  * @see {@link Proofs.start}
173
173
  *
174
- * @param {{ name: string, tags?: string[], dueDate?: Date | string, messageToReviewers?: string, workflow?: { id: string }, workflowTemplate?: { id: string }, file?: { id: string }, group?: { id: string }, previousProof?: { id: string }, team?: { slug: string }, reference?: string, customTools?: any, integrationReferences: any[], reminders?: Reminder[], owners?: ({ email: string } | { id: string })[], canDownload?: boolean, start?: boolean }} options The options
174
+ * @param {{ name: string, tags?: string[], dueDate?: Date | string, messageToReviewers?: string, workflow?: { id: string }, workflowTemplate?: { id: string }, file?: { id: string }, group?: { id: string }, previousProof?: { id: string }, team?: { slug: string }, reference?: string, customTools?: any, integrationReferences: any[], reminders?: Reminder[], owners?: { email?: string, id?: string }[], canDownload?: boolean, start?: boolean }} options The options
175
175
  *
176
176
  * @param options.name The name of the proof
177
177
  * @param options.tags The tags to add to the proof (defaults to no tags)
@@ -219,11 +219,10 @@ declare class Proofs extends API {
219
219
  customTools?: any;
220
220
  integrationReferences: any[];
221
221
  reminders?: any[];
222
- owners?: ({
223
- email: string;
224
- } | {
225
- id: string;
226
- })[];
222
+ owners?: {
223
+ email?: string;
224
+ id?: string;
225
+ }[];
227
226
  canDownload?: boolean;
228
227
  start?: boolean;
229
228
  }): Promise<Proof>;