Skip to content

Commit

Permalink
build(codegen): updating SDK (#868)
Browse files Browse the repository at this point in the history
Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
  • Loading branch information
ct-sdks[bot] authored Dec 9, 2024
1 parent 15e3913 commit 612d504
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 35 deletions.
1 change: 0 additions & 1 deletion .changeset/changes_import.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

- added type `InvalidFieldsUpdateError`
- added type `NewMasterVariantAdditionNotAllowedError`
- added type `ReferencedResourceNotFound`
</details>

<details>
Expand Down
1 change: 0 additions & 1 deletion changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@

- added type `InvalidFieldsUpdateError`
- added type `NewMasterVariantAdditionNotAllowedError`
- added type `ReferencedResourceNotFound`
</details>

<details>
Expand Down
34 changes: 1 addition & 33 deletions packages/importapi-sdk/src/generated/models/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
*/

import { ProcessingState, ReferenceType } from './common'
import { ProcessingState } from './common'
import { PriceImport } from './prices'
import { Attribute } from './productvariants'

Expand Down Expand Up @@ -71,7 +71,6 @@ export type ErrorObject =
| InvalidStateTransitionError
| InvalidTokenError
| NewMasterVariantAdditionNotAllowedError
| ReferencedResourceNotFound
| RequiredFieldError
| ResourceCreationError
| ResourceDeletionError
Expand Down Expand Up @@ -440,34 +439,3 @@ export interface NewMasterVariantAdditionNotAllowedError {
*/
readonly message: string
}
/**
* Returned when a resource referenced by a [Reference](/../api/types#reference) or a [ResourceIdentifier](/../api/types#resourceidentifier) could not be found.
*
*/
export interface ReferencedResourceNotFound {
readonly code: 'ReferencedResourceNotFound'
/**
* `"The referenced object of type $typeId $predicate was not found. It either doesn't exist, or it can't be accessed from this endpoint (e.g., if the endpoint filters by store or customer account)."`
*
*
*/
readonly message: string
/**
* Type of referenced resource.
*
*
*/
readonly typeId: ReferenceType
/**
* Unique identifier of the referenced resource, if known.
*
*
*/
readonly id?: string
/**
* User-defined unique identifier of the referenced resource, if known.
*
*
*/
readonly key?: string
}
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -345,3 +345,4 @@ a639dbb1cfe5b434c350e7b47ca717c69b3aa369
b747e1fa4f246b748a89bccbfd8a43f5b6f51175
505b3af56b4452b22dfb595f93e010b3e2fccc53
7375cdc26481ba55e756479a87270432635bfcf7
df53588d26d7953dfdf44166866ca03045f0a70b

0 comments on commit 612d504

Please sign in to comment.