@stack-spot/portal-network 1.0.0-dev.1770408385676 → 1.0.0-dev.1770819406507

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.
@@ -199,40 +199,6 @@ declare class CloudPlatformClient extends ReactQueryNetworkClient {
199
199
  networkId: string;
200
200
  }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").NetworkResponse>;
201
201
  /**
202
- * Get a list of tenants
203
- */
204
- listTenants: import("../network/types.js").QueryObject<Omit<{
205
- authorization: string;
206
- xAccountId?: string;
207
- foundationId: string;
208
- }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").ListTenantResponse>;
209
- /**
210
- * Create a tenant
211
- */
212
- createTenant: import("../network/types.js").MutationObject<Omit<{
213
- authorization: string;
214
- xAccountId?: string;
215
- foundationId: string;
216
- createTenantRequest: import("../api/cloudPlatform.js").CreateTenantRequest;
217
- }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").TenantResponse>;
218
- /**
219
- * Get a list of runtimes
220
- */
221
- listRuntimes: import("../network/types.js").QueryObject<Omit<{
222
- foundationId: string;
223
- tenantId?: string;
224
- projectId?: string;
225
- }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").ListRuntimeResponse>;
226
- /**
227
- * Create a runtime
228
- */
229
- createRuntime: import("../network/types.js").MutationObject<Omit<{
230
- authorization: string;
231
- xAccountId?: string;
232
- foundationId: string;
233
- createRuntimeRequest: import("../api/cloudPlatform.js").CreateRuntimeRequest;
234
- }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").RuntimeResponse>;
235
- /**
236
202
  * Get a list of tags in folder
237
203
  */
238
204
  getFolderTags: import("../network/types.js").QueryObject<Omit<{
@@ -383,6 +349,108 @@ declare class CloudPlatformClient extends ReactQueryNetworkClient {
383
349
  foundationId: string;
384
350
  cidrId: string;
385
351
  }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, never>;
352
+ /**
353
+ * Get a list of foundation boundaries
354
+ */
355
+ listBoundaries: import("../network/types.js").QueryObject<Omit<{
356
+ foundationId: string;
357
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").ListBoundaryResponse>;
358
+ /**
359
+ * Get a list of foundation sso boundaries
360
+ */
361
+ listSSOBoundaries: import("../network/types.js").QueryObject<Omit<{
362
+ foundationId: string;
363
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").ListBoundarySsoResponse>;
364
+ /**
365
+ * Create a boundary
366
+ */
367
+ createBoundary: import("../network/types.js").MutationObject<Omit<{
368
+ foundationId: string;
369
+ createBoundaryRequest: import("../api/cloudPlatform.js").CreateBoundaryRequest;
370
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundaryResponse>;
371
+ /**
372
+ * Create a sso boundary
373
+ */
374
+ createSSOBoundary: import("../network/types.js").MutationObject<Omit<{
375
+ foundationId: string;
376
+ createBoundarySsoRequest: import("../api/cloudPlatform.js").CreateBoundarySsoRequest;
377
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundarySsoResponse>;
378
+ /**
379
+ * Get details of a boundary
380
+ */
381
+ getBoundary: import("../network/types.js").QueryObject<Omit<{
382
+ foundationId: string;
383
+ boundaryId: string;
384
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundaryResponse>;
385
+ /**
386
+ * Get details of a sso boundary
387
+ */
388
+ getSSOBoundary: import("../network/types.js").QueryObject<Omit<{
389
+ foundationId: string;
390
+ boundarySsoId: string;
391
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundarySsoResponse>;
392
+ /**
393
+ * Delete a boundary
394
+ */
395
+ deleteBoundary: import("../network/types.js").MutationObject<Omit<{
396
+ foundationId: string;
397
+ boundaryId: string;
398
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, never>;
399
+ /**
400
+ * Delete a sso boundary
401
+ */
402
+ deleteSSOBoundary: import("../network/types.js").MutationObject<Omit<{
403
+ foundationId: string;
404
+ boundarySsoId: string;
405
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, never>;
406
+ /**
407
+ * Edit boundary tags
408
+ */
409
+ editBoundaryTags: import("../network/types.js").MutationObject<Omit<{
410
+ foundationId: string;
411
+ boundaryId: string;
412
+ body: import("../api/cloudPlatform.js").Tag[];
413
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundaryResponse>;
414
+ /**
415
+ * Edit sso boundary tags
416
+ */
417
+ editSSOBoundaryTags: import("../network/types.js").MutationObject<Omit<{
418
+ foundationId: string;
419
+ boundarySsoId: string;
420
+ body: import("../api/cloudPlatform.js").Tag[];
421
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundarySsoResponse>;
422
+ /**
423
+ * Edit boundary policy document
424
+ */
425
+ editBoundaryPolicyDocument: import("../network/types.js").MutationObject<Omit<{
426
+ foundationId: string;
427
+ boundaryId: string;
428
+ body: string;
429
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundaryResponse>;
430
+ /**
431
+ * Edit sso boundary policy document
432
+ */
433
+ editSSOBoundaryPolicyDocument: import("../network/types.js").MutationObject<Omit<{
434
+ foundationId: string;
435
+ boundarySsoId: string;
436
+ body: string;
437
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundarySsoResponse>;
438
+ /**
439
+ * Edit boundary description
440
+ */
441
+ editBoundaryDescription: import("../network/types.js").MutationObject<Omit<{
442
+ foundationId: string;
443
+ boundaryId: string;
444
+ body: string;
445
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundaryResponse>;
446
+ /**
447
+ * Edit sso boundary description
448
+ */
449
+ editSSOBoundaryDescription: import("../network/types.js").MutationObject<Omit<{
450
+ foundationId: string;
451
+ boundarySsoId: string;
452
+ body: string;
453
+ }, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudPlatform.js").BoundarySsoResponse>;
386
454
  }
387
455
  export declare const cloudPlatformClient: CloudPlatformClient;
388
456
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"cloud-platform.d.ts","sourceRoot":"","sources":["../../src/client/cloud-platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AA+C7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAK5E,cAAM,mBAAoB,SAAQ,uBAAuB;;IAKvD,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAGlE;;OAEG;IACH,eAAe;;;0HAAwD;IACvE;;OAEG;IACH,UAAU;;;;sHAAsD;IAChE;;OAEG;IACH,SAAS;;;;;kHAAkD;IAC3D;;OAEG;IACH,gBAAgB;;;;sHAA4D;IAC5E;;OAEG;IACH,YAAY;;;;;kHAAwD;IACpE;;OAEG;IACH,YAAY;;;;;;uHAAoD;IAChE;;OAEG;IACH,aAAa;;;;;mHAAyD;IACtE;;OAEG;IACH,SAAS;;;;oHAAiD;IAC1D;;OAEG;IACH,UAAU;;;;;gHAAsD;IAChE;;OAEG;IACH,gBAAgB;;;;;2HAAyD;IACzE;;OAEG;IACH,cAAc;;;;;uHAAuD;IACrE;;OAEG;IACH,iBAAiB;;;;;uHAA6D;IAC9E;;OAEG;IACH,aAAa;;;;;mHAAyD;IACtE;;OAEG;IACH,cAAc;;;;;mHAAmD;IACjE;;OAEG;IACH,cAAc;;;;;;yHAAsD;IACpE;;OAEG;IACH,eAAe;;;;;qHAA2D;IAC1E;;OAEG;IACH,YAAY;;;;;uHAAoD;IAChE;;OAEG;IACH,aAAa;;;;;mHAAyD;IACtE;;OAEG;IACH,QAAQ;;;;mHAAiD;IACzD;;OAEG;IACH,mBAAmB;;;;;4HAA4D;IAC/E;;OAEG;IACH,SAAS;;;;;+GAAqD;IAC9D;;OAEG;IACH,cAAc;;;;;mHAAmD;IACjE;;KAEC;IACD,WAAW;;;;sHAAmD;IAC9D;;KAEC;IACD,YAAY;;;;;kHAAwD;IACpE;;MAEE;IACF,YAAY;;;;uHAAoD;IAChE;;MAEE;IACF,aAAa;;;;;mHAAyD;IACtE;;MAEE;IACF,aAAa;;;;;yGAAsD;IACnE;;MAEE;IACF,gBAAgB;;;;;;kHAAyD;IACzE;;MAEE;IACF,iBAAiB;;;;;;mHAA0D;IAC3E;;MAEE;IACF,iBAAiB;;;;;;mHAA0D;IAC3E;;MAEE;IACF,cAAc;;;;;;gHAAuD;IACrE;;MAEE;IACF,iBAAiB;;;;;;mHAA0D;IAC3E;;MAEE;IACF,qBAAqB;;;;;;uHAA8D;IACnF;;MAEE;IACF,aAAa;;;;;;+GAAsD;IACnE;;MAEE;IACF,YAAY;;;;;0EAAwD;IACpE;;MAEE;IACF,aAAa;;;;;0EAAyD;IACtE;;MAEE;IACF,aAAa;;;;;0EAAyD;IACtE;;MAEE;IACF,iBAAiB;;;;;0EAA6D;IAC9E;;MAEE;IACF,aAAa;;;;;0EAAyD;IACtE;;MAEE;IACF,eAAe;;;;;0EAA2D;IAC1E;;MAEE;IACF,SAAS;;;;;0EAAqD;IAC9D;;MAEE;IACF,UAAU;;;;;0EAAsD;CACjE;AAED,eAAO,MAAM,mBAAmB,qBAA4B,CAAA"}
1
+ {"version":3,"file":"cloud-platform.d.ts","sourceRoot":"","sources":["../../src/client/cloud-platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAyD7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B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;;;mHAA0D;IAC3E;;MAEE;IACF,qBAAqB;;;;;;uHAA8D;IACnF;;MAEE;IACF,aAAa;;;;;;+GAAsD;IACnE;;MAEE;IACF,YAAY;;;;;0EAAwD;IACpE;;MAEE;IACF,aAAa;;;;;0EAAyD;IACtE;;MAEE;IACF,aAAa;;;;;0EAAyD;IACtE;;MAEE;IACF,iBAAiB;;;;;0EAA6D;IAC9E;;MAEE;IACF,aAAa;;;;;0EAAyD;IACtE;;MAEE;IACF,eAAe;;;;;0EAA2D;IAC1E;;MAEE;IACF,SAAS;;;;;0EAAqD;IAC9D;;MAEE;IACF,UAAU;;;;;0EAAsD;IAChE;;IAEA;IACA,cAAc;;wHAAqD;IACnE;;IAEA;IACA,iBAAiB;;2HAAwD;IACzE;;IAEA;IACA,cAAc;;;oHAA0D;IACxE;;IAEA;IACA,iBAAiB;;;uHAA6D;IAC9E;;IAEA;IACA,WAAW;;;oHAAoD;IAC/D;;IAEA;IACA,cAAc;;;uHAAuD;IACrE;;IAEA;IACA,cAAc;;;0EAA0D;IACxE;;IAEA;IACA,iBAAiB;;;0EAA6D;IAC9E;;IAEA;IACA,gBAAgB;;;;oHAA2D;IAC3E;;IAEA;IACA,mBAAmB;;;;uHAA8D;IACjF;;IAEA;IACA,0BAA0B;;;;oHAAqE;IAC/F;;IAEA;IACA,6BAA6B;;;;uHAAwE;IACrG;;IAEA;IACA,uBAAuB;;;;oHAAkE;IACzF;;IAEA;IACA,0BAA0B;;;;uHAAqE;CAChG;AAED,eAAO,MAAM,mBAAmB,qBAA4B,CAAA"}
@@ -1,4 +1,4 @@
1
- import { createCertificate, createCidr, createDnsRecord, createDnsZone, createFolder, createFoundation, createNetwork, createProject, createRuntime, createTenant, createVpn, defaults, deleteCertificate, deleteCidr, deleteDnsRecord, deleteDnsZone, deleteFolder, deleteNetwork, deleteProject, deleteVpn, getCertificate, getFolder, getFolderTags, getFoundation, getNetwork, getProject, getVpnConfiguration, listCertificates, listCidr, listDnsRecord, listDnsZone, listFoundations, listNetwork, listRuntime, listTenant, listVpns, putCertificateTags, putCidrTags, putDnsZoneTags, putFolderTags, putNetworkTags, putProjectTags, putVpnTags, } from '../api/cloudPlatform.js';
1
+ import { createBoundary, createBoundarySso, createCertificate, createCidr, createDnsRecord, createDnsZone, createFolder, createFoundation, createNetwork, createProject, createVpn, defaults, deleteBoundary, deleteBoundarySso, deleteCertificate, deleteCidr, deleteDnsRecord, deleteDnsZone, deleteFolder, deleteNetwork, deleteProject, deleteVpn, getBoundary, getBoundarySso, getCertificate, getFolder, getFolderTags, getFoundation, getNetwork, getProject, getVpnConfiguration, listBoundary, listBoundarySso, listCertificates, listCidr, listDnsRecord, listDnsZone, listFoundations, listNetwork, listVpns, putBoundaryDescription, putBoundaryPolicyDocument, putBoundarySsoDescription, putBoundarySsoPolicyDocument, putBoundarySsoTags, putBoundaryTags, putCertificateTags, putCidrTags, putDnsZoneTags, putFolderTags, putNetworkTags, putProjectTags, putVpnTags, } from '../api/cloudPlatform.js';
2
2
  import { DefaultAPIError } from '../error/DefaultAPIError.js';
3
3
  import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
4
4
  import { removeAuthorizationParam } from '../utils/remove-authorization-param.js';
@@ -206,42 +206,6 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
206
206
  value: this.query(removeAuthorizationParam(getNetwork))
207
207
  });
208
208
  /**
209
- * Get a list of tenants
210
- */
211
- Object.defineProperty(this, "listTenants", {
212
- enumerable: true,
213
- configurable: true,
214
- writable: true,
215
- value: this.query(removeAuthorizationParam(listTenant))
216
- });
217
- /**
218
- * Create a tenant
219
- */
220
- Object.defineProperty(this, "createTenant", {
221
- enumerable: true,
222
- configurable: true,
223
- writable: true,
224
- value: this.mutation(removeAuthorizationParam(createTenant))
225
- });
226
- /**
227
- * Get a list of runtimes
228
- */
229
- Object.defineProperty(this, "listRuntimes", {
230
- enumerable: true,
231
- configurable: true,
232
- writable: true,
233
- value: this.query(removeAuthorizationParam(listRuntime))
234
- });
235
- /**
236
- * Create a runtime
237
- */
238
- Object.defineProperty(this, "createRuntime", {
239
- enumerable: true,
240
- configurable: true,
241
- writable: true,
242
- value: this.mutation(removeAuthorizationParam(createRuntime))
243
- });
244
- /**
245
209
  * Get a list of tags in folder
246
210
  */
247
211
  Object.defineProperty(this, "getFolderTags", {
@@ -385,6 +349,132 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
385
349
  writable: true,
386
350
  value: this.mutation(removeAuthorizationParam(deleteCidr))
387
351
  });
352
+ /**
353
+ * Get a list of foundation boundaries
354
+ */
355
+ Object.defineProperty(this, "listBoundaries", {
356
+ enumerable: true,
357
+ configurable: true,
358
+ writable: true,
359
+ value: this.query(removeAuthorizationParam(listBoundary))
360
+ });
361
+ /**
362
+ * Get a list of foundation sso boundaries
363
+ */
364
+ Object.defineProperty(this, "listSSOBoundaries", {
365
+ enumerable: true,
366
+ configurable: true,
367
+ writable: true,
368
+ value: this.query(removeAuthorizationParam(listBoundarySso))
369
+ });
370
+ /**
371
+ * Create a boundary
372
+ */
373
+ Object.defineProperty(this, "createBoundary", {
374
+ enumerable: true,
375
+ configurable: true,
376
+ writable: true,
377
+ value: this.mutation(removeAuthorizationParam(createBoundary))
378
+ });
379
+ /**
380
+ * Create a sso boundary
381
+ */
382
+ Object.defineProperty(this, "createSSOBoundary", {
383
+ enumerable: true,
384
+ configurable: true,
385
+ writable: true,
386
+ value: this.mutation(removeAuthorizationParam(createBoundarySso))
387
+ });
388
+ /**
389
+ * Get details of a boundary
390
+ */
391
+ Object.defineProperty(this, "getBoundary", {
392
+ enumerable: true,
393
+ configurable: true,
394
+ writable: true,
395
+ value: this.query(removeAuthorizationParam(getBoundary))
396
+ });
397
+ /**
398
+ * Get details of a sso boundary
399
+ */
400
+ Object.defineProperty(this, "getSSOBoundary", {
401
+ enumerable: true,
402
+ configurable: true,
403
+ writable: true,
404
+ value: this.query(removeAuthorizationParam(getBoundarySso))
405
+ });
406
+ /**
407
+ * Delete a boundary
408
+ */
409
+ Object.defineProperty(this, "deleteBoundary", {
410
+ enumerable: true,
411
+ configurable: true,
412
+ writable: true,
413
+ value: this.mutation(removeAuthorizationParam(deleteBoundary))
414
+ });
415
+ /**
416
+ * Delete a sso boundary
417
+ */
418
+ Object.defineProperty(this, "deleteSSOBoundary", {
419
+ enumerable: true,
420
+ configurable: true,
421
+ writable: true,
422
+ value: this.mutation(removeAuthorizationParam(deleteBoundarySso))
423
+ });
424
+ /**
425
+ * Edit boundary tags
426
+ */
427
+ Object.defineProperty(this, "editBoundaryTags", {
428
+ enumerable: true,
429
+ configurable: true,
430
+ writable: true,
431
+ value: this.mutation(removeAuthorizationParam(putBoundaryTags))
432
+ });
433
+ /**
434
+ * Edit sso boundary tags
435
+ */
436
+ Object.defineProperty(this, "editSSOBoundaryTags", {
437
+ enumerable: true,
438
+ configurable: true,
439
+ writable: true,
440
+ value: this.mutation(removeAuthorizationParam(putBoundarySsoTags))
441
+ });
442
+ /**
443
+ * Edit boundary policy document
444
+ */
445
+ Object.defineProperty(this, "editBoundaryPolicyDocument", {
446
+ enumerable: true,
447
+ configurable: true,
448
+ writable: true,
449
+ value: this.mutation(removeAuthorizationParam(putBoundaryPolicyDocument))
450
+ });
451
+ /**
452
+ * Edit sso boundary policy document
453
+ */
454
+ Object.defineProperty(this, "editSSOBoundaryPolicyDocument", {
455
+ enumerable: true,
456
+ configurable: true,
457
+ writable: true,
458
+ value: this.mutation(removeAuthorizationParam(putBoundarySsoPolicyDocument))
459
+ });
460
+ /**
461
+ * Edit boundary description
462
+ */
463
+ Object.defineProperty(this, "editBoundaryDescription", {
464
+ enumerable: true,
465
+ configurable: true,
466
+ writable: true,
467
+ value: this.mutation(removeAuthorizationParam(putBoundaryDescription))
468
+ });
469
+ /**
470
+ * Edit sso boundary description
471
+ */
472
+ Object.defineProperty(this, "editSSOBoundaryDescription", {
473
+ enumerable: true,
474
+ configurable: true,
475
+ writable: true,
476
+ value: this.mutation(removeAuthorizationParam(putBoundarySsoDescription))
477
+ });
388
478
  }
389
479
  buildStackSpotError(error) {
390
480
  return new DefaultAPIError(error.data, error.status, scfDictionary, error.headers);
@@ -1 +1 @@
1
- {"version":3,"file":"cloud-platform.js","sourceRoot":"","sources":["../../src/client/cloud-platform.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,SAAS,EACT,cAAc,EACd,SAAS,EACT,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,EACR,aAAa,EACb,WAAW,EACX,eAAe,EACf,WAAW,EACX,WAAW,EACX,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAE1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,MAAM,mBAAoB,SAAQ,uBAAuB;IACvD;QACE,KAAK,CAAC,eAAe,EAAE,CAAC,aAAa,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;QAMtD;;WAEG;QACH;;;;mBAAkB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,eAAe,CAAC,CAAC;WAAA;QACvE;;WAEG;QACH;;;;mBAAa,IAAI,CAAC,KAAK,CAAC,w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;QAC9D;;UAEE;QACF;;;;mBAAa,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;WAAA;IA5KhE,CAAC;IAES,mBAAmB,CAAC,KAAgB;QAC5C,OAAO,IAAI,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;IACpF,CAAC;CAyKF;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"cloud-platform.js","sourceRoot":"","sources":["../../src/client/cloud-platform.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,SAAS,EACT,QAAQ,EACR,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,SAAS,EACT,WAAW,EACX,cAAc,EACd,cAAc,EACd,SAAS,EACT,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,aAAa,EACb,WAAW,EACX,eAAe,EACf,WAAW,EACX,QAAQ,EACR,sBAAsB,EACtB,yBAAyB,EACzB,yBAAyB,EACzB,4BAA4B,EAC5B,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAE1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,q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C,CAAC;WAAA;QACrG;;QAEA;QACA;;;;mBAA0B,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,CAAC;WAAA;QACzF;;QAEA;QACA;;;;mBAA6B,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,yBAAyB,CAAC,CAAC;WAAA;IApN/F,CAAC;IAES,mBAAmB,CAAC,KAAgB;QAC5C,OAAO,IAAI,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;IACpF,CAAC;CAiNF;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stack-spot/portal-network",
3
- "version": "1.0.0-dev.1770408385676",
3
+ "version": "1.0.0-dev.1770819406507",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/api/ai.ts CHANGED
@@ -368,6 +368,7 @@ export type QuickCommandListResponse = {
368
368
  export type Method = "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE";
369
369
  export type QuickCommandsStepFetchRequest = {
370
370
  slug: string;
371
+ "type"?: "FETCH";
371
372
  url: string;
372
373
  method: Method;
373
374
  headers?: {
@@ -378,6 +379,7 @@ export type QuickCommandsStepFetchRequest = {
378
379
  };
379
380
  export type QuickCommandsStepPromptRequest = {
380
381
  slug: string;
382
+ "type"?: "LLM";
381
383
  prompt: string;
382
384
  use_stack?: boolean;
383
385
  use_project_files?: boolean;
@@ -390,6 +392,16 @@ export type QuickCommandsStepPromptRequest = {
390
392
  next_step_slug?: string | null;
391
393
  next_failure_step_slug?: string | null;
392
394
  };
395
+ export type QuickCommandsStepParallelEndRequest = {
396
+ slug: string;
397
+ "type"?: "PARALLEL_END";
398
+ next_step_slug: string;
399
+ };
400
+ export type QuickCommandsStepParallelStartRequest = {
401
+ slug: string;
402
+ "type"?: "PARALLEL_START";
403
+ next_steps_slugs: string[];
404
+ };
393
405
  export type OperatorType = "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "endsWith" | "greater" | "smaller" | "greaterEqual" | "smallerEqual" | "isEmpty" | "isNotEmpty" | "isDefined" | "isUndefined";
394
406
  export type SimpleExpr = {
395
407
  left?: any | null;
@@ -414,11 +426,13 @@ export type RouterStepRoute = {
414
426
  };
415
427
  export type QuickCommandsStepRouterRequest = {
416
428
  slug: string;
429
+ "type"?: "ROUTER";
417
430
  routes: RouterStepRoute[];
418
431
  max_executions: number;
419
432
  };
420
433
  export type QuickCommandsStepScriptRequest = {
421
434
  slug: string;
435
+ "type"?: "SCRIPT";
422
436
  script: string;
423
437
  use_uploaded_files: boolean;
424
438
  next_step_slug?: string | null;
@@ -434,7 +448,19 @@ export type QuickCommandsCreateRequest = {
434
448
  "type"?: QuickCommandTypeRequest;
435
449
  description: string;
436
450
  final_result: string;
437
- steps: (QuickCommandsStepFetchRequest | QuickCommandsStepPromptRequest | QuickCommandsStepRouterRequest | QuickCommandsStepScriptRequest)[];
451
+ steps: (({
452
+ "type": "FETCH";
453
+ } & QuickCommandsStepFetchRequest) | ({
454
+ "type": "LLM";
455
+ } & QuickCommandsStepPromptRequest) | ({
456
+ "type": "PARALLEL_END";
457
+ } & QuickCommandsStepParallelEndRequest) | ({
458
+ "type": "PARALLEL_START";
459
+ } & QuickCommandsStepParallelStartRequest) | ({
460
+ "type": "ROUTER";
461
+ } & QuickCommandsStepRouterRequest) | ({
462
+ "type": "SCRIPT";
463
+ } & QuickCommandsStepScriptRequest))[];
438
464
  return_type?: QuickCommandsReturnType | null;
439
465
  preserve_conversation?: boolean;
440
466
  custom_inputs?: CustomInputRequest[] | null;
@@ -443,6 +469,20 @@ export type QuickCommandsCreateRequest = {
443
469
  } | null;
444
470
  share_context_between_steps?: boolean | null;
445
471
  };
472
+ export type QuickCommandAccountListResponseV1 = {
473
+ name: string;
474
+ username: string;
475
+ "type": QuickCommandTypeRequest;
476
+ creator: string | null;
477
+ created_at?: string | null;
478
+ visibility_level: string;
479
+ id: string;
480
+ slug: string;
481
+ };
482
+ export type PaginatedResponseQuickCommandAccountListResponseV1 = {
483
+ total_pages: number;
484
+ items: QuickCommandAccountListResponseV1[];
485
+ };
446
486
  export type QuickCommandsUpdateRequest = {
447
487
  name?: string | null;
448
488
  description?: string | null;
@@ -459,7 +499,7 @@ export type QuickCommandsUpdateRequest = {
459
499
  use_only?: boolean | null;
460
500
  use_uploaded_files?: boolean | null;
461
501
  };
462
- export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER" | "SCRIPT";
502
+ export type QuickCommandStepType = "LLM" | "FETCH" | "ROUTER" | "SCRIPT" | "PARALLEL_START" | "PARALLEL_END";
463
503
  export type Method2 = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
464
504
  export type QuickCommandStepFetchResponse = {
465
505
  slug: string;
@@ -600,7 +640,7 @@ export type QuickCommandFetchResponseResult = {
600
640
  [key: string]: string;
601
641
  } | null;
602
642
  data?: string | null;
603
- status: number;
643
+ status_code?: number | null;
604
644
  };
605
645
  export type QuickCommandStepScriptStatus = "queued" | "running" | "success" | "failure";
606
646
  export type QuickCommandScriptExecutionResponse = {
@@ -2643,6 +2683,46 @@ export function listAllV1QuickCommandsAllGet({ visibility, order, types, authori
2643
2683
  })
2644
2684
  }));
2645
2685
  }
2686
+ /**
2687
+ * List All
2688
+ */
2689
+ export function listAllV1QuickCommandsAccountGet({ name, size, page, username, order, types, authorization, xAccountId, xMemberId, xUsername }: {
2690
+ name?: string | null;
2691
+ size?: number;
2692
+ page?: number;
2693
+ username?: string | null;
2694
+ order?: OrderEnum | null;
2695
+ types?: QuickCommandTypeRequest[] | null;
2696
+ authorization: string;
2697
+ xAccountId?: string | null;
2698
+ xMemberId?: string | null;
2699
+ xUsername?: string | null;
2700
+ }, opts?: Oazapfts.RequestOpts) {
2701
+ return oazapfts.ok(oazapfts.fetchJson<{
2702
+ status: 200;
2703
+ data: PaginatedResponseQuickCommandAccountListResponseV1;
2704
+ } | {
2705
+ status: 404;
2706
+ } | {
2707
+ status: 422;
2708
+ data: HttpValidationError;
2709
+ }>(`/v1/quick-commands/account${QS.query(QS.explode({
2710
+ name,
2711
+ size,
2712
+ page,
2713
+ username,
2714
+ order,
2715
+ types
2716
+ }))}`, {
2717
+ ...opts,
2718
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2719
+ authorization,
2720
+ "x-account-id": xAccountId,
2721
+ "x-member-id": xMemberId,
2722
+ "x-username": xUsername
2723
+ })
2724
+ }));
2725
+ }
2646
2726
  /**
2647
2727
  * Update Quick Command
2648
2728
  */
@@ -2791,8 +2871,9 @@ export function deleteFavoriteV1QuickCommandsSlugFavoriteDelete({ slug, authoriz
2791
2871
  /**
2792
2872
  * Share
2793
2873
  */
2794
- export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccountId, xMemberId, xUsername }: {
2874
+ export function shareV1QuickCommandsSlugSharePost({ slug, isResourceAccessManager, authorization, xAccountId, xMemberId, xUsername }: {
2795
2875
  slug: string;
2876
+ isResourceAccessManager?: boolean | null;
2796
2877
  authorization: string;
2797
2878
  xAccountId?: string | null;
2798
2879
  xMemberId?: string | null;
@@ -2805,7 +2886,9 @@ export function shareV1QuickCommandsSlugSharePost({ slug, authorization, xAccoun
2805
2886
  } | {
2806
2887
  status: 422;
2807
2888
  data: HttpValidationError;
2808
- }>(`/v1/quick-commands/${encodeURIComponent(slug)}/share`, {
2889
+ }>(`/v1/quick-commands/${encodeURIComponent(slug)}/share${QS.query(QS.explode({
2890
+ is_resource_access_manager: isResourceAccessManager
2891
+ }))}`, {
2809
2892
  ...opts,
2810
2893
  method: "POST",
2811
2894
  headers: oazapfts.mergeHeaders(opts?.headers, {