Skip to content

Commit 265b2c1

Browse files
authored
build(codegen): updating SDK (#1241)
Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
1 parent 8d8c395 commit 265b2c1

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ export interface Extension extends BaseResource {
6363
readonly triggers: ExtensionTrigger[]
6464
/**
6565
* Maximum time (in milliseconds) that the Extension can respond within.
66-
* If no timeout is provided, the [default value](#time-limits) is used for all types of Extensions, including `payment` Extensions.
67-
* The maximum value is 10000 ms (10 seconds) for `payment` Extensions and 2000 ms (2 seconds) for all other Extensions.
66+
* If no timeout is provided, the default value is used for all [types of Extensions](ctp:api:type:ExtensionResourceTypeId).
67+
*
68+
* The limit of 10000 ms (10 seconds) can be increased per Project after we review the performance impact.
69+
* Please contact the [Composable Commerce support team](https://support.commercetools.com) and provide the Region, Project key, and use case.
6870
*
6971
*
7072
*/
@@ -139,10 +141,10 @@ export interface ExtensionDraft {
139141
readonly triggers: ExtensionTrigger[]
140142
/**
141143
* Maximum time (in milliseconds) the Extension can respond within.
142-
* If no timeout is provided, the [default value](/#time-limits) is used for all types of Extensions, including `payment` Extensions.
143-
* The maximum value is 10000 ms (10 seconds) for `payment` Extensions and 2000 ms (2 seconds) for all other Extensions.
144+
* If no timeout is provided, the default value is used for all [types of Extensions](ctp:api:type:ExtensionResourceTypeId).
145+
* We recommend keeping the timeout as low as possible to avoid performance issues.
144146
*
145-
* This limit can be increased per Project after we review the performance impact.
147+
* The limit of 10000 ms (10 seconds) can be increased per Project after we review the performance impact.
146148
* Please contact the [Composable Commerce support team](https://support.commercetools.com) and provide the Region, Project key, and use case.
147149
*
148150
*
@@ -385,12 +387,12 @@ export interface ExtensionSetKeyAction extends IExtensionUpdateAction {
385387
export interface ExtensionSetTimeoutInMsAction extends IExtensionUpdateAction {
386388
readonly action: 'setTimeoutInMs'
387389
/**
388-
* Value to set. If not defined, the maximum value is used.
389-
* If no timeout is provided, the [default value](#time-limits) is used for all types of Extensions, including `payment` Extensions.
390-
* The maximum value is 10000 ms (10 seconds) for `payment` Extensions and 2000 ms (2 seconds) for all other Extensions.
390+
* Value to set.
391+
* If no timeout is provided, the default value is used for all [types of Extensions](ctp:api:type:ExtensionResourceTypeId).
392+
* We recommend keeping the timeout as low as possible to avoid performance issues.
391393
*
392-
* This limit can be increased per Project after we review the performance impact.
393-
* Please contact the [Composable Commerce support team](https://support.commercetools.com/) and provide the Region, Project key, and use case.
394+
* The limit of 10000 ms (10 seconds) can be increased per Project after we review the performance impact.
395+
* Please contact the [Composable Commerce support team](https://support.commercetools.com) and provide the Region, Project key, and use case.
394396
*
395397
*
396398
*/

reference.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
86a80feb9be0921cea1d4b356f5b1e01057e7ba1

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,3 +519,4 @@ a1e8798ca33fe3c7621ab83ff12ca20f269c406d
519519
d3b8e01b6233c9a25fa53d3a8a50a8e1721e664c
520520
d71139f421f6ec0343438bef335b6826feaa86e7
521521
4880d2d5a0865d3d80661dbedabf8a400d35e04c
522+
1c132d4f4baa5b0c2972dfa0340a2ed5d5e781e8

0 commit comments

Comments
 (0)