Skip to content

Releases: commercetools/commercetools-sdk-typescript

@commercetools/[email protected]

12 May 12:22
1b91d6b
Compare
Choose a tag to compare

Minor Changes

  • #465 efa9194 Thanks @github-actions! - ## Update generated SDKs

    Api changes

    Changed Type(s)
    • ⚠️ changed type AssociateRole from type string to BaseResource
Added Type(s)
  • added type AssociateRoleDraft
  • added type AssociateRoleKeyReference
  • added type AssociateRolePagedQueryResponse
  • added type AssociateRoleReference
  • added type AssociateRoleResourceIdentifier
  • added type AssociateRoleUpdate
  • added type AssociateRoleUpdateAction
  • added type Permission
  • added type AssociateRoleAddPermissionAction
  • added type AssociateRoleChangeBuyerAssignableAction
  • added type AssociateRoleRemovePermissionAction
  • added type AssociateRoleSetCustomFieldAction
  • added type AssociateRoleSetCustomTypeAction
  • added type AssociateRoleSetNameAction
  • added type AssociateRoleSetPermissionsAction
  • added type AssociateRoleAssignment
  • added type AssociateRoleAssignmentDraft
  • added type AssociateRoleDeprecated
  • added type AssociateRoleInheritanceMode
  • added type BusinessUnitAssociateMode
  • added type InheritedAssociate
  • added type InheritedAssociateRoleAssignment
  • added type BusinessUnitChangeAssociateModeAction
  • added type AssociateMissingPermissionError
  • added type GraphQLAssociateMissingPermissionError
  • added type AssociateRoleBuyerAssignableChangedMessage
  • added type AssociateRoleCreatedMessage
  • added type AssociateRoleDeletedMessage
  • added type AssociateRoleNameChangedMessage
  • added type AssociateRolePermissionAddedMessage
  • added type AssociateRolePermissionRemovedMessage
  • added type AssociateRolePermissionsSetMessage
  • added type BusinessUnitAssociateModeChangedMessage
  • added type AssociateRoleBuyerAssignableChangedMessagePayload
  • added type AssociateRoleCreatedMessagePayload
  • added type AssociateRoleDeletedMessagePayload
  • added type AssociateRoleNameChangedMessagePayload
  • added type AssociateRolePermissionAddedMessagePayload
  • added type AssociateRolePermissionRemovedMessagePayload
  • added type AssociateRolePermissionsSetMessagePayload
  • added type BusinessUnitAssociateModeChangedMessagePayload
  • added type ProjectSetBusinessUnitAssociateRoleOnCreationAction
Added Enum(s)
  • added enum associate-role to type ReferenceTypeId
  • added enum associate-role to type MessageSubscriptionResourceTypeId
  • added enum associate-role to type ResourceTypeId
Added Property(s)
  • added property associateRoleAssignments to type Associate
  • added property associateRoleAssignments to type AssociateDraft
  • added property associateMode to type BusinessUnit
  • added property inheritedAssociates to type BusinessUnit
  • added property associateMode to type BusinessUnitDraft
  • added property associateMode to type Company
  • added property inheritedAssociates to type Company
  • added property associateMode to type CompanyDraft
  • added property associateMode to type Division
  • added property inheritedAssociates to type Division
  • added property associateMode to type DivisionDraft
  • added property myBusinessUnitAssociateRoleOnCreation to type BusinessUnitConfiguration
Changed Property(s)
  • ⚠️ changed property roles of type Associate from type AssociateRole[] to AssociateRoleDeprecated[]
  • ⚠️ changed property roles of type AssociateDraft from type AssociateRole[] to AssociateRoleDeprecated[]
MarkDeprecated Property(s)
  • marked property Associate::roles as deprecated
  • marked property AssociateDraft::roles as deprecated
Added Resource(s)
  • added resource /{projectKey}/as-associate
  • added resource /{projectKey}/associate-roles
  • added resource /{projectKey}/as-associate/{associateId}
  • added resource /{projectKey}/as-associate/{associateId}/business-units
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}
  • added resource /{projectKey}/as-associate/{associateId}/business-units/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/business-units/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}
  • added resource /{projectKey}/associate-roles/key={key}
  • added resource /{projectKey}/associate-roles/{ID}
Added Method(s)
  • added method apiRoot.withProjectKey().associateRoles().get()
  • added method apiRoot.withProjectKey().associateRoles().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().delete()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().delete()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().orderQuote().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withOrderNumber().get()
  • added method `a...
Read more

@commercetools/[email protected]

12 May 12:22
1b91d6b
Compare
Choose a tag to compare

Minor Changes

  • #465 efa9194 Thanks @github-actions! - ## Update generated SDKs

    Api changes

    Changed Type(s)
    • ⚠️ changed type AssociateRole from type string to BaseResource
Added Type(s)
  • added type AssociateRoleDraft
  • added type AssociateRoleKeyReference
  • added type AssociateRolePagedQueryResponse
  • added type AssociateRoleReference
  • added type AssociateRoleResourceIdentifier
  • added type AssociateRoleUpdate
  • added type AssociateRoleUpdateAction
  • added type Permission
  • added type AssociateRoleAddPermissionAction
  • added type AssociateRoleChangeBuyerAssignableAction
  • added type AssociateRoleRemovePermissionAction
  • added type AssociateRoleSetCustomFieldAction
  • added type AssociateRoleSetCustomTypeAction
  • added type AssociateRoleSetNameAction
  • added type AssociateRoleSetPermissionsAction
  • added type AssociateRoleAssignment
  • added type AssociateRoleAssignmentDraft
  • added type AssociateRoleDeprecated
  • added type AssociateRoleInheritanceMode
  • added type BusinessUnitAssociateMode
  • added type InheritedAssociate
  • added type InheritedAssociateRoleAssignment
  • added type BusinessUnitChangeAssociateModeAction
  • added type AssociateMissingPermissionError
  • added type GraphQLAssociateMissingPermissionError
  • added type AssociateRoleBuyerAssignableChangedMessage
  • added type AssociateRoleCreatedMessage
  • added type AssociateRoleDeletedMessage
  • added type AssociateRoleNameChangedMessage
  • added type AssociateRolePermissionAddedMessage
  • added type AssociateRolePermissionRemovedMessage
  • added type AssociateRolePermissionsSetMessage
  • added type BusinessUnitAssociateModeChangedMessage
  • added type AssociateRoleBuyerAssignableChangedMessagePayload
  • added type AssociateRoleCreatedMessagePayload
  • added type AssociateRoleDeletedMessagePayload
  • added type AssociateRoleNameChangedMessagePayload
  • added type AssociateRolePermissionAddedMessagePayload
  • added type AssociateRolePermissionRemovedMessagePayload
  • added type AssociateRolePermissionsSetMessagePayload
  • added type BusinessUnitAssociateModeChangedMessagePayload
  • added type ProjectSetBusinessUnitAssociateRoleOnCreationAction
Added Enum(s)
  • added enum associate-role to type ReferenceTypeId
  • added enum associate-role to type MessageSubscriptionResourceTypeId
  • added enum associate-role to type ResourceTypeId
Added Property(s)
  • added property associateRoleAssignments to type Associate
  • added property associateRoleAssignments to type AssociateDraft
  • added property associateMode to type BusinessUnit
  • added property inheritedAssociates to type BusinessUnit
  • added property associateMode to type BusinessUnitDraft
  • added property associateMode to type Company
  • added property inheritedAssociates to type Company
  • added property associateMode to type CompanyDraft
  • added property associateMode to type Division
  • added property inheritedAssociates to type Division
  • added property associateMode to type DivisionDraft
  • added property myBusinessUnitAssociateRoleOnCreation to type BusinessUnitConfiguration
Changed Property(s)
  • ⚠️ changed property roles of type Associate from type AssociateRole[] to AssociateRoleDeprecated[]
  • ⚠️ changed property roles of type AssociateDraft from type AssociateRole[] to AssociateRoleDeprecated[]
MarkDeprecated Property(s)
  • marked property Associate::roles as deprecated
  • marked property AssociateDraft::roles as deprecated
Added Resource(s)
  • added resource /{projectKey}/as-associate
  • added resource /{projectKey}/associate-roles
  • added resource /{projectKey}/as-associate/{associateId}
  • added resource /{projectKey}/as-associate/{associateId}/business-units
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}
  • added resource /{projectKey}/as-associate/{associateId}/business-units/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/business-units/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/quotes
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/order-number={orderNumber}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/orders/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quotes/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/quote-requests/{ID}
  • added resource /{projectKey}/associate-roles/key={key}
  • added resource /{projectKey}/associate-roles/{ID}
Added Method(s)
  • added method apiRoot.withProjectKey().associateRoles().get()
  • added method apiRoot.withProjectKey().associateRoles().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().delete()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().delete()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().orderQuote().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withOrderNumber().get()
  • added method `a...
Read more

@commercetools/[email protected]

10 May 22:17
ec8b4ae
Compare
Choose a tag to compare

Major Changes

  • #458 c2bf0a5 Thanks @ajimae! - - add newrelic APM (application performance monitoring) to the sdk
    • add withTelemetryMiddleware() middleware creator method to ClientBuilder class
    • add basic newrelic application configuration module
    • add examples to repository example folder to demonstrate how this feature can be used

@commercetools/[email protected]

10 May 22:17
ec8b4ae
Compare
Choose a tag to compare

Minor Changes

  • #458 c2bf0a5 Thanks @ajimae! - Introduce (newrelic) application performance monitoring

  • #458 c2bf0a5 Thanks @ajimae! - - add newrelic APM (application performance monitoring) to the sdk

    • add withTelemetryMiddleware() middleware creator method to ClientBuilder class
    • add basic newrelic application configuration module
    • add examples to repository example folder to demonstrate how this feature can be used

@commercetools/[email protected]

02 May 09:48
d6d4a1b
Compare
Choose a tag to compare

Patch Changes

  • #453 a83e653 Thanks @ajimae! - - Remove all querystring dependency
    • Add qs dependency to requiring package
    • Refactor code to accommodate new implementation

@commercetools/[email protected]

02 May 09:48
d6d4a1b
Compare
Choose a tag to compare

Patch Changes

  • #453 a83e653 Thanks @ajimae! - - Remove all querystring dependency
    • Add qs dependency to requiring package
    • Refactor code to accommodate new implementation
  • Updated dependencies [a83e653]:

@commercetools/[email protected]

02 May 09:48
d6d4a1b
Compare
Choose a tag to compare

Patch Changes

  • #453 a83e653 Thanks @ajimae! - - Remove all querystring dependency
    • Add qs dependency to requiring package
    • Refactor code to accommodate new implementation
  • Updated dependencies [a83e653]:

@commercetools/[email protected]

02 May 09:48
d6d4a1b
Compare
Choose a tag to compare

Patch Changes

  • #453 a83e653 Thanks @ajimae! - - Remove all querystring dependency
    • Add qs dependency to requiring package
    • Refactor code to accommodate new implementation
  • Updated dependencies [a83e653]:

@commercetools/[email protected]

02 May 09:48
d6d4a1b
Compare
Choose a tag to compare

Patch Changes

  • #453 a83e653 Thanks @ajimae! - - Remove all querystring dependency
    • Add qs dependency to requiring package
    • Refactor code to accommodate new implementation
  • Updated dependencies [a83e653]:

@commercetools/[email protected]

12 Apr 08:16
274a1ce
Compare
Choose a tag to compare

Major Changes

  • #434 ea0a6c6 Thanks @ajimae! - Introduce the new typescript client package with the following eatures and middleware
    • add client and middleware composer
    • add http-middleware
    • add error-middleware
    • add logger-middleware
    • add auth-middleware
      • add with-client-credentials-flow
      • add with-anonymous-session-flow
      • add with-password-flow
      • add with-refresh-token-flow
      • add with-existing-token-flow
      • add token cache
    • add retry-middleware
    • add correlation-id-middleware
    • add queue-middleware
    • add user-agent-middleware
    • add concurrent-modification-middleware
    • add axios and node-fetch support