apple / app-store-server-library-node

MIT License
174 stars 36 forks source link

Exported OfferDiscountType Enum Values #158

Closed coltkenn2658 closed 4 months ago

coltkenn2658 commented 4 months ago

Today I used patch-package to patch @apple/app-store-server-library@1.1.0 for the project I'm working on.

Description: Exported OfferDiscountType enum, so that they can be referenced in a project.

Here is the diff that solved my problem:

diff --git a/node_modules/@apple/app-store-server-library/dist/index.d.ts b/node_modules/@apple/app-store-server-library/dist/index.d.ts
index 9e38534..1698782 100644
--- a/node_modules/@apple/app-store-server-library/dist/index.d.ts
+++ b/node_modules/@apple/app-store-server-library/dist/index.d.ts
@@ -47,6 +47,7 @@ export { NotificationHistoryResponse } from './models/NotificationHistoryRespons
 export { NotificationHistoryResponseItem } from './models/NotificationHistoryResponseItem';
 export { NotificationTypeV2 } from './models/NotificationTypeV2';
 export { OfferType } from './models/OfferType';
+export { OfferDiscountType } from './models/OfferDiscountType';
 export { OrderLookupResponse } from './models/OrderLookupResponse';
 export { OrderLookupStatus } from './models/OrderLookupStatus';
 export { Platform } from './models/Platform';

This issue body was partially generated by patch-package.

coltkenn2658 commented 4 months ago

PR 159