Skip to content

Commit 2b1e898

Browse files
Codegen: Automation Actions v4
1 parent 71f23c7 commit 2b1e898

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

codegen/automation/actions/models/NextPage.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,17 @@
1111
*/
1212

1313

14+
/**
15+
* Specifies the paging information needed to retrieve the next set of results in a paginated API response
16+
*/
1417
export class NextPage {
18+
/**
19+
* A URL that can be used to retrieve the next page results.
20+
*/
1521
'link'?: string;
22+
/**
23+
* A paging cursor token for retrieving subsequent pages.
24+
*/
1625
'after': string;
1726

1827
static readonly discriminator: string | undefined = undefined;

codegen/automation/actions/models/Option.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,34 @@
1111
*/
1212

1313

14+
/**
15+
* A HubSpot property option
16+
*/
1417
export class Option {
18+
/**
19+
* Whether the option is displayed in HubSpot\'s UI.
20+
*/
1521
'hidden': boolean;
22+
/**
23+
* The position of the item relative to others in the list.
24+
*/
1625
'displayOrder': number;
1726
'doubleData': number;
27+
/**
28+
* A description of the option.
29+
*/
1830
'description': string;
31+
/**
32+
* Whether the option is read-only.
33+
*/
1934
'readOnly': boolean;
35+
/**
36+
* A user-friendly label that identifies the option.
37+
*/
2038
'label': string;
39+
/**
40+
* The actual value of the option.
41+
*/
2142
'value': string;
2243

2344
static readonly discriminator: string | undefined = undefined;

codegen/automation/actions/models/PublicActionDefinitionInputFieldDependenciesInner.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ export type PublicActionDefinitionInputFieldDependenciesInner = PublicConditiona
2525
* @export
2626
*/
2727
export class PublicActionDefinitionInputFieldDependenciesInnerClass {
28-
static readonly discriminator: string | undefined = undefined;
28+
static readonly discriminator: string | undefined = "dependencyType";
2929

30-
static readonly mapping: {[index: string]: string} | undefined = undefined;
30+
static readonly mapping: {[index: string]: string} | undefined = {
31+
"CONDITIONAL_SINGLE_FIELD": "PublicConditionalSingleFieldDependency",
32+
"SINGLE_FIELD": "PublicSingleFieldDependency",
33+
};
3134
}
3235

0 commit comments

Comments
 (0)