Skip to content

Commit 204113a

Browse files
authored
Update SDK to the latest spec status. (#178)
1 parent 0e40bef commit 204113a

File tree

105 files changed

+1513
-1337
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+1513
-1337
lines changed

src/lib/builders/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# Auto generated notice
2-
32
This directory and its content has been generated automatically. Do not modify its content, it WILL be lost.

src/lib/builders/actiondatafilter-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function actiondatafilterBuildingFn(data: Specification.Actiondatafilter): () =>
2727
return () => {
2828
const model = new Specification.Actiondatafilter(data);
2929

30-
validate('Actiondatafilter', model);
30+
validate('Actiondatafilter', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/basicpropsdef-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function basicpropsdefBuildingFn(data: Specification.Basicpropsdef): () => Speci
2727
return () => {
2828
const model = new Specification.Basicpropsdef(data);
2929

30-
validate('Basicpropsdef', model);
30+
validate('Basicpropsdef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/bearerpropsdef-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function bearerpropsdefBuildingFn(data: Specification.Bearerpropsdef): () => Spe
2727
return () => {
2828
const model = new Specification.Bearerpropsdef(data);
2929

30-
validate('Bearerpropsdef', model);
30+
validate('Bearerpropsdef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/correlation-def-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function correlationDefBuildingFn(data: Specification.CorrelationDef): () => Spe
2727
return () => {
2828
const model = new Specification.CorrelationDef(data);
2929

30-
validate('CorrelationDef', model);
30+
validate('CorrelationDef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/crondef-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function crondefBuildingFn(data: Specification.Crondef): () => Specification.Cro
2727
return () => {
2828
const model = new Specification.Crondef(data);
2929

30-
validate('Crondef', model);
30+
validate('Crondef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/enddeventcondition-builder.ts renamed to src/lib/builders/endeventcondition-builder.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ import { validate } from '../utils';
2020

2121
/**
2222
* The internal function used by the builder proxy to validate and return its underlying object
23-
* @param {Specification.Enddeventcondition} data The underlying object
24-
* @returns {Specification.Enddeventcondition} The validated underlying object
23+
* @param {Specification.Endeventcondition} data The underlying object
24+
* @returns {Specification.Endeventcondition} The validated underlying object
2525
*/
26-
function enddeventconditionBuildingFn(data: Specification.Enddeventcondition): () => Specification.Enddeventcondition {
26+
function endeventconditionBuildingFn(data: Specification.Endeventcondition): () => Specification.Endeventcondition {
2727
return () => {
28-
const model = new Specification.Enddeventcondition(data);
28+
const model = new Specification.Endeventcondition(data);
2929

30-
validate('Enddeventcondition', model.normalize());
30+
validate('Endeventcondition', model.normalize());
3131
return model;
3232
};
3333
}
3434

3535
/**
36-
* A factory to create a builder proxy for the type `Specification.Enddeventcondition`
37-
* @returns {Specification.Enddeventcondition} A builder for `Specification.Enddeventcondition`
36+
* A factory to create a builder proxy for the type `Specification.Endeventcondition`
37+
* @returns {Specification.Endeventcondition} A builder for `Specification.Endeventcondition`
3838
*/
39-
export function enddeventconditionBuilder(): Builder<Specification.Enddeventcondition> {
40-
return builder<Specification.Enddeventcondition>(enddeventconditionBuildingFn);
39+
export function endeventconditionBuilder(): Builder<Specification.Endeventcondition> {
40+
return builder<Specification.Endeventcondition>(endeventconditionBuildingFn);
4141
}

src/lib/builders/errordef-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function errordefBuildingFn(data: Specification.Errordef): () => Specification.E
2727
return () => {
2828
const model = new Specification.Errordef(data);
2929

30-
validate('Errordef', model);
30+
validate('Errordef', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/eventdatafilter-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function eventdatafilterBuildingFn(data: Specification.Eventdatafilter): () => S
2727
return () => {
2828
const model = new Specification.Eventdatafilter(data);
2929

30-
validate('Eventdatafilter', model);
30+
validate('Eventdatafilter', model.normalize());
3131
return model;
3232
};
3333
}

src/lib/builders/state-exec-timeout-builder.ts renamed to src/lib/builders/extension-builder.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ import { validate } from '../utils';
2020

2121
/**
2222
* The internal function used by the builder proxy to validate and return its underlying object
23-
* @param {Specification.StateExecTimeout} data The underlying object
24-
* @returns {Specification.StateExecTimeout} The validated underlying object
23+
* @param {Specification.Extension} data The underlying object
24+
* @returns {Specification.Extension} The validated underlying object
2525
*/
26-
function stateExecTimeoutBuildingFn(data: Specification.StateExecTimeout): () => Specification.StateExecTimeout {
26+
function extensionBuildingFn(data: Specification.Extension): () => Specification.Extension {
2727
return () => {
28-
const model = new Specification.StateExecTimeout(data);
28+
const model = new Specification.Extension(data);
2929

30-
validate('StateExecTimeout', model);
30+
validate('Extension', model.normalize());
3131
return model;
3232
};
3333
}
3434

3535
/**
36-
* A factory to create a builder proxy for the type `Specification.StateExecTimeout`
37-
* @returns {Specification.StateExecTimeout} A builder for `Specification.StateExecTimeout`
36+
* A factory to create a builder proxy for the type `Specification.Extension`
37+
* @returns {Specification.Extension} A builder for `Specification.Extension`
3838
*/
39-
export function stateExecTimeoutBuilder(): Builder<Specification.StateExecTimeout> {
40-
return builder<Specification.StateExecTimeout>(stateExecTimeoutBuildingFn);
39+
export function extensionBuilder(): Builder<Specification.Extension> {
40+
return builder<Specification.Extension>(extensionBuildingFn);
4141
}

0 commit comments

Comments
 (0)