@ayasofyazilim/saas 0.0.16 → 0.0.17

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.
@@ -1,53 +1,53 @@
1
- import type { BaseHttpRequest } from './core/BaseHttpRequest';
2
- import type { OpenAPIConfig } from './core/OpenAPI';
3
- import { Interceptors } from './core/OpenAPI';
4
- import { FetchHttpRequest } from './core/FetchHttpRequest';
5
-
6
- import { AbpApiDefinitionService } from './services.gen';
7
- import { AbpApplicationConfigurationService } from './services.gen';
8
- import { AbpApplicationLocalizationService } from './services.gen';
9
- import { CountrySettingService } from './services.gen';
10
- import { EmailSettingsService } from './services.gen';
11
- import { SettingServiceService } from './services.gen';
12
- import { TimeZoneSettingsService } from './services.gen';
13
-
14
- type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
15
-
16
- export class SettingServiceClient {
17
-
18
- public readonly abpApiDefinition: AbpApiDefinitionService;
19
- public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
20
- public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
21
- public readonly countrySetting: CountrySettingService;
22
- public readonly emailSettings: EmailSettingsService;
23
- public readonly settingService: SettingServiceService;
24
- public readonly timeZoneSettings: TimeZoneSettingsService;
25
-
26
- public readonly request: BaseHttpRequest;
27
-
28
- constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
29
- this.request = new HttpRequest({
30
- BASE: config?.BASE ?? '',
31
- VERSION: config?.VERSION ?? '1',
32
- WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
33
- CREDENTIALS: config?.CREDENTIALS ?? 'include',
34
- TOKEN: config?.TOKEN,
35
- USERNAME: config?.USERNAME,
36
- PASSWORD: config?.PASSWORD,
37
- HEADERS: config?.HEADERS,
38
- ENCODE_PATH: config?.ENCODE_PATH,
39
- interceptors: {
40
- request: config?.interceptors?.request ?? new Interceptors(),
41
- response: config?.interceptors?.response ?? new Interceptors(),
42
- },
43
- });
44
-
45
- this.abpApiDefinition = new AbpApiDefinitionService(this.request);
46
- this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
47
- this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
48
- this.countrySetting = new CountrySettingService(this.request);
49
- this.emailSettings = new EmailSettingsService(this.request);
50
- this.settingService = new SettingServiceService(this.request);
51
- this.timeZoneSettings = new TimeZoneSettingsService(this.request);
52
- }
53
- }
1
+ import type { BaseHttpRequest } from './core/BaseHttpRequest';
2
+ import type { OpenAPIConfig } from './core/OpenAPI';
3
+ import { Interceptors } from './core/OpenAPI';
4
+ import { FetchHttpRequest } from './core/FetchHttpRequest';
5
+
6
+ import { AbpApiDefinitionService } from './services.gen';
7
+ import { AbpApplicationConfigurationService } from './services.gen';
8
+ import { AbpApplicationLocalizationService } from './services.gen';
9
+ import { CountrySettingService } from './services.gen';
10
+ import { EmailSettingsService } from './services.gen';
11
+ import { SampleService } from './services.gen';
12
+ import { TimeZoneSettingsService } from './services.gen';
13
+
14
+ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
15
+
16
+ export class SettingServiceClient {
17
+
18
+ public readonly abpApiDefinition: AbpApiDefinitionService;
19
+ public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
20
+ public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
21
+ public readonly countrySetting: CountrySettingService;
22
+ public readonly emailSettings: EmailSettingsService;
23
+ public readonly sample: SampleService;
24
+ public readonly timeZoneSettings: TimeZoneSettingsService;
25
+
26
+ public readonly request: BaseHttpRequest;
27
+
28
+ constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
29
+ this.request = new HttpRequest({
30
+ BASE: config?.BASE ?? '',
31
+ VERSION: config?.VERSION ?? '1',
32
+ WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
33
+ CREDENTIALS: config?.CREDENTIALS ?? 'include',
34
+ TOKEN: config?.TOKEN,
35
+ USERNAME: config?.USERNAME,
36
+ PASSWORD: config?.PASSWORD,
37
+ HEADERS: config?.HEADERS,
38
+ ENCODE_PATH: config?.ENCODE_PATH,
39
+ interceptors: {
40
+ request: config?.interceptors?.request ?? new Interceptors(),
41
+ response: config?.interceptors?.response ?? new Interceptors(),
42
+ },
43
+ });
44
+
45
+ this.abpApiDefinition = new AbpApiDefinitionService(this.request);
46
+ this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
47
+ this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
48
+ this.countrySetting = new CountrySettingService(this.request);
49
+ this.emailSettings = new EmailSettingsService(this.request);
50
+ this.sample = new SampleService(this.request);
51
+ this.timeZoneSettings = new TimeZoneSettingsService(this.request);
52
+ }
53
+ }
@@ -1,317 +1,317 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
-
3
- import type { CancelablePromise } from './core/CancelablePromise';
4
- import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
- import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiSettingServiceCountrySettingsResponse, PostApiSettingServiceCountrySettingsResponse, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, GetApiSettingServiceSampleResponse, GetApiSettingServiceSampleAuthorizedResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse } from './types.gen';
6
-
7
- export class AbpApiDefinitionService {
8
- constructor(public readonly httpRequest: BaseHttpRequest) { }
9
-
10
- /**
11
- * @param data The data for the request.
12
- * @param data.includeTypes
13
- * @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
14
- * @throws ApiError
15
- */
16
- public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
- return this.httpRequest.request({
18
- method: 'GET',
19
- url: '/api/abp/api-definition',
20
- query: {
21
- IncludeTypes: data.includeTypes
22
- },
23
- errors: {
24
- 400: 'Bad Request',
25
- 401: 'Unauthorized',
26
- 403: 'Forbidden',
27
- 404: 'Not Found',
28
- 500: 'Server Error',
29
- 501: 'Server Error'
30
- }
31
- });
32
- }
33
-
34
- }
35
-
36
- export class AbpApplicationConfigurationService {
37
- constructor(public readonly httpRequest: BaseHttpRequest) { }
38
-
39
- /**
40
- * @param data The data for the request.
41
- * @param data.includeLocalizationResources
42
- * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
43
- * @throws ApiError
44
- */
45
- public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
- return this.httpRequest.request({
47
- method: 'GET',
48
- url: '/api/abp/application-configuration',
49
- query: {
50
- IncludeLocalizationResources: data.includeLocalizationResources
51
- },
52
- errors: {
53
- 400: 'Bad Request',
54
- 401: 'Unauthorized',
55
- 403: 'Forbidden',
56
- 404: 'Not Found',
57
- 500: 'Server Error',
58
- 501: 'Server Error'
59
- }
60
- });
61
- }
62
-
63
- }
64
-
65
- export class AbpApplicationLocalizationService {
66
- constructor(public readonly httpRequest: BaseHttpRequest) { }
67
-
68
- /**
69
- * @param data The data for the request.
70
- * @param data.cultureName
71
- * @param data.onlyDynamics
72
- * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
73
- * @throws ApiError
74
- */
75
- public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
- return this.httpRequest.request({
77
- method: 'GET',
78
- url: '/api/abp/application-localization',
79
- query: {
80
- CultureName: data.cultureName,
81
- OnlyDynamics: data.onlyDynamics
82
- },
83
- errors: {
84
- 400: 'Bad Request',
85
- 401: 'Unauthorized',
86
- 403: 'Forbidden',
87
- 404: 'Not Found',
88
- 500: 'Server Error',
89
- 501: 'Server Error'
90
- }
91
- });
92
- }
93
-
94
- }
95
-
96
- export class CountrySettingService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @returns UniRefund_SettingService_CountrySettings_CountrySettingDto Success
101
- * @throws ApiError
102
- */
103
- public getApiSettingServiceCountrySettings(): CancelablePromise<GetApiSettingServiceCountrySettingsResponse> {
104
- return this.httpRequest.request({
105
- method: 'GET',
106
- url: '/api/setting-service/country-settings',
107
- errors: {
108
- 400: 'Bad Request',
109
- 401: 'Unauthorized',
110
- 403: 'Forbidden',
111
- 404: 'Not Found',
112
- 500: 'Server Error',
113
- 501: 'Server Error'
114
- }
115
- });
116
- }
117
-
118
- /**
119
- * @returns unknown Success
120
- * @throws ApiError
121
- */
122
- public postApiSettingServiceCountrySettings(): CancelablePromise<PostApiSettingServiceCountrySettingsResponse> {
123
- return this.httpRequest.request({
124
- method: 'POST',
125
- url: '/api/setting-service/country-settings',
126
- errors: {
127
- 400: 'Bad Request',
128
- 401: 'Unauthorized',
129
- 403: 'Forbidden',
130
- 404: 'Not Found',
131
- 500: 'Server Error',
132
- 501: 'Server Error'
133
- }
134
- });
135
- }
136
-
137
- }
138
-
139
- export class EmailSettingsService {
140
- constructor(public readonly httpRequest: BaseHttpRequest) { }
141
-
142
- /**
143
- * @returns Volo_Abp_SettingManagement_EmailSettingsDto Success
144
- * @throws ApiError
145
- */
146
- public getApiSettingManagementEmailing(): CancelablePromise<GetApiSettingManagementEmailingResponse> {
147
- return this.httpRequest.request({
148
- method: 'GET',
149
- url: '/api/setting-management/emailing',
150
- errors: {
151
- 400: 'Bad Request',
152
- 401: 'Unauthorized',
153
- 403: 'Forbidden',
154
- 404: 'Not Found',
155
- 500: 'Server Error',
156
- 501: 'Server Error'
157
- }
158
- });
159
- }
160
-
161
- /**
162
- * @param data The data for the request.
163
- * @param data.requestBody
164
- * @returns unknown Success
165
- * @throws ApiError
166
- */
167
- public postApiSettingManagementEmailing(data: PostApiSettingManagementEmailingData = {}): CancelablePromise<PostApiSettingManagementEmailingResponse> {
168
- return this.httpRequest.request({
169
- method: 'POST',
170
- url: '/api/setting-management/emailing',
171
- body: data.requestBody,
172
- mediaType: 'application/json',
173
- errors: {
174
- 400: 'Bad Request',
175
- 401: 'Unauthorized',
176
- 403: 'Forbidden',
177
- 404: 'Not Found',
178
- 500: 'Server Error',
179
- 501: 'Server Error'
180
- }
181
- });
182
- }
183
-
184
- /**
185
- * @param data The data for the request.
186
- * @param data.requestBody
187
- * @returns unknown Success
188
- * @throws ApiError
189
- */
190
- public postApiSettingManagementEmailingSendTestEmail(data: PostApiSettingManagementEmailingSendTestEmailData = {}): CancelablePromise<PostApiSettingManagementEmailingSendTestEmailResponse> {
191
- return this.httpRequest.request({
192
- method: 'POST',
193
- url: '/api/setting-management/emailing/send-test-email',
194
- body: data.requestBody,
195
- mediaType: 'application/json',
196
- errors: {
197
- 400: 'Bad Request',
198
- 401: 'Unauthorized',
199
- 403: 'Forbidden',
200
- 404: 'Not Found',
201
- 500: 'Server Error',
202
- 501: 'Server Error'
203
- }
204
- });
205
- }
206
-
207
- }
208
-
209
- export class SettingServiceService {
210
- constructor(public readonly httpRequest: BaseHttpRequest) { }
211
-
212
- /**
213
- * @returns UniRefund_SettingService_Samples_SampleDto Success
214
- * @throws ApiError
215
- */
216
- public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
217
- return this.httpRequest.request({
218
- method: 'GET',
219
- url: '/api/SettingService/sample',
220
- errors: {
221
- 400: 'Bad Request',
222
- 401: 'Unauthorized',
223
- 403: 'Forbidden',
224
- 404: 'Not Found',
225
- 500: 'Server Error',
226
- 501: 'Server Error'
227
- }
228
- });
229
- }
230
-
231
- /**
232
- * @returns UniRefund_SettingService_Samples_SampleDto Success
233
- * @throws ApiError
234
- */
235
- public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
236
- return this.httpRequest.request({
237
- method: 'GET',
238
- url: '/api/SettingService/sample/authorized',
239
- errors: {
240
- 400: 'Bad Request',
241
- 401: 'Unauthorized',
242
- 403: 'Forbidden',
243
- 404: 'Not Found',
244
- 500: 'Server Error',
245
- 501: 'Server Error'
246
- }
247
- });
248
- }
249
-
250
- }
251
-
252
- export class TimeZoneSettingsService {
253
- constructor(public readonly httpRequest: BaseHttpRequest) { }
254
-
255
- /**
256
- * @returns string Success
257
- * @throws ApiError
258
- */
259
- public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
260
- return this.httpRequest.request({
261
- method: 'GET',
262
- url: '/api/setting-management/timezone',
263
- errors: {
264
- 400: 'Bad Request',
265
- 401: 'Unauthorized',
266
- 403: 'Forbidden',
267
- 404: 'Not Found',
268
- 500: 'Server Error',
269
- 501: 'Server Error'
270
- }
271
- });
272
- }
273
-
274
- /**
275
- * @param data The data for the request.
276
- * @param data.timezone
277
- * @returns unknown Success
278
- * @throws ApiError
279
- */
280
- public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
281
- return this.httpRequest.request({
282
- method: 'POST',
283
- url: '/api/setting-management/timezone',
284
- query: {
285
- timezone: data.timezone
286
- },
287
- errors: {
288
- 400: 'Bad Request',
289
- 401: 'Unauthorized',
290
- 403: 'Forbidden',
291
- 404: 'Not Found',
292
- 500: 'Server Error',
293
- 501: 'Server Error'
294
- }
295
- });
296
- }
297
-
298
- /**
299
- * @returns Volo_Abp_NameValue Success
300
- * @throws ApiError
301
- */
302
- public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
303
- return this.httpRequest.request({
304
- method: 'GET',
305
- url: '/api/setting-management/timezone/timezones',
306
- errors: {
307
- 400: 'Bad Request',
308
- 401: 'Unauthorized',
309
- 403: 'Forbidden',
310
- 404: 'Not Found',
311
- 500: 'Server Error',
312
- 501: 'Server Error'
313
- }
314
- });
315
- }
316
-
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ import type { CancelablePromise } from './core/CancelablePromise';
4
+ import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
+ import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiSettingServiceCountrySettingsResponse, PostApiSettingServiceCountrySettingsResponse, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, GetApiSettingServiceSampleResponse, GetApiSettingServiceSampleAuthorizedResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse } from './types.gen';
6
+
7
+ export class AbpApiDefinitionService {
8
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
9
+
10
+ /**
11
+ * @param data The data for the request.
12
+ * @param data.includeTypes
13
+ * @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
14
+ * @throws ApiError
15
+ */
16
+ public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
+ return this.httpRequest.request({
18
+ method: 'GET',
19
+ url: '/api/abp/api-definition',
20
+ query: {
21
+ IncludeTypes: data.includeTypes
22
+ },
23
+ errors: {
24
+ 400: 'Bad Request',
25
+ 401: 'Unauthorized',
26
+ 403: 'Forbidden',
27
+ 404: 'Not Found',
28
+ 500: 'Server Error',
29
+ 501: 'Server Error'
30
+ }
31
+ });
32
+ }
33
+
34
+ }
35
+
36
+ export class AbpApplicationConfigurationService {
37
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
38
+
39
+ /**
40
+ * @param data The data for the request.
41
+ * @param data.includeLocalizationResources
42
+ * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
43
+ * @throws ApiError
44
+ */
45
+ public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
+ return this.httpRequest.request({
47
+ method: 'GET',
48
+ url: '/api/abp/application-configuration',
49
+ query: {
50
+ IncludeLocalizationResources: data.includeLocalizationResources
51
+ },
52
+ errors: {
53
+ 400: 'Bad Request',
54
+ 401: 'Unauthorized',
55
+ 403: 'Forbidden',
56
+ 404: 'Not Found',
57
+ 500: 'Server Error',
58
+ 501: 'Server Error'
59
+ }
60
+ });
61
+ }
62
+
63
+ }
64
+
65
+ export class AbpApplicationLocalizationService {
66
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
67
+
68
+ /**
69
+ * @param data The data for the request.
70
+ * @param data.cultureName
71
+ * @param data.onlyDynamics
72
+ * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
73
+ * @throws ApiError
74
+ */
75
+ public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
+ return this.httpRequest.request({
77
+ method: 'GET',
78
+ url: '/api/abp/application-localization',
79
+ query: {
80
+ CultureName: data.cultureName,
81
+ OnlyDynamics: data.onlyDynamics
82
+ },
83
+ errors: {
84
+ 400: 'Bad Request',
85
+ 401: 'Unauthorized',
86
+ 403: 'Forbidden',
87
+ 404: 'Not Found',
88
+ 500: 'Server Error',
89
+ 501: 'Server Error'
90
+ }
91
+ });
92
+ }
93
+
94
+ }
95
+
96
+ export class CountrySettingService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @returns UniRefund_SettingService_CountrySettings_CountrySettingDto Success
101
+ * @throws ApiError
102
+ */
103
+ public getApiSettingServiceCountrySettings(): CancelablePromise<GetApiSettingServiceCountrySettingsResponse> {
104
+ return this.httpRequest.request({
105
+ method: 'GET',
106
+ url: '/api/setting-service/country-settings',
107
+ errors: {
108
+ 400: 'Bad Request',
109
+ 401: 'Unauthorized',
110
+ 403: 'Forbidden',
111
+ 404: 'Not Found',
112
+ 500: 'Server Error',
113
+ 501: 'Server Error'
114
+ }
115
+ });
116
+ }
117
+
118
+ /**
119
+ * @returns unknown Success
120
+ * @throws ApiError
121
+ */
122
+ public postApiSettingServiceCountrySettings(): CancelablePromise<PostApiSettingServiceCountrySettingsResponse> {
123
+ return this.httpRequest.request({
124
+ method: 'POST',
125
+ url: '/api/setting-service/country-settings',
126
+ errors: {
127
+ 400: 'Bad Request',
128
+ 401: 'Unauthorized',
129
+ 403: 'Forbidden',
130
+ 404: 'Not Found',
131
+ 500: 'Server Error',
132
+ 501: 'Server Error'
133
+ }
134
+ });
135
+ }
136
+
137
+ }
138
+
139
+ export class EmailSettingsService {
140
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
141
+
142
+ /**
143
+ * @returns Volo_Abp_SettingManagement_EmailSettingsDto Success
144
+ * @throws ApiError
145
+ */
146
+ public getApiSettingManagementEmailing(): CancelablePromise<GetApiSettingManagementEmailingResponse> {
147
+ return this.httpRequest.request({
148
+ method: 'GET',
149
+ url: '/api/setting-management/emailing',
150
+ errors: {
151
+ 400: 'Bad Request',
152
+ 401: 'Unauthorized',
153
+ 403: 'Forbidden',
154
+ 404: 'Not Found',
155
+ 500: 'Server Error',
156
+ 501: 'Server Error'
157
+ }
158
+ });
159
+ }
160
+
161
+ /**
162
+ * @param data The data for the request.
163
+ * @param data.requestBody
164
+ * @returns unknown Success
165
+ * @throws ApiError
166
+ */
167
+ public postApiSettingManagementEmailing(data: PostApiSettingManagementEmailingData = {}): CancelablePromise<PostApiSettingManagementEmailingResponse> {
168
+ return this.httpRequest.request({
169
+ method: 'POST',
170
+ url: '/api/setting-management/emailing',
171
+ body: data.requestBody,
172
+ mediaType: 'application/json',
173
+ errors: {
174
+ 400: 'Bad Request',
175
+ 401: 'Unauthorized',
176
+ 403: 'Forbidden',
177
+ 404: 'Not Found',
178
+ 500: 'Server Error',
179
+ 501: 'Server Error'
180
+ }
181
+ });
182
+ }
183
+
184
+ /**
185
+ * @param data The data for the request.
186
+ * @param data.requestBody
187
+ * @returns unknown Success
188
+ * @throws ApiError
189
+ */
190
+ public postApiSettingManagementEmailingSendTestEmail(data: PostApiSettingManagementEmailingSendTestEmailData = {}): CancelablePromise<PostApiSettingManagementEmailingSendTestEmailResponse> {
191
+ return this.httpRequest.request({
192
+ method: 'POST',
193
+ url: '/api/setting-management/emailing/send-test-email',
194
+ body: data.requestBody,
195
+ mediaType: 'application/json',
196
+ errors: {
197
+ 400: 'Bad Request',
198
+ 401: 'Unauthorized',
199
+ 403: 'Forbidden',
200
+ 404: 'Not Found',
201
+ 500: 'Server Error',
202
+ 501: 'Server Error'
203
+ }
204
+ });
205
+ }
206
+
207
+ }
208
+
209
+ export class SampleService {
210
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
211
+
212
+ /**
213
+ * @returns UniRefund_SettingService_Samples_SampleDto Success
214
+ * @throws ApiError
215
+ */
216
+ public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
217
+ return this.httpRequest.request({
218
+ method: 'GET',
219
+ url: '/api/SettingService/sample',
220
+ errors: {
221
+ 400: 'Bad Request',
222
+ 401: 'Unauthorized',
223
+ 403: 'Forbidden',
224
+ 404: 'Not Found',
225
+ 500: 'Server Error',
226
+ 501: 'Server Error'
227
+ }
228
+ });
229
+ }
230
+
231
+ /**
232
+ * @returns UniRefund_SettingService_Samples_SampleDto Success
233
+ * @throws ApiError
234
+ */
235
+ public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
236
+ return this.httpRequest.request({
237
+ method: 'GET',
238
+ url: '/api/SettingService/sample/authorized',
239
+ errors: {
240
+ 400: 'Bad Request',
241
+ 401: 'Unauthorized',
242
+ 403: 'Forbidden',
243
+ 404: 'Not Found',
244
+ 500: 'Server Error',
245
+ 501: 'Server Error'
246
+ }
247
+ });
248
+ }
249
+
250
+ }
251
+
252
+ export class TimeZoneSettingsService {
253
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
254
+
255
+ /**
256
+ * @returns string Success
257
+ * @throws ApiError
258
+ */
259
+ public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
260
+ return this.httpRequest.request({
261
+ method: 'GET',
262
+ url: '/api/setting-management/timezone',
263
+ errors: {
264
+ 400: 'Bad Request',
265
+ 401: 'Unauthorized',
266
+ 403: 'Forbidden',
267
+ 404: 'Not Found',
268
+ 500: 'Server Error',
269
+ 501: 'Server Error'
270
+ }
271
+ });
272
+ }
273
+
274
+ /**
275
+ * @param data The data for the request.
276
+ * @param data.timezone
277
+ * @returns unknown Success
278
+ * @throws ApiError
279
+ */
280
+ public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
281
+ return this.httpRequest.request({
282
+ method: 'POST',
283
+ url: '/api/setting-management/timezone',
284
+ query: {
285
+ timezone: data.timezone
286
+ },
287
+ errors: {
288
+ 400: 'Bad Request',
289
+ 401: 'Unauthorized',
290
+ 403: 'Forbidden',
291
+ 404: 'Not Found',
292
+ 500: 'Server Error',
293
+ 501: 'Server Error'
294
+ }
295
+ });
296
+ }
297
+
298
+ /**
299
+ * @returns Volo_Abp_NameValue Success
300
+ * @throws ApiError
301
+ */
302
+ public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
303
+ return this.httpRequest.request({
304
+ method: 'GET',
305
+ url: '/api/setting-management/timezone/timezones',
306
+ errors: {
307
+ 400: 'Bad Request',
308
+ 401: 'Unauthorized',
309
+ 403: 'Forbidden',
310
+ 404: 'Not Found',
311
+ 500: 'Server Error',
312
+ 501: 'Server Error'
313
+ }
314
+ });
315
+ }
316
+
317
317
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "exports": {
6
6
  "./AccountService": "./AccountService/index.ts",