@ayasofyazilim/saas 0.0.123 → 0.0.124

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.
@@ -10,12 +10,12 @@ export type PagedResultDto_AffiliationCodeDto = {
10
10
  isDeleted?: boolean;
11
11
  deleterId?: (string) | null;
12
12
  deletionTime?: (string) | null;
13
- name?: (string) | null;
13
+ name: string;
14
14
  description?: (string) | null;
15
- roleId?: (string) | null;
16
- status?: 'Waiting' | 'Approved' | 'Rejected';
17
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
18
- language?: (string) | null;
15
+ roleId: string;
16
+ status: 'Waiting' | 'Approved' | 'Rejected';
17
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
18
+ language: string;
19
19
  }> | null;
20
20
  totalCount?: number;
21
21
  };
@@ -60,13 +60,14 @@ export type PagedResultDto_IndividualProfileDto = {
60
60
  isDeleted?: boolean;
61
61
  deleterId?: (string) | null;
62
62
  deletionTime?: (string) | null;
63
- name?: (string) | null;
63
+ name: string;
64
64
  description?: (string) | null;
65
- roleId?: (string) | null;
66
- status?: 'Waiting' | 'Approved' | 'Rejected';
67
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
68
- language?: (string) | null;
65
+ roleId: string;
66
+ status: 'Waiting' | 'Approved' | 'Rejected';
67
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
68
+ language: string;
69
69
  };
70
+ abpUserId?: (string) | null;
70
71
  }> | null;
71
72
  totalCount?: number;
72
73
  };
@@ -100,12 +101,12 @@ export type PagedResultDto_OrganizationProfileDto = {
100
101
  isDeleted?: boolean;
101
102
  deleterId?: (string) | null;
102
103
  deletionTime?: (string) | null;
103
- name?: (string) | null;
104
+ name: string;
104
105
  description?: (string) | null;
105
- roleId?: (string) | null;
106
- status?: 'Waiting' | 'Approved' | 'Rejected';
107
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
108
- language?: (string) | null;
106
+ roleId: string;
107
+ status: 'Waiting' | 'Approved' | 'Rejected';
108
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
109
+ language: string;
109
110
  };
110
111
  }> | null;
111
112
  totalCount?: number;
@@ -168,12 +169,12 @@ export type UniRefund_CRMService_AffiliationCodes_AffiliationCodeDto = {
168
169
  isDeleted?: boolean;
169
170
  deleterId?: (string) | null;
170
171
  deletionTime?: (string) | null;
171
- name?: (string) | null;
172
+ name: string;
172
173
  description?: (string) | null;
173
- roleId?: (string) | null;
174
- status?: 'Waiting' | 'Approved' | 'Rejected';
175
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
176
- language?: (string) | null;
174
+ roleId: string;
175
+ status: 'Waiting' | 'Approved' | 'Rejected';
176
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
177
+ language: string;
177
178
  };
178
179
 
179
180
  export type status = 'Waiting' | 'Approved' | 'Rejected';
@@ -185,7 +186,7 @@ export type UniRefund_CRMService_AffiliationCodes_AffiliationCodeStatus = 'Waiti
185
186
  export type UniRefund_CRMService_AffiliationCodes_CreateAffiliationCodeDto = {
186
187
  name: string;
187
188
  description?: (string) | null;
188
- roleId?: (string) | null;
189
+ roleId: string;
189
190
  status: 'Waiting' | 'Approved' | 'Rejected';
190
191
  entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
191
192
  };
@@ -198,7 +199,7 @@ export type UniRefund_CRMService_AffiliationCodes_CreateUpdateAffiliationCodeTra
198
199
  export type UniRefund_CRMService_AffiliationCodes_UpdateAffiliationCodeDto = {
199
200
  name: string;
200
201
  description?: (string) | null;
201
- roleId?: (string) | null;
202
+ roleId: string;
202
203
  status: 'Waiting' | 'Approved' | 'Rejected';
203
204
  entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
204
205
  };
@@ -236,12 +237,12 @@ export type UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto = {
236
237
  isDeleted?: boolean;
237
238
  deleterId?: (string) | null;
238
239
  deletionTime?: (string) | null;
239
- name?: (string) | null;
240
+ name: string;
240
241
  description?: (string) | null;
241
- roleId?: (string) | null;
242
- status?: 'Waiting' | 'Approved' | 'Rejected';
243
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
244
- language?: (string) | null;
242
+ roleId: string;
243
+ status: 'Waiting' | 'Approved' | 'Rejected';
244
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
245
+ language: string;
245
246
  };
246
247
  partyId: string;
247
248
  approvedUserId?: (string) | null;
@@ -748,6 +749,11 @@ export type UniRefund_CRMService_Customss_CustomsProfileDto = {
748
749
  organizationId?: string;
749
750
  };
750
751
 
752
+ export type UniRefund_CRMService_Customss_UpdateCustomsDto = {
753
+ parentId?: (string) | null;
754
+ taxpayerId: string;
755
+ };
756
+
751
757
  export type UniRefund_CRMService_Customss_UpdateCustomsOrganizationDto = {
752
758
  name: string;
753
759
  parentCompanyId?: (string) | null;
@@ -1223,13 +1229,14 @@ export type UniRefund_CRMService_Individuals_IndividualProfileDto = {
1223
1229
  isDeleted?: boolean;
1224
1230
  deleterId?: (string) | null;
1225
1231
  deletionTime?: (string) | null;
1226
- name?: (string) | null;
1232
+ name: string;
1227
1233
  description?: (string) | null;
1228
- roleId?: (string) | null;
1229
- status?: 'Waiting' | 'Approved' | 'Rejected';
1230
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
1231
- language?: (string) | null;
1234
+ roleId: string;
1235
+ status: 'Waiting' | 'Approved' | 'Rejected';
1236
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
1237
+ language: string;
1232
1238
  };
1239
+ abpUserId?: (string) | null;
1233
1240
  };
1234
1241
 
1235
1242
  export type UniRefund_CRMService_Individuals_IndividualWithAbpUserAccountDto = {
@@ -1349,6 +1356,18 @@ export type UniRefund_CRMService_Individuals_IndividualWithAbpUserAccountDto = {
1349
1356
  };
1350
1357
  };
1351
1358
 
1359
+ export type UniRefund_CRMService_Integration_GetParentsIdItemResponseDto = {
1360
+ id: string;
1361
+ parentId?: (string) | null;
1362
+ };
1363
+
1364
+ export type UniRefund_CRMService_Integration_GetParentsIdsResponseDto = {
1365
+ ids: Array<{
1366
+ id: string;
1367
+ parentId?: (string) | null;
1368
+ }>;
1369
+ };
1370
+
1352
1371
  export type UniRefund_CRMService_Merchants_CreateMerchantDto = {
1353
1372
  typeCode: 'HEADQUARTER' | 'STORE';
1354
1373
  taxOfficeId?: (string) | null;
@@ -1879,12 +1898,12 @@ export type UniRefund_CRMService_Merchants_MerchantDetailDto = {
1879
1898
  isDeleted?: boolean;
1880
1899
  deleterId?: (string) | null;
1881
1900
  deletionTime?: (string) | null;
1882
- name?: (string) | null;
1901
+ name: string;
1883
1902
  description?: (string) | null;
1884
- roleId?: (string) | null;
1885
- status?: 'Waiting' | 'Approved' | 'Rejected';
1886
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
1887
- language?: (string) | null;
1903
+ roleId: string;
1904
+ status: 'Waiting' | 'Approved' | 'Rejected';
1905
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
1906
+ language: string;
1888
1907
  };
1889
1908
  partyId: string;
1890
1909
  approvedUserId?: (string) | null;
@@ -2139,12 +2158,12 @@ export type UniRefund_CRMService_Merchants_MerchantDto = {
2139
2158
  isDeleted?: boolean;
2140
2159
  deleterId?: (string) | null;
2141
2160
  deletionTime?: (string) | null;
2142
- name?: (string) | null;
2161
+ name: string;
2143
2162
  description?: (string) | null;
2144
- roleId?: (string) | null;
2145
- status?: 'Waiting' | 'Approved' | 'Rejected';
2146
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
2147
- language?: (string) | null;
2163
+ roleId: string;
2164
+ status: 'Waiting' | 'Approved' | 'Rejected';
2165
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
2166
+ language: string;
2148
2167
  };
2149
2168
  partyId: string;
2150
2169
  approvedUserId?: (string) | null;
@@ -2228,12 +2247,12 @@ export type UniRefund_CRMService_Merchants_SubIndividualDto = {
2228
2247
  isDeleted?: boolean;
2229
2248
  deleterId?: (string) | null;
2230
2249
  deletionTime?: (string) | null;
2231
- name?: (string) | null;
2250
+ name: string;
2232
2251
  description?: (string) | null;
2233
- roleId?: (string) | null;
2234
- status?: 'Waiting' | 'Approved' | 'Rejected';
2235
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
2236
- language?: (string) | null;
2252
+ roleId: string;
2253
+ status: 'Waiting' | 'Approved' | 'Rejected';
2254
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
2255
+ language: string;
2237
2256
  };
2238
2257
  };
2239
2258
 
@@ -2420,12 +2439,12 @@ export type UniRefund_CRMService_Organizations_OrganizationProfileDto = {
2420
2439
  isDeleted?: boolean;
2421
2440
  deleterId?: (string) | null;
2422
2441
  deletionTime?: (string) | null;
2423
- name?: (string) | null;
2442
+ name: string;
2424
2443
  description?: (string) | null;
2425
- roleId?: (string) | null;
2426
- status?: 'Waiting' | 'Approved' | 'Rejected';
2427
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
2428
- language?: (string) | null;
2444
+ roleId: string;
2445
+ status: 'Waiting' | 'Approved' | 'Rejected';
2446
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
2447
+ language: string;
2429
2448
  };
2430
2449
  };
2431
2450
 
@@ -3435,6 +3454,7 @@ export type UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
3435
3454
  isDeleted?: boolean;
3436
3455
  deleterId?: (string) | null;
3437
3456
  deletionTime?: (string) | null;
3457
+ parentId?: (string) | null;
3438
3458
  taxpayerId?: (string) | null;
3439
3459
  entityInformations?: Array<{
3440
3460
  id?: string;
@@ -3653,6 +3673,11 @@ export type UniRefund_CRMService_TaxOffices_TaxOfficeProfileDto = {
3653
3673
  taxpayerId?: (string) | null;
3654
3674
  };
3655
3675
 
3676
+ export type UniRefund_CRMService_TaxOffices_UpdateTaxOfficeDto = {
3677
+ parentId?: (string) | null;
3678
+ taxpayerId: string;
3679
+ };
3680
+
3656
3681
  export type UniRefund_CRMService_TaxOffices_UpdateTaxOfficeOrganizationDto = {
3657
3682
  readonly extraProperties?: {
3658
3683
  [key: string]: unknown;
@@ -5285,12 +5310,12 @@ export type GetApiCrmServiceAffiliationCodesResponse = ({
5285
5310
  isDeleted?: boolean;
5286
5311
  deleterId?: (string) | null;
5287
5312
  deletionTime?: (string) | null;
5288
- name?: (string) | null;
5313
+ name: string;
5289
5314
  description?: (string) | null;
5290
- roleId?: (string) | null;
5291
- status?: 'Waiting' | 'Approved' | 'Rejected';
5292
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5293
- language?: (string) | null;
5315
+ roleId: string;
5316
+ status: 'Waiting' | 'Approved' | 'Rejected';
5317
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5318
+ language: string;
5294
5319
  }> | null;
5295
5320
  totalCount?: number;
5296
5321
  });
@@ -5299,7 +5324,7 @@ export type PostApiCrmServiceAffiliationCodesData = {
5299
5324
  requestBody?: {
5300
5325
  name: string;
5301
5326
  description?: (string) | null;
5302
- roleId?: (string) | null;
5327
+ roleId: string;
5303
5328
  status: 'Waiting' | 'Approved' | 'Rejected';
5304
5329
  entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5305
5330
  };
@@ -5314,12 +5339,12 @@ export type PostApiCrmServiceAffiliationCodesResponse = ({
5314
5339
  isDeleted?: boolean;
5315
5340
  deleterId?: (string) | null;
5316
5341
  deletionTime?: (string) | null;
5317
- name?: (string) | null;
5342
+ name: string;
5318
5343
  description?: (string) | null;
5319
- roleId?: (string) | null;
5320
- status?: 'Waiting' | 'Approved' | 'Rejected';
5321
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5322
- language?: (string) | null;
5344
+ roleId: string;
5345
+ status: 'Waiting' | 'Approved' | 'Rejected';
5346
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5347
+ language: string;
5323
5348
  });
5324
5349
 
5325
5350
  export type GetApiCrmServiceAffiliationCodesByIdData = {
@@ -5335,12 +5360,12 @@ export type GetApiCrmServiceAffiliationCodesByIdResponse = ({
5335
5360
  isDeleted?: boolean;
5336
5361
  deleterId?: (string) | null;
5337
5362
  deletionTime?: (string) | null;
5338
- name?: (string) | null;
5363
+ name: string;
5339
5364
  description?: (string) | null;
5340
- roleId?: (string) | null;
5341
- status?: 'Waiting' | 'Approved' | 'Rejected';
5342
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5343
- language?: (string) | null;
5365
+ roleId: string;
5366
+ status: 'Waiting' | 'Approved' | 'Rejected';
5367
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5368
+ language: string;
5344
5369
  });
5345
5370
 
5346
5371
  export type PutApiCrmServiceAffiliationCodesByIdData = {
@@ -5348,7 +5373,7 @@ export type PutApiCrmServiceAffiliationCodesByIdData = {
5348
5373
  requestBody?: {
5349
5374
  name: string;
5350
5375
  description?: (string) | null;
5351
- roleId?: (string) | null;
5376
+ roleId: string;
5352
5377
  status: 'Waiting' | 'Approved' | 'Rejected';
5353
5378
  entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5354
5379
  };
@@ -5363,12 +5388,12 @@ export type PutApiCrmServiceAffiliationCodesByIdResponse = ({
5363
5388
  isDeleted?: boolean;
5364
5389
  deleterId?: (string) | null;
5365
5390
  deletionTime?: (string) | null;
5366
- name?: (string) | null;
5391
+ name: string;
5367
5392
  description?: (string) | null;
5368
- roleId?: (string) | null;
5369
- status?: 'Waiting' | 'Approved' | 'Rejected';
5370
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5371
- language?: (string) | null;
5393
+ roleId: string;
5394
+ status: 'Waiting' | 'Approved' | 'Rejected';
5395
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5396
+ language: string;
5372
5397
  });
5373
5398
 
5374
5399
  export type DeleteApiCrmServiceAffiliationCodesByIdData = {
@@ -5721,71 +5746,15 @@ export type PostApiCrmServiceCustomsWithComponentsResponse = ({
5721
5746
  organizationId?: string;
5722
5747
  });
5723
5748
 
5724
- export type DeleteApiCrmServiceCustomsByIdWithComponentsData = {
5725
- id: string;
5726
- };
5727
-
5728
- export type DeleteApiCrmServiceCustomsByIdWithComponentsResponse = (unknown);
5729
-
5730
- export type PostApiCrmServiceCustomsByIdAffiliationsData = {
5731
- id: string;
5732
- requestBody?: {
5733
- readonly extraProperties?: {
5734
- [key: string]: unknown;
5735
- } | null;
5736
- description?: (string) | null;
5737
- affiliationCodeId: number;
5738
- email: string;
5739
- entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
5740
- };
5741
- };
5742
-
5743
- export type PostApiCrmServiceCustomsByIdAffiliationsResponse = (unknown);
5744
-
5745
- export type GetApiCrmServiceCustomsByIdAffiliationsData = {
5746
- affiliationCodeId?: number;
5747
- email?: string;
5748
- entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
5749
- id: string;
5750
- maxResultCount?: number;
5751
- name?: string;
5752
- skipCount?: number;
5753
- sorting?: string;
5754
- telephone?: string;
5755
- };
5756
-
5757
- export type GetApiCrmServiceCustomsByIdAffiliationsResponse = ({
5758
- items?: Array<{
5759
- id?: string;
5760
- partyId: string;
5761
- name: string;
5762
- codeId: number;
5763
- codeName: string;
5764
- entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
5765
- abpUserId?: (string) | null;
5766
- email: string;
5767
- telephone: string;
5768
- }> | null;
5769
- totalCount?: number;
5770
- });
5771
-
5772
- export type DeleteApiCrmServiceCustomsByIdAffiliationsByAffiliationIdData = {
5773
- affiliationId: string;
5774
- id: string;
5775
- };
5776
-
5777
- export type DeleteApiCrmServiceCustomsByIdAffiliationsByAffiliationIdResponse = (unknown);
5778
-
5779
- export type PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdData = {
5749
+ export type PutApiCrmServiceCustomsByIdData = {
5780
5750
  id: string;
5781
- organizationId: string;
5782
5751
  requestBody?: {
5783
- name: string;
5784
- parentCompanyId?: (string) | null;
5752
+ parentId?: (string) | null;
5753
+ taxpayerId: string;
5785
5754
  };
5786
5755
  };
5787
5756
 
5788
- export type PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse = ({
5757
+ export type PutApiCrmServiceCustomsByIdResponse = ({
5789
5758
  id?: string;
5790
5759
  creationTime?: string;
5791
5760
  creatorId?: (string) | null;
@@ -5794,11 +5763,9 @@ export type PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse = (
5794
5763
  isDeleted?: boolean;
5795
5764
  deleterId?: (string) | null;
5796
5765
  deletionTime?: (string) | null;
5797
- entityInformationTypeId?: (string) | null;
5798
- name?: (string) | null;
5799
- legalStatusCode?: (string) | null;
5800
- readonly countryCode?: (string) | null;
5801
- contactInformations?: Array<{
5766
+ parentId?: (string) | null;
5767
+ taxpayerId?: (string) | null;
5768
+ entityInformations?: Array<{
5802
5769
  id?: string;
5803
5770
  creationTime?: string;
5804
5771
  creatorId?: (string) | null;
@@ -5807,47 +5774,11 @@ export type PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse = (
5807
5774
  isDeleted?: boolean;
5808
5775
  deleterId?: (string) | null;
5809
5776
  deletionTime?: (string) | null;
5810
- organizationId?: (string) | null;
5811
- individualId?: (string) | null;
5812
- startDate?: string;
5813
- endDate?: string;
5814
- telephones?: Array<{
5815
- id?: string;
5816
- creationTime?: string;
5817
- creatorId?: (string) | null;
5818
- lastModificationTime?: (string) | null;
5819
- lastModifierId?: (string) | null;
5820
- isDeleted?: boolean;
5821
- deleterId?: (string) | null;
5822
- deletionTime?: (string) | null;
5823
- areaCode?: (string) | null;
5824
- localNumber?: (string) | null;
5825
- ituCountryCode?: (string) | null;
5826
- primaryFlag?: boolean;
5827
- typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
5828
- contactInformationTypeId?: string;
5829
- }> | null;
5830
- addresses?: Array<{
5831
- id: string;
5832
- creationTime?: string;
5833
- creatorId?: (string) | null;
5834
- lastModificationTime?: (string) | null;
5835
- lastModifierId?: (string) | null;
5836
- isDeleted?: boolean;
5837
- deleterId?: (string) | null;
5838
- deletionTime?: (string) | null;
5839
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
5840
- addressLine: string;
5841
- postalCode: string;
5842
- fullAddress: string;
5843
- primaryFlag?: boolean;
5844
- countryId: string;
5845
- regionId?: (string) | null;
5846
- cityId: string;
5847
- districtId: string;
5848
- neighborhoodId?: (string) | null;
5849
- }> | null;
5850
- emails?: Array<{
5777
+ merchantId?: (string) | null;
5778
+ customsId?: (string) | null;
5779
+ entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5780
+ entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
5781
+ individuals?: Array<{
5851
5782
  id?: string;
5852
5783
  creationTime?: string;
5853
5784
  creatorId?: (string) | null;
@@ -5856,85 +5787,248 @@ export type PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse = (
5856
5787
  isDeleted?: boolean;
5857
5788
  deleterId?: (string) | null;
5858
5789
  deletionTime?: (string) | null;
5859
- primaryFlag?: boolean;
5860
- typeCode?: 'WORK' | 'PERSONAL';
5861
- emailAddress?: (string) | null;
5862
- contactInformationTypeId?: string;
5863
- }> | null;
5864
- }> | null;
5865
- });
5866
-
5867
- export type PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdData = {
5868
- id: string;
5869
- requestBody?: {
5870
- readonly extraProperties?: {
5871
- [key: string]: unknown;
5872
- } | null;
5873
- areaCode: string;
5874
- localNumber: string;
5875
- ituCountryCode: string;
5876
- primaryFlag?: boolean;
5877
- typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
5878
- };
5879
- telephoneId: string;
5880
- };
5881
-
5882
- export type PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdResponse = ({
5883
- id?: string;
5884
- creationTime?: string;
5885
- creatorId?: (string) | null;
5886
- lastModificationTime?: (string) | null;
5887
- lastModifierId?: (string) | null;
5888
- isDeleted?: boolean;
5889
- deleterId?: (string) | null;
5890
- deletionTime?: (string) | null;
5891
- areaCode?: (string) | null;
5892
- localNumber?: (string) | null;
5893
- ituCountryCode?: (string) | null;
5894
- primaryFlag?: boolean;
5895
- typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
5896
- contactInformationTypeId?: string;
5897
- });
5898
-
5899
- export type PutApiCrmServiceCustomsByIdAddressesByAddressIdData = {
5900
- addressId: string;
5901
- id: string;
5902
- requestBody?: {
5903
- readonly extraProperties?: {
5904
- [key: string]: unknown;
5905
- } | null;
5906
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
5907
- addressLine: string;
5908
- postalCode: string;
5909
- primaryFlag?: boolean;
5910
- countryId: string;
5911
- regionId?: (string) | null;
5912
- cityId?: (string) | null;
5913
- districtId?: (string) | null;
5914
- neighborhoodId?: (string) | null;
5915
- };
5790
+ name?: {
5791
+ id?: string;
5792
+ creationTime?: string;
5793
+ creatorId?: (string) | null;
5794
+ lastModificationTime?: (string) | null;
5795
+ lastModifierId?: (string) | null;
5796
+ isDeleted?: boolean;
5797
+ deleterId?: (string) | null;
5798
+ deletionTime?: (string) | null;
5799
+ salutation?: (string) | null;
5800
+ firstName?: (string) | null;
5801
+ lastName?: (string) | null;
5802
+ suffix?: (string) | null;
5803
+ mailingName?: (string) | null;
5804
+ officialName?: (string) | null;
5805
+ individualId?: string;
5806
+ };
5807
+ contactInformations?: Array<{
5808
+ id?: string;
5809
+ creationTime?: string;
5810
+ creatorId?: (string) | null;
5811
+ lastModificationTime?: (string) | null;
5812
+ lastModifierId?: (string) | null;
5813
+ isDeleted?: boolean;
5814
+ deleterId?: (string) | null;
5815
+ deletionTime?: (string) | null;
5816
+ organizationId?: (string) | null;
5817
+ individualId?: (string) | null;
5818
+ startDate?: string;
5819
+ endDate?: string;
5820
+ telephones?: Array<{
5821
+ id?: string;
5822
+ creationTime?: string;
5823
+ creatorId?: (string) | null;
5824
+ lastModificationTime?: (string) | null;
5825
+ lastModifierId?: (string) | null;
5826
+ isDeleted?: boolean;
5827
+ deleterId?: (string) | null;
5828
+ deletionTime?: (string) | null;
5829
+ areaCode?: (string) | null;
5830
+ localNumber?: (string) | null;
5831
+ ituCountryCode?: (string) | null;
5832
+ primaryFlag?: boolean;
5833
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
5834
+ contactInformationTypeId?: string;
5835
+ }> | null;
5836
+ addresses?: Array<{
5837
+ id: string;
5838
+ creationTime?: string;
5839
+ creatorId?: (string) | null;
5840
+ lastModificationTime?: (string) | null;
5841
+ lastModifierId?: (string) | null;
5842
+ isDeleted?: boolean;
5843
+ deleterId?: (string) | null;
5844
+ deletionTime?: (string) | null;
5845
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
5846
+ addressLine: string;
5847
+ postalCode: string;
5848
+ fullAddress: string;
5849
+ primaryFlag?: boolean;
5850
+ countryId: string;
5851
+ regionId?: (string) | null;
5852
+ cityId: string;
5853
+ districtId: string;
5854
+ neighborhoodId?: (string) | null;
5855
+ }> | null;
5856
+ emails?: Array<{
5857
+ id?: string;
5858
+ creationTime?: string;
5859
+ creatorId?: (string) | null;
5860
+ lastModificationTime?: (string) | null;
5861
+ lastModifierId?: (string) | null;
5862
+ isDeleted?: boolean;
5863
+ deleterId?: (string) | null;
5864
+ deletionTime?: (string) | null;
5865
+ primaryFlag?: boolean;
5866
+ typeCode?: 'WORK' | 'PERSONAL';
5867
+ emailAddress?: (string) | null;
5868
+ contactInformationTypeId?: string;
5869
+ }> | null;
5870
+ }> | null;
5871
+ personalSummaries?: Array<{
5872
+ id?: string;
5873
+ creationTime?: string;
5874
+ creatorId?: (string) | null;
5875
+ lastModificationTime?: (string) | null;
5876
+ lastModifierId?: (string) | null;
5877
+ isDeleted?: boolean;
5878
+ deleterId?: (string) | null;
5879
+ deletionTime?: (string) | null;
5880
+ date?: string;
5881
+ birthDate?: string;
5882
+ ethnicity?: (string) | null;
5883
+ maritalStatusCode?: (string) | null;
5884
+ religiousAffiliationName?: (string) | null;
5885
+ genderTypeCode?: 'MALE' | 'FEMALE';
5886
+ individualId?: string;
5887
+ }> | null;
5888
+ entityInformationTypeId?: (string) | null;
5889
+ abpUserId?: (string) | null;
5890
+ }> | null;
5891
+ organizations?: Array<{
5892
+ id?: string;
5893
+ creationTime?: string;
5894
+ creatorId?: (string) | null;
5895
+ lastModificationTime?: (string) | null;
5896
+ lastModifierId?: (string) | null;
5897
+ isDeleted?: boolean;
5898
+ deleterId?: (string) | null;
5899
+ deletionTime?: (string) | null;
5900
+ entityInformationTypeId?: (string) | null;
5901
+ name?: (string) | null;
5902
+ legalStatusCode?: (string) | null;
5903
+ readonly countryCode?: (string) | null;
5904
+ contactInformations?: Array<{
5905
+ id?: string;
5906
+ creationTime?: string;
5907
+ creatorId?: (string) | null;
5908
+ lastModificationTime?: (string) | null;
5909
+ lastModifierId?: (string) | null;
5910
+ isDeleted?: boolean;
5911
+ deleterId?: (string) | null;
5912
+ deletionTime?: (string) | null;
5913
+ organizationId?: (string) | null;
5914
+ individualId?: (string) | null;
5915
+ startDate?: string;
5916
+ endDate?: string;
5917
+ telephones?: Array<{
5918
+ id?: string;
5919
+ creationTime?: string;
5920
+ creatorId?: (string) | null;
5921
+ lastModificationTime?: (string) | null;
5922
+ lastModifierId?: (string) | null;
5923
+ isDeleted?: boolean;
5924
+ deleterId?: (string) | null;
5925
+ deletionTime?: (string) | null;
5926
+ areaCode?: (string) | null;
5927
+ localNumber?: (string) | null;
5928
+ ituCountryCode?: (string) | null;
5929
+ primaryFlag?: boolean;
5930
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
5931
+ contactInformationTypeId?: string;
5932
+ }> | null;
5933
+ addresses?: Array<{
5934
+ id: string;
5935
+ creationTime?: string;
5936
+ creatorId?: (string) | null;
5937
+ lastModificationTime?: (string) | null;
5938
+ lastModifierId?: (string) | null;
5939
+ isDeleted?: boolean;
5940
+ deleterId?: (string) | null;
5941
+ deletionTime?: (string) | null;
5942
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
5943
+ addressLine: string;
5944
+ postalCode: string;
5945
+ fullAddress: string;
5946
+ primaryFlag?: boolean;
5947
+ countryId: string;
5948
+ regionId?: (string) | null;
5949
+ cityId: string;
5950
+ districtId: string;
5951
+ neighborhoodId?: (string) | null;
5952
+ }> | null;
5953
+ emails?: Array<{
5954
+ id?: string;
5955
+ creationTime?: string;
5956
+ creatorId?: (string) | null;
5957
+ lastModificationTime?: (string) | null;
5958
+ lastModifierId?: (string) | null;
5959
+ isDeleted?: boolean;
5960
+ deleterId?: (string) | null;
5961
+ deletionTime?: (string) | null;
5962
+ primaryFlag?: boolean;
5963
+ typeCode?: 'WORK' | 'PERSONAL';
5964
+ emailAddress?: (string) | null;
5965
+ contactInformationTypeId?: string;
5966
+ }> | null;
5967
+ }> | null;
5968
+ }> | null;
5969
+ }> | null;
5970
+ });
5971
+
5972
+ export type DeleteApiCrmServiceCustomsByIdWithComponentsData = {
5973
+ id: string;
5916
5974
  };
5917
5975
 
5918
- export type PutApiCrmServiceCustomsByIdAddressesByAddressIdResponse = ({
5919
- contactInformationTypeId?: string;
5920
- locationServiceAddressId?: string;
5921
- });
5976
+ export type DeleteApiCrmServiceCustomsByIdWithComponentsResponse = (unknown);
5922
5977
 
5923
- export type PutApiCrmServiceCustomsByIdEmailsByEmailIdData = {
5924
- addressId?: string;
5925
- emailId: string;
5978
+ export type PostApiCrmServiceCustomsByIdAffiliationsData = {
5926
5979
  id: string;
5927
5980
  requestBody?: {
5928
5981
  readonly extraProperties?: {
5929
5982
  [key: string]: unknown;
5930
5983
  } | null;
5931
- emailAddress: string;
5932
- primaryFlag?: boolean;
5933
- typeCode: 'WORK' | 'PERSONAL';
5984
+ description?: (string) | null;
5985
+ affiliationCodeId: number;
5986
+ email: string;
5987
+ entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
5934
5988
  };
5935
5989
  };
5936
5990
 
5937
- export type PutApiCrmServiceCustomsByIdEmailsByEmailIdResponse = ({
5991
+ export type PostApiCrmServiceCustomsByIdAffiliationsResponse = (unknown);
5992
+
5993
+ export type GetApiCrmServiceCustomsByIdAffiliationsData = {
5994
+ affiliationCodeId?: number;
5995
+ email?: string;
5996
+ entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
5997
+ id: string;
5998
+ maxResultCount?: number;
5999
+ name?: string;
6000
+ skipCount?: number;
6001
+ sorting?: string;
6002
+ telephone?: string;
6003
+ };
6004
+
6005
+ export type GetApiCrmServiceCustomsByIdAffiliationsResponse = ({
6006
+ items?: Array<{
6007
+ id?: string;
6008
+ partyId: string;
6009
+ name: string;
6010
+ codeId: number;
6011
+ codeName: string;
6012
+ entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
6013
+ abpUserId?: (string) | null;
6014
+ email: string;
6015
+ telephone: string;
6016
+ }> | null;
6017
+ totalCount?: number;
6018
+ });
6019
+
6020
+ export type DeleteApiCrmServiceCustomsByIdAffiliationsByAffiliationIdData = {
6021
+ affiliationId: string;
6022
+ id: string;
6023
+ };
6024
+
6025
+ export type DeleteApiCrmServiceCustomsByIdAffiliationsByAffiliationIdResponse = (unknown);
6026
+
6027
+ export type GetApiCrmServiceCustomsByIdOrganizationsData = {
6028
+ id: string;
6029
+ };
6030
+
6031
+ export type GetApiCrmServiceCustomsByIdOrganizationsResponse = (Array<{
5938
6032
  id?: string;
5939
6033
  creationTime?: string;
5940
6034
  creatorId?: (string) | null;
@@ -5943,14 +6037,251 @@ export type PutApiCrmServiceCustomsByIdEmailsByEmailIdResponse = ({
5943
6037
  isDeleted?: boolean;
5944
6038
  deleterId?: (string) | null;
5945
6039
  deletionTime?: (string) | null;
5946
- primaryFlag?: boolean;
5947
- typeCode?: 'WORK' | 'PERSONAL';
5948
- emailAddress?: (string) | null;
5949
- contactInformationTypeId?: string;
5950
- });
5951
-
5952
- export type GetApiCrmServiceCustomsByIdAffilatedIndividualsData = {
5953
- id: string;
6040
+ entityInformationTypeId?: (string) | null;
6041
+ name?: (string) | null;
6042
+ legalStatusCode?: (string) | null;
6043
+ readonly countryCode?: (string) | null;
6044
+ contactInformations?: Array<{
6045
+ id?: string;
6046
+ creationTime?: string;
6047
+ creatorId?: (string) | null;
6048
+ lastModificationTime?: (string) | null;
6049
+ lastModifierId?: (string) | null;
6050
+ isDeleted?: boolean;
6051
+ deleterId?: (string) | null;
6052
+ deletionTime?: (string) | null;
6053
+ organizationId?: (string) | null;
6054
+ individualId?: (string) | null;
6055
+ startDate?: string;
6056
+ endDate?: string;
6057
+ telephones?: Array<{
6058
+ id?: string;
6059
+ creationTime?: string;
6060
+ creatorId?: (string) | null;
6061
+ lastModificationTime?: (string) | null;
6062
+ lastModifierId?: (string) | null;
6063
+ isDeleted?: boolean;
6064
+ deleterId?: (string) | null;
6065
+ deletionTime?: (string) | null;
6066
+ areaCode?: (string) | null;
6067
+ localNumber?: (string) | null;
6068
+ ituCountryCode?: (string) | null;
6069
+ primaryFlag?: boolean;
6070
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
6071
+ contactInformationTypeId?: string;
6072
+ }> | null;
6073
+ addresses?: Array<{
6074
+ id: string;
6075
+ creationTime?: string;
6076
+ creatorId?: (string) | null;
6077
+ lastModificationTime?: (string) | null;
6078
+ lastModifierId?: (string) | null;
6079
+ isDeleted?: boolean;
6080
+ deleterId?: (string) | null;
6081
+ deletionTime?: (string) | null;
6082
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
6083
+ addressLine: string;
6084
+ postalCode: string;
6085
+ fullAddress: string;
6086
+ primaryFlag?: boolean;
6087
+ countryId: string;
6088
+ regionId?: (string) | null;
6089
+ cityId: string;
6090
+ districtId: string;
6091
+ neighborhoodId?: (string) | null;
6092
+ }> | null;
6093
+ emails?: Array<{
6094
+ id?: string;
6095
+ creationTime?: string;
6096
+ creatorId?: (string) | null;
6097
+ lastModificationTime?: (string) | null;
6098
+ lastModifierId?: (string) | null;
6099
+ isDeleted?: boolean;
6100
+ deleterId?: (string) | null;
6101
+ deletionTime?: (string) | null;
6102
+ primaryFlag?: boolean;
6103
+ typeCode?: 'WORK' | 'PERSONAL';
6104
+ emailAddress?: (string) | null;
6105
+ contactInformationTypeId?: string;
6106
+ }> | null;
6107
+ }> | null;
6108
+ }>);
6109
+
6110
+ export type PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdData = {
6111
+ id: string;
6112
+ organizationId: string;
6113
+ requestBody?: {
6114
+ name: string;
6115
+ parentCompanyId?: (string) | null;
6116
+ };
6117
+ };
6118
+
6119
+ export type PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse = ({
6120
+ id?: string;
6121
+ creationTime?: string;
6122
+ creatorId?: (string) | null;
6123
+ lastModificationTime?: (string) | null;
6124
+ lastModifierId?: (string) | null;
6125
+ isDeleted?: boolean;
6126
+ deleterId?: (string) | null;
6127
+ deletionTime?: (string) | null;
6128
+ entityInformationTypeId?: (string) | null;
6129
+ name?: (string) | null;
6130
+ legalStatusCode?: (string) | null;
6131
+ readonly countryCode?: (string) | null;
6132
+ contactInformations?: Array<{
6133
+ id?: string;
6134
+ creationTime?: string;
6135
+ creatorId?: (string) | null;
6136
+ lastModificationTime?: (string) | null;
6137
+ lastModifierId?: (string) | null;
6138
+ isDeleted?: boolean;
6139
+ deleterId?: (string) | null;
6140
+ deletionTime?: (string) | null;
6141
+ organizationId?: (string) | null;
6142
+ individualId?: (string) | null;
6143
+ startDate?: string;
6144
+ endDate?: string;
6145
+ telephones?: Array<{
6146
+ id?: string;
6147
+ creationTime?: string;
6148
+ creatorId?: (string) | null;
6149
+ lastModificationTime?: (string) | null;
6150
+ lastModifierId?: (string) | null;
6151
+ isDeleted?: boolean;
6152
+ deleterId?: (string) | null;
6153
+ deletionTime?: (string) | null;
6154
+ areaCode?: (string) | null;
6155
+ localNumber?: (string) | null;
6156
+ ituCountryCode?: (string) | null;
6157
+ primaryFlag?: boolean;
6158
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
6159
+ contactInformationTypeId?: string;
6160
+ }> | null;
6161
+ addresses?: Array<{
6162
+ id: string;
6163
+ creationTime?: string;
6164
+ creatorId?: (string) | null;
6165
+ lastModificationTime?: (string) | null;
6166
+ lastModifierId?: (string) | null;
6167
+ isDeleted?: boolean;
6168
+ deleterId?: (string) | null;
6169
+ deletionTime?: (string) | null;
6170
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
6171
+ addressLine: string;
6172
+ postalCode: string;
6173
+ fullAddress: string;
6174
+ primaryFlag?: boolean;
6175
+ countryId: string;
6176
+ regionId?: (string) | null;
6177
+ cityId: string;
6178
+ districtId: string;
6179
+ neighborhoodId?: (string) | null;
6180
+ }> | null;
6181
+ emails?: Array<{
6182
+ id?: string;
6183
+ creationTime?: string;
6184
+ creatorId?: (string) | null;
6185
+ lastModificationTime?: (string) | null;
6186
+ lastModifierId?: (string) | null;
6187
+ isDeleted?: boolean;
6188
+ deleterId?: (string) | null;
6189
+ deletionTime?: (string) | null;
6190
+ primaryFlag?: boolean;
6191
+ typeCode?: 'WORK' | 'PERSONAL';
6192
+ emailAddress?: (string) | null;
6193
+ contactInformationTypeId?: string;
6194
+ }> | null;
6195
+ }> | null;
6196
+ });
6197
+
6198
+ export type PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdData = {
6199
+ id: string;
6200
+ requestBody?: {
6201
+ readonly extraProperties?: {
6202
+ [key: string]: unknown;
6203
+ } | null;
6204
+ areaCode: string;
6205
+ localNumber: string;
6206
+ ituCountryCode: string;
6207
+ primaryFlag?: boolean;
6208
+ typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
6209
+ };
6210
+ telephoneId: string;
6211
+ };
6212
+
6213
+ export type PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdResponse = ({
6214
+ id?: string;
6215
+ creationTime?: string;
6216
+ creatorId?: (string) | null;
6217
+ lastModificationTime?: (string) | null;
6218
+ lastModifierId?: (string) | null;
6219
+ isDeleted?: boolean;
6220
+ deleterId?: (string) | null;
6221
+ deletionTime?: (string) | null;
6222
+ areaCode?: (string) | null;
6223
+ localNumber?: (string) | null;
6224
+ ituCountryCode?: (string) | null;
6225
+ primaryFlag?: boolean;
6226
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
6227
+ contactInformationTypeId?: string;
6228
+ });
6229
+
6230
+ export type PutApiCrmServiceCustomsByIdAddressesByAddressIdData = {
6231
+ addressId: string;
6232
+ id: string;
6233
+ requestBody?: {
6234
+ readonly extraProperties?: {
6235
+ [key: string]: unknown;
6236
+ } | null;
6237
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
6238
+ addressLine: string;
6239
+ postalCode: string;
6240
+ primaryFlag?: boolean;
6241
+ countryId: string;
6242
+ regionId?: (string) | null;
6243
+ cityId?: (string) | null;
6244
+ districtId?: (string) | null;
6245
+ neighborhoodId?: (string) | null;
6246
+ };
6247
+ };
6248
+
6249
+ export type PutApiCrmServiceCustomsByIdAddressesByAddressIdResponse = ({
6250
+ contactInformationTypeId?: string;
6251
+ locationServiceAddressId?: string;
6252
+ });
6253
+
6254
+ export type PutApiCrmServiceCustomsByIdEmailsByEmailIdData = {
6255
+ addressId?: string;
6256
+ emailId: string;
6257
+ id: string;
6258
+ requestBody?: {
6259
+ readonly extraProperties?: {
6260
+ [key: string]: unknown;
6261
+ } | null;
6262
+ emailAddress: string;
6263
+ primaryFlag?: boolean;
6264
+ typeCode: 'WORK' | 'PERSONAL';
6265
+ };
6266
+ };
6267
+
6268
+ export type PutApiCrmServiceCustomsByIdEmailsByEmailIdResponse = ({
6269
+ id?: string;
6270
+ creationTime?: string;
6271
+ creatorId?: (string) | null;
6272
+ lastModificationTime?: (string) | null;
6273
+ lastModifierId?: (string) | null;
6274
+ isDeleted?: boolean;
6275
+ deleterId?: (string) | null;
6276
+ deletionTime?: (string) | null;
6277
+ primaryFlag?: boolean;
6278
+ typeCode?: 'WORK' | 'PERSONAL';
6279
+ emailAddress?: (string) | null;
6280
+ contactInformationTypeId?: string;
6281
+ });
6282
+
6283
+ export type GetApiCrmServiceCustomsByIdAffilatedIndividualsData = {
6284
+ id: string;
5954
6285
  };
5955
6286
 
5956
6287
  export type GetApiCrmServiceCustomsByIdAffilatedIndividualsResponse = (Array<{
@@ -5965,12 +6296,12 @@ export type GetApiCrmServiceCustomsByIdAffilatedIndividualsResponse = (Array<{
5965
6296
  isDeleted?: boolean;
5966
6297
  deleterId?: (string) | null;
5967
6298
  deletionTime?: (string) | null;
5968
- name?: (string) | null;
6299
+ name: string;
5969
6300
  description?: (string) | null;
5970
- roleId?: (string) | null;
5971
- status?: 'Waiting' | 'Approved' | 'Rejected';
5972
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
5973
- language?: (string) | null;
6301
+ roleId: string;
6302
+ status: 'Waiting' | 'Approved' | 'Rejected';
6303
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
6304
+ language: string;
5974
6305
  };
5975
6306
  }>);
5976
6307
 
@@ -6204,14 +6535,15 @@ export type GetApiCrmServiceIndividualsByIdResponse = ({
6204
6535
  isDeleted?: boolean;
6205
6536
  deleterId?: (string) | null;
6206
6537
  deletionTime?: (string) | null;
6207
- name?: (string) | null;
6538
+ name: string;
6208
6539
  description?: (string) | null;
6209
- roleId?: (string) | null;
6210
- status?: 'Waiting' | 'Approved' | 'Rejected';
6211
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
6212
- language?: (string) | null;
6213
- };
6214
- });
6540
+ roleId: string;
6541
+ status: 'Waiting' | 'Approved' | 'Rejected';
6542
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
6543
+ language: string;
6544
+ };
6545
+ abpUserId?: (string) | null;
6546
+ });
6215
6547
 
6216
6548
  export type GetApiCrmServiceIndividualsData = {
6217
6549
  email?: string;
@@ -6238,13 +6570,14 @@ export type GetApiCrmServiceIndividualsResponse = ({
6238
6570
  isDeleted?: boolean;
6239
6571
  deleterId?: (string) | null;
6240
6572
  deletionTime?: (string) | null;
6241
- name?: (string) | null;
6573
+ name: string;
6242
6574
  description?: (string) | null;
6243
- roleId?: (string) | null;
6244
- status?: 'Waiting' | 'Approved' | 'Rejected';
6245
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
6246
- language?: (string) | null;
6575
+ roleId: string;
6576
+ status: 'Waiting' | 'Approved' | 'Rejected';
6577
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
6578
+ language: string;
6247
6579
  };
6580
+ abpUserId?: (string) | null;
6248
6581
  }> | null;
6249
6582
  totalCount?: number;
6250
6583
  });
@@ -6562,6 +6895,71 @@ export type PutApiCrmServiceIndividualsByIdEmailByEmailIdResponse = ({
6562
6895
  contactInformationTypeId?: string;
6563
6896
  });
6564
6897
 
6898
+ export type GetApiCrmServiceIndividualsByIdAddressesData = {
6899
+ id: string;
6900
+ };
6901
+
6902
+ export type GetApiCrmServiceIndividualsByIdAddressesResponse = (Array<{
6903
+ id: string;
6904
+ creationTime?: string;
6905
+ creatorId?: (string) | null;
6906
+ lastModificationTime?: (string) | null;
6907
+ lastModifierId?: (string) | null;
6908
+ isDeleted?: boolean;
6909
+ deleterId?: (string) | null;
6910
+ deletionTime?: (string) | null;
6911
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
6912
+ addressLine: string;
6913
+ postalCode: string;
6914
+ fullAddress: string;
6915
+ primaryFlag?: boolean;
6916
+ countryId: string;
6917
+ regionId?: (string) | null;
6918
+ cityId: string;
6919
+ districtId: string;
6920
+ neighborhoodId?: (string) | null;
6921
+ }>);
6922
+
6923
+ export type GetApiCrmServiceIndividualsByIdEmailsData = {
6924
+ id: string;
6925
+ };
6926
+
6927
+ export type GetApiCrmServiceIndividualsByIdEmailsResponse = (Array<{
6928
+ id?: string;
6929
+ creationTime?: string;
6930
+ creatorId?: (string) | null;
6931
+ lastModificationTime?: (string) | null;
6932
+ lastModifierId?: (string) | null;
6933
+ isDeleted?: boolean;
6934
+ deleterId?: (string) | null;
6935
+ deletionTime?: (string) | null;
6936
+ primaryFlag?: boolean;
6937
+ typeCode?: 'WORK' | 'PERSONAL';
6938
+ emailAddress?: (string) | null;
6939
+ contactInformationTypeId?: string;
6940
+ }>);
6941
+
6942
+ export type GetApiCrmServiceIndividualsByIdTelephonesData = {
6943
+ id: string;
6944
+ };
6945
+
6946
+ export type GetApiCrmServiceIndividualsByIdTelephonesResponse = (Array<{
6947
+ id?: string;
6948
+ creationTime?: string;
6949
+ creatorId?: (string) | null;
6950
+ lastModificationTime?: (string) | null;
6951
+ lastModifierId?: (string) | null;
6952
+ isDeleted?: boolean;
6953
+ deleterId?: (string) | null;
6954
+ deletionTime?: (string) | null;
6955
+ areaCode?: (string) | null;
6956
+ localNumber?: (string) | null;
6957
+ ituCountryCode?: (string) | null;
6958
+ primaryFlag?: boolean;
6959
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
6960
+ contactInformationTypeId?: string;
6961
+ }>);
6962
+
6565
6963
  export type GetApiCrmServiceMerchantsData = {
6566
6964
  ids?: Array<(string)>;
6567
6965
  maxResultCount?: number;
@@ -6855,12 +7253,12 @@ export type GetApiCrmServiceMerchantsByIdDetailResponse = ({
6855
7253
  isDeleted?: boolean;
6856
7254
  deleterId?: (string) | null;
6857
7255
  deletionTime?: (string) | null;
6858
- name?: (string) | null;
7256
+ name: string;
6859
7257
  description?: (string) | null;
6860
- roleId?: (string) | null;
6861
- status?: 'Waiting' | 'Approved' | 'Rejected';
6862
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
6863
- language?: (string) | null;
7258
+ roleId: string;
7259
+ status: 'Waiting' | 'Approved' | 'Rejected';
7260
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
7261
+ language: string;
6864
7262
  };
6865
7263
  partyId: string;
6866
7264
  approvedUserId?: (string) | null;
@@ -7123,18 +7521,101 @@ export type PutApiCrmServiceMerchantsByIdAffiliationsByAffiliationIdResponse = (
7123
7521
  isDeleted?: boolean;
7124
7522
  deleterId?: (string) | null;
7125
7523
  deletionTime?: (string) | null;
7126
- name?: (string) | null;
7524
+ name: string;
7127
7525
  description?: (string) | null;
7128
- roleId?: (string) | null;
7129
- status?: 'Waiting' | 'Approved' | 'Rejected';
7130
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
7131
- language?: (string) | null;
7526
+ roleId: string;
7527
+ status: 'Waiting' | 'Approved' | 'Rejected';
7528
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
7529
+ language: string;
7132
7530
  };
7133
7531
  partyId: string;
7134
7532
  approvedUserId?: (string) | null;
7135
7533
  approvedDate?: (string) | null;
7136
7534
  });
7137
7535
 
7536
+ export type GetApiCrmServiceMerchantsByIdOrganizationsData = {
7537
+ id: string;
7538
+ };
7539
+
7540
+ export type GetApiCrmServiceMerchantsByIdOrganizationsResponse = (Array<{
7541
+ id?: string;
7542
+ creationTime?: string;
7543
+ creatorId?: (string) | null;
7544
+ lastModificationTime?: (string) | null;
7545
+ lastModifierId?: (string) | null;
7546
+ isDeleted?: boolean;
7547
+ deleterId?: (string) | null;
7548
+ deletionTime?: (string) | null;
7549
+ entityInformationTypeId?: (string) | null;
7550
+ name?: (string) | null;
7551
+ legalStatusCode?: (string) | null;
7552
+ readonly countryCode?: (string) | null;
7553
+ contactInformations?: Array<{
7554
+ id?: string;
7555
+ creationTime?: string;
7556
+ creatorId?: (string) | null;
7557
+ lastModificationTime?: (string) | null;
7558
+ lastModifierId?: (string) | null;
7559
+ isDeleted?: boolean;
7560
+ deleterId?: (string) | null;
7561
+ deletionTime?: (string) | null;
7562
+ organizationId?: (string) | null;
7563
+ individualId?: (string) | null;
7564
+ startDate?: string;
7565
+ endDate?: string;
7566
+ telephones?: Array<{
7567
+ id?: string;
7568
+ creationTime?: string;
7569
+ creatorId?: (string) | null;
7570
+ lastModificationTime?: (string) | null;
7571
+ lastModifierId?: (string) | null;
7572
+ isDeleted?: boolean;
7573
+ deleterId?: (string) | null;
7574
+ deletionTime?: (string) | null;
7575
+ areaCode?: (string) | null;
7576
+ localNumber?: (string) | null;
7577
+ ituCountryCode?: (string) | null;
7578
+ primaryFlag?: boolean;
7579
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
7580
+ contactInformationTypeId?: string;
7581
+ }> | null;
7582
+ addresses?: Array<{
7583
+ id: string;
7584
+ creationTime?: string;
7585
+ creatorId?: (string) | null;
7586
+ lastModificationTime?: (string) | null;
7587
+ lastModifierId?: (string) | null;
7588
+ isDeleted?: boolean;
7589
+ deleterId?: (string) | null;
7590
+ deletionTime?: (string) | null;
7591
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
7592
+ addressLine: string;
7593
+ postalCode: string;
7594
+ fullAddress: string;
7595
+ primaryFlag?: boolean;
7596
+ countryId: string;
7597
+ regionId?: (string) | null;
7598
+ cityId: string;
7599
+ districtId: string;
7600
+ neighborhoodId?: (string) | null;
7601
+ }> | null;
7602
+ emails?: Array<{
7603
+ id?: string;
7604
+ creationTime?: string;
7605
+ creatorId?: (string) | null;
7606
+ lastModificationTime?: (string) | null;
7607
+ lastModifierId?: (string) | null;
7608
+ isDeleted?: boolean;
7609
+ deleterId?: (string) | null;
7610
+ deletionTime?: (string) | null;
7611
+ primaryFlag?: boolean;
7612
+ typeCode?: 'WORK' | 'PERSONAL';
7613
+ emailAddress?: (string) | null;
7614
+ contactInformationTypeId?: string;
7615
+ }> | null;
7616
+ }> | null;
7617
+ }>);
7618
+
7138
7619
  export type PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdData = {
7139
7620
  id: string;
7140
7621
  organizationId: string;
@@ -7843,12 +8324,12 @@ export type GetIntegrationApiMerchantsByIdDetailResponse = ({
7843
8324
  isDeleted?: boolean;
7844
8325
  deleterId?: (string) | null;
7845
8326
  deletionTime?: (string) | null;
7846
- name?: (string) | null;
8327
+ name: string;
7847
8328
  description?: (string) | null;
7848
- roleId?: (string) | null;
7849
- status?: 'Waiting' | 'Approved' | 'Rejected';
7850
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
7851
- language?: (string) | null;
8329
+ roleId: string;
8330
+ status: 'Waiting' | 'Approved' | 'Rejected';
8331
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
8332
+ language: string;
7852
8333
  };
7853
8334
  partyId: string;
7854
8335
  approvedUserId?: (string) | null;
@@ -8089,7 +8570,956 @@ export type GetIntegrationApiMerchantsDetailsListResponse = (Array<{
8089
8570
  }> | null;
8090
8571
  }> | null;
8091
8572
  }> | null;
8092
- affiliations?: Array<{
8573
+ affiliations?: Array<{
8574
+ id?: string;
8575
+ creationTime?: string;
8576
+ creatorId?: (string) | null;
8577
+ lastModificationTime?: (string) | null;
8578
+ lastModifierId?: (string) | null;
8579
+ isDeleted?: boolean;
8580
+ deleterId?: (string) | null;
8581
+ deletionTime?: (string) | null;
8582
+ description?: (string) | null;
8583
+ affiliationCode: {
8584
+ id?: number;
8585
+ creationTime?: string;
8586
+ creatorId?: (string) | null;
8587
+ lastModificationTime?: (string) | null;
8588
+ lastModifierId?: (string) | null;
8589
+ isDeleted?: boolean;
8590
+ deleterId?: (string) | null;
8591
+ deletionTime?: (string) | null;
8592
+ name: string;
8593
+ description?: (string) | null;
8594
+ roleId: string;
8595
+ status: 'Waiting' | 'Approved' | 'Rejected';
8596
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
8597
+ language: string;
8598
+ };
8599
+ partyId: string;
8600
+ approvedUserId?: (string) | null;
8601
+ approvedDate?: (string) | null;
8602
+ }> | null;
8603
+ typeCode: 'HEADQUARTER' | 'STORE';
8604
+ taxOfficeId: string;
8605
+ taxpayerId?: (string) | null;
8606
+ readonly parentId?: (string) | null;
8607
+ tenantId?: (string) | null;
8608
+ };
8609
+ productGroups?: Array<{
8610
+ id?: string;
8611
+ articleCode: string;
8612
+ name: string;
8613
+ unitCode: 'QNT' | 'BAG' | 'BOX';
8614
+ companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
8615
+ vatId?: string;
8616
+ vatPercent?: (number) | null;
8617
+ active: boolean;
8618
+ food: boolean;
8619
+ }> | null;
8620
+ }>);
8621
+
8622
+ export type GetIntegrationApiMerchantsByIdDefaultProductGroupIdData = {
8623
+ id: string;
8624
+ vatRates?: Array<(number)>;
8625
+ };
8626
+
8627
+ export type GetIntegrationApiMerchantsByIdDefaultProductGroupIdResponse = ({
8628
+ [key: string]: (string);
8629
+ });
8630
+
8631
+ export type GetIntegrationApiMerchantsByMerchantIdEnsurePgsBelongToMerchantData = {
8632
+ merchantId: string;
8633
+ pgIds?: Array<(string)>;
8634
+ };
8635
+
8636
+ export type GetIntegrationApiMerchantsByMerchantIdEnsurePgsBelongToMerchantResponse = (unknown);
8637
+
8638
+ export type GetIntegrationApiMerchantsParentIdsData = {
8639
+ ids?: Array<(string)>;
8640
+ };
8641
+
8642
+ export type GetIntegrationApiMerchantsParentIdsResponse = ({
8643
+ ids: Array<{
8644
+ id: string;
8645
+ parentId?: (string) | null;
8646
+ }>;
8647
+ });
8648
+
8649
+ export type PostApiCrmServiceOrganizationsWithComponentsData = {
8650
+ requestBody?: {
8651
+ readonly extraProperties?: {
8652
+ [key: string]: unknown;
8653
+ } | null;
8654
+ name: string;
8655
+ legalStatusCode?: (string) | null;
8656
+ contactInformations?: Array<{
8657
+ readonly extraProperties?: {
8658
+ [key: string]: unknown;
8659
+ } | null;
8660
+ telephones?: Array<{
8661
+ readonly extraProperties?: {
8662
+ [key: string]: unknown;
8663
+ } | null;
8664
+ areaCode: string;
8665
+ localNumber: string;
8666
+ ituCountryCode: string;
8667
+ primaryFlag: boolean;
8668
+ typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
8669
+ }> | null;
8670
+ addresses?: Array<{
8671
+ readonly extraProperties?: {
8672
+ [key: string]: unknown;
8673
+ } | null;
8674
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
8675
+ addressLine: string;
8676
+ postalCode?: (string) | null;
8677
+ primaryFlag?: boolean;
8678
+ countryId: string;
8679
+ regionId?: (string) | null;
8680
+ cityId?: (string) | null;
8681
+ districtId?: (string) | null;
8682
+ neighborhoodId?: (string) | null;
8683
+ }> | null;
8684
+ emails?: Array<{
8685
+ readonly extraProperties?: {
8686
+ [key: string]: unknown;
8687
+ } | null;
8688
+ emailAddress: string;
8689
+ primaryFlag: boolean;
8690
+ typeCode: 'WORK' | 'PERSONAL';
8691
+ }> | null;
8692
+ }> | null;
8693
+ };
8694
+ };
8695
+
8696
+ export type PostApiCrmServiceOrganizationsWithComponentsResponse = (unknown);
8697
+
8698
+ export type GetApiCrmServiceOrganizationsData = {
8699
+ entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
8700
+ maxResultCount?: number;
8701
+ name?: string;
8702
+ parentId?: string;
8703
+ skipCount?: number;
8704
+ sorting?: string;
8705
+ };
8706
+
8707
+ export type GetApiCrmServiceOrganizationsResponse = ({
8708
+ items?: Array<{
8709
+ id?: string;
8710
+ name?: (string) | null;
8711
+ affiliationId?: (string) | null;
8712
+ affiliationCode?: {
8713
+ id?: number;
8714
+ creationTime?: string;
8715
+ creatorId?: (string) | null;
8716
+ lastModificationTime?: (string) | null;
8717
+ lastModifierId?: (string) | null;
8718
+ isDeleted?: boolean;
8719
+ deleterId?: (string) | null;
8720
+ deletionTime?: (string) | null;
8721
+ name: string;
8722
+ description?: (string) | null;
8723
+ roleId: string;
8724
+ status: 'Waiting' | 'Approved' | 'Rejected';
8725
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
8726
+ language: string;
8727
+ };
8728
+ }> | null;
8729
+ totalCount?: number;
8730
+ });
8731
+
8732
+ export type GetApiCrmServiceRefundPointsData = {
8733
+ ids?: Array<(string)>;
8734
+ maxResultCount?: number;
8735
+ name?: string;
8736
+ skipCount?: number;
8737
+ sorting?: string;
8738
+ };
8739
+
8740
+ export type GetApiCrmServiceRefundPointsResponse = ({
8741
+ items?: Array<{
8742
+ id?: string;
8743
+ name?: (string) | null;
8744
+ organizationId?: string;
8745
+ parentId?: (string) | null;
8746
+ taxOfficeId?: string;
8747
+ taxpayerId?: (string) | null;
8748
+ }> | null;
8749
+ totalCount?: number;
8750
+ });
8751
+
8752
+ export type GetApiCrmServiceRefundPointsAccessibleData = {
8753
+ ids?: Array<(string)>;
8754
+ maxResultCount?: number;
8755
+ name?: string;
8756
+ skipCount?: number;
8757
+ sorting?: string;
8758
+ };
8759
+
8760
+ export type GetApiCrmServiceRefundPointsAccessibleResponse = ({
8761
+ items?: Array<{
8762
+ id?: string;
8763
+ name?: (string) | null;
8764
+ organizationId?: string;
8765
+ parentId?: (string) | null;
8766
+ taxOfficeId?: string;
8767
+ taxpayerId?: (string) | null;
8768
+ }> | null;
8769
+ totalCount?: number;
8770
+ });
8771
+
8772
+ export type GetApiCrmServiceRefundPointsByIdData = {
8773
+ id: string;
8774
+ };
8775
+
8776
+ export type GetApiCrmServiceRefundPointsByIdResponse = ({
8777
+ id?: string;
8778
+ name?: (string) | null;
8779
+ organizationId?: string;
8780
+ parentId?: (string) | null;
8781
+ taxOfficeId?: string;
8782
+ taxpayerId?: (string) | null;
8783
+ });
8784
+
8785
+ export type PutApiCrmServiceRefundPointsByIdData = {
8786
+ id: string;
8787
+ requestBody?: {
8788
+ typeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
8789
+ taxOfficeId?: (string) | null;
8790
+ tenantId?: (string) | null;
8791
+ parentId?: (string) | null;
8792
+ taxpayerId?: (string) | null;
8793
+ };
8794
+ };
8795
+
8796
+ export type PutApiCrmServiceRefundPointsByIdResponse = ({
8797
+ id?: string;
8798
+ creationTime?: string;
8799
+ creatorId?: (string) | null;
8800
+ lastModificationTime?: (string) | null;
8801
+ lastModifierId?: (string) | null;
8802
+ isDeleted?: boolean;
8803
+ deleterId?: (string) | null;
8804
+ deletionTime?: (string) | null;
8805
+ taxpayerId?: (string) | null;
8806
+ typeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
8807
+ taxOfficeId?: string;
8808
+ parentId?: (string) | null;
8809
+ entityInformations?: Array<{
8810
+ id?: string;
8811
+ creationTime?: string;
8812
+ creatorId?: (string) | null;
8813
+ lastModificationTime?: (string) | null;
8814
+ lastModifierId?: (string) | null;
8815
+ isDeleted?: boolean;
8816
+ deleterId?: (string) | null;
8817
+ deletionTime?: (string) | null;
8818
+ merchantId?: (string) | null;
8819
+ customsId?: (string) | null;
8820
+ entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
8821
+ entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
8822
+ individuals?: Array<{
8823
+ id?: string;
8824
+ creationTime?: string;
8825
+ creatorId?: (string) | null;
8826
+ lastModificationTime?: (string) | null;
8827
+ lastModifierId?: (string) | null;
8828
+ isDeleted?: boolean;
8829
+ deleterId?: (string) | null;
8830
+ deletionTime?: (string) | null;
8831
+ name?: {
8832
+ id?: string;
8833
+ creationTime?: string;
8834
+ creatorId?: (string) | null;
8835
+ lastModificationTime?: (string) | null;
8836
+ lastModifierId?: (string) | null;
8837
+ isDeleted?: boolean;
8838
+ deleterId?: (string) | null;
8839
+ deletionTime?: (string) | null;
8840
+ salutation?: (string) | null;
8841
+ firstName?: (string) | null;
8842
+ lastName?: (string) | null;
8843
+ suffix?: (string) | null;
8844
+ mailingName?: (string) | null;
8845
+ officialName?: (string) | null;
8846
+ individualId?: string;
8847
+ };
8848
+ contactInformations?: Array<{
8849
+ id?: string;
8850
+ creationTime?: string;
8851
+ creatorId?: (string) | null;
8852
+ lastModificationTime?: (string) | null;
8853
+ lastModifierId?: (string) | null;
8854
+ isDeleted?: boolean;
8855
+ deleterId?: (string) | null;
8856
+ deletionTime?: (string) | null;
8857
+ organizationId?: (string) | null;
8858
+ individualId?: (string) | null;
8859
+ startDate?: string;
8860
+ endDate?: string;
8861
+ telephones?: Array<{
8862
+ id?: string;
8863
+ creationTime?: string;
8864
+ creatorId?: (string) | null;
8865
+ lastModificationTime?: (string) | null;
8866
+ lastModifierId?: (string) | null;
8867
+ isDeleted?: boolean;
8868
+ deleterId?: (string) | null;
8869
+ deletionTime?: (string) | null;
8870
+ areaCode?: (string) | null;
8871
+ localNumber?: (string) | null;
8872
+ ituCountryCode?: (string) | null;
8873
+ primaryFlag?: boolean;
8874
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
8875
+ contactInformationTypeId?: string;
8876
+ }> | null;
8877
+ addresses?: Array<{
8878
+ id: string;
8879
+ creationTime?: string;
8880
+ creatorId?: (string) | null;
8881
+ lastModificationTime?: (string) | null;
8882
+ lastModifierId?: (string) | null;
8883
+ isDeleted?: boolean;
8884
+ deleterId?: (string) | null;
8885
+ deletionTime?: (string) | null;
8886
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
8887
+ addressLine: string;
8888
+ postalCode: string;
8889
+ fullAddress: string;
8890
+ primaryFlag?: boolean;
8891
+ countryId: string;
8892
+ regionId?: (string) | null;
8893
+ cityId: string;
8894
+ districtId: string;
8895
+ neighborhoodId?: (string) | null;
8896
+ }> | null;
8897
+ emails?: Array<{
8898
+ id?: string;
8899
+ creationTime?: string;
8900
+ creatorId?: (string) | null;
8901
+ lastModificationTime?: (string) | null;
8902
+ lastModifierId?: (string) | null;
8903
+ isDeleted?: boolean;
8904
+ deleterId?: (string) | null;
8905
+ deletionTime?: (string) | null;
8906
+ primaryFlag?: boolean;
8907
+ typeCode?: 'WORK' | 'PERSONAL';
8908
+ emailAddress?: (string) | null;
8909
+ contactInformationTypeId?: string;
8910
+ }> | null;
8911
+ }> | null;
8912
+ personalSummaries?: Array<{
8913
+ id?: string;
8914
+ creationTime?: string;
8915
+ creatorId?: (string) | null;
8916
+ lastModificationTime?: (string) | null;
8917
+ lastModifierId?: (string) | null;
8918
+ isDeleted?: boolean;
8919
+ deleterId?: (string) | null;
8920
+ deletionTime?: (string) | null;
8921
+ date?: string;
8922
+ birthDate?: string;
8923
+ ethnicity?: (string) | null;
8924
+ maritalStatusCode?: (string) | null;
8925
+ religiousAffiliationName?: (string) | null;
8926
+ genderTypeCode?: 'MALE' | 'FEMALE';
8927
+ individualId?: string;
8928
+ }> | null;
8929
+ entityInformationTypeId?: (string) | null;
8930
+ abpUserId?: (string) | null;
8931
+ }> | null;
8932
+ organizations?: Array<{
8933
+ id?: string;
8934
+ creationTime?: string;
8935
+ creatorId?: (string) | null;
8936
+ lastModificationTime?: (string) | null;
8937
+ lastModifierId?: (string) | null;
8938
+ isDeleted?: boolean;
8939
+ deleterId?: (string) | null;
8940
+ deletionTime?: (string) | null;
8941
+ entityInformationTypeId?: (string) | null;
8942
+ name?: (string) | null;
8943
+ legalStatusCode?: (string) | null;
8944
+ readonly countryCode?: (string) | null;
8945
+ contactInformations?: Array<{
8946
+ id?: string;
8947
+ creationTime?: string;
8948
+ creatorId?: (string) | null;
8949
+ lastModificationTime?: (string) | null;
8950
+ lastModifierId?: (string) | null;
8951
+ isDeleted?: boolean;
8952
+ deleterId?: (string) | null;
8953
+ deletionTime?: (string) | null;
8954
+ organizationId?: (string) | null;
8955
+ individualId?: (string) | null;
8956
+ startDate?: string;
8957
+ endDate?: string;
8958
+ telephones?: Array<{
8959
+ id?: string;
8960
+ creationTime?: string;
8961
+ creatorId?: (string) | null;
8962
+ lastModificationTime?: (string) | null;
8963
+ lastModifierId?: (string) | null;
8964
+ isDeleted?: boolean;
8965
+ deleterId?: (string) | null;
8966
+ deletionTime?: (string) | null;
8967
+ areaCode?: (string) | null;
8968
+ localNumber?: (string) | null;
8969
+ ituCountryCode?: (string) | null;
8970
+ primaryFlag?: boolean;
8971
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
8972
+ contactInformationTypeId?: string;
8973
+ }> | null;
8974
+ addresses?: Array<{
8975
+ id: string;
8976
+ creationTime?: string;
8977
+ creatorId?: (string) | null;
8978
+ lastModificationTime?: (string) | null;
8979
+ lastModifierId?: (string) | null;
8980
+ isDeleted?: boolean;
8981
+ deleterId?: (string) | null;
8982
+ deletionTime?: (string) | null;
8983
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
8984
+ addressLine: string;
8985
+ postalCode: string;
8986
+ fullAddress: string;
8987
+ primaryFlag?: boolean;
8988
+ countryId: string;
8989
+ regionId?: (string) | null;
8990
+ cityId: string;
8991
+ districtId: string;
8992
+ neighborhoodId?: (string) | null;
8993
+ }> | null;
8994
+ emails?: Array<{
8995
+ id?: string;
8996
+ creationTime?: string;
8997
+ creatorId?: (string) | null;
8998
+ lastModificationTime?: (string) | null;
8999
+ lastModifierId?: (string) | null;
9000
+ isDeleted?: boolean;
9001
+ deleterId?: (string) | null;
9002
+ deletionTime?: (string) | null;
9003
+ primaryFlag?: boolean;
9004
+ typeCode?: 'WORK' | 'PERSONAL';
9005
+ emailAddress?: (string) | null;
9006
+ contactInformationTypeId?: string;
9007
+ }> | null;
9008
+ }> | null;
9009
+ }> | null;
9010
+ }> | null;
9011
+ });
9012
+
9013
+ export type GetApiCrmServiceRefundPointsByIdDetailData = {
9014
+ id: string;
9015
+ };
9016
+
9017
+ export type GetApiCrmServiceRefundPointsByIdDetailResponse = ({
9018
+ id?: string;
9019
+ creationTime?: string;
9020
+ creatorId?: (string) | null;
9021
+ lastModificationTime?: (string) | null;
9022
+ lastModifierId?: (string) | null;
9023
+ isDeleted?: boolean;
9024
+ deleterId?: (string) | null;
9025
+ deletionTime?: (string) | null;
9026
+ taxpayerId?: (string) | null;
9027
+ typeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
9028
+ taxOfficeId?: string;
9029
+ parentId?: (string) | null;
9030
+ entityInformations?: Array<{
9031
+ id?: string;
9032
+ creationTime?: string;
9033
+ creatorId?: (string) | null;
9034
+ lastModificationTime?: (string) | null;
9035
+ lastModifierId?: (string) | null;
9036
+ isDeleted?: boolean;
9037
+ deleterId?: (string) | null;
9038
+ deletionTime?: (string) | null;
9039
+ merchantId?: (string) | null;
9040
+ customsId?: (string) | null;
9041
+ entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
9042
+ entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
9043
+ individuals?: Array<{
9044
+ id?: string;
9045
+ creationTime?: string;
9046
+ creatorId?: (string) | null;
9047
+ lastModificationTime?: (string) | null;
9048
+ lastModifierId?: (string) | null;
9049
+ isDeleted?: boolean;
9050
+ deleterId?: (string) | null;
9051
+ deletionTime?: (string) | null;
9052
+ name?: {
9053
+ id?: string;
9054
+ creationTime?: string;
9055
+ creatorId?: (string) | null;
9056
+ lastModificationTime?: (string) | null;
9057
+ lastModifierId?: (string) | null;
9058
+ isDeleted?: boolean;
9059
+ deleterId?: (string) | null;
9060
+ deletionTime?: (string) | null;
9061
+ salutation?: (string) | null;
9062
+ firstName?: (string) | null;
9063
+ lastName?: (string) | null;
9064
+ suffix?: (string) | null;
9065
+ mailingName?: (string) | null;
9066
+ officialName?: (string) | null;
9067
+ individualId?: string;
9068
+ };
9069
+ contactInformations?: Array<{
9070
+ id?: string;
9071
+ creationTime?: string;
9072
+ creatorId?: (string) | null;
9073
+ lastModificationTime?: (string) | null;
9074
+ lastModifierId?: (string) | null;
9075
+ isDeleted?: boolean;
9076
+ deleterId?: (string) | null;
9077
+ deletionTime?: (string) | null;
9078
+ organizationId?: (string) | null;
9079
+ individualId?: (string) | null;
9080
+ startDate?: string;
9081
+ endDate?: string;
9082
+ telephones?: Array<{
9083
+ id?: string;
9084
+ creationTime?: string;
9085
+ creatorId?: (string) | null;
9086
+ lastModificationTime?: (string) | null;
9087
+ lastModifierId?: (string) | null;
9088
+ isDeleted?: boolean;
9089
+ deleterId?: (string) | null;
9090
+ deletionTime?: (string) | null;
9091
+ areaCode?: (string) | null;
9092
+ localNumber?: (string) | null;
9093
+ ituCountryCode?: (string) | null;
9094
+ primaryFlag?: boolean;
9095
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9096
+ contactInformationTypeId?: string;
9097
+ }> | null;
9098
+ addresses?: Array<{
9099
+ id: string;
9100
+ creationTime?: string;
9101
+ creatorId?: (string) | null;
9102
+ lastModificationTime?: (string) | null;
9103
+ lastModifierId?: (string) | null;
9104
+ isDeleted?: boolean;
9105
+ deleterId?: (string) | null;
9106
+ deletionTime?: (string) | null;
9107
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9108
+ addressLine: string;
9109
+ postalCode: string;
9110
+ fullAddress: string;
9111
+ primaryFlag?: boolean;
9112
+ countryId: string;
9113
+ regionId?: (string) | null;
9114
+ cityId: string;
9115
+ districtId: string;
9116
+ neighborhoodId?: (string) | null;
9117
+ }> | null;
9118
+ emails?: Array<{
9119
+ id?: string;
9120
+ creationTime?: string;
9121
+ creatorId?: (string) | null;
9122
+ lastModificationTime?: (string) | null;
9123
+ lastModifierId?: (string) | null;
9124
+ isDeleted?: boolean;
9125
+ deleterId?: (string) | null;
9126
+ deletionTime?: (string) | null;
9127
+ primaryFlag?: boolean;
9128
+ typeCode?: 'WORK' | 'PERSONAL';
9129
+ emailAddress?: (string) | null;
9130
+ contactInformationTypeId?: string;
9131
+ }> | null;
9132
+ }> | null;
9133
+ personalSummaries?: Array<{
9134
+ id?: string;
9135
+ creationTime?: string;
9136
+ creatorId?: (string) | null;
9137
+ lastModificationTime?: (string) | null;
9138
+ lastModifierId?: (string) | null;
9139
+ isDeleted?: boolean;
9140
+ deleterId?: (string) | null;
9141
+ deletionTime?: (string) | null;
9142
+ date?: string;
9143
+ birthDate?: string;
9144
+ ethnicity?: (string) | null;
9145
+ maritalStatusCode?: (string) | null;
9146
+ religiousAffiliationName?: (string) | null;
9147
+ genderTypeCode?: 'MALE' | 'FEMALE';
9148
+ individualId?: string;
9149
+ }> | null;
9150
+ entityInformationTypeId?: (string) | null;
9151
+ abpUserId?: (string) | null;
9152
+ }> | null;
9153
+ organizations?: Array<{
9154
+ id?: string;
9155
+ creationTime?: string;
9156
+ creatorId?: (string) | null;
9157
+ lastModificationTime?: (string) | null;
9158
+ lastModifierId?: (string) | null;
9159
+ isDeleted?: boolean;
9160
+ deleterId?: (string) | null;
9161
+ deletionTime?: (string) | null;
9162
+ entityInformationTypeId?: (string) | null;
9163
+ name?: (string) | null;
9164
+ legalStatusCode?: (string) | null;
9165
+ readonly countryCode?: (string) | null;
9166
+ contactInformations?: Array<{
9167
+ id?: string;
9168
+ creationTime?: string;
9169
+ creatorId?: (string) | null;
9170
+ lastModificationTime?: (string) | null;
9171
+ lastModifierId?: (string) | null;
9172
+ isDeleted?: boolean;
9173
+ deleterId?: (string) | null;
9174
+ deletionTime?: (string) | null;
9175
+ organizationId?: (string) | null;
9176
+ individualId?: (string) | null;
9177
+ startDate?: string;
9178
+ endDate?: string;
9179
+ telephones?: Array<{
9180
+ id?: string;
9181
+ creationTime?: string;
9182
+ creatorId?: (string) | null;
9183
+ lastModificationTime?: (string) | null;
9184
+ lastModifierId?: (string) | null;
9185
+ isDeleted?: boolean;
9186
+ deleterId?: (string) | null;
9187
+ deletionTime?: (string) | null;
9188
+ areaCode?: (string) | null;
9189
+ localNumber?: (string) | null;
9190
+ ituCountryCode?: (string) | null;
9191
+ primaryFlag?: boolean;
9192
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9193
+ contactInformationTypeId?: string;
9194
+ }> | null;
9195
+ addresses?: Array<{
9196
+ id: string;
9197
+ creationTime?: string;
9198
+ creatorId?: (string) | null;
9199
+ lastModificationTime?: (string) | null;
9200
+ lastModifierId?: (string) | null;
9201
+ isDeleted?: boolean;
9202
+ deleterId?: (string) | null;
9203
+ deletionTime?: (string) | null;
9204
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9205
+ addressLine: string;
9206
+ postalCode: string;
9207
+ fullAddress: string;
9208
+ primaryFlag?: boolean;
9209
+ countryId: string;
9210
+ regionId?: (string) | null;
9211
+ cityId: string;
9212
+ districtId: string;
9213
+ neighborhoodId?: (string) | null;
9214
+ }> | null;
9215
+ emails?: Array<{
9216
+ id?: string;
9217
+ creationTime?: string;
9218
+ creatorId?: (string) | null;
9219
+ lastModificationTime?: (string) | null;
9220
+ lastModifierId?: (string) | null;
9221
+ isDeleted?: boolean;
9222
+ deleterId?: (string) | null;
9223
+ deletionTime?: (string) | null;
9224
+ primaryFlag?: boolean;
9225
+ typeCode?: 'WORK' | 'PERSONAL';
9226
+ emailAddress?: (string) | null;
9227
+ contactInformationTypeId?: string;
9228
+ }> | null;
9229
+ }> | null;
9230
+ }> | null;
9231
+ }> | null;
9232
+ });
9233
+
9234
+ export type GetApiCrmServiceRefundPointsByIdSubRefundPointsData = {
9235
+ id: string;
9236
+ };
9237
+
9238
+ export type GetApiCrmServiceRefundPointsByIdSubRefundPointsResponse = ({
9239
+ items?: Array<{
9240
+ id?: string;
9241
+ name?: (string) | null;
9242
+ organizationId?: string;
9243
+ parentId?: (string) | null;
9244
+ taxOfficeId?: string;
9245
+ taxpayerId?: (string) | null;
9246
+ }> | null;
9247
+ totalCount?: number;
9248
+ });
9249
+
9250
+ export type PostApiCrmServiceRefundPointsWithComponentsData = {
9251
+ requestBody?: {
9252
+ typeCode: 'HEADQUARTER' | 'REFUNDPOINT';
9253
+ taxOfficeId?: (string) | null;
9254
+ parentId?: (string) | null;
9255
+ taxpayerId?: (string) | null;
9256
+ entityInformationTypes?: Array<{
9257
+ readonly extraProperties?: {
9258
+ [key: string]: unknown;
9259
+ } | null;
9260
+ organizations?: Array<{
9261
+ name: string;
9262
+ contactInformations: Array<{
9263
+ readonly extraProperties?: {
9264
+ [key: string]: unknown;
9265
+ } | null;
9266
+ telephones?: Array<{
9267
+ readonly extraProperties?: {
9268
+ [key: string]: unknown;
9269
+ } | null;
9270
+ areaCode: string;
9271
+ localNumber: string;
9272
+ ituCountryCode: string;
9273
+ primaryFlag: boolean;
9274
+ typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9275
+ }> | null;
9276
+ addresses?: Array<{
9277
+ readonly extraProperties?: {
9278
+ [key: string]: unknown;
9279
+ } | null;
9280
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9281
+ addressLine: string;
9282
+ postalCode?: (string) | null;
9283
+ primaryFlag?: boolean;
9284
+ countryId: string;
9285
+ regionId?: (string) | null;
9286
+ cityId?: (string) | null;
9287
+ districtId?: (string) | null;
9288
+ neighborhoodId?: (string) | null;
9289
+ }> | null;
9290
+ emails?: Array<{
9291
+ readonly extraProperties?: {
9292
+ [key: string]: unknown;
9293
+ } | null;
9294
+ emailAddress: string;
9295
+ primaryFlag: boolean;
9296
+ typeCode: 'WORK' | 'PERSONAL';
9297
+ }> | null;
9298
+ }>;
9299
+ }> | null;
9300
+ }> | null;
9301
+ };
9302
+ };
9303
+
9304
+ export type PostApiCrmServiceRefundPointsWithComponentsResponse = ({
9305
+ id?: string;
9306
+ name?: (string) | null;
9307
+ organizationId?: string;
9308
+ parentId?: (string) | null;
9309
+ taxOfficeId?: string;
9310
+ taxpayerId?: (string) | null;
9311
+ });
9312
+
9313
+ export type DeleteApiCrmServiceRefundPointsByIdWithComponentsData = {
9314
+ id: string;
9315
+ };
9316
+
9317
+ export type DeleteApiCrmServiceRefundPointsByIdWithComponentsResponse = (unknown);
9318
+
9319
+ export type PostApiCrmServiceRefundPointsByIdAffiliationsData = {
9320
+ id: string;
9321
+ requestBody?: {
9322
+ readonly extraProperties?: {
9323
+ [key: string]: unknown;
9324
+ } | null;
9325
+ description?: (string) | null;
9326
+ affiliationCodeId: number;
9327
+ email: string;
9328
+ entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
9329
+ };
9330
+ };
9331
+
9332
+ export type PostApiCrmServiceRefundPointsByIdAffiliationsResponse = (unknown);
9333
+
9334
+ export type GetApiCrmServiceRefundPointsByIdAffiliationsData = {
9335
+ affiliationCodeId?: number;
9336
+ email?: string;
9337
+ entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
9338
+ id: string;
9339
+ maxResultCount?: number;
9340
+ name?: string;
9341
+ skipCount?: number;
9342
+ sorting?: string;
9343
+ telephone?: string;
9344
+ };
9345
+
9346
+ export type GetApiCrmServiceRefundPointsByIdAffiliationsResponse = ({
9347
+ items?: Array<{
9348
+ id?: string;
9349
+ partyId: string;
9350
+ name: string;
9351
+ codeId: number;
9352
+ codeName: string;
9353
+ entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
9354
+ abpUserId?: (string) | null;
9355
+ email: string;
9356
+ telephone: string;
9357
+ }> | null;
9358
+ totalCount?: number;
9359
+ });
9360
+
9361
+ export type DeleteApiCrmServiceRefundPointsByIdAffiliationsByAffiliationIdData = {
9362
+ affiliationId: string;
9363
+ id: string;
9364
+ };
9365
+
9366
+ export type DeleteApiCrmServiceRefundPointsByIdAffiliationsByAffiliationIdResponse = (unknown);
9367
+
9368
+ export type GetApiCrmServiceRefundPointsByIdOrganizationsData = {
9369
+ id: string;
9370
+ };
9371
+
9372
+ export type GetApiCrmServiceRefundPointsByIdOrganizationsResponse = (Array<{
9373
+ id?: string;
9374
+ creationTime?: string;
9375
+ creatorId?: (string) | null;
9376
+ lastModificationTime?: (string) | null;
9377
+ lastModifierId?: (string) | null;
9378
+ isDeleted?: boolean;
9379
+ deleterId?: (string) | null;
9380
+ deletionTime?: (string) | null;
9381
+ entityInformationTypeId?: (string) | null;
9382
+ name?: (string) | null;
9383
+ legalStatusCode?: (string) | null;
9384
+ readonly countryCode?: (string) | null;
9385
+ contactInformations?: Array<{
9386
+ id?: string;
9387
+ creationTime?: string;
9388
+ creatorId?: (string) | null;
9389
+ lastModificationTime?: (string) | null;
9390
+ lastModifierId?: (string) | null;
9391
+ isDeleted?: boolean;
9392
+ deleterId?: (string) | null;
9393
+ deletionTime?: (string) | null;
9394
+ organizationId?: (string) | null;
9395
+ individualId?: (string) | null;
9396
+ startDate?: string;
9397
+ endDate?: string;
9398
+ telephones?: Array<{
9399
+ id?: string;
9400
+ creationTime?: string;
9401
+ creatorId?: (string) | null;
9402
+ lastModificationTime?: (string) | null;
9403
+ lastModifierId?: (string) | null;
9404
+ isDeleted?: boolean;
9405
+ deleterId?: (string) | null;
9406
+ deletionTime?: (string) | null;
9407
+ areaCode?: (string) | null;
9408
+ localNumber?: (string) | null;
9409
+ ituCountryCode?: (string) | null;
9410
+ primaryFlag?: boolean;
9411
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9412
+ contactInformationTypeId?: string;
9413
+ }> | null;
9414
+ addresses?: Array<{
9415
+ id: string;
9416
+ creationTime?: string;
9417
+ creatorId?: (string) | null;
9418
+ lastModificationTime?: (string) | null;
9419
+ lastModifierId?: (string) | null;
9420
+ isDeleted?: boolean;
9421
+ deleterId?: (string) | null;
9422
+ deletionTime?: (string) | null;
9423
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9424
+ addressLine: string;
9425
+ postalCode: string;
9426
+ fullAddress: string;
9427
+ primaryFlag?: boolean;
9428
+ countryId: string;
9429
+ regionId?: (string) | null;
9430
+ cityId: string;
9431
+ districtId: string;
9432
+ neighborhoodId?: (string) | null;
9433
+ }> | null;
9434
+ emails?: Array<{
9435
+ id?: string;
9436
+ creationTime?: string;
9437
+ creatorId?: (string) | null;
9438
+ lastModificationTime?: (string) | null;
9439
+ lastModifierId?: (string) | null;
9440
+ isDeleted?: boolean;
9441
+ deleterId?: (string) | null;
9442
+ deletionTime?: (string) | null;
9443
+ primaryFlag?: boolean;
9444
+ typeCode?: 'WORK' | 'PERSONAL';
9445
+ emailAddress?: (string) | null;
9446
+ contactInformationTypeId?: string;
9447
+ }> | null;
9448
+ }> | null;
9449
+ }>);
9450
+
9451
+ export type PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdData = {
9452
+ id: string;
9453
+ organizationId: string;
9454
+ requestBody?: {
9455
+ name: string;
9456
+ parentCompanyId?: (string) | null;
9457
+ };
9458
+ };
9459
+
9460
+ export type PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdResponse = ({
9461
+ id?: string;
9462
+ creationTime?: string;
9463
+ creatorId?: (string) | null;
9464
+ lastModificationTime?: (string) | null;
9465
+ lastModifierId?: (string) | null;
9466
+ isDeleted?: boolean;
9467
+ deleterId?: (string) | null;
9468
+ deletionTime?: (string) | null;
9469
+ entityInformationTypeId?: (string) | null;
9470
+ name?: (string) | null;
9471
+ legalStatusCode?: (string) | null;
9472
+ readonly countryCode?: (string) | null;
9473
+ contactInformations?: Array<{
9474
+ id?: string;
9475
+ creationTime?: string;
9476
+ creatorId?: (string) | null;
9477
+ lastModificationTime?: (string) | null;
9478
+ lastModifierId?: (string) | null;
9479
+ isDeleted?: boolean;
9480
+ deleterId?: (string) | null;
9481
+ deletionTime?: (string) | null;
9482
+ organizationId?: (string) | null;
9483
+ individualId?: (string) | null;
9484
+ startDate?: string;
9485
+ endDate?: string;
9486
+ telephones?: Array<{
9487
+ id?: string;
9488
+ creationTime?: string;
9489
+ creatorId?: (string) | null;
9490
+ lastModificationTime?: (string) | null;
9491
+ lastModifierId?: (string) | null;
9492
+ isDeleted?: boolean;
9493
+ deleterId?: (string) | null;
9494
+ deletionTime?: (string) | null;
9495
+ areaCode?: (string) | null;
9496
+ localNumber?: (string) | null;
9497
+ ituCountryCode?: (string) | null;
9498
+ primaryFlag?: boolean;
9499
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9500
+ contactInformationTypeId?: string;
9501
+ }> | null;
9502
+ addresses?: Array<{
9503
+ id: string;
9504
+ creationTime?: string;
9505
+ creatorId?: (string) | null;
9506
+ lastModificationTime?: (string) | null;
9507
+ lastModifierId?: (string) | null;
9508
+ isDeleted?: boolean;
9509
+ deleterId?: (string) | null;
9510
+ deletionTime?: (string) | null;
9511
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9512
+ addressLine: string;
9513
+ postalCode: string;
9514
+ fullAddress: string;
9515
+ primaryFlag?: boolean;
9516
+ countryId: string;
9517
+ regionId?: (string) | null;
9518
+ cityId: string;
9519
+ districtId: string;
9520
+ neighborhoodId?: (string) | null;
9521
+ }> | null;
9522
+ emails?: Array<{
8093
9523
  id?: string;
8094
9524
  creationTime?: string;
8095
9525
  creatorId?: (string) | null;
@@ -8098,210 +9528,222 @@ export type GetIntegrationApiMerchantsDetailsListResponse = (Array<{
8098
9528
  isDeleted?: boolean;
8099
9529
  deleterId?: (string) | null;
8100
9530
  deletionTime?: (string) | null;
8101
- description?: (string) | null;
8102
- affiliationCode: {
8103
- id?: number;
8104
- creationTime?: string;
8105
- creatorId?: (string) | null;
8106
- lastModificationTime?: (string) | null;
8107
- lastModifierId?: (string) | null;
8108
- isDeleted?: boolean;
8109
- deleterId?: (string) | null;
8110
- deletionTime?: (string) | null;
8111
- name?: (string) | null;
8112
- description?: (string) | null;
8113
- roleId?: (string) | null;
8114
- status?: 'Waiting' | 'Approved' | 'Rejected';
8115
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
8116
- language?: (string) | null;
8117
- };
8118
- partyId: string;
8119
- approvedUserId?: (string) | null;
8120
- approvedDate?: (string) | null;
9531
+ primaryFlag?: boolean;
9532
+ typeCode?: 'WORK' | 'PERSONAL';
9533
+ emailAddress?: (string) | null;
9534
+ contactInformationTypeId?: string;
8121
9535
  }> | null;
8122
- typeCode: 'HEADQUARTER' | 'STORE';
8123
- taxOfficeId: string;
8124
- taxpayerId?: (string) | null;
8125
- readonly parentId?: (string) | null;
8126
- tenantId?: (string) | null;
8127
- };
8128
- productGroups?: Array<{
8129
- id?: string;
8130
- articleCode: string;
8131
- name: string;
8132
- unitCode: 'QNT' | 'BAG' | 'BOX';
8133
- companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
8134
- vatId?: string;
8135
- vatPercent?: (number) | null;
8136
- active: boolean;
8137
- food: boolean;
8138
9536
  }> | null;
8139
- }>);
9537
+ });
8140
9538
 
8141
- export type GetIntegrationApiMerchantsByIdDefaultProductGroupIdData = {
9539
+ export type PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdData = {
8142
9540
  id: string;
8143
- vatRates?: Array<(number)>;
9541
+ requestBody?: {
9542
+ readonly extraProperties?: {
9543
+ [key: string]: unknown;
9544
+ } | null;
9545
+ areaCode: string;
9546
+ localNumber: string;
9547
+ ituCountryCode: string;
9548
+ primaryFlag?: boolean;
9549
+ typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9550
+ };
9551
+ telephoneId: string;
8144
9552
  };
8145
9553
 
8146
- export type GetIntegrationApiMerchantsByIdDefaultProductGroupIdResponse = ({
8147
- [key: string]: (string);
9554
+ export type PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdResponse = ({
9555
+ id?: string;
9556
+ creationTime?: string;
9557
+ creatorId?: (string) | null;
9558
+ lastModificationTime?: (string) | null;
9559
+ lastModifierId?: (string) | null;
9560
+ isDeleted?: boolean;
9561
+ deleterId?: (string) | null;
9562
+ deletionTime?: (string) | null;
9563
+ areaCode?: (string) | null;
9564
+ localNumber?: (string) | null;
9565
+ ituCountryCode?: (string) | null;
9566
+ primaryFlag?: boolean;
9567
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9568
+ contactInformationTypeId?: string;
8148
9569
  });
8149
9570
 
8150
- export type GetIntegrationApiMerchantsByMerchantIdEnsurePgsBelongToMerchantData = {
8151
- merchantId: string;
8152
- pgIds?: Array<(string)>;
9571
+ export type PutApiCrmServiceRefundPointsByIdAddressesByAddressIdData = {
9572
+ addressId: string;
9573
+ id: string;
9574
+ requestBody?: {
9575
+ readonly extraProperties?: {
9576
+ [key: string]: unknown;
9577
+ } | null;
9578
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9579
+ addressLine: string;
9580
+ postalCode: string;
9581
+ primaryFlag?: boolean;
9582
+ countryId: string;
9583
+ regionId?: (string) | null;
9584
+ cityId?: (string) | null;
9585
+ districtId?: (string) | null;
9586
+ neighborhoodId?: (string) | null;
9587
+ };
8153
9588
  };
8154
9589
 
8155
- export type GetIntegrationApiMerchantsByMerchantIdEnsurePgsBelongToMerchantResponse = (unknown);
9590
+ export type PutApiCrmServiceRefundPointsByIdAddressesByAddressIdResponse = ({
9591
+ contactInformationTypeId?: string;
9592
+ locationServiceAddressId?: string;
9593
+ });
8156
9594
 
8157
- export type PostApiCrmServiceOrganizationsWithComponentsData = {
9595
+ export type PutApiCrmServiceRefundPointsByIdEmailsByEmailIdData = {
9596
+ emailId: string;
9597
+ id: string;
8158
9598
  requestBody?: {
8159
9599
  readonly extraProperties?: {
8160
9600
  [key: string]: unknown;
8161
9601
  } | null;
8162
- name: string;
8163
- legalStatusCode?: (string) | null;
8164
- contactInformations?: Array<{
8165
- readonly extraProperties?: {
8166
- [key: string]: unknown;
8167
- } | null;
8168
- telephones?: Array<{
8169
- readonly extraProperties?: {
8170
- [key: string]: unknown;
8171
- } | null;
8172
- areaCode: string;
8173
- localNumber: string;
8174
- ituCountryCode: string;
8175
- primaryFlag: boolean;
8176
- typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
8177
- }> | null;
8178
- addresses?: Array<{
8179
- readonly extraProperties?: {
8180
- [key: string]: unknown;
8181
- } | null;
8182
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
8183
- addressLine: string;
8184
- postalCode?: (string) | null;
8185
- primaryFlag?: boolean;
8186
- countryId: string;
8187
- regionId?: (string) | null;
8188
- cityId?: (string) | null;
8189
- districtId?: (string) | null;
8190
- neighborhoodId?: (string) | null;
8191
- }> | null;
8192
- emails?: Array<{
8193
- readonly extraProperties?: {
8194
- [key: string]: unknown;
8195
- } | null;
8196
- emailAddress: string;
8197
- primaryFlag: boolean;
8198
- typeCode: 'WORK' | 'PERSONAL';
8199
- }> | null;
8200
- }> | null;
9602
+ emailAddress: string;
9603
+ primaryFlag?: boolean;
9604
+ typeCode: 'WORK' | 'PERSONAL';
8201
9605
  };
8202
9606
  };
8203
9607
 
8204
- export type PostApiCrmServiceOrganizationsWithComponentsResponse = (unknown);
9608
+ export type PutApiCrmServiceRefundPointsByIdEmailsByEmailIdResponse = ({
9609
+ id?: string;
9610
+ creationTime?: string;
9611
+ creatorId?: (string) | null;
9612
+ lastModificationTime?: (string) | null;
9613
+ lastModifierId?: (string) | null;
9614
+ isDeleted?: boolean;
9615
+ deleterId?: (string) | null;
9616
+ deletionTime?: (string) | null;
9617
+ primaryFlag?: boolean;
9618
+ typeCode?: 'WORK' | 'PERSONAL';
9619
+ emailAddress?: (string) | null;
9620
+ contactInformationTypeId?: string;
9621
+ });
8205
9622
 
8206
- export type GetApiCrmServiceOrganizationsData = {
8207
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
9623
+ export type GetApiCrmServiceRefundPointsByIdAddressesData = {
9624
+ id: string;
9625
+ };
9626
+
9627
+ export type GetApiCrmServiceRefundPointsByIdAddressesResponse = (Array<{
9628
+ id: string;
9629
+ creationTime?: string;
9630
+ creatorId?: (string) | null;
9631
+ lastModificationTime?: (string) | null;
9632
+ lastModifierId?: (string) | null;
9633
+ isDeleted?: boolean;
9634
+ deleterId?: (string) | null;
9635
+ deletionTime?: (string) | null;
9636
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9637
+ addressLine: string;
9638
+ postalCode: string;
9639
+ fullAddress: string;
9640
+ primaryFlag?: boolean;
9641
+ countryId: string;
9642
+ regionId?: (string) | null;
9643
+ cityId: string;
9644
+ districtId: string;
9645
+ neighborhoodId?: (string) | null;
9646
+ }>);
9647
+
9648
+ export type GetIntegrationApiRefundPointsByIdParentIdOrSelfIdData = {
9649
+ id: string;
9650
+ };
9651
+
9652
+ export type GetIntegrationApiRefundPointsByIdParentIdOrSelfIdResponse = (string);
9653
+
9654
+ export type GetIntegrationApiRefundPointsData = {
9655
+ ids?: Array<(string)>;
8208
9656
  maxResultCount?: number;
8209
9657
  name?: string;
8210
- parentId?: string;
8211
9658
  skipCount?: number;
8212
9659
  sorting?: string;
8213
9660
  };
8214
9661
 
8215
- export type GetApiCrmServiceOrganizationsResponse = ({
9662
+ export type GetIntegrationApiRefundPointsResponse = ({
8216
9663
  items?: Array<{
8217
9664
  id?: string;
8218
9665
  name?: (string) | null;
8219
- affiliationId?: (string) | null;
8220
- affiliationCode?: {
8221
- id?: number;
8222
- creationTime?: string;
8223
- creatorId?: (string) | null;
8224
- lastModificationTime?: (string) | null;
8225
- lastModifierId?: (string) | null;
8226
- isDeleted?: boolean;
8227
- deleterId?: (string) | null;
8228
- deletionTime?: (string) | null;
8229
- name?: (string) | null;
8230
- description?: (string) | null;
8231
- roleId?: (string) | null;
8232
- status?: 'Waiting' | 'Approved' | 'Rejected';
8233
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
8234
- language?: (string) | null;
8235
- };
9666
+ organizationId?: string;
9667
+ parentId?: (string) | null;
9668
+ taxOfficeId?: string;
9669
+ taxpayerId?: (string) | null;
8236
9670
  }> | null;
8237
9671
  totalCount?: number;
8238
9672
  });
8239
9673
 
8240
- export type GetApiCrmServiceRefundPointsData = {
9674
+ export type GetIntegrationApiRefundPointsByIdDetailForRefundData = {
9675
+ id: string;
9676
+ };
9677
+
9678
+ export type GetIntegrationApiRefundPointsByIdDetailForRefundResponse = ({
9679
+ name?: (string) | null;
9680
+ fullAddress?: (string) | null;
9681
+ });
9682
+
9683
+ export type GetIntegrationApiRefundPointsRefundPointNamesData = {
8241
9684
  ids?: Array<(string)>;
8242
9685
  maxResultCount?: number;
8243
- name?: string;
8244
9686
  skipCount?: number;
8245
- sorting?: string;
8246
9687
  };
8247
9688
 
8248
- export type GetApiCrmServiceRefundPointsResponse = ({
9689
+ export type GetIntegrationApiRefundPointsRefundPointNamesResponse = ({
8249
9690
  items?: Array<{
9691
+ id: string;
9692
+ name: string;
9693
+ }> | null;
9694
+ totalCount?: number;
9695
+ });
9696
+
9697
+ export type GetIntegrationApiRefundPointsByIdExistData = {
9698
+ id: string;
9699
+ parentId?: string;
9700
+ wantedTypeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
9701
+ };
9702
+
9703
+ export type GetIntegrationApiRefundPointsByIdExistResponse = (unknown);
9704
+
9705
+ export type GetIntegrationApiRefundPointsByIdBasicInformationData = {
9706
+ id: string;
9707
+ };
9708
+
9709
+ export type GetIntegrationApiRefundPointsByIdBasicInformationResponse = ({
9710
+ id?: string;
9711
+ name?: (string) | null;
9712
+ taxOffice?: {
9713
+ id: string;
9714
+ name: string;
9715
+ };
9716
+ numberOfStores?: number;
9717
+ accountManagers?: Array<{
8250
9718
  id?: string;
8251
9719
  name?: (string) | null;
8252
- organizationId?: string;
8253
- parentId?: (string) | null;
8254
- taxOfficeId?: string;
8255
- taxpayerId?: (string) | null;
8256
9720
  }> | null;
8257
- totalCount?: number;
8258
9721
  });
8259
9722
 
8260
- export type GetApiCrmServiceRefundPointsAccessibleData = {
8261
- ids?: Array<(string)>;
9723
+ export type GetApiCrmServiceTaxFreesData = {
8262
9724
  maxResultCount?: number;
8263
9725
  name?: string;
8264
9726
  skipCount?: number;
8265
9727
  sorting?: string;
8266
9728
  };
8267
9729
 
8268
- export type GetApiCrmServiceRefundPointsAccessibleResponse = ({
9730
+ export type GetApiCrmServiceTaxFreesResponse = ({
8269
9731
  items?: Array<{
8270
9732
  id?: string;
8271
9733
  name?: (string) | null;
8272
- organizationId?: string;
8273
9734
  parentId?: (string) | null;
8274
- taxOfficeId?: string;
9735
+ parentName?: (string) | null;
9736
+ organizationId?: string;
8275
9737
  taxpayerId?: (string) | null;
8276
9738
  }> | null;
8277
9739
  totalCount?: number;
8278
9740
  });
8279
9741
 
8280
- export type GetApiCrmServiceRefundPointsByIdData = {
8281
- id: string;
8282
- };
8283
-
8284
- export type GetApiCrmServiceRefundPointsByIdResponse = ({
8285
- id?: string;
8286
- name?: (string) | null;
8287
- organizationId?: string;
8288
- parentId?: (string) | null;
8289
- taxOfficeId?: string;
8290
- taxpayerId?: (string) | null;
8291
- });
8292
-
8293
- export type PutApiCrmServiceRefundPointsByIdData = {
9742
+ export type GetApiCrmServiceTaxFreesByIdDetailData = {
8294
9743
  id: string;
8295
- requestBody?: {
8296
- typeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
8297
- taxOfficeId?: (string) | null;
8298
- tenantId?: (string) | null;
8299
- parentId?: (string) | null;
8300
- taxpayerId?: (string) | null;
8301
- };
8302
9744
  };
8303
9745
 
8304
- export type PutApiCrmServiceRefundPointsByIdResponse = ({
9746
+ export type GetApiCrmServiceTaxFreesByIdDetailResponse = ({
8305
9747
  id?: string;
8306
9748
  creationTime?: string;
8307
9749
  creatorId?: (string) | null;
@@ -8310,10 +9752,6 @@ export type PutApiCrmServiceRefundPointsByIdResponse = ({
8310
9752
  isDeleted?: boolean;
8311
9753
  deleterId?: (string) | null;
8312
9754
  deletionTime?: (string) | null;
8313
- taxpayerId?: (string) | null;
8314
- typeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
8315
- taxOfficeId?: string;
8316
- parentId?: (string) | null;
8317
9755
  entityInformations?: Array<{
8318
9756
  id?: string;
8319
9757
  creationTime?: string;
@@ -8518,11 +9956,100 @@ export type PutApiCrmServiceRefundPointsByIdResponse = ({
8518
9956
  }> | null;
8519
9957
  });
8520
9958
 
8521
- export type GetApiCrmServiceRefundPointsByIdDetailData = {
9959
+ export type GetApiCrmServiceTaxFreesByIdSubTaxFreeData = {
8522
9960
  id: string;
8523
9961
  };
8524
9962
 
8525
- export type GetApiCrmServiceRefundPointsByIdDetailResponse = ({
9963
+ export type GetApiCrmServiceTaxFreesByIdSubTaxFreeResponse = ({
9964
+ items?: Array<{
9965
+ id?: string;
9966
+ name?: (string) | null;
9967
+ parentId?: (string) | null;
9968
+ parentName?: (string) | null;
9969
+ organizationId?: string;
9970
+ taxpayerId?: (string) | null;
9971
+ }> | null;
9972
+ totalCount?: number;
9973
+ });
9974
+
9975
+ export type PostApiCrmServiceTaxFreesWithComponentsData = {
9976
+ requestBody?: {
9977
+ entityInformationTypes: Array<{
9978
+ readonly extraProperties?: {
9979
+ [key: string]: unknown;
9980
+ } | null;
9981
+ organizations?: Array<{
9982
+ readonly extraProperties?: {
9983
+ [key: string]: unknown;
9984
+ } | null;
9985
+ name: string;
9986
+ legalStatusCode: string;
9987
+ contactInformations?: Array<{
9988
+ readonly extraProperties?: {
9989
+ [key: string]: unknown;
9990
+ } | null;
9991
+ telephones?: Array<{
9992
+ readonly extraProperties?: {
9993
+ [key: string]: unknown;
9994
+ } | null;
9995
+ areaCode: string;
9996
+ localNumber: string;
9997
+ ituCountryCode: string;
9998
+ primaryFlag: boolean;
9999
+ typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
10000
+ }> | null;
10001
+ addresses?: Array<{
10002
+ readonly extraProperties?: {
10003
+ [key: string]: unknown;
10004
+ } | null;
10005
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
10006
+ addressLine: string;
10007
+ postalCode?: (string) | null;
10008
+ primaryFlag?: boolean;
10009
+ countryId: string;
10010
+ regionId?: (string) | null;
10011
+ cityId?: (string) | null;
10012
+ districtId?: (string) | null;
10013
+ neighborhoodId?: (string) | null;
10014
+ }> | null;
10015
+ emails?: Array<{
10016
+ readonly extraProperties?: {
10017
+ [key: string]: unknown;
10018
+ } | null;
10019
+ emailAddress: string;
10020
+ primaryFlag: boolean;
10021
+ typeCode: 'WORK' | 'PERSONAL';
10022
+ }> | null;
10023
+ }> | null;
10024
+ }> | null;
10025
+ }>;
10026
+ parentId?: (string) | null;
10027
+ taxpayerId?: (string) | null;
10028
+ typeCode?: 'HEADQUARTER' | 'TAXFREE';
10029
+ taxOfficeId?: (string) | null;
10030
+ };
10031
+ };
10032
+
10033
+ export type PostApiCrmServiceTaxFreesWithComponentsResponse = ({
10034
+ id?: string;
10035
+ name?: (string) | null;
10036
+ parentId?: (string) | null;
10037
+ parentName?: (string) | null;
10038
+ organizationId?: string;
10039
+ taxpayerId?: (string) | null;
10040
+ });
10041
+
10042
+ export type PutApiCrmServiceTaxFreesByIdData = {
10043
+ id: string;
10044
+ requestBody?: {
10045
+ parentId?: (string) | null;
10046
+ taxpayerId?: (string) | null;
10047
+ typeCode?: 'HEADQUARTER' | 'TAXFREE';
10048
+ taxOfficeId?: (string) | null;
10049
+ };
10050
+ };
10051
+
10052
+ export type PutApiCrmServiceTaxFreesByIdResponse = ({
8526
10053
  id?: string;
8527
10054
  creationTime?: string;
8528
10055
  creatorId?: (string) | null;
@@ -8531,10 +10058,6 @@ export type GetApiCrmServiceRefundPointsByIdDetailResponse = ({
8531
10058
  isDeleted?: boolean;
8532
10059
  deleterId?: (string) | null;
8533
10060
  deletionTime?: (string) | null;
8534
- taxpayerId?: (string) | null;
8535
- typeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
8536
- taxOfficeId?: string;
8537
- parentId?: (string) | null;
8538
10061
  entityInformations?: Array<{
8539
10062
  id?: string;
8540
10063
  creationTime?: string;
@@ -8739,92 +10262,13 @@ export type GetApiCrmServiceRefundPointsByIdDetailResponse = ({
8739
10262
  }> | null;
8740
10263
  });
8741
10264
 
8742
- export type GetApiCrmServiceRefundPointsByIdSubRefundPointsData = {
8743
- id: string;
8744
- };
8745
-
8746
- export type GetApiCrmServiceRefundPointsByIdSubRefundPointsResponse = ({
8747
- items?: Array<{
8748
- id?: string;
8749
- name?: (string) | null;
8750
- organizationId?: string;
8751
- parentId?: (string) | null;
8752
- taxOfficeId?: string;
8753
- taxpayerId?: (string) | null;
8754
- }> | null;
8755
- totalCount?: number;
8756
- });
8757
-
8758
- export type PostApiCrmServiceRefundPointsWithComponentsData = {
8759
- requestBody?: {
8760
- typeCode: 'HEADQUARTER' | 'REFUNDPOINT';
8761
- taxOfficeId?: (string) | null;
8762
- parentId?: (string) | null;
8763
- taxpayerId?: (string) | null;
8764
- entityInformationTypes?: Array<{
8765
- readonly extraProperties?: {
8766
- [key: string]: unknown;
8767
- } | null;
8768
- organizations?: Array<{
8769
- name: string;
8770
- contactInformations: Array<{
8771
- readonly extraProperties?: {
8772
- [key: string]: unknown;
8773
- } | null;
8774
- telephones?: Array<{
8775
- readonly extraProperties?: {
8776
- [key: string]: unknown;
8777
- } | null;
8778
- areaCode: string;
8779
- localNumber: string;
8780
- ituCountryCode: string;
8781
- primaryFlag: boolean;
8782
- typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
8783
- }> | null;
8784
- addresses?: Array<{
8785
- readonly extraProperties?: {
8786
- [key: string]: unknown;
8787
- } | null;
8788
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
8789
- addressLine: string;
8790
- postalCode?: (string) | null;
8791
- primaryFlag?: boolean;
8792
- countryId: string;
8793
- regionId?: (string) | null;
8794
- cityId?: (string) | null;
8795
- districtId?: (string) | null;
8796
- neighborhoodId?: (string) | null;
8797
- }> | null;
8798
- emails?: Array<{
8799
- readonly extraProperties?: {
8800
- [key: string]: unknown;
8801
- } | null;
8802
- emailAddress: string;
8803
- primaryFlag: boolean;
8804
- typeCode: 'WORK' | 'PERSONAL';
8805
- }> | null;
8806
- }>;
8807
- }> | null;
8808
- }> | null;
8809
- };
8810
- };
8811
-
8812
- export type PostApiCrmServiceRefundPointsWithComponentsResponse = ({
8813
- id?: string;
8814
- name?: (string) | null;
8815
- organizationId?: string;
8816
- parentId?: (string) | null;
8817
- taxOfficeId?: string;
8818
- taxpayerId?: (string) | null;
8819
- });
8820
-
8821
- export type DeleteApiCrmServiceRefundPointsByIdWithComponentsData = {
10265
+ export type DeleteApiCrmServiceTaxFreesByIdWithComponentsData = {
8822
10266
  id: string;
8823
10267
  };
8824
10268
 
8825
- export type DeleteApiCrmServiceRefundPointsByIdWithComponentsResponse = (unknown);
10269
+ export type DeleteApiCrmServiceTaxFreesByIdWithComponentsResponse = (unknown);
8826
10270
 
8827
- export type PostApiCrmServiceRefundPointsByIdAffiliationsData = {
10271
+ export type PostApiCrmServiceTaxFreesByIdAffiliationsData = {
8828
10272
  id: string;
8829
10273
  requestBody?: {
8830
10274
  readonly extraProperties?: {
@@ -8837,9 +10281,9 @@ export type PostApiCrmServiceRefundPointsByIdAffiliationsData = {
8837
10281
  };
8838
10282
  };
8839
10283
 
8840
- export type PostApiCrmServiceRefundPointsByIdAffiliationsResponse = (unknown);
10284
+ export type PostApiCrmServiceTaxFreesByIdAffiliationsResponse = (unknown);
8841
10285
 
8842
- export type GetApiCrmServiceRefundPointsByIdAffiliationsData = {
10286
+ export type GetApiCrmServiceTaxFreesByIdAffiliationsData = {
8843
10287
  affiliationCodeId?: number;
8844
10288
  email?: string;
8845
10289
  entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
@@ -8851,7 +10295,7 @@ export type GetApiCrmServiceRefundPointsByIdAffiliationsData = {
8851
10295
  telephone?: string;
8852
10296
  };
8853
10297
 
8854
- export type GetApiCrmServiceRefundPointsByIdAffiliationsResponse = ({
10298
+ export type GetApiCrmServiceTaxFreesByIdAffiliationsResponse = ({
8855
10299
  items?: Array<{
8856
10300
  id?: string;
8857
10301
  partyId: string;
@@ -8866,23 +10310,110 @@ export type GetApiCrmServiceRefundPointsByIdAffiliationsResponse = ({
8866
10310
  totalCount?: number;
8867
10311
  });
8868
10312
 
8869
- export type DeleteApiCrmServiceRefundPointsByIdAffiliationsByAffiliationIdData = {
10313
+ export type DeleteApiCrmServiceTaxFreesByIdAffiliationsByAffiliationIdData = {
8870
10314
  affiliationId: string;
8871
10315
  id: string;
8872
10316
  };
8873
10317
 
8874
- export type DeleteApiCrmServiceRefundPointsByIdAffiliationsByAffiliationIdResponse = (unknown);
10318
+ export type DeleteApiCrmServiceTaxFreesByIdAffiliationsByAffiliationIdResponse = (unknown);
8875
10319
 
8876
- export type PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdData = {
10320
+ export type GetApiCrmServiceTaxFreesByIdOrganizationsData = {
10321
+ id: string;
10322
+ };
10323
+
10324
+ export type GetApiCrmServiceTaxFreesByIdOrganizationsResponse = (Array<{
10325
+ id?: string;
10326
+ creationTime?: string;
10327
+ creatorId?: (string) | null;
10328
+ lastModificationTime?: (string) | null;
10329
+ lastModifierId?: (string) | null;
10330
+ isDeleted?: boolean;
10331
+ deleterId?: (string) | null;
10332
+ deletionTime?: (string) | null;
10333
+ entityInformationTypeId?: (string) | null;
10334
+ name?: (string) | null;
10335
+ legalStatusCode?: (string) | null;
10336
+ readonly countryCode?: (string) | null;
10337
+ contactInformations?: Array<{
10338
+ id?: string;
10339
+ creationTime?: string;
10340
+ creatorId?: (string) | null;
10341
+ lastModificationTime?: (string) | null;
10342
+ lastModifierId?: (string) | null;
10343
+ isDeleted?: boolean;
10344
+ deleterId?: (string) | null;
10345
+ deletionTime?: (string) | null;
10346
+ organizationId?: (string) | null;
10347
+ individualId?: (string) | null;
10348
+ startDate?: string;
10349
+ endDate?: string;
10350
+ telephones?: Array<{
10351
+ id?: string;
10352
+ creationTime?: string;
10353
+ creatorId?: (string) | null;
10354
+ lastModificationTime?: (string) | null;
10355
+ lastModifierId?: (string) | null;
10356
+ isDeleted?: boolean;
10357
+ deleterId?: (string) | null;
10358
+ deletionTime?: (string) | null;
10359
+ areaCode?: (string) | null;
10360
+ localNumber?: (string) | null;
10361
+ ituCountryCode?: (string) | null;
10362
+ primaryFlag?: boolean;
10363
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
10364
+ contactInformationTypeId?: string;
10365
+ }> | null;
10366
+ addresses?: Array<{
10367
+ id: string;
10368
+ creationTime?: string;
10369
+ creatorId?: (string) | null;
10370
+ lastModificationTime?: (string) | null;
10371
+ lastModifierId?: (string) | null;
10372
+ isDeleted?: boolean;
10373
+ deleterId?: (string) | null;
10374
+ deletionTime?: (string) | null;
10375
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
10376
+ addressLine: string;
10377
+ postalCode: string;
10378
+ fullAddress: string;
10379
+ primaryFlag?: boolean;
10380
+ countryId: string;
10381
+ regionId?: (string) | null;
10382
+ cityId: string;
10383
+ districtId: string;
10384
+ neighborhoodId?: (string) | null;
10385
+ }> | null;
10386
+ emails?: Array<{
10387
+ id?: string;
10388
+ creationTime?: string;
10389
+ creatorId?: (string) | null;
10390
+ lastModificationTime?: (string) | null;
10391
+ lastModifierId?: (string) | null;
10392
+ isDeleted?: boolean;
10393
+ deleterId?: (string) | null;
10394
+ deletionTime?: (string) | null;
10395
+ primaryFlag?: boolean;
10396
+ typeCode?: 'WORK' | 'PERSONAL';
10397
+ emailAddress?: (string) | null;
10398
+ contactInformationTypeId?: string;
10399
+ }> | null;
10400
+ }> | null;
10401
+ }>);
10402
+
10403
+ export type PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdData = {
8877
10404
  id: string;
8878
10405
  organizationId: string;
8879
10406
  requestBody?: {
10407
+ readonly extraProperties?: {
10408
+ [key: string]: unknown;
10409
+ } | null;
8880
10410
  name: string;
10411
+ legalStatusCode?: (string) | null;
8881
10412
  parentCompanyId?: (string) | null;
8882
10413
  };
8883
10414
  };
8884
10415
 
8885
- export type PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdResponse = ({
10416
+ export type PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdResponse = ({
8886
10417
  id?: string;
8887
10418
  creationTime?: string;
8888
10419
  creatorId?: (string) | null;
@@ -8961,7 +10492,7 @@ export type PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdRespons
8961
10492
  }> | null;
8962
10493
  });
8963
10494
 
8964
- export type PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdData = {
10495
+ export type PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdData = {
8965
10496
  id: string;
8966
10497
  requestBody?: {
8967
10498
  readonly extraProperties?: {
@@ -8976,7 +10507,7 @@ export type PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdData = {
8976
10507
  telephoneId: string;
8977
10508
  };
8978
10509
 
8979
- export type PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdResponse = ({
10510
+ export type PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdResponse = ({
8980
10511
  id?: string;
8981
10512
  creationTime?: string;
8982
10513
  creatorId?: (string) | null;
@@ -8993,182 +10524,44 @@ export type PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdResponse = ({
8993
10524
  contactInformationTypeId?: string;
8994
10525
  });
8995
10526
 
8996
- export type PutApiCrmServiceRefundPointsByIdAddressesByAddressIdData = {
10527
+ export type PutApiCrmServiceTaxFreesByIdAddressesByAddressIdData = {
8997
10528
  addressId: string;
8998
10529
  id: string;
8999
10530
  requestBody?: {
9000
10531
  readonly extraProperties?: {
9001
10532
  [key: string]: unknown;
9002
10533
  } | null;
9003
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9004
- addressLine: string;
9005
- postalCode: string;
9006
- primaryFlag?: boolean;
9007
- countryId: string;
9008
- regionId?: (string) | null;
9009
- cityId?: (string) | null;
9010
- districtId?: (string) | null;
9011
- neighborhoodId?: (string) | null;
9012
- };
9013
- };
9014
-
9015
- export type PutApiCrmServiceRefundPointsByIdAddressesByAddressIdResponse = ({
9016
- contactInformationTypeId?: string;
9017
- locationServiceAddressId?: string;
9018
- });
9019
-
9020
- export type PutApiCrmServiceRefundPointsByIdEmailsByEmailIdData = {
9021
- emailId: string;
9022
- id: string;
9023
- requestBody?: {
9024
- readonly extraProperties?: {
9025
- [key: string]: unknown;
9026
- } | null;
9027
- emailAddress: string;
9028
- primaryFlag?: boolean;
9029
- typeCode: 'WORK' | 'PERSONAL';
9030
- };
9031
- };
9032
-
9033
- export type PutApiCrmServiceRefundPointsByIdEmailsByEmailIdResponse = ({
9034
- id?: string;
9035
- creationTime?: string;
9036
- creatorId?: (string) | null;
9037
- lastModificationTime?: (string) | null;
9038
- lastModifierId?: (string) | null;
9039
- isDeleted?: boolean;
9040
- deleterId?: (string) | null;
9041
- deletionTime?: (string) | null;
9042
- primaryFlag?: boolean;
9043
- typeCode?: 'WORK' | 'PERSONAL';
9044
- emailAddress?: (string) | null;
9045
- contactInformationTypeId?: string;
9046
- });
9047
-
9048
- export type GetApiCrmServiceRefundPointsByIdAddressesData = {
9049
- id: string;
9050
- };
9051
-
9052
- export type GetApiCrmServiceRefundPointsByIdAddressesResponse = (Array<{
9053
- id: string;
9054
- creationTime?: string;
9055
- creatorId?: (string) | null;
9056
- lastModificationTime?: (string) | null;
9057
- lastModifierId?: (string) | null;
9058
- isDeleted?: boolean;
9059
- deleterId?: (string) | null;
9060
- deletionTime?: (string) | null;
9061
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9062
- addressLine: string;
9063
- postalCode: string;
9064
- fullAddress: string;
9065
- primaryFlag?: boolean;
9066
- countryId: string;
9067
- regionId?: (string) | null;
9068
- cityId: string;
9069
- districtId: string;
9070
- neighborhoodId?: (string) | null;
9071
- }>);
9072
-
9073
- export type GetIntegrationApiRefundPointsByIdParentIdOrSelfIdData = {
9074
- id: string;
9075
- };
9076
-
9077
- export type GetIntegrationApiRefundPointsByIdParentIdOrSelfIdResponse = (string);
9078
-
9079
- export type GetIntegrationApiRefundPointsData = {
9080
- ids?: Array<(string)>;
9081
- maxResultCount?: number;
9082
- name?: string;
9083
- skipCount?: number;
9084
- sorting?: string;
9085
- };
9086
-
9087
- export type GetIntegrationApiRefundPointsResponse = ({
9088
- items?: Array<{
9089
- id?: string;
9090
- name?: (string) | null;
9091
- organizationId?: string;
9092
- parentId?: (string) | null;
9093
- taxOfficeId?: string;
9094
- taxpayerId?: (string) | null;
9095
- }> | null;
9096
- totalCount?: number;
9097
- });
9098
-
9099
- export type GetIntegrationApiRefundPointsByIdDetailForRefundData = {
9100
- id: string;
9101
- };
9102
-
9103
- export type GetIntegrationApiRefundPointsByIdDetailForRefundResponse = ({
9104
- name?: (string) | null;
9105
- fullAddress?: (string) | null;
9106
- });
9107
-
9108
- export type GetIntegrationApiRefundPointsRefundPointNamesData = {
9109
- ids?: Array<(string)>;
9110
- maxResultCount?: number;
9111
- skipCount?: number;
9112
- };
9113
-
9114
- export type GetIntegrationApiRefundPointsRefundPointNamesResponse = ({
9115
- items?: Array<{
9116
- id: string;
9117
- name: string;
9118
- }> | null;
9119
- totalCount?: number;
9120
- });
9121
-
9122
- export type GetIntegrationApiRefundPointsByIdExistData = {
9123
- id: string;
9124
- parentId?: string;
9125
- wantedTypeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
9126
- };
9127
-
9128
- export type GetIntegrationApiRefundPointsByIdExistResponse = (unknown);
9129
-
9130
- export type GetIntegrationApiRefundPointsByIdBasicInformationData = {
9131
- id: string;
9132
- };
9133
-
9134
- export type GetIntegrationApiRefundPointsByIdBasicInformationResponse = ({
9135
- id?: string;
9136
- name?: (string) | null;
9137
- taxOffice?: {
9138
- id: string;
9139
- name: string;
9140
- };
9141
- numberOfStores?: number;
9142
- accountManagers?: Array<{
9143
- id?: string;
9144
- name?: (string) | null;
9145
- }> | null;
9146
- });
9147
-
9148
- export type GetApiCrmServiceTaxFreesData = {
9149
- maxResultCount?: number;
9150
- name?: string;
9151
- skipCount?: number;
9152
- sorting?: string;
10534
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
10535
+ addressLine: string;
10536
+ postalCode: string;
10537
+ primaryFlag?: boolean;
10538
+ countryId: string;
10539
+ regionId?: (string) | null;
10540
+ cityId?: (string) | null;
10541
+ districtId?: (string) | null;
10542
+ neighborhoodId?: (string) | null;
10543
+ };
9153
10544
  };
9154
10545
 
9155
- export type GetApiCrmServiceTaxFreesResponse = ({
9156
- items?: Array<{
9157
- id?: string;
9158
- name?: (string) | null;
9159
- parentId?: (string) | null;
9160
- parentName?: (string) | null;
9161
- organizationId?: string;
9162
- taxpayerId?: (string) | null;
9163
- }> | null;
9164
- totalCount?: number;
10546
+ export type PutApiCrmServiceTaxFreesByIdAddressesByAddressIdResponse = ({
10547
+ contactInformationTypeId?: string;
10548
+ locationServiceAddressId?: string;
9165
10549
  });
9166
10550
 
9167
- export type GetApiCrmServiceTaxFreesByIdDetailData = {
10551
+ export type PutApiCrmServiceTaxFreesByIdEmailsByEmailIdData = {
10552
+ emailId: string;
9168
10553
  id: string;
10554
+ requestBody?: {
10555
+ readonly extraProperties?: {
10556
+ [key: string]: unknown;
10557
+ } | null;
10558
+ emailAddress: string;
10559
+ primaryFlag?: boolean;
10560
+ typeCode: 'WORK' | 'PERSONAL';
10561
+ };
9169
10562
  };
9170
10563
 
9171
- export type GetApiCrmServiceTaxFreesByIdDetailResponse = ({
10564
+ export type PutApiCrmServiceTaxFreesByIdEmailsByEmailIdResponse = ({
9172
10565
  id?: string;
9173
10566
  creationTime?: string;
9174
10567
  creatorId?: (string) | null;
@@ -9177,8 +10570,21 @@ export type GetApiCrmServiceTaxFreesByIdDetailResponse = ({
9177
10570
  isDeleted?: boolean;
9178
10571
  deleterId?: (string) | null;
9179
10572
  deletionTime?: (string) | null;
9180
- entityInformations?: Array<{
9181
- id?: string;
10573
+ primaryFlag?: boolean;
10574
+ typeCode?: 'WORK' | 'PERSONAL';
10575
+ emailAddress?: (string) | null;
10576
+ contactInformationTypeId?: string;
10577
+ });
10578
+
10579
+ export type GetApiCrmServiceTaxFreesByIdAffiliatedIndividualsData = {
10580
+ id: string;
10581
+ };
10582
+
10583
+ export type GetApiCrmServiceTaxFreesByIdAffiliatedIndividualsResponse = (Array<{
10584
+ id?: string;
10585
+ name: string;
10586
+ affiliationCode?: {
10587
+ id?: number;
9182
10588
  creationTime?: string;
9183
10589
  creatorId?: (string) | null;
9184
10590
  lastModificationTime?: (string) | null;
@@ -9186,295 +10592,54 @@ export type GetApiCrmServiceTaxFreesByIdDetailResponse = ({
9186
10592
  isDeleted?: boolean;
9187
10593
  deleterId?: (string) | null;
9188
10594
  deletionTime?: (string) | null;
9189
- merchantId?: (string) | null;
9190
- customsId?: (string) | null;
9191
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
9192
- entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
9193
- individuals?: Array<{
9194
- id?: string;
9195
- creationTime?: string;
9196
- creatorId?: (string) | null;
9197
- lastModificationTime?: (string) | null;
9198
- lastModifierId?: (string) | null;
9199
- isDeleted?: boolean;
9200
- deleterId?: (string) | null;
9201
- deletionTime?: (string) | null;
9202
- name?: {
9203
- id?: string;
9204
- creationTime?: string;
9205
- creatorId?: (string) | null;
9206
- lastModificationTime?: (string) | null;
9207
- lastModifierId?: (string) | null;
9208
- isDeleted?: boolean;
9209
- deleterId?: (string) | null;
9210
- deletionTime?: (string) | null;
9211
- salutation?: (string) | null;
9212
- firstName?: (string) | null;
9213
- lastName?: (string) | null;
9214
- suffix?: (string) | null;
9215
- mailingName?: (string) | null;
9216
- officialName?: (string) | null;
9217
- individualId?: string;
9218
- };
9219
- contactInformations?: Array<{
9220
- id?: string;
9221
- creationTime?: string;
9222
- creatorId?: (string) | null;
9223
- lastModificationTime?: (string) | null;
9224
- lastModifierId?: (string) | null;
9225
- isDeleted?: boolean;
9226
- deleterId?: (string) | null;
9227
- deletionTime?: (string) | null;
9228
- organizationId?: (string) | null;
9229
- individualId?: (string) | null;
9230
- startDate?: string;
9231
- endDate?: string;
9232
- telephones?: Array<{
9233
- id?: string;
9234
- creationTime?: string;
9235
- creatorId?: (string) | null;
9236
- lastModificationTime?: (string) | null;
9237
- lastModifierId?: (string) | null;
9238
- isDeleted?: boolean;
9239
- deleterId?: (string) | null;
9240
- deletionTime?: (string) | null;
9241
- areaCode?: (string) | null;
9242
- localNumber?: (string) | null;
9243
- ituCountryCode?: (string) | null;
9244
- primaryFlag?: boolean;
9245
- typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9246
- contactInformationTypeId?: string;
9247
- }> | null;
9248
- addresses?: Array<{
9249
- id: string;
9250
- creationTime?: string;
9251
- creatorId?: (string) | null;
9252
- lastModificationTime?: (string) | null;
9253
- lastModifierId?: (string) | null;
9254
- isDeleted?: boolean;
9255
- deleterId?: (string) | null;
9256
- deletionTime?: (string) | null;
9257
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9258
- addressLine: string;
9259
- postalCode: string;
9260
- fullAddress: string;
9261
- primaryFlag?: boolean;
9262
- countryId: string;
9263
- regionId?: (string) | null;
9264
- cityId: string;
9265
- districtId: string;
9266
- neighborhoodId?: (string) | null;
9267
- }> | null;
9268
- emails?: Array<{
9269
- id?: string;
9270
- creationTime?: string;
9271
- creatorId?: (string) | null;
9272
- lastModificationTime?: (string) | null;
9273
- lastModifierId?: (string) | null;
9274
- isDeleted?: boolean;
9275
- deleterId?: (string) | null;
9276
- deletionTime?: (string) | null;
9277
- primaryFlag?: boolean;
9278
- typeCode?: 'WORK' | 'PERSONAL';
9279
- emailAddress?: (string) | null;
9280
- contactInformationTypeId?: string;
9281
- }> | null;
9282
- }> | null;
9283
- personalSummaries?: Array<{
9284
- id?: string;
9285
- creationTime?: string;
9286
- creatorId?: (string) | null;
9287
- lastModificationTime?: (string) | null;
9288
- lastModifierId?: (string) | null;
9289
- isDeleted?: boolean;
9290
- deleterId?: (string) | null;
9291
- deletionTime?: (string) | null;
9292
- date?: string;
9293
- birthDate?: string;
9294
- ethnicity?: (string) | null;
9295
- maritalStatusCode?: (string) | null;
9296
- religiousAffiliationName?: (string) | null;
9297
- genderTypeCode?: 'MALE' | 'FEMALE';
9298
- individualId?: string;
9299
- }> | null;
9300
- entityInformationTypeId?: (string) | null;
9301
- abpUserId?: (string) | null;
9302
- }> | null;
9303
- organizations?: Array<{
9304
- id?: string;
9305
- creationTime?: string;
9306
- creatorId?: (string) | null;
9307
- lastModificationTime?: (string) | null;
9308
- lastModifierId?: (string) | null;
9309
- isDeleted?: boolean;
9310
- deleterId?: (string) | null;
9311
- deletionTime?: (string) | null;
9312
- entityInformationTypeId?: (string) | null;
9313
- name?: (string) | null;
9314
- legalStatusCode?: (string) | null;
9315
- readonly countryCode?: (string) | null;
9316
- contactInformations?: Array<{
9317
- id?: string;
9318
- creationTime?: string;
9319
- creatorId?: (string) | null;
9320
- lastModificationTime?: (string) | null;
9321
- lastModifierId?: (string) | null;
9322
- isDeleted?: boolean;
9323
- deleterId?: (string) | null;
9324
- deletionTime?: (string) | null;
9325
- organizationId?: (string) | null;
9326
- individualId?: (string) | null;
9327
- startDate?: string;
9328
- endDate?: string;
9329
- telephones?: Array<{
9330
- id?: string;
9331
- creationTime?: string;
9332
- creatorId?: (string) | null;
9333
- lastModificationTime?: (string) | null;
9334
- lastModifierId?: (string) | null;
9335
- isDeleted?: boolean;
9336
- deleterId?: (string) | null;
9337
- deletionTime?: (string) | null;
9338
- areaCode?: (string) | null;
9339
- localNumber?: (string) | null;
9340
- ituCountryCode?: (string) | null;
9341
- primaryFlag?: boolean;
9342
- typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9343
- contactInformationTypeId?: string;
9344
- }> | null;
9345
- addresses?: Array<{
9346
- id: string;
9347
- creationTime?: string;
9348
- creatorId?: (string) | null;
9349
- lastModificationTime?: (string) | null;
9350
- lastModifierId?: (string) | null;
9351
- isDeleted?: boolean;
9352
- deleterId?: (string) | null;
9353
- deletionTime?: (string) | null;
9354
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9355
- addressLine: string;
9356
- postalCode: string;
9357
- fullAddress: string;
9358
- primaryFlag?: boolean;
9359
- countryId: string;
9360
- regionId?: (string) | null;
9361
- cityId: string;
9362
- districtId: string;
9363
- neighborhoodId?: (string) | null;
9364
- }> | null;
9365
- emails?: Array<{
9366
- id?: string;
9367
- creationTime?: string;
9368
- creatorId?: (string) | null;
9369
- lastModificationTime?: (string) | null;
9370
- lastModifierId?: (string) | null;
9371
- isDeleted?: boolean;
9372
- deleterId?: (string) | null;
9373
- deletionTime?: (string) | null;
9374
- primaryFlag?: boolean;
9375
- typeCode?: 'WORK' | 'PERSONAL';
9376
- emailAddress?: (string) | null;
9377
- contactInformationTypeId?: string;
9378
- }> | null;
9379
- }> | null;
9380
- }> | null;
9381
- }> | null;
9382
- });
10595
+ name: string;
10596
+ description?: (string) | null;
10597
+ roleId: string;
10598
+ status: 'Waiting' | 'Approved' | 'Rejected';
10599
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
10600
+ language: string;
10601
+ };
10602
+ }>);
9383
10603
 
9384
- export type GetApiCrmServiceTaxFreesByIdSubTaxFreeData = {
9385
- id: string;
10604
+ export type GetApiCrmServiceTaxOfficesData = {
10605
+ maxResultCount?: number;
10606
+ name?: string;
10607
+ skipCount?: number;
10608
+ sorting?: string;
9386
10609
  };
9387
10610
 
9388
- export type GetApiCrmServiceTaxFreesByIdSubTaxFreeResponse = ({
10611
+ export type GetApiCrmServiceTaxOfficesResponse = ({
9389
10612
  items?: Array<{
9390
10613
  id?: string;
9391
10614
  name?: (string) | null;
9392
10615
  parentId?: (string) | null;
9393
- parentName?: (string) | null;
9394
10616
  organizationId?: string;
9395
10617
  taxpayerId?: (string) | null;
9396
10618
  }> | null;
9397
10619
  totalCount?: number;
9398
10620
  });
9399
10621
 
9400
- export type PostApiCrmServiceTaxFreesWithComponentsData = {
9401
- requestBody?: {
9402
- entityInformationTypes: Array<{
9403
- readonly extraProperties?: {
9404
- [key: string]: unknown;
9405
- } | null;
9406
- organizations?: Array<{
9407
- readonly extraProperties?: {
9408
- [key: string]: unknown;
9409
- } | null;
9410
- name: string;
9411
- legalStatusCode: string;
9412
- contactInformations?: Array<{
9413
- readonly extraProperties?: {
9414
- [key: string]: unknown;
9415
- } | null;
9416
- telephones?: Array<{
9417
- readonly extraProperties?: {
9418
- [key: string]: unknown;
9419
- } | null;
9420
- areaCode: string;
9421
- localNumber: string;
9422
- ituCountryCode: string;
9423
- primaryFlag: boolean;
9424
- typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9425
- }> | null;
9426
- addresses?: Array<{
9427
- readonly extraProperties?: {
9428
- [key: string]: unknown;
9429
- } | null;
9430
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9431
- addressLine: string;
9432
- postalCode?: (string) | null;
9433
- primaryFlag?: boolean;
9434
- countryId: string;
9435
- regionId?: (string) | null;
9436
- cityId?: (string) | null;
9437
- districtId?: (string) | null;
9438
- neighborhoodId?: (string) | null;
9439
- }> | null;
9440
- emails?: Array<{
9441
- readonly extraProperties?: {
9442
- [key: string]: unknown;
9443
- } | null;
9444
- emailAddress: string;
9445
- primaryFlag: boolean;
9446
- typeCode: 'WORK' | 'PERSONAL';
9447
- }> | null;
9448
- }> | null;
9449
- }> | null;
9450
- }>;
9451
- parentId?: (string) | null;
9452
- taxpayerId?: (string) | null;
9453
- typeCode?: 'HEADQUARTER' | 'TAXFREE';
9454
- taxOfficeId?: (string) | null;
9455
- };
10622
+ export type GetApiCrmServiceTaxOfficesByIdData = {
10623
+ id: string;
9456
10624
  };
9457
10625
 
9458
- export type PostApiCrmServiceTaxFreesWithComponentsResponse = ({
10626
+ export type GetApiCrmServiceTaxOfficesByIdResponse = ({
9459
10627
  id?: string;
9460
10628
  name?: (string) | null;
9461
10629
  parentId?: (string) | null;
9462
- parentName?: (string) | null;
9463
10630
  organizationId?: string;
9464
10631
  taxpayerId?: (string) | null;
9465
10632
  });
9466
10633
 
9467
- export type PutApiCrmServiceTaxFreesByIdData = {
10634
+ export type PutApiCrmServiceTaxOfficesByIdData = {
9468
10635
  id: string;
9469
10636
  requestBody?: {
9470
10637
  parentId?: (string) | null;
9471
- taxpayerId?: (string) | null;
9472
- typeCode?: 'HEADQUARTER' | 'TAXFREE';
9473
- taxOfficeId?: (string) | null;
10638
+ taxpayerId: string;
9474
10639
  };
9475
10640
  };
9476
10641
 
9477
- export type PutApiCrmServiceTaxFreesByIdResponse = ({
10642
+ export type PutApiCrmServiceTaxOfficesByIdResponse = ({
9478
10643
  id?: string;
9479
10644
  creationTime?: string;
9480
10645
  creatorId?: (string) | null;
@@ -9483,6 +10648,8 @@ export type PutApiCrmServiceTaxFreesByIdResponse = ({
9483
10648
  isDeleted?: boolean;
9484
10649
  deleterId?: (string) | null;
9485
10650
  deletionTime?: (string) | null;
10651
+ parentId?: (string) | null;
10652
+ taxpayerId?: (string) | null;
9486
10653
  entityInformations?: Array<{
9487
10654
  id?: string;
9488
10655
  creationTime?: string;
@@ -9651,328 +10818,42 @@ export type PutApiCrmServiceTaxFreesByIdResponse = ({
9651
10818
  addresses?: Array<{
9652
10819
  id: string;
9653
10820
  creationTime?: string;
9654
- creatorId?: (string) | null;
9655
- lastModificationTime?: (string) | null;
9656
- lastModifierId?: (string) | null;
9657
- isDeleted?: boolean;
9658
- deleterId?: (string) | null;
9659
- deletionTime?: (string) | null;
9660
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9661
- addressLine: string;
9662
- postalCode: string;
9663
- fullAddress: string;
9664
- primaryFlag?: boolean;
9665
- countryId: string;
9666
- regionId?: (string) | null;
9667
- cityId: string;
9668
- districtId: string;
9669
- neighborhoodId?: (string) | null;
9670
- }> | null;
9671
- emails?: Array<{
9672
- id?: string;
9673
- creationTime?: string;
9674
- creatorId?: (string) | null;
9675
- lastModificationTime?: (string) | null;
9676
- lastModifierId?: (string) | null;
9677
- isDeleted?: boolean;
9678
- deleterId?: (string) | null;
9679
- deletionTime?: (string) | null;
9680
- primaryFlag?: boolean;
9681
- typeCode?: 'WORK' | 'PERSONAL';
9682
- emailAddress?: (string) | null;
9683
- contactInformationTypeId?: string;
9684
- }> | null;
9685
- }> | null;
9686
- }> | null;
9687
- }> | null;
9688
- });
9689
-
9690
- export type DeleteApiCrmServiceTaxFreesByIdWithComponentsData = {
9691
- id: string;
9692
- };
9693
-
9694
- export type DeleteApiCrmServiceTaxFreesByIdWithComponentsResponse = (unknown);
9695
-
9696
- export type PostApiCrmServiceTaxFreesByIdAffiliationsData = {
9697
- id: string;
9698
- requestBody?: {
9699
- readonly extraProperties?: {
9700
- [key: string]: unknown;
9701
- } | null;
9702
- description?: (string) | null;
9703
- affiliationCodeId: number;
9704
- email: string;
9705
- entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
9706
- };
9707
- };
9708
-
9709
- export type PostApiCrmServiceTaxFreesByIdAffiliationsResponse = (unknown);
9710
-
9711
- export type GetApiCrmServiceTaxFreesByIdAffiliationsData = {
9712
- affiliationCodeId?: number;
9713
- email?: string;
9714
- entityInformationTypeCode?: 'INDIVIDUAL' | 'ORGANIZATION';
9715
- id: string;
9716
- maxResultCount?: number;
9717
- name?: string;
9718
- skipCount?: number;
9719
- sorting?: string;
9720
- telephone?: string;
9721
- };
9722
-
9723
- export type GetApiCrmServiceTaxFreesByIdAffiliationsResponse = ({
9724
- items?: Array<{
9725
- id?: string;
9726
- partyId: string;
9727
- name: string;
9728
- codeId: number;
9729
- codeName: string;
9730
- entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
9731
- abpUserId?: (string) | null;
9732
- email: string;
9733
- telephone: string;
9734
- }> | null;
9735
- totalCount?: number;
9736
- });
9737
-
9738
- export type DeleteApiCrmServiceTaxFreesByIdAffiliationsByAffiliationIdData = {
9739
- affiliationId: string;
9740
- id: string;
9741
- };
9742
-
9743
- export type DeleteApiCrmServiceTaxFreesByIdAffiliationsByAffiliationIdResponse = (unknown);
9744
-
9745
- export type PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdData = {
9746
- id: string;
9747
- organizationId: string;
9748
- requestBody?: {
9749
- readonly extraProperties?: {
9750
- [key: string]: unknown;
9751
- } | null;
9752
- name: string;
9753
- legalStatusCode?: (string) | null;
9754
- parentCompanyId?: (string) | null;
9755
- };
9756
- };
9757
-
9758
- export type PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdResponse = ({
9759
- id?: string;
9760
- creationTime?: string;
9761
- creatorId?: (string) | null;
9762
- lastModificationTime?: (string) | null;
9763
- lastModifierId?: (string) | null;
9764
- isDeleted?: boolean;
9765
- deleterId?: (string) | null;
9766
- deletionTime?: (string) | null;
9767
- entityInformationTypeId?: (string) | null;
9768
- name?: (string) | null;
9769
- legalStatusCode?: (string) | null;
9770
- readonly countryCode?: (string) | null;
9771
- contactInformations?: Array<{
9772
- id?: string;
9773
- creationTime?: string;
9774
- creatorId?: (string) | null;
9775
- lastModificationTime?: (string) | null;
9776
- lastModifierId?: (string) | null;
9777
- isDeleted?: boolean;
9778
- deleterId?: (string) | null;
9779
- deletionTime?: (string) | null;
9780
- organizationId?: (string) | null;
9781
- individualId?: (string) | null;
9782
- startDate?: string;
9783
- endDate?: string;
9784
- telephones?: Array<{
9785
- id?: string;
9786
- creationTime?: string;
9787
- creatorId?: (string) | null;
9788
- lastModificationTime?: (string) | null;
9789
- lastModifierId?: (string) | null;
9790
- isDeleted?: boolean;
9791
- deleterId?: (string) | null;
9792
- deletionTime?: (string) | null;
9793
- areaCode?: (string) | null;
9794
- localNumber?: (string) | null;
9795
- ituCountryCode?: (string) | null;
9796
- primaryFlag?: boolean;
9797
- typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9798
- contactInformationTypeId?: string;
9799
- }> | null;
9800
- addresses?: Array<{
9801
- id: string;
9802
- creationTime?: string;
9803
- creatorId?: (string) | null;
9804
- lastModificationTime?: (string) | null;
9805
- lastModifierId?: (string) | null;
9806
- isDeleted?: boolean;
9807
- deleterId?: (string) | null;
9808
- deletionTime?: (string) | null;
9809
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9810
- addressLine: string;
9811
- postalCode: string;
9812
- fullAddress: string;
9813
- primaryFlag?: boolean;
9814
- countryId: string;
9815
- regionId?: (string) | null;
9816
- cityId: string;
9817
- districtId: string;
9818
- neighborhoodId?: (string) | null;
9819
- }> | null;
9820
- emails?: Array<{
9821
- id?: string;
9822
- creationTime?: string;
9823
- creatorId?: (string) | null;
9824
- lastModificationTime?: (string) | null;
9825
- lastModifierId?: (string) | null;
9826
- isDeleted?: boolean;
9827
- deleterId?: (string) | null;
9828
- deletionTime?: (string) | null;
9829
- primaryFlag?: boolean;
9830
- typeCode?: 'WORK' | 'PERSONAL';
9831
- emailAddress?: (string) | null;
9832
- contactInformationTypeId?: string;
10821
+ creatorId?: (string) | null;
10822
+ lastModificationTime?: (string) | null;
10823
+ lastModifierId?: (string) | null;
10824
+ isDeleted?: boolean;
10825
+ deleterId?: (string) | null;
10826
+ deletionTime?: (string) | null;
10827
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
10828
+ addressLine: string;
10829
+ postalCode: string;
10830
+ fullAddress: string;
10831
+ primaryFlag?: boolean;
10832
+ countryId: string;
10833
+ regionId?: (string) | null;
10834
+ cityId: string;
10835
+ districtId: string;
10836
+ neighborhoodId?: (string) | null;
10837
+ }> | null;
10838
+ emails?: Array<{
10839
+ id?: string;
10840
+ creationTime?: string;
10841
+ creatorId?: (string) | null;
10842
+ lastModificationTime?: (string) | null;
10843
+ lastModifierId?: (string) | null;
10844
+ isDeleted?: boolean;
10845
+ deleterId?: (string) | null;
10846
+ deletionTime?: (string) | null;
10847
+ primaryFlag?: boolean;
10848
+ typeCode?: 'WORK' | 'PERSONAL';
10849
+ emailAddress?: (string) | null;
10850
+ contactInformationTypeId?: string;
10851
+ }> | null;
10852
+ }> | null;
9833
10853
  }> | null;
9834
10854
  }> | null;
9835
10855
  });
9836
10856
 
9837
- export type PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdData = {
9838
- id: string;
9839
- requestBody?: {
9840
- readonly extraProperties?: {
9841
- [key: string]: unknown;
9842
- } | null;
9843
- areaCode: string;
9844
- localNumber: string;
9845
- ituCountryCode: string;
9846
- primaryFlag?: boolean;
9847
- typeCode: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9848
- };
9849
- telephoneId: string;
9850
- };
9851
-
9852
- export type PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdResponse = ({
9853
- id?: string;
9854
- creationTime?: string;
9855
- creatorId?: (string) | null;
9856
- lastModificationTime?: (string) | null;
9857
- lastModifierId?: (string) | null;
9858
- isDeleted?: boolean;
9859
- deleterId?: (string) | null;
9860
- deletionTime?: (string) | null;
9861
- areaCode?: (string) | null;
9862
- localNumber?: (string) | null;
9863
- ituCountryCode?: (string) | null;
9864
- primaryFlag?: boolean;
9865
- typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
9866
- contactInformationTypeId?: string;
9867
- });
9868
-
9869
- export type PutApiCrmServiceTaxFreesByIdAddressesByAddressIdData = {
9870
- addressId: string;
9871
- id: string;
9872
- requestBody?: {
9873
- readonly extraProperties?: {
9874
- [key: string]: unknown;
9875
- } | null;
9876
- type: 'Home' | 'Office' | 'Invoice' | 'Contact';
9877
- addressLine: string;
9878
- postalCode: string;
9879
- primaryFlag?: boolean;
9880
- countryId: string;
9881
- regionId?: (string) | null;
9882
- cityId?: (string) | null;
9883
- districtId?: (string) | null;
9884
- neighborhoodId?: (string) | null;
9885
- };
9886
- };
9887
-
9888
- export type PutApiCrmServiceTaxFreesByIdAddressesByAddressIdResponse = ({
9889
- contactInformationTypeId?: string;
9890
- locationServiceAddressId?: string;
9891
- });
9892
-
9893
- export type PutApiCrmServiceTaxFreesByIdEmailsByEmailIdData = {
9894
- emailId: string;
9895
- id: string;
9896
- requestBody?: {
9897
- readonly extraProperties?: {
9898
- [key: string]: unknown;
9899
- } | null;
9900
- emailAddress: string;
9901
- primaryFlag?: boolean;
9902
- typeCode: 'WORK' | 'PERSONAL';
9903
- };
9904
- };
9905
-
9906
- export type PutApiCrmServiceTaxFreesByIdEmailsByEmailIdResponse = ({
9907
- id?: string;
9908
- creationTime?: string;
9909
- creatorId?: (string) | null;
9910
- lastModificationTime?: (string) | null;
9911
- lastModifierId?: (string) | null;
9912
- isDeleted?: boolean;
9913
- deleterId?: (string) | null;
9914
- deletionTime?: (string) | null;
9915
- primaryFlag?: boolean;
9916
- typeCode?: 'WORK' | 'PERSONAL';
9917
- emailAddress?: (string) | null;
9918
- contactInformationTypeId?: string;
9919
- });
9920
-
9921
- export type GetApiCrmServiceTaxFreesByIdAffiliatedIndividualsData = {
9922
- id: string;
9923
- };
9924
-
9925
- export type GetApiCrmServiceTaxFreesByIdAffiliatedIndividualsResponse = (Array<{
9926
- id?: string;
9927
- name: string;
9928
- affiliationCode?: {
9929
- id?: number;
9930
- creationTime?: string;
9931
- creatorId?: (string) | null;
9932
- lastModificationTime?: (string) | null;
9933
- lastModifierId?: (string) | null;
9934
- isDeleted?: boolean;
9935
- deleterId?: (string) | null;
9936
- deletionTime?: (string) | null;
9937
- name?: (string) | null;
9938
- description?: (string) | null;
9939
- roleId?: (string) | null;
9940
- status?: 'Waiting' | 'Approved' | 'Rejected';
9941
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
9942
- language?: (string) | null;
9943
- };
9944
- }>);
9945
-
9946
- export type GetApiCrmServiceTaxOfficesData = {
9947
- maxResultCount?: number;
9948
- name?: string;
9949
- skipCount?: number;
9950
- sorting?: string;
9951
- };
9952
-
9953
- export type GetApiCrmServiceTaxOfficesResponse = ({
9954
- items?: Array<{
9955
- id?: string;
9956
- name?: (string) | null;
9957
- parentId?: (string) | null;
9958
- organizationId?: string;
9959
- taxpayerId?: (string) | null;
9960
- }> | null;
9961
- totalCount?: number;
9962
- });
9963
-
9964
- export type GetApiCrmServiceTaxOfficesByIdData = {
9965
- id: string;
9966
- };
9967
-
9968
- export type GetApiCrmServiceTaxOfficesByIdResponse = ({
9969
- id?: string;
9970
- name?: (string) | null;
9971
- parentId?: (string) | null;
9972
- organizationId?: string;
9973
- taxpayerId?: (string) | null;
9974
- });
9975
-
9976
10857
  export type GetApiCrmServiceTaxOfficesByIdDetailData = {
9977
10858
  id: string;
9978
10859
  };
@@ -9986,6 +10867,7 @@ export type GetApiCrmServiceTaxOfficesByIdDetailResponse = ({
9986
10867
  isDeleted?: boolean;
9987
10868
  deleterId?: (string) | null;
9988
10869
  deletionTime?: (string) | null;
10870
+ parentId?: (string) | null;
9989
10871
  taxpayerId?: (string) | null;
9990
10872
  entityInformations?: Array<{
9991
10873
  id?: string;
@@ -10327,6 +11209,89 @@ export type DeleteApiCrmServiceTaxOfficesByIdAffiliationsByAffiliationIdData = {
10327
11209
 
10328
11210
  export type DeleteApiCrmServiceTaxOfficesByIdAffiliationsByAffiliationIdResponse = (unknown);
10329
11211
 
11212
+ export type GetApiCrmServiceTaxOfficesByIdOrganizationsData = {
11213
+ id: string;
11214
+ };
11215
+
11216
+ export type GetApiCrmServiceTaxOfficesByIdOrganizationsResponse = (Array<{
11217
+ id?: string;
11218
+ creationTime?: string;
11219
+ creatorId?: (string) | null;
11220
+ lastModificationTime?: (string) | null;
11221
+ lastModifierId?: (string) | null;
11222
+ isDeleted?: boolean;
11223
+ deleterId?: (string) | null;
11224
+ deletionTime?: (string) | null;
11225
+ entityInformationTypeId?: (string) | null;
11226
+ name?: (string) | null;
11227
+ legalStatusCode?: (string) | null;
11228
+ readonly countryCode?: (string) | null;
11229
+ contactInformations?: Array<{
11230
+ id?: string;
11231
+ creationTime?: string;
11232
+ creatorId?: (string) | null;
11233
+ lastModificationTime?: (string) | null;
11234
+ lastModifierId?: (string) | null;
11235
+ isDeleted?: boolean;
11236
+ deleterId?: (string) | null;
11237
+ deletionTime?: (string) | null;
11238
+ organizationId?: (string) | null;
11239
+ individualId?: (string) | null;
11240
+ startDate?: string;
11241
+ endDate?: string;
11242
+ telephones?: Array<{
11243
+ id?: string;
11244
+ creationTime?: string;
11245
+ creatorId?: (string) | null;
11246
+ lastModificationTime?: (string) | null;
11247
+ lastModifierId?: (string) | null;
11248
+ isDeleted?: boolean;
11249
+ deleterId?: (string) | null;
11250
+ deletionTime?: (string) | null;
11251
+ areaCode?: (string) | null;
11252
+ localNumber?: (string) | null;
11253
+ ituCountryCode?: (string) | null;
11254
+ primaryFlag?: boolean;
11255
+ typeCode?: 'HOME' | 'OFFICE' | 'MOBILE' | 'FAX';
11256
+ contactInformationTypeId?: string;
11257
+ }> | null;
11258
+ addresses?: Array<{
11259
+ id: string;
11260
+ creationTime?: string;
11261
+ creatorId?: (string) | null;
11262
+ lastModificationTime?: (string) | null;
11263
+ lastModifierId?: (string) | null;
11264
+ isDeleted?: boolean;
11265
+ deleterId?: (string) | null;
11266
+ deletionTime?: (string) | null;
11267
+ type: 'Home' | 'Office' | 'Invoice' | 'Contact';
11268
+ addressLine: string;
11269
+ postalCode: string;
11270
+ fullAddress: string;
11271
+ primaryFlag?: boolean;
11272
+ countryId: string;
11273
+ regionId?: (string) | null;
11274
+ cityId: string;
11275
+ districtId: string;
11276
+ neighborhoodId?: (string) | null;
11277
+ }> | null;
11278
+ emails?: Array<{
11279
+ id?: string;
11280
+ creationTime?: string;
11281
+ creatorId?: (string) | null;
11282
+ lastModificationTime?: (string) | null;
11283
+ lastModifierId?: (string) | null;
11284
+ isDeleted?: boolean;
11285
+ deleterId?: (string) | null;
11286
+ deletionTime?: (string) | null;
11287
+ primaryFlag?: boolean;
11288
+ typeCode?: 'WORK' | 'PERSONAL';
11289
+ emailAddress?: (string) | null;
11290
+ contactInformationTypeId?: string;
11291
+ }> | null;
11292
+ }> | null;
11293
+ }>);
11294
+
10330
11295
  export type PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdData = {
10331
11296
  id: string;
10332
11297
  organizationId: string;
@@ -10517,12 +11482,12 @@ export type GetApiCrmServiceTaxOfficesByIdAffiliatedIndividualsResponse = (Array
10517
11482
  isDeleted?: boolean;
10518
11483
  deleterId?: (string) | null;
10519
11484
  deletionTime?: (string) | null;
10520
- name?: (string) | null;
11485
+ name: string;
10521
11486
  description?: (string) | null;
10522
- roleId?: (string) | null;
10523
- status?: 'Waiting' | 'Approved' | 'Rejected';
10524
- entityPartyTypeCode?: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
10525
- language?: (string) | null;
11487
+ roleId: string;
11488
+ status: 'Waiting' | 'Approved' | 'Rejected';
11489
+ entityPartyTypeCode: 'CUSTOMS' | 'MERCHANT' | 'REFUNDPOINT' | 'TAXFREE' | 'TAXOFFICE';
11490
+ language: string;
10526
11491
  };
10527
11492
  }>);
10528
11493