@stack-spot/portal-network 0.81.2 → 0.82.1

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.
@@ -329,6 +329,7 @@ export type CreateCidrRequest = {
329
329
  };
330
330
  export type CertificateDetails = {
331
331
  name: string;
332
+ forInbound: boolean;
332
333
  certificateStatus?: string;
333
334
  domainName?: string;
334
335
  notAfter?: string;
@@ -646,16 +647,18 @@ export function createFolder({ authorization, foundationId, createFolderRequest
646
647
  })
647
648
  })));
648
649
  }
649
- export function listDnsZone({ authorization, foundationId, projectId }: {
650
+ export function listDnsZone({ authorization, foundationId, projectId, privacy }: {
650
651
  authorization: string;
651
652
  foundationId: string;
652
653
  projectId?: string;
654
+ privacy?: string;
653
655
  }, opts?: Oazapfts.RequestOpts) {
654
656
  return oazapfts.ok(oazapfts.fetchJson<{
655
657
  status: 200;
656
658
  data: ListDnsZoneResponse;
657
659
  }>(`/v1/foundations/${encodeURIComponent(foundationId)}/dns-zones${QS.query(QS.explode({
658
- projectId
660
+ projectId,
661
+ privacy
659
662
  }))}`, {
660
663
  ...opts,
661
664
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -5,7 +5,7 @@ import { DefaultAPIError } from '../error/DefaultAPIError'
5
5
  import { StackspotAPIError } from '../error/StackspotAPIError'
6
6
  import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient'
7
7
  import { removeAuthorizationParam } from '../utils/remove-authorization-param'
8
- import { apply, createOrganization, createRuntime, createTenant, defaults, getOrganization, getRuntime, getTenant, listOrganizations } from '../api/cloudPlatformHorizon'
8
+ import { apply, createOrganization, createRuntime, createTenant, defaults, deploy, getOrganization, getRuntime, getTenant, listOrganizations, listRuntimes } from '../api/cloudPlatformHorizon'
9
9
  import { baseDictionary } from '../error/dictionary/base'
10
10
 
11
11
  class CloudPlatformHorizonClient extends ReactQueryNetworkClient {
@@ -48,6 +48,14 @@ class CloudPlatformHorizonClient extends ReactQueryNetworkClient {
48
48
  * Create an organization
49
49
  */
50
50
  createOrganization = this.mutation(removeAuthorizationParam(createOrganization))
51
+ /**
52
+ * List runtimes
53
+ */
54
+ listRuntimes = this.query(removeAuthorizationParam(listRuntimes))
55
+ /**
56
+ * Deploy an application
57
+ */
58
+ deployApplication = this.mutation(removeAuthorizationParam(deploy))
51
59
  }
52
60
 
53
61
  export const cloudPlatformHorizonClient = new CloudPlatformHorizonClient()
@@ -1,6 +1,6 @@
1
1
  import { RequestOpts } from '@oazapfts/runtime'
2
2
  import { AccountScmInfoSaveRequest, AccountScmInfoUpdateRequest, AccountScmStatusResponse, GroupsFromResourceResponse, MembersFromResourceResponse } from '../api/account'
3
- import { ChatRequest2, ChatResponse3, ConversationHistoryResponse, ConversationResponse } from '../api/ai'
3
+ import { ChatRequest, ChatResponse3, ConversationHistoryResponse, ConversationResponse } from '../api/ai'
4
4
  import { ConnectAccountRequestV2, ManagedAccountProvisionRequest } from '../api/cloudAccount'
5
5
  import { AllocationCostRequest, AllocationCostResponse, ChargePeriod, getAllocationCostFilters, ManagedService, ServiceResource } from '../api/cloudServices'
6
6
  import { Action } from '../api/workspace-ai'
@@ -169,7 +169,7 @@ export interface FixedPaginatedActivityResponse extends Omit<PaginatedActivityRe
169
169
  items: FixedActivityResponse[],
170
170
  }
171
171
 
172
- export interface FixedChatRequest extends ChatRequest2 {
172
+ export interface FixedChatRequest extends ChatRequest {
173
173
  context?: {
174
174
  workspace?: string,
175
175
  conversation_id?: string,