@heliofi/common 0.1.519 → 0.1.522
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/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.d.ts +4 -0
- package/dist/src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.js +8 -0
- package/dist/src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.js.map +1 -0
- package/dist/src/domain/model/prepare-refund/shopify/entities/PrepareShopifyTransaction.entity.d.ts +4 -0
- package/dist/src/domain/model/prepare-refund/shopify/entities/PrepareShopifyTransaction.entity.js +8 -0
- package/dist/src/domain/model/prepare-refund/shopify/entities/PrepareShopifyTransaction.entity.js.map +1 -0
- package/dist/src/domain/model/prepare-refund/shopify/entities/index.d.ts +1 -0
- package/dist/src/domain/model/prepare-refund/shopify/entities/index.js +18 -0
- package/dist/src/domain/model/prepare-refund/shopify/entities/index.js.map +1 -0
- package/dist/src/domain/model/prepare-refund/shopify/index.d.ts +1 -0
- package/dist/src/domain/model/prepare-refund/shopify/index.js +18 -0
- package/dist/src/domain/model/prepare-refund/shopify/index.js.map +1 -0
- package/dist/src/domain/model/refund-request/dtos/GetRefundRequestsQueryParams.js +2 -2
- package/dist/src/domain/model/refund-request/dtos/GetRefundRequestsQueryParams.js.map +1 -1
- package/dist/src/domain/model/refund-request/dtos/approveRefundRequest.dto.d.ts +3 -0
- package/dist/src/domain/model/refund-request/dtos/approveRefundRequest.dto.js +22 -0
- package/dist/src/domain/model/refund-request/dtos/approveRefundRequest.dto.js.map +1 -0
- package/dist/src/domain/model/shopify-merchant/entities/ShopifyMerchant.entity.d.ts +1 -0
- package/dist/src/domain/model/shopify-merchant/entities/ShopifyMerchant.entity.js.map +1 -1
- package/dist/src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.d.ts +0 -2
- package/dist/src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.js +0 -7
- package/dist/src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.js.map +1 -1
- package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.d.ts +1 -1
- package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.js +3 -4
- package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.js.map +1 -1
- package/dist/src/domain/model/submit-shopify-refund/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/submit-shopify-refund/dtos/index.js +18 -0
- package/dist/src/domain/model/submit-shopify-refund/dtos/index.js.map +1 -0
- package/dist/src/domain/model/submit-shopify-refund/dtos/submitRefund.dto.d.ts +8 -0
- package/dist/src/domain/model/submit-shopify-refund/dtos/submitRefund.dto.js +43 -0
- package/dist/src/domain/model/submit-shopify-refund/dtos/submitRefund.dto.js.map +1 -0
- package/dist/src/domain/model/submit-shopify-refund/index.d.ts +1 -0
- package/dist/src/domain/model/submit-shopify-refund/index.js +18 -0
- package/dist/src/domain/model/submit-shopify-refund/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreparePartialAmountRefundTransaction = void 0;
|
|
4
|
+
const prepare_transaction_1 = require("../../../prepare-transaction");
|
|
5
|
+
class PreparePartialAmountRefundTransaction extends prepare_transaction_1.PrepareTransaction {
|
|
6
|
+
}
|
|
7
|
+
exports.PreparePartialAmountRefundTransaction = PreparePartialAmountRefundTransaction;
|
|
8
|
+
//# sourceMappingURL=PreparePartialAmountRefundTransaction.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreparePartialAmountRefundTransaction.entity.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.ts"],"names":[],"mappings":";;;AAAA,sEAAkE;AAElE,MAAa,qCAAsC,SAAQ,wCAAkB;CAE5E;AAFD,sFAEC"}
|
package/dist/src/domain/model/prepare-refund/shopify/entities/PrepareShopifyTransaction.entity.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrepareShopifyRefundTransaction = void 0;
|
|
4
|
+
const prepare_transaction_1 = require("../../../prepare-transaction");
|
|
5
|
+
class PrepareShopifyRefundTransaction extends prepare_transaction_1.PrepareTransaction {
|
|
6
|
+
}
|
|
7
|
+
exports.PrepareShopifyRefundTransaction = PrepareShopifyRefundTransaction;
|
|
8
|
+
//# sourceMappingURL=PrepareShopifyTransaction.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrepareShopifyTransaction.entity.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/prepare-refund/shopify/entities/PrepareShopifyTransaction.entity.ts"],"names":[],"mappings":";;;AAAA,sEAAkE;AAElE,MAAa,+BAAgC,SAAQ,wCAAkB;CAEtE;AAFD,0EAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PreparePartialAmountRefundTransaction.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("./PreparePartialAmountRefundTransaction.entity"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/prepare-refund/shopify/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iFAA+D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './entities';
|
|
@@ -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("./entities"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-refund/shopify/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -23,7 +23,7 @@ __decorate([
|
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], GetRefundRequestsQueryParams.prototype, "type", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, class_validator_1.
|
|
26
|
+
(0, class_validator_1.IsNumberString)(),
|
|
27
27
|
(0, class_validator_1.IsOptional)(),
|
|
28
28
|
__metadata("design:type", Number)
|
|
29
29
|
], GetRefundRequestsQueryParams.prototype, "page", void 0);
|
|
@@ -33,7 +33,7 @@ __decorate([
|
|
|
33
33
|
__metadata("design:type", String)
|
|
34
34
|
], GetRefundRequestsQueryParams.prototype, "lastItemId", void 0);
|
|
35
35
|
__decorate([
|
|
36
|
-
(0, class_validator_1.
|
|
36
|
+
(0, class_validator_1.IsNumberString)(),
|
|
37
37
|
(0, class_validator_1.IsOptional)(),
|
|
38
38
|
__metadata("design:type", Number)
|
|
39
39
|
], GetRefundRequestsQueryParams.prototype, "limit", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetRefundRequestsQueryParams.js","sourceRoot":"","sources":["../../../../../../src/domain/model/refund-request/dtos/GetRefundRequestsQueryParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"GetRefundRequestsQueryParams.js","sourceRoot":"","sources":["../../../../../../src/domain/model/refund-request/dtos/GetRefundRequestsQueryParams.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,qEAA6D;AAG7D,MAAa,4BAA4B;IAAzC;QAGE,SAAI,GAAuB,0CAAiB,CAAC,IAAI,CAAC;IAapD,CAAC;CAAA;AAfC;IAAC,IAAA,wBAAM,EAAC,0CAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;0DACqC;AAElD;IAAC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;0DACC;AAEd;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACO;AAEpB;IAAC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;2DACE;AAfjB,oEAgBC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.ApproveRefundRequestDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class ApproveRefundRequestDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ApproveRefundRequestDto.prototype, "senderPK", void 0);
|
|
21
|
+
exports.ApproveRefundRequestDto = ApproveRefundRequestDto;
|
|
22
|
+
//# sourceMappingURL=approveRefundRequest.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approveRefundRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/refund-request/dtos/approveRefundRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,uBAAuB;CAInC;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACI;AAHnB,0DAIC"}
|
|
@@ -4,6 +4,7 @@ import { PayoutWallet } from '../../payout-wallet';
|
|
|
4
4
|
import { ShopifyMerchantPaylink } from '../../paylink';
|
|
5
5
|
import { KYBDetails } from '../../kyb-details';
|
|
6
6
|
export declare class ShopifyMerchant extends Entity {
|
|
7
|
+
shopifyStoreSettingsUrl: string;
|
|
7
8
|
merchantDetails: ShopifyMerchantDetails;
|
|
8
9
|
kybDetails?: KYBDetails;
|
|
9
10
|
payoutWallet: PayoutWallet;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShopifyMerchant.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-merchant/entities/ShopifyMerchant.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAMtC,MAAa,eAAgB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"ShopifyMerchant.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-merchant/entities/ShopifyMerchant.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAMtC,MAAa,eAAgB,SAAQ,eAAM;CAU1C;AAVD,0CAUC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ShopifyCustomerDto } from './customer/shopifyCustomer.dto';
|
|
2
1
|
import { ShopifyPaymentMethodDto } from './paymentMethod/shopifyPaymentMethod.dto';
|
|
3
2
|
export declare class CreateShopifyPaymentDto {
|
|
4
3
|
id: string;
|
|
@@ -6,7 +5,6 @@ export declare class CreateShopifyPaymentDto {
|
|
|
6
5
|
group?: string;
|
|
7
6
|
amount: string;
|
|
8
7
|
currency: string;
|
|
9
|
-
customer: ShopifyCustomerDto;
|
|
10
8
|
merchant_locale: string;
|
|
11
9
|
test?: boolean;
|
|
12
10
|
payment_method: ShopifyPaymentMethodDto;
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CreateShopifyPaymentDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const shopifyCustomer_dto_1 = require("./customer/shopifyCustomer.dto");
|
|
16
15
|
const shopifyPaymentMethod_dto_1 = require("./paymentMethod/shopifyPaymentMethod.dto");
|
|
17
16
|
class CreateShopifyPaymentDto {
|
|
18
17
|
}
|
|
@@ -41,12 +40,6 @@ __decorate([
|
|
|
41
40
|
(0, class_validator_1.IsNotEmpty)(),
|
|
42
41
|
__metadata("design:type", String)
|
|
43
42
|
], CreateShopifyPaymentDto.prototype, "currency", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
-
(0, class_transformer_1.Type)(() => shopifyCustomer_dto_1.ShopifyCustomerDto),
|
|
47
|
-
(0, class_validator_1.ValidateNested)(),
|
|
48
|
-
__metadata("design:type", shopifyCustomer_dto_1.ShopifyCustomerDto)
|
|
49
|
-
], CreateShopifyPaymentDto.prototype, "customer", void 0);
|
|
50
43
|
__decorate([
|
|
51
44
|
(0, class_validator_1.IsString)(),
|
|
52
45
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createShopifyPayment.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"createShopifyPayment.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shopify-pay/dtos/createShopifyPayment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,uFAAmF;AAEnF,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;;gEACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kDAAuB,CAAC;IACnC,IAAA,gCAAc,GAAE;8BACD,kDAAuB;+DAAC;AAExC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAxChB,0DA4CC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ShopifyCustomerAddressDto } from './shopifyCustomerAddress.dto';
|
|
2
2
|
export declare class ShopifyCustomerDto {
|
|
3
3
|
billing_address: ShopifyCustomerAddressDto;
|
|
4
|
-
shipping_address
|
|
4
|
+
shipping_address?: ShopifyCustomerAddressDto;
|
|
5
5
|
email: string;
|
|
6
6
|
locale: string;
|
|
7
7
|
}
|
|
@@ -13,18 +13,17 @@ exports.ShopifyCustomerDto = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const shopifyCustomerAddress_dto_1 = require("./shopifyCustomerAddress.dto");
|
|
16
|
-
const charge_1 = require("../../../charge");
|
|
17
16
|
class ShopifyCustomerDto {
|
|
18
17
|
}
|
|
19
18
|
__decorate([
|
|
20
|
-
(0, class_transformer_1.Type)(() =>
|
|
19
|
+
(0, class_transformer_1.Type)(() => shopifyCustomerAddress_dto_1.ShopifyCustomerAddressDto),
|
|
21
20
|
(0, class_validator_1.IsNotEmpty)(),
|
|
22
21
|
(0, class_validator_1.ValidateNested)(),
|
|
23
22
|
__metadata("design:type", shopifyCustomerAddress_dto_1.ShopifyCustomerAddressDto)
|
|
24
23
|
], ShopifyCustomerDto.prototype, "billing_address", void 0);
|
|
25
24
|
__decorate([
|
|
26
|
-
(0, class_transformer_1.Type)(() =>
|
|
27
|
-
(0, class_validator_1.
|
|
25
|
+
(0, class_transformer_1.Type)(() => shopifyCustomerAddress_dto_1.ShopifyCustomerAddressDto),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
27
|
(0, class_validator_1.ValidateNested)(),
|
|
29
28
|
__metadata("design:type", shopifyCustomerAddress_dto_1.ShopifyCustomerAddressDto)
|
|
30
29
|
], ShopifyCustomerDto.prototype, "shipping_address", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shopifyCustomer.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"shopifyCustomer.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,6EAAyE;AAEzE,MAAa,kBAAkB;CAkB9B;AAjBC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAyB,CAAC;IACrC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACA,sDAAyB;2DAAC;AAE3C;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAyB,CAAC;IACrC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,sDAAyB;4DAAC;AAE7C;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACE;AAjBjB,gDAkBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './submitRefund.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("./submitRefund.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-shopify-refund/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PaymentRequestType } from '../../payment-request';
|
|
2
|
+
export declare class SubmitShopifyRefundDto {
|
|
3
|
+
signedTransaction: string;
|
|
4
|
+
paymentRequestTxId: string;
|
|
5
|
+
paymentRequestType: PaymentRequestType;
|
|
6
|
+
refundRequestId: string;
|
|
7
|
+
transactionToken: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.SubmitShopifyRefundDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const payment_request_1 = require("../../payment-request");
|
|
15
|
+
class SubmitShopifyRefundDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SubmitShopifyRefundDto.prototype, "signedTransaction", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], SubmitShopifyRefundDto.prototype, "paymentRequestTxId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsEnum)(payment_request_1.PaymentRequestType),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], SubmitShopifyRefundDto.prototype, "paymentRequestType", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], SubmitShopifyRefundDto.prototype, "refundRequestId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], SubmitShopifyRefundDto.prototype, "transactionToken", void 0);
|
|
42
|
+
exports.SubmitShopifyRefundDto = SubmitShopifyRefundDto;
|
|
43
|
+
//# sourceMappingURL=submitRefund.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submitRefund.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-shopify-refund/dtos/submitRefund.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,2DAA2D;AAE3D,MAAa,sBAAsB;CAoBlC;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACc;AAE3B;IAAC,IAAA,wBAAM,EAAC,oCAAkB,CAAC;IAC1B,IAAA,4BAAU,GAAE;;kEAC0B;AAEvC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAnB3B,wDAoBC"}
|
|
@@ -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/submit-shopify-refund/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
|