@stack-spot/portal-network 0.49.0 → 0.50.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.
- package/CHANGELOG.md +14 -0
- package/dist/api/cloudPlatform.d.ts +204 -41
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +107 -2
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/workflows.d.ts +95 -43
- package/dist/api/workflows.d.ts.map +1 -1
- package/dist/api/workflows.js +20 -4
- package/dist/api/workflows.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +70 -0
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +91 -1
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/workflow.d.ts +2 -0
- package/dist/client/workflow.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/cloudPlatform.ts +412 -43
- package/src/api/workflows.ts +130 -44
- package/src/client/cloud-platform.ts +50 -0
package/src/api/workflows.ts
CHANGED
|
@@ -37,8 +37,8 @@ export type WorkflowResponse = {
|
|
|
37
37
|
id: string;
|
|
38
38
|
logs: string;
|
|
39
39
|
};
|
|
40
|
-
export type ExceptionType = "ACTIONAPI_0000_UNEXPECTED_ERROR" | "ACTIONAPI_0003_INVALID_WORKFLOW_URL" | "ACTIONAPI_0004_WORKFLOW_NOT_IMPLEMENTED" | "ACTIONAPI_0005_WORKFLOW_SCRIPT_DOWNLOAD_UNAUTHORIZED" | "ACTIONAPI_0006_UPDATE_MAX_TRY" | "ACTIONAPI_2000_VALIDATION_ERROR" | "ACTIONAPI_5999_HTTP_UNEXPECTED_ERROR" | "ACTIONAPI_2200_NOT_FOUND" | "ACTIONAPI_2201_CONFLICT" | "ACTIONAPI_2202_OPERATION_NOT_ALLOWED" | "ACTIONAPI_2203_REFERENCE_NOT_FOUND" | "ACTIONAPI_2204_JOB_IS_NOT_VALID_REFERENCE" | "ACTIONAPI_2205_INVALID_REFERENCE_STEP_IS_NOT_WORKFLOW" | "ACTIONAPI_3000_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "ACTIONAPI_3001_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "ACTIONAPI_5000_GITHUB_DISPATCH_WORKFLOW_FAILURE" | "ACTIONAPI_5001_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND" | "ACTIONAPI_5002_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED" | "ACTIONAPI_5003_GITHUB_DISPATCH_WORKFLOW_FORBIDDEN" | "ACTIONAPI_5004_GITHUB_SAML_ERROR" | "ACTIONAPI_5009_GITHUB_AUTHORIZATION_ENCODING_ERROR" | "ACTIONAPI_5010_GITHUB_ACTIONS_RUNS_FAILURE" | "ACTIONAPI_5011_GITHUB_ACTIONS_RUNS_NOT_FOUND" | "ACTIONAPI_5012_GITHUB_ACTIONS_RUNS_UNAUTHORIZED" | "ACTIONAPI_5019_GITHUB_ACTIONS_RUNS_PAYLOAD_PARSER_ERROR" | "ACTIONAPI_5020_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_FAILURE" | "ACTIONAPI_5021_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_NOT_FOUND" | "ACTIONAPI_5022_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_UNAUTHORIZED" | "ACTIONAPI_5029_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_PAYLOAD_PARSER_ERROR" | "ACTIONAPI_5030_GITHUB_CREATE_ISSUE_FAILURE" | "ACTIONAPI_5031_GITHUB_CREATE_ISSUE_NOT_FOUND" | "ACTIONAPI_5032_GITHUB_CREATE_ISSUE_UNAUTHORIZED" | "ACTIONAPI_5033_GITHUB_CREATE_ISSUE_FORBIDDEN" | "ACTIONAPI_5039_GITHUB_CREATE_ISSUE_PAYLOAD_PARSER_ERROR" | "ACTIONAPI_5040_GITHUB_LIST_EXECUTION_JOBS_FAILURE" | "ACTIONAPI_5049_GITHUB_LIST_EXECUTION_JOBS_PAYLOAD_PARSER_ERROR" | "ACTIONAPI_5100_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FAILURE" | "ACTIONAPI_5101_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FORBIDDEN" | "ACTIONAPI_5102_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_FOUND" | "ACTIONAPI_5103_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_IMPLEMENTED" | "ACTIONAPI_5109_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_PARSE_RESPONSE_ERROR" | "ACTIONAPI_E5110_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FAILURE" | "ACTIONAPI_E5111_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FORBIDDEN" | "ACTIONAPI_E5112_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_NOT_FOUND" | "ACTIONAPI_E5119_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_RESPONSE_PARSE_ERROR" | "ACTIONAPI_E5120_ACCOUNT_SERVICE_GET_USER_SCM_FAILURE" | "ACTIONAPI_E5121_ACCOUNT_SERVICE_GET_USER_SCM_FORBIDDEN" | "ACTIONAPI_E5122_ACCOUNT_SERVICE_GET_USER_SCM_NOT_FOUND" | "ACTIONAPI_E5129_ACCOUNT_SERVICE_GET_USER_SCM_RESPONSE_PARSE_ERROR" | "ACTIONAPI_E5120_ACCOUNT_SERVICE_LIST_ACCOUNTS_FAILURE" | "ACTIONAPI_E5121_ACCOUNT_SERVICE_LIST_ACCOUNTS_FORBIDDEN" | "ACTIONAPI_E5122_ACCOUNT_SERVICE_LIST_ACCOUNTS_NOT_FOUND" | "ACTIONAPI_E5129_ACCOUNT_SERVICE_LIST_ACCOUNTS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_E5130_ACCOUNT_SERVICE_LIST_FEATURE_FLAGS_FAILURE" | "ACTIONAPI_E5131_ACCOUNT_SERVICE_LIST_FEATURE_FLAGS_FORBIDDEN" | "ACTIONAPI_E5132_ACCOUNT_SERVICE_LIST_FEATURE_FLAGS_NOT_FOUND" | "ACTIONAPI_E5139_ACCOUNT_SERVICE_LIST_FEATURE_FLAGS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5200_AZURE_LIST_PIPELINE_FAILURE" | "ACTIONAPI_5201_AZURE_LIST_PIPELINE_NOT_FOUND" | "ACTIONAPI_5202_AZURE_LIST_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5209_AZURE_LIST_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5210_AZURE_RUN_PIPELINE_FAILURE" | "ACTIONAPI_5211_AZURE_RUN_PIPELINE_NOT_FOUND" | "ACTIONAPI_5212_AZURE_RUN_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5219_AZURE_RUN_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5220_AZURE_GET_BUILD_FAILURE" | "ACTIONAPI_5221_AZURE_GET_BUILD_NOT_FOUND" | "ACTIONAPI_5222_AZURE_GET_BUILD_UNAUTHORIZED" | "ACTIONAPI_5223_AZURE_GET_BUILD_FORBIDDEN" | "ACTIONAPI_E5300_WORKSPACE_SERVICE_GET_WORKSPACE_FAILURE" | "ACTIONAPI_E5301_WORKSPACE_SERVICE_GET_WORKSPACE_FORBIDDEN" | "ACTIONAPI_E5302_WORKSPACE_SERVICE_GET_WORKSPACE_NOT_FOUND" | "ACTIONAPI_E5309_WORKSPACE_SERVICE_GET_WORKSPACE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_E5300_WORKSPACE_SERVICE_GET_APP_FAILURE" | "ACTIONAPI_E5301_WORKSPACE_SERVICE_GET_APP_FORBIDDEN" | "ACTIONAPI_E5302_WORKSPACE_SERVICE_GET_APP_NOT_FOUND" | "ACTIONAPI_E5309_WORKSPACE_SERVICE_GET_APP_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5400_BITBUCKET_RUN_PIPELINE_FAILURE" | "ACTIONAPI_5401_BITBUCKET_RUN_PIPELINE_NOT_FOUND" | "ACTIONAPI_5402_BITBUCKET_RUN_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5403_BITBUCKET_RUN_PIPELINE_BAD_REQUEST" | "ACTIONAPI_5409_BITBUCKET_RUN_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5410_BITBUCKET_GET_PIPELINE_FAILURE" | "ACTIONAPI_5411_BITBUCKET_GET_PIPELINE_NOT_FOUND" | "ACTIONAPI_5412_BITBUCKET_GET_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5419_BITBUCKET_GET_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5420_BITBUCKET_LIST_PIPELINE_STEPS_FAILURE" | "ACTIONAPI_5421_BITBUCKET_LIST_PIPELINE_STEPS_NOT_FOUND" | "ACTIONAPI_5422_BITBUCKET_LIST_PIPELINE_STEPS_UNAUTHORIZED" | "ACTIONAPI_5429_BITBUCKET_LIST_PIPELINE_STEPS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5500_GITLAB_TRIGGER_PIPELINE_FAILURE" | "ACTIONAPI_5501_GITLAB_TRIGGER_PIPELINE_NOT_FOUND" | "ACTIONAPI_5502_GITLAB_TRIGGER_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5509_GITLAB_TRIGGER_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5510_GITLAB_GET_TRIGGERS_FAILURE" | "ACTIONAPI_5511_GITLAB_GET_TRIGGERS_NOT_FOUND" | "ACTIONAPI_5512_GITLAB_GET_TRIGGERS_UNAUTHORIZED" | "ACTIONAPI_5519_GITLAB_GET_TRIGGERS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5600_IAM_GENERATE_TOKEN_FAILURE" | "ACTIONAPI_5610_IAM_INTROSPECT_TOKEN_FAILURE" | "ACTIONAPI_5619_IAM_INTROSPECT_TOKEN_RESPONSE_PARSE_ERROR";
|
|
41
|
-
export type BadRequestExceptionTypes = "ACTIONAPI_1001_DECODE_JWT_ERROR" | "ACTIONAPI_2001_BAD_REQUEST_REQUIRED_FIELD" | "ACTIONAPI_2002_BAD_REQUEST_EMPTY_FIELD_NOT_ALLOWED" | "ACTIONAPI_2003_BAD_REQUEST_TYPE_FIELD_NOT_ALLOWED" | "ACTIONAPI_2004_BAD_REQUEST_VALUE_FIELD_NOT_ALLOWED" | "ACTIONAPI_2005_BAD_REQUEST_VALUE_FIELD_MAX_LENGTH" | "ACTIONAPI_2006_BAD_REQUEST_VALUE_FIELD_MIN_LENGTH" | "ACTIONAPI_2007_BAD_REQUEST_VALUE_REGEX_DOESNT_MATCH" | "ACTIONAPI_2008_BAD_REQUEST_VALUE_FIELD_NUMBER_NOT_LT" | "ACTIONAPI_2100_CREATE_BODY_REPO_AND_REPO_CREATE_ACTION" | "ACTIONAPI_2101_CREATE_BODY_NOT_REPO_AND_NOT_REPO_CREATE_ACTION" | "ACTIONAPI_2102_BAD_REQUEST_DATE_MAX_INTERVAL" | "ACTIONAPI_2103_BAD_REQUEST_INVALID_PAGE" | "ACTIONAPI_2104_BAD_REQUEST_DUPLICATED_ALIAS" | "ACTIONAPI_2105_BAD_REQUEST_INVALID_REPO_URL" | "ACTIONAPI_2110_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_WITHOUT_CONCLUSION" | "ACTIONAPI_2112_BAD_REQUEST_PUT_STEP_STATUS_NOT_COMPLETED_AND_CONCLUSION_DEFINED" | "ACTIONAPI_2113_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_AND_COMPLETED_AT_NOT_DEFINED" | "ACTIONAPI_2114_BAD_REQUEST_PUT_STEP_STATUS_IN_PROGRESS_AND_STARTED_AT_NOT_DEFINED" | "ACTIONAPI_2115_BAD_REQUEST_PUT_STEP_COMPLETED_AT_DEFINED_AND_STATUS_NOT_COMPLETED" | "ACTIONAPI_2116_BAD_REQUEST_PUT_STEP_STARTED_AT_DEFINED_AND_STATUS_PENDING" | "ACTIONAPI_2117_BAD_REQUEST_PUT_STEP_LOG_DEFINED_AND_CONCLUSION_IS_NOT_FAILURE" | "ACTIONAPI_2999_BAD_REQUEST_UNMAPPED";
|
|
40
|
+
export type ExceptionType = "ACTIONAPI_0000_UNEXPECTED_ERROR" | "ACTIONAPI_0003_INVALID_WORKFLOW_URL" | "ACTIONAPI_0004_WORKFLOW_NOT_IMPLEMENTED" | "ACTIONAPI_0005_WORKFLOW_SCRIPT_DOWNLOAD_UNAUTHORIZED" | "ACTIONAPI_0006_UPDATE_MAX_TRY" | "ACTIONAPI_2000_VALIDATION_ERROR" | "ACTIONAPI_5999_HTTP_UNEXPECTED_ERROR" | "ACTIONAPI_2200_NOT_FOUND" | "ACTIONAPI_2201_CONFLICT" | "ACTIONAPI_2202_OPERATION_NOT_ALLOWED" | "ACTIONAPI_2203_REFERENCE_NOT_FOUND" | "ACTIONAPI_2204_JOB_IS_NOT_VALID_REFERENCE" | "ACTIONAPI_2205_INVALID_REFERENCE_STEP_IS_NOT_WORKFLOW" | "ACTIONAPI_3000_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "ACTIONAPI_3001_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "ACTIONAPI_5000_GITHUB_DISPATCH_WORKFLOW_FAILURE" | "ACTIONAPI_5001_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND" | "ACTIONAPI_5002_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED" | "ACTIONAPI_5003_GITHUB_DISPATCH_WORKFLOW_FORBIDDEN" | "ACTIONAPI_5004_GITHUB_SAML_ERROR" | "ACTIONAPI_5009_GITHUB_AUTHORIZATION_ENCODING_ERROR" | "ACTIONAPI_5010_GITHUB_ACTIONS_RUNS_FAILURE" | "ACTIONAPI_5011_GITHUB_ACTIONS_RUNS_NOT_FOUND" | "ACTIONAPI_5012_GITHUB_ACTIONS_RUNS_UNAUTHORIZED" | "ACTIONAPI_5019_GITHUB_ACTIONS_RUNS_PAYLOAD_PARSER_ERROR" | "ACTIONAPI_5020_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_FAILURE" | "ACTIONAPI_5021_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_NOT_FOUND" | "ACTIONAPI_5022_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_UNAUTHORIZED" | "ACTIONAPI_5029_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_PAYLOAD_PARSER_ERROR" | "ACTIONAPI_5030_GITHUB_CREATE_ISSUE_FAILURE" | "ACTIONAPI_5031_GITHUB_CREATE_ISSUE_NOT_FOUND" | "ACTIONAPI_5032_GITHUB_CREATE_ISSUE_UNAUTHORIZED" | "ACTIONAPI_5033_GITHUB_CREATE_ISSUE_FORBIDDEN" | "ACTIONAPI_5039_GITHUB_CREATE_ISSUE_PAYLOAD_PARSER_ERROR" | "ACTIONAPI_5040_GITHUB_LIST_EXECUTION_JOBS_FAILURE" | "ACTIONAPI_5049_GITHUB_LIST_EXECUTION_JOBS_PAYLOAD_PARSER_ERROR" | "ACTIONAPI_5100_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FAILURE" | "ACTIONAPI_5101_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FORBIDDEN" | "ACTIONAPI_5102_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_FOUND" | "ACTIONAPI_5103_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_IMPLEMENTED" | "ACTIONAPI_5109_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_PARSE_RESPONSE_ERROR" | "ACTIONAPI_E5110_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FAILURE" | "ACTIONAPI_E5111_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FORBIDDEN" | "ACTIONAPI_E5112_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_NOT_FOUND" | "ACTIONAPI_E5119_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_RESPONSE_PARSE_ERROR" | "ACTIONAPI_E5120_ACCOUNT_SERVICE_GET_USER_SCM_FAILURE" | "ACTIONAPI_E5121_ACCOUNT_SERVICE_GET_USER_SCM_FORBIDDEN" | "ACTIONAPI_E5122_ACCOUNT_SERVICE_GET_USER_SCM_NOT_FOUND" | "ACTIONAPI_E5129_ACCOUNT_SERVICE_GET_USER_SCM_RESPONSE_PARSE_ERROR" | "ACTIONAPI_E5120_ACCOUNT_SERVICE_LIST_ACCOUNTS_FAILURE" | "ACTIONAPI_E5121_ACCOUNT_SERVICE_LIST_ACCOUNTS_FORBIDDEN" | "ACTIONAPI_E5122_ACCOUNT_SERVICE_LIST_ACCOUNTS_NOT_FOUND" | "ACTIONAPI_E5129_ACCOUNT_SERVICE_LIST_ACCOUNTS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_E5130_ACCOUNT_SERVICE_LIST_FEATURE_FLAGS_FAILURE" | "ACTIONAPI_E5131_ACCOUNT_SERVICE_LIST_FEATURE_FLAGS_FORBIDDEN" | "ACTIONAPI_E5132_ACCOUNT_SERVICE_LIST_FEATURE_FLAGS_NOT_FOUND" | "ACTIONAPI_E5139_ACCOUNT_SERVICE_LIST_FEATURE_FLAGS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5200_AZURE_LIST_PIPELINE_FAILURE" | "ACTIONAPI_5201_AZURE_LIST_PIPELINE_NOT_FOUND" | "ACTIONAPI_5202_AZURE_LIST_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5209_AZURE_LIST_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5210_AZURE_RUN_PIPELINE_FAILURE" | "ACTIONAPI_5211_AZURE_RUN_PIPELINE_NOT_FOUND" | "ACTIONAPI_5212_AZURE_RUN_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5219_AZURE_RUN_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5220_AZURE_GET_BUILD_FAILURE" | "ACTIONAPI_5221_AZURE_GET_BUILD_NOT_FOUND" | "ACTIONAPI_5222_AZURE_GET_BUILD_UNAUTHORIZED" | "ACTIONAPI_5223_AZURE_GET_BUILD_FORBIDDEN" | "ACTIONAPI_E5300_WORKSPACE_SERVICE_GET_WORKSPACE_FAILURE" | "ACTIONAPI_E5301_WORKSPACE_SERVICE_GET_WORKSPACE_FORBIDDEN" | "ACTIONAPI_E5302_WORKSPACE_SERVICE_GET_WORKSPACE_NOT_FOUND" | "ACTIONAPI_E5309_WORKSPACE_SERVICE_GET_WORKSPACE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_E5300_WORKSPACE_SERVICE_GET_APP_FAILURE" | "ACTIONAPI_E5301_WORKSPACE_SERVICE_GET_APP_FORBIDDEN" | "ACTIONAPI_E5302_WORKSPACE_SERVICE_GET_APP_NOT_FOUND" | "ACTIONAPI_E5309_WORKSPACE_SERVICE_GET_APP_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5400_BITBUCKET_RUN_PIPELINE_FAILURE" | "ACTIONAPI_5401_BITBUCKET_RUN_PIPELINE_NOT_FOUND" | "ACTIONAPI_5402_BITBUCKET_RUN_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5403_BITBUCKET_RUN_PIPELINE_BAD_REQUEST" | "ACTIONAPI_5409_BITBUCKET_RUN_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5410_BITBUCKET_GET_PIPELINE_FAILURE" | "ACTIONAPI_5411_BITBUCKET_GET_PIPELINE_NOT_FOUND" | "ACTIONAPI_5412_BITBUCKET_GET_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5419_BITBUCKET_GET_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5420_BITBUCKET_LIST_PIPELINE_STEPS_FAILURE" | "ACTIONAPI_5421_BITBUCKET_LIST_PIPELINE_STEPS_NOT_FOUND" | "ACTIONAPI_5422_BITBUCKET_LIST_PIPELINE_STEPS_UNAUTHORIZED" | "ACTIONAPI_5429_BITBUCKET_LIST_PIPELINE_STEPS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5500_GITLAB_TRIGGER_PIPELINE_FAILURE" | "ACTIONAPI_5501_GITLAB_TRIGGER_PIPELINE_NOT_FOUND" | "ACTIONAPI_5502_GITLAB_TRIGGER_PIPELINE_UNAUTHORIZED" | "ACTIONAPI_5509_GITLAB_TRIGGER_PIPELINE_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5510_GITLAB_GET_TRIGGERS_FAILURE" | "ACTIONAPI_5511_GITLAB_GET_TRIGGERS_NOT_FOUND" | "ACTIONAPI_5512_GITLAB_GET_TRIGGERS_UNAUTHORIZED" | "ACTIONAPI_5519_GITLAB_GET_TRIGGERS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5520_GITLAB_LIST_TRIGGERS_FAILURE" | "ACTIONAPI_5522_GITLAB_LIST_TRIGGERS_UNAUTHORIZED" | "ACTIONAPI_5529_GITLAB_LIST_TRIGGERS_RESPONSE_PARSE_ERROR" | "ACTIONAPI_5600_IAM_GENERATE_TOKEN_FAILURE" | "ACTIONAPI_5610_IAM_INTROSPECT_TOKEN_FAILURE" | "ACTIONAPI_5619_IAM_INTROSPECT_TOKEN_RESPONSE_PARSE_ERROR";
|
|
41
|
+
export type BadRequestExceptionTypes = "ACTIONAPI_1001_DECODE_JWT_ERROR" | "ACTIONAPI_2001_BAD_REQUEST_REQUIRED_FIELD" | "ACTIONAPI_2002_BAD_REQUEST_EMPTY_FIELD_NOT_ALLOWED" | "ACTIONAPI_2003_BAD_REQUEST_TYPE_FIELD_NOT_ALLOWED" | "ACTIONAPI_2004_BAD_REQUEST_VALUE_FIELD_NOT_ALLOWED" | "ACTIONAPI_2005_BAD_REQUEST_VALUE_FIELD_MAX_LENGTH" | "ACTIONAPI_2006_BAD_REQUEST_VALUE_FIELD_MIN_LENGTH" | "ACTIONAPI_2007_BAD_REQUEST_VALUE_REGEX_DOESNT_MATCH" | "ACTIONAPI_2008_BAD_REQUEST_VALUE_FIELD_NUMBER_NOT_LT" | "ACTIONAPI_2100_CREATE_BODY_REPO_AND_REPO_CREATE_ACTION" | "ACTIONAPI_2101_CREATE_BODY_NOT_REPO_AND_NOT_REPO_CREATE_ACTION" | "ACTIONAPI_2102_BAD_REQUEST_DATE_MAX_INTERVAL" | "ACTIONAPI_2103_BAD_REQUEST_INVALID_PAGE" | "ACTIONAPI_2104_BAD_REQUEST_DUPLICATED_ALIAS" | "ACTIONAPI_2105_BAD_REQUEST_INVALID_REPO_URL" | "ACTIONAPI_2110_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_WITHOUT_CONCLUSION" | "ACTIONAPI_2112_BAD_REQUEST_PUT_STEP_STATUS_NOT_COMPLETED_AND_CONCLUSION_DEFINED" | "ACTIONAPI_2113_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_AND_COMPLETED_AT_NOT_DEFINED" | "ACTIONAPI_2114_BAD_REQUEST_PUT_STEP_STATUS_IN_PROGRESS_AND_STARTED_AT_NOT_DEFINED" | "ACTIONAPI_2115_BAD_REQUEST_PUT_STEP_COMPLETED_AT_DEFINED_AND_STATUS_NOT_COMPLETED" | "ACTIONAPI_2116_BAD_REQUEST_PUT_STEP_STARTED_AT_DEFINED_AND_STATUS_PENDING" | "ACTIONAPI_2117_BAD_REQUEST_PUT_STEP_LOG_DEFINED_AND_CONCLUSION_IS_NOT_FAILURE" | "ACTIONAPI_2120_BAD_REQUEST_MULTIPLE_INTEGRATION" | "ACTIONAPI_2121_BAD_REQUEST_EMPTY_INTEGRATION" | "ACTIONAPI_2999_BAD_REQUEST_UNMAPPED";
|
|
42
42
|
export type InvalidPayloadDetails = {
|
|
43
43
|
code: BadRequestExceptionTypes;
|
|
44
44
|
field: string | null;
|
|
@@ -276,14 +276,28 @@ export type WorkspaceRequest = {
|
|
|
276
276
|
id: string;
|
|
277
277
|
slug: string;
|
|
278
278
|
};
|
|
279
|
+
export type GitlabIntegrationRequest = {
|
|
280
|
+
projectId: string;
|
|
281
|
+
triggerDescription?: string;
|
|
282
|
+
};
|
|
283
|
+
export type GithubIntegrationRequest = {
|
|
284
|
+
workflowName?: string;
|
|
285
|
+
org: string;
|
|
286
|
+
repositoryName: string;
|
|
287
|
+
};
|
|
288
|
+
export type AzureIntegrationRequest = {
|
|
289
|
+
pipelineName?: string;
|
|
290
|
+
org: string;
|
|
291
|
+
projectName: string;
|
|
292
|
+
};
|
|
279
293
|
export type ScmIntegrationRequest = {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
294
|
+
gitlab?: GitlabIntegrationRequest | null;
|
|
295
|
+
github?: GithubIntegrationRequest | null;
|
|
296
|
+
azure?: AzureIntegrationRequest | null;
|
|
283
297
|
};
|
|
284
298
|
export type CreateWorkflowExecutionRequest = {
|
|
285
|
-
workspace
|
|
286
|
-
integration
|
|
299
|
+
workspace?: WorkspaceRequest | null;
|
|
300
|
+
integration?: ScmIntegrationRequest | null;
|
|
287
301
|
};
|
|
288
302
|
export type WorkflowExecutionStatus = "pending" | "in_progress" | "completed" | "suspended";
|
|
289
303
|
export type WorkflowExecutionConclusion = "error" | "success" | "skipped" | "canceled";
|
|
@@ -291,28 +305,29 @@ export type WorkflowExecutionResponse = {
|
|
|
291
305
|
id: string;
|
|
292
306
|
status: WorkflowExecutionStatus;
|
|
293
307
|
conclusion: WorkflowExecutionConclusion | null;
|
|
308
|
+
webUrl: string;
|
|
294
309
|
};
|
|
295
|
-
export type WorkflowType = "starter" | "create" | "deploy" | "rollback" | "destroy";
|
|
310
|
+
export type WorkflowType = "starter" | "create" | "deploy" | "rollback" | "destroy" | "reusable";
|
|
296
311
|
export type StepWorkflowRequest = {
|
|
297
312
|
"type": "workflow";
|
|
298
|
-
name: string;
|
|
299
313
|
jobs: JobRequest[];
|
|
300
314
|
};
|
|
301
315
|
export type StepActionRequest = {
|
|
302
316
|
"type": "action";
|
|
303
|
-
name: string;
|
|
304
317
|
};
|
|
305
318
|
export type StepPluginRequest = {
|
|
306
319
|
"type": "plugin";
|
|
307
|
-
name: string;
|
|
308
320
|
};
|
|
309
321
|
export type StepSuspendRequest = {
|
|
310
322
|
"type": "suspend";
|
|
311
323
|
};
|
|
324
|
+
export type StepRunShellRequest = {
|
|
325
|
+
"type": "run";
|
|
326
|
+
};
|
|
312
327
|
export type StepRequest = {
|
|
313
328
|
id: string;
|
|
314
|
-
label
|
|
315
|
-
|
|
329
|
+
label?: string | null;
|
|
330
|
+
spec: StepWorkflowRequest | StepActionRequest | StepPluginRequest | StepSuspendRequest | StepRunShellRequest;
|
|
316
331
|
};
|
|
317
332
|
export type JobRequest = {
|
|
318
333
|
id: string;
|
|
@@ -349,6 +364,19 @@ export type PutWorkflowExecutionWorkflowStepRequest = {
|
|
|
349
364
|
log?: string | null;
|
|
350
365
|
cliState?: object;
|
|
351
366
|
};
|
|
367
|
+
export type UserResponse = {
|
|
368
|
+
id: string;
|
|
369
|
+
ip?: string | null;
|
|
370
|
+
email: string;
|
|
371
|
+
};
|
|
372
|
+
export type StepResponse2 = {
|
|
373
|
+
label: string;
|
|
374
|
+
status: WorkflowExecutionStatus;
|
|
375
|
+
conclusion: WorkflowExecutionConclusion | null;
|
|
376
|
+
startedAt?: string | null;
|
|
377
|
+
completedAt?: string | null;
|
|
378
|
+
completedBy?: UserResponse | null;
|
|
379
|
+
};
|
|
352
380
|
export type JobResponse2 = {
|
|
353
381
|
label: string;
|
|
354
382
|
dependsOn?: string[];
|
|
@@ -357,6 +385,8 @@ export type JobResponse2 = {
|
|
|
357
385
|
startedAt?: string | null;
|
|
358
386
|
completedAt?: string | null;
|
|
359
387
|
suspendMessage?: string | null;
|
|
388
|
+
steps: StepResponse2[];
|
|
389
|
+
progress: number;
|
|
360
390
|
};
|
|
361
391
|
export type WorkflowResponse2 = {
|
|
362
392
|
name: string;
|
|
@@ -368,54 +398,41 @@ export type WorkflowResponse2 = {
|
|
|
368
398
|
jobs: {
|
|
369
399
|
[key: string]: JobResponse2;
|
|
370
400
|
};
|
|
401
|
+
progress: number;
|
|
371
402
|
};
|
|
372
403
|
export type GetWorkflowExecutionJobGraphResponse = {
|
|
373
404
|
id: string;
|
|
374
405
|
status: WorkflowExecutionStatus;
|
|
375
406
|
conclusion: WorkflowExecutionConclusion | null;
|
|
376
407
|
workflow?: WorkflowResponse2 | null;
|
|
408
|
+
createdBy: UserResponse;
|
|
409
|
+
startedAt?: string | null;
|
|
377
410
|
completedAt?: string | null;
|
|
378
411
|
};
|
|
379
|
-
export type
|
|
380
|
-
|
|
381
|
-
name: string;
|
|
382
|
-
inputs: {
|
|
383
|
-
[key: string]: any | null;
|
|
384
|
-
};
|
|
385
|
-
};
|
|
386
|
-
export type StepActionResponse = {
|
|
387
|
-
"type"?: "action";
|
|
388
|
-
name: string;
|
|
389
|
-
inputs: {
|
|
390
|
-
[key: string]: any | null;
|
|
391
|
-
};
|
|
392
|
-
};
|
|
393
|
-
export type StepPluginResponse = {
|
|
394
|
-
"type"?: "plugin";
|
|
395
|
-
name: string;
|
|
396
|
-
inputs: {
|
|
397
|
-
[key: string]: any | null;
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
export type StepSuspendResponse = {};
|
|
401
|
-
export type StepResponse2 = {
|
|
412
|
+
export type StepTypeEnum = "action" | "workflow" | "plugin" | "suspend" | "run";
|
|
413
|
+
export type StepResponse3 = {
|
|
402
414
|
label: string;
|
|
403
415
|
status: WorkflowExecutionStatus;
|
|
404
416
|
conclusion: WorkflowExecutionConclusion | null;
|
|
405
417
|
log?: string | null;
|
|
406
|
-
"type":
|
|
418
|
+
"type": StepTypeEnum;
|
|
407
419
|
startedAt?: string | null;
|
|
408
420
|
completedAt?: string | null;
|
|
421
|
+
completedBy?: UserResponse | null;
|
|
409
422
|
};
|
|
410
423
|
export type WorkflowJobDetailResponse = {
|
|
411
424
|
label: string;
|
|
412
425
|
status: WorkflowExecutionStatus;
|
|
413
426
|
conclusion: WorkflowExecutionConclusion | null;
|
|
414
|
-
steps:
|
|
427
|
+
steps: StepResponse3[];
|
|
415
428
|
startedAt?: string | null;
|
|
416
429
|
completedAt?: string | null;
|
|
417
430
|
};
|
|
418
|
-
export type
|
|
431
|
+
export type EnvResponse = {
|
|
432
|
+
id: string;
|
|
433
|
+
slug: string;
|
|
434
|
+
};
|
|
435
|
+
export type StepResponse4 = {
|
|
419
436
|
id: string;
|
|
420
437
|
cliState: object;
|
|
421
438
|
status: WorkflowExecutionStatus;
|
|
@@ -426,16 +443,41 @@ export type JobResponse3 = {
|
|
|
426
443
|
id: string;
|
|
427
444
|
status: WorkflowExecutionStatus;
|
|
428
445
|
conclusion: WorkflowExecutionConclusion | null;
|
|
429
|
-
steps:
|
|
446
|
+
steps: StepResponse4[];
|
|
430
447
|
};
|
|
431
448
|
export type WorkflowResponse3 = {
|
|
449
|
+
name: string;
|
|
450
|
+
inputs: {
|
|
451
|
+
[key: string]: any | null;
|
|
452
|
+
};
|
|
453
|
+
env: EnvResponse | null;
|
|
432
454
|
jobs: JobResponse3[];
|
|
433
455
|
};
|
|
456
|
+
export type WorkspaceResponse = {
|
|
457
|
+
id: string;
|
|
458
|
+
slug: string;
|
|
459
|
+
};
|
|
434
460
|
export type GetWorkflowExecutionCliStateResponse = {
|
|
435
461
|
workflow: WorkflowResponse3;
|
|
462
|
+
workspace: WorkspaceResponse | null;
|
|
436
463
|
status: WorkflowExecutionStatus;
|
|
437
464
|
conclusion: WorkflowExecutionConclusion | null;
|
|
438
465
|
};
|
|
466
|
+
export type WorkflowRequest = {
|
|
467
|
+
name: string;
|
|
468
|
+
label: string;
|
|
469
|
+
"type": WorkflowType;
|
|
470
|
+
inputs: {
|
|
471
|
+
[key: string]: any | null;
|
|
472
|
+
};
|
|
473
|
+
targets: TargetRequest[];
|
|
474
|
+
env?: EnvRequest | null;
|
|
475
|
+
};
|
|
476
|
+
export type DispatchWorkflowExecutionRequest = {
|
|
477
|
+
workspace: WorkspaceRequest;
|
|
478
|
+
workflow: WorkflowRequest;
|
|
479
|
+
frontData?: object | null;
|
|
480
|
+
};
|
|
439
481
|
/**
|
|
440
482
|
* Run Action Service
|
|
441
483
|
*/
|
|
@@ -882,6 +924,8 @@ export function v1CreateWorkflowExecutionServiceV1ExecutionsPost({ authorization
|
|
|
882
924
|
}, opts?: Oazapfts.RequestOpts) {
|
|
883
925
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
884
926
|
status: 200;
|
|
927
|
+
} | {
|
|
928
|
+
status: 201;
|
|
885
929
|
data: WorkflowExecutionResponse;
|
|
886
930
|
} | {
|
|
887
931
|
status: 400;
|
|
@@ -1056,10 +1100,11 @@ export function v1GetWorkflowExecutionJobDetailServiceV1ExecutionsExecutionIdJob
|
|
|
1056
1100
|
/**
|
|
1057
1101
|
* V1 Accept Workflow Execution Job Suspended Service
|
|
1058
1102
|
*/
|
|
1059
|
-
export function v1AcceptWorkflowExecutionJobSuspendedServiceV1ExecutionsExecutionIdJobsJobIdAcceptPost({ executionId, jobId, authorization }: {
|
|
1103
|
+
export function v1AcceptWorkflowExecutionJobSuspendedServiceV1ExecutionsExecutionIdJobsJobIdAcceptPost({ executionId, jobId, authorization, stackspotCustomerIp }: {
|
|
1060
1104
|
executionId: string;
|
|
1061
1105
|
jobId: string;
|
|
1062
1106
|
authorization: string;
|
|
1107
|
+
stackspotCustomerIp?: string;
|
|
1063
1108
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1064
1109
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1065
1110
|
status: 200;
|
|
@@ -1085,17 +1130,19 @@ export function v1AcceptWorkflowExecutionJobSuspendedServiceV1ExecutionsExecutio
|
|
|
1085
1130
|
...opts,
|
|
1086
1131
|
method: "POST",
|
|
1087
1132
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1088
|
-
authorization
|
|
1133
|
+
authorization,
|
|
1134
|
+
"stackspot-customer-ip": stackspotCustomerIp
|
|
1089
1135
|
})
|
|
1090
1136
|
}));
|
|
1091
1137
|
}
|
|
1092
1138
|
/**
|
|
1093
1139
|
* V1 Refuse Workflow Execution Job Suspended Service
|
|
1094
1140
|
*/
|
|
1095
|
-
export function v1RefuseWorkflowExecutionJobSuspendedServiceV1ExecutionsExecutionIdJobsJobIdRefusePost({ executionId, jobId, authorization }: {
|
|
1141
|
+
export function v1RefuseWorkflowExecutionJobSuspendedServiceV1ExecutionsExecutionIdJobsJobIdRefusePost({ executionId, jobId, authorization, stackspotCustomerIp }: {
|
|
1096
1142
|
executionId: string;
|
|
1097
1143
|
jobId: string;
|
|
1098
1144
|
authorization: string;
|
|
1145
|
+
stackspotCustomerIp?: string;
|
|
1099
1146
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1100
1147
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1101
1148
|
status: 200;
|
|
@@ -1121,7 +1168,8 @@ export function v1RefuseWorkflowExecutionJobSuspendedServiceV1ExecutionsExecutio
|
|
|
1121
1168
|
...opts,
|
|
1122
1169
|
method: "POST",
|
|
1123
1170
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1124
|
-
authorization
|
|
1171
|
+
authorization,
|
|
1172
|
+
"stackspot-customer-ip": stackspotCustomerIp
|
|
1125
1173
|
})
|
|
1126
1174
|
}));
|
|
1127
1175
|
}
|
|
@@ -1159,3 +1207,41 @@ export function v1GetWorkflowExecutionCliStateServiceV1ExecutionsExecutionIdStat
|
|
|
1159
1207
|
})
|
|
1160
1208
|
}));
|
|
1161
1209
|
}
|
|
1210
|
+
/**
|
|
1211
|
+
* V1 Dispatch Workflow Execution Service
|
|
1212
|
+
*/
|
|
1213
|
+
export function v1DispatchWorkflowExecutionServiceV1WorkflowsDispatchPost({ authorization, stackspotCustomerIp, dispatchWorkflowExecutionRequest }: {
|
|
1214
|
+
authorization: string;
|
|
1215
|
+
stackspotCustomerIp?: string;
|
|
1216
|
+
dispatchWorkflowExecutionRequest: DispatchWorkflowExecutionRequest;
|
|
1217
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1218
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1219
|
+
status: 200;
|
|
1220
|
+
data: WorkflowExecutionResponse;
|
|
1221
|
+
} | {
|
|
1222
|
+
status: 400;
|
|
1223
|
+
data: HttpErrorResponse;
|
|
1224
|
+
} | {
|
|
1225
|
+
status: 401;
|
|
1226
|
+
data: HttpErrorResponse;
|
|
1227
|
+
} | {
|
|
1228
|
+
status: 404;
|
|
1229
|
+
data: HttpErrorResponse;
|
|
1230
|
+
} | {
|
|
1231
|
+
status: 422;
|
|
1232
|
+
} | {
|
|
1233
|
+
status: 500;
|
|
1234
|
+
data: HttpErrorResponse;
|
|
1235
|
+
} | {
|
|
1236
|
+
status: 503;
|
|
1237
|
+
data: HttpErrorResponse;
|
|
1238
|
+
}>("/v1/workflows/dispatch", oazapfts.json({
|
|
1239
|
+
...opts,
|
|
1240
|
+
method: "POST",
|
|
1241
|
+
body: dispatchWorkflowExecutionRequest,
|
|
1242
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1243
|
+
authorization,
|
|
1244
|
+
"stackspot-customer-ip": stackspotCustomerIp
|
|
1245
|
+
})
|
|
1246
|
+
})));
|
|
1247
|
+
}
|
|
@@ -6,7 +6,11 @@ import { StackspotAPIError } from '../error/StackspotAPIError'
|
|
|
6
6
|
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient'
|
|
7
7
|
import {
|
|
8
8
|
createApplication,
|
|
9
|
+
createCidr,
|
|
9
10
|
createDeployment,
|
|
11
|
+
createDnsZone,
|
|
12
|
+
createFolder,
|
|
13
|
+
createFoundation,
|
|
10
14
|
defaults,
|
|
11
15
|
getApplication,
|
|
12
16
|
getApplicationHistory,
|
|
@@ -14,11 +18,17 @@ import {
|
|
|
14
18
|
getDeploymentHealth,
|
|
15
19
|
getDeploymentLogs,
|
|
16
20
|
getDeploymentStatus,
|
|
21
|
+
getFolder,
|
|
22
|
+
getFoundation,
|
|
17
23
|
getRepositoryImages,
|
|
18
24
|
listApplications,
|
|
25
|
+
listCidr,
|
|
19
26
|
listDeployments,
|
|
27
|
+
listDnsZone,
|
|
28
|
+
listFoundations,
|
|
20
29
|
listRepositories,
|
|
21
30
|
listRuntimes,
|
|
31
|
+
providers,
|
|
22
32
|
} from '../api/cloudPlatform'
|
|
23
33
|
import { removeAuthorizationParam } from '../utils/remove-authorization-param'
|
|
24
34
|
|
|
@@ -82,6 +92,46 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
82
92
|
* Create an application
|
|
83
93
|
*/
|
|
84
94
|
createApplication = this.mutation(removeAuthorizationParam(createApplication))
|
|
95
|
+
/**
|
|
96
|
+
* List foundations
|
|
97
|
+
*/
|
|
98
|
+
listFoundations = this.query(removeAuthorizationParam(listFoundations))
|
|
99
|
+
/**
|
|
100
|
+
* Get a foundation by id
|
|
101
|
+
*/
|
|
102
|
+
foundation = this.query(removeAuthorizationParam(getFoundation))
|
|
103
|
+
/**
|
|
104
|
+
* Get list of foundations folders or folder by id
|
|
105
|
+
*/
|
|
106
|
+
listFolders = this.query(removeAuthorizationParam(getFolder))
|
|
107
|
+
/**
|
|
108
|
+
* Get list of providers for a foundation
|
|
109
|
+
*/
|
|
110
|
+
listProviders = this.query(removeAuthorizationParam(providers))
|
|
111
|
+
/**
|
|
112
|
+
* Create a foundation
|
|
113
|
+
*/
|
|
114
|
+
createFoundation = this.mutation(removeAuthorizationParam(createFoundation))
|
|
115
|
+
/**
|
|
116
|
+
* Create a foundation folder
|
|
117
|
+
*/
|
|
118
|
+
createFolder = this.mutation(removeAuthorizationParam(createFolder))
|
|
119
|
+
/**
|
|
120
|
+
* Get a list of dns zones
|
|
121
|
+
*/
|
|
122
|
+
listDnsZones = this.query(removeAuthorizationParam(listDnsZone))
|
|
123
|
+
/**
|
|
124
|
+
* Create a dns zone
|
|
125
|
+
*/
|
|
126
|
+
createDnsZone = this.mutation(removeAuthorizationParam(createDnsZone))
|
|
127
|
+
/**
|
|
128
|
+
* Get a list of cidrs
|
|
129
|
+
*/
|
|
130
|
+
listCidrs = this.query(removeAuthorizationParam(listCidr))
|
|
131
|
+
/**
|
|
132
|
+
* Create a cidr
|
|
133
|
+
*/
|
|
134
|
+
createCidr = this.mutation(removeAuthorizationParam(createCidr))
|
|
85
135
|
}
|
|
86
136
|
|
|
87
137
|
export const cloudPlatformClient = new CloudPlatformClient()
|