@ayasofyazilim/saas 0.0.128 → 0.0.130

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.
@@ -2638,6 +2638,10 @@ export class RefundPointService {
2638
2638
  /**
2639
2639
  * @param data The data for the request.
2640
2640
  * @param data.id
2641
+ * @param data.name
2642
+ * @param data.sorting
2643
+ * @param data.skipCount
2644
+ * @param data.maxResultCount
2641
2645
  * @returns unknown Success
2642
2646
  * @throws ApiError
2643
2647
  */
@@ -2648,6 +2652,12 @@ export class RefundPointService {
2648
2652
  path: {
2649
2653
  id: data.id
2650
2654
  },
2655
+ query: {
2656
+ Name: data.name,
2657
+ Sorting: data.sorting,
2658
+ SkipCount: data.skipCount,
2659
+ MaxResultCount: data.maxResultCount
2660
+ },
2651
2661
  errors: {
2652
2662
  400: 'Bad Request',
2653
2663
  401: 'Unauthorized',
@@ -3189,6 +3199,7 @@ export class TaxFreeService {
3189
3199
 
3190
3200
  /**
3191
3201
  * @param data The data for the request.
3202
+ * @param data.typeCode
3192
3203
  * @param data.name
3193
3204
  * @param data.sorting
3194
3205
  * @param data.skipCount
@@ -3201,6 +3212,7 @@ export class TaxFreeService {
3201
3212
  method: 'GET',
3202
3213
  url: '/api/crm-service/tax-frees',
3203
3214
  query: {
3215
+ TypeCode: data.typeCode,
3204
3216
  Name: data.name,
3205
3217
  Sorting: data.sorting,
3206
3218
  SkipCount: data.skipCount,
@@ -3295,6 +3307,10 @@ export class TaxFreeService {
3295
3307
  /**
3296
3308
  * @param data The data for the request.
3297
3309
  * @param data.id
3310
+ * @param data.name
3311
+ * @param data.sorting
3312
+ * @param data.skipCount
3313
+ * @param data.maxResultCount
3298
3314
  * @returns unknown Success
3299
3315
  * @throws ApiError
3300
3316
  */
@@ -3305,6 +3321,12 @@ export class TaxFreeService {
3305
3321
  path: {
3306
3322
  id: data.id
3307
3323
  },
3324
+ query: {
3325
+ Name: data.name,
3326
+ Sorting: data.sorting,
3327
+ SkipCount: data.skipCount,
3328
+ MaxResultCount: data.maxResultCount
3329
+ },
3308
3330
  errors: {
3309
3331
  400: 'Bad Request',
3310
3332
  401: 'Unauthorized',
@@ -171,10 +171,11 @@ export type UniRefund_CRMService_ContactInformationTypes_CreateContactInformatio
171
171
  };
172
172
 
173
173
  export type UniRefund_CRMService_Customss_CreateCustomsDto = {
174
- entityInformationTypes: Array<UniRefund_CRMService_Customss_CreateCustomsEntityInformationTypeDto>;
175
174
  parentId?: (string) | null;
176
175
  taxpayerId?: (string) | null;
177
- typeCode?: UniRefund_CRMService_Customss_CustomsTypeCode;
176
+ typeCode: UniRefund_CRMService_Customss_CustomsTypeCode;
177
+ gateNumber?: (string) | null;
178
+ entityInformationTypes: Array<UniRefund_CRMService_Customss_CreateCustomsEntityInformationTypeDto>;
178
179
  };
179
180
 
180
181
  export type UniRefund_CRMService_Customss_CreateCustomsEntityInformationTypeDto = {
@@ -204,6 +205,7 @@ export type UniRefund_CRMService_Customss_CustomsDto = {
204
205
  parentId?: (string) | null;
205
206
  taxpayerId: string;
206
207
  typeCode: UniRefund_CRMService_Customss_CustomsTypeCode;
208
+ gateNumber?: (string) | null;
207
209
  entityInformations?: Array<UniRefund_CRMService_EntityInformationTypes_EntityInformationTypeDto> | null;
208
210
  };
209
211
 
@@ -226,6 +228,7 @@ export type UniRefund_CRMService_Customss_UpdateCustomsDto = {
226
228
  parentId?: (string) | null;
227
229
  taxpayerId?: (string) | null;
228
230
  typeCode?: UniRefund_CRMService_Customss_CustomsTypeCode;
231
+ gateNumber?: (string) | null;
229
232
  };
230
233
 
231
234
  export type UniRefund_CRMService_Customss_UpdateCustomsOrganizationDto = {
@@ -495,12 +498,12 @@ export type UniRefund_CRMService_Merchants_UpdateMerchantDto = {
495
498
  };
496
499
 
497
500
  export type UniRefund_CRMService_NameCommonDatas_CreateNameCommonDataDto = {
498
- salutation: string;
501
+ salutation?: (string) | null;
499
502
  firstName: string;
500
503
  lastName: string;
501
- suffix: string;
502
- mailingName: string;
503
- officialName: string;
504
+ suffix?: (string) | null;
505
+ mailingName?: (string) | null;
506
+ officialName?: (string) | null;
504
507
  };
505
508
 
506
509
  export type UniRefund_CRMService_NameCommonDatas_NameCommonDataDto = {
@@ -525,12 +528,12 @@ export type UniRefund_CRMService_NameCommonDatas_UpdateNameCommonDataDto = {
525
528
  readonly extraProperties?: {
526
529
  [key: string]: unknown;
527
530
  } | null;
528
- salutation: string;
531
+ salutation?: (string) | null;
529
532
  firstName: string;
530
533
  lastName: string;
531
- suffix: string;
532
- mailingName: string;
533
- officialName: string;
534
+ suffix?: (string) | null;
535
+ mailingName?: (string) | null;
536
+ officialName?: (string) | null;
534
537
  };
535
538
 
536
539
  export type UniRefund_CRMService_Organizations_CreateOrganizationDto = {
@@ -577,12 +580,12 @@ export type UniRefund_CRMService_PersonalSummaries_CreatePersonalSummaryDto = {
577
580
  readonly extraProperties?: {
578
581
  [key: string]: unknown;
579
582
  } | null;
580
- date: string;
581
- birthDate: string;
582
- ethnicity: string;
583
- maritalStatusCode: string;
584
- religiousAffiliationName: string;
585
- genderTypeCode: UniRefund_CRMService_Enums_GenderTypeCode;
583
+ date?: (string) | null;
584
+ birthDate?: (string) | null;
585
+ ethnicity?: (string) | null;
586
+ maritalStatusCode?: (string) | null;
587
+ religiousAffiliationName?: (string) | null;
588
+ genderTypeCode?: UniRefund_CRMService_Enums_GenderTypeCode;
586
589
  };
587
590
 
588
591
  export type UniRefund_CRMService_PersonalSummaries_PersonalSummaryDto = {
@@ -594,8 +597,8 @@ export type UniRefund_CRMService_PersonalSummaries_PersonalSummaryDto = {
594
597
  isDeleted?: boolean;
595
598
  deleterId?: (string) | null;
596
599
  deletionTime?: (string) | null;
597
- date?: string;
598
- birthDate?: string;
600
+ date?: (string) | null;
601
+ birthDate?: (string) | null;
599
602
  ethnicity?: (string) | null;
600
603
  maritalStatusCode?: (string) | null;
601
604
  religiousAffiliationName?: (string) | null;
@@ -607,12 +610,12 @@ export type UniRefund_CRMService_PersonalSummaries_UpdatePersonalSummaryDto = {
607
610
  readonly extraProperties?: {
608
611
  [key: string]: unknown;
609
612
  } | null;
610
- date: string;
611
- birthDate: string;
612
- ethnicity: string;
613
- maritalStatusCode: string;
614
- religiousAffiliationName: string;
615
- genderTypeCode: UniRefund_CRMService_Enums_GenderTypeCode;
613
+ date?: (string) | null;
614
+ birthDate?: (string) | null;
615
+ ethnicity?: (string) | null;
616
+ maritalStatusCode?: (string) | null;
617
+ religiousAffiliationName?: (string) | null;
618
+ genderTypeCode?: UniRefund_CRMService_Enums_GenderTypeCode;
616
619
  };
617
620
 
618
621
  export type UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
@@ -756,12 +759,10 @@ export type UniRefund_CRMService_TaxFrees_UpdateTaxFreeDto = {
756
759
  };
757
760
 
758
761
  export type UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
759
- readonly extraProperties?: {
760
- [key: string]: unknown;
761
- } | null;
762
762
  entityInformationTypes: Array<UniRefund_CRMService_TaxOffices_CreateTaxOfficeEntityInformationTypeDto>;
763
763
  parentId?: (string) | null;
764
- taxpayerId: string;
764
+ taxpayerId?: (string) | null;
765
+ typeCode?: UniRefund_CRMService_TaxOffices_TaxOfficeTypeCode;
765
766
  };
766
767
 
767
768
  export type UniRefund_CRMService_TaxOffices_CreateTaxOfficeEntityInformationTypeDto = {
@@ -790,6 +791,7 @@ export type UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
790
791
  deletionTime?: (string) | null;
791
792
  parentId?: (string) | null;
792
793
  taxpayerId?: (string) | null;
794
+ typeCode?: UniRefund_CRMService_TaxOffices_TaxOfficeTypeCode;
793
795
  entityInformations?: Array<UniRefund_CRMService_EntityInformationTypes_EntityInformationTypeDto> | null;
794
796
  };
795
797
 
@@ -804,11 +806,15 @@ export type UniRefund_CRMService_TaxOffices_TaxOfficeProfileDto = {
804
806
  parentId?: (string) | null;
805
807
  organizationId?: string;
806
808
  taxpayerId?: (string) | null;
809
+ typeCode?: UniRefund_CRMService_TaxOffices_TaxOfficeTypeCode;
807
810
  };
808
811
 
812
+ export type UniRefund_CRMService_TaxOffices_TaxOfficeTypeCode = 'HEADQUARTER' | 'TAXOFFICE';
813
+
809
814
  export type UniRefund_CRMService_TaxOffices_UpdateTaxOfficeDto = {
810
815
  parentId?: (string) | null;
811
- taxpayerId: string;
816
+ taxpayerId?: (string) | null;
817
+ typeCode?: UniRefund_CRMService_TaxOffices_TaxOfficeTypeCode;
812
818
  };
813
819
 
814
820
  export type UniRefund_CRMService_TaxOffices_UpdateTaxOfficeOrganizationDto = {
@@ -2059,6 +2065,10 @@ export type GetApiCrmServiceRefundPointsByIdDetailResponse = (UniRefund_CRMServi
2059
2065
 
2060
2066
  export type GetApiCrmServiceRefundPointsByIdSubRefundPointsData = {
2061
2067
  id: string;
2068
+ maxResultCount?: number;
2069
+ name?: string;
2070
+ skipCount?: number;
2071
+ sorting?: string;
2062
2072
  };
2063
2073
 
2064
2074
  export type GetApiCrmServiceRefundPointsByIdSubRefundPointsResponse = (PagedResultDto_RefundPointProfileDto);
@@ -2209,6 +2219,7 @@ export type GetApiCrmServiceTaxFreesData = {
2209
2219
  name?: string;
2210
2220
  skipCount?: number;
2211
2221
  sorting?: string;
2222
+ typeCode?: UniRefund_CRMService_TaxFrees_TaxFreeTypeCode;
2212
2223
  };
2213
2224
 
2214
2225
  export type GetApiCrmServiceTaxFreesResponse = (PagedResultDto_TaxFreeProfileDto);
@@ -2234,6 +2245,10 @@ export type GetApiCrmServiceTaxFreesByIdDetailResponse = (UniRefund_CRMService_T
2234
2245
 
2235
2246
  export type GetApiCrmServiceTaxFreesByIdSubTaxFreeData = {
2236
2247
  id: string;
2248
+ maxResultCount?: number;
2249
+ name?: string;
2250
+ skipCount?: number;
2251
+ sorting?: string;
2237
2252
  };
2238
2253
 
2239
2254
  export type GetApiCrmServiceTaxFreesByIdSubTaxFreeResponse = (PagedResultDto_TaxFreeProfileDto);
@@ -31,8 +31,7 @@ export const $PagedResultDto_ProductGroupDto = {
31
31
  },
32
32
  vatId: {
33
33
  type: 'string',
34
- format: 'uuid',
35
- nullable: true
34
+ format: 'uuid'
36
35
  },
37
36
  vatPercent: {
38
37
  type: 'integer',
@@ -94,16 +93,83 @@ export const $PagedResultDto_VatDto = {
94
93
  additionalProperties: false
95
94
  } as const;
96
95
 
97
- export const $UniRefund_SettingService_ProductGroupMerchants_CreateProductGroupMerchantDto = {
96
+ export const $UniRefund_SettingService_ProductGroupMerchants_CreateManyProductGroupMerchantDto = {
97
+ required: ['createProductGroupMerchantBaseDto', 'merchantId'],
98
98
  type: 'object',
99
99
  properties: {
100
100
  merchantId: {
101
101
  type: 'string',
102
102
  format: 'uuid'
103
103
  },
104
+ createProductGroupMerchantBaseDto: {
105
+ type: 'array',
106
+ items: {
107
+ required: ['productGroupId'],
108
+ type: 'object',
109
+ properties: {
110
+ productGroupId: {
111
+ type: 'string',
112
+ format: 'uuid'
113
+ },
114
+ isDefault: {
115
+ type: 'boolean'
116
+ }
117
+ },
118
+ additionalProperties: false
119
+ }
120
+ }
121
+ },
122
+ additionalProperties: false
123
+ } as const;
124
+
125
+ export const $UniRefund_SettingService_ProductGroupMerchants_CreateProductGroupMerchantBaseDto = {
126
+ required: ['productGroupId'],
127
+ type: 'object',
128
+ properties: {
129
+ productGroupId: {
130
+ type: 'string',
131
+ format: 'uuid'
132
+ },
133
+ isDefault: {
134
+ type: 'boolean'
135
+ }
136
+ },
137
+ additionalProperties: false
138
+ } as const;
139
+
140
+ export const $UniRefund_SettingService_ProductGroupMerchants_CreateProductGroupMerchantDto = {
141
+ required: ['productGroupId'],
142
+ type: 'object',
143
+ properties: {
104
144
  productGroupId: {
105
145
  type: 'string',
106
146
  format: 'uuid'
147
+ },
148
+ isDefault: {
149
+ type: 'boolean'
150
+ },
151
+ merchantId: {
152
+ type: 'string',
153
+ format: 'uuid'
154
+ }
155
+ },
156
+ additionalProperties: false
157
+ } as const;
158
+
159
+ export const $UniRefund_SettingService_ProductGroupMerchants_DeleteManyProductGroupMerchantDto = {
160
+ required: ['merchantId', 'productGroupIds'],
161
+ type: 'object',
162
+ properties: {
163
+ merchantId: {
164
+ type: 'string',
165
+ format: 'uuid'
166
+ },
167
+ productGroupIds: {
168
+ type: 'array',
169
+ items: {
170
+ type: 'string',
171
+ format: 'uuid'
172
+ }
107
173
  }
108
174
  },
109
175
  additionalProperties: false
@@ -123,6 +189,42 @@ export const $UniRefund_SettingService_ProductGroupMerchants_ProductGroupMerchan
123
189
  merchantId: {
124
190
  type: 'string',
125
191
  format: 'uuid'
192
+ },
193
+ isDefault: {
194
+ type: 'boolean'
195
+ }
196
+ },
197
+ additionalProperties: false
198
+ } as const;
199
+
200
+ export const $UniRefund_SettingService_ProductGroupMerchants_ProductGroupMerchantRelationDto = {
201
+ required: ['isActive', 'isAssign', 'isDefault', 'productGroupId', 'productGroupName', 'vatId', 'vatRate'],
202
+ type: 'object',
203
+ properties: {
204
+ productGroupName: {
205
+ minLength: 1,
206
+ type: 'string'
207
+ },
208
+ isDefault: {
209
+ type: 'boolean'
210
+ },
211
+ isActive: {
212
+ type: 'boolean'
213
+ },
214
+ isAssign: {
215
+ type: 'boolean'
216
+ },
217
+ productGroupId: {
218
+ type: 'string',
219
+ format: 'uuid'
220
+ },
221
+ vatRate: {
222
+ type: 'number',
223
+ format: 'float'
224
+ },
225
+ vatId: {
226
+ type: 'string',
227
+ format: 'uuid'
126
228
  }
127
229
  },
128
230
  additionalProperties: false
@@ -150,15 +252,9 @@ export const $UniRefund_SettingService_ProductGroups_CompanyTypeCode = {
150
252
  } as const;
151
253
 
152
254
  export const $UniRefund_SettingService_ProductGroups_CreateProductGroupDto = {
153
- required: ['articleCode', 'companyType', 'name', 'unitCode'],
255
+ required: ['articleCode', 'companyType', 'name', 'unitCode', 'vatId'],
154
256
  type: 'object',
155
257
  properties: {
156
- extraProperties: {
157
- type: 'object',
158
- additionalProperties: {},
159
- nullable: true,
160
- readOnly: true
161
- },
162
258
  articleCode: {
163
259
  maxLength: 10,
164
260
  minLength: 3,
@@ -185,8 +281,7 @@ export const $UniRefund_SettingService_ProductGroups_CreateProductGroupDto = {
185
281
  },
186
282
  vatId: {
187
283
  type: 'string',
188
- format: 'uuid',
189
- nullable: true
284
+ format: 'uuid'
190
285
  }
191
286
  },
192
287
  additionalProperties: false
@@ -218,8 +313,7 @@ export const $UniRefund_SettingService_ProductGroups_ProductGroupDto = {
218
313
  },
219
314
  vatId: {
220
315
  type: 'string',
221
- format: 'uuid',
222
- nullable: true
316
+ format: 'uuid'
223
317
  },
224
318
  vatPercent: {
225
319
  type: 'integer',
@@ -242,15 +336,9 @@ export const $UniRefund_SettingService_ProductGroups_UnitTypeCode = {
242
336
  } as const;
243
337
 
244
338
  export const $UniRefund_SettingService_ProductGroups_UpdateProductGroupDto = {
245
- required: ['articleCode', 'companyType', 'name', 'unitCode'],
339
+ required: ['articleCode', 'companyType', 'name', 'unitCode', 'vatId'],
246
340
  type: 'object',
247
341
  properties: {
248
- extraProperties: {
249
- type: 'object',
250
- additionalProperties: {},
251
- nullable: true,
252
- readOnly: true
253
- },
254
342
  articleCode: {
255
343
  maxLength: 10,
256
344
  minLength: 3,
@@ -277,8 +365,7 @@ export const $UniRefund_SettingService_ProductGroups_UpdateProductGroupDto = {
277
365
  },
278
366
  vatId: {
279
367
  type: 'string',
280
- format: 'uuid',
281
- nullable: true
368
+ format: 'uuid'
282
369
  }
283
370
  },
284
371
  additionalProperties: false
@@ -2,7 +2,7 @@
2
2
 
3
3
  import type { CancelablePromise } from './core/CancelablePromise';
4
4
  import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
- import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, PostApiSettingServiceProductGroupData, PostApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupData, GetApiSettingServiceProductGroupResponse, PostApiSettingServiceProductGroupTranslationByIdData, PostApiSettingServiceProductGroupTranslationByIdResponse, PutApiSettingServiceProductGroupTranslationByIdData, PutApiSettingServiceProductGroupTranslationByIdResponse, DeleteApiSettingServiceProductGroupByIdData, DeleteApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, PutApiSettingServiceProductGroupByIdData, PutApiSettingServiceProductGroupByIdResponse, GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdData, GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdResponse, PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkData, PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkResponse, GetIntegrationApiProductGroupMerchantsData, GetIntegrationApiProductGroupMerchantsResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse, PostApiSettingServiceVatData, PostApiSettingServiceVatResponse, GetApiSettingServiceVatData, GetApiSettingServiceVatResponse, DeleteApiSettingServiceVatByIdData, DeleteApiSettingServiceVatByIdResponse, GetApiSettingServiceVatByIdData, GetApiSettingServiceVatByIdResponse, PutApiSettingServiceVatByIdData, PutApiSettingServiceVatByIdResponse } from './types.gen';
5
+ import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, PostApiSettingServiceProductGroupData, PostApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupData, GetApiSettingServiceProductGroupResponse, PostApiSettingServiceProductGroupTranslationByIdData, PostApiSettingServiceProductGroupTranslationByIdResponse, PutApiSettingServiceProductGroupTranslationByIdData, PutApiSettingServiceProductGroupTranslationByIdResponse, DeleteApiSettingServiceProductGroupByIdData, DeleteApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, PutApiSettingServiceProductGroupByIdData, PutApiSettingServiceProductGroupByIdResponse, GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdData, GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdResponse, PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkData, PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkResponse, GetIntegrationApiSettingServiceProductGroupListData, GetIntegrationApiSettingServiceProductGroupListResponse, PostIntegrationApiProductGroupMerchantsCreateManyData, PostIntegrationApiProductGroupMerchantsCreateManyResponse, DeleteIntegrationApiProductGroupMerchantsDeleteManyData, DeleteIntegrationApiProductGroupMerchantsDeleteManyResponse, GetIntegrationApiProductGroupMerchantsData, GetIntegrationApiProductGroupMerchantsResponse, GetIntegrationApiProductGroupMerchantsRelationListByMerchantIdData, GetIntegrationApiProductGroupMerchantsRelationListByMerchantIdResponse, PostIntegrationApiProductGroupMerchantsSetDefaultData, PostIntegrationApiProductGroupMerchantsSetDefaultResponse, GetIntegrationApiProductGroupMerchantsMerchantDefaultPgIdByMerchantIdData, GetIntegrationApiProductGroupMerchantsMerchantDefaultPgIdByMerchantIdResponse, PostIntegrationApiProductGroupMerchantsEnsurePgsBelongToMerchantData, PostIntegrationApiProductGroupMerchantsEnsurePgsBelongToMerchantResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse, PostApiSettingServiceVatData, PostApiSettingServiceVatResponse, GetApiSettingServiceVatData, GetApiSettingServiceVatResponse, DeleteApiSettingServiceVatByIdData, DeleteApiSettingServiceVatByIdResponse, GetApiSettingServiceVatByIdData, GetApiSettingServiceVatByIdResponse, PutApiSettingServiceVatByIdData, PutApiSettingServiceVatByIdResponse } from './types.gen';
6
6
 
7
7
  export class AbpApiDefinitionService {
8
8
  constructor(public readonly httpRequest: BaseHttpRequest) { }
@@ -398,11 +398,81 @@ export class ProductGroupIntegrationService {
398
398
  });
399
399
  }
400
400
 
401
+ /**
402
+ * @param data The data for the request.
403
+ * @param data.ids
404
+ * @returns unknown Success
405
+ * @throws ApiError
406
+ */
407
+ public getIntegrationApiSettingServiceProductGroupList(data: GetIntegrationApiSettingServiceProductGroupListData = {}): CancelablePromise<GetIntegrationApiSettingServiceProductGroupListResponse> {
408
+ return this.httpRequest.request({
409
+ method: 'GET',
410
+ url: '/integration-api/setting-service/product-group/list',
411
+ query: {
412
+ ids: data.ids
413
+ },
414
+ errors: {
415
+ 400: 'Bad Request',
416
+ 401: 'Unauthorized',
417
+ 403: 'Forbidden',
418
+ 404: 'Not Found',
419
+ 500: 'Server Error',
420
+ 501: 'Server Error'
421
+ }
422
+ });
423
+ }
424
+
401
425
  }
402
426
 
403
427
  export class ProductGroupMerchantIntegrationService {
404
428
  constructor(public readonly httpRequest: BaseHttpRequest) { }
405
429
 
430
+ /**
431
+ * @param data The data for the request.
432
+ * @param data.requestBody
433
+ * @returns unknown Success
434
+ * @throws ApiError
435
+ */
436
+ public postIntegrationApiProductGroupMerchantsCreateMany(data: PostIntegrationApiProductGroupMerchantsCreateManyData = {}): CancelablePromise<PostIntegrationApiProductGroupMerchantsCreateManyResponse> {
437
+ return this.httpRequest.request({
438
+ method: 'POST',
439
+ url: '/integration-api/product-group-merchants/create-many',
440
+ body: data.requestBody,
441
+ mediaType: 'application/json',
442
+ errors: {
443
+ 400: 'Bad Request',
444
+ 401: 'Unauthorized',
445
+ 403: 'Forbidden',
446
+ 404: 'Not Found',
447
+ 500: 'Server Error',
448
+ 501: 'Server Error'
449
+ }
450
+ });
451
+ }
452
+
453
+ /**
454
+ * @param data The data for the request.
455
+ * @param data.requestBody
456
+ * @returns unknown Success
457
+ * @throws ApiError
458
+ */
459
+ public deleteIntegrationApiProductGroupMerchantsDeleteMany(data: DeleteIntegrationApiProductGroupMerchantsDeleteManyData = {}): CancelablePromise<DeleteIntegrationApiProductGroupMerchantsDeleteManyResponse> {
460
+ return this.httpRequest.request({
461
+ method: 'DELETE',
462
+ url: '/integration-api/product-group-merchants/delete-many',
463
+ body: data.requestBody,
464
+ mediaType: 'application/json',
465
+ errors: {
466
+ 400: 'Bad Request',
467
+ 401: 'Unauthorized',
468
+ 403: 'Forbidden',
469
+ 404: 'Not Found',
470
+ 500: 'Server Error',
471
+ 501: 'Server Error'
472
+ }
473
+ });
474
+ }
475
+
406
476
  /**
407
477
  * @param data The data for the request.
408
478
  * @param data.merchantIds
@@ -429,6 +499,111 @@ export class ProductGroupMerchantIntegrationService {
429
499
  });
430
500
  }
431
501
 
502
+ /**
503
+ * @param data The data for the request.
504
+ * @param data.merchantId
505
+ * @returns unknown Success
506
+ * @throws ApiError
507
+ */
508
+ public getIntegrationApiProductGroupMerchantsRelationListByMerchantId(data: GetIntegrationApiProductGroupMerchantsRelationListByMerchantIdData = {}): CancelablePromise<GetIntegrationApiProductGroupMerchantsRelationListByMerchantIdResponse> {
509
+ return this.httpRequest.request({
510
+ method: 'GET',
511
+ url: '/integration-api/product-group-merchants/relation-list-by-merchant-id',
512
+ query: {
513
+ merchantId: data.merchantId
514
+ },
515
+ errors: {
516
+ 400: 'Bad Request',
517
+ 401: 'Unauthorized',
518
+ 403: 'Forbidden',
519
+ 404: 'Not Found',
520
+ 500: 'Server Error',
521
+ 501: 'Server Error'
522
+ }
523
+ });
524
+ }
525
+
526
+ /**
527
+ * @param data The data for the request.
528
+ * @param data.merchantId
529
+ * @param data.productGroupId
530
+ * @returns unknown Success
531
+ * @throws ApiError
532
+ */
533
+ public postIntegrationApiProductGroupMerchantsSetDefault(data: PostIntegrationApiProductGroupMerchantsSetDefaultData = {}): CancelablePromise<PostIntegrationApiProductGroupMerchantsSetDefaultResponse> {
534
+ return this.httpRequest.request({
535
+ method: 'POST',
536
+ url: '/integration-api/product-group-merchants/set-default',
537
+ query: {
538
+ merchantId: data.merchantId,
539
+ productGroupId: data.productGroupId
540
+ },
541
+ errors: {
542
+ 400: 'Bad Request',
543
+ 401: 'Unauthorized',
544
+ 403: 'Forbidden',
545
+ 404: 'Not Found',
546
+ 500: 'Server Error',
547
+ 501: 'Server Error'
548
+ }
549
+ });
550
+ }
551
+
552
+ /**
553
+ * @param data The data for the request.
554
+ * @param data.merchantId
555
+ * @param data.vatRates
556
+ * @returns string Success
557
+ * @throws ApiError
558
+ */
559
+ public getIntegrationApiProductGroupMerchantsMerchantDefaultPgIdByMerchantId(data: GetIntegrationApiProductGroupMerchantsMerchantDefaultPgIdByMerchantIdData): CancelablePromise<GetIntegrationApiProductGroupMerchantsMerchantDefaultPgIdByMerchantIdResponse> {
560
+ return this.httpRequest.request({
561
+ method: 'GET',
562
+ url: '/integration-api/product-group-merchants/merchant-default-pg-id/{merchantId}',
563
+ path: {
564
+ merchantId: data.merchantId
565
+ },
566
+ query: {
567
+ vatRates: data.vatRates
568
+ },
569
+ errors: {
570
+ 400: 'Bad Request',
571
+ 401: 'Unauthorized',
572
+ 403: 'Forbidden',
573
+ 404: 'Not Found',
574
+ 500: 'Server Error',
575
+ 501: 'Server Error'
576
+ }
577
+ });
578
+ }
579
+
580
+ /**
581
+ * @param data The data for the request.
582
+ * @param data.merchantId
583
+ * @param data.requestBody
584
+ * @returns unknown Success
585
+ * @throws ApiError
586
+ */
587
+ public postIntegrationApiProductGroupMerchantsEnsurePgsBelongToMerchant(data: PostIntegrationApiProductGroupMerchantsEnsurePgsBelongToMerchantData = {}): CancelablePromise<PostIntegrationApiProductGroupMerchantsEnsurePgsBelongToMerchantResponse> {
588
+ return this.httpRequest.request({
589
+ method: 'POST',
590
+ url: '/integration-api/product-group-merchants/ensure-pgs-belong-to-merchant',
591
+ query: {
592
+ merchantId: data.merchantId
593
+ },
594
+ body: data.requestBody,
595
+ mediaType: 'application/json',
596
+ errors: {
597
+ 400: 'Bad Request',
598
+ 401: 'Unauthorized',
599
+ 403: 'Forbidden',
600
+ 404: 'Not Found',
601
+ 500: 'Server Error',
602
+ 501: 'Server Error'
603
+ }
604
+ });
605
+ }
606
+
432
607
  }
433
608
 
434
609
  export class TimeZoneSettingsService {