nextemos 4.2.6 → 4.2.8

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.
@@ -9,3 +9,32 @@ export interface IAddressSourceData {
9
9
  parentId?: number;
10
10
  integrationCode?: string;
11
11
  }
12
+ export interface IAddress {
13
+ addressTypeId: string;
14
+ createdAtUtc: string;
15
+ createdBy: number;
16
+ id: number;
17
+ identificationNumber: string;
18
+ isTurkishCitizen: boolean;
19
+ isUnsubscribedAddress: boolean;
20
+ isUseForDelivery: boolean;
21
+ isDefault: boolean;
22
+ memberId: number;
23
+ name: string;
24
+ taxAdministration: string;
25
+ taxNumber: string;
26
+ integrationCode: string;
27
+ addressFullText: string;
28
+ addressParts: IAddressPart[];
29
+ updatedAtUtc: string;
30
+ updatedBy: number;
31
+ }
32
+ export interface IAddressPart {
33
+ addressPartTypeId: string;
34
+ addressPartTypeName: string;
35
+ referenceId: number;
36
+ inputType: string;
37
+ valueText: string;
38
+ valueId: number;
39
+ valueIntegrationCode: string;
40
+ }
@@ -10,6 +10,7 @@ export * from './prediction';
10
10
  export * from './localization';
11
11
  export * from './environment';
12
12
  export * from './keycloack';
13
+ export * from './service';
13
14
  export * from '../services/banner/banner.types';
14
15
  export * from '../services/blog/blog.types';
15
16
  export * from '../services/product/product.types';
@@ -27,6 +27,7 @@ __exportStar(require("./prediction"), exports);
27
27
  __exportStar(require("./localization"), exports);
28
28
  __exportStar(require("./environment"), exports);
29
29
  __exportStar(require("./keycloack"), exports);
30
+ __exportStar(require("./service"), exports);
30
31
  /// service types
31
32
  __exportStar(require("../services/banner/banner.types"), exports);
32
33
  __exportStar(require("../services/blog/blog.types"), exports);
@@ -1,3 +1,4 @@
1
+ import { IAddress } from "./address";
1
2
  import { IResponse } from "./response";
2
3
  export interface IMessageSubjectResponse extends IResponse {
3
4
  data?: IMessageSubject[];
@@ -21,3 +22,66 @@ export interface MessageSubjectLocalization {
21
22
  export interface ISendMessageResponse extends IResponse {
22
23
  data?: number;
23
24
  }
25
+ export interface IMemberGeneralInformation {
26
+ id: number;
27
+ educationStatusId: number;
28
+ jobId: number;
29
+ maritalStatusId: number;
30
+ memberId: number;
31
+ dateOfMarriage: string;
32
+ updatedAtUtc: string;
33
+ updatedBy: number;
34
+ createdAtUtc: string;
35
+ createdBy: number;
36
+ }
37
+ export interface IMember {
38
+ id: number;
39
+ userName: string;
40
+ email: string;
41
+ mobilePhone: string;
42
+ countryId: number;
43
+ name: string;
44
+ surname: string;
45
+ fullName: string;
46
+ defaultLanguage: string;
47
+ status: number;
48
+ normalizedUserName: string;
49
+ lastActivityDate: string;
50
+ lastPasswordChanged: string;
51
+ integrationCode: string;
52
+ integrationError: string;
53
+ refId: number;
54
+ priceTypeGroupId: number;
55
+ isGuest: boolean;
56
+ isEmailPermitted: boolean;
57
+ isSmsPermitted: boolean;
58
+ isCallPermitted: boolean;
59
+ gender: string;
60
+ genderId: number;
61
+ referrerUrl: string;
62
+ platformId: number;
63
+ currencyId: number;
64
+ isLoyaltyCardRequested: boolean;
65
+ createdAtUtc: string;
66
+ birthDate: string;
67
+ profilePhoto: string;
68
+ notes: string;
69
+ loyaltyCard: string;
70
+ tenantId: string;
71
+ isEmailApproved: boolean;
72
+ emailApprovedDate: string;
73
+ isSmsApproved: boolean;
74
+ smsApprovedDate: string;
75
+ createdIP: string;
76
+ lastLoginIP: string;
77
+ addresses: IAddress[];
78
+ generalInformation: IMemberGeneralInformation;
79
+ segmentIds: number[];
80
+ timeZone: string;
81
+ isAnonymised: boolean;
82
+ lastShoppingDate: string;
83
+ sessionKey: string;
84
+ }
85
+ export interface ICreateMemberResponse extends IResponse {
86
+ data?: IMember;
87
+ }
@@ -0,0 +1,5 @@
1
+ export interface IService {
2
+ Namespace: string;
3
+ ServiceUrl: () => string;
4
+ Prefix: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { IApiResponse, IRequestInit } from '../..';
1
+ import { IApiResponse, IRequestInit, IService } from '../..';
2
2
  import { IAddressSourceDataResponse } from 'nextemos/interfaces/address';
3
3
  export type TAddressPartTypeId = 'Continent' | 'Country' | 'GoverningDistrict' | 'City' | 'County' | 'Town' | 'Neighbourhood' | 'PostalCode' | 'Street' | 'Complex' | 'Apartment' | 'Description' | 'TelephoneNumber' | 'Name' | 'Surname' | 'CorporationName' | 'MobilePhone';
4
4
  export interface IAddressSourceDataRequest {
@@ -7,8 +7,6 @@ export interface IAddressSourceDataRequest {
7
7
  parentId?: number;
8
8
  tags?: string[];
9
9
  }
10
- export interface IAddressService {
11
- ServiceUrl: string;
12
- Prefix: string;
10
+ export interface IAddressService extends IService {
13
11
  AddressSourceData: (data: IAddressSourceDataRequest, options?: IRequestInit) => Promise<IApiResponse<IAddressSourceDataResponse>>;
14
12
  }
@@ -37,12 +37,15 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Address Servisi
39
39
  exports.AddressService = {
40
- ServiceUrl: "http://address.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://address.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/address',
42
45
  AddressSourceData: function (data, options) {
43
46
  return __awaiter(this, void 0, void 0, function* () {
44
47
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  methodName: urls_1.default.Address.AddressSourceData.All,
@@ -1,4 +1,4 @@
1
- import { IApiResponse, IBannerContainersResponse, IBannerResponse, IBannersResponse, IRequestInit } from '../..';
1
+ import { IApiResponse, IBannerContainersResponse, IBannerResponse, IBannersResponse, IRequestInit, IService } from '../..';
2
2
  export interface IGetBannerByIdRequest {
3
3
  id: number;
4
4
  language?: string;
@@ -31,9 +31,7 @@ export interface IGetBannerContainerListRequest {
31
31
  tags?: string[];
32
32
  language?: string;
33
33
  }
34
- export interface IBannerService {
35
- ServiceUrl: string;
36
- Prefix: string;
34
+ export interface IBannerService extends IService {
37
35
  GetBannerById: (data: IGetBannerByIdRequest, options?: IRequestInit) => Promise<IApiResponse<IBannerResponse>>;
38
36
  GetBannerByName: (data: IGetBannerByNameRequest, options?: IRequestInit) => Promise<IApiResponse<IBannerResponse>>;
39
37
  GetBannerByKey: (data: IGetBannerByKeyRequest, options?: IRequestInit) => Promise<IApiResponse<IBannerResponse>>;
@@ -37,12 +37,15 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Banner servisi, banner ve banner konteyner verilerini alır.
39
39
  exports.BannerService = {
40
- ServiceUrl: "http://banner.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://banner.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/banner',
42
45
  GetBannerById: function (data, options) {
43
46
  return __awaiter(this, void 0, void 0, function* () {
44
47
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -53,7 +56,7 @@ exports.BannerService = {
53
56
  GetBannerByName: function (data, options) {
54
57
  return __awaiter(this, void 0, void 0, function* () {
55
58
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
56
- serviceUrl: this.ServiceUrl,
59
+ serviceUrl: this.ServiceUrl(),
57
60
  prefix: this.Prefix,
58
61
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
59
62
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -64,7 +67,7 @@ exports.BannerService = {
64
67
  GetBannerByKey: function (data, options) {
65
68
  return __awaiter(this, void 0, void 0, function* () {
66
69
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
67
- serviceUrl: this.ServiceUrl,
70
+ serviceUrl: this.ServiceUrl(),
68
71
  prefix: this.Prefix,
69
72
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
70
73
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -75,7 +78,7 @@ exports.BannerService = {
75
78
  GetBannerList: function (data, options) {
76
79
  return __awaiter(this, void 0, void 0, function* () {
77
80
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
78
- serviceUrl: this.ServiceUrl,
81
+ serviceUrl: this.ServiceUrl(),
79
82
  prefix: this.Prefix,
80
83
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
81
84
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -86,7 +89,7 @@ exports.BannerService = {
86
89
  GetBannerContainerList: function (data, options) {
87
90
  return __awaiter(this, void 0, void 0, function* () {
88
91
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
89
- serviceUrl: this.ServiceUrl,
92
+ serviceUrl: this.ServiceUrl(),
90
93
  prefix: this.Prefix,
91
94
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
92
95
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -1,4 +1,4 @@
1
- import { IApiResponse, IBlogPostResponse, IBlogPostsResponse, IGetBlogCategoriesResponse, IGetBlogCategoryHierarchyResponse, IGetBlogCategoryResponse, IGetBlogCategoryTreeResponse, IGetBlogTagResponse, IGetBlogTagsResponse, IRequestInit } from '../..';
1
+ import { IApiResponse, IBlogPostResponse, IBlogPostsResponse, IGetBlogCategoriesResponse, IGetBlogCategoryHierarchyResponse, IGetBlogCategoryResponse, IGetBlogCategoryTreeResponse, IGetBlogTagResponse, IGetBlogTagsResponse, IRequestInit, IService } from '../..';
2
2
  export interface AggregationFilter {
3
3
  field: string;
4
4
  keys: string[];
@@ -74,9 +74,7 @@ export interface IGetBlogTagRequest {
74
74
  tags?: string[];
75
75
  language?: string;
76
76
  }
77
- export interface IBlogService {
78
- ServiceUrl: string;
79
- Prefix: string;
77
+ export interface IBlogService extends IService {
80
78
  GetBlogPostsRequest: (data?: IGetBlogPostsRequest, options?: IRequestInit) => Promise<IApiResponse<IBlogPostsResponse>>;
81
79
  GetBlogPostRequest: (data: IGetBlogPostRequest, options?: IRequestInit) => Promise<IApiResponse<IBlogPostResponse>>;
82
80
  GetBlogCategoriesRequest: (data?: IGetBlogCategoriesRequest, options?: IRequestInit) => Promise<IApiResponse<IGetBlogCategoriesResponse>>;
@@ -1,8 +1,2 @@
1
1
  import { IBlogService } from './blog.types';
2
- /** BlogService adlı nesneyi oluşturur ve IBlogService arayüzünü uygular
3
- * @description
4
- * Microservice Kubernates içerisinden doğrudan iletişim sağlanabilmesi için aşağıdaki adresi kullanmalıdır.
5
- * <service-name>.<namespace>.svc.cluster.local:<service-port>
6
- * http://blog.emosv2service.svc.cluster.local
7
- */
8
2
  export declare const BlogService: IBlogService;
@@ -33,35 +33,19 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  exports.BlogService = void 0;
36
- // URL'lerin bulunduğu dosyayı içe aktarır
37
36
  const urls_1 = __importStar(require("../urls"));
38
- // Farklı blog cevap arayüzlerini ve fetchRequest fonksiyonunu içe aktarır
39
37
  const __1 = require("../..");
40
- /** BlogService adlı nesneyi oluşturur ve IBlogService arayüzünü uygular
41
- * @description
42
- * Microservice Kubernates içerisinden doğrudan iletişim sağlanabilmesi için aşağıdaki adresi kullanmalıdır.
43
- * <service-name>.<namespace>.svc.cluster.local:<service-port>
44
- * http://blog.emosv2service.svc.cluster.local
45
- */
38
+ // BlogService adlı nesneyi oluşturur ve IBlogService arayüzünü uygular
46
39
  exports.BlogService = {
47
- /**
48
- * Bu servise ait local adres
49
- */
50
- ServiceUrl: "http://blog.emosv2service.svc.cluster.local",
51
- /**
52
- * Bu servise ait url prefix
53
- */
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://blog.${this.Namespace}.svc.cluster.local`;
43
+ },
54
44
  Prefix: '/api/blog',
55
- /**
56
- * Blog gönderilerini almak için istek fonksiyonu
57
- * @param data İstek verilerini içeren nesne (varsayılan boş nesne)
58
- * @param options İstek seçeneklerini içeren nesne
59
- * @returns Blog gönderilerini içeren cevap nesnesi
60
- */
61
45
  GetBlogPostsRequest: function () {
62
46
  return __awaiter(this, arguments, void 0, function* (data = {}, options) {
63
47
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
64
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
65
49
  prefix: this.Prefix,
66
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
67
51
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -69,16 +53,10 @@ exports.BlogService = {
69
53
  }), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
70
54
  });
71
55
  },
72
- /**
73
- * Tek bir blog gönderisini almak için istek fonksiyonu
74
- * @param data Gönderi verilerini içeren nesne
75
- * @param options İstek seçeneklerini içeren nesne
76
- * @returns Blog gönderisini içeren cevap nesnesi
77
- */
78
56
  GetBlogPostRequest: function (data, options) {
79
57
  return __awaiter(this, void 0, void 0, function* () {
80
58
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
81
- serviceUrl: this.ServiceUrl,
59
+ serviceUrl: this.ServiceUrl(),
82
60
  prefix: this.Prefix,
83
61
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
84
62
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -86,16 +64,10 @@ exports.BlogService = {
86
64
  }), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
87
65
  });
88
66
  },
89
- /**
90
- * Blog kategorilerini almak için istek fonksiyonu
91
- * @param data İstek verilerini içeren nesne (varsayılan boş nesne)
92
- * @param options İstek seçeneklerini içeren nesne
93
- * @returns Blog kategorilerini içeren cevap nesnesi
94
- */
95
67
  GetBlogCategoriesRequest: function () {
96
68
  return __awaiter(this, arguments, void 0, function* (data = {}, options) {
97
69
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
98
- serviceUrl: this.ServiceUrl,
70
+ serviceUrl: this.ServiceUrl(),
99
71
  prefix: this.Prefix,
100
72
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
101
73
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -103,16 +75,10 @@ exports.BlogService = {
103
75
  }), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
104
76
  });
105
77
  },
106
- /**
107
- * Belirli bir blog kategorisini almak için istek fonksiyonu
108
- * @param data Kategori verilerini içeren nesne
109
- * @param options İstek seçeneklerini içeren nesne
110
- * @returns Blog kategorisini içeren cevap nesnesi
111
- */
112
78
  GetBlogCategoryRequest: function (data, options) {
113
79
  return __awaiter(this, void 0, void 0, function* () {
114
80
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
115
- serviceUrl: this.ServiceUrl,
81
+ serviceUrl: this.ServiceUrl(),
116
82
  prefix: this.Prefix,
117
83
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
118
84
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -120,16 +86,10 @@ exports.BlogService = {
120
86
  }), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
121
87
  });
122
88
  },
123
- /**
124
- * Blog kategorisi hiyerarşisini almak için istek fonksiyonu
125
- * @param data Hiyerarşi verilerini içeren nesne
126
- * @param options İstek seçeneklerini içeren nesne
127
- * @returns Blog kategorisi hiyerarşisini içeren cevap nesnesi
128
- */
129
89
  GetBlogCategoryHierarchyRequest: function (data, options) {
130
90
  return __awaiter(this, void 0, void 0, function* () {
131
91
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
132
- serviceUrl: this.ServiceUrl,
92
+ serviceUrl: this.ServiceUrl(),
133
93
  prefix: this.Prefix,
134
94
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
135
95
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -137,16 +97,10 @@ exports.BlogService = {
137
97
  }), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
138
98
  });
139
99
  },
140
- /**
141
- * Blog kategori ağacını almak için istek fonksiyonu
142
- * @param data Kategori ağacı verilerini içeren nesne
143
- * @param options İstek seçeneklerini içeren nesne
144
- * @returns Blog kategori ağacını içeren cevap nesnesi
145
- */
146
100
  GetBlogCategoryTreeRequest: function (data, options) {
147
101
  return __awaiter(this, void 0, void 0, function* () {
148
102
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
149
- serviceUrl: this.ServiceUrl,
103
+ serviceUrl: this.ServiceUrl(),
150
104
  prefix: this.Prefix,
151
105
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
152
106
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -154,16 +108,10 @@ exports.BlogService = {
154
108
  }), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
155
109
  });
156
110
  },
157
- /**
158
- * Belirli bir blog etiketini almak için istek fonksiyonu
159
- * @param data Etiket verilerini içeren nesne
160
- * @param options İstek seçeneklerini içeren nesne
161
- * @returns Blog etiketini içeren cevap nesnesi
162
- */
163
111
  GetBlogTagRequest: function (data, options) {
164
112
  return __awaiter(this, void 0, void 0, function* () {
165
113
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
166
- serviceUrl: this.ServiceUrl,
114
+ serviceUrl: this.ServiceUrl(),
167
115
  prefix: this.Prefix,
168
116
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
169
117
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -171,16 +119,10 @@ exports.BlogService = {
171
119
  }), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
172
120
  });
173
121
  },
174
- /**
175
- * Blog etiketlerini almak için istek fonksiyonu
176
- * @param data İstek verilerini içeren nesne
177
- * @param options İstek seçeneklerini içeren nesne
178
- * @returns Blog etiketlerini içeren cevap nesnesi
179
- */
180
122
  GetBlogTagsRequest: function (data, options) {
181
123
  return __awaiter(this, void 0, void 0, function* () {
182
124
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
183
- serviceUrl: this.ServiceUrl,
125
+ serviceUrl: this.ServiceUrl(),
184
126
  prefix: this.Prefix,
185
127
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
186
128
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -1,4 +1,4 @@
1
- import { IEnvironmentParameters, IInitEnvironmentResponse, IReadEnvironmentResponse, IUpdateEnvironmentResponse } from '../../';
1
+ import { IEnvironmentParameters, IInitEnvironmentResponse, IReadEnvironmentResponse, IService, IUpdateEnvironmentResponse } from '../../';
2
2
  import { IApiResponse, IRequestInit } from '../..';
3
3
  export interface IInitEnvironmentRequest {
4
4
  platform: 'desktop' | 'mobile';
@@ -14,9 +14,7 @@ export interface IUpdateEnvironmentRequest {
14
14
  parameters: IEnvironmentParameters;
15
15
  language?: string;
16
16
  }
17
- export interface IEnvironmentService {
18
- ServiceUrl: string;
19
- Prefix: string;
17
+ export interface IEnvironmentService extends IService {
20
18
  Init: (data: IInitEnvironmentRequest, options?: IRequestInit) => Promise<IApiResponse<IInitEnvironmentResponse>>;
21
19
  Read: (data: IReadEnvironmentRequest, options?: IRequestInit) => Promise<IApiResponse<IReadEnvironmentResponse>>;
22
20
  Update: (data: IUpdateEnvironmentRequest, options?: IRequestInit) => Promise<IApiResponse<IUpdateEnvironmentResponse>>;
@@ -37,12 +37,15 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Environment servisi
39
39
  exports.EnvironmentService = {
40
- ServiceUrl: "http://environment.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://environment.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/environment',
42
45
  Init: function (data, options) {
43
46
  return __awaiter(this, void 0, void 0, function* () {
44
47
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -53,7 +56,7 @@ exports.EnvironmentService = {
53
56
  Read: function (data, options) {
54
57
  return __awaiter(this, void 0, void 0, function* () {
55
58
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
56
- serviceUrl: this.ServiceUrl,
59
+ serviceUrl: this.ServiceUrl(),
57
60
  prefix: this.Prefix,
58
61
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
59
62
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -64,7 +67,7 @@ exports.EnvironmentService = {
64
67
  Update: function (data, options) {
65
68
  return __awaiter(this, void 0, void 0, function* () {
66
69
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
67
- serviceUrl: this.ServiceUrl,
70
+ serviceUrl: this.ServiceUrl(),
68
71
  prefix: this.Prefix,
69
72
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
70
73
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -37,12 +37,15 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Route servisi, Common page, redirects, rewrite ve content pageler ile ilgili servis.
39
39
  exports.LocalizationService = {
40
- ServiceUrl: "http://localization.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://localization.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/localization',
42
45
  All: function () {
43
46
  return __awaiter(this, arguments, void 0, function* (data = {}, options) {
44
47
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -53,7 +56,7 @@ exports.LocalizationService = {
53
56
  AllByLanguage: function (data, options) {
54
57
  return __awaiter(this, void 0, void 0, function* () {
55
58
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
56
- serviceUrl: this.ServiceUrl,
59
+ serviceUrl: this.ServiceUrl(),
57
60
  prefix: this.Prefix,
58
61
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
59
62
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -64,7 +67,7 @@ exports.LocalizationService = {
64
67
  AllByTagName: function (data, options) {
65
68
  return __awaiter(this, void 0, void 0, function* () {
66
69
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
67
- serviceUrl: this.ServiceUrl,
70
+ serviceUrl: this.ServiceUrl(),
68
71
  prefix: this.Prefix,
69
72
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
70
73
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -75,7 +78,7 @@ exports.LocalizationService = {
75
78
  AllByTagNameByLanguage: function (data, options) {
76
79
  return __awaiter(this, void 0, void 0, function* () {
77
80
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
78
- serviceUrl: this.ServiceUrl,
81
+ serviceUrl: this.ServiceUrl(),
79
82
  prefix: this.Prefix,
80
83
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
81
84
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -86,7 +89,7 @@ exports.LocalizationService = {
86
89
  LocalizedText: function (data, options) {
87
90
  return __awaiter(this, void 0, void 0, function* () {
88
91
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
89
- serviceUrl: this.ServiceUrl,
92
+ serviceUrl: this.ServiceUrl(),
90
93
  prefix: this.Prefix,
91
94
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
92
95
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -1,4 +1,4 @@
1
- import { IApiResponse, ILocalizationAllResponse, ILocalizedTextResponse, IRequestInit } from '../..';
1
+ import { IApiResponse, ILocalizationAllResponse, ILocalizedTextResponse, IRequestInit, IService } from '../..';
2
2
  export interface IAllByTagNameRequest {
3
3
  tagName: string;
4
4
  language?: string;
@@ -16,9 +16,7 @@ export interface IAllByLanguageRequest {
16
16
  export interface IAllByTagNameByLanguageRequest extends IAllByLanguageRequest {
17
17
  tagName: string;
18
18
  }
19
- export interface ILocalizationService {
20
- ServiceUrl: string;
21
- Prefix: string;
19
+ export interface ILocalizationService extends IService {
22
20
  AllByTagName: (data: IAllByTagNameRequest, options?: IRequestInit) => Promise<IApiResponse<ILocalizationAllResponse>>;
23
21
  AllByTagNameByLanguage: (data: IAllByTagNameByLanguageRequest, options?: IRequestInit) => Promise<IApiResponse<ILocalizationAllResponse>>;
24
22
  All: (data?: {
@@ -37,18 +37,31 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Member Servisi
39
39
  exports.MemberService = {
40
- ServiceUrl: "http://member.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://member.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/member',
42
45
  SubjectsAll: function () {
43
46
  return __awaiter(this, arguments, void 0, function* (data = {}, options) {
44
47
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  methodName: urls_1.default.Member.MemberMessages.SubjectsAll,
49
52
  }), Object.assign(Object.assign({}, options), { params: data }));
50
53
  });
51
54
  },
55
+ CreateMember: function (data, options) {
56
+ return __awaiter(this, void 0, void 0, function* () {
57
+ return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
58
+ serviceUrl: this.ServiceUrl(),
59
+ prefix: this.Prefix,
60
+ isClient: options === null || options === void 0 ? void 0 : options.useClient,
61
+ methodName: urls_1.default.Member.Members.Members,
62
+ }), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
63
+ });
64
+ },
52
65
  SendMessage: function (data, options) {
53
66
  return __awaiter(this, void 0, void 0, function* () {
54
67
  const formData = new FormData();
@@ -59,7 +72,7 @@ exports.MemberService = {
59
72
  }
60
73
  });
61
74
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
62
- serviceUrl: this.ServiceUrl,
75
+ serviceUrl: this.ServiceUrl(),
63
76
  prefix: this.Prefix,
64
77
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
65
78
  methodName: urls_1.default.Member.MemberMessages.Messages,
@@ -1,5 +1,4 @@
1
- import { IMessageSubjectResponse, ISendMessageResponse } from 'nextemos/interfaces/member';
2
- import { IApiResponse, IRequestInit } from '../..';
1
+ import { IApiResponse, IRequestInit, IService, ICreateMemberResponse, IMessageSubjectResponse, ISendMessageResponse } from '../..';
3
2
  export interface IMessageSubjectRequest {
4
3
  tags?: string[];
5
4
  }
@@ -29,9 +28,36 @@ export interface ISendMessageRequest {
29
28
  files?: string;
30
29
  tags?: string[];
31
30
  }
32
- export interface IMemberService {
33
- ServiceUrl: string;
34
- Prefix: string;
31
+ export interface ICreateMemberRequest {
32
+ email?: string;
33
+ mobilePhone?: string;
34
+ countryCode?: string;
35
+ ipAddress?: string;
36
+ gender?: string;
37
+ birthDate?: string;
38
+ name?: string;
39
+ surname?: string;
40
+ password?: string;
41
+ isEmailPermitted?: boolean;
42
+ isPhoneCallPermitted?: boolean;
43
+ isLoyaltyCardRequested?: boolean;
44
+ isSmsPermitted?: boolean;
45
+ membershipAgreement?: boolean;
46
+ privacyPolicy?: boolean;
47
+ platformId?: number;
48
+ mergeGuest?: boolean;
49
+ generalInformation?: {
50
+ educationStatusId?: number;
51
+ jobId?: number;
52
+ maritalStatusId?: number;
53
+ dateOfMarriage?: string;
54
+ isApproved?: boolean;
55
+ createdBy?: number;
56
+ };
57
+ tags?: string[];
58
+ }
59
+ export interface IMemberService extends IService {
35
60
  SubjectsAll: (data?: IMessageSubjectRequest, options?: IRequestInit) => Promise<IApiResponse<IMessageSubjectResponse>>;
36
61
  SendMessage: (data: ISendMessageRequest, options?: IRequestInit) => Promise<IApiResponse<ISendMessageResponse>>;
62
+ CreateMember: (data: ICreateMemberRequest, options?: IRequestInit) => Promise<IApiResponse<ICreateMemberResponse>>;
37
63
  }
@@ -37,12 +37,15 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Route servisi, Common page, redirects, rewrite ve content pageler ile ilgili servis.
39
39
  exports.PredictionService = {
40
- ServiceUrl: "http://prediction.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://prediction.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/prediction',
42
45
  Autocomplete: function (data, options) {
43
46
  return __awaiter(this, void 0, void 0, function* () {
44
47
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -53,7 +56,7 @@ exports.PredictionService = {
53
56
  Didyoumean: function (data, options) {
54
57
  return __awaiter(this, void 0, void 0, function* () {
55
58
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
56
- serviceUrl: this.ServiceUrl,
59
+ serviceUrl: this.ServiceUrl(),
57
60
  prefix: this.Prefix,
58
61
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
59
62
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -1,4 +1,4 @@
1
- import { IApiResponse, IAutocompleteResponse, IDidyoumeanResponse, IRequestInit } from '../..';
1
+ import { IApiResponse, IAutocompleteResponse, IDidyoumeanResponse, IRequestInit, IService } from '../..';
2
2
  export interface IAutocompleteRequest {
3
3
  text: string;
4
4
  contentTypes?: string[];
@@ -17,9 +17,7 @@ export interface IDidyoumeanRequest {
17
17
  tags?: string[];
18
18
  language?: string;
19
19
  }
20
- export interface IPredictionService {
21
- ServiceUrl: string;
22
- Prefix: string;
20
+ export interface IPredictionService extends IService {
23
21
  Autocomplete: (data: IAutocompleteRequest, options?: IRequestInit) => Promise<IApiResponse<IAutocompleteResponse>>;
24
22
  Didyoumean: (data: IDidyoumeanRequest, options?: IRequestInit) => Promise<IApiResponse<IDidyoumeanResponse>>;
25
23
  }
@@ -37,12 +37,15 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Product servisi, Product, Product Category, Channel ve Price Type verilerini alır.
39
39
  exports.ProductService = {
40
- ServiceUrl: "http://product.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://product.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/product',
42
45
  Product: function (data, options) {
43
46
  return __awaiter(this, void 0, void 0, function* () {
44
47
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -54,7 +57,7 @@ exports.ProductService = {
54
57
  SearchProductsRequest: function (data, options) {
55
58
  return __awaiter(this, void 0, void 0, function* () {
56
59
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
57
- serviceUrl: this.ServiceUrl,
60
+ serviceUrl: this.ServiceUrl(),
58
61
  prefix: this.Prefix,
59
62
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
60
63
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -65,7 +68,7 @@ exports.ProductService = {
65
68
  GetAllProductsRequest: function (data, options) {
66
69
  return __awaiter(this, void 0, void 0, function* () {
67
70
  return yield (0, __1.fetchRequest)().post((0, urls_1.getUrl)({
68
- serviceUrl: this.ServiceUrl,
71
+ serviceUrl: this.ServiceUrl(),
69
72
  prefix: this.Prefix,
70
73
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
71
74
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -76,7 +79,7 @@ exports.ProductService = {
76
79
  CategoryTree: function (data, options) {
77
80
  return __awaiter(this, void 0, void 0, function* () {
78
81
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
79
- serviceUrl: this.ServiceUrl,
82
+ serviceUrl: this.ServiceUrl(),
80
83
  prefix: this.Prefix,
81
84
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
82
85
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -87,7 +90,7 @@ exports.ProductService = {
87
90
  AllCategories: function (data, options) {
88
91
  return __awaiter(this, void 0, void 0, function* () {
89
92
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
90
- serviceUrl: this.ServiceUrl,
93
+ serviceUrl: this.ServiceUrl(),
91
94
  prefix: this.Prefix,
92
95
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
93
96
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -98,7 +101,7 @@ exports.ProductService = {
98
101
  Hierarchy: function (data, options) {
99
102
  return __awaiter(this, void 0, void 0, function* () {
100
103
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
101
- serviceUrl: this.ServiceUrl,
104
+ serviceUrl: this.ServiceUrl(),
102
105
  prefix: this.Prefix,
103
106
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
104
107
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -109,7 +112,7 @@ exports.ProductService = {
109
112
  ProductCategory: function (data, options) {
110
113
  return __awaiter(this, void 0, void 0, function* () {
111
114
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
112
- serviceUrl: this.ServiceUrl,
115
+ serviceUrl: this.ServiceUrl(),
113
116
  prefix: this.Prefix,
114
117
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
115
118
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -1,4 +1,4 @@
1
- import { IApiResponse, IRequestInit, ICategoryTreeResponse, IGetAllProductsResponse, IProductCategoryResponse, IProductResponse, ISearchProductsResponse, IProductCategoryAllResponse, IProductCategoryHierarchyResponse } from '../..';
1
+ import { IApiResponse, IRequestInit, ICategoryTreeResponse, IGetAllProductsResponse, IProductCategoryResponse, IProductResponse, ISearchProductsResponse, IProductCategoryAllResponse, IProductCategoryHierarchyResponse, IService } from '../..';
2
2
  export interface IProductRequest {
3
3
  id: number;
4
4
  flags?: number;
@@ -93,9 +93,7 @@ export interface IHierarchyCategoriesRequest {
93
93
  tags?: string[];
94
94
  language?: string;
95
95
  }
96
- export interface IProductService {
97
- ServiceUrl: string;
98
- Prefix: string;
96
+ export interface IProductService extends IService {
99
97
  Product: (data: IProductRequest, options?: IRequestInit) => Promise<IApiResponse<IProductResponse>>;
100
98
  SearchProductsRequest: (data: ISearchProductsRequest, options?: IRequestInit) => Promise<IApiResponse<ISearchProductsResponse>>;
101
99
  GetAllProductsRequest: (data: ISearchProductsRequest, options?: IRequestInit) => Promise<IApiResponse<IGetAllProductsResponse>>;
@@ -37,12 +37,15 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Route servisi, Common page, redirects, rewrite ve content pageler ile ilgili servis.
39
39
  exports.RouteService = {
40
- ServiceUrl: "http://route.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://route.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/route',
42
45
  GetRouteInfo: function (data, options) {
43
46
  return __awaiter(this, void 0, void 0, function* () {
44
47
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -53,7 +56,7 @@ exports.RouteService = {
53
56
  GetCommonPages: function () {
54
57
  return __awaiter(this, arguments, void 0, function* (data = {}, options) {
55
58
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
56
- serviceUrl: this.ServiceUrl,
59
+ serviceUrl: this.ServiceUrl(),
57
60
  prefix: this.Prefix,
58
61
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
59
62
  language: data === null || data === void 0 ? void 0 : data.language,
@@ -1,4 +1,4 @@
1
- import { IApiResponse, IGetCommonPagesResponse, IRequestInit, IRouteResponse } from '../..';
1
+ import { IApiResponse, IGetCommonPagesResponse, IRequestInit, IRouteResponse, IService } from '../..';
2
2
  export interface IGetRouteInfoRequest {
3
3
  baseUrl: string;
4
4
  queryString?: string;
@@ -8,9 +8,7 @@ export interface IGetRouteInfoRequest {
8
8
  export interface IGetCommonPagesRequest {
9
9
  language?: string;
10
10
  }
11
- export interface IRouteService {
12
- ServiceUrl: string;
13
- Prefix: string;
11
+ export interface IRouteService extends IService {
14
12
  GetRouteInfo: (data: IGetRouteInfoRequest, options?: IRequestInit) => Promise<IApiResponse<IRouteResponse>>;
15
13
  GetCommonPages: (data?: IGetCommonPagesRequest, options?: IRequestInit) => Promise<IApiResponse<IGetCommonPagesResponse>>;
16
14
  }
@@ -37,12 +37,15 @@ const urls_1 = __importStar(require("../urls"));
37
37
  const __1 = require("../..");
38
38
  // Stock Servisi, Stock, depo, servis ve mağaza bilgilerini döndürür.
39
39
  exports.StockService = {
40
- ServiceUrl: "http://stock.emosv2service.svc.cluster.local",
40
+ Namespace: process.env.MS_NAMESPACE || 'emosv2service',
41
+ ServiceUrl: function () {
42
+ return `http://stock.${this.Namespace}.svc.cluster.local`;
43
+ },
41
44
  Prefix: '/api/stock',
42
45
  Warehouses: function () {
43
46
  return __awaiter(this, arguments, void 0, function* (data = {}, options) {
44
47
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
45
- serviceUrl: this.ServiceUrl,
48
+ serviceUrl: this.ServiceUrl(),
46
49
  prefix: this.Prefix,
47
50
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
48
51
  methodName: urls_1.default.Warehouse.All,
@@ -52,7 +55,7 @@ exports.StockService = {
52
55
  Warehouse: function (data, options) {
53
56
  return __awaiter(this, void 0, void 0, function* () {
54
57
  return yield (0, __1.fetchRequest)().get((0, urls_1.getUrl)({
55
- serviceUrl: this.ServiceUrl,
58
+ serviceUrl: this.ServiceUrl(),
56
59
  prefix: this.Prefix,
57
60
  isClient: options === null || options === void 0 ? void 0 : options.useClient,
58
61
  methodName: urls_1.default.Warehouse.Warehouse,
@@ -1,4 +1,4 @@
1
- import { IApiResponse, IRequestInit, IWarehouseResponse, IWarehousesResponse } from '../..';
1
+ import { IApiResponse, IRequestInit, IService, IWarehouseResponse, IWarehousesResponse } from '../..';
2
2
  export interface IWarehousesRequest {
3
3
  warehouseIds?: number[];
4
4
  WarehouseTypeIds?: number[];
@@ -11,9 +11,7 @@ export interface IWarehouseRequest {
11
11
  id: number;
12
12
  tags?: string[];
13
13
  }
14
- export interface IStockService {
15
- ServiceUrl: string;
16
- Prefix: string;
14
+ export interface IStockService extends IService {
17
15
  Warehouses: (data?: IWarehousesRequest, options?: IRequestInit) => Promise<IApiResponse<IWarehousesResponse>>;
18
16
  Warehouse: (data: IWarehouseRequest, options?: IRequestInit) => Promise<IApiResponse<IWarehouseResponse>>;
19
17
  }
@@ -41,6 +41,9 @@ declare const _default: {
41
41
  Warehouse: string;
42
42
  };
43
43
  Member: {
44
+ Members: {
45
+ Members: string;
46
+ };
44
47
  MemberMessages: {
45
48
  SubjectsAll: string;
46
49
  Messages: string;
@@ -47,6 +47,9 @@ exports.default = {
47
47
  Warehouse: '/{language}/Warehouses/v1/GetById',
48
48
  },
49
49
  Member: {
50
+ Members: {
51
+ Members: "/api/Members"
52
+ },
50
53
  MemberMessages: {
51
54
  SubjectsAll: '/api/MemberMessages/Subjects/All',
52
55
  Messages: '/api/MemberMessages/Messages'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "4.2.6",
3
+ "version": "4.2.8",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",