@daocloud-proto/mcamel-rabbitmq 0.12.1-8 → 0.12.1-81

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/cluster.pb.ts CHANGED
@@ -25,6 +25,10 @@ export enum PermissionsType {
25
25
  CreateBackupConf = "CreateBackupConf",
26
26
  UpdateBackupConf = "UpdateBackupConf",
27
27
  DeleteBackupConf = "DeleteBackupConf",
28
+ GetTemplate = "GetTemplate",
29
+ CreateTemplate = "CreateTemplate",
30
+ UpdateTemplate = "UpdateTemplate",
31
+ DeleteTemplate = "DeleteTemplate",
28
32
  }
29
33
 
30
34
  export enum EventType {
@@ -48,11 +52,48 @@ export enum GetWorkspaceListReqSortDir {
48
52
  DESC = "DESC",
49
53
  }
50
54
 
55
+ export enum ClusterItemNetworkMode {
56
+ Unknown = "Unknown",
57
+ Flannel = "Flannel",
58
+ Calico = "Calico",
59
+ }
60
+
51
61
  export enum GetInsightAgentStatusRespInsightAgentStatus {
52
62
  NotInstall = "NotInstall",
53
63
  Install = "Install",
54
64
  }
55
65
 
66
+ export type GetInstallVersionReq = {
67
+ cluster?: string
68
+ }
69
+
70
+ export type GetInstallVersionRespSupportVersion = {
71
+ minVersion?: string
72
+ maxVersion?: string
73
+ }
74
+
75
+ export type GetInstallVersionRespStatus = {
76
+ inRange?: boolean
77
+ }
78
+
79
+ export type GetInstallVersionResp = {
80
+ clusterVersion?: string
81
+ supportVersion?: GetInstallVersionRespSupportVersion
82
+ status?: GetInstallVersionRespStatus
83
+ }
84
+
85
+ export type RestartInstanceReq = {
86
+ workspaceId?: number
87
+ cluster?: string
88
+ namespace?: string
89
+ name?: string
90
+ extra?: string
91
+ }
92
+
93
+ export type RestartInstanceResp = {
94
+ message?: string
95
+ }
96
+
56
97
  export type GetPermissionsListReq = {
57
98
  workspaceId?: number
58
99
  }
@@ -74,6 +115,10 @@ export type GetPermissionsListRespPermissions = {
74
115
  createBackupConf?: boolean
75
116
  updateBackupConf?: boolean
76
117
  deleteBackupConf?: boolean
118
+ getTemplate?: boolean
119
+ createTemplate?: boolean
120
+ updateTemplate?: boolean
121
+ deleteTemplate?: boolean
77
122
  }
78
123
 
79
124
  export type GetPermissionsListResp = {
@@ -249,6 +294,7 @@ export type GetWorkspaceListReq = {
249
294
  export type GetWorkspaceListRespItem = {
250
295
  workspaceId?: number
251
296
  alias?: string
297
+ visible?: boolean
252
298
  }
253
299
 
254
300
  export type GetWorkspaceListResp = {
@@ -258,13 +304,28 @@ export type GetWorkspaceListResp = {
258
304
 
259
305
  export type GetClusterListReq = {
260
306
  workspaceId?: number
307
+ searchKey?: string
261
308
  }
262
309
 
263
310
  export type GetClusterListResp = {
264
311
  items?: string[]
312
+ clusters?: ClusterItem[]
265
313
  pagination?: CommonCommon.Pagination
266
314
  }
267
315
 
316
+ export type ClusterItemMetadata = {
317
+ name?: string
318
+ }
319
+
320
+ export type ClusterItemStatus = {
321
+ networkMode?: ClusterItemNetworkMode[]
322
+ }
323
+
324
+ export type ClusterItem = {
325
+ metadata?: ClusterItemMetadata
326
+ status?: ClusterItemStatus
327
+ }
328
+
268
329
  export type GetClusterNamespaceListReq = {
269
330
  workspaceId?: number
270
331
  cluster?: string
@@ -320,4 +381,10 @@ export class Cluster {
320
381
  static GetPermissionsList(req: GetPermissionsListReq, initReq?: fm.InitReq): Promise<GetPermissionsListResp> {
321
382
  return fm.fetchReq<GetPermissionsListReq, GetPermissionsListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/permissions?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
322
383
  }
384
+ static RestartInstance(req: RestartInstanceReq, initReq?: fm.InitReq): Promise<RestartInstanceResp> {
385
+ return fm.fetchReq<RestartInstanceReq, RestartInstanceResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/restart`, {...initReq, method: "POST", body: JSON.stringify(req)})
386
+ }
387
+ static GetInstallVersion(req: GetInstallVersionReq, initReq?: fm.InitReq): Promise<GetInstallVersionResp> {
388
+ return fm.fetchReq<GetInstallVersionReq, GetInstallVersionResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["cluster"]}/install-version?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
389
+ }
323
390
  }
package/common.pb.ts CHANGED
@@ -152,6 +152,7 @@ export type PodCommon = {
152
152
  ownerReference?: OwnerReference[]
153
153
  initContainersName?: string[]
154
154
  initContainersStatuses?: ContainerStatus[]
155
+ containersStatuses?: ContainerStatus[]
155
156
  }
156
157
 
157
158
  export type OwnerReference = {
@@ -167,6 +168,8 @@ export type CommonItemStatus = {
167
168
  webLogAddress?: string
168
169
  avgPvAllocatedInGb?: number
169
170
  avgPvUsedInGb?: number
171
+ cpuUtilization?: number
172
+ memoryUtilization?: number
170
173
  }
171
174
 
172
175
  export type AccessWhitelistInternal = {
package/metric.pb.ts CHANGED
@@ -7,7 +7,18 @@
7
7
  import * as CommonCommon from "./common.pb"
8
8
  import * as fm from "./fetch.pb"
9
9
  import * as InsightIoApiInsightV1alpha1Insight from "./insight.pb"
10
+
11
+ export enum GetAlertsListReqSortDir {
12
+ ASC = "ASC",
13
+ DESC = "DESC",
14
+ }
15
+
10
16
  export type GetAlertsListReq = {
17
+ page?: number
18
+ pageSize?: number
19
+ sortDir?: GetAlertsListReqSortDir
20
+ sortBy?: string
21
+ searchKey?: string
11
22
  cluster?: string
12
23
  namespace?: string
13
24
  name?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-rabbitmq",
3
- "version":"0.12.1-8",
3
+ "version":"0.12.1-81",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,188 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as CommonCommon from "./common.pb"
8
+ import * as fm from "./fetch.pb"
9
+
10
+ type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
11
+ type OneOf<T> =
12
+ | { [k in keyof T]?: undefined }
13
+ | (
14
+ keyof T extends infer K ?
15
+ (K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
16
+ : never)
17
+ : never);
18
+
19
+ export enum GetStorageConfigParamRespSelectSelectType {
20
+ Single = "Single",
21
+ Multiple = "Multiple",
22
+ }
23
+
24
+ export enum GetStorageConfigConsumersRespStorageConfigConsumerType {
25
+ STORAGE_CONFIG_CONSUMER_TYPE_UNSPECIFIED = "STORAGE_CONFIG_CONSUMER_TYPE_UNSPECIFIED",
26
+ STORAGE_CONFIG_CONSUMER_TYPE_MYSQL = "STORAGE_CONFIG_CONSUMER_TYPE_MYSQL",
27
+ STORAGE_CONFIG_CONSUMER_TYPE_REDIS = "STORAGE_CONFIG_CONSUMER_TYPE_REDIS",
28
+ }
29
+
30
+ export enum GetStorageConfigListReqSortDir {
31
+ ASC = "ASC",
32
+ DESC = "DESC",
33
+ }
34
+
35
+ export type GetStorageConfigParamReq = {
36
+ }
37
+
38
+ export type GetStorageConfigParamRespSelectDataStringValue = {
39
+ value?: string
40
+ }
41
+
42
+ export type GetStorageConfigParamRespSelectDataIntValue = {
43
+ value?: number
44
+ }
45
+
46
+
47
+ type BaseGetStorageConfigParamRespSelectData = {
48
+ }
49
+
50
+ export type GetStorageConfigParamRespSelectData = BaseGetStorageConfigParamRespSelectData
51
+ & OneOf<{ sValue: GetStorageConfigParamRespSelectDataStringValue; iValue: GetStorageConfigParamRespSelectDataIntValue }>
52
+
53
+ export type GetStorageConfigParamRespSelect = {
54
+ selectType?: GetStorageConfigParamRespSelectSelectType
55
+ data?: GetStorageConfigParamRespSelectData[]
56
+ }
57
+
58
+ export type GetStorageConfigParamResp = {
59
+ storageType?: GetStorageConfigParamRespSelect
60
+ }
61
+
62
+ export type CreateStorageConfigBucketCheckJobReq = {
63
+ storageType?: string
64
+ endpoint?: string
65
+ accessKey?: string
66
+ secretKey?: string
67
+ bucket?: string
68
+ cluster?: string
69
+ namespace?: string
70
+ name?: string
71
+ }
72
+
73
+ export type CreateStorageConfigBucketCheckJobResp = {
74
+ message?: string
75
+ }
76
+
77
+ export type CreateStorageConfigReq = {
78
+ workspaceId?: number
79
+ cluster?: string
80
+ namespace?: string
81
+ name?: string
82
+ storageType?: string
83
+ accessKey?: string
84
+ secretKey?: string
85
+ bucket?: string
86
+ endpoint?: string
87
+ minioCluster?: string
88
+ minioNamespace?: string
89
+ minioName?: string
90
+ description?: string
91
+ }
92
+
93
+ export type CreateStorageConfigResp = {
94
+ message?: string
95
+ }
96
+
97
+ export type GetStorageConfigConsumersReq = {
98
+ workspaceId?: number
99
+ name?: string
100
+ }
101
+
102
+ export type GetStorageConfigConsumersRespConsumer = {
103
+ type?: GetStorageConfigConsumersRespStorageConfigConsumerType
104
+ cluster?: string
105
+ namespace?: string
106
+ name?: string
107
+ }
108
+
109
+ export type GetStorageConfigConsumersResp = {
110
+ consumers?: GetStorageConfigConsumersRespConsumer[]
111
+ }
112
+
113
+ export type DeleteStorageConfigReq = {
114
+ workspaceId?: number
115
+ name?: string
116
+ cluster?: string
117
+ namespace?: string
118
+ }
119
+
120
+ export type DeleteStorageConfigResp = {
121
+ message?: string
122
+ }
123
+
124
+ export type UpdateStorageConfigResp = {
125
+ message?: string
126
+ }
127
+
128
+ export type StorageConfigItemStorageConfigStatus = {
129
+ lastUpdateTimestamp?: string
130
+ createTimestamp?: string
131
+ }
132
+
133
+ export type StorageConfigItem = {
134
+ spec?: CreateStorageConfigReq
135
+ status?: StorageConfigItemStorageConfigStatus
136
+ }
137
+
138
+ export type GetStorageConfigReq = {
139
+ workspaceId?: number
140
+ name?: string
141
+ namespace?: string
142
+ cluster?: string
143
+ }
144
+
145
+ export type GetStorageConfigResp = {
146
+ item?: StorageConfigItem
147
+ }
148
+
149
+ export type GetStorageConfigListReq = {
150
+ page?: number
151
+ pageSize?: number
152
+ sortDir?: GetStorageConfigListReqSortDir
153
+ sortBy?: string
154
+ searchKey?: string
155
+ workspaceId?: number
156
+ }
157
+
158
+ export type GetStorageConfigListResp = {
159
+ items?: StorageConfigItem[]
160
+ pagination?: CommonCommon.Pagination
161
+ }
162
+
163
+ export class StorageConfig {
164
+ static GetStorageConfigParam(req: GetStorageConfigParamReq, initReq?: fm.InitReq): Promise<GetStorageConfigParamResp> {
165
+ return fm.fetchReq<GetStorageConfigParamReq, GetStorageConfigParamResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/storage-config/param?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
166
+ }
167
+ static CreateStorageConfigBucketCheckJob(req: CreateStorageConfigBucketCheckJobReq, initReq?: fm.InitReq): Promise<CreateStorageConfigBucketCheckJobResp> {
168
+ return fm.fetchReq<CreateStorageConfigBucketCheckJobReq, CreateStorageConfigBucketCheckJobResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/storage-config/bucket/check-job`, {...initReq, method: "POST", body: JSON.stringify(req)})
169
+ }
170
+ static CreateStorageConfig(req: CreateStorageConfigReq, initReq?: fm.InitReq): Promise<CreateStorageConfigResp> {
171
+ return fm.fetchReq<CreateStorageConfigReq, CreateStorageConfigResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/storage-config`, {...initReq, method: "POST", body: JSON.stringify(req)})
172
+ }
173
+ static GetStorageConfigConsumers(req: GetStorageConfigConsumersReq, initReq?: fm.InitReq): Promise<GetStorageConfigConsumersResp> {
174
+ return fm.fetchReq<GetStorageConfigConsumersReq, GetStorageConfigConsumersResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/storage-config/${req["name"]}/consumers?${fm.renderURLSearchParams(req, ["workspaceId", "name"])}`, {...initReq, method: "GET"})
175
+ }
176
+ static DeleteStorageConfig(req: DeleteStorageConfigReq, initReq?: fm.InitReq): Promise<DeleteStorageConfigResp> {
177
+ return fm.fetchReq<DeleteStorageConfigReq, DeleteStorageConfigResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/storage-config/${req["cluster"]}/${req["namespace"]}/${req["name"]}`, {...initReq, method: "DELETE"})
178
+ }
179
+ static UpdateStorageConfig(req: CreateStorageConfigReq, initReq?: fm.InitReq): Promise<UpdateStorageConfigResp> {
180
+ return fm.fetchReq<CreateStorageConfigReq, UpdateStorageConfigResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/storage-config/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
181
+ }
182
+ static GetStorageConfig(req: GetStorageConfigReq, initReq?: fm.InitReq): Promise<GetStorageConfigResp> {
183
+ return fm.fetchReq<GetStorageConfigReq, GetStorageConfigResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/storage-config/${req["name"]}?${fm.renderURLSearchParams(req, ["workspaceId", "name"])}`, {...initReq, method: "GET"})
184
+ }
185
+ static GetStorageConfigList(req: GetStorageConfigListReq, initReq?: fm.InitReq): Promise<GetStorageConfigListResp> {
186
+ return fm.fetchReq<GetStorageConfigListReq, GetStorageConfigListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/storage-configs?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
187
+ }
188
+ }
package/template.pb.ts ADDED
@@ -0,0 +1,169 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as CommonCommon from "./common.pb"
8
+ import * as fm from "./fetch.pb"
9
+
10
+ export enum TemplateInstanceType {
11
+ MysqlMasterReplica = "MysqlMasterReplica",
12
+ RedisStandalone = "RedisStandalone",
13
+ RedisFailover = "RedisFailover",
14
+ RedisCluster = "RedisCluster",
15
+ KafkaConfig = "KafkaConfig",
16
+ }
17
+
18
+ export enum GetTemplateConfigReqSortDir {
19
+ ASC = "ASC",
20
+ DESC = "DESC",
21
+ }
22
+
23
+ export enum GetTemplateConfigListReqSortDir {
24
+ ASC = "ASC",
25
+ DESC = "DESC",
26
+ }
27
+
28
+ export enum TemplateConfigItemValueType {
29
+ String = "String",
30
+ SingleSelection = "SingleSelection",
31
+ MultiString = "MultiString",
32
+ }
33
+
34
+ export type GetTemplateConfigVersionsReq = {
35
+ workspaceId?: number
36
+ }
37
+
38
+ export type GetTemplateConfigVersionsResp = {
39
+ versions?: string[]
40
+ }
41
+
42
+ export type GetTemplateConfigStringResp = {
43
+ conf?: string
44
+ }
45
+
46
+ export type DeleteTemplateReq = {
47
+ workspaceId?: number
48
+ name?: string
49
+ version?: string
50
+ }
51
+
52
+ export type DeleteTemplateConfigResp = {
53
+ message?: string
54
+ }
55
+
56
+ export type CreateOrUpdateTemplateConfigResp = {
57
+ message?: string
58
+ }
59
+
60
+ export type GetTemplateConfigReq = {
61
+ page?: number
62
+ pageSize?: number
63
+ sortDir?: GetTemplateConfigReqSortDir
64
+ sortBy?: string
65
+ searchKey?: string
66
+ workspaceId?: number
67
+ name?: string
68
+ version?: string
69
+ templateType?: string
70
+ type?: string
71
+ createTimestamp?: string
72
+ templateInstanceType?: TemplateInstanceType
73
+ }
74
+
75
+ export type CreateTemplateConfigResp = {
76
+ message?: string
77
+ }
78
+
79
+ export type UpdateTemplateConfigResp = {
80
+ message?: string
81
+ }
82
+
83
+ export type CreateTemplateConfigReq = {
84
+ workspaceId?: number
85
+ targetName?: string
86
+ targetVersion?: string
87
+ targetType?: string
88
+ targetTemplateType?: string
89
+ targetConf?: string
90
+ fromTemplateName?: string
91
+ }
92
+
93
+ export type UpdateTemplateConfigReq = {
94
+ workspaceId?: number
95
+ name?: string
96
+ version?: string
97
+ type?: string
98
+ templateType?: string
99
+ items?: TemplateConfigItem[]
100
+ conf?: string
101
+ }
102
+
103
+ export type GetTemplateConfigResp = {
104
+ data?: UpdateTemplateConfigReq
105
+ pagination?: CommonCommon.Pagination
106
+ }
107
+
108
+ export type GetTemplateConfigListReq = {
109
+ page?: number
110
+ pageSize?: number
111
+ sortDir?: GetTemplateConfigListReqSortDir
112
+ sortBy?: string
113
+ searchKey?: string
114
+ workspaceId?: number
115
+ version?: string
116
+ templateInstanceType?: TemplateInstanceType
117
+ }
118
+
119
+ export type TemplateConfigItem = {
120
+ name?: string
121
+ default?: string
122
+ current?: string
123
+ value?: string
124
+ isNeedRestart?: boolean
125
+ valueType?: TemplateConfigItemValueType
126
+ valueRemarksZh?: string
127
+ valueRemarksEn?: string
128
+ updateTimestamp?: string
129
+ }
130
+
131
+ export type GetTemplateConfigListResp = {
132
+ items?: GetTemplateConfigReq[]
133
+ pagination?: CommonCommon.Pagination
134
+ }
135
+
136
+ export type GetTemplateInstanceTypeListReq = {
137
+ workspaceId?: number
138
+ }
139
+
140
+ export type GetTemplateInstanceTypeListResp = {
141
+ type?: TemplateInstanceType[]
142
+ }
143
+
144
+ export class Template {
145
+ static GetTemplateConfigList(req: GetTemplateConfigListReq, initReq?: fm.InitReq): Promise<GetTemplateConfigListResp> {
146
+ return fm.fetchReq<GetTemplateConfigListReq, GetTemplateConfigListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/template_config?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
147
+ }
148
+ static GetTemplateInstanceTypeList(req: GetTemplateInstanceTypeListReq, initReq?: fm.InitReq): Promise<GetTemplateInstanceTypeListResp> {
149
+ return fm.fetchReq<GetTemplateInstanceTypeListReq, GetTemplateInstanceTypeListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/template_instance_type?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
150
+ }
151
+ static GetTemplateConfig(req: GetTemplateConfigReq, initReq?: fm.InitReq): Promise<GetTemplateConfigResp> {
152
+ return fm.fetchReq<GetTemplateConfigReq, GetTemplateConfigResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/template_config/${req["name"]}?${fm.renderURLSearchParams(req, ["workspaceId", "name"])}`, {...initReq, method: "GET"})
153
+ }
154
+ static DeleteTemplateConfig(req: DeleteTemplateReq, initReq?: fm.InitReq): Promise<DeleteTemplateConfigResp> {
155
+ return fm.fetchReq<DeleteTemplateReq, DeleteTemplateConfigResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/template_config/${req["name"]}/${req["version"]}`, {...initReq, method: "DELETE"})
156
+ }
157
+ static CreateTemplateConfig(req: CreateTemplateConfigReq, initReq?: fm.InitReq): Promise<CreateTemplateConfigResp> {
158
+ return fm.fetchReq<CreateTemplateConfigReq, CreateTemplateConfigResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/template_config`, {...initReq, method: "POST", body: JSON.stringify(req)})
159
+ }
160
+ static UpdateTemplateConfig(req: UpdateTemplateConfigReq, initReq?: fm.InitReq): Promise<UpdateTemplateConfigResp> {
161
+ return fm.fetchReq<UpdateTemplateConfigReq, UpdateTemplateConfigResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/template_config`, {...initReq, method: "PUT", body: JSON.stringify(req)})
162
+ }
163
+ static GetTemplateConfigString(req: GetTemplateConfigReq, initReq?: fm.InitReq): Promise<GetTemplateConfigStringResp> {
164
+ return fm.fetchReq<GetTemplateConfigReq, GetTemplateConfigStringResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/template_config/${req["name"]}/to_string?${fm.renderURLSearchParams(req, ["workspaceId", "name"])}`, {...initReq, method: "GET"})
165
+ }
166
+ static GetTemplateConfigVersions(req: GetTemplateConfigVersionsReq, initReq?: fm.InitReq): Promise<GetTemplateConfigVersionsResp> {
167
+ return fm.fetchReq<GetTemplateConfigVersionsReq, GetTemplateConfigVersionsResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["workspaceId"]}/template_config/versions?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
168
+ }
169
+ }