Skip to content

Commit e85c90f

Browse files
committed
build(codegen): updating SDK
1 parent 7e4bc9f commit e85c90f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

packages/importapi-sdk/src/generated/models/types.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ export type FieldType =
105105
| CustomFieldTimeType
106106
export interface IFieldType {
107107
/**
108-
* Name of the field type. Must be unique for a given [ResourceTypeId](ctp:import:type:ResourceTypeId). In case there is a FieldDefinition with the same `name` in another Type, both FieldDefinitions must have the same `type`. This value cannot be changed after the Type is imported.
108+
* Discriminator that determines the type of the field.
109+
* This value can't be changed after you import the Type.
109110
*
110111
*
111112
*/
@@ -282,7 +283,10 @@ export interface FieldDefinition {
282283
*/
283284
readonly type: FieldType
284285
/**
285-
* Name of the Custom Field to define. Must be unique for a given [ResourceTypeId](ctp:import:type:ResourceTypeId). In case there is a FieldDefinition with the same `name` in another Type, both FieldDefinitions must have the same `type`. This value cannot be changed after the Type is imported.
286+
* Name of the Custom Field that you want to define.
287+
* The name must be unique for a given [ResourceTypeId](ctp:import:type:ResourceTypeId).
288+
* If a FieldDefinition with the same `name` is defined in another [Type](ctp:api:type:Type) for the same [ResourceTypeId](ctp:import:type:ResourceTypeId), then both FieldDefinitions must have the same `type`.
289+
* This value can't be changed after you import the Type.
286290
*
287291
*
288292
*/

packages/platform-sdk/src/generated/models/type.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export interface FieldDefinition {
147147
/**
148148
* Name of the Custom Field to define.
149149
* Must be unique for a given [ResourceTypeId](ctp:api:type:ResourceTypeId).
150-
* In case there is a FieldDefinition with the same `name` in another [Type](ctp:api:type:Type), both FieldDefinitions must have the same `type`.
150+
* If a FieldDefinition with the same `name` is defined in another [Type](ctp:api:type:Type) for the same [ResourceTypeId](ctp:api:type:ResourceTypeId), then both FieldDefinitions must have the same `type`.
151151
*
152152
*
153153
*/
@@ -185,6 +185,7 @@ export type FieldType =
185185
| CustomFieldTimeType
186186
export interface IFieldType {
187187
/**
188+
* Discriminator that determines the type of the field.
188189
*
189190
*/
190191
readonly name: string

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,3 +481,4 @@ bfb534af33764ac81a3784290b35530d926fccf1
481481
68fb22e84fc95421ac888349924233d728ef2838
482482
78d1ed9c74ad1fd8f47f014bc4fe96ce2720d509
483483
603e489748f9c32c1891d60d6f767892a8ea5207
484+
dd952279caa05a020c427ea1899d4bf0897cb802

0 commit comments

Comments
 (0)