@lessly/sdk-app 102.3.0 → 103.0.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.
package/CHANGELOG.md CHANGED
@@ -125,11 +125,36 @@ before this point lives in that package.
125
125
  The publish pipeline appends its machine-rendered block for the release being
126
126
  built below this line. It is not committed back to the repo, so in a git
127
127
  checkout this section is empty — see the note at the top.
128
- ## 102.3.0 (minor)
129
-
130
- ### analytics
131
- - `analytics_catalog_get`: new optional field `dropped_metrics (output)`
132
- - `analytics_catalog_get`: new accepted value on `entities.metrics.type (output)`
133
- - `analytics_catalog_get`: description updated
134
- - `analytics_metric_query`: new accepted value on `meta.rollup_skipped_reason (output)`
128
+ ## 103.0.0 (major)
129
+
130
+ ### deployment
131
+ - `deployment_canvas_get`: type change on `services.source (output)`
132
+ - `deployment_deployment_cancel`: new optional field `trigger (output)`
133
+ - `deployment_deployment_get`: new optional field `trigger (output)`
134
+ - `deployment_deployment_list`: new optional field `trigger (output)`
135
+ - `deployment_domain_add`: new optional field `managedDns (output)`
136
+ - `deployment_domain_add`: description updated
137
+ - `deployment_environment_create`: new optional field `repoFullName (output)`
138
+ - `deployment_environment_fork`: new optional field `repoFullName (output)`
139
+ - `deployment_environment_get`: new optional field `repoFullName (output)`
140
+ - `deployment_environment_list`: new optional field `repoFullName (output)`
141
+ - `deployment_environment_reconcile`: new optional field `repoFullName (output)`
142
+ - `deployment_environment_update`: new optional field `repoFullName (output)`
143
+ - `deployment_preview_environment_create`: new optional field `repoFullName`
144
+ - `deployment_preview_environment_create`: new optional field `repoFullName (output)`
145
+ - `deployment_preview_environment_list`: new optional field `repoFullName (output)`
146
+ - `deployment_service_create`: type change on `source (output)`
147
+ - `deployment_service_get`: type change on `source (output)`
148
+ - `deployment_service_list`: type change on `source (output)`
149
+ - `deployment_service_redeploy`: new optional field `trigger (output)`
150
+ - `deployment_service_rollback`: new optional field `trigger (output)`
151
+ - `deployment_service_scale`: type change on `source (output)`
152
+ - `deployment_service_update`: type change on `source (output)`
153
+ - `deployment_static_deploy`: new optional field `trigger (output)`
154
+ - `deployment_vcs_connection_list`: new optional field `provider (output)`
155
+ - `deployment_vcs_connection_list`: new optional field `autoDeploy (output)`
156
+ - `deployment_vcs_connection_list`: new optional field `needsReauth (output)`
157
+ - `deployment_vcs_connection_list`: type change on `installationId (output)`
158
+ - `deployment_vcs_repo_list`: response field `private` may now be absent
159
+ - `deployment_vcs_repo_list`: response field `defaultBranch` may now be absent
135
160
 
@@ -98544,7 +98544,7 @@ export interface DeploymentCanvasGetOutput {
98544
98544
  liveness?: DeploymentCanvasGetOutputReadiness;
98545
98545
  readiness?: DeploymentCanvasGetOutputReadiness;
98546
98546
  };
98547
- source: ({
98547
+ source: (({
98548
98548
  url?: string;
98549
98549
  path?: string;
98550
98550
  type: "git";
@@ -98570,6 +98570,11 @@ export interface DeploymentCanvasGetOutput {
98570
98570
  outputDir?: string;
98571
98571
  };
98572
98572
  markdown?: boolean;
98573
+ }) & {
98574
+ autoDeploy?: {
98575
+ reason?: string;
98576
+ enabled: boolean;
98577
+ };
98573
98578
  });
98574
98579
  command?: (string | null);
98575
98580
  lastRun?: ({
@@ -98888,6 +98893,7 @@ export interface DeploymentDeploymentCancelOutput {
98888
98893
  id: string;
98889
98894
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
98890
98895
  builtAt: (string | null);
98896
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
98891
98897
  imageRef: (string | null);
98892
98898
  commitSha: (string | null);
98893
98899
  createdAt: string;
@@ -98914,6 +98920,7 @@ export interface DeploymentDeploymentGetOutput {
98914
98920
  id: string;
98915
98921
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
98916
98922
  builtAt: (string | null);
98923
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
98917
98924
  imageRef: (string | null);
98918
98925
  commitSha: (string | null);
98919
98926
  createdAt: string;
@@ -98940,6 +98947,7 @@ export type DeploymentDeploymentListOutput = {
98940
98947
  id: string;
98941
98948
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
98942
98949
  builtAt: (string | null);
98950
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
98943
98951
  imageRef: (string | null);
98944
98952
  commitSha: (string | null);
98945
98953
  createdAt: string;
@@ -98984,6 +98992,12 @@ export interface DeploymentDomainAddOutput {
98984
98992
  createdAt: string;
98985
98993
  tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
98986
98994
  updatedAt: string;
98995
+ managedDns?: ({
98996
+ mode: "external";
98997
+ note: string;
98998
+ tool: "organization_domains_set-mode";
98999
+ governanceDomainId: string;
99000
+ } | null);
98987
99001
  lastProbeAt: (string | null);
98988
99002
  redirectWww: boolean;
98989
99003
  wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
@@ -99481,6 +99495,7 @@ export interface DeploymentEnvironmentCreateOutput {
99481
99495
  expiresAt: (string | null);
99482
99496
  updatedAt: string;
99483
99497
  isProduction: boolean;
99498
+ repoFullName: (string | null);
99484
99499
  lastErrorMessage: (string | null);
99485
99500
  baseEnvironmentId: (string | null);
99486
99501
  }
@@ -99507,6 +99522,7 @@ export interface DeploymentEnvironmentForkOutput {
99507
99522
  expiresAt: (string | null);
99508
99523
  updatedAt: string;
99509
99524
  isProduction: boolean;
99525
+ repoFullName: (string | null);
99510
99526
  lastErrorMessage: (string | null);
99511
99527
  baseEnvironmentId: (string | null);
99512
99528
  }
@@ -99525,6 +99541,7 @@ export interface DeploymentEnvironmentGetOutput {
99525
99541
  expiresAt: (string | null);
99526
99542
  updatedAt: string;
99527
99543
  isProduction: boolean;
99544
+ repoFullName: (string | null);
99528
99545
  lastErrorMessage: (string | null);
99529
99546
  baseEnvironmentId: (string | null);
99530
99547
  }
@@ -99543,6 +99560,7 @@ export type DeploymentEnvironmentListOutput = {
99543
99560
  expiresAt: (string | null);
99544
99561
  updatedAt: string;
99545
99562
  isProduction: boolean;
99563
+ repoFullName: (string | null);
99546
99564
  lastErrorMessage: (string | null);
99547
99565
  baseEnvironmentId: (string | null);
99548
99566
  }[];
@@ -99562,6 +99580,7 @@ export interface DeploymentEnvironmentReconcileOutput {
99562
99580
  expiresAt: (string | null);
99563
99581
  updatedAt: string;
99564
99582
  isProduction: boolean;
99583
+ repoFullName: (string | null);
99565
99584
  lastErrorMessage: (string | null);
99566
99585
  baseEnvironmentId: (string | null);
99567
99586
  }
@@ -99581,6 +99600,7 @@ export interface DeploymentEnvironmentUpdateOutput {
99581
99600
  expiresAt: (string | null);
99582
99601
  updatedAt: string;
99583
99602
  isProduction: boolean;
99603
+ repoFullName: (string | null);
99584
99604
  lastErrorMessage: (string | null);
99585
99605
  baseEnvironmentId: (string | null);
99586
99606
  }
@@ -100012,6 +100032,7 @@ export interface DeploymentMetricsGetOutput {
100012
100032
  export interface DeploymentPreviewEnvironmentCreateInput {
100013
100033
  prBranch?: string;
100014
100034
  prNumber: number;
100035
+ repoFullName?: string;
100015
100036
  baseEnvironmentId: string;
100016
100037
  }
100017
100038
  export interface DeploymentPreviewEnvironmentCreateOutput {
@@ -100026,6 +100047,7 @@ export interface DeploymentPreviewEnvironmentCreateOutput {
100026
100047
  expiresAt: (string | null);
100027
100048
  updatedAt: string;
100028
100049
  isProduction: boolean;
100050
+ repoFullName: (string | null);
100029
100051
  lastErrorMessage: (string | null);
100030
100052
  baseEnvironmentId: (string | null);
100031
100053
  }
@@ -100049,6 +100071,7 @@ export type DeploymentPreviewEnvironmentListOutput = {
100049
100071
  expiresAt: (string | null);
100050
100072
  updatedAt: string;
100051
100073
  isProduction: boolean;
100074
+ repoFullName: (string | null);
100052
100075
  lastErrorMessage: (string | null);
100053
100076
  baseEnvironmentId: (string | null);
100054
100077
  }[];
@@ -100173,7 +100196,7 @@ export interface DeploymentServiceCreateOutput {
100173
100196
  liveness?: DeploymentServiceCreateOutputReadiness;
100174
100197
  readiness?: DeploymentServiceCreateOutputReadiness;
100175
100198
  };
100176
- source: ({
100199
+ source: (({
100177
100200
  url?: string;
100178
100201
  path?: string;
100179
100202
  type: "git";
@@ -100199,6 +100222,11 @@ export interface DeploymentServiceCreateOutput {
100199
100222
  outputDir?: string;
100200
100223
  };
100201
100224
  markdown?: boolean;
100225
+ }) & {
100226
+ autoDeploy?: {
100227
+ reason?: string;
100228
+ enabled: boolean;
100229
+ };
100202
100230
  });
100203
100231
  command?: (string | null);
100204
100232
  lastRun?: ({
@@ -100288,7 +100316,7 @@ export interface DeploymentServiceGetOutput {
100288
100316
  liveness?: DeploymentServiceGetOutputReadiness;
100289
100317
  readiness?: DeploymentServiceGetOutputReadiness;
100290
100318
  };
100291
- source: ({
100319
+ source: (({
100292
100320
  url?: string;
100293
100321
  path?: string;
100294
100322
  type: "git";
@@ -100314,6 +100342,11 @@ export interface DeploymentServiceGetOutput {
100314
100342
  outputDir?: string;
100315
100343
  };
100316
100344
  markdown?: boolean;
100345
+ }) & {
100346
+ autoDeploy?: {
100347
+ reason?: string;
100348
+ enabled: boolean;
100349
+ };
100317
100350
  });
100318
100351
  command?: (string | null);
100319
100352
  lastRun?: ({
@@ -100374,7 +100407,7 @@ export type DeploymentServiceListOutput = {
100374
100407
  liveness?: DeploymentServiceListOutputReadiness;
100375
100408
  readiness?: DeploymentServiceListOutputReadiness;
100376
100409
  };
100377
- source: ({
100410
+ source: (({
100378
100411
  url?: string;
100379
100412
  path?: string;
100380
100413
  type: "git";
@@ -100400,6 +100433,11 @@ export type DeploymentServiceListOutput = {
100400
100433
  outputDir?: string;
100401
100434
  };
100402
100435
  markdown?: boolean;
100436
+ }) & {
100437
+ autoDeploy?: {
100438
+ reason?: string;
100439
+ enabled: boolean;
100440
+ };
100403
100441
  });
100404
100442
  command?: (string | null);
100405
100443
  lastRun?: ({
@@ -100463,6 +100501,7 @@ export interface DeploymentServiceRedeployOutput {
100463
100501
  id: string;
100464
100502
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
100465
100503
  builtAt: (string | null);
100504
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
100466
100505
  imageRef: (string | null);
100467
100506
  commitSha: (string | null);
100468
100507
  createdAt: string;
@@ -100496,6 +100535,7 @@ export interface DeploymentServiceRollbackOutput {
100496
100535
  id: string;
100497
100536
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
100498
100537
  builtAt: (string | null);
100538
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
100499
100539
  imageRef: (string | null);
100500
100540
  commitSha: (string | null);
100501
100541
  createdAt: string;
@@ -100528,7 +100568,7 @@ export interface DeploymentServiceScaleOutput {
100528
100568
  liveness?: DeploymentServiceScaleOutputReadiness;
100529
100569
  readiness?: DeploymentServiceScaleOutputReadiness;
100530
100570
  };
100531
- source: ({
100571
+ source: (({
100532
100572
  url?: string;
100533
100573
  path?: string;
100534
100574
  type: "git";
@@ -100554,6 +100594,11 @@ export interface DeploymentServiceScaleOutput {
100554
100594
  outputDir?: string;
100555
100595
  };
100556
100596
  markdown?: boolean;
100597
+ }) & {
100598
+ autoDeploy?: {
100599
+ reason?: string;
100600
+ enabled: boolean;
100601
+ };
100557
100602
  });
100558
100603
  command?: (string | null);
100559
100604
  lastRun?: ({
@@ -100699,7 +100744,7 @@ export interface DeploymentServiceUpdateOutput {
100699
100744
  liveness?: DeploymentServiceUpdateOutputReadiness;
100700
100745
  readiness?: DeploymentServiceUpdateOutputReadiness;
100701
100746
  };
100702
- source: ({
100747
+ source: (({
100703
100748
  url?: string;
100704
100749
  path?: string;
100705
100750
  type: "git";
@@ -100725,6 +100770,11 @@ export interface DeploymentServiceUpdateOutput {
100725
100770
  outputDir?: string;
100726
100771
  };
100727
100772
  markdown?: boolean;
100773
+ }) & {
100774
+ autoDeploy?: {
100775
+ reason?: string;
100776
+ enabled: boolean;
100777
+ };
100728
100778
  });
100729
100779
  command?: (string | null);
100730
100780
  lastRun?: ({
@@ -100840,6 +100890,7 @@ export interface DeploymentStaticDeployOutput {
100840
100890
  id: string;
100841
100891
  status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
100842
100892
  builtAt: (string | null);
100893
+ trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
100843
100894
  imageRef: (string | null);
100844
100895
  commitSha: (string | null);
100845
100896
  createdAt: string;
@@ -101020,9 +101071,15 @@ export interface DeploymentVcsConnectionListInput {
101020
101071
  }
101021
101072
  export type DeploymentVcsConnectionListOutput = {
101022
101073
  status: string;
101074
+ provider: ("github" | "github-token");
101075
+ autoDeploy: {
101076
+ reason?: string;
101077
+ enabled: boolean;
101078
+ };
101023
101079
  connectorId: string;
101080
+ needsReauth: boolean;
101024
101081
  accountLogin: string;
101025
- installationId: string;
101082
+ installationId: (string | null);
101026
101083
  }[];
101027
101084
  export interface DeploymentVcsRepoListInput {
101028
101085
  page?: number;
@@ -101030,9 +101087,9 @@ export interface DeploymentVcsRepoListInput {
101030
101087
  connectorId: string;
101031
101088
  }
101032
101089
  export type DeploymentVcsRepoListOutput = {
101033
- private: boolean;
101090
+ private?: boolean;
101034
101091
  fullName: string;
101035
- defaultBranch: string;
101092
+ defaultBranch?: string;
101036
101093
  }[];
101037
101094
  export interface DeploymentVolumeCreateInput {
101038
101095
  name: string;
package/dist/index.cjs CHANGED
@@ -3772,6 +3772,10 @@ var bindings = {
3772
3772
  {
3773
3773
  "in": "body",
3774
3774
  "name": "prBranch"
3775
+ },
3776
+ {
3777
+ "in": "body",
3778
+ "name": "repoFullName"
3775
3779
  }
3776
3780
  ],
3777
3781
  "path": "/deployment/preview-environments",