@heliofi/common 0.1.511 → 0.1.512
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/src/domain/model/charge/dtos/createCharge.dto.d.ts +4 -1
- package/dist/src/domain/model/charge/dtos/createCharge.dto.js +13 -1
- package/dist/src/domain/model/charge/dtos/createCharge.dto.js.map +1 -1
- package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.d.ts +4 -0
- package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.js +27 -0
- package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.js.map +1 -0
- package/dist/src/domain/model/charge/entities/Charge.entity.d.ts +3 -0
- package/dist/src/domain/model/charge/entities/Charge.entity.js.map +1 -1
- package/dist/src/domain/model/charge/entities/ShopifyDetails.entity.d.ts +5 -0
- package/dist/src/domain/model/charge/entities/ShopifyDetails.entity.js +8 -0
- package/dist/src/domain/model/charge/entities/ShopifyDetails.entity.js.map +1 -0
- package/dist/src/domain/model/index.d.ts +1 -0
- package/dist/src/domain/model/index.js +1 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.d.ts +13 -0
- package/dist/src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.js +72 -0
- package/dist/src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.js.map +1 -0
- package/dist/src/domain/model/shopify-pay/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/shopify-pay/dtos/index.js +18 -0
- package/dist/src/domain/model/shopify-pay/dtos/index.js.map +1 -0
- package/dist/src/domain/model/shopify-pay/index.d.ts +1 -0
- package/dist/src/domain/model/shopify-pay/index.js +18 -0
- package/dist/src/domain/model/shopify-pay/index.js.map +1 -0
- package/dist/src/domain/services/ClusterService.d.ts +4 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/index.ts +0 -0
- package/package.json +2 -2
- package/tsconfig.build.json +0 -0
- package/tsconfig.json +0 -0
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { PrepareTransactionFromChargeDto } from './prepareRequestBodyFromCharge.dto';
|
|
2
|
+
import { ShopifyDetailsDto } from './shopifyDetails.dto';
|
|
2
3
|
export declare class CreateChargeDto {
|
|
3
4
|
paymentRequestId: string;
|
|
4
5
|
paylink: string;
|
|
5
6
|
prepareRequestBody: PrepareTransactionFromChargeDto;
|
|
6
|
-
requestAmount:
|
|
7
|
+
requestAmount: string;
|
|
7
8
|
currencySymbol: string;
|
|
9
|
+
usdcAmount?: string;
|
|
8
10
|
redirectUrl?: bigint;
|
|
11
|
+
shopifyDetails: ShopifyDetailsDto;
|
|
9
12
|
}
|
|
@@ -13,6 +13,7 @@ exports.CreateChargeDto = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const prepareRequestBodyFromCharge_dto_1 = require("./prepareRequestBodyFromCharge.dto");
|
|
16
|
+
const shopifyDetails_dto_1 = require("./shopifyDetails.dto");
|
|
16
17
|
class CreateChargeDto {
|
|
17
18
|
}
|
|
18
19
|
__decorate([
|
|
@@ -34,17 +35,28 @@ __decorate([
|
|
|
34
35
|
__decorate([
|
|
35
36
|
(0, class_validator_1.IsString)(),
|
|
36
37
|
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
-
__metadata("design:type",
|
|
38
|
+
__metadata("design:type", String)
|
|
38
39
|
], CreateChargeDto.prototype, "requestAmount", void 0);
|
|
39
40
|
__decorate([
|
|
40
41
|
(0, class_validator_1.IsString)(),
|
|
41
42
|
(0, class_validator_1.IsNotEmpty)(),
|
|
42
43
|
__metadata("design:type", String)
|
|
43
44
|
], CreateChargeDto.prototype, "currencySymbol", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CreateChargeDto.prototype, "usdcAmount", void 0);
|
|
44
50
|
__decorate([
|
|
45
51
|
(0, class_validator_1.IsString)(),
|
|
46
52
|
(0, class_validator_1.IsOptional)(),
|
|
47
53
|
__metadata("design:type", BigInt)
|
|
48
54
|
], CreateChargeDto.prototype, "redirectUrl", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Type)(() => shopifyDetails_dto_1.ShopifyDetailsDto),
|
|
57
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
58
|
+
(0, class_validator_1.ValidateNested)(),
|
|
59
|
+
__metadata("design:type", shopifyDetails_dto_1.ShopifyDetailsDto)
|
|
60
|
+
], CreateChargeDto.prototype, "shopifyDetails", void 0);
|
|
49
61
|
exports.CreateChargeDto = CreateChargeDto;
|
|
50
62
|
//# sourceMappingURL=createCharge.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,yFAAqF;
|
|
1
|
+
{"version":3,"file":"createCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,yFAAqF;AACrF,6DAAyD;AAEzD,MAAa,eAAe;CAkC3B;AAjCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kEAA+B,CAAC;IAC3C,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACG,kEAA+B;2DAAC;AAEpD;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACQ;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC;IAC7B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,sCAAiB;uDAAC;AAjCpC,0CAkCC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ShopifyDetailsDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class ShopifyDetailsDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ShopifyDetailsDto.prototype, "shopId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ShopifyDetailsDto.prototype, "shopGid", void 0);
|
|
26
|
+
exports.ShopifyDetailsDto = ShopifyDetailsDto;
|
|
27
|
+
//# sourceMappingURL=shopifyDetails.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shopifyDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/shopifyDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,iBAAiB;CAQ7B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACG;AAPlB,8CAQC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
import { PrepareRequestBodyFromCharge } from './PrepareRequestBodyFromCharge.entity';
|
|
3
|
+
import { ShopifyDetails } from './ShopifyDetails.entity';
|
|
3
4
|
export declare class Charge extends Entity {
|
|
4
5
|
id: string;
|
|
5
6
|
prepareRequestBody: PrepareRequestBodyFromCharge;
|
|
6
7
|
requestAmount: string;
|
|
8
|
+
usdcAmount?: string;
|
|
7
9
|
token: string;
|
|
8
10
|
currencySymbol: string;
|
|
9
11
|
redirectUrl: string;
|
|
12
|
+
shopifyDetails: ShopifyDetails;
|
|
10
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Charge.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/entities/Charge.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;
|
|
1
|
+
{"version":3,"file":"Charge.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/entities/Charge.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,MAAO,SAAQ,eAAM;CAgBjC;AAhBD,wBAgBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShopifyDetails = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class ShopifyDetails extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.ShopifyDetails = ShopifyDetails;
|
|
8
|
+
//# sourceMappingURL=ShopifyDetails.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShopifyDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/entities/ShopifyDetails.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,cAAe,SAAQ,eAAM;CAIzC;AAJD,wCAIC"}
|
|
@@ -119,4 +119,5 @@ __exportStar(require("./shopify-merchant-details"), exports);
|
|
|
119
119
|
__exportStar(require("./shopify-merchant"), exports);
|
|
120
120
|
__exportStar(require("./kyb-details"), exports);
|
|
121
121
|
__exportStar(require("./email-send"), exports);
|
|
122
|
+
__exportStar(require("./shopify-pay"), exports);
|
|
122
123
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,yDAAuC;AACvC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC;AACnC,qEAAmD;AACnD,oEAAkD;AAClD,oDAAkC;AAClC,yDAAuC;AACvC,iDAA+B;AAC/B,4CAA0B;AAC1B,+CAA6B;AAC7B,kDAAgC;AAChC,0CAAwB;AACxB,8CAA4B;AAC5B,kDAAgC;AAChC,sDAAoC;AACpC,0CAAwB;AACxB,6DAA2C;AAC3C,mDAAiC;AACjC,2DAAyC;AACzC,kDAAgC;AAChC,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,yDAAuC;AACvC,6DAA2C;AAC3C,qDAAmC;AACnC,gDAA8B;AAC9B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,yDAAuC;AACvC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC;AACnC,qEAAmD;AACnD,oEAAkD;AAClD,oDAAkC;AAClC,yDAAuC;AACvC,iDAA+B;AAC/B,4CAA0B;AAC1B,+CAA6B;AAC7B,kDAAgC;AAChC,0CAAwB;AACxB,8CAA4B;AAC5B,kDAAgC;AAChC,sDAAoC;AACpC,0CAAwB;AACxB,6DAA2C;AAC3C,mDAAiC;AACjC,2DAAyC;AACzC,kDAAgC;AAChC,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,yDAAuC;AACvC,6DAA2C;AAC3C,qDAAmC;AACnC,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class CreateShopifyPaymentDto {
|
|
2
|
+
id: string;
|
|
3
|
+
gid?: string;
|
|
4
|
+
group?: string;
|
|
5
|
+
amount: string;
|
|
6
|
+
currency: string;
|
|
7
|
+
customer: string;
|
|
8
|
+
merchant_locale: string;
|
|
9
|
+
test?: boolean;
|
|
10
|
+
payment_method?: string;
|
|
11
|
+
proposed_at?: string;
|
|
12
|
+
kind?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateShopifyPaymentDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreateShopifyPaymentDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CreateShopifyPaymentDto.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreateShopifyPaymentDto.prototype, "gid", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreateShopifyPaymentDto.prototype, "group", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateShopifyPaymentDto.prototype, "amount", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CreateShopifyPaymentDto.prototype, "currency", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateShopifyPaymentDto.prototype, "customer", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CreateShopifyPaymentDto.prototype, "merchant_locale", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsBoolean)(),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], CreateShopifyPaymentDto.prototype, "test", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsString)(),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], CreateShopifyPaymentDto.prototype, "payment_method", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], CreateShopifyPaymentDto.prototype, "proposed_at", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], CreateShopifyPaymentDto.prototype, "kind", void 0);
|
|
71
|
+
exports.CreateShopifyPaymentDto = CreateShopifyPaymentDto;
|
|
72
|
+
//# sourceMappingURL=createShopifyPayment.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createShopifyPayment.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,uBAAuB;CA4CnC;AA3CC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACF;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AA3ChB,0DA4CC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './createShopifyPayment.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("./createShopifyPayment.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-pay/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dtos';
|
|
@@ -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("./dtos"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/shopify-pay/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GeneralNetwork } from '../constants';
|
|
2
2
|
import { BlockchainSymbol, Cluster } from '../model';
|
|
3
|
-
interface NetworkOptions {
|
|
3
|
+
export interface NetworkOptions {
|
|
4
4
|
[BlockchainSymbol.SOL]: {
|
|
5
5
|
[GeneralNetwork.MAINNET]: string;
|
|
6
6
|
};
|
|
@@ -21,8 +21,7 @@ export declare class ClusterService {
|
|
|
21
21
|
getBlockchainClusterPrivateEndpoint(blockchain: BlockchainSymbol, cluster?: Cluster): string;
|
|
22
22
|
getSolanaClusterPrivateEndpoint(cluster?: Cluster): string;
|
|
23
23
|
getBtcClusterPrivateEndpoint(cluster?: Cluster): string;
|
|
24
|
-
setSolana(mainnetRpcEndpoint: string):
|
|
25
|
-
setBitcoin(rpcEndpoint: string):
|
|
26
|
-
setCluster(cluster: Cluster):
|
|
24
|
+
setSolana(mainnetRpcEndpoint: string): this;
|
|
25
|
+
setBitcoin(rpcEndpoint: string): this;
|
|
26
|
+
setCluster(cluster: Cluster): this;
|
|
27
27
|
}
|
|
28
|
-
export {};
|