@owbase/node 2.2.1 → 2.4.0

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.
@@ -66,8 +66,9 @@ var Sites = class {
66
66
  buildSpecification: rest[19],
67
67
  runtimeSpecification: rest[20],
68
68
  deploymentRetention: rest[21],
69
- scopes: rest[22],
70
- description: rest[23]
69
+ deploymentRetentionCount: rest[22],
70
+ scopes: rest[23],
71
+ description: rest[24]
71
72
  };
72
73
  }
73
74
  const siteId = params.siteId;
@@ -93,6 +94,7 @@ var Sites = class {
93
94
  const buildSpecification = params.buildSpecification;
94
95
  const runtimeSpecification = params.runtimeSpecification;
95
96
  const deploymentRetention = params.deploymentRetention;
97
+ const deploymentRetentionCount = params.deploymentRetentionCount;
96
98
  const scopes = params.scopes;
97
99
  const description = params.description;
98
100
  if (typeof siteId === "undefined") {
@@ -182,6 +184,9 @@ var Sites = class {
182
184
  if (typeof deploymentRetention !== "undefined") {
183
185
  apiPayload["deploymentRetention"] = deploymentRetention;
184
186
  }
187
+ if (typeof deploymentRetentionCount !== "undefined") {
188
+ apiPayload["deploymentRetentionCount"] = deploymentRetentionCount;
189
+ }
185
190
  if (typeof scopes !== "undefined") {
186
191
  apiPayload["scopes"] = scopes;
187
192
  }
@@ -299,8 +304,9 @@ var Sites = class {
299
304
  buildSpecification: rest[19],
300
305
  runtimeSpecification: rest[20],
301
306
  deploymentRetention: rest[21],
302
- scopes: rest[22],
303
- description: rest[23]
307
+ deploymentRetentionCount: rest[22],
308
+ scopes: rest[23],
309
+ description: rest[24]
304
310
  };
305
311
  }
306
312
  const siteId = params.siteId;
@@ -326,6 +332,7 @@ var Sites = class {
326
332
  const buildSpecification = params.buildSpecification;
327
333
  const runtimeSpecification = params.runtimeSpecification;
328
334
  const deploymentRetention = params.deploymentRetention;
335
+ const deploymentRetentionCount = params.deploymentRetentionCount;
329
336
  const scopes = params.scopes;
330
337
  const description = params.description;
331
338
  if (typeof siteId === "undefined" || siteId === "") {
@@ -410,6 +417,9 @@ var Sites = class {
410
417
  if (typeof deploymentRetention !== "undefined") {
411
418
  apiPayload["deploymentRetention"] = deploymentRetention;
412
419
  }
420
+ if (typeof deploymentRetentionCount !== "undefined") {
421
+ apiPayload["deploymentRetentionCount"] = deploymentRetentionCount;
422
+ }
413
423
  if (typeof scopes !== "undefined") {
414
424
  apiPayload["scopes"] = scopes;
415
425
  }
@@ -539,9 +549,15 @@ var Sites = class {
539
549
  installCommand: rest[1],
540
550
  buildCommand: rest[2],
541
551
  outputDirectory: rest[3],
542
- activate: rest[4]
552
+ activate: rest[4],
553
+ commitHash: rest[5],
554
+ commitMessage: rest[6],
555
+ commitAuthor: rest[7],
556
+ commitUrl: rest[8],
557
+ branch: rest[9],
558
+ branchUrl: rest[10]
543
559
  };
544
- onProgress = rest[5];
560
+ onProgress = rest[11];
545
561
  }
546
562
  const siteId = params.siteId;
547
563
  const code = params.code;
@@ -549,6 +565,12 @@ var Sites = class {
549
565
  const buildCommand = params.buildCommand;
550
566
  const outputDirectory = params.outputDirectory;
551
567
  const activate = params.activate;
568
+ const commitHash = params.commitHash;
569
+ const commitMessage = params.commitMessage;
570
+ const commitAuthor = params.commitAuthor;
571
+ const commitUrl = params.commitUrl;
572
+ const branch = params.branch;
573
+ const branchUrl = params.branchUrl;
552
574
  if (typeof siteId === "undefined" || siteId === "") {
553
575
  throw new OwbaseException('Missing required parameter: "siteId"');
554
576
  }
@@ -575,6 +597,24 @@ var Sites = class {
575
597
  if (typeof activate !== "undefined") {
576
598
  apiPayload["activate"] = activate;
577
599
  }
600
+ if (typeof commitHash !== "undefined") {
601
+ apiPayload["commitHash"] = commitHash;
602
+ }
603
+ if (typeof commitMessage !== "undefined") {
604
+ apiPayload["commitMessage"] = commitMessage;
605
+ }
606
+ if (typeof commitAuthor !== "undefined") {
607
+ apiPayload["commitAuthor"] = commitAuthor;
608
+ }
609
+ if (typeof commitUrl !== "undefined") {
610
+ apiPayload["commitUrl"] = commitUrl;
611
+ }
612
+ if (typeof branch !== "undefined") {
613
+ apiPayload["branch"] = branch;
614
+ }
615
+ if (typeof branchUrl !== "undefined") {
616
+ apiPayload["branchUrl"] = branchUrl;
617
+ }
578
618
  const uri = new URL(this.client.config.endpoint + apiPath);
579
619
  const apiHeaders = {
580
620
  "X-Owbase-Project": this.client.config.project,