@postman-cse/onboarding-bootstrap 0.14.1 → 0.14.2

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/dist/action.cjs CHANGED
@@ -48026,6 +48026,12 @@ var PostmanAssetsClient = class {
48026
48026
  { cause: err }
48027
48027
  );
48028
48028
  }
48029
+ if (targetTeamId != null && err instanceof Error && err.message.includes("You are not authorized to perform this action")) {
48030
+ throw new Error(
48031
+ `The workspace-team-id input (${targetTeamId}) was rejected as unauthorized by the Postman API. In org-mode accounts it must be the numeric id of a sub-team this API key can access; GET https://api.getpostman.com/teams lists the available sub-teams. Fix the workspace-team-id value and re-run.`,
48032
+ { cause: err }
48033
+ );
48034
+ }
48029
48035
  throw err;
48030
48036
  }
48031
48037
  const createdWorkspace = asRecord(created?.workspace);
package/dist/cli.cjs CHANGED
@@ -46345,6 +46345,12 @@ var PostmanAssetsClient = class {
46345
46345
  { cause: err }
46346
46346
  );
46347
46347
  }
46348
+ if (targetTeamId != null && err instanceof Error && err.message.includes("You are not authorized to perform this action")) {
46349
+ throw new Error(
46350
+ `The workspace-team-id input (${targetTeamId}) was rejected as unauthorized by the Postman API. In org-mode accounts it must be the numeric id of a sub-team this API key can access; GET https://api.getpostman.com/teams lists the available sub-teams. Fix the workspace-team-id value and re-run.`,
46351
+ { cause: err }
46352
+ );
46353
+ }
46348
46354
  throw err;
46349
46355
  }
46350
46356
  const createdWorkspace = asRecord(created?.workspace);
package/dist/index.cjs CHANGED
@@ -48042,6 +48042,12 @@ var PostmanAssetsClient = class {
48042
48042
  { cause: err }
48043
48043
  );
48044
48044
  }
48045
+ if (targetTeamId != null && err instanceof Error && err.message.includes("You are not authorized to perform this action")) {
48046
+ throw new Error(
48047
+ `The workspace-team-id input (${targetTeamId}) was rejected as unauthorized by the Postman API. In org-mode accounts it must be the numeric id of a sub-team this API key can access; GET https://api.getpostman.com/teams lists the available sub-teams. Fix the workspace-team-id value and re-run.`,
48048
+ { cause: err }
48049
+ );
48050
+ }
48045
48051
  throw err;
48046
48052
  }
48047
48053
  const createdWorkspace = asRecord(created?.workspace);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postman-cse/onboarding-bootstrap",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "Public customer preview Postman bootstrap GitHub Action.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",