ovi-kit 1.1.27 → 1.2.1

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/index.d.ts CHANGED
@@ -16,7 +16,7 @@ export { BaseDto } from './shared/dto/base-dto';
16
16
  export { LoginDto } from './shared/dto/login.dto';
17
17
  export { CheckUserDto } from './shared/dto/check-user.dto';
18
18
  export { GetByIdsDto } from './shared/dto/get-by-ids.dto';
19
- export { PatientMinimalDataResponseDto } from './shared/dto/patient-minimal-data-response.dto';
19
+ export { UserMinimalDataResponseDto } from './shared/dto/patient-minimal-data-response.dto';
20
20
  export { PasswordVo } from './shared/value-objects/password';
21
21
  export { uuid } from './shared/utils/uuid';
22
22
  export { getFiveMinutesLater } from './shared/utils/get-five-minutes-later';
@@ -45,6 +45,7 @@ export type { Currency } from './shared/types/currency';
45
45
  export type { PaymentStatus } from './shared/types/payment-status';
46
46
  export type { PaymentType } from './shared/types/payment-type';
47
47
  export type { LeadSource } from './shared/types/lead-source';
48
+ export type { PaymentProviderType } from './shared/types/payment-provider';
48
49
  export { WEEKDAYS } from './shared/arrays/weekdays';
49
50
  export { CustomRpcException } from './shared/exceptions/custom-rpc.exception';
50
51
  export { RpcErrorCode } from './shared/enums/exception-codes';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INTERNAL_SERVER_ERROR = exports.RpcErrorCode = exports.CustomRpcException = exports.WEEKDAYS = exports.SharedModule = exports.CustomHttpModule = exports.RedisModule = exports.CustomHttpService = exports.RedisService = exports.CustomDate = exports.API_META_KEY = exports.ApiMeta = exports.BaseEntity = exports.createRandomPassword = exports.getFiveMinutesLater = exports.uuid = exports.PasswordVo = exports.PatientMinimalDataResponseDto = exports.GetByIdsDto = exports.CheckUserDto = exports.LoginDto = exports.BaseDto = exports.BaseResponseDto = exports.GetByIdDto = exports.GetByNameDto = exports.MetaDataDto = exports.PaginationResponseDto = exports.PaginationDto = exports.DeleteUserDto = exports.ForgotPasswordDto = exports.UserConfirmDto = exports.RevokeSessionDto = exports.ResetPasswordDto = exports.ResendOtpDto = exports.RecoveryPasswordDto = exports.MetaDto = void 0;
3
+ exports.INTERNAL_SERVER_ERROR = exports.RpcErrorCode = exports.CustomRpcException = exports.WEEKDAYS = exports.SharedModule = exports.CustomHttpModule = exports.RedisModule = exports.CustomHttpService = exports.RedisService = exports.CustomDate = exports.API_META_KEY = exports.ApiMeta = exports.BaseEntity = exports.createRandomPassword = exports.getFiveMinutesLater = exports.uuid = exports.PasswordVo = exports.UserMinimalDataResponseDto = exports.GetByIdsDto = exports.CheckUserDto = exports.LoginDto = exports.BaseDto = exports.BaseResponseDto = exports.GetByIdDto = exports.GetByNameDto = exports.MetaDataDto = exports.PaginationResponseDto = exports.PaginationDto = exports.DeleteUserDto = exports.ForgotPasswordDto = exports.UserConfirmDto = exports.RevokeSessionDto = exports.ResetPasswordDto = exports.ResendOtpDto = exports.RecoveryPasswordDto = exports.MetaDto = void 0;
4
4
  var meta_data_dto_1 = require("./shared/dto/meta-data.dto");
5
5
  Object.defineProperty(exports, "MetaDto", { enumerable: true, get: function () { return meta_data_dto_1.MetaDto; } });
6
6
  var recovery_password_dto_1 = require("./shared/dto/recovery-password.dto");
@@ -38,7 +38,7 @@ Object.defineProperty(exports, "CheckUserDto", { enumerable: true, get: function
38
38
  var get_by_ids_dto_1 = require("./shared/dto/get-by-ids.dto");
39
39
  Object.defineProperty(exports, "GetByIdsDto", { enumerable: true, get: function () { return get_by_ids_dto_1.GetByIdsDto; } });
40
40
  var patient_minimal_data_response_dto_1 = require("./shared/dto/patient-minimal-data-response.dto");
41
- Object.defineProperty(exports, "PatientMinimalDataResponseDto", { enumerable: true, get: function () { return patient_minimal_data_response_dto_1.PatientMinimalDataResponseDto; } });
41
+ Object.defineProperty(exports, "UserMinimalDataResponseDto", { enumerable: true, get: function () { return patient_minimal_data_response_dto_1.UserMinimalDataResponseDto; } });
42
42
  var password_1 = require("./shared/value-objects/password");
43
43
  Object.defineProperty(exports, "PasswordVo", { enumerable: true, get: function () { return password_1.PasswordVo; } });
44
44
  var uuid_1 = require("./shared/utils/uuid");
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,4DAAqD;AAA5C,wGAAA,OAAO,OAAA;AAChB,4EAAyE;AAAhE,4HAAA,mBAAmB,OAAA;AAC5B,8DAA2D;AAAlD,8GAAA,YAAY,OAAA;AACrB,sEAAmE;AAA1D,sHAAA,gBAAgB,OAAA;AACzB,sEAAmE;AAA1D,sHAAA,gBAAgB,OAAA;AACzB,kEAA+D;AAAtD,kHAAA,cAAc,OAAA;AACvB,wEAAqE;AAA5D,wHAAA,iBAAiB,OAAA;AAC1B,gEAA6D;AAApD,gHAAA,aAAa,OAAA;AACtB,8DAA4D;AAAnD,+GAAA,aAAa,OAAA;AACtB,8DAAoE;AAA3D,uHAAA,qBAAqB,OAAA;AAC9B,4DAAyD;AAAhD,4GAAA,WAAW,OAAA;AACpB,gEAA4D;AAAnD,+GAAA,YAAY,OAAA;AACrB,4DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,oEAAiE;AAAxD,oHAAA,eAAe,OAAA;AACxB,kDAAgD;AAAvC,mGAAA,OAAO,OAAA;AAChB,oDAAkD;AAAzC,qGAAA,QAAQ,OAAA;AACjB,8DAA2D;AAAlD,8GAAA,YAAY,OAAA;AACrB,8DAA0D;AAAjD,6GAAA,WAAW,OAAA;AACpB,oGAA+F;AAAtF,kJAAA,6BAA6B,OAAA;AAGtC,4DAA6D;AAApD,sGAAA,UAAU,OAAA;AAGnB,4CAA2C;AAAlC,4FAAA,IAAI,OAAA;AACb,gFAA4E;AAAnE,6HAAA,mBAAmB,OAAA;AAC5B,gFAA6E;AAApE,8HAAA,oBAAoB,OAAA;AAE7B,6DAA2D;AAAlD,yGAAA,UAAU,OA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,QAAQ,OAAA;AACjB,8DAA2D;AAAlD,8GAAA,YAAY,OAAA;AACrB,8DAA0D;AAAjD,6GAAA,WAAW,OAAA;AACpB,oGAA4F;AAAnF,+IAAA,0BAA0B,OAAA;AAGnC,4DAA6D;AAApD,sGAAA,UAAU,OAAA;AAGnB,4CAA2C;AAAlC,4FAAA,IAAI,OAAA;AACb,gFAA4E;AAAnE,6HAAA,mBAAmB,OAAA;AAC5B,gFAA6E;AAApE,8HAAA,oBAAoB,OAAA;AAE7B,6DAA2D;AAAlD,yGAAA,UAAU,OAAA;AAGnB,6EAAiE;AAAxD,6GAAA,OAAO,OAAA;AAChB,6EAAsE;AAA7D,kHAAA,YAAY,OAAA;AAErB,+DAA6D;AAApD,yGAAA,UAAU,OAAA;AAGnB,sEAAoE;AAA3D,6GAAA,YAAY,OAAA;AACrB,mEAAuE;AAA9D,iHAAA,iBAAiB,OAAA;AAG1B,oEAAkE;AAAzD,2GAAA,WAAW,OAAA;AACpB,iEAAqE;AAA5D,+GAAA,gBAAgB,OAAA;AACzB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AAoBrB,qDAAoD;AAA3C,oGAAA,QAAQ,OAAA;AAGjB,iFAA8E;AAArE,0HAAA,kBAAkB,OAAA;AAG3B,kEAA8D;AAArD,+GAAA,YAAY,OAAA;AAGrB,gGAAwF;AAA/E,qIAAA,qBAAqB,OAAA"}
@@ -1,5 +1,5 @@
1
1
  import { BaseResponseDto } from './base-response.dto';
2
- export declare class PatientMinimalDataResponseDto extends BaseResponseDto {
2
+ export declare class UserMinimalDataResponseDto extends BaseResponseDto {
3
3
  name: string;
4
4
  surname: string | null;
5
5
  last_name?: string | null;
@@ -9,35 +9,35 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.PatientMinimalDataResponseDto = void 0;
12
+ exports.UserMinimalDataResponseDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  const base_response_dto_1 = require("./base-response.dto");
15
- class PatientMinimalDataResponseDto extends base_response_dto_1.BaseResponseDto {
15
+ class UserMinimalDataResponseDto extends base_response_dto_1.BaseResponseDto {
16
16
  name;
17
17
  surname;
18
18
  last_name;
19
19
  profile_image_url;
20
20
  contact;
21
21
  }
22
- exports.PatientMinimalDataResponseDto = PatientMinimalDataResponseDto;
22
+ exports.UserMinimalDataResponseDto = UserMinimalDataResponseDto;
23
23
  __decorate([
24
24
  (0, class_transformer_1.Expose)(),
25
25
  __metadata("design:type", String)
26
- ], PatientMinimalDataResponseDto.prototype, "name", void 0);
26
+ ], UserMinimalDataResponseDto.prototype, "name", void 0);
27
27
  __decorate([
28
28
  (0, class_transformer_1.Expose)(),
29
29
  __metadata("design:type", Object)
30
- ], PatientMinimalDataResponseDto.prototype, "surname", void 0);
30
+ ], UserMinimalDataResponseDto.prototype, "surname", void 0);
31
31
  __decorate([
32
32
  (0, class_transformer_1.Expose)(),
33
33
  __metadata("design:type", Object)
34
- ], PatientMinimalDataResponseDto.prototype, "last_name", void 0);
34
+ ], UserMinimalDataResponseDto.prototype, "last_name", void 0);
35
35
  __decorate([
36
36
  (0, class_transformer_1.Expose)(),
37
37
  __metadata("design:type", String)
38
- ], PatientMinimalDataResponseDto.prototype, "profile_image_url", void 0);
38
+ ], UserMinimalDataResponseDto.prototype, "profile_image_url", void 0);
39
39
  __decorate([
40
40
  (0, class_transformer_1.Expose)(),
41
41
  __metadata("design:type", String)
42
- ], PatientMinimalDataResponseDto.prototype, "contact", void 0);
42
+ ], UserMinimalDataResponseDto.prototype, "contact", void 0);
43
43
  //# sourceMappingURL=patient-minimal-data-response.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"patient-minimal-data-response.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/patient-minimal-data-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,2DAAsD;AAEtD,MAAa,6BAA8B,SAAQ,mCAAe;IAEhE,IAAI,CAAS;IAGb,OAAO,CAAgB;IAGvB,SAAS,CAAiB;IAG1B,iBAAiB,CAAU;IAG3B,OAAO,CAAS;CACjB;AAfD,sEAeC;AAbC;IADC,IAAA,0BAAM,GAAE;;2DACI;AAGb;IADC,IAAA,0BAAM,GAAE;;8DACc;AAGvB;IADC,IAAA,0BAAM,GAAE;;gEACiB;AAG1B;IADC,IAAA,0BAAM,GAAE;;wEACkB;AAG3B;IADC,IAAA,0BAAM,GAAE;;8DACO"}
1
+ {"version":3,"file":"patient-minimal-data-response.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/patient-minimal-data-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,2DAAsD;AAEtD,MAAa,0BAA2B,SAAQ,mCAAe;IAE7D,IAAI,CAAS;IAGb,OAAO,CAAgB;IAGvB,SAAS,CAAiB;IAG1B,iBAAiB,CAAU;IAG3B,OAAO,CAAS;CACjB;AAfD,gEAeC;AAbC;IADC,IAAA,0BAAM,GAAE;;wDACI;AAGb;IADC,IAAA,0BAAM,GAAE;;2DACc;AAGvB;IADC,IAAA,0BAAM,GAAE;;6DACiB;AAG1B;IADC,IAAA,0BAAM,GAAE;;qEACkB;AAG3B;IADC,IAAA,0BAAM,GAAE;;2DACO"}
@@ -1,3 +1,3 @@
1
1
  export declare enum MicroserviceBaseUrl {
2
- CoreService = "http://core-service.business-apps.svc.cluster.local"
2
+ CoreService = "http://core-service"
3
3
  }
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MicroserviceBaseUrl = void 0;
4
4
  var MicroserviceBaseUrl;
5
5
  (function (MicroserviceBaseUrl) {
6
- MicroserviceBaseUrl["CoreService"] = "http://core-service.business-apps.svc.cluster.local";
6
+ MicroserviceBaseUrl["CoreService"] = "http://core-service";
7
7
  })(MicroserviceBaseUrl || (exports.MicroserviceBaseUrl = MicroserviceBaseUrl = {}));
8
8
  //# sourceMappingURL=micro-service-base-url.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"micro-service-base-url.js","sourceRoot":"","sources":["../../../src/shared/enums/micro-service-base-url.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,0FAAmE,CAAA;AACrE,CAAC,EAFW,mBAAmB,mCAAnB,mBAAmB,QAE9B"}
1
+ {"version":3,"file":"micro-service-base-url.js","sourceRoot":"","sources":["../../../src/shared/enums/micro-service-base-url.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,0DAAmC,CAAA;AACrC,CAAC,EAFW,mBAAmB,mCAAnB,mBAAmB,QAE9B"}
@@ -0,0 +1 @@
1
+ export type PaymentProviderType = 'atmos' | "ipak_yo'li";
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payment-provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-provider.js","sourceRoot":"","sources":["../../../src/shared/types/payment-provider.ts"],"names":[],"mappings":""}