@flink-app/stripe-plugin 0.11.9 → 0.11.14

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.
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 05 2025 22:44:59 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredHandlers, HttpMethod } from "@flink-app/flink";
3
3
  import * as HandlebarsTemplateHandler_0 from "../src/handlers/HandlebarsTemplateHandler";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 05 2025 22:45:00 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredJobs } from "@flink-app/flink";
3
3
  export const jobs = [];
4
4
  autoRegisteredJobs.push(...jobs);
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 05 2025 22:44:59 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  export const repos = [];
4
4
  autoRegisteredRepos.push(...repos);
@@ -1 +1 @@
1
- // Generated Wed Feb 05 2025 22:45:00 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 05 2025 22:45:00 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
2
2
  import "./generatedHandlers";
3
3
  import "./generatedRepos";
4
4
  import "./generatedJobs";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.handlers = void 0;
4
- // Generated Wed Feb 05 2025 22:44:59 GMT+0100 (Central European Standard Time)
4
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.handlers = [];
7
7
  flink_1.autoRegisteredHandlers.push.apply(flink_1.autoRegisteredHandlers, exports.handlers);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.jobs = void 0;
4
- // Generated Wed Feb 05 2025 22:45:00 GMT+0100 (Central European Standard Time)
4
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.jobs = [];
7
7
  flink_1.autoRegisteredJobs.push.apply(flink_1.autoRegisteredJobs, exports.jobs);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.repos = void 0;
4
- // Generated Wed Feb 05 2025 22:44:59 GMT+0100 (Central European Standard Time)
4
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.repos = [];
7
7
  flink_1.autoRegisteredRepos.push.apply(flink_1.autoRegisteredRepos, exports.repos);
@@ -1,2 +1,2 @@
1
1
  "use strict";
2
- // Generated Wed Feb 05 2025 22:45:00 GMT+0100 (Central European Standard Time)
2
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Wed Feb 05 2025 22:45:00 GMT+0100 (Central European Standard Time)
3
+ // Generated Mon Feb 24 2025 14:41:48 GMT+0100 (Central European Standard Time)
4
4
  require("./generatedHandlers");
5
5
  require("./generatedRepos");
6
6
  require("./generatedJobs");
package/package.json CHANGED
@@ -1,39 +1,38 @@
1
1
  {
2
- "name": "@flink-app/stripe-plugin",
3
- "version": "0.11.9",
4
- "description": "Flink plugin to work with stripe payments",
5
- "scripts": {
6
- "test": "echo \"Error: no test specified\"",
7
- "build": "flink build",
8
- "prepublish": "npm run build",
9
- "watch": "nodemon --exec \"flink build\"",
10
- "postinstall": "flink generate-schemas"
11
- },
12
- "author": "johan@frost.se",
13
- "publishConfig": {
14
- "access": "public"
15
- },
16
- "license": "MIT",
17
- "types": "dist/src/index.d.ts",
18
- "main": "dist/src/index.js",
19
- "dependencies": {
20
- "@types/mongodb": "3.6.12",
21
- "@types/stripe": "^8.0.417",
22
- "bcrypt": "^5.0.1",
23
- "express": "^4.17.1",
24
- "handlebars": "^4.7.7",
25
- "jsonwebtoken": "^8.5.1",
26
- "stripe": "^8.186.1"
27
- },
28
- "devDependencies": {
29
- "@flink-app/flink": "^0.11.9",
30
- "@types/bcrypt": "^5.0.0",
31
- "@types/express": "4.17.11",
32
- "@types/express-fileupload": "^1.1.7",
33
- "@types/jsonwebtoken": "^8.5.5",
34
- "@types/node": "^15.6.2",
35
- "ts-node": "^9.1.1",
36
- "typescript": "^4.2.4"
37
- },
38
- "gitHead": "cc04e10ae82ed022031ef8bcfaafa9beb1d6564f"
2
+ "name": "@flink-app/stripe-plugin",
3
+ "version": "0.11.14",
4
+ "description": "Flink plugin to work with stripe payments",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\"",
7
+ "build": "flink build",
8
+ "prepublish": "npm run build",
9
+ "watch": "nodemon --exec \"flink build\""
10
+ },
11
+ "author": "johan@frost.se",
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "license": "MIT",
16
+ "types": "dist/src/index.d.ts",
17
+ "main": "dist/src/index.js",
18
+ "dependencies": {
19
+ "@types/mongodb": "3.6.12",
20
+ "@types/stripe": "^8.0.417",
21
+ "bcrypt": "^5.0.1",
22
+ "express": "^4.17.1",
23
+ "handlebars": "^4.7.7",
24
+ "jsonwebtoken": "^8.5.1",
25
+ "stripe": "^8.186.1"
26
+ },
27
+ "devDependencies": {
28
+ "@flink-app/flink": "^0.11.14",
29
+ "@types/bcrypt": "^5.0.0",
30
+ "@types/express": "4.17.11",
31
+ "@types/express-fileupload": "^1.1.7",
32
+ "@types/jsonwebtoken": "^8.5.5",
33
+ "@types/node": "^15.6.2",
34
+ "ts-node": "^9.1.1",
35
+ "typescript": "^4.2.4"
36
+ },
37
+ "gitHead": "8172291cf7330d13c7958d170100fe9771fd7dfb"
39
38
  }
@@ -1,311 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$ref": "#/definitions/Schemas",
4
- "definitions": {
5
- "ConnectSession": {
6
- "type": "object",
7
- "properties": {
8
- "id": {
9
- "type": "string"
10
- },
11
- "userId": {
12
- "type": "string"
13
- }
14
- },
15
- "required": [
16
- "id",
17
- "userId"
18
- ],
19
- "additionalProperties": false
20
- },
21
- "createStripeCustomerOptions": {
22
- "type": "object",
23
- "properties": {
24
- "userId": {
25
- "type": "string"
26
- },
27
- "description": {
28
- "type": "string"
29
- },
30
- "email": {
31
- "type": "string"
32
- },
33
- "metaData": {
34
- "$ref": "#/definitions/createStripeCustomerMetaData"
35
- },
36
- "name": {
37
- "type": "string"
38
- },
39
- "phone": {
40
- "type": "string"
41
- }
42
- },
43
- "required": [
44
- "userId"
45
- ],
46
- "additionalProperties": false
47
- },
48
- "createStripeCustomerMetaData": {
49
- "type": "object",
50
- "additionalProperties": {
51
- "type": "string"
52
- }
53
- },
54
- "stripePluginOptions": {
55
- "type": "object",
56
- "properties": {
57
- "baseUrl": {
58
- "type": "string"
59
- },
60
- "stripeSecreteKey": {
61
- "type": "string"
62
- },
63
- "stripePublishableKey": {
64
- "type": "string"
65
- },
66
- "JTW_TOKEN": {
67
- "type": "string"
68
- },
69
- "logo": {
70
- "type": "string"
71
- },
72
- "redirectUrl": {
73
- "type": "string"
74
- },
75
- "stripeConnectClientID": {
76
- "type": "string"
77
- },
78
- "phrases": {
79
- "type": "object",
80
- "properties": {
81
- "setupDescription": {
82
- "type": "string"
83
- },
84
- "setupButtonText": {
85
- "type": "string"
86
- },
87
- "setupDoneMessage": {
88
- "type": "string"
89
- },
90
- "paymentSelectCardPayButtonText": {
91
- "type": "string"
92
- },
93
- "paymentSelectCardChangeCardButtonText": {
94
- "type": "string"
95
- },
96
- "paymentDoneMessage": {
97
- "type": "string"
98
- },
99
- "paymentEnterCardPayButtonText": {
100
- "type": "string"
101
- },
102
- "connectDoneMessage": {
103
- "type": "string"
104
- }
105
- },
106
- "required": [
107
- "setupDoneMessage",
108
- "connectDoneMessage"
109
- ],
110
- "additionalProperties": false
111
- },
112
- "templates": {
113
- "type": "object",
114
- "properties": {
115
- "master": {
116
- "type": "string"
117
- },
118
- "style": {
119
- "type": "string"
120
- },
121
- "setupCard": {
122
- "type": "string"
123
- },
124
- "setupDone": {
125
- "type": "string"
126
- },
127
- "error": {
128
- "type": "string"
129
- },
130
- "paySelectCard": {
131
- "type": "string"
132
- },
133
- "payEnterCard": {
134
- "type": "string"
135
- },
136
- "connectDone": {
137
- "type": "string"
138
- }
139
- },
140
- "additionalProperties": false
141
- }
142
- },
143
- "required": [
144
- "stripeSecreteKey",
145
- "stripePublishableKey",
146
- "JTW_TOKEN"
147
- ],
148
- "additionalProperties": false
149
- },
150
- "connectToStripeConnectOptions": {
151
- "type": "object",
152
- "properties": {
153
- "userId": {
154
- "type": "string"
155
- }
156
- },
157
- "required": [
158
- "userId"
159
- ],
160
- "additionalProperties": false
161
- },
162
- "hasPaymentMethodOptions": {
163
- "type": "object",
164
- "properties": {
165
- "stripeCustomerId": {
166
- "type": "string"
167
- }
168
- },
169
- "required": [
170
- "stripeCustomerId"
171
- ],
172
- "additionalProperties": false
173
- },
174
- "setupCardOptions": {
175
- "type": "object",
176
- "properties": {
177
- "stripeCustomerId": {
178
- "type": "string"
179
- }
180
- },
181
- "required": [
182
- "stripeCustomerId"
183
- ],
184
- "additionalProperties": false
185
- },
186
- "setupCardResponse": {
187
- "type": "object",
188
- "properties": {
189
- "token": {
190
- "type": "string"
191
- },
192
- "redirectUrl": {
193
- "type": "string"
194
- }
195
- },
196
- "required": [
197
- "token",
198
- "redirectUrl"
199
- ],
200
- "additionalProperties": false
201
- },
202
- "setupCardTokenOptions": {
203
- "type": "object",
204
- "properties": {
205
- "stripeCustomerId": {
206
- "type": "string"
207
- },
208
- "client_secret": {
209
- "type": "string"
210
- }
211
- },
212
- "required": [
213
- "client_secret",
214
- "stripeCustomerId"
215
- ],
216
- "additionalProperties": false
217
- },
218
- "capturePaymentOptions": {
219
- "type": "object",
220
- "properties": {
221
- "paymentIntentId": {
222
- "type": "string"
223
- },
224
- "amount": {
225
- "type": "number"
226
- }
227
- },
228
- "required": [
229
- "paymentIntentId",
230
- "amount"
231
- ],
232
- "additionalProperties": false
233
- },
234
- "confirmPaymentOptions": {
235
- "type": "object",
236
- "properties": {
237
- "paymentIntentId": {
238
- "type": "string"
239
- },
240
- "background": {
241
- "type": "boolean"
242
- }
243
- },
244
- "required": [
245
- "paymentIntentId"
246
- ],
247
- "additionalProperties": false
248
- },
249
- "confirmPaymentResponse": {
250
- "type": "object",
251
- "properties": {
252
- "paymentIntentId": {
253
- "type": "string"
254
- },
255
- "confirmed": {
256
- "type": "boolean"
257
- },
258
- "captured": {
259
- "type": "boolean"
260
- },
261
- "token": {
262
- "type": "string"
263
- },
264
- "redirectUrl": {
265
- "type": "string"
266
- }
267
- },
268
- "required": [
269
- "paymentIntentId",
270
- "confirmed",
271
- "captured"
272
- ],
273
- "additionalProperties": false
274
- },
275
- "confirmPaymentTokenOptions": {
276
- "type": "object",
277
- "properties": {
278
- "paymentIntentId": {
279
- "type": "string"
280
- },
281
- "client_secret": {
282
- "type": "string"
283
- }
284
- },
285
- "required": [
286
- "paymentIntentId",
287
- "client_secret"
288
- ],
289
- "additionalProperties": false
290
- },
291
- "createPaymentResponse": {
292
- "type": "object",
293
- "properties": {
294
- "paymentIntentId": {
295
- "type": "string"
296
- },
297
- "token": {
298
- "type": "string"
299
- },
300
- "paymentUrl": {
301
- "type": "string"
302
- }
303
- },
304
- "required": [
305
- "paymentIntentId",
306
- "token"
307
- ],
308
- "additionalProperties": false
309
- }
310
- }
311
- }