@ayasofyazilim/saas 0.0.64 → 0.0.65
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/CRMService/CRMServiceClient.ts +65 -65
- package/CRMService/schemas.gen.ts +176 -110
- package/CRMService/services.gen.ts +136 -48
- package/CRMService/types.gen.ts +226 -92
- package/ExportValidationService/ExportValidationServiceClient.ts +44 -44
- package/ExportValidationService/core/ApiError.ts +20 -20
- package/ExportValidationService/core/ApiRequestOptions.ts +12 -12
- package/ExportValidationService/core/ApiResult.ts +6 -6
- package/ExportValidationService/core/BaseHttpRequest.ts +9 -9
- package/ExportValidationService/core/CancelablePromise.ts +125 -125
- package/ExportValidationService/core/FetchHttpRequest.ts +21 -21
- package/ExportValidationService/core/OpenAPI.ts +55 -55
- package/ExportValidationService/core/request.ts +340 -340
- package/ExportValidationService/index.ts +8 -8
- package/ExportValidationService/schemas.gen.ts +4073 -4073
- package/ExportValidationService/services.gen.ts +248 -248
- package/ExportValidationService/types.gen.ts +820 -820
- package/LocationService/schemas.gen.ts +6635 -6635
- package/LocationService/services.gen.ts +1797 -1797
- package/LocationService/types.gen.ts +3738 -3738
- package/package.json +1 -1
|
@@ -1,65 +1,65 @@
|
|
|
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 { AffiliationCodeService } from './services.gen';
|
|
10
|
-
import { CustomsService } from './services.gen';
|
|
11
|
-
import { IndividualService } from './services.gen';
|
|
12
|
-
import { MerchantService } from './services.gen';
|
|
13
|
-
import { OrganizationService } from './services.gen';
|
|
14
|
-
import { RefundPointService } from './services.gen';
|
|
15
|
-
import { TaxFreeService } from './services.gen';
|
|
16
|
-
import { TaxOfficeService } from './services.gen';
|
|
17
|
-
|
|
18
|
-
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
19
|
-
|
|
20
|
-
export class CRMServiceClient {
|
|
21
|
-
|
|
22
|
-
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
23
|
-
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
24
|
-
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
25
|
-
public readonly affiliationCode: AffiliationCodeService;
|
|
26
|
-
public readonly customs: CustomsService;
|
|
27
|
-
public readonly individual: IndividualService;
|
|
28
|
-
public readonly merchant: MerchantService;
|
|
29
|
-
public readonly organization: OrganizationService;
|
|
30
|
-
public readonly refundPoint: RefundPointService;
|
|
31
|
-
public readonly taxFree: TaxFreeService;
|
|
32
|
-
public readonly taxOffice: TaxOfficeService;
|
|
33
|
-
|
|
34
|
-
public readonly request: BaseHttpRequest;
|
|
35
|
-
|
|
36
|
-
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
37
|
-
this.request = new HttpRequest({
|
|
38
|
-
BASE: config?.BASE ?? '',
|
|
39
|
-
VERSION: config?.VERSION ?? '1',
|
|
40
|
-
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
41
|
-
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
42
|
-
TOKEN: config?.TOKEN,
|
|
43
|
-
USERNAME: config?.USERNAME,
|
|
44
|
-
PASSWORD: config?.PASSWORD,
|
|
45
|
-
HEADERS: config?.HEADERS,
|
|
46
|
-
ENCODE_PATH: config?.ENCODE_PATH,
|
|
47
|
-
interceptors: {
|
|
48
|
-
request: config?.interceptors?.request ?? new Interceptors(),
|
|
49
|
-
response: config?.interceptors?.response ?? new Interceptors(),
|
|
50
|
-
},
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
54
|
-
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
55
|
-
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
56
|
-
this.affiliationCode = new AffiliationCodeService(this.request);
|
|
57
|
-
this.customs = new CustomsService(this.request);
|
|
58
|
-
this.individual = new IndividualService(this.request);
|
|
59
|
-
this.merchant = new MerchantService(this.request);
|
|
60
|
-
this.organization = new OrganizationService(this.request);
|
|
61
|
-
this.refundPoint = new RefundPointService(this.request);
|
|
62
|
-
this.taxFree = new TaxFreeService(this.request);
|
|
63
|
-
this.taxOffice = new TaxOfficeService(this.request);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
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 { AffiliationCodeService } from './services.gen';
|
|
10
|
+
import { CustomsService } from './services.gen';
|
|
11
|
+
import { IndividualService } from './services.gen';
|
|
12
|
+
import { MerchantService } from './services.gen';
|
|
13
|
+
import { OrganizationService } from './services.gen';
|
|
14
|
+
import { RefundPointService } from './services.gen';
|
|
15
|
+
import { TaxFreeService } from './services.gen';
|
|
16
|
+
import { TaxOfficeService } from './services.gen';
|
|
17
|
+
|
|
18
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
19
|
+
|
|
20
|
+
export class CRMServiceClient {
|
|
21
|
+
|
|
22
|
+
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
23
|
+
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
24
|
+
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
25
|
+
public readonly affiliationCode: AffiliationCodeService;
|
|
26
|
+
public readonly customs: CustomsService;
|
|
27
|
+
public readonly individual: IndividualService;
|
|
28
|
+
public readonly merchant: MerchantService;
|
|
29
|
+
public readonly organization: OrganizationService;
|
|
30
|
+
public readonly refundPoint: RefundPointService;
|
|
31
|
+
public readonly taxFree: TaxFreeService;
|
|
32
|
+
public readonly taxOffice: TaxOfficeService;
|
|
33
|
+
|
|
34
|
+
public readonly request: BaseHttpRequest;
|
|
35
|
+
|
|
36
|
+
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
37
|
+
this.request = new HttpRequest({
|
|
38
|
+
BASE: config?.BASE ?? '',
|
|
39
|
+
VERSION: config?.VERSION ?? '1',
|
|
40
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
41
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
42
|
+
TOKEN: config?.TOKEN,
|
|
43
|
+
USERNAME: config?.USERNAME,
|
|
44
|
+
PASSWORD: config?.PASSWORD,
|
|
45
|
+
HEADERS: config?.HEADERS,
|
|
46
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
47
|
+
interceptors: {
|
|
48
|
+
request: config?.interceptors?.request ?? new Interceptors(),
|
|
49
|
+
response: config?.interceptors?.response ?? new Interceptors(),
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
54
|
+
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
55
|
+
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
56
|
+
this.affiliationCode = new AffiliationCodeService(this.request);
|
|
57
|
+
this.customs = new CustomsService(this.request);
|
|
58
|
+
this.individual = new IndividualService(this.request);
|
|
59
|
+
this.merchant = new MerchantService(this.request);
|
|
60
|
+
this.organization = new OrganizationService(this.request);
|
|
61
|
+
this.refundPoint = new RefundPointService(this.request);
|
|
62
|
+
this.taxFree = new TaxFreeService(this.request);
|
|
63
|
+
this.taxOffice = new TaxOfficeService(this.request);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -133,6 +133,16 @@ export const $PagedResultDto_AffiliationTypeDto = {
|
|
|
133
133
|
type: 'string',
|
|
134
134
|
format: 'uuid'
|
|
135
135
|
},
|
|
136
|
+
approvedUserId: {
|
|
137
|
+
type: 'string',
|
|
138
|
+
format: 'uuid',
|
|
139
|
+
nullable: true
|
|
140
|
+
},
|
|
141
|
+
approvedDate: {
|
|
142
|
+
type: 'string',
|
|
143
|
+
format: 'date-time',
|
|
144
|
+
nullable: true
|
|
145
|
+
},
|
|
136
146
|
merchantId: {
|
|
137
147
|
type: 'string',
|
|
138
148
|
format: 'uuid',
|
|
@@ -295,6 +305,7 @@ export const $PagedResultDto_MerchantProfileDto = {
|
|
|
295
305
|
items: {
|
|
296
306
|
type: 'array',
|
|
297
307
|
items: {
|
|
308
|
+
required: ['entityInformationTypeCode', 'id', 'name'],
|
|
298
309
|
type: 'object',
|
|
299
310
|
properties: {
|
|
300
311
|
id: {
|
|
@@ -306,8 +317,8 @@ export const $PagedResultDto_MerchantProfileDto = {
|
|
|
306
317
|
type: 'string'
|
|
307
318
|
},
|
|
308
319
|
name: {
|
|
309
|
-
|
|
310
|
-
|
|
320
|
+
minLength: 1,
|
|
321
|
+
type: 'string'
|
|
311
322
|
},
|
|
312
323
|
parentId: {
|
|
313
324
|
type: 'string',
|
|
@@ -487,13 +498,18 @@ export const $PagedResultDto_RefundPointProfileDto = {
|
|
|
487
498
|
type: 'string',
|
|
488
499
|
nullable: true
|
|
489
500
|
},
|
|
490
|
-
entityInformationTypeCode: {
|
|
491
|
-
enum: ['INDIVIDUAL', 'ORGANIZATION'],
|
|
492
|
-
type: 'string'
|
|
493
|
-
},
|
|
494
501
|
organizationId: {
|
|
495
502
|
type: 'string',
|
|
496
503
|
format: 'uuid'
|
|
504
|
+
},
|
|
505
|
+
parentId: {
|
|
506
|
+
type: 'string',
|
|
507
|
+
format: 'uuid',
|
|
508
|
+
nullable: true
|
|
509
|
+
},
|
|
510
|
+
taxOfficeId: {
|
|
511
|
+
type: 'string',
|
|
512
|
+
format: 'uuid'
|
|
497
513
|
}
|
|
498
514
|
},
|
|
499
515
|
additionalProperties: false
|
|
@@ -810,6 +826,16 @@ export const $UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto = {
|
|
|
810
826
|
type: 'string',
|
|
811
827
|
format: 'uuid'
|
|
812
828
|
},
|
|
829
|
+
approvedUserId: {
|
|
830
|
+
type: 'string',
|
|
831
|
+
format: 'uuid',
|
|
832
|
+
nullable: true
|
|
833
|
+
},
|
|
834
|
+
approvedDate: {
|
|
835
|
+
type: 'string',
|
|
836
|
+
format: 'date-time',
|
|
837
|
+
nullable: true
|
|
838
|
+
},
|
|
813
839
|
merchantId: {
|
|
814
840
|
type: 'string',
|
|
815
841
|
format: 'uuid',
|
|
@@ -873,7 +899,7 @@ export const $UniRefund_CRMService_AffiliationTypes_UpdateAffiliationTypeDto = {
|
|
|
873
899
|
type: 'string'
|
|
874
900
|
},
|
|
875
901
|
affiliationTypeCode: {
|
|
876
|
-
enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER'],
|
|
902
|
+
enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER', 'Franchise'],
|
|
877
903
|
type: 'string'
|
|
878
904
|
},
|
|
879
905
|
affiliationCodeId: {
|
|
@@ -3903,7 +3929,7 @@ export const $UniRefund_CRMService_EntityInformationTypes_EntityInformationTypeD
|
|
|
3903
3929
|
} as const;
|
|
3904
3930
|
|
|
3905
3931
|
export const $UniRefund_CRMService_Enums_AffiliationTypeCode = {
|
|
3906
|
-
enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER'],
|
|
3932
|
+
enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER', 'Franchise'],
|
|
3907
3933
|
type: 'string'
|
|
3908
3934
|
} as const;
|
|
3909
3935
|
|
|
@@ -5673,6 +5699,7 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantEntityInformationType
|
|
|
5673
5699
|
} as const;
|
|
5674
5700
|
|
|
5675
5701
|
export const $UniRefund_CRMService_Merchants_CreateMerchantIndividualDto = {
|
|
5702
|
+
required: ['affiliationCodeId'],
|
|
5676
5703
|
type: 'object',
|
|
5677
5704
|
properties: {
|
|
5678
5705
|
extraProperties: {
|
|
@@ -6173,6 +6200,7 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
|
|
|
6173
6200
|
type: 'object',
|
|
6174
6201
|
properties: {
|
|
6175
6202
|
merchant: {
|
|
6203
|
+
required: ['taxOfficeId', 'typeCode'],
|
|
6176
6204
|
type: 'object',
|
|
6177
6205
|
properties: {
|
|
6178
6206
|
id: {
|
|
@@ -7175,6 +7203,16 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
|
|
|
7175
7203
|
type: 'string',
|
|
7176
7204
|
format: 'uuid'
|
|
7177
7205
|
},
|
|
7206
|
+
approvedUserId: {
|
|
7207
|
+
type: 'string',
|
|
7208
|
+
format: 'uuid',
|
|
7209
|
+
nullable: true
|
|
7210
|
+
},
|
|
7211
|
+
approvedDate: {
|
|
7212
|
+
type: 'string',
|
|
7213
|
+
format: 'date-time',
|
|
7214
|
+
nullable: true
|
|
7215
|
+
},
|
|
7178
7216
|
merchantId: {
|
|
7179
7217
|
type: 'string',
|
|
7180
7218
|
format: 'uuid',
|
|
@@ -7193,6 +7231,12 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
|
|
|
7193
7231
|
type: 'string',
|
|
7194
7232
|
format: 'uuid'
|
|
7195
7233
|
},
|
|
7234
|
+
parentId: {
|
|
7235
|
+
type: 'string',
|
|
7236
|
+
format: 'uuid',
|
|
7237
|
+
nullable: true,
|
|
7238
|
+
readOnly: true
|
|
7239
|
+
},
|
|
7196
7240
|
tenantId: {
|
|
7197
7241
|
type: 'string',
|
|
7198
7242
|
format: 'uuid',
|
|
@@ -7204,51 +7248,20 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
|
|
|
7204
7248
|
productGroups: {
|
|
7205
7249
|
type: 'array',
|
|
7206
7250
|
items: {
|
|
7251
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
7207
7252
|
type: 'object',
|
|
7208
7253
|
properties: {
|
|
7209
7254
|
id: {
|
|
7210
7255
|
type: 'string',
|
|
7211
7256
|
format: 'uuid'
|
|
7212
7257
|
},
|
|
7213
|
-
creationTime: {
|
|
7214
|
-
type: 'string',
|
|
7215
|
-
format: 'date-time'
|
|
7216
|
-
},
|
|
7217
|
-
creatorId: {
|
|
7218
|
-
type: 'string',
|
|
7219
|
-
format: 'uuid',
|
|
7220
|
-
nullable: true
|
|
7221
|
-
},
|
|
7222
|
-
lastModificationTime: {
|
|
7223
|
-
type: 'string',
|
|
7224
|
-
format: 'date-time',
|
|
7225
|
-
nullable: true
|
|
7226
|
-
},
|
|
7227
|
-
lastModifierId: {
|
|
7228
|
-
type: 'string',
|
|
7229
|
-
format: 'uuid',
|
|
7230
|
-
nullable: true
|
|
7231
|
-
},
|
|
7232
|
-
isDeleted: {
|
|
7233
|
-
type: 'boolean'
|
|
7234
|
-
},
|
|
7235
|
-
deleterId: {
|
|
7236
|
-
type: 'string',
|
|
7237
|
-
format: 'uuid',
|
|
7238
|
-
nullable: true
|
|
7239
|
-
},
|
|
7240
|
-
deletionTime: {
|
|
7241
|
-
type: 'string',
|
|
7242
|
-
format: 'date-time',
|
|
7243
|
-
nullable: true
|
|
7244
|
-
},
|
|
7245
7258
|
articleCode: {
|
|
7246
|
-
|
|
7247
|
-
|
|
7259
|
+
minLength: 1,
|
|
7260
|
+
type: 'string'
|
|
7248
7261
|
},
|
|
7249
7262
|
name: {
|
|
7250
|
-
|
|
7251
|
-
|
|
7263
|
+
minLength: 1,
|
|
7264
|
+
type: 'string'
|
|
7252
7265
|
},
|
|
7253
7266
|
unitCode: {
|
|
7254
7267
|
enum: ['QNT', 'BAG', 'BOX'],
|
|
@@ -7258,15 +7271,16 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
|
|
|
7258
7271
|
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
7259
7272
|
type: 'string'
|
|
7260
7273
|
},
|
|
7274
|
+
vatId: {
|
|
7275
|
+
type: 'string',
|
|
7276
|
+
format: 'uuid',
|
|
7277
|
+
nullable: true
|
|
7278
|
+
},
|
|
7261
7279
|
active: {
|
|
7262
7280
|
type: 'boolean'
|
|
7263
7281
|
},
|
|
7264
7282
|
food: {
|
|
7265
7283
|
type: 'boolean'
|
|
7266
|
-
},
|
|
7267
|
-
language: {
|
|
7268
|
-
type: 'string',
|
|
7269
|
-
nullable: true
|
|
7270
7284
|
}
|
|
7271
7285
|
},
|
|
7272
7286
|
additionalProperties: false
|
|
@@ -7278,6 +7292,7 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
|
|
|
7278
7292
|
} as const;
|
|
7279
7293
|
|
|
7280
7294
|
export const $UniRefund_CRMService_Merchants_MerchantDto = {
|
|
7295
|
+
required: ['taxOfficeId', 'typeCode'],
|
|
7281
7296
|
type: 'object',
|
|
7282
7297
|
properties: {
|
|
7283
7298
|
id: {
|
|
@@ -8280,6 +8295,16 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
|
|
|
8280
8295
|
type: 'string',
|
|
8281
8296
|
format: 'uuid'
|
|
8282
8297
|
},
|
|
8298
|
+
approvedUserId: {
|
|
8299
|
+
type: 'string',
|
|
8300
|
+
format: 'uuid',
|
|
8301
|
+
nullable: true
|
|
8302
|
+
},
|
|
8303
|
+
approvedDate: {
|
|
8304
|
+
type: 'string',
|
|
8305
|
+
format: 'date-time',
|
|
8306
|
+
nullable: true
|
|
8307
|
+
},
|
|
8283
8308
|
merchantId: {
|
|
8284
8309
|
type: 'string',
|
|
8285
8310
|
format: 'uuid',
|
|
@@ -8298,6 +8323,12 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
|
|
|
8298
8323
|
type: 'string',
|
|
8299
8324
|
format: 'uuid'
|
|
8300
8325
|
},
|
|
8326
|
+
parentId: {
|
|
8327
|
+
type: 'string',
|
|
8328
|
+
format: 'uuid',
|
|
8329
|
+
nullable: true,
|
|
8330
|
+
readOnly: true
|
|
8331
|
+
},
|
|
8301
8332
|
tenantId: {
|
|
8302
8333
|
type: 'string',
|
|
8303
8334
|
format: 'uuid',
|
|
@@ -8331,6 +8362,7 @@ export const $UniRefund_CRMService_Merchants_MerchantInfoDto = {
|
|
|
8331
8362
|
} as const;
|
|
8332
8363
|
|
|
8333
8364
|
export const $UniRefund_CRMService_Merchants_MerchantProfileDto = {
|
|
8365
|
+
required: ['entityInformationTypeCode', 'id', 'name'],
|
|
8334
8366
|
type: 'object',
|
|
8335
8367
|
properties: {
|
|
8336
8368
|
id: {
|
|
@@ -8342,8 +8374,8 @@ export const $UniRefund_CRMService_Merchants_MerchantProfileDto = {
|
|
|
8342
8374
|
type: 'string'
|
|
8343
8375
|
},
|
|
8344
8376
|
name: {
|
|
8345
|
-
|
|
8346
|
-
|
|
8377
|
+
minLength: 1,
|
|
8378
|
+
type: 'string'
|
|
8347
8379
|
},
|
|
8348
8380
|
parentId: {
|
|
8349
8381
|
type: 'string',
|
|
@@ -8384,19 +8416,25 @@ export const $UniRefund_CRMService_Merchants_RefundPointProfileDto = {
|
|
|
8384
8416
|
type: 'string',
|
|
8385
8417
|
nullable: true
|
|
8386
8418
|
},
|
|
8387
|
-
entityInformationTypeCode: {
|
|
8388
|
-
enum: ['INDIVIDUAL', 'ORGANIZATION'],
|
|
8389
|
-
type: 'string'
|
|
8390
|
-
},
|
|
8391
8419
|
organizationId: {
|
|
8392
8420
|
type: 'string',
|
|
8393
8421
|
format: 'uuid'
|
|
8422
|
+
},
|
|
8423
|
+
parentId: {
|
|
8424
|
+
type: 'string',
|
|
8425
|
+
format: 'uuid',
|
|
8426
|
+
nullable: true
|
|
8427
|
+
},
|
|
8428
|
+
taxOfficeId: {
|
|
8429
|
+
type: 'string',
|
|
8430
|
+
format: 'uuid'
|
|
8394
8431
|
}
|
|
8395
8432
|
},
|
|
8396
8433
|
additionalProperties: false
|
|
8397
8434
|
} as const;
|
|
8398
8435
|
|
|
8399
8436
|
export const $UniRefund_CRMService_Merchants_StoreProfileDto = {
|
|
8437
|
+
required: ['fullAddress', 'id', 'manager', 'name'],
|
|
8400
8438
|
type: 'object',
|
|
8401
8439
|
properties: {
|
|
8402
8440
|
id: {
|
|
@@ -8404,16 +8442,16 @@ export const $UniRefund_CRMService_Merchants_StoreProfileDto = {
|
|
|
8404
8442
|
format: 'uuid'
|
|
8405
8443
|
},
|
|
8406
8444
|
name: {
|
|
8407
|
-
|
|
8408
|
-
|
|
8445
|
+
minLength: 1,
|
|
8446
|
+
type: 'string'
|
|
8409
8447
|
},
|
|
8410
8448
|
fullAddress: {
|
|
8411
|
-
|
|
8412
|
-
|
|
8449
|
+
minLength: 1,
|
|
8450
|
+
type: 'string'
|
|
8413
8451
|
},
|
|
8414
8452
|
manager: {
|
|
8415
|
-
|
|
8416
|
-
|
|
8453
|
+
minLength: 1,
|
|
8454
|
+
type: 'string'
|
|
8417
8455
|
}
|
|
8418
8456
|
},
|
|
8419
8457
|
additionalProperties: false
|
|
@@ -8425,6 +8463,7 @@ export const $UniRefund_CRMService_Merchants_StoreProfilePagedResultDto = {
|
|
|
8425
8463
|
items: {
|
|
8426
8464
|
type: 'array',
|
|
8427
8465
|
items: {
|
|
8466
|
+
required: ['fullAddress', 'id', 'manager', 'name'],
|
|
8428
8467
|
type: 'object',
|
|
8429
8468
|
properties: {
|
|
8430
8469
|
id: {
|
|
@@ -8432,16 +8471,16 @@ export const $UniRefund_CRMService_Merchants_StoreProfilePagedResultDto = {
|
|
|
8432
8471
|
format: 'uuid'
|
|
8433
8472
|
},
|
|
8434
8473
|
name: {
|
|
8435
|
-
|
|
8436
|
-
|
|
8474
|
+
minLength: 1,
|
|
8475
|
+
type: 'string'
|
|
8437
8476
|
},
|
|
8438
8477
|
fullAddress: {
|
|
8439
|
-
|
|
8440
|
-
|
|
8478
|
+
minLength: 1,
|
|
8479
|
+
type: 'string'
|
|
8441
8480
|
},
|
|
8442
8481
|
manager: {
|
|
8443
|
-
|
|
8444
|
-
|
|
8482
|
+
minLength: 1,
|
|
8483
|
+
type: 'string'
|
|
8445
8484
|
}
|
|
8446
8485
|
},
|
|
8447
8486
|
additionalProperties: false
|
|
@@ -8457,6 +8496,7 @@ export const $UniRefund_CRMService_Merchants_StoreProfilePagedResultDto = {
|
|
|
8457
8496
|
} as const;
|
|
8458
8497
|
|
|
8459
8498
|
export const $UniRefund_CRMService_Merchants_SubIndividualDto = {
|
|
8499
|
+
required: ['affiliationTypeCode', 'name'],
|
|
8460
8500
|
type: 'object',
|
|
8461
8501
|
properties: {
|
|
8462
8502
|
id: {
|
|
@@ -8464,11 +8504,11 @@ export const $UniRefund_CRMService_Merchants_SubIndividualDto = {
|
|
|
8464
8504
|
format: 'uuid'
|
|
8465
8505
|
},
|
|
8466
8506
|
name: {
|
|
8467
|
-
|
|
8468
|
-
|
|
8507
|
+
minLength: 1,
|
|
8508
|
+
type: 'string'
|
|
8469
8509
|
},
|
|
8470
8510
|
affiliationTypeCode: {
|
|
8471
|
-
enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER'],
|
|
8511
|
+
enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER', 'Franchise'],
|
|
8472
8512
|
type: 'string'
|
|
8473
8513
|
},
|
|
8474
8514
|
affiliationCode: {
|
|
@@ -8538,6 +8578,7 @@ export const $UniRefund_CRMService_Merchants_SubIndividualDto = {
|
|
|
8538
8578
|
} as const;
|
|
8539
8579
|
|
|
8540
8580
|
export const $UniRefund_CRMService_Merchants_UpdateMerchantDto = {
|
|
8581
|
+
required: ['taxOfficeId', 'typeCode'],
|
|
8541
8582
|
type: 'object',
|
|
8542
8583
|
properties: {
|
|
8543
8584
|
typeCode: {
|
|
@@ -9536,7 +9577,7 @@ export const $UniRefund_CRMService_PersonalSummaries_UpdatePersonalSummaryDto =
|
|
|
9536
9577
|
} as const;
|
|
9537
9578
|
|
|
9538
9579
|
export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
|
|
9539
|
-
required: ['typeCode'],
|
|
9580
|
+
required: ['taxOfficeId', 'typeCode'],
|
|
9540
9581
|
type: 'object',
|
|
9541
9582
|
properties: {
|
|
9542
9583
|
extraProperties: {
|
|
@@ -9549,6 +9590,10 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
|
|
|
9549
9590
|
enum: ['HEADQUARTER', 'REFUNDPOINT'],
|
|
9550
9591
|
type: 'string'
|
|
9551
9592
|
},
|
|
9593
|
+
taxOfficeId: {
|
|
9594
|
+
type: 'string',
|
|
9595
|
+
format: 'uuid'
|
|
9596
|
+
},
|
|
9552
9597
|
parentId: {
|
|
9553
9598
|
type: 'string',
|
|
9554
9599
|
format: 'uuid',
|
|
@@ -10088,6 +10133,57 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointOrganizationDto
|
|
|
10088
10133
|
additionalProperties: false
|
|
10089
10134
|
} as const;
|
|
10090
10135
|
|
|
10136
|
+
export const $UniRefund_CRMService_RefundPoints_RefundPointBasicInformationDto = {
|
|
10137
|
+
type: 'object',
|
|
10138
|
+
properties: {
|
|
10139
|
+
id: {
|
|
10140
|
+
type: 'string',
|
|
10141
|
+
format: 'uuid'
|
|
10142
|
+
},
|
|
10143
|
+
name: {
|
|
10144
|
+
type: 'string',
|
|
10145
|
+
nullable: true
|
|
10146
|
+
},
|
|
10147
|
+
taxOffice: {
|
|
10148
|
+
type: 'object',
|
|
10149
|
+
properties: {
|
|
10150
|
+
id: {
|
|
10151
|
+
type: 'string',
|
|
10152
|
+
format: 'uuid'
|
|
10153
|
+
},
|
|
10154
|
+
name: {
|
|
10155
|
+
type: 'string',
|
|
10156
|
+
nullable: true
|
|
10157
|
+
}
|
|
10158
|
+
},
|
|
10159
|
+
additionalProperties: false
|
|
10160
|
+
},
|
|
10161
|
+
numberOfStores: {
|
|
10162
|
+
type: 'integer',
|
|
10163
|
+
format: 'int32'
|
|
10164
|
+
},
|
|
10165
|
+
accountManagers: {
|
|
10166
|
+
type: 'array',
|
|
10167
|
+
items: {
|
|
10168
|
+
type: 'object',
|
|
10169
|
+
properties: {
|
|
10170
|
+
id: {
|
|
10171
|
+
type: 'string',
|
|
10172
|
+
format: 'uuid'
|
|
10173
|
+
},
|
|
10174
|
+
name: {
|
|
10175
|
+
type: 'string',
|
|
10176
|
+
nullable: true
|
|
10177
|
+
}
|
|
10178
|
+
},
|
|
10179
|
+
additionalProperties: false
|
|
10180
|
+
},
|
|
10181
|
+
nullable: true
|
|
10182
|
+
}
|
|
10183
|
+
},
|
|
10184
|
+
additionalProperties: false
|
|
10185
|
+
} as const;
|
|
10186
|
+
|
|
10091
10187
|
export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
|
|
10092
10188
|
type: 'object',
|
|
10093
10189
|
properties: {
|
|
@@ -14656,51 +14752,20 @@ export const $UniRefund_SettingService_ProductGroups_CompanyTypeCode = {
|
|
|
14656
14752
|
} as const;
|
|
14657
14753
|
|
|
14658
14754
|
export const $UniRefund_SettingService_ProductGroups_ProductGroupDto = {
|
|
14755
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
14659
14756
|
type: 'object',
|
|
14660
14757
|
properties: {
|
|
14661
14758
|
id: {
|
|
14662
14759
|
type: 'string',
|
|
14663
14760
|
format: 'uuid'
|
|
14664
14761
|
},
|
|
14665
|
-
creationTime: {
|
|
14666
|
-
type: 'string',
|
|
14667
|
-
format: 'date-time'
|
|
14668
|
-
},
|
|
14669
|
-
creatorId: {
|
|
14670
|
-
type: 'string',
|
|
14671
|
-
format: 'uuid',
|
|
14672
|
-
nullable: true
|
|
14673
|
-
},
|
|
14674
|
-
lastModificationTime: {
|
|
14675
|
-
type: 'string',
|
|
14676
|
-
format: 'date-time',
|
|
14677
|
-
nullable: true
|
|
14678
|
-
},
|
|
14679
|
-
lastModifierId: {
|
|
14680
|
-
type: 'string',
|
|
14681
|
-
format: 'uuid',
|
|
14682
|
-
nullable: true
|
|
14683
|
-
},
|
|
14684
|
-
isDeleted: {
|
|
14685
|
-
type: 'boolean'
|
|
14686
|
-
},
|
|
14687
|
-
deleterId: {
|
|
14688
|
-
type: 'string',
|
|
14689
|
-
format: 'uuid',
|
|
14690
|
-
nullable: true
|
|
14691
|
-
},
|
|
14692
|
-
deletionTime: {
|
|
14693
|
-
type: 'string',
|
|
14694
|
-
format: 'date-time',
|
|
14695
|
-
nullable: true
|
|
14696
|
-
},
|
|
14697
14762
|
articleCode: {
|
|
14698
|
-
|
|
14699
|
-
|
|
14763
|
+
minLength: 1,
|
|
14764
|
+
type: 'string'
|
|
14700
14765
|
},
|
|
14701
14766
|
name: {
|
|
14702
|
-
|
|
14703
|
-
|
|
14767
|
+
minLength: 1,
|
|
14768
|
+
type: 'string'
|
|
14704
14769
|
},
|
|
14705
14770
|
unitCode: {
|
|
14706
14771
|
enum: ['QNT', 'BAG', 'BOX'],
|
|
@@ -14710,15 +14775,16 @@ export const $UniRefund_SettingService_ProductGroups_ProductGroupDto = {
|
|
|
14710
14775
|
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
14711
14776
|
type: 'string'
|
|
14712
14777
|
},
|
|
14778
|
+
vatId: {
|
|
14779
|
+
type: 'string',
|
|
14780
|
+
format: 'uuid',
|
|
14781
|
+
nullable: true
|
|
14782
|
+
},
|
|
14713
14783
|
active: {
|
|
14714
14784
|
type: 'boolean'
|
|
14715
14785
|
},
|
|
14716
14786
|
food: {
|
|
14717
14787
|
type: 'boolean'
|
|
14718
|
-
},
|
|
14719
|
-
language: {
|
|
14720
|
-
type: 'string',
|
|
14721
|
-
nullable: true
|
|
14722
14788
|
}
|
|
14723
14789
|
},
|
|
14724
14790
|
additionalProperties: false
|