Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing members to ResourceTypeId #216

Open
pyrbin opened this issue Jun 21, 2022 · 0 comments
Open

Add missing members to ResourceTypeId #216

pyrbin opened this issue Jun 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pyrbin
Copy link

pyrbin commented Jun 21, 2022

Is your feature request related to a problem? Please describe.
The SDK's ResourceTypeId enum doesn't include every available ResourceType that's described in the API
https://docs.commercetools.com/api/projects/types#resourcetypeid

Describe the solution you'd like
Add missing type id's to the ResourceTypeId enum:

 public enum ResourceTypeId
  {
      [Description("address")]
      Address,
      [Description("asset")]
      Asset,
      [Description("cart-discount")]
      CartDiscount,
      [Description("category")]
      Category,
      [Description("channel")]
      Channel,
      [Description("customer")]
      Customer,
      [Description("customer-group")]
      CustomerGroup,
      [Description("custom-line-item")]
      CustomLineItem,
      [Description("discount-code")]
      DiscountCode,
      [Description("inventory-entry")]
      InventoryEntry,
      [Description("line-item")]
      LineItem,
      [Description("order")]
      Order,
      [Description("order-edit")]
      OrderEdit,
      [Description("order-delivery")]
      OrderDelivery,
      [Description("order-parcel")]
      OrderParcel,
      [Description("order-return-item")]
      OrderReturnItem,
      [Description("payment")]
      Payment,
      [Description("payment-interface-interaction")]
      PaymentInterfaceInteraction,
      [Description("product-price")]
      ProductPrice,
      [Description("product-selection")]
      ProductSelection,
      [Description("review")]
      Review,
      [Description("shipping-method")]
      ShippingMethod,
      [Description("shopping-list")]
      ShoppingList,
      [Description("shopping-list-text-line-item")]
      ShoppingListTextLineItem,
      [Description("store")]
      Store,
      [Description("transaction")]
      Transaction
  }

Describe alternatives you've considered
The types are available in SDK v2 which we are planning to migrate to, but would be appreciated if the types could be added to v1 in the meantime.

@pyrbin pyrbin added the enhancement New feature or request label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant