@bondsports/types 2.4.99-a-2 → 2.4.99-a-3
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/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +0 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/Payment.d.ts +0 -1
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/types/interfaces/index.d.ts +1 -0
- package/dist/types/payment/types/interfaces/index.js +1 -0
- package/dist/types/payment/types/interfaces/index.js.map +1 -1
- package/dist/types/payment/types/interfaces/linked-account.interfaces.d.ts +8 -0
- package/dist/types/payment/types/interfaces/linked-account.interfaces.js +3 -0
- package/dist/types/payment/types/interfaces/linked-account.interfaces.js.map +1 -0
- package/dist/types/payout-accounts/entities/index.d.ts +1 -0
- package/dist/types/payout-accounts/entities/index.js +18 -0
- package/dist/types/payout-accounts/entities/index.js.map +1 -0
- package/dist/types/payout-accounts/entities/payout-account.entity.d.ts +10 -0
- package/dist/types/payout-accounts/entities/payout-account.entity.js +8 -0
- package/dist/types/payout-accounts/entities/payout-account.entity.js.map +1 -0
- package/dist/types/payout-accounts/index.d.ts +2 -0
- package/dist/types/payout-accounts/index.js +19 -0
- package/dist/types/payout-accounts/index.js.map +1 -0
- package/dist/types/payout-accounts/types/dto/index.d.ts +1 -0
- package/dist/types/payout-accounts/types/dto/index.js +18 -0
- package/dist/types/payout-accounts/types/dto/index.js.map +1 -0
- package/dist/types/payout-accounts/types/dto/payout-account.dto.d.ts +22 -0
- package/dist/types/payout-accounts/types/dto/payout-account.dto.js +14 -0
- package/dist/types/payout-accounts/types/dto/payout-account.dto.js.map +1 -0
- package/dist/types/payout-accounts/types/enums/index.d.ts +1 -0
- package/dist/types/payout-accounts/types/enums/index.js +18 -0
- package/dist/types/payout-accounts/types/enums/index.js.map +1 -0
- package/dist/types/payout-accounts/types/enums/payout-account.enums.d.ts +5 -0
- package/dist/types/payout-accounts/types/enums/payout-account.enums.js +13 -0
- package/dist/types/payout-accounts/types/enums/payout-account.enums.js.map +1 -0
- package/dist/types/payout-accounts/types/index.d.ts +3 -0
- package/dist/types/payout-accounts/types/index.js +20 -0
- package/dist/types/payout-accounts/types/index.js.map +1 -0
- package/dist/types/payout-accounts/types/interfaces/index.d.ts +1 -0
- package/dist/types/payout-accounts/types/interfaces/index.js +18 -0
- package/dist/types/payout-accounts/types/interfaces/index.js.map +1 -0
- package/dist/types/payout-accounts/types/interfaces/payout-account.interfaces.d.ts +71 -0
- package/dist/types/payout-accounts/types/interfaces/payout-account.interfaces.js +3 -0
- package/dist/types/payout-accounts/types/interfaces/payout-account.interfaces.js.map +1 -0
- package/dist/types/purchase/dto/purchase.dto.d.ts +0 -8
- package/dist/types/purchase/dto/purchase.dto.js +1 -4
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +0 -1
- package/dist/types/services/interfaces.service.d.ts +0 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export * from './online-booking';
|
|
|
40
40
|
export * from './online-rentals';
|
|
41
41
|
export * from './organization';
|
|
42
42
|
export * from './payment';
|
|
43
|
+
export * from './payout-accounts';
|
|
43
44
|
export * from './pricing';
|
|
44
45
|
export * from './product-pricing';
|
|
45
46
|
export * from './programs';
|
package/dist/types/index.js
CHANGED
|
@@ -56,6 +56,7 @@ __exportStar(require("./online-booking"), exports);
|
|
|
56
56
|
__exportStar(require("./online-rentals"), exports);
|
|
57
57
|
__exportStar(require("./organization"), exports);
|
|
58
58
|
__exportStar(require("./payment"), exports);
|
|
59
|
+
__exportStar(require("./payout-accounts"), exports);
|
|
59
60
|
__exportStar(require("./pricing"), exports);
|
|
60
61
|
__exportStar(require("./product-pricing"), exports);
|
|
61
62
|
__exportStar(require("./programs"), exports);
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,4DAA0C;AAC1C,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,0CAAwB;AACxB,iDAA+B;AAC/B,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,4DAA0C;AAC1C,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,oDAAkC;AAClC,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,0CAAwB;AACxB,iDAA+B;AAC/B,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA+D;AAC/D,2EAAuG;
|
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA+D;AAC/D,2EAAuG;AAOvG,8EAAyG;AA0BzG,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,iCAAkC,SAAQ,YAAY;CAElE;AAFD,8EAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAEtD;AAFD,sDAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAoBnD;AApBD,0CAoBC;AAED,MAAa,YAAa,SAAQ,eAAe;CAQhD;AARD,oCAQC;AAED,MAAa,WAAW;CAMvB;AAND,kCAMC;AAED,MAAa,gBAAgB;CAkB5B;AAlBD,4CAkBC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,eAAgB,SAAQ,YAAY;CAQhD;AARD,0CAQC;AAED,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAEtD;AAFD,oDAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAMtD;AAND,sDAMC;AAED,MAAa,0BAA2B,SAAQ,4CAAyB;CAIxE;AAJD,gEAIC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,2CAA2C;AAC3C,MAAa,UAAW,SAAQ,kDAA0B;CA0FzD;AA1FD,gCA0FC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAgB1C;AAhBD,4CAgBC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC"}
|
|
@@ -58,7 +58,6 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
|
58
58
|
installments?: FutureInstallment[];
|
|
59
59
|
totalFeesAmount?: number;
|
|
60
60
|
tipAmount?: number;
|
|
61
|
-
facilityIds?: number[];
|
|
62
61
|
lineItems: LineItems[];
|
|
63
62
|
mergeId?: number;
|
|
64
63
|
merge?: CustomerMerge;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAOA,oGAAiG;AAajG,MAAa,OAAQ,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAOA,oGAAiG;AAajG,MAAa,OAAQ,SAAQ,mEAAgC;CA6F5D;AA7FD,0BA6FC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './connected-resources.interfaces';
|
|
2
2
|
export * from './discount.interfaces';
|
|
3
|
+
export * from './linked-account.interfaces';
|
|
3
4
|
export * from './payment.interfaces';
|
|
4
5
|
export * from './pending-terminal-reconciler.interfaces';
|
|
5
6
|
export * from './promo-code.interfaces';
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./connected-resources.interfaces"), exports);
|
|
18
18
|
__exportStar(require("./discount.interfaces"), exports);
|
|
19
|
+
__exportStar(require("./linked-account.interfaces"), exports);
|
|
19
20
|
__exportStar(require("./payment.interfaces"), exports);
|
|
20
21
|
__exportStar(require("./pending-terminal-reconciler.interfaces"), exports);
|
|
21
22
|
__exportStar(require("./promo-code.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,2EAAyD;AACzD,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,8DAA4C;AAC5C,uDAAqC;AACrC,2EAAyD;AACzD,0DAAwC;AACxC,sDAAoC;AACpC,kEAAgD;AAChD,8DAA4C;AAC5C,sDAAoC;AACpC,mEAAiD;AACjD,oDAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linked-account.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/linked-account.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './payout-account.entity';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./payout-account.entity"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payout-accounts/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LinkedAccounts } from '../../entity/LinkedAccounts';
|
|
2
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
+
import { Facility } from '../../facilities/entities/Facility';
|
|
4
|
+
export declare class PayoutAccount extends OrganizationConnectionBaseEntity {
|
|
5
|
+
linkedAccountId: number;
|
|
6
|
+
facilityId: number | null;
|
|
7
|
+
deletedAt?: Date;
|
|
8
|
+
linkedAccount: LinkedAccounts;
|
|
9
|
+
facility?: Facility | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PayoutAccount = void 0;
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
|
+
class PayoutAccount extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.PayoutAccount = PayoutAccount;
|
|
8
|
+
//# sourceMappingURL=payout-account.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payout-account.entity.js","sourceRoot":"","sources":["../../../../src/types/payout-accounts/entities/payout-account.entity.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;AAGjG,MAAa,aAAc,SAAQ,mEAAgC;CAUlE;AAVD,sCAUC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./entities"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/payout-accounts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './payout-account.dto';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./payout-account.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaginationSearchQuery } from '../../../dto/general.dto';
|
|
2
|
+
import { LinkedAccountStatus } from '../../../payment/types/enums/linked-account.enums';
|
|
3
|
+
import { PayoutAccountOrderByEnum } from '../enums/payout-account.enums';
|
|
4
|
+
import { IListPayoutAccountFilters, IPayoutAccountFacilityAssignments, IPayoutAccountGrid } from '../interfaces/payout-account.interfaces';
|
|
5
|
+
export declare class ListPayoutAccountFiltersDto extends PaginationSearchQuery<PayoutAccountOrderByEnum> implements IListPayoutAccountFilters {
|
|
6
|
+
facilityIds?: number[];
|
|
7
|
+
search?: string;
|
|
8
|
+
orderBy?: PayoutAccountOrderByEnum;
|
|
9
|
+
statuses?: LinkedAccountStatus[];
|
|
10
|
+
}
|
|
11
|
+
export declare class PayoutAccountGridDto implements IPayoutAccountGrid {
|
|
12
|
+
facilityIds: number[];
|
|
13
|
+
hasAllFacilities: boolean;
|
|
14
|
+
linkedAccountId: number;
|
|
15
|
+
missingBank?: boolean;
|
|
16
|
+
providerId: string | null;
|
|
17
|
+
status: LinkedAccountStatus | null;
|
|
18
|
+
}
|
|
19
|
+
export declare class PayoutAccountFacilityAssignmentsDto implements IPayoutAccountFacilityAssignments {
|
|
20
|
+
assignedFacilityIds: number[];
|
|
21
|
+
hasAllFacilities: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PayoutAccountFacilityAssignmentsDto = exports.PayoutAccountGridDto = exports.ListPayoutAccountFiltersDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../../dto/general.dto");
|
|
5
|
+
class ListPayoutAccountFiltersDto extends general_dto_1.PaginationSearchQuery {
|
|
6
|
+
}
|
|
7
|
+
exports.ListPayoutAccountFiltersDto = ListPayoutAccountFiltersDto;
|
|
8
|
+
class PayoutAccountGridDto {
|
|
9
|
+
}
|
|
10
|
+
exports.PayoutAccountGridDto = PayoutAccountGridDto;
|
|
11
|
+
class PayoutAccountFacilityAssignmentsDto {
|
|
12
|
+
}
|
|
13
|
+
exports.PayoutAccountFacilityAssignmentsDto = PayoutAccountFacilityAssignmentsDto;
|
|
14
|
+
//# sourceMappingURL=payout-account.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payout-account.dto.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/dto/payout-account.dto.ts"],"names":[],"mappings":";;;AACA,0DAAiE;AASjE,MAAa,2BACZ,SAAQ,mCAA+C;CAUvD;AAXD,kEAWC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './payout-account.enums';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./payout-account.enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PAYOUT_ACCOUNT_ORDER_BY_COLUMN = exports.PayoutAccountOrderByEnum = void 0;
|
|
4
|
+
var PayoutAccountOrderByEnum;
|
|
5
|
+
(function (PayoutAccountOrderByEnum) {
|
|
6
|
+
PayoutAccountOrderByEnum["PROVIDER_ID"] = "providerId";
|
|
7
|
+
PayoutAccountOrderByEnum["STATUS"] = "status";
|
|
8
|
+
})(PayoutAccountOrderByEnum = exports.PayoutAccountOrderByEnum || (exports.PayoutAccountOrderByEnum = {}));
|
|
9
|
+
exports.PAYOUT_ACCOUNT_ORDER_BY_COLUMN = {
|
|
10
|
+
[PayoutAccountOrderByEnum.PROVIDER_ID]: 'linked_account.providerId',
|
|
11
|
+
[PayoutAccountOrderByEnum.STATUS]: 'linked_account.status',
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=payout-account.enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payout-account.enums.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/enums/payout-account.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,sDAA0B,CAAA;IAC1B,6CAAiB,CAAA;AAClB,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC;AAEY,QAAA,8BAA8B,GAA6C;IACvF,CAAC,wBAAwB,CAAC,WAAW,CAAC,EAAE,2BAA2B;IACnE,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,uBAAuB;CAC1D,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dto"), exports);
|
|
18
|
+
__exportStar(require("./enums"), exports);
|
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payout-accounts/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './payout-account.interfaces';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./payout-account.interfaces"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { LinkedAccountStatus } from '../../../payment/types/enums/linked-account.enums';
|
|
2
|
+
import { IFindLinkedAccountsFilters } from '../../../payment/types/interfaces/linked-account.interfaces';
|
|
3
|
+
import { IPaginatedSearchQuery } from '../../../util/models/interfaces/general.interfaces';
|
|
4
|
+
import { PayoutAccountOrderByEnum } from '../enums/payout-account.enums';
|
|
5
|
+
/**
|
|
6
|
+
* Minimal payout-account resolution result for charge-path and cart-lock callers.
|
|
7
|
+
*/
|
|
8
|
+
export interface IResolvedPayoutAccount {
|
|
9
|
+
linkedAccountId: number;
|
|
10
|
+
providerId: string | null;
|
|
11
|
+
status: LinkedAccountStatus | null;
|
|
12
|
+
}
|
|
13
|
+
export interface INullableFacilityId {
|
|
14
|
+
facilityId: number | null;
|
|
15
|
+
}
|
|
16
|
+
export interface IResolvedPayoutAccountRow extends IResolvedPayoutAccount, INullableFacilityId {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* PayoutAccount-level filters for the centralized payout-accounts query. Omitted `facilityIds` is
|
|
20
|
+
* unrestricted. An empty array matches the All Facilities sentinel only. A non-empty array matches
|
|
21
|
+
* those facilities plus the sentinel (`facilityId IS NULL`).
|
|
22
|
+
*/
|
|
23
|
+
export interface IFindPayoutAccountsFilters {
|
|
24
|
+
facilityIds?: number[];
|
|
25
|
+
linkedAccountIds?: number[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Filters for the paginated payout-accounts grid.
|
|
29
|
+
*/
|
|
30
|
+
export interface IListPayoutAccountFilters extends IPaginatedSearchQuery<PayoutAccountOrderByEnum>, IFindLinkedAccountsFilters {
|
|
31
|
+
facilityIds?: number[];
|
|
32
|
+
hydrateMissingBank?: boolean;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Raw page row of the payout-accounts grid: one distinct Connect account before facility ids are
|
|
36
|
+
* aggregated onto it.
|
|
37
|
+
*/
|
|
38
|
+
export interface IPayoutAccountGridRow {
|
|
39
|
+
linkedAccountId: number;
|
|
40
|
+
providerId: string | null;
|
|
41
|
+
status: LinkedAccountStatus | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* One PayoutAccount anchor: a Connect account paired with the facility it covers, or with null for
|
|
45
|
+
* the All Facilities sentinel.
|
|
46
|
+
*/
|
|
47
|
+
export interface IPayoutAccountFacilityLink {
|
|
48
|
+
facilityId: number | null;
|
|
49
|
+
linkedAccountId: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* One grid row per Connect account, with facility ids aggregated across PayoutAccount rows.
|
|
53
|
+
* All Facilities rows expose `facilityIds: []` so FE `canAccessAll` treats them as global-only for editing.
|
|
54
|
+
*/
|
|
55
|
+
export interface IPayoutAccountGrid {
|
|
56
|
+
linkedAccountId: number;
|
|
57
|
+
providerId: string | null;
|
|
58
|
+
facilityIds: number[];
|
|
59
|
+
hasAllFacilities: boolean;
|
|
60
|
+
missingBank?: boolean;
|
|
61
|
+
status: LinkedAccountStatus | null;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Facilities-dialog payload: explicit payout assignments visible in the caller's scope.
|
|
65
|
+
* Modal options come from FE facility access; grey/disable with `assignedFacilityIds.includes(id)`.
|
|
66
|
+
* Uncovered-facilities banner is FE-only (accessible facilities minus grid coverage).
|
|
67
|
+
*/
|
|
68
|
+
export interface IPayoutAccountFacilityAssignments {
|
|
69
|
+
assignedFacilityIds: number[];
|
|
70
|
+
hasAllFacilities: boolean;
|
|
71
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payout-account.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/interfaces/payout-account.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
|
2
|
-
import { AddCartItemDto } from '../../cart/dto/cart-item.dto';
|
|
3
2
|
import { UserAnswersDto } from '../../dto/application.dto';
|
|
4
3
|
import { SaveCardTerminalInputDto } from '../../dto/userPaymentMethod.dto';
|
|
5
4
|
import { Customer } from '../../entity/Customer';
|
|
@@ -122,13 +121,6 @@ export declare class AddItemsDto {
|
|
|
122
121
|
allocateResource: boolean;
|
|
123
122
|
skipMail: boolean;
|
|
124
123
|
}
|
|
125
|
-
export declare class AddCartItemsToInvoiceDto {
|
|
126
|
-
cartItems: AddCartItemDto[];
|
|
127
|
-
shiftId?: number;
|
|
128
|
-
paymentInfo?: PurchasePaymentDto;
|
|
129
|
-
amountToPay?: number;
|
|
130
|
-
tipAmount?: number;
|
|
131
|
-
}
|
|
132
124
|
export declare class PartialPaymentAsUserDto {
|
|
133
125
|
invoiceId: number;
|
|
134
126
|
organizationId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PurchaseCartDto = exports.BasicPurchaseDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.
|
|
3
|
+
exports.PurchaseCartDto = exports.BasicPurchaseDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.AddItemsDto = exports.RedeemPunchCardRequestDto = exports.PartialPaymentRequestDto = exports.ScheduledPaymentRequestBodyDto = exports.ScheduledPaymentRequestDto = exports.ScheduledPaymentConsumerRequestDto = exports.PurchaseProductDto = exports.PurchaseResourceDto = exports.PurchaseRequestDto = exports.ChargeRentalsReuqestDto = exports.PurchasePaymentDto = void 0;
|
|
4
4
|
const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
|
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
6
6
|
class PurchasePaymentDto {
|
|
@@ -40,9 +40,6 @@ class AddItemsDto {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.AddItemsDto = AddItemsDto;
|
|
43
|
-
class AddCartItemsToInvoiceDto {
|
|
44
|
-
}
|
|
45
|
-
exports.AddCartItemsToInvoiceDto = AddCartItemsToInvoiceDto;
|
|
46
43
|
class PartialPaymentAsUserDto {
|
|
47
44
|
}
|
|
48
45
|
exports.PartialPaymentAsUserDto = PartialPaymentAsUserDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAQA,+DAA+D;AAC/D,8EAA8E;AAe9E,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAsB/B;AAtBD,kDAsBC;AAED,MAAa,kBAAkB;CAqC9B;AArCD,gDAqCC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAkBpC;AAlBD,4DAkBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAkBlD;AAlBD,0CAkBC"}
|
|
@@ -103,7 +103,6 @@ export interface IPurchaseCart extends IInvoiceCart {
|
|
|
103
103
|
installments?: ScheduledPaymentDto[];
|
|
104
104
|
parentPurchasedType?: ResourceNameTypeEnum;
|
|
105
105
|
paymentInfo?: PurchasePaymentDto;
|
|
106
|
-
tipAmount?: number;
|
|
107
106
|
updatePrices?: IUpdateCartPrices;
|
|
108
107
|
}
|
|
109
108
|
export interface IRegisteredResourcesResult {
|