@ayasofyazilim/saas 0.0.15 → 0.0.16
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/BackerService/schemas.gen.ts +2111 -1660
- package/BackerService/types.gen.ts +1241 -930
- package/MerchantService/schemas.gen.ts +240 -0
- package/MerchantService/services.gen.ts +28 -1
- package/MerchantService/types.gen.ts +422 -0
- package/ProjectService.json +2937 -2937
- package/package.json +1 -1
- package/swagger.json +4794 -4794
|
@@ -880,6 +880,16 @@ export const $UniRefund_MerchantService_EntityInformationTypes_EntityInformation
|
|
|
880
880
|
type: 'string',
|
|
881
881
|
nullable: true
|
|
882
882
|
},
|
|
883
|
+
parentCompanyId: {
|
|
884
|
+
type: 'string',
|
|
885
|
+
format: 'uuid',
|
|
886
|
+
nullable: true
|
|
887
|
+
},
|
|
888
|
+
subCompanies: {
|
|
889
|
+
type: 'array',
|
|
890
|
+
items: '[Circular]',
|
|
891
|
+
nullable: true
|
|
892
|
+
},
|
|
883
893
|
contactInformation: {
|
|
884
894
|
type: 'object',
|
|
885
895
|
properties: {
|
|
@@ -1569,6 +1579,16 @@ export const $UniRefund_MerchantService_Merchants_MerchantDto = {
|
|
|
1569
1579
|
type: 'string',
|
|
1570
1580
|
nullable: true
|
|
1571
1581
|
},
|
|
1582
|
+
parentCompanyId: {
|
|
1583
|
+
type: 'string',
|
|
1584
|
+
format: 'uuid',
|
|
1585
|
+
nullable: true
|
|
1586
|
+
},
|
|
1587
|
+
subCompanies: {
|
|
1588
|
+
type: 'array',
|
|
1589
|
+
items: '[Circular]',
|
|
1590
|
+
nullable: true
|
|
1591
|
+
},
|
|
1572
1592
|
contactInformation: {
|
|
1573
1593
|
type: 'object',
|
|
1574
1594
|
properties: {
|
|
@@ -2084,6 +2104,206 @@ export const $UniRefund_MerchantService_Organizations_CreateOrganizationDto = {
|
|
|
2084
2104
|
additionalProperties: false
|
|
2085
2105
|
} as const;
|
|
2086
2106
|
|
|
2107
|
+
export const $UniRefund_MerchantService_Organizations_CreateOrganizationSubDto = {
|
|
2108
|
+
required: ['customerNumber', 'legalStatusCode', 'name', 'taxpayerId'],
|
|
2109
|
+
type: 'object',
|
|
2110
|
+
properties: {
|
|
2111
|
+
extraProperties: {
|
|
2112
|
+
type: 'object',
|
|
2113
|
+
additionalProperties: {},
|
|
2114
|
+
nullable: true,
|
|
2115
|
+
readOnly: true
|
|
2116
|
+
},
|
|
2117
|
+
name: {
|
|
2118
|
+
maxLength: 255,
|
|
2119
|
+
minLength: 0,
|
|
2120
|
+
type: 'string'
|
|
2121
|
+
},
|
|
2122
|
+
taxpayerId: {
|
|
2123
|
+
maxLength: 255,
|
|
2124
|
+
minLength: 0,
|
|
2125
|
+
type: 'string'
|
|
2126
|
+
},
|
|
2127
|
+
legalStatusCode: {
|
|
2128
|
+
maxLength: 255,
|
|
2129
|
+
minLength: 0,
|
|
2130
|
+
type: 'string'
|
|
2131
|
+
},
|
|
2132
|
+
customerNumber: {
|
|
2133
|
+
maxLength: 255,
|
|
2134
|
+
minLength: 0,
|
|
2135
|
+
type: 'string'
|
|
2136
|
+
},
|
|
2137
|
+
contactInformation: {
|
|
2138
|
+
required: ['endDate', 'startDate'],
|
|
2139
|
+
type: 'object',
|
|
2140
|
+
properties: {
|
|
2141
|
+
extraProperties: {
|
|
2142
|
+
type: 'object',
|
|
2143
|
+
additionalProperties: {},
|
|
2144
|
+
nullable: true,
|
|
2145
|
+
readOnly: true
|
|
2146
|
+
},
|
|
2147
|
+
startDate: {
|
|
2148
|
+
type: 'string',
|
|
2149
|
+
format: 'date-time'
|
|
2150
|
+
},
|
|
2151
|
+
endDate: {
|
|
2152
|
+
type: 'string',
|
|
2153
|
+
format: 'date-time'
|
|
2154
|
+
},
|
|
2155
|
+
telephone: {
|
|
2156
|
+
type: 'array',
|
|
2157
|
+
items: {
|
|
2158
|
+
required: ['areaCode', 'ituCountryCode', 'localNumber'],
|
|
2159
|
+
type: 'object',
|
|
2160
|
+
properties: {
|
|
2161
|
+
extraProperties: {
|
|
2162
|
+
type: 'object',
|
|
2163
|
+
additionalProperties: {},
|
|
2164
|
+
nullable: true,
|
|
2165
|
+
readOnly: true
|
|
2166
|
+
},
|
|
2167
|
+
areaCode: {
|
|
2168
|
+
maxLength: 255,
|
|
2169
|
+
minLength: 0,
|
|
2170
|
+
type: 'string'
|
|
2171
|
+
},
|
|
2172
|
+
localNumber: {
|
|
2173
|
+
maxLength: 255,
|
|
2174
|
+
minLength: 0,
|
|
2175
|
+
type: 'string'
|
|
2176
|
+
},
|
|
2177
|
+
ituCountryCode: {
|
|
2178
|
+
maxLength: 255,
|
|
2179
|
+
minLength: 0,
|
|
2180
|
+
type: 'string'
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
additionalProperties: false
|
|
2184
|
+
},
|
|
2185
|
+
nullable: true
|
|
2186
|
+
},
|
|
2187
|
+
address: {
|
|
2188
|
+
type: 'array',
|
|
2189
|
+
items: {
|
|
2190
|
+
required: ['addressLine', 'city', 'country', 'fullAddress', 'postalCode', 'terriority', 'typeCode'],
|
|
2191
|
+
type: 'object',
|
|
2192
|
+
properties: {
|
|
2193
|
+
extraProperties: {
|
|
2194
|
+
type: 'object',
|
|
2195
|
+
additionalProperties: {},
|
|
2196
|
+
nullable: true,
|
|
2197
|
+
readOnly: true
|
|
2198
|
+
},
|
|
2199
|
+
typeCode: {
|
|
2200
|
+
enum: [0, 1],
|
|
2201
|
+
type: 'integer',
|
|
2202
|
+
format: 'int32'
|
|
2203
|
+
},
|
|
2204
|
+
addressLine: {
|
|
2205
|
+
maxLength: 255,
|
|
2206
|
+
minLength: 0,
|
|
2207
|
+
type: 'string'
|
|
2208
|
+
},
|
|
2209
|
+
city: {
|
|
2210
|
+
maxLength: 255,
|
|
2211
|
+
minLength: 0,
|
|
2212
|
+
type: 'string'
|
|
2213
|
+
},
|
|
2214
|
+
terriority: {
|
|
2215
|
+
maxLength: 255,
|
|
2216
|
+
minLength: 0,
|
|
2217
|
+
type: 'string'
|
|
2218
|
+
},
|
|
2219
|
+
postalCode: {
|
|
2220
|
+
maxLength: 255,
|
|
2221
|
+
minLength: 0,
|
|
2222
|
+
type: 'string'
|
|
2223
|
+
},
|
|
2224
|
+
country: {
|
|
2225
|
+
maxLength: 255,
|
|
2226
|
+
minLength: 0,
|
|
2227
|
+
type: 'string'
|
|
2228
|
+
},
|
|
2229
|
+
fullAddress: {
|
|
2230
|
+
maxLength: 255,
|
|
2231
|
+
minLength: 0,
|
|
2232
|
+
type: 'string'
|
|
2233
|
+
}
|
|
2234
|
+
},
|
|
2235
|
+
additionalProperties: false
|
|
2236
|
+
},
|
|
2237
|
+
nullable: true
|
|
2238
|
+
},
|
|
2239
|
+
email: {
|
|
2240
|
+
type: 'array',
|
|
2241
|
+
items: {
|
|
2242
|
+
required: ['emailAddress'],
|
|
2243
|
+
type: 'object',
|
|
2244
|
+
properties: {
|
|
2245
|
+
extraProperties: {
|
|
2246
|
+
type: 'object',
|
|
2247
|
+
additionalProperties: {},
|
|
2248
|
+
nullable: true,
|
|
2249
|
+
readOnly: true
|
|
2250
|
+
},
|
|
2251
|
+
emailAddress: {
|
|
2252
|
+
maxLength: 255,
|
|
2253
|
+
minLength: 0,
|
|
2254
|
+
type: 'string'
|
|
2255
|
+
}
|
|
2256
|
+
},
|
|
2257
|
+
additionalProperties: false
|
|
2258
|
+
},
|
|
2259
|
+
nullable: true
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
additionalProperties: false
|
|
2263
|
+
},
|
|
2264
|
+
productGroups: {
|
|
2265
|
+
type: 'array',
|
|
2266
|
+
items: {
|
|
2267
|
+
required: ['isActive', 'name', 'productCode', 'vatRate'],
|
|
2268
|
+
type: 'object',
|
|
2269
|
+
properties: {
|
|
2270
|
+
extraProperties: {
|
|
2271
|
+
type: 'object',
|
|
2272
|
+
additionalProperties: {},
|
|
2273
|
+
nullable: true,
|
|
2274
|
+
readOnly: true
|
|
2275
|
+
},
|
|
2276
|
+
name: {
|
|
2277
|
+
maxLength: 255,
|
|
2278
|
+
minLength: 0,
|
|
2279
|
+
type: 'string'
|
|
2280
|
+
},
|
|
2281
|
+
vatRate: {
|
|
2282
|
+
type: 'number',
|
|
2283
|
+
format: 'double'
|
|
2284
|
+
},
|
|
2285
|
+
productCode: {
|
|
2286
|
+
maxLength: 255,
|
|
2287
|
+
minLength: 0,
|
|
2288
|
+
type: 'string'
|
|
2289
|
+
},
|
|
2290
|
+
isActive: {
|
|
2291
|
+
type: 'boolean'
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2294
|
+
additionalProperties: false
|
|
2295
|
+
},
|
|
2296
|
+
nullable: true
|
|
2297
|
+
},
|
|
2298
|
+
parentCompanyId: {
|
|
2299
|
+
type: 'string',
|
|
2300
|
+
format: 'uuid',
|
|
2301
|
+
nullable: true
|
|
2302
|
+
}
|
|
2303
|
+
},
|
|
2304
|
+
additionalProperties: false
|
|
2305
|
+
} as const;
|
|
2306
|
+
|
|
2087
2307
|
export const $UniRefund_MerchantService_Organizations_OrganizationDto = {
|
|
2088
2308
|
type: 'object',
|
|
2089
2309
|
properties: {
|
|
@@ -2139,6 +2359,16 @@ export const $UniRefund_MerchantService_Organizations_OrganizationDto = {
|
|
|
2139
2359
|
type: 'string',
|
|
2140
2360
|
nullable: true
|
|
2141
2361
|
},
|
|
2362
|
+
parentCompanyId: {
|
|
2363
|
+
type: 'string',
|
|
2364
|
+
format: 'uuid',
|
|
2365
|
+
nullable: true
|
|
2366
|
+
},
|
|
2367
|
+
subCompanies: {
|
|
2368
|
+
type: 'array',
|
|
2369
|
+
items: '[Circular]',
|
|
2370
|
+
nullable: true
|
|
2371
|
+
},
|
|
2142
2372
|
contactInformation: {
|
|
2143
2373
|
type: 'object',
|
|
2144
2374
|
properties: {
|
|
@@ -2772,6 +3002,16 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_MerchantServ
|
|
|
2772
3002
|
type: 'string',
|
|
2773
3003
|
nullable: true
|
|
2774
3004
|
},
|
|
3005
|
+
parentCompanyId: {
|
|
3006
|
+
type: 'string',
|
|
3007
|
+
format: 'uuid',
|
|
3008
|
+
nullable: true
|
|
3009
|
+
},
|
|
3010
|
+
subCompanies: {
|
|
3011
|
+
type: 'array',
|
|
3012
|
+
items: '[Circular]',
|
|
3013
|
+
nullable: true
|
|
3014
|
+
},
|
|
2775
3015
|
contactInformation: {
|
|
2776
3016
|
type: 'object',
|
|
2777
3017
|
properties: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
4
|
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
-
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiMerchantServiceMerchantsAddEntityInformationTypeData, PostApiMerchantServiceMerchantsAddEntityInformationTypeResponse, PostApiMerchantServiceMerchantsAddOrganizationData, PostApiMerchantServiceMerchantsAddOrganizationResponse, PostApiMerchantServiceMerchantsAddTelephonesData, PostApiMerchantServiceMerchantsAddTelephonesResponse, PostApiMerchantServiceMerchantsAddAddressesData, PostApiMerchantServiceMerchantsAddAddressesResponse, PostApiMerchantServiceMerchantsAddEmailsData, PostApiMerchantServiceMerchantsAddEmailsResponse, PostApiMerchantServiceMerchantsAddProductGroupData, PostApiMerchantServiceMerchantsAddProductGroupResponse, PostApiMerchantServiceMerchantsCreateMerchantWithComponentsData, PostApiMerchantServiceMerchantsCreateMerchantWithComponentsResponse, GetApiMerchantServiceMerchantsDetailByIdData, GetApiMerchantServiceMerchantsDetailByIdResponse, GetApiMerchantServiceMerchantsDetailData, GetApiMerchantServiceMerchantsDetailResponse } from './types.gen';
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiMerchantServiceMerchantsAddEntityInformationTypeData, PostApiMerchantServiceMerchantsAddEntityInformationTypeResponse, PostApiMerchantServiceMerchantsAddOrganizationData, PostApiMerchantServiceMerchantsAddOrganizationResponse, PostApiMerchantServiceMerchantsAddSubOrganizationData, PostApiMerchantServiceMerchantsAddSubOrganizationResponse, PostApiMerchantServiceMerchantsAddTelephonesData, PostApiMerchantServiceMerchantsAddTelephonesResponse, PostApiMerchantServiceMerchantsAddAddressesData, PostApiMerchantServiceMerchantsAddAddressesResponse, PostApiMerchantServiceMerchantsAddEmailsData, PostApiMerchantServiceMerchantsAddEmailsResponse, PostApiMerchantServiceMerchantsAddProductGroupData, PostApiMerchantServiceMerchantsAddProductGroupResponse, PostApiMerchantServiceMerchantsCreateMerchantWithComponentsData, PostApiMerchantServiceMerchantsCreateMerchantWithComponentsResponse, GetApiMerchantServiceMerchantsDetailByIdData, GetApiMerchantServiceMerchantsDetailByIdResponse, GetApiMerchantServiceMerchantsDetailData, GetApiMerchantServiceMerchantsDetailResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -150,6 +150,33 @@ export class MerchantService {
|
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* @param data The data for the request.
|
|
155
|
+
* @param data.entityInformationTypeId
|
|
156
|
+
* @param data.requestBody
|
|
157
|
+
* @returns unknown Success
|
|
158
|
+
* @throws ApiError
|
|
159
|
+
*/
|
|
160
|
+
public postApiMerchantServiceMerchantsAddSubOrganization(data: PostApiMerchantServiceMerchantsAddSubOrganizationData = {}): CancelablePromise<PostApiMerchantServiceMerchantsAddSubOrganizationResponse> {
|
|
161
|
+
return this.httpRequest.request({
|
|
162
|
+
method: 'POST',
|
|
163
|
+
url: '/api/merchant-service/merchants/add-sub-organization',
|
|
164
|
+
query: {
|
|
165
|
+
entityInformationTypeId: data.entityInformationTypeId
|
|
166
|
+
},
|
|
167
|
+
body: data.requestBody,
|
|
168
|
+
mediaType: 'application/json',
|
|
169
|
+
errors: {
|
|
170
|
+
400: 'Bad Request',
|
|
171
|
+
401: 'Unauthorized',
|
|
172
|
+
403: 'Forbidden',
|
|
173
|
+
404: 'Not Found',
|
|
174
|
+
500: 'Server Error',
|
|
175
|
+
501: 'Server Error'
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
|
|
153
180
|
/**
|
|
154
181
|
* @param data The data for the request.
|
|
155
182
|
* @param data.contactInformationTypeId
|