@prismatic-io/prism 6.0.4 → 6.0.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.
package/lib/index.js CHANGED
@@ -31760,12 +31760,12 @@ type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "js
31760
31760
  nodes {
31761
31761
  id
31762
31762
  name
31763
+ status
31763
31764
  customer {
31764
31765
  id
31765
31766
  name
31766
31767
  externalId
31767
31768
  }
31768
- port
31769
31769
  }
31770
31770
  pageInfo {
31771
31771
  hasNextPage
@@ -31773,7 +31773,7 @@ type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "js
31773
31773
  }
31774
31774
  }
31775
31775
  }
31776
- `,variables:{after:s,customer:t}});r=[...r,...c],s=f.endCursor,a=f.hasNextPage}gue.ux.table(r,{id:{minWidth:8,extended:!0},name:{},customerId:{extended:!0,get:(c)=>c.customer?.id??""},customer:{get:(c)=>c.customer?.name??""},customerExternalId:{extended:!0,get:(c)=>c.customer?.externalId??""},port:{}},{...e})}}var Eue=p_(A6(),1);var L9t="Only valid for Organization users.";class JPe extends Eue.Command{constructor(){super(...arguments)}static description="Create a JWT that may be used to register an On-Premise Resource.";static flags={customerId:Eue.Flags.string({char:"c",required:!1,description:`The ID of the customer for which to create the JWT. ${L9t}`}),orgOnly:Eue.Flags.boolean({required:!1,description:`Register a Resource available to Organization users only. ${L9t}`}),resourceId:Eue.Flags.string({char:"r",required:!1,description:"An optional ID of an existing On-Premise Resource for which to generate a new JWT."}),rotate:Eue.Flags.boolean({required:!1,description:"Invalidate all JWTs for the On-Premise Resource and get a new JWT."})};async run(){const{flags:{customerId:e,orgOnly:t,resourceId:r,rotate:a}}=await this.parse(JPe);if(a){const s=await E_({document:D_`
31776
+ `,variables:{after:s,customer:t}});r=[...r,...c],s=f.endCursor,a=f.hasNextPage}gue.ux.table(r,{id:{minWidth:8,extended:!0},name:{},customerId:{header:"Customer ID",extended:!0,get:(c)=>c.customer?.id??""},status:{get:(c)=>c.status??""},customer:{get:(c)=>c.customer?.name??""},customerExternalId:{header:"Customer External ID",extended:!0,get:(c)=>c.customer?.externalId??""}},{...e})}}var Eue=p_(A6(),1);var L9t="Only valid for Organization users.";class JPe extends Eue.Command{constructor(){super(...arguments)}static description="Create a JWT that may be used to register an On-Premise Resource.";static flags={customerId:Eue.Flags.string({char:"c",required:!1,description:`The ID of the customer for which to create the JWT. ${L9t}`}),orgOnly:Eue.Flags.boolean({required:!1,description:`Register a Resource available to Organization users only. ${L9t}`}),resourceId:Eue.Flags.string({char:"r",required:!1,description:"An optional ID of an existing On-Premise Resource for which to generate a new JWT."}),rotate:Eue.Flags.boolean({required:!1,description:"Invalidate all JWTs for the On-Premise Resource and get a new JWT."})};async run(){const{flags:{customerId:e,orgOnly:t,resourceId:r,rotate:a}}=await this.parse(JPe);if(a){const s=await E_({document:D_`
31777
31777
  mutation rotateOnPremiseResourceJWT(
31778
31778
  $customerId: ID
31779
31779
  $resourceId: ID
@@ -4932,5 +4932,5 @@
4932
4932
  "enableJsonFlag": false
4933
4933
  }
4934
4934
  },
4935
- "version": "6.0.4"
4935
+ "version": "6.0.5"
4936
4936
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/prism",
3
- "version": "6.0.4",
3
+ "version": "6.0.5",
4
4
  "description": "Build, deploy, and support integrations in Prismatic from the comfort of your command line",
5
5
  "keywords": ["prismatic", "cli"],
6
6
  "homepage": "https://prismatic.io",