@fiado/type-kit 2.1.36 → 2.1.38

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.
@@ -13,4 +13,5 @@ export declare class DirectoryBackofficeResponse {
13
13
  createdby: string;
14
14
  updatedAt: number;
15
15
  updatedBy: string;
16
+ sponsorDirectoryId?: string | null;
16
17
  }
@@ -0,0 +1,11 @@
1
+ export declare enum ServicePaymentStatusEnum {
2
+ SUCESSFUL_PAYMENT = "SUCESSFUL_PAYMENT",
3
+ SERVICE_NOT_AVAILABLE = "SERVICE_NOT_AVAILABLE",
4
+ TIME_OUT = "TIME_OUT",
5
+ TRANSACTION_FAILED = "TRANSACTION_FAILED",
6
+ CUSTOMER_WITHOUT_DEBT = "CUSTOMER_WITHOUT_DEBT",
7
+ REFERENCE_WITHOUT_DEBT = "REFERENCE_WITHOUT_DEBT",
8
+ REFERENCE_NOT_FOUND = "REFERENCE_NOT_FOUND",
9
+ INVALID_PAYMENT_REFERENCE = "INVALID_PAYMENT_REFERENCE",
10
+ INVALID_PAYMENT_INFO = "INVALID_PAYMENT_INFO"
11
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServicePaymentStatusEnum = void 0;
4
+ var ServicePaymentStatusEnum;
5
+ (function (ServicePaymentStatusEnum) {
6
+ ServicePaymentStatusEnum["SUCESSFUL_PAYMENT"] = "SUCESSFUL_PAYMENT";
7
+ ServicePaymentStatusEnum["SERVICE_NOT_AVAILABLE"] = "SERVICE_NOT_AVAILABLE";
8
+ ServicePaymentStatusEnum["TIME_OUT"] = "TIME_OUT";
9
+ ServicePaymentStatusEnum["TRANSACTION_FAILED"] = "TRANSACTION_FAILED";
10
+ ServicePaymentStatusEnum["CUSTOMER_WITHOUT_DEBT"] = "CUSTOMER_WITHOUT_DEBT";
11
+ ServicePaymentStatusEnum["REFERENCE_WITHOUT_DEBT"] = "REFERENCE_WITHOUT_DEBT";
12
+ ServicePaymentStatusEnum["REFERENCE_NOT_FOUND"] = "REFERENCE_NOT_FOUND";
13
+ ServicePaymentStatusEnum["INVALID_PAYMENT_REFERENCE"] = "INVALID_PAYMENT_REFERENCE";
14
+ ServicePaymentStatusEnum["INVALID_PAYMENT_INFO"] = "INVALID_PAYMENT_INFO";
15
+ })(ServicePaymentStatusEnum || (exports.ServicePaymentStatusEnum = ServicePaymentStatusEnum = {}));
@@ -1,2 +1,3 @@
1
+ export * from './enums/ServicePaymentStatusEnum';
1
2
  export * from './dtos/ServicePaymentRequest';
2
3
  export * from './dtos/GetCatalogParams';
@@ -14,5 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ //Enums
18
+ __exportStar(require("./enums/ServicePaymentStatusEnum"), exports);
19
+ //DTOs
17
20
  __exportStar(require("./dtos/ServicePaymentRequest"), exports);
18
21
  __exportStar(require("./dtos/GetCatalogParams"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "2.1.36",
3
+ "version": "2.1.38",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -15,4 +15,5 @@ export class DirectoryBackofficeResponse {
15
15
  createdby:string
16
16
  updatedAt:number
17
17
  updatedBy:string
18
+ sponsorDirectoryId?:string | null;
18
19
  }
package/src/index.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { Company } from './company/enums/Company';
2
-
3
1
  export * as Crypto from './crypto';
4
2
  export * as Account from './account';
5
3
  export * as Activity from './activity';
@@ -0,0 +1,11 @@
1
+ export enum ServicePaymentStatusEnum {
2
+ SUCESSFUL_PAYMENT = "SUCESSFUL_PAYMENT",
3
+ SERVICE_NOT_AVAILABLE = "SERVICE_NOT_AVAILABLE",
4
+ TIME_OUT = "TIME_OUT",
5
+ TRANSACTION_FAILED = "TRANSACTION_FAILED",
6
+ CUSTOMER_WITHOUT_DEBT = "CUSTOMER_WITHOUT_DEBT",
7
+ REFERENCE_WITHOUT_DEBT = "REFERENCE_WITHOUT_DEBT",
8
+ REFERENCE_NOT_FOUND = "REFERENCE_NOT_FOUND",
9
+ INVALID_PAYMENT_REFERENCE = "INVALID_PAYMENT_REFERENCE",
10
+ INVALID_PAYMENT_INFO = "INVALID_PAYMENT_INFO",
11
+ }
@@ -1,2 +1,6 @@
1
+ //Enums
2
+ export * from './enums/ServicePaymentStatusEnum';
3
+
4
+ //DTOs
1
5
  export * from './dtos/ServicePaymentRequest';
2
6
  export * from './dtos/GetCatalogParams';