@phpsandbox/sdk 0.6.0-canary.4 → 0.6.0-canary.5

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.
@@ -20251,8 +20251,12 @@ var ServerInstance = class {
20251
20251
  this.data = data;
20252
20252
  this.client = client;
20253
20253
  }
20254
- async installation() {
20255
- return (await this.client.get(`/servers/${encodeURIComponent(this.data.id)}/installation`)).data;
20254
+ async updateAgent(input) {
20255
+ return (await this.client.post(`/servers/${encodeURIComponent(this.data.id)}/agent/updates`, input)).data;
20256
+ }
20257
+ async installation(options = {}) {
20258
+ const query = options.managedUpdates ? "?managedUpdates=1" : "";
20259
+ return (await this.client.get(`/servers/${encodeURIComponent(this.data.id)}/installation${query}`)).data;
20256
20260
  }
20257
20261
  async members(options = {}) {
20258
20262
  const query = options.page === void 0 ? "" : `?${new URLSearchParams({ page: String(options.page) }).toString()}`;