@stack-spot/portal-network 0.37.0 → 0.38.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.
@@ -7,89 +7,100 @@ declare class CloudPlatformClient extends ReactQueryNetworkClient {
7
7
  /**
8
8
  * Get list of applications
9
9
  */
10
- listApplications: import("../network/types.js").QueryObject<{
10
+ listApplications: import("../network/types.js").QueryObject<Omit<{
11
+ authorization: string;
11
12
  projectId: string;
12
13
  limit?: number | undefined;
13
14
  offset?: number | undefined;
14
- name?: string | undefined;
15
- }, import("../api/cloudPlatform.js").ListApplicationsResponse>;
15
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").ListApplicationsResponse>;
16
16
  /**
17
17
  * Get an application by id
18
18
  */
19
- application: import("../network/types.js").QueryObject<{
19
+ application: import("../network/types.js").QueryObject<Omit<{
20
+ authorization: string;
20
21
  applicationId: string;
21
- }, import("../api/cloudPlatform.js").ApplicationResponse>;
22
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").ApplicationResponse>;
22
23
  /**
23
24
  * Get an application history
24
25
  */
25
- applicationHistory: import("../network/types.js").QueryObject<{
26
+ applicationHistory: import("../network/types.js").QueryObject<Omit<{
27
+ authorization: string;
26
28
  applicationId: string;
27
29
  limit?: number | undefined;
28
30
  offset?: number | undefined;
29
- }, import("../api/cloudPlatform.js").ListApplicationHistoryResponse>;
31
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").ListApplicationHistoryResponse>;
30
32
  /**
31
33
  * Get list of application deployments
32
34
  */
33
- listApplicationDeployments: import("../network/types.js").QueryObject<{
35
+ listApplicationDeployments: import("../network/types.js").QueryObject<Omit<{
34
36
  applicationId: string;
35
- }, import("../api/cloudPlatform.js").BasicDeploymentResponse[]>;
37
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").BasicDeploymentResponse[]>;
36
38
  /**
37
39
  * Get an application deployment by id
38
40
  */
39
- applicationDeployment: import("../network/types.js").QueryObject<{
41
+ applicationDeployment: import("../network/types.js").QueryObject<Omit<{
42
+ authorization: string;
40
43
  deploymentId: string;
41
- }, import("../api/cloudPlatform.js").DeploymentResponse>;
44
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").DeploymentResponse>;
42
45
  /**
43
46
  * Get an application deployment status
44
47
  */
45
- applicationDeploymentStatus: import("../network/types.js").QueryObject<{
48
+ applicationDeploymentStatus: import("../network/types.js").QueryObject<Omit<{
49
+ authorization: string;
46
50
  deploymentId: string;
47
- }, import("../api/cloudPlatform.js").DeploymentStatusResponse>;
51
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").DeploymentStatusResponse>;
48
52
  /**
49
53
  * Get an application deployment health
50
54
  */
51
- applicationDeploymentHealth: import("../network/types.js").QueryObject<{
55
+ applicationDeploymentHealth: import("../network/types.js").QueryObject<Omit<{
56
+ authorization: string;
52
57
  deploymentId: string;
53
- }, import("../api/cloudPlatform.js").DeploymentHealthResponse>;
58
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").DeploymentHealthResponse>;
54
59
  /**
55
60
  * Get an application deployment logs
56
61
  */
57
- applicationDeploymentLogs: import("../network/types.js").QueryObject<{
62
+ applicationDeploymentLogs: import("../network/types.js").QueryObject<Omit<{
63
+ authorization: string;
58
64
  deploymentId: string;
59
- }, import("../api/cloudPlatform.js").DeploymentLogResponse>;
65
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").DeploymentLogResponse>;
60
66
  /**
61
67
  * Get an application runtimes
62
68
  */
63
- listApplicationRuntimes: import("../network/types.js").QueryObject<{
69
+ listApplicationRuntimes: import("../network/types.js").QueryObject<Omit<{
70
+ authorization: string;
71
+ projectId: string;
64
72
  limit?: number | undefined;
65
73
  offset?: number | undefined;
66
- }, import("../api/cloudPlatform.js").ListRuntimesResponse>;
74
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").ListRuntimesResponse>;
67
75
  /**
68
76
  * Get list of repositories
69
77
  */
70
- listRepositories: import("../network/types.js").QueryObject<{
71
- registryId: string;
78
+ listRepositories: import("../network/types.js").QueryObject<Omit<{
79
+ authorization: string;
72
80
  limit?: number | undefined;
73
81
  offset?: number | undefined;
74
- }, import("../api/cloudPlatform.js").ListRepositoryResponse>;
82
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").ListRepositoryResponse>;
75
83
  /**
76
84
  * Get list of images from a repository
77
85
  */
78
- listRepositoryImages: import("../network/types.js").QueryObject<{
86
+ listRepositoryImages: import("../network/types.js").QueryObject<Omit<{
87
+ authorization: string;
79
88
  repositoryId: string;
80
- }, import("../api/cloudPlatform.js").GetRepositoryImagesResponse>;
89
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").GetRepositoryImagesResponse>;
81
90
  /**
82
91
  * Create a deploy of the application
83
92
  */
84
- createDeployment: import("../network/types.js").MutationObject<{
93
+ createDeployment: import("../network/types.js").MutationObject<Omit<{
94
+ authorization: string;
85
95
  createDeploymentRequest: import("../api/cloudPlatform.js").CreateDeploymentRequest;
86
- }, import("../api/cloudPlatform.js").DeploymentResponse>;
96
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").CreateDeploymentResponse>;
87
97
  /**
88
98
  * Create an application
89
99
  */
90
- createApplication: import("../network/types.js").MutationObject<{
100
+ createApplication: import("../network/types.js").MutationObject<Omit<{
101
+ authorization: string;
91
102
  createApplicationRequest: import("../api/cloudPlatform.js").CreateApplicationRequest;
92
- }, import("../api/cloudPlatform.js").ApplicationResponse>;
103
+ }, "jwtToken" | "authorization"> & {}, import("../api/cloudPlatform.js").ApplicationResponse>;
93
104
  }
94
105
  export declare const cloudPlatformClient: CloudPlatformClient;
95
106
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"cloud-platform.d.ts","sourceRoot":"","sources":["../../src/client/cloud-platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS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;IAChF;;OAEG;IACH,0BAA0B;;qGAAwD;IAClF;;OAEG;IACH,qBAAqB;;;8FAAsD;IAC3E;;OAEG;IACH,2BAA2B;;;oGAA4D;IACvF;;OAEG;IACH,2BAA2B;;;oGAA4D;IACvF;;OAEG;IACH,yBAAyB;;;iGAA0D;IACnF;;OAEG;IACH,uBAAuB;;;;;gGAAqD;IAC5E;;OAEG;IACH,gBAAgB;;;;kGAAyD;IACzE;;OAEG;IACH,oBAAoB;;;uGAA4D;IAChF;;OAEG;IACH,gBAAgB;;;oGAA4D;IAC5E;;OAEG;IACH,iBAAiB;;;+FAA6D;CAC/E;AAED,eAAO,MAAM,mBAAmB,qBAA4B,CAAA"}
@@ -3,6 +3,7 @@ import { DefaultAPIError } from '../error/DefaultAPIError.js';
3
3
  import { cntDictionary } from '../error/dictionary/cnt.js';
4
4
  import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
5
5
  import { createApplication, createDeployment, defaults, getApplication, getApplicationHistory, getDeployment, getDeploymentHealth, getDeploymentLogs, getDeploymentStatus, getRepositoryImages, listApplications, listDeployments, listRepositories, listRuntimes, } from '../api/cloudPlatform.js';
6
+ import { removeAuthorizationParam } from '../utils/remove-authorization-param.js';
6
7
  class CloudPlatformClient extends ReactQueryNetworkClient {
7
8
  constructor() {
8
9
  super(apis.cloudPlatform.url, defaults);
@@ -13,7 +14,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
13
14
  enumerable: true,
14
15
  configurable: true,
15
16
  writable: true,
16
- value: this.query(listApplications)
17
+ value: this.query(removeAuthorizationParam(listApplications))
17
18
  });
18
19
  /**
19
20
  * Get an application by id
@@ -22,7 +23,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
22
23
  enumerable: true,
23
24
  configurable: true,
24
25
  writable: true,
25
- value: this.query(getApplication)
26
+ value: this.query(removeAuthorizationParam(getApplication))
26
27
  });
27
28
  /**
28
29
  * Get an application history
@@ -31,7 +32,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
31
32
  enumerable: true,
32
33
  configurable: true,
33
34
  writable: true,
34
- value: this.query(getApplicationHistory)
35
+ value: this.query(removeAuthorizationParam(getApplicationHistory))
35
36
  });
36
37
  /**
37
38
  * Get list of application deployments
@@ -40,7 +41,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
40
41
  enumerable: true,
41
42
  configurable: true,
42
43
  writable: true,
43
- value: this.query(listDeployments)
44
+ value: this.query(removeAuthorizationParam(listDeployments))
44
45
  });
45
46
  /**
46
47
  * Get an application deployment by id
@@ -49,7 +50,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
49
50
  enumerable: true,
50
51
  configurable: true,
51
52
  writable: true,
52
- value: this.query(getDeployment)
53
+ value: this.query(removeAuthorizationParam(getDeployment))
53
54
  });
54
55
  /**
55
56
  * Get an application deployment status
@@ -58,7 +59,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
58
59
  enumerable: true,
59
60
  configurable: true,
60
61
  writable: true,
61
- value: this.query(getDeploymentStatus)
62
+ value: this.query(removeAuthorizationParam(getDeploymentStatus))
62
63
  });
63
64
  /**
64
65
  * Get an application deployment health
@@ -67,7 +68,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
67
68
  enumerable: true,
68
69
  configurable: true,
69
70
  writable: true,
70
- value: this.query(getDeploymentHealth)
71
+ value: this.query(removeAuthorizationParam(getDeploymentHealth))
71
72
  });
72
73
  /**
73
74
  * Get an application deployment logs
@@ -76,7 +77,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
76
77
  enumerable: true,
77
78
  configurable: true,
78
79
  writable: true,
79
- value: this.query(getDeploymentLogs)
80
+ value: this.query(removeAuthorizationParam(getDeploymentLogs))
80
81
  });
81
82
  /**
82
83
  * Get an application runtimes
@@ -85,7 +86,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
85
86
  enumerable: true,
86
87
  configurable: true,
87
88
  writable: true,
88
- value: this.query(listRuntimes)
89
+ value: this.query(removeAuthorizationParam(listRuntimes))
89
90
  });
90
91
  /**
91
92
  * Get list of repositories
@@ -94,7 +95,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
94
95
  enumerable: true,
95
96
  configurable: true,
96
97
  writable: true,
97
- value: this.query(listRepositories)
98
+ value: this.query(removeAuthorizationParam(listRepositories))
98
99
  });
99
100
  /**
100
101
  * Get list of images from a repository
@@ -103,7 +104,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
103
104
  enumerable: true,
104
105
  configurable: true,
105
106
  writable: true,
106
- value: this.query(getRepositoryImages)
107
+ value: this.query(removeAuthorizationParam(getRepositoryImages))
107
108
  });
108
109
  /**
109
110
  * Create a deploy of the application
@@ -112,7 +113,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
112
113
  enumerable: true,
113
114
  configurable: true,
114
115
  writable: true,
115
- value: this.mutation(createDeployment)
116
+ value: this.mutation(removeAuthorizationParam(createDeployment))
116
117
  });
117
118
  /**
118
119
  * Create an application
@@ -121,7 +122,7 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
121
122
  enumerable: true,
122
123
  configurable: true,
123
124
  writable: true,
124
- value: this.mutation(createApplication)
125
+ value: this.mutation(removeAuthorizationParam(createApplication))
125
126
  });
126
127
  }
127
128
  buildStackSpotError(error) {
@@ -1 +1 @@
1
- {"version":3,"file":"cloud-platform.js","sourceRoot":"","sources":["../../src/client/cloud-platform.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,cAAc,CAAA;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAEvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,g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AwB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,aAAa,CAAC,CAAC;WAAA;QAC3E;;WAEG;QACH;;;;mBAA8B,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,CAAC;WAAA;QACvF;;WAEG;QACH;;;;mBAA8B,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,CAAC;WAAA;QACvF;;WAEG;QACH;;;;mBAA4B,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,CAAC;WAAA;QACnF;;WAEG;QACH;;;;mBAA0B,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,YAAY,CAAC,CAAC;WAAA;QAC5E;;WAEG;QACH;;;;mBAAmB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,CAAC;WAAA;QACzE;;WAEG;QACH;;;;mBAAuB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,CAAC;WAAA;QAChF;;WAEG;QACH;;;;mBAAmB,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,CAAC;WAAA;QAC5E;;WAEG;QACH;;;;mBAAoB,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,CAAC;WAAA;IAxD9E,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;CAqDF;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": "0.37.0",
3
+ "version": "0.38.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",