-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from antmendoza/update_verions_07_3
update to v07 specification
- Loading branch information
Showing
57 changed files
with
2,515 additions
and
548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2021-Present The Serverless Workflow Specification Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import { Builder, builder } from '../builder'; | ||
import { Specification } from '../definitions'; | ||
import { validate } from '../utils'; | ||
|
||
/** | ||
* The internal function used by the builder proxy to validate and return its underlying object | ||
* @param {Specification.Authdef} data The underlying object | ||
* @returns {Specification.Authdef} The validated underlying object | ||
*/ | ||
function authdefBuildingFn(data: Specification.Authdef): () => Specification.Authdef { | ||
return () => { | ||
const model = new Specification.Authdef(data); | ||
|
||
validate('Authdef', model); | ||
return model; | ||
}; | ||
} | ||
|
||
/** | ||
* A factory to create a builder proxy for the type `Specification.Authdef` | ||
* @returns {Specification.Authdef} A builder for `Specification.Authdef` | ||
*/ | ||
export function authdefBuilder(): Builder<Specification.Authdef> { | ||
return builder<Specification.Authdef>(authdefBuildingFn); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2021-Present The Serverless Workflow Specification Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import { Builder, builder } from '../builder'; | ||
import { Specification } from '../definitions'; | ||
import { validate } from '../utils'; | ||
|
||
/** | ||
* The internal function used by the builder proxy to validate and return its underlying object | ||
* @param {Specification.Basicpropsdef} data The underlying object | ||
* @returns {Specification.Basicpropsdef} The validated underlying object | ||
*/ | ||
function basicpropsdefBuildingFn(data: Specification.Basicpropsdef): () => Specification.Basicpropsdef { | ||
return () => { | ||
const model = new Specification.Basicpropsdef(data); | ||
|
||
validate('Basicpropsdef', model); | ||
return model; | ||
}; | ||
} | ||
|
||
/** | ||
* A factory to create a builder proxy for the type `Specification.Basicpropsdef` | ||
* @returns {Specification.Basicpropsdef} A builder for `Specification.Basicpropsdef` | ||
*/ | ||
export function basicpropsdefBuilder(): Builder<Specification.Basicpropsdef> { | ||
return builder<Specification.Basicpropsdef>(basicpropsdefBuildingFn); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2021-Present The Serverless Workflow Specification Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import { Builder, builder } from '../builder'; | ||
import { Specification } from '../definitions'; | ||
import { validate } from '../utils'; | ||
|
||
/** | ||
* The internal function used by the builder proxy to validate and return its underlying object | ||
* @param {Specification.Bearerpropsdef} data The underlying object | ||
* @returns {Specification.Bearerpropsdef} The validated underlying object | ||
*/ | ||
function bearerpropsdefBuildingFn(data: Specification.Bearerpropsdef): () => Specification.Bearerpropsdef { | ||
return () => { | ||
const model = new Specification.Bearerpropsdef(data); | ||
|
||
validate('Bearerpropsdef', model); | ||
return model; | ||
}; | ||
} | ||
|
||
/** | ||
* A factory to create a builder proxy for the type `Specification.Bearerpropsdef` | ||
* @returns {Specification.Bearerpropsdef} A builder for `Specification.Bearerpropsdef` | ||
*/ | ||
export function bearerpropsdefBuilder(): Builder<Specification.Bearerpropsdef> { | ||
return builder<Specification.Bearerpropsdef>(bearerpropsdefBuildingFn); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2021-Present The Serverless Workflow Specification Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import { Builder, builder } from '../builder'; | ||
import { Specification } from '../definitions'; | ||
import { validate } from '../utils'; | ||
|
||
/** | ||
* The internal function used by the builder proxy to validate and return its underlying object | ||
* @param {Specification.Continueasdef} data The underlying object | ||
* @returns {Specification.Continueasdef} The validated underlying object | ||
*/ | ||
function continueasdefBuildingFn(data: Specification.Continueasdef): () => Specification.Continueasdef { | ||
return () => { | ||
const model = new Specification.Continueasdef(data); | ||
|
||
validate('Continueasdef', model); | ||
return model; | ||
}; | ||
} | ||
|
||
/** | ||
* A factory to create a builder proxy for the type `Specification.Continueasdef` | ||
* @returns {Specification.Continueasdef} A builder for `Specification.Continueasdef` | ||
*/ | ||
export function continueasdefBuilder(): Builder<Specification.Continueasdef> { | ||
return builder<Specification.Continueasdef>(continueasdefBuildingFn); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2021-Present The Serverless Workflow Specification Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import { Builder, builder } from '../builder'; | ||
import { Specification } from '../definitions'; | ||
import { validate } from '../utils'; | ||
|
||
/** | ||
* The internal function used by the builder proxy to validate and return its underlying object | ||
* @param {Specification.Errordef} data The underlying object | ||
* @returns {Specification.Errordef} The validated underlying object | ||
*/ | ||
function errordefBuildingFn(data: Specification.Errordef): () => Specification.Errordef { | ||
return () => { | ||
const model = new Specification.Errordef(data); | ||
|
||
validate('Errordef', model); | ||
return model; | ||
}; | ||
} | ||
|
||
/** | ||
* A factory to create a builder proxy for the type `Specification.Errordef` | ||
* @returns {Specification.Errordef} A builder for `Specification.Errordef` | ||
*/ | ||
export function errordefBuilder(): Builder<Specification.Errordef> { | ||
return builder<Specification.Errordef>(errordefBuildingFn); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2021-Present The Serverless Workflow Specification Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import { Builder, builder } from '../builder'; | ||
import { Specification } from '../definitions'; | ||
import { validate } from '../utils'; | ||
|
||
/** | ||
* The internal function used by the builder proxy to validate and return its underlying object | ||
* @param {Specification.Oauth2propsdef} data The underlying object | ||
* @returns {Specification.Oauth2propsdef} The validated underlying object | ||
*/ | ||
function oauth2propsdefBuildingFn(data: Specification.Oauth2propsdef): () => Specification.Oauth2propsdef { | ||
return () => { | ||
const model = new Specification.Oauth2propsdef(data); | ||
|
||
validate('Oauth2propsdef', model); | ||
return model; | ||
}; | ||
} | ||
|
||
/** | ||
* A factory to create a builder proxy for the type `Specification.Oauth2propsdef` | ||
* @returns {Specification.Oauth2propsdef} A builder for `Specification.Oauth2propsdef` | ||
*/ | ||
export function oauth2propsdefBuilder(): Builder<Specification.Oauth2propsdef> { | ||
return builder<Specification.Oauth2propsdef>(oauth2propsdefBuildingFn); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright 2021-Present The Serverless Workflow Specification Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import { Builder, builder } from '../builder'; | ||
import { Specification } from '../definitions'; | ||
import { validate } from '../utils'; | ||
|
||
/** | ||
* The internal function used by the builder proxy to validate and return its underlying object | ||
* @param {Specification.Sleep} data The underlying object | ||
* @returns {Specification.Sleep} The validated underlying object | ||
*/ | ||
function sleepBuildingFn(data: Specification.Sleep): () => Specification.Sleep { | ||
return () => { | ||
const model = new Specification.Sleep(data); | ||
|
||
validate('Sleep', model); | ||
return model; | ||
}; | ||
} | ||
|
||
/** | ||
* A factory to create a builder proxy for the type `Specification.Sleep` | ||
* @returns {Specification.Sleep} A builder for `Specification.Sleep` | ||
*/ | ||
export function sleepBuilder(): Builder<Specification.Sleep> { | ||
return builder<Specification.Sleep>(sleepBuildingFn); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.