Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Oct 18, 2023
1 parent 2462811 commit b6c6ae9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
15 changes: 11 additions & 4 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,15 +328,22 @@
**History changes**

<details>
<summary>Added QueryParameter(s)</summary>
<summary>Changed Property(s)</summary>

- added query parameter `businessUnit` to method `get /{projectKey}`
- added query parameter `businessUnit` to method `get /{projectKey}/{resourceType}`
- added query parameter `businessUnit` to method `get /{projectKey}/{resourceType}/{ID}`
- :warning: changed property `previousValue` of type `SetNameChange` from type `LocalizedString` to `string`
- :warning: changed property `nextValue` of type `SetNameChange` from type `LocalizedString` to `string`
</details>

<details>
<summary>Added Property(s)</summary>

- added property `businessUnit` to type `Record`
</details>

<details>
<summary>Added QueryParameter(s)</summary>

- added query parameter `businessUnit` to method `get /{projectKey}`
- added query parameter `businessUnit` to method `get /{projectKey}/{resourceType}`
- added query parameter `businessUnit` to method `get /{projectKey}/{resourceType}/{ID}`
</details>
19 changes: 11 additions & 8 deletions packages/history-sdk/src/generated/models/change.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5537,12 +5537,7 @@ export interface SetMiddleNameChange {
readonly nextValue: string
}
/**
* Change triggered by the following update actions:
*
* - [Set Name](ctp:api:type:DiscountCodeSetNameAction) on Discount Codes.
* - [Set State Name](ctp:api:type:StateSetNameAction) on States.
* - [Set Name](ctp:api:type:StoreSetNameAction) on Stores.
*
* Change triggered by the [Set Name](ctp:api:type:AssociateRoleSetNameAction) update action.
*/
export interface SetNameChange {
readonly type: 'SetNameChange'
Expand All @@ -5554,13 +5549,21 @@ export interface SetNameChange {
* Value before the change.
*
*/
readonly previousValue: LocalizedString
readonly previousValue: string
/**
* Value after the change.
*
*/
readonly nextValue: LocalizedString
readonly nextValue: string
}
/**
* Change triggered by the following update actions:
*
* - [Set Name](ctp:api:type:DiscountCodeSetNameAction) on Discount Codes.
* - [Set State Name](ctp:api:type:StateSetNameAction) on States.
* - [Set Name](ctp:api:type:StoreSetNameAction) on Stores.
*
*/
export interface SetLocalizedNameChange {
readonly type: 'SetLocalizedNameChange'
/**
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,4 @@ c79d63cb4ea031447a5dfeea23dc05bb9398d727
cfb34c1d1b7549d9bfe759d13ca9357646371e72
00ec1791c7297ecf203797bcfe02ebad5c9c9a64
da5022ed759c0ebb3b80c15eb62488c7584dfeba
b25b7cc02df72845f3045528120267d1b6330e0a

0 comments on commit b6c6ae9

Please sign in to comment.