@carlonicora/nestjs-neo4jsonapi 7.0.0 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/decorators/audit.decorator.d.ts +3 -0
- package/dist/common/decorators/audit.decorator.d.ts.map +1 -1
- package/dist/common/decorators/audit.decorator.js +15 -2
- package/dist/common/decorators/audit.decorator.js.map +1 -1
- package/dist/common/decorators/cache-invalidate.decorator.d.ts.map +1 -1
- package/dist/common/decorators/cache-invalidate.decorator.js +3 -11
- package/dist/common/decorators/cache-invalidate.decorator.js.map +1 -1
- package/dist/common/decorators/handler-wrapper.d.ts +13 -0
- package/dist/common/decorators/handler-wrapper.d.ts.map +1 -0
- package/dist/common/decorators/handler-wrapper.js +25 -0
- package/dist/common/decorators/handler-wrapper.js.map +1 -0
- package/dist/common/decorators/validate-id.decorator.d.ts.map +1 -1
- package/dist/common/decorators/validate-id.decorator.js +3 -11
- package/dist/common/decorators/validate-id.decorator.js.map +1 -1
- package/dist/foundations/ai-connection/controllers/ai-connection.controller.d.ts +2 -1
- package/dist/foundations/ai-connection/controllers/ai-connection.controller.d.ts.map +1 -1
- package/dist/foundations/ai-connection/controllers/ai-connection.controller.js +5 -4
- package/dist/foundations/ai-connection/controllers/ai-connection.controller.js.map +1 -1
- package/dist/foundations/analytics/controllers/analytics.admin.controller.d.ts +2 -1
- package/dist/foundations/analytics/controllers/analytics.admin.controller.d.ts.map +1 -1
- package/dist/foundations/analytics/controllers/analytics.admin.controller.js +5 -4
- package/dist/foundations/analytics/controllers/analytics.admin.controller.js.map +1 -1
- package/dist/foundations/handbook/controllers/handbook.controller.d.ts +1 -1
- package/dist/foundations/handbook/controllers/handbook.controller.d.ts.map +1 -1
- package/dist/foundations/handbook/controllers/handbook.controller.js +5 -4
- package/dist/foundations/handbook/controllers/handbook.controller.js.map +1 -1
- package/dist/foundations/notification/controllers/notification.controller.d.ts.map +1 -1
- package/dist/foundations/notification/controllers/notification.controller.js +0 -1
- package/dist/foundations/notification/controllers/notification.controller.js.map +1 -1
- package/dist/foundations/role/controllers/role.controller.d.ts +1 -1
- package/dist/foundations/role/controllers/role.controller.d.ts.map +1 -1
- package/dist/foundations/role/controllers/role.controller.js +4 -3
- package/dist/foundations/role/controllers/role.controller.js.map +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon-code-checkout.controller.d.ts +2 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon-code-checkout.controller.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon-code-checkout.controller.js +5 -6
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon-code-checkout.controller.js.map +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon-code.controller.d.ts +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon-code.controller.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon-code.controller.js +5 -4
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon-code.controller.js.map +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon.controller.d.ts +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon.controller.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon.controller.js +5 -4
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon.controller.js.map +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon.public.controller.d.ts +1 -0
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon.public.controller.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon.public.controller.js +4 -0
- package/dist/foundations/stripe-coupon/controllers/stripe-coupon.public.controller.js.map +1 -1
- package/dist/foundations/stripe-coupon/dtos/stripe-coupon-code.automatic.query.dto.d.ts +8 -0
- package/dist/foundations/stripe-coupon/dtos/stripe-coupon-code.automatic.query.dto.d.ts.map +1 -0
- package/dist/foundations/stripe-coupon/dtos/stripe-coupon-code.automatic.query.dto.js +25 -0
- package/dist/foundations/stripe-coupon/dtos/stripe-coupon-code.automatic.query.dto.js.map +1 -0
- package/dist/foundations/stripe-coupon/entities/stripe-coupon-code.js +1 -1
- package/dist/foundations/stripe-coupon/entities/stripe-coupon-code.js.map +1 -1
- package/dist/foundations/stripe-coupon/entities/stripe-coupon-offer.d.ts +5 -0
- package/dist/foundations/stripe-coupon/entities/stripe-coupon-offer.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/entities/stripe-coupon-offer.js.map +1 -1
- package/dist/foundations/stripe-coupon/entities/stripe-coupon.d.ts +25 -2
- package/dist/foundations/stripe-coupon/entities/stripe-coupon.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/entities/stripe-coupon.js +1 -1
- package/dist/foundations/stripe-coupon/entities/stripe-coupon.js.map +1 -1
- package/dist/foundations/stripe-coupon/index.d.ts +1 -0
- package/dist/foundations/stripe-coupon/index.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/index.js +1 -0
- package/dist/foundations/stripe-coupon/index.js.map +1 -1
- package/dist/foundations/stripe-coupon/services/stripe-coupon-api.service.d.ts +5 -8
- package/dist/foundations/stripe-coupon/services/stripe-coupon-api.service.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/services/stripe-coupon-api.service.js +9 -9
- package/dist/foundations/stripe-coupon/services/stripe-coupon-api.service.js.map +1 -1
- package/dist/foundations/stripe-coupon/services/stripe-coupon-offer.service.js.map +1 -1
- package/dist/foundations/stripe-coupon/services/stripe-coupon.service.d.ts +36 -3
- package/dist/foundations/stripe-coupon/services/stripe-coupon.service.d.ts.map +1 -1
- package/dist/foundations/stripe-coupon/services/stripe-coupon.service.js +69 -33
- package/dist/foundations/stripe-coupon/services/stripe-coupon.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
var StripeCouponService_1;
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.StripeCouponService = void 0;
|
|
14
|
+
exports.toCouponDiscount = toCouponDiscount;
|
|
15
|
+
exports.toCouponDuration = toCouponDuration;
|
|
16
|
+
exports.couponDiscountFields = couponDiscountFields;
|
|
17
|
+
exports.couponDurationFields = couponDurationFields;
|
|
14
18
|
const common_1 = require("@nestjs/common");
|
|
15
19
|
const crypto_1 = require("crypto");
|
|
16
20
|
const nestjs_cls_1 = require("nestjs-cls");
|
|
@@ -22,6 +26,65 @@ const stripe_coupon_code_repository_1 = require("../repositories/stripe-coupon-c
|
|
|
22
26
|
const stripe_coupon_repository_1 = require("../repositories/stripe-coupon.repository");
|
|
23
27
|
const stripe_coupon_api_service_1 = require("./stripe-coupon-api.service");
|
|
24
28
|
const stripe_coupon_code_service_1 = require("./stripe-coupon-code.service");
|
|
29
|
+
/**
|
|
30
|
+
* The POST's flat discount fields as one discount shape, run before any Stripe call.
|
|
31
|
+
* Refuses a mixed or incomplete discount; the currency is lowercased.
|
|
32
|
+
*/
|
|
33
|
+
function toCouponDiscount(attributes) {
|
|
34
|
+
if (attributes.discountType === "percent_off") {
|
|
35
|
+
if (attributes.percentOff === undefined)
|
|
36
|
+
throw new common_1.BadRequestException("A percentage coupon needs percentOff");
|
|
37
|
+
if (attributes.amountOff !== undefined || attributes.currency !== undefined)
|
|
38
|
+
throw new common_1.BadRequestException("A percentage coupon cannot have amountOff or currency");
|
|
39
|
+
return { discountType: "percent_off", percentOff: attributes.percentOff };
|
|
40
|
+
}
|
|
41
|
+
if (attributes.amountOff === undefined || !attributes.currency)
|
|
42
|
+
throw new common_1.BadRequestException("A fixed-amount coupon needs amountOff and currency");
|
|
43
|
+
if (attributes.percentOff !== undefined)
|
|
44
|
+
throw new common_1.BadRequestException("A fixed-amount coupon cannot have percentOff");
|
|
45
|
+
return { discountType: "amount_off", amountOff: attributes.amountOff, currency: attributes.currency.toLowerCase() };
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The POST's flat duration fields as one duration shape, run before any Stripe call.
|
|
49
|
+
* Refuses a month count on anything but a repeating coupon.
|
|
50
|
+
*/
|
|
51
|
+
function toCouponDuration(attributes) {
|
|
52
|
+
if (attributes.duration === "repeating") {
|
|
53
|
+
if (attributes.durationInMonths === undefined)
|
|
54
|
+
throw new common_1.BadRequestException("A repeating coupon needs durationInMonths");
|
|
55
|
+
return { duration: "repeating", durationInMonths: attributes.durationInMonths };
|
|
56
|
+
}
|
|
57
|
+
if (attributes.durationInMonths !== undefined)
|
|
58
|
+
throw new common_1.BadRequestException("durationInMonths applies only to a repeating coupon");
|
|
59
|
+
return { duration: attributes.duration };
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A discount as the coupon node's flat fields; the fields of the other kind are undefined.
|
|
63
|
+
*/
|
|
64
|
+
function couponDiscountFields(discount) {
|
|
65
|
+
return discount.discountType === "percent_off"
|
|
66
|
+
? {
|
|
67
|
+
discountType: discount.discountType,
|
|
68
|
+
percentOff: discount.percentOff,
|
|
69
|
+
amountOff: undefined,
|
|
70
|
+
currency: undefined,
|
|
71
|
+
}
|
|
72
|
+
: {
|
|
73
|
+
discountType: discount.discountType,
|
|
74
|
+
percentOff: undefined,
|
|
75
|
+
amountOff: discount.amountOff,
|
|
76
|
+
currency: discount.currency,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* A duration as the coupon node's flat fields; `durationInMonths` is undefined unless repeating.
|
|
81
|
+
*/
|
|
82
|
+
function couponDurationFields(duration) {
|
|
83
|
+
return {
|
|
84
|
+
duration: duration.duration,
|
|
85
|
+
durationInMonths: duration.duration === "repeating" ? duration.durationInMonths : undefined,
|
|
86
|
+
};
|
|
87
|
+
}
|
|
25
88
|
/**
|
|
26
89
|
* StripeCouponService
|
|
27
90
|
*
|
|
@@ -48,17 +111,15 @@ let StripeCouponService = StripeCouponService_1 = class StripeCouponService exte
|
|
|
48
111
|
async createWithFirstCode(params) {
|
|
49
112
|
const attributes = params.data.attributes;
|
|
50
113
|
const firstCode = attributes.firstCode;
|
|
51
|
-
|
|
114
|
+
const discount = toCouponDiscount(attributes);
|
|
115
|
+
const duration = toCouponDuration(attributes);
|
|
52
116
|
(0, stripe_coupon_code_service_1.assertCouponCodeAttributes)(firstCode);
|
|
53
117
|
const stripeProductIds = await this.mapProductIds(attributes.productIds);
|
|
54
118
|
const stripeCoupon = await this.stripeCouponApiService.createCoupon({
|
|
55
119
|
id: attributes.stripeCouponId,
|
|
56
120
|
name: attributes.name,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
currency: attributes.discountType === "amount_off" ? attributes.currency?.toLowerCase() : undefined,
|
|
60
|
-
duration: attributes.duration,
|
|
61
|
-
durationInMonths: attributes.duration === "repeating" ? attributes.durationInMonths : undefined,
|
|
121
|
+
discount,
|
|
122
|
+
duration,
|
|
62
123
|
stripeProductIds,
|
|
63
124
|
redeemBy: attributes.redeemBy ? new Date(attributes.redeemBy) : undefined,
|
|
64
125
|
maxRedemptions: attributes.maxRedemptions,
|
|
@@ -71,12 +132,8 @@ let StripeCouponService = StripeCouponService_1 = class StripeCouponService exte
|
|
|
71
132
|
id: params.data.id,
|
|
72
133
|
stripeCouponId: stripeCoupon.id,
|
|
73
134
|
name: attributes.name,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
amountOff: attributes.discountType === "amount_off" ? attributes.amountOff : undefined,
|
|
77
|
-
currency: attributes.discountType === "amount_off" ? attributes.currency?.toLowerCase() : undefined,
|
|
78
|
-
duration: attributes.duration,
|
|
79
|
-
durationInMonths: attributes.duration === "repeating" ? attributes.durationInMonths : undefined,
|
|
135
|
+
...couponDiscountFields(discount),
|
|
136
|
+
...couponDurationFields(duration),
|
|
80
137
|
stripeProductIds,
|
|
81
138
|
redeemBy: attributes.redeemBy,
|
|
82
139
|
maxRedemptions: attributes.maxRedemptions,
|
|
@@ -134,27 +191,6 @@ let StripeCouponService = StripeCouponService_1 = class StripeCouponService exte
|
|
|
134
191
|
}
|
|
135
192
|
return this.findById({ id: coupon.id });
|
|
136
193
|
}
|
|
137
|
-
assertCouponAttributes(attributes) {
|
|
138
|
-
if (attributes.discountType === "percent_off") {
|
|
139
|
-
if (attributes.percentOff === undefined)
|
|
140
|
-
throw new common_1.BadRequestException("A percentage coupon needs percentOff");
|
|
141
|
-
if (attributes.amountOff !== undefined || attributes.currency !== undefined)
|
|
142
|
-
throw new common_1.BadRequestException("A percentage coupon cannot have amountOff or currency");
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
if (attributes.amountOff === undefined || !attributes.currency)
|
|
146
|
-
throw new common_1.BadRequestException("A fixed-amount coupon needs amountOff and currency");
|
|
147
|
-
if (attributes.percentOff !== undefined)
|
|
148
|
-
throw new common_1.BadRequestException("A fixed-amount coupon cannot have percentOff");
|
|
149
|
-
}
|
|
150
|
-
if (attributes.duration === "repeating") {
|
|
151
|
-
if (attributes.durationInMonths === undefined)
|
|
152
|
-
throw new common_1.BadRequestException("A repeating coupon needs durationInMonths");
|
|
153
|
-
}
|
|
154
|
-
else if (attributes.durationInMonths !== undefined) {
|
|
155
|
-
throw new common_1.BadRequestException("durationInMonths applies only to a repeating coupon");
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
194
|
/**
|
|
159
195
|
* Maps our StripeProduct ids to Stripe product ids. Unknown ids are rejected.
|
|
160
196
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe-coupon.service.js","sourceRoot":"","sources":["../../../../src/foundations/stripe-coupon/services/stripe-coupon.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"stripe-coupon.service.js","sourceRoot":"","sources":["../../../../src/foundations/stripe-coupon/services/stripe-coupon.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;AA8BA,4CAaC;AAMD,4CAUC;AAKD,oDAcC;AAKD,oDAKC;AAxFD,2CAA4F;AAC5F,mCAAoC;AACpC,2CAAwC;AAExC,oFAAgF;AAChF,qFAAiF;AACjF,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