@contrail/cli 3.4.6-alpha.c203463 → 3.4.6-alpha.cffb28e

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/README.md CHANGED
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
17
17
  $ contrail COMMAND
18
18
  running command...
19
19
  $ contrail (--version)
20
- @contrail/cli/3.4.6-alpha.c203463 linux-x64 node-v20.20.2
20
+ @contrail/cli/3.4.6-alpha.cffb28e linux-x64 node-v20.20.2
21
21
  $ contrail --help [COMMAND]
22
22
  USAGE
23
23
  $ contrail COMMAND
@@ -162,7 +162,10 @@ async function createGroupPrincipals(group, principals, orgUsers, allGroupsAfter
162
162
  try {
163
163
  await new sdk_1.Entities().batchCreate({
164
164
  entityName: 'group-principal',
165
- objects: principalsToCreate,
165
+ objects: {
166
+ principalReferences: principalsToCreate.map((x) => x.principalReference),
167
+ groupIds: [group.id],
168
+ },
166
169
  });
167
170
  }
168
171
  catch (e) {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.4.6-alpha.c203463",
2
+ "version": "3.4.6-alpha.cffb28e",
3
3
  "commands": {
4
4
  "app:create": {
5
5
  "id": "app:create",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/cli",
3
- "version": "3.4.6-alpha.c203463",
3
+ "version": "3.4.6-alpha.cffb28e",
4
4
  "description": "VibeIQ's Contrail Platform CLI.",
5
5
  "bin": {
6
6
  "contrail-cli": "./bin/run",