test-data icon indicating copy to clipboard operation
test-data copied to clipboard

Version Packages

Open ct-changesets[bot] opened this issue 3 months ago • 0 comments

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@commercetools/[email protected]

Patch Changes

  • #993 133dd9e Thanks @CarlosCortizasCT! - We've migrated the Payment and PaymentDraft models to the new implementation patterns.

    This change does not have any impact on consumers, however the Payment and PaymentDraft models are now deprecated and you're expected to start using the PaymentGraphql or PaymentDraftRest models instead depending of the type of API you're mocking.

    import {
      PaymentGraphql,
      PaymentRest,
      PaymentDraftGraphql,
      PaymentDraftRest,
    } from '@commercetools/composable-commerce-test-data/payment';
    
    const graphqlPayment = PaymentGraphql.random().build();
    const restPayment = PaymentRest.random().build();
    
    const graphqlPaymentDraft = PaymentDraftGraphql.random().build();
    const restPaymentDraft = PaymentDraftRest.random().build();
    
  • #991 f3729ec Thanks @CarlosCortizasCT! - We've migrated the PaymentStatus and PaymentStatusDraft models to the new implementation patterns.

    This change does not have any impact on consumers, however the PaymentStatus and PaymentStatusDraft models are now deprecated and you're expected to start using the PaymentStatusGraphql or PaymentStatusDraftRest models instead depending of the type of API you're mocking.

    import {
      PaymentStatusGraphql,
      PaymentStatusRest,
      PaymentStatusDraftGraphql,
      PaymentStatusDraftRest,
    } from '@commercetools/composable-commerce-test-data/payment';
    
    const graphqlPaymentStatus = PaymentStatusGraphql.random().build();
    const restPaymentStatus = PaymentStatusRest.random().build();
    
    const graphqlPaymentStatusDraft = PaymentStatusDraftGraphql.random().build();
    const restPaymentStatusDraft = PaymentStatusDraftRest.random().build();
    
  • #992 52abb24 Thanks @CarlosCortizasCT! - We've migrated the PaymentMethodInfo and PaymentMethodInfoDraft models to the new implementation patterns.

    This change does not have any impact on consumers, however the PaymentMethodInfo and PaymentMethodInfoDraft models are now deprecated and you're expected to start using the PaymentMethodInfoGraphql or PaymentMethodInfoDraftRest models instead depending of the type of API you're mocking.

    import {
      PaymentMethodInfoGraphql,
      PaymentMethodInfoRest,
      PaymentMethodInfoDraftGraphql,
      PaymentMethodInfoDraftRest,
    } from '@commercetools/composable-commerce-test-data/payment';
    
    const graphqlPaymentMethodInfo = PaymentMethodInfoGraphql.random().build();
    const restPaymentMethodInfo = PaymentMethodInfoRest.random().build();
    
    const graphqlPaymentMethodInfoDraft =
      PaymentMethodInfoDraftGraphql.random().build();
    const restPaymentMethodInfoDraft =
      PaymentMethodInfoDraftRest.random().build();
    
  • #989 fab39e9 Thanks @CarlosCortizasCT! - We've migrated the Transaction and TransactionDraft models to the new implementation patterns.

    This change does not have any impact on consumers, however the Transaction and TransactionDraft models are now deprecated and you're expected to start using the TransactionGraphql or TransactionDraftRest models instead depending of the type of API you're mocking.

    import {
      TransactionGraphql,
      TransactionRest,
      TransactionDraftGraphql,
      TransactionDraftRest,
    } from '@commercetools/composable-commerce-test-data/payment';
    
    const graphqlTransaction = TransactionGraphql.random().build();
    const restTransaction = TransactionRest.random().build();
    
    const graphqlTransactionDraft = TransactionDraftGraphql.random().build();
    const restTransactionDraft = TransactionDraftRest.random().build();
    

ct-changesets[bot] avatar Nov 05 '25 14:11 ct-changesets[bot]