@fiado/type-kit 1.9.73 → 1.9.74

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/.idea/aws.xml ADDED
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="accountSettings">
4
+ <option name="activeRegion" value="us-east-1" />
5
+ <option name="recentlyUsedRegions">
6
+ <list>
7
+ <option value="us-east-1" />
8
+ </list>
9
+ </option>
10
+ </component>
11
+ </project>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
9
+ <orderEntry type="inheritedJdk" />
10
+ <orderEntry type="sourceFolder" forTests="false" />
11
+ </component>
12
+ </module>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/fiado-type-kit.iml" filepath="$PROJECT_DIR$/.idea/fiado-type-kit.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,12 @@
1
+ import { MerchantLocationDistanceUnitEnum } from "../enums/MerchantLocationDistanceUnitEnum";
2
+ export declare class GetMerchantLocationsQueryParams {
3
+ latitude?: string;
4
+ longitude?: string;
5
+ country?: string;
6
+ criteria?: string;
7
+ distance?: number;
8
+ distance_unit?: MerchantLocationDistanceUnitEnum;
9
+ page?: number;
10
+ pageSize?: number;
11
+ postal_code?: string;
12
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMerchantLocationsQueryParams = void 0;
4
+ class GetMerchantLocationsQueryParams {
5
+ }
6
+ exports.GetMerchantLocationsQueryParams = GetMerchantLocationsQueryParams;
@@ -0,0 +1,6 @@
1
+ import { ProviderTransactionPagination } from "../../transaction";
2
+ import { MerchantLocation } from "./MerchantLocation";
3
+ export declare class GetMerchantLocationsResponse {
4
+ locations: MerchantLocation[];
5
+ pagination: ProviderTransactionPagination;
6
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMerchantLocationsResponse = void 0;
4
+ class GetMerchantLocationsResponse {
5
+ }
6
+ exports.GetMerchantLocationsResponse = GetMerchantLocationsResponse;
@@ -0,0 +1,14 @@
1
+ import { MerchantLocationDistanceUnitEnum } from "../enums/MerchantLocationDistanceUnitEnum";
2
+ export declare class MerchantLocation {
3
+ id?: string;
4
+ businessName?: string;
5
+ businessType?: string;
6
+ acquirerNetwork?: string;
7
+ currency?: string;
8
+ address?: string;
9
+ language?: string;
10
+ capabilities?: string[];
11
+ businessHours?: string[];
12
+ distance?: number;
13
+ distanceUnit?: MerchantLocationDistanceUnitEnum;
14
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MerchantLocation = void 0;
4
+ class MerchantLocation {
5
+ }
6
+ exports.MerchantLocation = MerchantLocation;
@@ -0,0 +1,5 @@
1
+ export declare enum MerchantLocationDistanceUnitEnum {
2
+ KILOMETER = "KILOMETER",
3
+ METER = "METER",
4
+ MILE = "MILE"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MerchantLocationDistanceUnitEnum = void 0;
4
+ var MerchantLocationDistanceUnitEnum;
5
+ (function (MerchantLocationDistanceUnitEnum) {
6
+ MerchantLocationDistanceUnitEnum["KILOMETER"] = "KILOMETER";
7
+ MerchantLocationDistanceUnitEnum["METER"] = "METER";
8
+ MerchantLocationDistanceUnitEnum["MILE"] = "MILE";
9
+ })(MerchantLocationDistanceUnitEnum || (exports.MerchantLocationDistanceUnitEnum = MerchantLocationDistanceUnitEnum = {}));
@@ -2,4 +2,8 @@ export * from './dtos/HealthcheckResponse';
2
2
  export * from './dtos/SubmitOOWQuestionAnswersRequest';
3
3
  export * from './dtos/OOWQuestionsResponse';
4
4
  export * from './dtos/OOWAnswer';
5
+ export * from './dtos/GetMerchantLocationsQueryParams';
6
+ export * from './dtos/GetMerchantLocationsResponse';
7
+ export * from './dtos/MerchantLocation';
5
8
  export * from './enums/ServiceStatusEnum';
9
+ export * from './enums/MerchantLocationDistanceUnitEnum';
@@ -18,4 +18,8 @@ __exportStar(require("./dtos/HealthcheckResponse"), exports);
18
18
  __exportStar(require("./dtos/SubmitOOWQuestionAnswersRequest"), exports);
19
19
  __exportStar(require("./dtos/OOWQuestionsResponse"), exports);
20
20
  __exportStar(require("./dtos/OOWAnswer"), exports);
21
+ __exportStar(require("./dtos/GetMerchantLocationsQueryParams"), exports);
22
+ __exportStar(require("./dtos/GetMerchantLocationsResponse"), exports);
23
+ __exportStar(require("./dtos/MerchantLocation"), exports);
21
24
  __exportStar(require("./enums/ServiceStatusEnum"), exports);
25
+ __exportStar(require("./enums/MerchantLocationDistanceUnitEnum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.9.73",
3
+ "version": "1.9.74",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,13 @@
1
+ import {MerchantLocationDistanceUnitEnum} from "../enums/MerchantLocationDistanceUnitEnum";
2
+
3
+ export class GetMerchantLocationsQueryParams {
4
+ latitude?: string;
5
+ longitude?: string;
6
+ country?: string;
7
+ criteria?: string;
8
+ distance?: number;
9
+ distance_unit?: MerchantLocationDistanceUnitEnum;
10
+ page?: number;
11
+ pageSize?: number;
12
+ postal_code?: string;
13
+ }
@@ -0,0 +1,7 @@
1
+ import {ProviderTransactionPagination} from "../../transaction";
2
+ import {MerchantLocation} from "./MerchantLocation";
3
+
4
+ export class GetMerchantLocationsResponse {
5
+ locations: MerchantLocation[];
6
+ pagination: ProviderTransactionPagination;
7
+ }
@@ -0,0 +1,15 @@
1
+ import {MerchantLocationDistanceUnitEnum} from "../enums/MerchantLocationDistanceUnitEnum";
2
+
3
+ export class MerchantLocation {
4
+ id?: string;
5
+ businessName?: string;
6
+ businessType?: string;
7
+ acquirerNetwork?: string;
8
+ currency?: string;
9
+ address?: string;
10
+ language?: string;
11
+ capabilities?: string[];
12
+ businessHours?: string[];
13
+ distance?: number;
14
+ distanceUnit?: MerchantLocationDistanceUnitEnum;
15
+ }
@@ -0,0 +1,5 @@
1
+ export enum MerchantLocationDistanceUnitEnum {
2
+ KILOMETER = "KILOMETER",
3
+ METER = "METER",
4
+ MILE = "MILE"
5
+ }
@@ -2,6 +2,10 @@ export * from './dtos/HealthcheckResponse';
2
2
  export * from './dtos/SubmitOOWQuestionAnswersRequest';
3
3
  export * from './dtos/OOWQuestionsResponse';
4
4
  export * from './dtos/OOWAnswer';
5
+ export * from './dtos/GetMerchantLocationsQueryParams';
6
+ export * from './dtos/GetMerchantLocationsResponse';
7
+ export * from './dtos/MerchantLocation';
5
8
 
6
9
  export * from './enums/ServiceStatusEnum';
10
+ export * from './enums/MerchantLocationDistanceUnitEnum';
7
11