@ayasofyazilim/saas 0.0.42 → 0.0.43

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.
@@ -0,0 +1,176 @@
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, PostApiTagServiceTagData, PostApiTagServiceTagResponse, GetApiTagServiceTagData, GetApiTagServiceTagResponse, GetApiTagServiceTagByIdDetailData, GetApiTagServiceTagByIdDetailResponse } 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 TagService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.requestBody
102
+ * @returns UniRefund_TagService_Tags_TagDto Success
103
+ * @throws ApiError
104
+ */
105
+ public postApiTagServiceTag(data: PostApiTagServiceTagData = {}): CancelablePromise<PostApiTagServiceTagResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'POST',
108
+ url: '/api/tag-service/Tag',
109
+ body: data.requestBody,
110
+ mediaType: 'application/json',
111
+ errors: {
112
+ 400: 'Bad Request',
113
+ 401: 'Unauthorized',
114
+ 403: 'Forbidden',
115
+ 404: 'Not Found',
116
+ 500: 'Server Error',
117
+ 501: 'Server Error'
118
+ }
119
+ });
120
+ }
121
+
122
+ /**
123
+ * @param data The data for the request.
124
+ * @param data.filter
125
+ * @param data.sorting
126
+ * @param data.skipCount
127
+ * @param data.maxResultCount
128
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_TagService_Tags_TagDto__UniRefund_TagService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
129
+ * @throws ApiError
130
+ */
131
+ public getApiTagServiceTag(data: GetApiTagServiceTagData = {}): CancelablePromise<GetApiTagServiceTagResponse> {
132
+ return this.httpRequest.request({
133
+ method: 'GET',
134
+ url: '/api/tag-service/Tag',
135
+ query: {
136
+ Filter: data.filter,
137
+ Sorting: data.sorting,
138
+ SkipCount: data.skipCount,
139
+ MaxResultCount: data.maxResultCount
140
+ },
141
+ errors: {
142
+ 400: 'Bad Request',
143
+ 401: 'Unauthorized',
144
+ 403: 'Forbidden',
145
+ 404: 'Not Found',
146
+ 500: 'Server Error',
147
+ 501: 'Server Error'
148
+ }
149
+ });
150
+ }
151
+
152
+ /**
153
+ * @param data The data for the request.
154
+ * @param data.id
155
+ * @returns UniRefund_TagService_Tags_TagDetailDto Success
156
+ * @throws ApiError
157
+ */
158
+ public getApiTagServiceTagByIdDetail(data: GetApiTagServiceTagByIdDetailData): CancelablePromise<GetApiTagServiceTagByIdDetailResponse> {
159
+ return this.httpRequest.request({
160
+ method: 'GET',
161
+ url: '/api/tag-service/Tag/{id}/detail',
162
+ path: {
163
+ id: data.id
164
+ },
165
+ errors: {
166
+ 400: 'Bad Request',
167
+ 401: 'Unauthorized',
168
+ 403: 'Forbidden',
169
+ 404: 'Not Found',
170
+ 500: 'Server Error',
171
+ 501: 'Server Error'
172
+ }
173
+ });
174
+ }
175
+
176
+ }