@delopay/sdk 0.512.0 → 0.514.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/README.md +23 -0
- package/dist/checkoutSession.cjs +2 -2
- package/dist/checkoutSession.cjs.map +1 -1
- package/dist/checkoutSession.js +1 -1
- package/dist/chunk-3RRZCT6E.js +1 -0
- package/dist/{chunk-X64WLQT4.js → chunk-ASDC73SO.js} +2 -2
- package/dist/chunk-FS4LIUV7.cjs +1 -0
- package/dist/{chunk-FTWGI7UZ.cjs.map → chunk-FS4LIUV7.cjs.map} +1 -1
- package/dist/{chunk-NBTLJWDQ.cjs → chunk-LLPVB3GT.cjs} +18 -14
- package/dist/chunk-LLPVB3GT.cjs.map +1 -0
- package/dist/{chunk-BF5ETTD6.cjs → chunk-OEZMFX2N.cjs} +3 -3
- package/dist/{chunk-BF5ETTD6.cjs.map → chunk-OEZMFX2N.cjs.map} +1 -1
- package/dist/chunk-P2XLQC7N.cjs +105 -0
- package/dist/chunk-P2XLQC7N.cjs.map +1 -0
- package/dist/{chunk-SC7GAGDL.js → chunk-P5JTNDLM.js} +22 -18
- package/dist/chunk-P5JTNDLM.js.map +1 -0
- package/dist/{chunk-JLGSRUHI.cjs → chunk-SBN6SQZB.cjs} +310 -6
- package/dist/chunk-SBN6SQZB.cjs.map +1 -0
- package/dist/chunk-U7HQMJVU.js +105 -0
- package/dist/chunk-U7HQMJVU.js.map +1 -0
- package/dist/{chunk-HGTNJXXY.js → chunk-ZER47MOF.js} +310 -6
- package/dist/chunk-ZER47MOF.js.map +1 -0
- package/dist/client.cjs +2 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +3 -0
- package/dist/client.d.ts +3 -0
- package/dist/client.js +1 -1
- package/dist/index.cjs +20 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +23 -19
- package/dist/internal.cjs +27 -23
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -1
- package/dist/internal.d.ts +2 -1
- package/dist/internal.js +31 -27
- package/dist/internal.js.map +1 -1
- package/dist/resources/coupons.cjs +7 -0
- package/dist/resources/coupons.cjs.map +1 -0
- package/dist/resources/coupons.d.cts +90 -0
- package/dist/resources/coupons.d.ts +90 -0
- package/dist/resources/coupons.js +7 -0
- package/dist/resources/coupons.js.map +1 -0
- package/dist/resources/routing.cjs +2 -2
- package/dist/resources/routing.d.cts +238 -5
- package/dist/resources/routing.d.ts +238 -5
- package/dist/resources/routing.js +1 -1
- package/dist/types.d.cts +1253 -8
- package/dist/types.d.ts +1253 -8
- package/package.json +1 -1
- package/dist/chunk-FTWGI7UZ.cjs +0 -1
- package/dist/chunk-HGTNJXXY.js.map +0 -1
- package/dist/chunk-JLGSRUHI.cjs.map +0 -1
- package/dist/chunk-NBTLJWDQ.cjs.map +0 -1
- package/dist/chunk-SC7GAGDL.js.map +0 -1
- package/dist/chunk-Y5AXZVWN.js +0 -1
- /package/dist/{chunk-Y5AXZVWN.js.map → chunk-3RRZCT6E.js.map} +0 -0
- /package/dist/{chunk-X64WLQT4.js.map → chunk-ASDC73SO.js.map} +0 -0
package/README.md
CHANGED
|
@@ -167,6 +167,29 @@ const payment = await delopay.payments.create({
|
|
|
167
167
|
const sold = await delopay.payments.productLines(payment.payment_id);
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
+
### Run coupon campaigns
|
|
171
|
+
|
|
172
|
+
```typescript
|
|
173
|
+
// A coupon belongs to the merchant: use a merchant-wide key, not a shop key.
|
|
174
|
+
const coupon = await delopay.coupons.create({
|
|
175
|
+
name: 'Spring sale',
|
|
176
|
+
code: 'SPRING15',
|
|
177
|
+
terms: {
|
|
178
|
+
discount: { type: 'percentage', percent_off_bps: 1500 }, // 15%
|
|
179
|
+
currencies: [{ currency: 'EUR', minimum_spend: 5000 }],
|
|
180
|
+
},
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
// What the terms take off an example amount, without saving anything.
|
|
184
|
+
const { discount_amount } = await delopay.coupons.preview({
|
|
185
|
+
terms: coupon.terms,
|
|
186
|
+
currency: 'EUR',
|
|
187
|
+
amount: 6000,
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
await delopay.coupons.activate(coupon.id); // draft -> active; pause and archive follow
|
|
191
|
+
```
|
|
192
|
+
|
|
170
193
|
### Issue invoices
|
|
171
194
|
|
|
172
195
|
```typescript
|
package/dist/checkoutSession.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOEZMFX2Ncjs = require('./chunk-OEZMFX2N.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.CheckoutSession =
|
|
6
|
+
exports.CheckoutSession = _chunkOEZMFX2Ncjs.CheckoutSession;
|
|
7
7
|
//# sourceMappingURL=checkoutSession.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/checkoutSession.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACF,4DAAC","file":"/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/checkoutSession.cjs"}
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/checkoutSession.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC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,4DAAC","file":"/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/checkoutSession.cjs"}
|
package/dist/checkoutSession.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-3RRZCT6E.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Delopay
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P5JTNDLM.js";
|
|
4
4
|
import {
|
|
5
5
|
DelopayError
|
|
6
6
|
} from "./chunk-37BJUQ32.js";
|
|
@@ -1040,4 +1040,4 @@ var CheckoutSession = class {
|
|
|
1040
1040
|
export {
|
|
1041
1041
|
CheckoutSession
|
|
1042
1042
|
};
|
|
1043
|
-
//# sourceMappingURL=chunk-
|
|
1043
|
+
//# sourceMappingURL=chunk-ASDC73SO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";//# sourceMappingURL=chunk-FS4LIUV7.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/chunk-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/chunk-FS4LIUV7.cjs"],"names":[],"mappings":"AAAA","file":"/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/chunk-FS4LIUV7.cjs"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
+
var _chunkNFB3S2E6cjs = require('./chunk-NFB3S2E6.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunkWHDI3TMPcjs = require('./chunk-WHDI3TMP.cjs');
|
|
4
7
|
|
|
5
8
|
|
|
@@ -9,6 +12,9 @@ var _chunkJPPRDMTJcjs = require('./chunk-JPPRDMTJ.cjs');
|
|
|
9
12
|
var _chunkVYC7WUM5cjs = require('./chunk-VYC7WUM5.cjs');
|
|
10
13
|
|
|
11
14
|
|
|
15
|
+
var _chunkDJASVBOJcjs = require('./chunk-DJASVBOJ.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
12
18
|
var _chunk4W65JVDAcjs = require('./chunk-4W65JVDA.cjs');
|
|
13
19
|
|
|
14
20
|
|
|
@@ -30,13 +36,13 @@ var _chunkWX6NP7UUcjs = require('./chunk-WX6NP7UU.cjs');
|
|
|
30
36
|
var _chunkZKPVUCQVcjs = require('./chunk-ZKPVUCQV.cjs');
|
|
31
37
|
|
|
32
38
|
|
|
33
|
-
var
|
|
39
|
+
var _chunk6SU2MTN2cjs = require('./chunk-6SU2MTN2.cjs');
|
|
34
40
|
|
|
35
41
|
|
|
36
42
|
var _chunkMAUBDI7Acjs = require('./chunk-MAUBDI7A.cjs');
|
|
37
43
|
|
|
38
44
|
|
|
39
|
-
var
|
|
45
|
+
var _chunkSBN6SQZBcjs = require('./chunk-SBN6SQZB.cjs');
|
|
40
46
|
|
|
41
47
|
|
|
42
48
|
var _chunk244VZFFOcjs = require('./chunk-244VZFFO.cjs');
|
|
@@ -54,7 +60,7 @@ var _chunkKJADJ4N4cjs = require('./chunk-KJADJ4N4.cjs');
|
|
|
54
60
|
var _chunk7NKJD5STcjs = require('./chunk-7NKJD5ST.cjs');
|
|
55
61
|
|
|
56
62
|
|
|
57
|
-
var
|
|
63
|
+
var _chunk6YCDLSIUcjs = require('./chunk-6YCDLSIU.cjs');
|
|
58
64
|
|
|
59
65
|
|
|
60
66
|
var _chunkO4AYHLQXcjs = require('./chunk-O4AYHLQX.cjs');
|
|
@@ -78,7 +84,7 @@ var _chunkGG52SAHAcjs = require('./chunk-GG52SAHA.cjs');
|
|
|
78
84
|
var _chunkOYZP6NF6cjs = require('./chunk-OYZP6NF6.cjs');
|
|
79
85
|
|
|
80
86
|
|
|
81
|
-
var
|
|
87
|
+
var _chunkNYL3BNHRcjs = require('./chunk-NYL3BNHR.cjs');
|
|
82
88
|
|
|
83
89
|
|
|
84
90
|
var _chunkLJ2EG6JKcjs = require('./chunk-LJ2EG6JK.cjs');
|
|
@@ -102,7 +108,7 @@ var _chunkEYHSXJMJcjs = require('./chunk-EYHSXJMJ.cjs');
|
|
|
102
108
|
var _chunkF3I5DOWVcjs = require('./chunk-F3I5DOWV.cjs');
|
|
103
109
|
|
|
104
110
|
|
|
105
|
-
var
|
|
111
|
+
var _chunkQYNRNDIYcjs = require('./chunk-QYNRNDIY.cjs');
|
|
106
112
|
|
|
107
113
|
|
|
108
114
|
var _chunkFQRC4NJGcjs = require('./chunk-FQRC4NJG.cjs');
|
|
@@ -126,7 +132,7 @@ var _chunkU3JK7NBGcjs = require('./chunk-U3JK7NBG.cjs');
|
|
|
126
132
|
var _chunkMOGLGZAEcjs = require('./chunk-MOGLGZAE.cjs');
|
|
127
133
|
|
|
128
134
|
|
|
129
|
-
var
|
|
135
|
+
var _chunkMYAXAWBQcjs = require('./chunk-MYAXAWBQ.cjs');
|
|
130
136
|
|
|
131
137
|
|
|
132
138
|
var _chunk7JV6VVO7cjs = require('./chunk-7JV6VVO7.cjs');
|
|
@@ -150,15 +156,15 @@ var _chunkZGMIHHGLcjs = require('./chunk-ZGMIHHGL.cjs');
|
|
|
150
156
|
var _chunkEEB2HDYLcjs = require('./chunk-EEB2HDYL.cjs');
|
|
151
157
|
|
|
152
158
|
|
|
153
|
-
var _chunkQYNRNDIYcjs = require('./chunk-QYNRNDIY.cjs');
|
|
154
|
-
|
|
155
|
-
|
|
156
159
|
var _chunkZUULK36Ecjs = require('./chunk-ZUULK36E.cjs');
|
|
157
160
|
|
|
158
161
|
|
|
159
162
|
var _chunkKLONGJCLcjs = require('./chunk-KLONGJCL.cjs');
|
|
160
163
|
|
|
161
164
|
|
|
165
|
+
var _chunkP2XLQC7Ncjs = require('./chunk-P2XLQC7N.cjs');
|
|
166
|
+
|
|
167
|
+
|
|
162
168
|
var _chunkYW4DVKNTcjs = require('./chunk-YW4DVKNT.cjs');
|
|
163
169
|
|
|
164
170
|
|
|
@@ -174,9 +180,6 @@ var _chunk2IJRBJXWcjs = require('./chunk-2IJRBJXW.cjs');
|
|
|
174
180
|
var _chunkR5VYSZ3Qcjs = require('./chunk-R5VYSZ3Q.cjs');
|
|
175
181
|
|
|
176
182
|
|
|
177
|
-
var _chunkMYAXAWBQcjs = require('./chunk-MYAXAWBQ.cjs');
|
|
178
|
-
|
|
179
|
-
|
|
180
183
|
var _chunkRHT27R27cjs = require('./chunk-RHT27R27.cjs');
|
|
181
184
|
|
|
182
185
|
|
|
@@ -266,7 +269,7 @@ var Delopay = class extends _chunkO7SQCN44cjs.DelopayCore {
|
|
|
266
269
|
this.events = new (0, _chunkR5VYSZ3Qcjs.Events)(request);
|
|
267
270
|
this.poll = new (0, _chunkF3I5DOWVcjs.Poll)(request);
|
|
268
271
|
this.connectors = new (0, _chunk5QS67SBOcjs.Connectors)(request);
|
|
269
|
-
this.routing = new (0,
|
|
272
|
+
this.routing = new (0, _chunkSBN6SQZBcjs.Routing)(request);
|
|
270
273
|
this.profiles = new (0, _chunkFYISDU2Ycjs.Profiles)(request);
|
|
271
274
|
this.shops = new (0, _chunk4LN4BR2Tcjs.Shops)(request);
|
|
272
275
|
this.profileAcquirers = new (0, _chunkRI42IDRRcjs.ProfileAcquirers)(request);
|
|
@@ -329,6 +332,7 @@ var Delopay = class extends _chunkO7SQCN44cjs.DelopayCore {
|
|
|
329
332
|
this.search = new (0, _chunk244VZFFOcjs.Search)(request);
|
|
330
333
|
this.aiTools = new (0, _chunkRHFUXHQNcjs.AiTools)(request);
|
|
331
334
|
this.shareLinks = new (0, _chunk7NKJD5STcjs.ShareLinks)(request);
|
|
335
|
+
this.coupons = new (0, _chunkP2XLQC7Ncjs.Coupons)(request);
|
|
332
336
|
}
|
|
333
337
|
};
|
|
334
338
|
/** Utility for verifying incoming webhook signatures (static, no instance needed). */
|
|
@@ -337,4 +341,4 @@ Delopay.webhooks = _chunkJPPRDMTJcjs.Webhooks;
|
|
|
337
341
|
|
|
338
342
|
|
|
339
343
|
exports.Delopay = Delopay;
|
|
340
|
-
//# sourceMappingURL=chunk-
|
|
344
|
+
//# sourceMappingURL=chunk-LLPVB3GT.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/chunk-LLPVB3GT.cjs","../src/client.ts"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;A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BAAA,EAAkB,IAAI,8CAAA,CAAwB,OAAO,CAAA;AAC1D,IAAA,IAAA,CAAK,eAAA,EAAiB,IAAI,qCAAA,CAAe,OAAO,CAAA;AAChD,IAAA,IAAA,CAAK,gBAAA,EAAkB,IAAI,sCAAA,CAAgB,OAAO,CAAA;AAClD,IAAA,IAAA,CAAK,UAAA,EAAY,IAAI,gCAAA,CAAU,OAAO,CAAA;AACtC,IAAA,IAAA,CAAK,mBAAA,EAAqB,IAAI,yCAAA,CAAmB,OAAO,CAAA;AACxD,IAAA,IAAA,CAAK,cAAA,EAAgB,IAAI,oCAAA,CAAc,OAAO,CAAA;AAC9C,IAAA,IAAA,CAAK,MAAA,EAAQ,IAAI,4BAAA,CAAM,OAAO,CAAA;AAC9B,IAAA,IAAA,CAAK,OAAA,EAAS,IAAI,6BAAA,CAAO,OAAO,CAAA;AAChC,IAAA,IAAA,CAAK,QAAA,EAAU,IAAI,8BAAA,CAAQ,OAAO,CAAA;AAClC,IAAA,IAAA,CAAK,WAAA,EAAa,IAAI,iCAAA,CAAW,OAAO,CAAA;AACxC,IAAA,IAAA,CAAK,QAAA,EAAU,IAAI,8BAAA,CAAQ,OAAO,CAAA;AAAA,EACpC;AACF,CAAA;AAAA;AAlPa,OAAA,CAEJ,SAAA,EAAW,0BAAA;AD2OpB;AACA;AACE;AACF,0BAAC","file":"/home/runner/work/delopay-typescript-sdk/delopay-typescript-sdk/sdk/dist/chunk-LLPVB3GT.cjs","sourcesContent":[null,"import { DelopayCore } from './core';\nimport type { DelopayOptions } from './core';\nimport { ApiKeys } from './resources/apiKeys';\nimport { Authentication } from './resources/authentication';\nimport { Billing } from './resources/billing';\nimport { Connectors } from './resources/connectors';\nimport { Customers } from './resources/customers';\nimport { Disputes } from './resources/disputes';\nimport { ChargebackPrevention } from './resources/chargebackPrevention';\nimport { PaypalDisputes } from './resources/paypalDisputes';\nimport { WhopResolutionCases } from './resources/whopResolutionCases';\nimport { EphemeralKeys } from './resources/ephemeralKeys';\nimport { Events } from './resources/events';\nimport { Fees } from './resources/fees';\nimport { Mandates } from './resources/mandates';\nimport { MerchantAccounts } from './resources/merchantAccounts';\nimport { PaymentLinks } from './resources/paymentLinks';\nimport { PaymentMethods } from './resources/paymentMethods';\nimport { Payments } from './resources/payments';\nimport { Payouts } from './resources/payouts';\nimport { Poll } from './resources/poll';\nimport { ProfileAcquirers } from './resources/profileAcquirers';\nimport { Profiles } from './resources/profiles';\nimport { Projects } from './resources/projects';\nimport { Refunds } from './resources/refunds';\nimport { Relay } from './resources/relay';\nimport { Routing } from './resources/routing';\nimport { Search } from './resources/search';\nimport { AiTools } from './resources/aiTools';\nimport { Shops } from './resources/shops';\nimport { StripeConnect } from './resources/stripeConnect';\nimport { ThreeDsRules } from './resources/threeDsRules';\nimport { Users } from './resources/users';\nimport { Verification } from './resources/verification';\nimport { IdentityVerifications } from './resources/identityVerifications';\nimport { Webhooks } from './resources/webhooks';\nimport { Analytics } from './resources/analytics';\nimport { AnalyticsDashboard } from './resources/analyticsDashboard';\nimport { Cards } from './resources/cards';\nimport { Export } from './resources/export';\nimport { FeatureMatrix } from './resources/featureMatrix';\nimport { Files } from './resources/files';\nimport { Forex } from './resources/forex';\nimport { Regions } from './resources/regions';\nimport { AvailabilityOverrides } from './resources/availabilityOverrides';\nimport { SellToRestrictions } from './resources/sellToRestrictions';\nimport { VatRates } from './resources/vatRates';\nimport { BuyerBlocklist } from './resources/buyerBlocklist';\nimport { CheckoutDomains } from './resources/checkoutDomains';\nimport { Persons } from './resources/persons';\nimport { ShopLabels } from './resources/shopLabels';\nimport { Industries } from './resources/industries';\nimport { PayoutDestinations } from './resources/payoutDestinations';\nimport { Notices } from './resources/notices';\nimport { Shopify } from './resources/shopify';\nimport { CheckoutTemplates } from './resources/checkoutTemplates';\nimport { BuyerConversations } from './resources/buyerConversations';\nimport { BuyerEvidenceReviews } from './resources/buyerEvidenceReviews';\nimport { CheckoutRecovery } from './resources/checkoutRecovery';\nimport { CostRules } from './resources/costRules';\nimport { ExternalRecords } from './resources/externalRecords';\nimport { Products } from './resources/products';\nimport { Support } from './resources/support';\nimport { Invoices } from './resources/invoices';\nimport { InvoiceSettingsResource } from './resources/invoiceSettings';\nimport { ProcessorCosts } from './resources/processorCosts';\nimport { CheckoutMethods } from './resources/checkoutMethods';\nimport { Subscriptions } from './resources/subscriptions';\nimport { BuyerAccount } from './resources/buyerAccount';\nimport { BuyerPortal } from './resources/buyerPortal';\nimport { Audit } from './resources/audit';\nimport { Settlement } from './resources/settlement';\nimport { OperationLimits } from './resources/operationLimits';\nimport { Settings } from './resources/settings';\nimport { MessageTemplates } from './resources/messageTemplates';\nimport { Risk } from './resources/risk';\nimport { Live } from './resources/live';\nimport { ProcessorImports } from './resources/processorImports';\nimport { Branding } from './resources/deploymentBranding';\nimport { ContentEncryption } from './resources/contentEncryption';\nimport { ShareLinks } from './resources/shareLinks';\nimport { Coupons } from './resources/coupons';\n\nexport * from './core';\n\n/**\n * Delopay API client.\n *\n * Instantiate once with your API key and reuse across your application.\n * All resource sub-clients (payments, refunds, customers, …) are exposed\n * as properties on the instance.\n *\n * Every resource is in the bundle of an application that uses this class. A\n * browser application that wants only the resources it calls uses\n * {@link DelopayCore} instead.\n *\n * @example\n * ```typescript\n * const delopay = new Delopay('prd_...', { sandbox: false });\n * const payment = await delopay.payments.create({ amount: 5000, currency: 'EUR' });\n * ```\n */\nexport class Delopay extends DelopayCore {\n /** Utility for verifying incoming webhook signatures (static, no instance needed). */\n static webhooks = Webhooks;\n\n // Merchant-facing\n readonly payments: Payments;\n readonly refunds: Refunds;\n readonly customers: Customers;\n readonly paymentMethods: PaymentMethods;\n readonly paymentLinks: PaymentLinks;\n readonly mandates: Mandates;\n readonly disputes: Disputes;\n readonly chargebackPrevention: ChargebackPrevention;\n readonly paypalDisputes: PaypalDisputes;\n readonly whopResolutionCases: WhopResolutionCases;\n /** Import refunds and disputes from connected processor accounts. */\n readonly processorImports: ProcessorImports;\n readonly payouts: Payouts;\n readonly ephemeralKeys: EphemeralKeys;\n readonly events: Events;\n readonly poll: Poll;\n\n // Connector / routing\n readonly connectors: Connectors;\n readonly routing: Routing;\n readonly profiles: Profiles;\n readonly shops: Shops;\n readonly profileAcquirers: ProfileAcquirers;\n\n // Authentication & verification\n readonly authentication: Authentication;\n readonly verification: Verification;\n readonly identityVerifications: IdentityVerifications;\n\n // Dashboard / internal\n readonly users: Users;\n readonly apiKeys: ApiKeys;\n readonly billing: Billing;\n readonly fees: Fees;\n readonly merchantAccounts: MerchantAccounts;\n readonly projects: Projects;\n readonly relay: Relay;\n readonly stripeConnect: StripeConnect;\n readonly threeDsRules: ThreeDsRules;\n /**\n * A merchant's own audit log. Needs a dashboard JWT, not an API key —\n * see {@link Audit}.\n */\n readonly audit: Audit;\n readonly settlement: Settlement;\n readonly operationLimits: OperationLimits;\n /** Every setting of the merchant, its projects and its shops, audited per change. */\n readonly settings: Settings;\n /** A shop's own texts of the emails it sends its buyers. */\n readonly messageTemplates: MessageTemplates;\n readonly risk: Risk;\n /**\n * Live updates of the dashboard: the stream of what changed and the\n * versions a save names in `If-Match`. Needs a dashboard JWT — see\n * {@link Live}.\n */\n readonly live: Live;\n /**\n * The deployment's branding (name, logos, favicon, default checkout\n * colours) as the operator saved it. Public: no credential is needed.\n */\n readonly branding: Branding;\n /**\n * Whether the deployment stores new messages and uploaded files encrypted\n * with its own key. Public: no credential is needed.\n */\n readonly contentEncryption: ContentEncryption;\n\n // New resources (Phases 3-4)\n readonly subscriptions: Subscriptions;\n /** Buyer portal grant access. Construct a separate client with the portal token. */\n readonly buyerPortal: BuyerPortal;\n /**\n * The buyer account: email sign-in, and purchases across merchants.\n * Construct a separate client with the buyer account session token for\n * everything after the sign-in.\n */\n readonly buyerAccount: BuyerAccount;\n readonly files: Files;\n readonly export: Export;\n readonly forex: Forex;\n readonly regions: Regions;\n readonly availabilityOverrides: AvailabilityOverrides;\n readonly sellToRestrictions: SellToRestrictions;\n /** The platform VAT rate table buyer tax charges from, read-only. */\n readonly vatRates: VatRates;\n /** Buyers the merchant refuses to sell to again (email, IP, customer, device, card, BIN), with Stripe Radar sync. */\n readonly buyerBlocklist: BuyerBlocklist;\n /** The merchant's own checkout addresses: subdomains and own domains, their setup, shops and Apple Pay file. */\n readonly checkoutDomains: CheckoutDomains;\n /** The merchant's payments grouped by the person behind them. */\n readonly persons: Persons;\n /** The merchant's labels for grouping shops, several per shop. */\n readonly shopLabels: ShopLabels;\n /** The industry of the merchant, its projects and its shops, with what each inherits. */\n readonly industries: Industries;\n /** Payouts: how team members want to be paid. Moves no money. */\n readonly payoutDestinations: PayoutDestinations;\n /** Notices a merchant's people send each other. */\n readonly notices: Notices;\n /** A shop's link to the merchant's Shopify store, its storefront settings and its sync log. */\n readonly shopify: Shopify;\n /** Payment methods, behaviour and smart routing defined once and used in many shops. */\n readonly checkoutTemplates: CheckoutTemplates;\n /** Conversations between buyers and the shop's team: the team inbox. */\n readonly buyerConversations: BuyerConversations;\n /** The evidence buyers hand in for the shop's cases, as the shop's team reviews it. */\n readonly buyerEvidence: BuyerEvidenceReviews;\n readonly checkoutRecovery: CheckoutRecovery;\n readonly costRules: CostRules;\n\n /** Out-of-band transitions a PSP made that DeloPay never observed. */\n readonly externalRecords: ExternalRecords;\n\n /** A shop's product catalogue: what it sells, and at which prices. */\n readonly products: Products;\n /** Conversations with DeloPay's support team. */\n readonly support: Support;\n /** The invoices and credit notes the merchant issues to its buyers. */\n readonly invoices: Invoices;\n /** How those invoices look and are taxed: the merchant default and each shop's override. */\n readonly invoiceSettings: InvoiceSettingsResource;\n /** What the merchant's own processor charges it — see {@link ProcessorCosts}. */\n readonly processorCosts: ProcessorCosts;\n readonly checkoutMethods: CheckoutMethods;\n readonly analytics: Analytics;\n readonly analyticsDashboard: AnalyticsDashboard;\n readonly featureMatrix: FeatureMatrix;\n readonly cards: Cards;\n readonly search: Search;\n /** AI tools working in the account through the MCP server: their confirmations and connections. */\n readonly aiTools: AiTools;\n /** Expiring external read-only share links for a person or payment. */\n readonly shareLinks: ShareLinks;\n /** The merchant's coupon campaigns: create, preview, change, version and move them between states. */\n readonly coupons: Coupons;\n\n /**\n * Create a new Delopay client.\n *\n * @param apiKey - Your Delopay API key (e.g. `prd_...` or `snd_...`).\n * Pass an empty string or omit for JWT-only usage (e.g. dashboard apps).\n * @param options - Optional configuration (sandbox mode, base URL override, timeout).\n */\n constructor(apiKey?: string, options?: DelopayOptions) {\n super(apiKey, options);\n const { request, openStream } = this.transport;\n\n // Merchant-facing\n this.payments = new Payments(request);\n this.refunds = new Refunds(request);\n this.customers = new Customers(request);\n this.paymentMethods = new PaymentMethods(request);\n this.paymentLinks = new PaymentLinks(request);\n this.mandates = new Mandates(request);\n this.disputes = new Disputes(request);\n this.chargebackPrevention = new ChargebackPrevention(request);\n this.paypalDisputes = new PaypalDisputes(request);\n this.whopResolutionCases = new WhopResolutionCases(request);\n this.payouts = new Payouts(request);\n this.ephemeralKeys = new EphemeralKeys(request);\n this.events = new Events(request);\n this.poll = new Poll(request);\n\n // Connector / routing\n this.connectors = new Connectors(request);\n this.routing = new Routing(request);\n this.profiles = new Profiles(request);\n this.shops = new Shops(request);\n this.profileAcquirers = new ProfileAcquirers(request);\n\n // Authentication & verification\n this.authentication = new Authentication(request);\n this.verification = new Verification(request);\n this.identityVerifications = new IdentityVerifications(request);\n\n // Dashboard / internal\n this.users = new Users(request);\n this.apiKeys = new ApiKeys(request);\n this.billing = new Billing(request);\n this.fees = new Fees(request);\n this.merchantAccounts = new MerchantAccounts(request);\n this.projects = new Projects(request);\n this.relay = new Relay(request);\n this.stripeConnect = new StripeConnect(request);\n this.threeDsRules = new ThreeDsRules(request);\n this.audit = new Audit(request);\n this.settlement = new Settlement(request);\n this.operationLimits = new OperationLimits(request);\n this.settings = new Settings(request);\n this.messageTemplates = new MessageTemplates(request);\n this.risk = new Risk(request);\n this.live = new Live(request, openStream);\n this.processorImports = new ProcessorImports(request, openStream);\n this.branding = new Branding(request, this.baseUrl);\n this.contentEncryption = new ContentEncryption(request);\n\n // New resources (Phases 3-4)\n this.subscriptions = new Subscriptions(request);\n this.buyerPortal = new BuyerPortal(request);\n this.buyerAccount = new BuyerAccount(request);\n this.files = new Files(request);\n this.export = new Export(request);\n this.forex = new Forex(request);\n this.regions = new Regions(request);\n this.availabilityOverrides = new AvailabilityOverrides(request);\n this.sellToRestrictions = new SellToRestrictions(request);\n this.vatRates = new VatRates(request);\n this.buyerBlocklist = new BuyerBlocklist(request);\n this.checkoutDomains = new CheckoutDomains(request);\n this.persons = new Persons(request);\n this.shopLabels = new ShopLabels(request);\n this.industries = new Industries(request);\n this.payoutDestinations = new PayoutDestinations(request);\n this.notices = new Notices(request);\n this.shopify = new Shopify(request);\n this.checkoutTemplates = new CheckoutTemplates(request);\n this.buyerConversations = new BuyerConversations(request);\n this.buyerEvidence = new BuyerEvidenceReviews(request);\n this.checkoutRecovery = new CheckoutRecovery(request);\n this.costRules = new CostRules(request);\n this.externalRecords = new ExternalRecords(request);\n this.products = new Products(request);\n this.support = new Support(request);\n this.invoices = new Invoices(request);\n this.invoiceSettings = new InvoiceSettingsResource(request);\n this.processorCosts = new ProcessorCosts(request);\n this.checkoutMethods = new CheckoutMethods(request);\n this.analytics = new Analytics(request);\n this.analyticsDashboard = new AnalyticsDashboard(request);\n this.featureMatrix = new FeatureMatrix(request);\n this.cards = new Cards(request);\n this.search = new Search(request);\n this.aiTools = new AiTools(request);\n this.shareLinks = new ShareLinks(request);\n this.coupons = new Coupons(request);\n }\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkLLPVB3GTcjs = require('./chunk-LLPVB3GT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkI2W7AO4Bcjs = require('./chunk-I2W7AO4B.cjs');
|
|
@@ -69,7 +69,7 @@ var CheckoutSession = class {
|
|
|
69
69
|
this.paymentId = options.paymentId;
|
|
70
70
|
this.publishableKey = options.publishableKey;
|
|
71
71
|
this.clientSecret = options.clientSecret;
|
|
72
|
-
this.client = new (0,
|
|
72
|
+
this.client = new (0, _chunkLLPVB3GTcjs.Delopay)("", {
|
|
73
73
|
baseUrl: options.baseUrl,
|
|
74
74
|
sandbox: options.sandbox,
|
|
75
75
|
timeout: options.timeout,
|
|
@@ -1040,4 +1040,4 @@ var CheckoutSession = class {
|
|
|
1040
1040
|
|
|
1041
1041
|
|
|
1042
1042
|
exports.CheckoutSession = CheckoutSession;
|
|
1043
|
-
//# sourceMappingURL=chunk-
|
|
1043
|
+
//# sourceMappingURL=chunk-OEZMFX2N.cjs.map
|