@ayasofyazilim/saas 0.0.110 → 0.0.112

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.
@@ -937,7 +937,7 @@ export const $UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto = {
937
937
  } as const;
938
938
 
939
939
  export const $UniRefund_CRMService_AffiliationTypes_CreateAffiliationTypeDto = {
940
- required: ['affiliationCodeId', 'entityInformationTypeCode', 'partyId'],
940
+ required: ['affiliationCodeId', 'email', 'entityInformationTypeCode'],
941
941
  type: 'object',
942
942
  properties: {
943
943
  extraProperties: {
@@ -956,9 +956,9 @@ export const $UniRefund_CRMService_AffiliationTypes_CreateAffiliationTypeDto = {
956
956
  type: 'integer',
957
957
  format: 'int32'
958
958
  },
959
- partyId: {
960
- type: 'string',
961
- format: 'uuid'
959
+ email: {
960
+ minLength: 1,
961
+ type: 'string'
962
962
  },
963
963
  entityInformationTypeCode: {
964
964
  enum: ['INDIVIDUAL', 'ORGANIZATION'],
@@ -7711,6 +7711,11 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
7711
7711
  format: 'uuid',
7712
7712
  nullable: true
7713
7713
  },
7714
+ vatPercent: {
7715
+ type: 'integer',
7716
+ format: 'int32',
7717
+ nullable: true
7718
+ },
7714
7719
  active: {
7715
7720
  type: 'boolean'
7716
7721
  },
@@ -15176,6 +15181,11 @@ export const $UniRefund_SettingService_ProductGroups_ProductGroupDto = {
15176
15181
  format: 'uuid',
15177
15182
  nullable: true
15178
15183
  },
15184
+ vatPercent: {
15185
+ type: 'integer',
15186
+ format: 'int32',
15187
+ nullable: true
15188
+ },
15179
15189
  active: {
15180
15190
  type: 'boolean'
15181
15191
  },
@@ -1623,7 +1623,7 @@ export class MerchantIntegrationService {
1623
1623
  * @param data The data for the request.
1624
1624
  * @param data.id
1625
1625
  * @param data.parentId
1626
- * @param data.typeCode
1626
+ * @param data.wantedTypeCode
1627
1627
  * @returns unknown Success
1628
1628
  * @throws ApiError
1629
1629
  */
@@ -1636,7 +1636,7 @@ export class MerchantIntegrationService {
1636
1636
  },
1637
1637
  query: {
1638
1638
  parentId: data.parentId,
1639
- typeCode: data.typeCode
1639
+ wantedTypeCode: data.wantedTypeCode
1640
1640
  },
1641
1641
  errors: {
1642
1642
  400: 'Bad Request',
@@ -2408,7 +2408,8 @@ export class RefundPointIntegrationService {
2408
2408
  /**
2409
2409
  * @param data The data for the request.
2410
2410
  * @param data.id
2411
- * @param data.refundPointTypeCode
2411
+ * @param data.parentId
2412
+ * @param data.wantedTypeCode
2412
2413
  * @returns unknown Success
2413
2414
  * @throws ApiError
2414
2415
  */
@@ -2420,7 +2421,8 @@ export class RefundPointIntegrationService {
2420
2421
  id: data.id
2421
2422
  },
2422
2423
  query: {
2423
- refundPointTypeCode: data.refundPointTypeCode
2424
+ parentId: data.parentId,
2425
+ wantedTypeCode: data.wantedTypeCode
2424
2426
  },
2425
2427
  errors: {
2426
2428
  400: 'Bad Request',
@@ -252,7 +252,7 @@ export type UniRefund_CRMService_AffiliationTypes_CreateAffiliationTypeDto = {
252
252
  } | null;
253
253
  description?: (string) | null;
254
254
  affiliationCodeId: number;
255
- partyId: string;
255
+ email: string;
256
256
  entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
257
257
  };
258
258
 
@@ -1904,6 +1904,7 @@ export type UniRefund_CRMService_Merchants_MerchantDetailDto = {
1904
1904
  unitCode: 'QNT' | 'BAG' | 'BOX';
1905
1905
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
1906
1906
  vatId?: (string) | null;
1907
+ vatPercent?: (number) | null;
1907
1908
  active: boolean;
1908
1909
  food: boolean;
1909
1910
  }> | null;
@@ -3753,6 +3754,7 @@ export type UniRefund_SettingService_ProductGroups_ProductGroupDto = {
3753
3754
  unitCode: 'QNT' | 'BAG' | 'BOX';
3754
3755
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
3755
3756
  vatId?: (string) | null;
3757
+ vatPercent?: (number) | null;
3756
3758
  active: boolean;
3757
3759
  food: boolean;
3758
3760
  };
@@ -5676,7 +5678,7 @@ export type PostApiCrmServiceCustomsByIdAffiliationsData = {
5676
5678
  } | null;
5677
5679
  description?: (string) | null;
5678
5680
  affiliationCodeId: number;
5679
- partyId: string;
5681
+ email: string;
5680
5682
  entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
5681
5683
  };
5682
5684
  };
@@ -6538,6 +6540,7 @@ export type GetApiCrmServiceMerchantsByIdDetailResponse = ({
6538
6540
  unitCode: 'QNT' | 'BAG' | 'BOX';
6539
6541
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
6540
6542
  vatId?: (string) | null;
6543
+ vatPercent?: (number) | null;
6541
6544
  active: boolean;
6542
6545
  food: boolean;
6543
6546
  }> | null;
@@ -6736,7 +6739,7 @@ export type PostApiCrmServiceMerchantsByIdAffiliationsData = {
6736
6739
  } | null;
6737
6740
  description?: (string) | null;
6738
6741
  affiliationCodeId: number;
6739
- partyId: string;
6742
+ email: string;
6740
6743
  entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
6741
6744
  };
6742
6745
  };
@@ -7184,7 +7187,7 @@ export type GetIntegrationApiMerchantsNamesResponse = ({
7184
7187
  export type GetIntegrationApiMerchantsByIdEnsureExistData = {
7185
7188
  id: string;
7186
7189
  parentId?: string;
7187
- typeCode?: 'HEADQUARTER' | 'STORE';
7190
+ wantedTypeCode?: 'HEADQUARTER' | 'STORE';
7188
7191
  };
7189
7192
 
7190
7193
  export type GetIntegrationApiMerchantsByIdEnsureExistResponse = (unknown);
@@ -7490,6 +7493,7 @@ export type GetIntegrationApiMerchantsByIdDetailResponse = ({
7490
7493
  unitCode: 'QNT' | 'BAG' | 'BOX';
7491
7494
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
7492
7495
  vatId?: (string) | null;
7496
+ vatPercent?: (number) | null;
7493
7497
  active: boolean;
7494
7498
  food: boolean;
7495
7499
  }> | null;
@@ -7754,6 +7758,7 @@ export type GetIntegrationApiMerchantsDetailsListResponse = (Array<{
7754
7758
  unitCode: 'QNT' | 'BAG' | 'BOX';
7755
7759
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
7756
7760
  vatId?: (string) | null;
7761
+ vatPercent?: (number) | null;
7757
7762
  active: boolean;
7758
7763
  food: boolean;
7759
7764
  }> | null;
@@ -8210,7 +8215,7 @@ export type PostApiCrmServiceRefundPointsByIdAffiliationsData = {
8210
8215
  } | null;
8211
8216
  description?: (string) | null;
8212
8217
  affiliationCodeId: number;
8213
- partyId: string;
8218
+ email: string;
8214
8219
  entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
8215
8220
  };
8216
8221
  };
@@ -8523,7 +8528,8 @@ export type GetIntegrationApiRefundPointsRefundPointNamesResponse = ({
8523
8528
 
8524
8529
  export type GetIntegrationApiRefundPointsByIdExistData = {
8525
8530
  id: string;
8526
- refundPointTypeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
8531
+ parentId?: string;
8532
+ wantedTypeCode?: 'HEADQUARTER' | 'REFUNDPOINT';
8527
8533
  };
8528
8534
 
8529
8535
  export type GetIntegrationApiRefundPointsByIdExistResponse = (unknown);
@@ -8880,7 +8886,7 @@ export type PostApiCrmServiceTaxFreesByIdAffiliationsData = {
8880
8886
  } | null;
8881
8887
  description?: (string) | null;
8882
8888
  affiliationCodeId: number;
8883
- partyId: string;
8889
+ email: string;
8884
8890
  entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
8885
8891
  };
8886
8892
  };
@@ -9464,7 +9470,7 @@ export type PostApiCrmServiceTaxOfficesByIdAffiliationsData = {
9464
9470
  } | null;
9465
9471
  description?: (string) | null;
9466
9472
  affiliationCodeId: number;
9467
- partyId: string;
9473
+ email: string;
9468
9474
  entityInformationTypeCode: 'INDIVIDUAL' | 'ORGANIZATION';
9469
9475
  };
9470
9476
  };
@@ -185,6 +185,10 @@ export const $UniRefund_ExportValidationService_ExportValidations_ExportValidati
185
185
  format: 'uuid',
186
186
  nullable: true
187
187
  },
188
+ tagNumber: {
189
+ type: 'string',
190
+ nullable: true
191
+ },
188
192
  customsId: {
189
193
  type: 'string',
190
194
  format: 'uuid'
@@ -234,6 +238,10 @@ export const $UniRefund_ExportValidationService_ExportValidations_ExportValidati
234
238
  format: 'uuid',
235
239
  nullable: true
236
240
  },
241
+ tagNumber: {
242
+ type: 'string',
243
+ nullable: true
244
+ },
237
245
  customsId: {
238
246
  type: 'string',
239
247
  format: 'uuid'
@@ -285,31 +293,6 @@ export const $UniRefund_ExportValidationService_ExportValidations_ValidationResu
285
293
  type: 'string'
286
294
  } as const;
287
295
 
288
- export const $UniRefund_TagService_Billings_BillingDto = {
289
- type: 'object',
290
- properties: {
291
- id: {
292
- type: 'string',
293
- format: 'uuid'
294
- },
295
- billingDate: {
296
- type: 'string',
297
- format: 'date-time',
298
- nullable: true
299
- },
300
- billingNumber: {
301
- type: 'string',
302
- nullable: true
303
- },
304
- status: {
305
- type: 'integer',
306
- format: 'int32',
307
- nullable: true
308
- }
309
- },
310
- additionalProperties: false
311
- } as const;
312
-
313
296
  export const $UniRefund_TagService_Invoices_InvoiceDto = {
314
297
  required: ['issueDate', 'totalAmount', 'vatAmount'],
315
298
  type: 'object',
@@ -1113,6 +1096,10 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1113
1096
  format: 'uuid',
1114
1097
  nullable: true
1115
1098
  },
1099
+ tagNumber: {
1100
+ type: 'string',
1101
+ nullable: true
1102
+ },
1116
1103
  customsId: {
1117
1104
  type: 'string',
1118
1105
  format: 'uuid'
@@ -1181,30 +1168,6 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1181
1168
  },
1182
1169
  additionalProperties: false
1183
1170
  },
1184
- billing: {
1185
- type: 'object',
1186
- properties: {
1187
- id: {
1188
- type: 'string',
1189
- format: 'uuid'
1190
- },
1191
- billingDate: {
1192
- type: 'string',
1193
- format: 'date-time',
1194
- nullable: true
1195
- },
1196
- billingNumber: {
1197
- type: 'string',
1198
- nullable: true
1199
- },
1200
- status: {
1201
- type: 'integer',
1202
- format: 'int32',
1203
- nullable: true
1204
- }
1205
- },
1206
- additionalProperties: false
1207
- },
1208
1171
  invoices: {
1209
1172
  type: 'array',
1210
1173
  items: {
@@ -1402,6 +1365,10 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1402
1365
  format: 'uuid',
1403
1366
  nullable: true
1404
1367
  },
1368
+ tagNumber: {
1369
+ type: 'string',
1370
+ nullable: true
1371
+ },
1405
1372
  customsId: {
1406
1373
  type: 'string',
1407
1374
  format: 'uuid'
@@ -1437,30 +1404,6 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1437
1404
  },
1438
1405
  additionalProperties: false
1439
1406
  },
1440
- billing: {
1441
- type: 'object',
1442
- properties: {
1443
- id: {
1444
- type: 'string',
1445
- format: 'uuid'
1446
- },
1447
- billingDate: {
1448
- type: 'string',
1449
- format: 'date-time',
1450
- nullable: true
1451
- },
1452
- billingNumber: {
1453
- type: 'string',
1454
- nullable: true
1455
- },
1456
- status: {
1457
- type: 'integer',
1458
- format: 'int32',
1459
- nullable: true
1460
- }
1461
- },
1462
- additionalProperties: false
1463
- },
1464
1407
  invoices: {
1465
1408
  type: 'array',
1466
1409
  items: {
@@ -45,6 +45,7 @@ export type TagListResponseDto_TagListItemDto = {
45
45
  export type UniRefund_ExportValidationService_ExportValidations_ExportValidationDetailDto = {
46
46
  id?: string;
47
47
  tagId?: (string) | null;
48
+ tagNumber?: (string) | null;
48
49
  customsId: string;
49
50
  customsName: string;
50
51
  referenceId?: (string) | null;
@@ -66,6 +67,7 @@ export type finalValidationResult = 'None' | 'Green';
66
67
  export type UniRefund_ExportValidationService_ExportValidations_ExportValidationDto = {
67
68
  id?: string;
68
69
  tagId?: (string) | null;
70
+ tagNumber?: (string) | null;
69
71
  customsId: string;
70
72
  customsName: string;
71
73
  exportDate: string;
@@ -82,13 +84,6 @@ export type UniRefund_ExportValidationService_ExportValidations_StampTypeCode =
82
84
 
83
85
  export type UniRefund_ExportValidationService_ExportValidations_ValidationResult = 'None' | 'Green';
84
86
 
85
- export type UniRefund_TagService_Billings_BillingDto = {
86
- id?: string;
87
- billingDate?: (string) | null;
88
- billingNumber?: (string) | null;
89
- status?: (number) | null;
90
- };
91
-
92
87
  export type UniRefund_TagService_Invoices_InvoiceDto = {
93
88
  id?: string;
94
89
  number?: (string) | null;
@@ -310,6 +305,7 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
310
305
  exportValidation?: {
311
306
  id?: string;
312
307
  tagId?: (string) | null;
308
+ tagNumber?: (string) | null;
313
309
  customsId: string;
314
310
  customsName: string;
315
311
  referenceId?: (string) | null;
@@ -327,12 +323,6 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
327
323
  status?: (number) | null;
328
324
  refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
329
325
  };
330
- billing?: {
331
- id?: string;
332
- billingDate?: (string) | null;
333
- billingNumber?: (string) | null;
334
- status?: (number) | null;
335
- };
336
326
  invoices?: Array<{
337
327
  id?: string;
338
328
  number?: (string) | null;
@@ -381,6 +371,7 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
381
371
  exportValidation?: {
382
372
  id?: string;
383
373
  tagId?: (string) | null;
374
+ tagNumber?: (string) | null;
384
375
  customsId: string;
385
376
  customsName: string;
386
377
  referenceId?: (string) | null;
@@ -390,12 +381,6 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
390
381
  initialValidationResult?: 'None' | 'Green';
391
382
  finalValidationResult?: 'None' | 'Green';
392
383
  };
393
- billing?: {
394
- id?: string;
395
- billingDate?: (string) | null;
396
- billingNumber?: (string) | null;
397
- status?: (number) | null;
398
- };
399
384
  invoices?: Array<{
400
385
  id?: string;
401
386
  number?: (string) | null;
@@ -2233,6 +2218,7 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
2233
2218
  exportValidation?: {
2234
2219
  id?: string;
2235
2220
  tagId?: (string) | null;
2221
+ tagNumber?: (string) | null;
2236
2222
  customsId: string;
2237
2223
  customsName: string;
2238
2224
  referenceId?: (string) | null;
@@ -2250,12 +2236,6 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
2250
2236
  status?: (number) | null;
2251
2237
  refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
2252
2238
  };
2253
- billing?: {
2254
- id?: string;
2255
- billingDate?: (string) | null;
2256
- billingNumber?: (string) | null;
2257
- status?: (number) | null;
2258
- };
2259
2239
  invoices?: Array<{
2260
2240
  id?: string;
2261
2241
  number?: (string) | null;
@@ -2368,6 +2348,7 @@ export type PutApiTagServiceTagExportValidationByIdData = {
2368
2348
  export type PutApiTagServiceTagExportValidationByIdResponse = ({
2369
2349
  id?: string;
2370
2350
  tagId?: (string) | null;
2351
+ tagNumber?: (string) | null;
2371
2352
  customsId: string;
2372
2353
  customsName: string;
2373
2354
  exportDate: string;
@@ -2475,6 +2456,7 @@ export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<{
2475
2456
  exportValidation?: {
2476
2457
  id?: string;
2477
2458
  tagId?: (string) | null;
2459
+ tagNumber?: (string) | null;
2478
2460
  customsId: string;
2479
2461
  customsName: string;
2480
2462
  referenceId?: (string) | null;
@@ -2484,12 +2466,6 @@ export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<{
2484
2466
  initialValidationResult?: 'None' | 'Green';
2485
2467
  finalValidationResult?: 'None' | 'Green';
2486
2468
  };
2487
- billing?: {
2488
- id?: string;
2489
- billingDate?: (string) | null;
2490
- billingNumber?: (string) | null;
2491
- status?: (number) | null;
2492
- };
2493
2469
  invoices?: Array<{
2494
2470
  id?: string;
2495
2471
  number?: (string) | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.110",
3
+ "version": "0.0.112",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "exports": {
6
6
  "./*": "./*/index.ts"