@ayasofyazilim/saas 0.0.143 → 0.0.144

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.
@@ -3,21 +3,13 @@ import type { OpenAPIConfig } from './core/OpenAPI';
3
3
  import { Interceptors } from './core/OpenAPI';
4
4
  import { FetchHttpRequest } from './core/FetchHttpRequest';
5
5
 
6
- import { AbpApiDefinitionService } from './sdk.gen';
7
- import { AbpApplicationConfigurationService } from './sdk.gen';
8
- import { AbpApplicationLocalizationService } from './sdk.gen';
9
6
  import { TagService } from './sdk.gen';
10
- import { TagIntegrationService } from './sdk.gen';
11
7
 
12
8
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
13
9
 
14
10
  export class TagServiceClient {
15
11
 
16
- public readonly abpApiDefinition: AbpApiDefinitionService;
17
- public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
18
- public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
19
12
  public readonly tag: TagService;
20
- public readonly tagIntegration: TagIntegrationService;
21
13
 
22
14
  public readonly request: BaseHttpRequest;
23
15
 
@@ -38,10 +30,6 @@ export class TagServiceClient {
38
30
  },
39
31
  });
40
32
 
41
- this.abpApiDefinition = new AbpApiDefinitionService(this.request);
42
- this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
43
- this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
44
33
  this.tag = new TagService(this.request);
45
- this.tagIntegration = new TagIntegrationService(this.request);
46
34
  }
47
35
  }
@@ -2,96 +2,7 @@
2
2
 
3
3
  import type { CancelablePromise } from './core/CancelablePromise';
4
4
  import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
- import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiTagServiceTagData, PostApiTagServiceTagResponse, GetApiTagServiceTagData, GetApiTagServiceTagResponse, PutApiTagServiceTagByIdData, PutApiTagServiceTagByIdResponse, DeleteApiTagServiceTagByIdData, DeleteApiTagServiceTagByIdResponse, GetApiTagServiceTagByIdDetailData, GetApiTagServiceTagByIdDetailResponse, GetApiTagServiceTagTagsRefundData, GetApiTagServiceTagTagsRefundResponse, GetApiTagServiceTagSummaryData, GetApiTagServiceTagSummaryResponse, GetApiTagServiceTagTagsRefundFeesData, GetApiTagServiceTagTagsRefundFeesResponse, PutApiTagServiceTagExportValidationByIdData, PutApiTagServiceTagExportValidationByIdResponse, GetIntegrationApiTagsSumData, GetIntegrationApiTagsSumResponse, GetIntegrationApiTagsSumForVatStatementData, GetIntegrationApiTagsSumForVatStatementResponse, PutIntegrationApiTagsRefundData, PutIntegrationApiTagsRefundResponse, GetIntegrationApiTagsRebateAmountsByVatStatementData, GetIntegrationApiTagsRebateAmountsByVatStatementResponse, GetIntegrationApiTagsDetailsListForRefundData, GetIntegrationApiTagsDetailsListForRefundResponse, GetIntegrationApiTagsValidListForVatStatementData, GetIntegrationApiTagsValidListForVatStatementResponse, PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData, PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse } from './types.gen';
6
-
7
- export class AbpApiDefinitionService {
8
- constructor(public readonly httpRequest: BaseHttpRequest) { }
9
-
10
- /**
11
- * @param data The data for the request.
12
- * @param data.includeTypes
13
- * @returns unknown Success
14
- * @throws ApiError
15
- */
16
- public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
- return this.httpRequest.request({
18
- method: 'GET',
19
- url: '/api/abp/api-definition',
20
- query: {
21
- IncludeTypes: data.includeTypes
22
- },
23
- errors: {
24
- 400: 'Bad Request',
25
- 401: 'Unauthorized',
26
- 403: 'Forbidden',
27
- 404: 'Not Found',
28
- 500: 'Server Error',
29
- 501: 'Server Error'
30
- }
31
- });
32
- }
33
-
34
- }
35
-
36
- export class AbpApplicationConfigurationService {
37
- constructor(public readonly httpRequest: BaseHttpRequest) { }
38
-
39
- /**
40
- * @param data The data for the request.
41
- * @param data.includeLocalizationResources
42
- * @returns unknown Success
43
- * @throws ApiError
44
- */
45
- public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
- return this.httpRequest.request({
47
- method: 'GET',
48
- url: '/api/abp/application-configuration',
49
- query: {
50
- IncludeLocalizationResources: data.includeLocalizationResources
51
- },
52
- errors: {
53
- 400: 'Bad Request',
54
- 401: 'Unauthorized',
55
- 403: 'Forbidden',
56
- 404: 'Not Found',
57
- 500: 'Server Error',
58
- 501: 'Server Error'
59
- }
60
- });
61
- }
62
-
63
- }
64
-
65
- export class AbpApplicationLocalizationService {
66
- constructor(public readonly httpRequest: BaseHttpRequest) { }
67
-
68
- /**
69
- * @param data The data for the request.
70
- * @param data.cultureName
71
- * @param data.onlyDynamics
72
- * @returns unknown Success
73
- * @throws ApiError
74
- */
75
- public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
- return this.httpRequest.request({
77
- method: 'GET',
78
- url: '/api/abp/application-localization',
79
- query: {
80
- CultureName: data.cultureName,
81
- OnlyDynamics: data.onlyDynamics
82
- },
83
- errors: {
84
- 400: 'Bad Request',
85
- 401: 'Unauthorized',
86
- 403: 'Forbidden',
87
- 404: 'Not Found',
88
- 500: 'Server Error',
89
- 501: 'Server Error'
90
- }
91
- });
92
- }
93
-
94
- }
5
+ import type { PostApiTagServiceTagData, PostApiTagServiceTagResponse, GetApiTagServiceTagData, GetApiTagServiceTagResponse, PutApiTagServiceTagByIdData, PutApiTagServiceTagByIdResponse, DeleteApiTagServiceTagByIdData, DeleteApiTagServiceTagByIdResponse, GetApiTagServiceTagByIdDetailData, GetApiTagServiceTagByIdDetailResponse, GetApiTagServiceTagTagsRefundData, GetApiTagServiceTagTagsRefundResponse, GetApiTagServiceTagSummaryData, GetApiTagServiceTagSummaryResponse, GetApiTagServiceTagTagsRefundFeesData, GetApiTagServiceTagTagsRefundFeesResponse, PutApiTagServiceTagExportValidationByIdData, PutApiTagServiceTagExportValidationByIdResponse } from './types.gen';
95
6
 
96
7
  export class TagService {
97
8
  constructor(public readonly httpRequest: BaseHttpRequest) { }
@@ -403,185 +314,4 @@ export class TagService {
403
314
  });
404
315
  }
405
316
 
406
- }
407
-
408
- export class TagIntegrationService {
409
- constructor(public readonly httpRequest: BaseHttpRequest) { }
410
-
411
- /**
412
- * @param data The data for the request.
413
- * @param data.ids
414
- * @param data.refundPointId
415
- * @param data.refundDate
416
- * @param data.refundType
417
- * @returns unknown Success
418
- * @throws ApiError
419
- */
420
- public getIntegrationApiTagsSum(data: GetIntegrationApiTagsSumData): CancelablePromise<GetIntegrationApiTagsSumResponse> {
421
- return this.httpRequest.request({
422
- method: 'GET',
423
- url: '/integration-api/tags/sum',
424
- query: {
425
- Ids: data.ids,
426
- RefundPointId: data.refundPointId,
427
- RefundDate: data.refundDate,
428
- RefundType: data.refundType
429
- },
430
- errors: {
431
- 400: 'Bad Request',
432
- 401: 'Unauthorized',
433
- 403: 'Forbidden',
434
- 404: 'Not Found',
435
- 500: 'Server Error',
436
- 501: 'Server Error'
437
- }
438
- });
439
- }
440
-
441
- /**
442
- * @param data The data for the request.
443
- * @param data.tagIds
444
- * @returns unknown Success
445
- * @throws ApiError
446
- */
447
- public getIntegrationApiTagsSumForVatStatement(data: GetIntegrationApiTagsSumForVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsSumForVatStatementResponse> {
448
- return this.httpRequest.request({
449
- method: 'GET',
450
- url: '/integration-api/tags/sum-for-vat-statement',
451
- query: {
452
- tagIds: data.tagIds
453
- },
454
- errors: {
455
- 400: 'Bad Request',
456
- 401: 'Unauthorized',
457
- 403: 'Forbidden',
458
- 404: 'Not Found',
459
- 500: 'Server Error',
460
- 501: 'Server Error'
461
- }
462
- });
463
- }
464
-
465
- /**
466
- * @param data The data for the request.
467
- * @param data.requestBody
468
- * @returns unknown Success
469
- * @throws ApiError
470
- */
471
- public putIntegrationApiTagsRefund(data: PutIntegrationApiTagsRefundData = {}): CancelablePromise<PutIntegrationApiTagsRefundResponse> {
472
- return this.httpRequest.request({
473
- method: 'PUT',
474
- url: '/integration-api/tags/refund',
475
- body: data.requestBody,
476
- mediaType: 'application/json',
477
- errors: {
478
- 400: 'Bad Request',
479
- 401: 'Unauthorized',
480
- 403: 'Forbidden',
481
- 404: 'Not Found',
482
- 500: 'Server Error',
483
- 501: 'Server Error'
484
- }
485
- });
486
- }
487
-
488
- /**
489
- * @param data The data for the request.
490
- * @param data.vAtStatementHeaderIds
491
- * @returns unknown Success
492
- * @throws ApiError
493
- */
494
- public getIntegrationApiTagsRebateAmountsByVatStatement(data: GetIntegrationApiTagsRebateAmountsByVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsRebateAmountsByVatStatementResponse> {
495
- return this.httpRequest.request({
496
- method: 'GET',
497
- url: '/integration-api/tags/rebate-amounts-by-vat-statement',
498
- query: {
499
- vATStatementHeaderIds: data.vAtStatementHeaderIds
500
- },
501
- errors: {
502
- 400: 'Bad Request',
503
- 401: 'Unauthorized',
504
- 403: 'Forbidden',
505
- 404: 'Not Found',
506
- 500: 'Server Error',
507
- 501: 'Server Error'
508
- }
509
- });
510
- }
511
-
512
- /**
513
- * @param data The data for the request.
514
- * @param data.tagIds
515
- * @returns unknown Success
516
- * @throws ApiError
517
- */
518
- public getIntegrationApiTagsDetailsListForRefund(data: GetIntegrationApiTagsDetailsListForRefundData = {}): CancelablePromise<GetIntegrationApiTagsDetailsListForRefundResponse> {
519
- return this.httpRequest.request({
520
- method: 'GET',
521
- url: '/integration-api/tags/details-list-for-refund',
522
- query: {
523
- tagIds: data.tagIds
524
- },
525
- errors: {
526
- 400: 'Bad Request',
527
- 401: 'Unauthorized',
528
- 403: 'Forbidden',
529
- 404: 'Not Found',
530
- 500: 'Server Error',
531
- 501: 'Server Error'
532
- }
533
- });
534
- }
535
-
536
- /**
537
- * @param data The data for the request.
538
- * @param data.year
539
- * @param data.month
540
- * @param data.merchantIds
541
- * @returns unknown Success
542
- * @throws ApiError
543
- */
544
- public getIntegrationApiTagsValidListForVatStatement(data: GetIntegrationApiTagsValidListForVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsValidListForVatStatementResponse> {
545
- return this.httpRequest.request({
546
- method: 'GET',
547
- url: '/integration-api/tags/valid-list-for-vat-statement',
548
- query: {
549
- year: data.year,
550
- month: data.month,
551
- merchantIds: data.merchantIds
552
- },
553
- errors: {
554
- 400: 'Bad Request',
555
- 401: 'Unauthorized',
556
- 403: 'Forbidden',
557
- 404: 'Not Found',
558
- 500: 'Server Error',
559
- 501: 'Server Error'
560
- }
561
- });
562
- }
563
-
564
- /**
565
- * @param data The data for the request.
566
- * @param data.requestBody
567
- * @returns unknown Success
568
- * @throws ApiError
569
- */
570
- public putIntegrationApiTagsSetVatStatementHeaderIdsOfTags(data: PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData = {}): CancelablePromise<PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse> {
571
- return this.httpRequest.request({
572
- method: 'PUT',
573
- url: '/integration-api/tags/set-vat-statement-header-ids-of-tags',
574
- body: data.requestBody,
575
- mediaType: 'application/json',
576
- errors: {
577
- 400: 'Bad Request',
578
- 401: 'Unauthorized',
579
- 403: 'Forbidden',
580
- 404: 'Not Found',
581
- 500: 'Server Error',
582
- 501: 'Server Error'
583
- }
584
- });
585
- }
586
-
587
317
  }
@@ -747,25 +747,6 @@ export type Volo_Abp_NameValue = {
747
747
  value?: (string) | null;
748
748
  };
749
749
 
750
- export type GetApiAbpApiDefinitionData = {
751
- includeTypes?: boolean;
752
- };
753
-
754
- export type GetApiAbpApiDefinitionResponse = (Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel);
755
-
756
- export type GetApiAbpApplicationConfigurationData = {
757
- includeLocalizationResources?: boolean;
758
- };
759
-
760
- export type GetApiAbpApplicationConfigurationResponse = (Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto);
761
-
762
- export type GetApiAbpApplicationLocalizationData = {
763
- cultureName: string;
764
- onlyDynamics?: boolean;
765
- };
766
-
767
- export type GetApiAbpApplicationLocalizationResponse = (Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto);
768
-
769
750
  export type PostApiTagServiceTagData = {
770
751
  requestBody?: UniRefund_TagService_Tags_CreateTagRequestDto;
771
752
  };
@@ -863,51 +844,4 @@ export type PutApiTagServiceTagExportValidationByIdData = {
863
844
  requestBody?: UniRefund_TagService_Tags_ExportValidationRequestDto;
864
845
  };
865
846
 
866
- export type PutApiTagServiceTagExportValidationByIdResponse = (UniRefund_ExportValidationService_ExportValidations_ExportValidationDto);
867
-
868
- export type GetIntegrationApiTagsSumData = {
869
- ids: Array<(string)>;
870
- refundDate: string;
871
- refundPointId: string;
872
- refundType: UniRefund_TagService_Tags_Enums_RefundType;
873
- };
874
-
875
- export type GetIntegrationApiTagsSumResponse = (UniRefund_TagService_Tags_TagsSumForRefundResponseDto);
876
-
877
- export type GetIntegrationApiTagsSumForVatStatementData = {
878
- tagIds?: Array<(string)>;
879
- };
880
-
881
- export type GetIntegrationApiTagsSumForVatStatementResponse = (Array<UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailResponseDto>);
882
-
883
- export type PutIntegrationApiTagsRefundData = {
884
- requestBody?: UniRefund_TagService_Tags_SetTagRefundRequestDto;
885
- };
886
-
887
- export type PutIntegrationApiTagsRefundResponse = (UniRefund_TagService_Tags_SetTagRefundResponseDto);
888
-
889
- export type GetIntegrationApiTagsRebateAmountsByVatStatementData = {
890
- vAtStatementHeaderIds?: Array<(string)>;
891
- };
892
-
893
- export type GetIntegrationApiTagsRebateAmountsByVatStatementResponse = (Array<UniRefund_TagService_Tags_RebateStatementByVATStatementDto>);
894
-
895
- export type GetIntegrationApiTagsDetailsListForRefundData = {
896
- tagIds?: Array<(string)>;
897
- };
898
-
899
- export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<UniRefund_TagService_Tags_TagDetailForRefundDto>);
900
-
901
- export type GetIntegrationApiTagsValidListForVatStatementData = {
902
- merchantIds?: Array<(string)>;
903
- month?: number;
904
- year?: number;
905
- };
906
-
907
- export type GetIntegrationApiTagsValidListForVatStatementResponse = (Array<UniRefund_TagService_Tags_TagValidForVATStatementResponseDto>);
908
-
909
- export type PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData = {
910
- requestBody?: UniRefund_TagService_Tags_SetTagVATStatementHeaderIdRequestDto;
911
- };
912
-
913
- export type PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse = (unknown);
847
+ export type PutApiTagServiceTagExportValidationByIdResponse = (UniRefund_ExportValidationService_ExportValidations_ExportValidationDto);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.143",
3
+ "version": "0.0.144",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "exports": {
6
6
  "./*": "./*/index.ts"