@phpsandbox/sdk 0.0.40 → 0.0.41

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.
@@ -5016,8 +5016,7 @@ var NotebookApi = class {
5016
5016
  constructor(client) {
5017
5017
  this.client = client;
5018
5018
  this.secrets = new NotebookSecretApi(client);
5019
- this.previewAuth = new NotebookPreviewAuthApi(client);
5020
- this.preview = this.previewAuth;
5019
+ this.preview = new NotebookPreviewApi(client);
5021
5020
  this.mail = new NotebookMailApi(client);
5022
5021
  }
5023
5022
  async create(template, input = {}, init = true) {
@@ -5149,14 +5148,6 @@ var NotebookPreviewApi = class {
5149
5148
  return response.data;
5150
5149
  }
5151
5150
  };
5152
- var NotebookPreviewAuthApi = class extends NotebookPreviewApi {
5153
- set(id, input) {
5154
- return this.setPassword(id, input);
5155
- }
5156
- delete(id) {
5157
- return this.disable(id);
5158
- }
5159
- };
5160
5151
  var NotebookMailApi = class {
5161
5152
  constructor(client) {
5162
5153
  this.client = client;
@@ -5216,8 +5207,7 @@ var NotebookInstance = class {
5216
5207
  this.git = new Git(this);
5217
5208
  this.services = new Services(this);
5218
5209
  this.secrets = new NotebookSecrets(client, this.data.id);
5219
- this.previewAuth = new NotebookPreviewAuth(client, this.data.id);
5220
- this.preview = this.previewAuth;
5210
+ this.preview = new NotebookPreview(client, this.data.id);
5221
5211
  this.mail = new NotebookMail(client, this.data.id);
5222
5212
  }
5223
5213
  async ready() {
@@ -5416,11 +5406,6 @@ var NotebookPreview = class {
5416
5406
  return this.client.notebook.preview.createHandoff(this.notebookId, input);
5417
5407
  }
5418
5408
  };
5419
- var NotebookPreviewAuth = class extends NotebookPreview {
5420
- set(input) {
5421
- return this.setPassword(input);
5422
- }
5423
- };
5424
5409
  var NotebookMail = class {
5425
5410
  constructor(client, notebookId) {
5426
5411
  this.client = client;
@@ -5478,8 +5463,6 @@ export {
5478
5463
  NotebookMailApi,
5479
5464
  NotebookPreview,
5480
5465
  NotebookPreviewApi,
5481
- NotebookPreviewAuth,
5482
- NotebookPreviewAuthApi,
5483
5466
  NotebookSecretApi,
5484
5467
  NotebookSecrets,
5485
5468
  NotebookState,