@pulsar.money/atlas-sdk 0.5.1 → 0.5.4

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.
@@ -2,4 +2,5 @@ export declare class ApiConfigService {
2
2
  static getAtlasBaseUrl(): string;
3
3
  static getAtlasJwtSecret(): string;
4
4
  static getServiceType(): "multiversx" | "starknet" | "evm";
5
+ static getMoonpayApiKey(): string;
5
6
  }
@@ -24,6 +24,13 @@ class ApiConfigService {
24
24
  }
25
25
  return process.env.SERVICE_TYPE;
26
26
  }
27
+ static getMoonpayApiKey() {
28
+ const apiKey = process.env.MOONPAY_API_KEY;
29
+ if (!apiKey) {
30
+ throw new Error("MOONPAY_API_KEY environment variable is not set");
31
+ }
32
+ return apiKey;
33
+ }
27
34
  }
28
35
  exports.ApiConfigService = ApiConfigService;
29
36
  //# sourceMappingURL=api-config.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-config.service.js","sourceRoot":"","sources":["../../src/config/api-config.service.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;IAC3B,MAAM,CAAC,eAAe;QACpB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE;YAC/B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;SAC9C;QACD,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,iBAAiB;QACtB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE;YACjC,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;SAChD;QACD,OAAO,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;IACtC,CAAC;IAED,MAAM,CAAC,cAAc;QACnB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SAC5C;QAED,MAAM,iBAAiB,GAAG,CAAC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,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC;QAC3C,IAAI,CAAC,MAAM,EAAE;YACX,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;SACpE;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAnCD,4CAmCC"}
@@ -2,3 +2,4 @@ export * from "./profiles";
2
2
  export * from "./payments";
3
3
  export * from "./public-profiles";
4
4
  export * from "./messages";
5
+ export * from "./moonpay";
@@ -18,4 +18,5 @@ __exportStar(require("./profiles"), exports);
18
18
  __exportStar(require("./payments"), exports);
19
19
  __exportStar(require("./public-profiles"), exports);
20
20
  __exportStar(require("./messages"), exports);
21
+ __exportStar(require("./moonpay"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,6CAA2B;AAC3B,oDAAkC;AAClC,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,6CAA2B;AAC3B,oDAAkC;AAClC,6CAA2B;AAC3B,4CAA0B"}
@@ -0,0 +1,2 @@
1
+ export * from "./moonpay.service";
2
+ export * from "./moonpay.types";
@@ -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("./moonpay.service"), exports);
18
+ __exportStar(require("./moonpay.types"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/moonpay/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,kDAAgC"}
@@ -0,0 +1,8 @@
1
+ import { MoonpayTransaction } from "./moonpay.types";
2
+ export declare class MoonpayService {
3
+ private readonly axiosInstance;
4
+ private readonly apiKey;
5
+ constructor();
6
+ getTransaction(transactionId: string): Promise<MoonpayTransaction>;
7
+ private handleAxiosError;
8
+ }
@@ -0,0 +1,49 @@
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.MoonpayService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const axios_1 = require("axios");
15
+ const api_config_service_1 = require("../../config/api-config.service");
16
+ let MoonpayService = class MoonpayService {
17
+ constructor() {
18
+ this.apiKey = api_config_service_1.ApiConfigService.getMoonpayApiKey();
19
+ this.axiosInstance = axios_1.default.create({
20
+ baseURL: "https://api.moonpay.com",
21
+ headers: {
22
+ Authorization: `Api-Key ${this.apiKey}`,
23
+ },
24
+ });
25
+ }
26
+ async getTransaction(transactionId) {
27
+ if (!transactionId) {
28
+ throw new common_1.BadRequestException("Transaction ID is required");
29
+ }
30
+ try {
31
+ const response = await this.axiosInstance.get(`/v1/transactions/${transactionId}`);
32
+ return response.data;
33
+ }
34
+ catch (error) {
35
+ this.handleAxiosError(error);
36
+ }
37
+ }
38
+ handleAxiosError(error) {
39
+ var _a, _b;
40
+ const errorMessage = ((_b = (_a = error.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.message) || "An error occurred with Moonpay";
41
+ throw new common_1.BadRequestException(errorMessage);
42
+ }
43
+ };
44
+ exports.MoonpayService = MoonpayService;
45
+ exports.MoonpayService = MoonpayService = __decorate([
46
+ (0, common_1.Injectable)(),
47
+ __metadata("design:paramtypes", [])
48
+ ], MoonpayService);
49
+ //# sourceMappingURL=moonpay.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moonpay.service.js","sourceRoot":"","sources":["../../../src/modules/moonpay/moonpay.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAiE;AACjE,iCAA6C;AAC7C,wEAAmE;AAI5D,IAAM,cAAc,GAApB,MAAM,cAAc;IAIzB;QACE,IAAI,CAAC,MAAM,GAAG,qCAAgB,CAAC,gBAAgB,EAAE,CAAC;QAElD,IAAI,CAAC,aAAa,GAAG,eAAK,CAAC,MAAM,CAAC;YAChC,OAAO,EAAE,yBAAyB;YAClC,OAAO,EAAE;gBACP,aAAa,EAAE,WAAW,IAAI,CAAC,MAAM,EAAE;aACxC;SACF,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,aAAqB;QACxC,IAAI,CAAC,aAAa,EAAE;YAClB,MAAM,IAAI,4BAAmB,CAAC,4BAA4B,CAAC,CAAC;SAC7D;QAED,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,GAAG,CAC3C,oBAAoB,aAAa,EAAE,CACpC,CAAC;YACF,OAAO,QAAQ,CAAC,IAAI,CAAC;SACtB;QAAC,OAAO,KAAK,EAAE;YACd,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;SAC9B;IACH,CAAC;IAEO,gBAAgB,CAAC,KAAU;;QACjC,MAAM,YAAY,GAChB,CAAA,MAAA,MAAA,KAAK,CAAC,QAAQ,0CAAE,IAAI,0CAAE,OAAO,KAAI,gCAAgC,CAAC;QACpE,MAAM,IAAI,4BAAmB,CAAC,YAAY,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AAnCY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,mBAAU,GAAE;;GACA,cAAc,CAmC1B"}
@@ -0,0 +1,72 @@
1
+ export interface MoonpayCurrency {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+ type: 'crypto' | 'fiat';
6
+ name: string;
7
+ code: string;
8
+ precision: number;
9
+ minBuyAmount: number;
10
+ maxBuyAmount: number;
11
+ minSellAmount?: number;
12
+ maxSellAmount?: number;
13
+ addressRegex?: string;
14
+ testnetAddressRegex?: string;
15
+ supportsAddressTag: boolean;
16
+ addressTagRegex: string | null;
17
+ supportsTestMode: boolean;
18
+ isSuspended: boolean;
19
+ isSupportedInUs: boolean;
20
+ isSellSupported: boolean;
21
+ notAllowedUSStates?: string[];
22
+ notAllowedCountries?: string[];
23
+ metadata?: {
24
+ contractAddress: number;
25
+ chainId: string;
26
+ networkCode: string;
27
+ };
28
+ }
29
+ export interface MoonpayStage {
30
+ stage: string;
31
+ status: string;
32
+ failureReason: string | null;
33
+ actions: any[];
34
+ }
35
+ export interface MoonpayTransaction {
36
+ id: string;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ baseCurrencyAmount: number;
40
+ quoteCurrencyAmount: number;
41
+ feeAmount: number;
42
+ extraFeeAmount: number;
43
+ networkFeeAmount: number;
44
+ areFeesIncluded: boolean;
45
+ status: string;
46
+ failureReason: string | null;
47
+ walletAddress: number;
48
+ walletAddressTag: string | null;
49
+ cryptoTransactionId: number;
50
+ redirectUrl: string;
51
+ returnUrl: string;
52
+ widgetRedirectUrl: string | null;
53
+ eurRate: number;
54
+ usdRate: number;
55
+ gbpRate: number;
56
+ bankDepositInformation: string | null;
57
+ bankTransferReference: string | null;
58
+ currencyId: string;
59
+ currency: MoonpayCurrency;
60
+ baseCurrencyId: string;
61
+ baseCurrency: MoonpayCurrency;
62
+ customerId: string;
63
+ cardId: string;
64
+ bankAccountId: string | null;
65
+ externalCustomerId: string;
66
+ externalTransactionId: string;
67
+ country: string;
68
+ state: string | null;
69
+ cardType: string;
70
+ cardPaymentType: string;
71
+ stages: MoonpayStage[];
72
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=moonpay.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moonpay.types.js","sourceRoot":"","sources":["../../../src/modules/moonpay/moonpay.types.ts"],"names":[],"mappings":""}
@@ -8,4 +8,7 @@ export declare class UpdateProfileDto {
8
8
  twitter?: string;
9
9
  discord?: string;
10
10
  linkedin?: string;
11
+ website?: string;
12
+ docs?: string;
13
+ telegram?: string;
11
14
  }
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UpdateProfileDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
+ const class_transformer_1 = require("class-transformer");
15
16
  class UpdateProfileDto {
16
17
  }
17
18
  exports.UpdateProfileDto = UpdateProfileDto;
@@ -26,8 +27,8 @@ __decorate([
26
27
  __decorate([
27
28
  (0, swagger_1.ApiProperty)({ required: false }),
28
29
  (0, class_validator_1.IsOptional)(),
29
- (0, class_validator_1.IsString)(),
30
- (0, class_validator_1.IsIn)(["true", "false"]),
30
+ (0, class_validator_1.IsBoolean)(),
31
+ (0, class_transformer_1.Transform)(({ value }) => value === 'true'),
31
32
  __metadata("design:type", Boolean)
32
33
  ], UpdateProfileDto.prototype, "publicProfile", void 0);
33
34
  __decorate([
@@ -53,21 +54,43 @@ __decorate([
53
54
  __decorate([
54
55
  (0, swagger_1.ApiProperty)({ required: false }),
55
56
  (0, class_validator_1.IsOptional)(),
57
+ (0, class_validator_1.IsUrl)(),
56
58
  __metadata("design:type", String)
57
59
  ], UpdateProfileDto.prototype, "instagram", void 0);
58
60
  __decorate([
59
61
  (0, swagger_1.ApiProperty)({ required: false }),
60
62
  (0, class_validator_1.IsOptional)(),
63
+ (0, class_validator_1.IsUrl)(),
61
64
  __metadata("design:type", String)
62
65
  ], UpdateProfileDto.prototype, "twitter", void 0);
63
66
  __decorate([
64
67
  (0, swagger_1.ApiProperty)({ required: false }),
65
68
  (0, class_validator_1.IsOptional)(),
69
+ (0, class_validator_1.IsUrl)(),
66
70
  __metadata("design:type", String)
67
71
  ], UpdateProfileDto.prototype, "discord", void 0);
68
72
  __decorate([
69
73
  (0, swagger_1.ApiProperty)({ required: false }),
70
74
  (0, class_validator_1.IsOptional)(),
75
+ (0, class_validator_1.IsUrl)(),
71
76
  __metadata("design:type", String)
72
77
  ], UpdateProfileDto.prototype, "linkedin", void 0);
78
+ __decorate([
79
+ (0, swagger_1.ApiProperty)({ required: false }),
80
+ (0, class_validator_1.IsOptional)(),
81
+ (0, class_validator_1.IsUrl)(),
82
+ __metadata("design:type", String)
83
+ ], UpdateProfileDto.prototype, "website", void 0);
84
+ __decorate([
85
+ (0, swagger_1.ApiProperty)({ required: false }),
86
+ (0, class_validator_1.IsOptional)(),
87
+ (0, class_validator_1.IsUrl)(),
88
+ __metadata("design:type", String)
89
+ ], UpdateProfileDto.prototype, "docs", void 0);
90
+ __decorate([
91
+ (0, swagger_1.ApiProperty)({ required: false }),
92
+ (0, class_validator_1.IsOptional)(),
93
+ (0, class_validator_1.IsUrl)(),
94
+ __metadata("design:type", String)
95
+ ], UpdateProfileDto.prototype, "telegram", void 0);
73
96
  //# sourceMappingURL=update-profile.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-profile.dto.js","sourceRoot":"","sources":["../../../../src/modules/profiles/dto/update-profile.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAMyB;AAEzB,MAAa,gBAAgB;CA8C5B;AA9CD,4CA8CC;AAxCC;IALC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;kDACG;AAMlB;IAJC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;uDACA;AAMxB;IAJC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;8CACD;AAMd;IAJC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;0DACW;AAK1B;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACc;AAIzB;IAFC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;;mDACM;AAInB;IAFC,IAAA,qBAAW,EAAC,EA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AA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACc;AAKzB;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mDACW;AAKnB;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iDACS;AAKjB;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iDACS;AAKjB;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;kDACU;AAKlB;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iDACS;AAKjB;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACM;AAKd;IAHC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;kDACU"}
@@ -9,8 +9,8 @@ export interface ResendVerificationInput {
9
9
  export interface UserProfile {
10
10
  id: string;
11
11
  email: string;
12
- phoneNumber: string;
13
12
  username: string;
13
+ isVerified: boolean;
14
14
  profileImage: string;
15
15
  kycApplicant?: KycApplicant;
16
16
  profile?: Profile;