Skip to content

Commit

Permalink
Merge pull request #49 from mkusaka/update-20220719T000304
Browse files Browse the repository at this point in the history
update 20220719T000304
  • Loading branch information
mkusaka authored Jul 19, 2022
2 parents 16234ae + b2e1021 commit 8d4aaf8
Show file tree
Hide file tree
Showing 4 changed files with 650 additions and 553 deletions.
66 changes: 33 additions & 33 deletions client/services/ContextService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,39 +219,6 @@ export class ContextService {
},
});
}
/**
* Remove an environment variable
* Delete an environment variable from a context.
* @returns any A confirmation message
* @throws ApiError
*/
public static deleteEnvironmentVariableFromContext({
envVarName,
contextId,
}: {
/**
* The name of the environment variable
*/
envVarName: string;
/**
* ID of the context (UUID)
*/
contextId: string;
}): CancelablePromise<{
/**
* A human-readable message
*/
message: string;
}> {
return __request(OpenAPI, {
method: "DELETE",
url: "/context/{context-id}/environment-variable/{env-var-name}",
path: {
"env-var-name": envVarName,
"context-id": contextId,
},
});
}
/**
* Add or update an environment variable
* Create or update an environment variable within a context. Returns information about the environment variable, not including its value.
Expand Down Expand Up @@ -310,4 +277,37 @@ export class ContextService {
mediaType: "application/json",
});
}
/**
* Remove an environment variable
* Delete an environment variable from a context.
* @returns any A confirmation message
* @throws ApiError
*/
public static deleteEnvironmentVariableFromContext({
envVarName,
contextId,
}: {
/**
* The name of the environment variable
*/
envVarName: string;
/**
* ID of the context (UUID)
*/
contextId: string;
}): CancelablePromise<{
/**
* A human-readable message
*/
message: string;
}> {
return __request(OpenAPI, {
method: "DELETE",
url: "/context/{context-id}/environment-variable/{env-var-name}",
path: {
"env-var-name": envVarName,
"context-id": contextId,
},
});
}
}
142 changes: 77 additions & 65 deletions client/services/ScheduleService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ export class ScheduleService {
"days-of-week": Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month"?: Array<number>;
/**
* Months in which the schedule triggers.
*/
Expand Down Expand Up @@ -76,6 +80,12 @@ export class ScheduleService {
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month": Array<number>;
/**
* Days in a week in which the schedule triggers.
*/
"days-of-week"?: Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Months in which the schedule triggers.
*/
Expand Down Expand Up @@ -190,6 +200,10 @@ export class ScheduleService {
"days-of-week": Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month"?: Array<number>;
/**
* Months in which the schedule triggers.
*/
Expand Down Expand Up @@ -221,6 +235,12 @@ export class ScheduleService {
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month": Array<number>;
/**
* Days in a week in which the schedule triggers.
*/
"days-of-week"?: Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Months in which the schedule triggers.
*/
Expand Down Expand Up @@ -302,6 +322,10 @@ export class ScheduleService {
"days-of-week": Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month"?: Array<number>;
/**
* Months in which the schedule triggers.
*/
Expand Down Expand Up @@ -333,6 +357,12 @@ export class ScheduleService {
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month": Array<number>;
/**
* Days in a week in which the schedule triggers.
*/
"days-of-week"?: Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Months in which the schedule triggers.
*/
Expand Down Expand Up @@ -427,71 +457,43 @@ export class ScheduleService {
/**
* Timetable that specifies when a schedule triggers.
*/
timetable?:
| {
/**
* Number of times a schedule triggers per hour, value must be between 1 and 60
*/
"per-hour"?: number;
/**
* Hours in a day in which the schedule triggers.
*/
"hours-of-day"?: Array<number>;
/**
* Days in a week in which the schedule triggers.
*/
"days-of-week"?: Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Months in which the schedule triggers.
*/
months?: Array<
| "MAR"
| "NOV"
| "DEC"
| "JUN"
| "MAY"
| "OCT"
| "FEB"
| "APR"
| "SEP"
| "AUG"
| "JAN"
| "JUL"
>;
}
| {
/**
* Number of times a schedule triggers per hour, value must be between 1 and 60
*/
"per-hour"?: number;
/**
* Hours in a day in which the schedule triggers.
*/
"hours-of-day"?: Array<number>;
/**
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month"?: Array<number>;
/**
* Months in which the schedule triggers.
*/
months?: Array<
| "MAR"
| "NOV"
| "DEC"
| "JUN"
| "MAY"
| "OCT"
| "FEB"
| "APR"
| "SEP"
| "AUG"
| "JAN"
| "JUL"
>;
};
timetable?: {
/**
* Number of times a schedule triggers per hour, value must be between 1 and 60
*/
"per-hour"?: number;
/**
* Hours in a day in which the schedule triggers.
*/
"hours-of-day"?: Array<number>;
/**
* Days in a week in which the schedule triggers.
*/
"days-of-week"?: Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month"?: Array<number>;
/**
* Months in which the schedule triggers.
*/
months?: Array<
| "MAR"
| "NOV"
| "DEC"
| "JUN"
| "MAY"
| "OCT"
| "FEB"
| "APR"
| "SEP"
| "AUG"
| "JAN"
| "JUL"
>;
};
/**
* The attribution-actor of the scheduled pipeline.
*/
Expand Down Expand Up @@ -525,6 +527,10 @@ export class ScheduleService {
"days-of-week": Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month"?: Array<number>;
/**
* Months in which the schedule triggers.
*/
Expand Down Expand Up @@ -556,6 +562,12 @@ export class ScheduleService {
* Days in a month in which the schedule triggers. This is mutually exclusive with days in a week.
*/
"days-of-month": Array<number>;
/**
* Days in a week in which the schedule triggers.
*/
"days-of-week"?: Array<
"TUE" | "SAT" | "SUN" | "MON" | "THU" | "WED" | "FRI"
>;
/**
* Months in which the schedule triggers.
*/
Expand Down
Loading

0 comments on commit 8d4aaf8

Please sign in to comment.