@bondsports/types 2.4.91 → 2.4.92

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,5 +1,6 @@
1
1
  export * from './discount.consts';
2
2
  export * from './payment.consts';
3
+ export * from './pending-terminal-reconciler.consts';
3
4
  export * from './promo-code.consts';
4
5
  export * from './refund.consts';
5
6
  export * from './user-payment-method.consts';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./discount.consts"), exports);
18
18
  __exportStar(require("./payment.consts"), exports);
19
+ __exportStar(require("./pending-terminal-reconciler.consts"), exports);
19
20
  __exportStar(require("./promo-code.consts"), exports);
20
21
  __exportStar(require("./refund.consts"), exports);
21
22
  __exportStar(require("./user-payment-method.consts"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC;AAChC,+DAA6C;AAC7C,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,uEAAqD;AACrD,sDAAoC;AACpC,kDAAgC;AAChC,+DAA6C;AAC7C,gDAA8B"}
@@ -0,0 +1,8 @@
1
+ import { IReconcilePendingTerminalPaymentsSummary } from '../interfaces/pending-terminal-reconciler.interfaces';
2
+ export declare const RECONCILE_PENDING_TERMINAL_AFTER_MINUTES = 2;
3
+ export declare const PENDING_TERMINAL_RECONCILE_CRON = "*/2 * * * *";
4
+ export declare const RECONCILE_STRIPE_PARALLELISM = 20;
5
+ export declare const STRIPE_PAYMENT_INTENT_ID_PREFIX = "pi_";
6
+ export declare const PENDING_TERMINAL_PAYMENTS_LOCK_NAME = "cron.pending-terminal-payments";
7
+ export declare const PENDING_TERMINAL_RECONCILE_SLACK_SUBJECT = "Cron Job Pending-Terminal-Payments";
8
+ export declare const EMPTY_RECONCILE_PENDING_TERMINAL_SUMMARY: Readonly<IReconcilePendingTerminalPaymentsSummary>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EMPTY_RECONCILE_PENDING_TERMINAL_SUMMARY = exports.PENDING_TERMINAL_RECONCILE_SLACK_SUBJECT = exports.PENDING_TERMINAL_PAYMENTS_LOCK_NAME = exports.STRIPE_PAYMENT_INTENT_ID_PREFIX = exports.RECONCILE_STRIPE_PARALLELISM = exports.PENDING_TERMINAL_RECONCILE_CRON = exports.RECONCILE_PENDING_TERMINAL_AFTER_MINUTES = void 0;
4
+ exports.RECONCILE_PENDING_TERMINAL_AFTER_MINUTES = 2;
5
+ exports.PENDING_TERMINAL_RECONCILE_CRON = '*/2 * * * *';
6
+ exports.RECONCILE_STRIPE_PARALLELISM = 20;
7
+ exports.STRIPE_PAYMENT_INTENT_ID_PREFIX = 'pi_';
8
+ exports.PENDING_TERMINAL_PAYMENTS_LOCK_NAME = 'cron.pending-terminal-payments';
9
+ exports.PENDING_TERMINAL_RECONCILE_SLACK_SUBJECT = 'Cron Job Pending-Terminal-Payments';
10
+ exports.EMPTY_RECONCILE_PENDING_TERMINAL_SUMMARY = {
11
+ scanned: 0,
12
+ canceled: 0,
13
+ skipped: 0,
14
+ failed: 0,
15
+ };
16
+ //# sourceMappingURL=pending-terminal-reconciler.consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-terminal-reconciler.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/pending-terminal-reconciler.consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,wCAAwC,GAAG,CAAC,CAAC;AAE7C,QAAA,+BAA+B,GAAG,aAAa,CAAC;AAEhD,QAAA,4BAA4B,GAAG,EAAE,CAAC;AAElC,QAAA,+BAA+B,GAAG,KAAK,CAAC;AAExC,QAAA,mCAAmC,GAAG,gCAAgC,CAAC;AAEvE,QAAA,wCAAwC,GAAG,oCAAoC,CAAC;AAEhF,QAAA,wCAAwC,GAAuD;IAC3G,OAAO,EAAE,CAAC;IACV,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,CAAC;IACV,MAAM,EAAE,CAAC;CACT,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * from './connected-resources.interfaces';
2
2
  export * from './discount.interfaces';
3
3
  export * from './payment.interfaces';
4
+ export * from './pending-terminal-reconciler.interfaces';
4
5
  export * from './promo-code.interfaces';
5
6
  export * from './refund.interfaces';
6
7
  export * from './scheduled-payments.interfaces';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./connected-resources.interfaces"), exports);
18
18
  __exportStar(require("./discount.interfaces"), exports);
19
19
  __exportStar(require("./payment.interfaces"), exports);
20
+ __exportStar(require("./pending-terminal-reconciler.interfaces"), exports);
20
21
  __exportStar(require("./promo-code.interfaces"), exports);
21
22
  __exportStar(require("./refund.interfaces"), exports);
22
23
  __exportStar(require("./scheduled-payments.interfaces"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,wDAAsC;AACtC,uDAAqC;AACrC,0DAAwC;AACxC,sDAAoC;AACpC,kEAAgD;AAChD,8DAA4C;AAC5C,sDAAoC;AACpC,mEAAiD;AACjD,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,wDAAsC;AACtC,uDAAqC;AACrC,2EAAyD;AACzD,0DAAwC;AACxC,sDAAoC;AACpC,kEAAgD;AAChD,8DAA4C;AAC5C,sDAAoC;AACpC,mEAAiD;AACjD,oDAAkC"}
@@ -0,0 +1,10 @@
1
+ export interface IReconcilePendingTerminalPaymentsSummary {
2
+ scanned: number;
3
+ canceled: number;
4
+ skipped: number;
5
+ failed: number;
6
+ }
7
+ export interface IPendingTerminalPaymentRow {
8
+ id: number;
9
+ paymentProcessorId: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=pending-terminal-reconciler.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-terminal-reconciler.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/pending-terminal-reconciler.interfaces.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.91",
3
+ "version": "2.4.92",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {