@gooday_corp/gooday-api-client 1.2.22 → 1.2.23-beta

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.
Files changed (2) hide show
  1. package/api.ts +968 -908
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -319,31 +319,6 @@ export interface AttributesDto {
319
319
  */
320
320
  'dislikes': Array<string>;
321
321
  }
322
- /**
323
- *
324
- * @export
325
- * @interface AvailabilityDayDto
326
- */
327
- export interface AvailabilityDayDto {
328
- /**
329
- * Day of the week
330
- * @type {string}
331
- * @memberof AvailabilityDayDto
332
- */
333
- 'day': string;
334
- /**
335
- * Whether the day is enabled
336
- * @type {boolean}
337
- * @memberof AvailabilityDayDto
338
- */
339
- 'enabled': boolean;
340
- /**
341
- * Time slots for the day
342
- * @type {Array<TimeSlotDto>}
343
- * @memberof AvailabilityDayDto
344
- */
345
- 'slots': Array<TimeSlotDto>;
346
- }
347
322
  /**
348
323
  *
349
324
  * @export
@@ -750,6 +725,12 @@ export interface BusinessOnBoardingDTO {
750
725
  * @memberof BusinessOnBoardingDTO
751
726
  */
752
727
  'assistant'?: string;
728
+ /**
729
+ *
730
+ * @type {string}
731
+ * @memberof BusinessOnBoardingDTO
732
+ */
733
+ 'cancellationDuration'?: string;
753
734
  }
754
735
  /**
755
736
  *
@@ -770,263 +751,6 @@ export interface BusinessOnBoardingResponseDTO {
770
751
  */
771
752
  'data': BusinessEntity;
772
753
  }
773
- /**
774
- *
775
- * @export
776
- * @interface BusinessStaffDTO
777
- */
778
- export interface BusinessStaffDTO {
779
- /**
780
- * First name of the staff
781
- * @type {string}
782
- * @memberof BusinessStaffDTO
783
- */
784
- 'firstName': string;
785
- /**
786
- * Last name of the staff
787
- * @type {string}
788
- * @memberof BusinessStaffDTO
789
- */
790
- 'lastName': string;
791
- /**
792
- * Gender of the staff
793
- * @type {string}
794
- * @memberof BusinessStaffDTO
795
- */
796
- 'gender': string;
797
- /**
798
- * Date associated with the staff
799
- * @type {string}
800
- * @memberof BusinessStaffDTO
801
- */
802
- 'date': string;
803
- /**
804
- * Email of the staff
805
- * @type {string}
806
- * @memberof BusinessStaffDTO
807
- */
808
- 'email': string;
809
- /**
810
- * Phone number of the staff
811
- * @type {string}
812
- * @memberof BusinessStaffDTO
813
- */
814
- 'phoneNumber': string;
815
- /**
816
- * Gooday ID of the staff
817
- * @type {string}
818
- * @memberof BusinessStaffDTO
819
- */
820
- 'goodayId': string;
821
- /**
822
- * Role of the staff
823
- * @type {string}
824
- * @memberof BusinessStaffDTO
825
- */
826
- 'role': string;
827
- /**
828
- * Venue ID of the staff
829
- * @type {string}
830
- * @memberof BusinessStaffDTO
831
- */
832
- 'venue': string;
833
- /**
834
- * Admin name for the staff
835
- * @type {string}
836
- * @memberof BusinessStaffDTO
837
- */
838
- 'admin': string;
839
- /**
840
- * Country of the staff
841
- * @type {string}
842
- * @memberof BusinessStaffDTO
843
- */
844
- 'country': string;
845
- /**
846
- * Address of the staff
847
- * @type {string}
848
- * @memberof BusinessStaffDTO
849
- */
850
- 'address': string;
851
- /**
852
- * Profile picture URL
853
- * @type {string}
854
- * @memberof BusinessStaffDTO
855
- */
856
- 'profilePicture': string;
857
- /**
858
- * Additional documents URLs
859
- * @type {Array<string>}
860
- * @memberof BusinessStaffDTO
861
- */
862
- 'additionalDocument': Array<string>;
863
- /**
864
- * Availability details of the staff
865
- * @type {Array<AvailabilityDayDto>}
866
- * @memberof BusinessStaffDTO
867
- */
868
- 'availability': Array<AvailabilityDayDto>;
869
- }
870
- /**
871
- *
872
- * @export
873
- * @interface BusinessStaffDeleteResponseDTO
874
- */
875
- export interface BusinessStaffDeleteResponseDTO {
876
- /**
877
- * Status code of the response
878
- * @type {number}
879
- * @memberof BusinessStaffDeleteResponseDTO
880
- */
881
- 'statusCode': number;
882
- /**
883
- * Staff deleted successfully
884
- * @type {string}
885
- * @memberof BusinessStaffDeleteResponseDTO
886
- */
887
- 'message': string;
888
- }
889
- /**
890
- *
891
- * @export
892
- * @interface BusinessStaffEntity
893
- */
894
- export interface BusinessStaffEntity {
895
- /**
896
- * Unique identifier for the business staff
897
- * @type {string}
898
- * @memberof BusinessStaffEntity
899
- */
900
- '_id': string;
901
- /**
902
- * First name of the staff member
903
- * @type {string}
904
- * @memberof BusinessStaffEntity
905
- */
906
- 'firstName': string;
907
- /**
908
- * Last name of the staff member
909
- * @type {string}
910
- * @memberof BusinessStaffEntity
911
- */
912
- 'lastName': string;
913
- /**
914
- * Gender of the staff member
915
- * @type {string}
916
- * @memberof BusinessStaffEntity
917
- */
918
- 'gender'?: string;
919
- /**
920
- * Date of birth of the staff member
921
- * @type {string}
922
- * @memberof BusinessStaffEntity
923
- */
924
- 'date'?: string;
925
- /**
926
- * Email of the staff member
927
- * @type {string}
928
- * @memberof BusinessStaffEntity
929
- */
930
- 'email'?: string;
931
- /**
932
- * Phone number of the staff member
933
- * @type {string}
934
- * @memberof BusinessStaffEntity
935
- */
936
- 'phoneNumber'?: string;
937
- /**
938
- * Gooday ID of the staff member
939
- * @type {string}
940
- * @memberof BusinessStaffEntity
941
- */
942
- 'goodayId': string;
943
- /**
944
- * Role of the staff member
945
- * @type {string}
946
- * @memberof BusinessStaffEntity
947
- */
948
- 'role': string;
949
- /**
950
- * Associated business venue
951
- * @type {object}
952
- * @memberof BusinessStaffEntity
953
- */
954
- 'venue': object;
955
- /**
956
- * Admin ID managing the staff
957
- * @type {string}
958
- * @memberof BusinessStaffEntity
959
- */
960
- 'admin'?: string;
961
- /**
962
- * Country of the staff member
963
- * @type {string}
964
- * @memberof BusinessStaffEntity
965
- */
966
- 'country'?: string;
967
- /**
968
- * Address of the staff member
969
- * @type {string}
970
- * @memberof BusinessStaffEntity
971
- */
972
- 'address'?: string;
973
- /**
974
- * Profile picture URL
975
- * @type {string}
976
- * @memberof BusinessStaffEntity
977
- */
978
- 'profilePicture': string;
979
- /**
980
- * Additional documents provided by staff
981
- * @type {Array<string>}
982
- * @memberof BusinessStaffEntity
983
- */
984
- 'additionalDocument': Array<string>;
985
- /**
986
- * Availability of the staff member
987
- * @type {Array<object>}
988
- * @memberof BusinessStaffEntity
989
- */
990
- 'availability': Array<object>;
991
- }
992
- /**
993
- *
994
- * @export
995
- * @interface BusinessStaffResponseDTO
996
- */
997
- export interface BusinessStaffResponseDTO {
998
- /**
999
- * Status code of the response
1000
- * @type {number}
1001
- * @memberof BusinessStaffResponseDTO
1002
- */
1003
- 'statusCode': number;
1004
- /**
1005
- * Response Message
1006
- * @type {BusinessStaffEntity}
1007
- * @memberof BusinessStaffResponseDTO
1008
- */
1009
- 'data': BusinessStaffEntity;
1010
- }
1011
- /**
1012
- *
1013
- * @export
1014
- * @interface BusinessStaffsResponseDTO
1015
- */
1016
- export interface BusinessStaffsResponseDTO {
1017
- /**
1018
- * Status code of the response
1019
- * @type {number}
1020
- * @memberof BusinessStaffsResponseDTO
1021
- */
1022
- 'statusCode': number;
1023
- /**
1024
- * Response Message
1025
- * @type {Array<BusinessStaffEntity>}
1026
- * @memberof BusinessStaffsResponseDTO
1027
- */
1028
- 'data': Array<BusinessStaffEntity>;
1029
- }
1030
754
  /**
1031
755
  *
1032
756
  * @export
@@ -1167,10 +891,10 @@ export interface BusinessUnFavoriteResponse {
1167
891
  export interface BusinessVenueDTO {
1168
892
  /**
1169
893
  * coverPhots
1170
- * @type {string}
894
+ * @type {Array<string>}
1171
895
  * @memberof BusinessVenueDTO
1172
896
  */
1173
- 'coverPhoto': string;
897
+ 'coverPhoto': Array<string>;
1174
898
  /**
1175
899
  *
1176
900
  * @type {string}
@@ -1189,6 +913,42 @@ export interface BusinessVenueDTO {
1189
913
  * @memberof BusinessVenueDTO
1190
914
  */
1191
915
  'numberOfEmployee': string;
916
+ /**
917
+ *
918
+ * @type {Array<string>}
919
+ * @memberof BusinessVenueDTO
920
+ */
921
+ 'tags': Array<string>;
922
+ /**
923
+ *
924
+ * @type {SocialMedia}
925
+ * @memberof BusinessVenueDTO
926
+ */
927
+ 'socialMedia': SocialMedia;
928
+ /**
929
+ *
930
+ * @type {Array<Contact>}
931
+ * @memberof BusinessVenueDTO
932
+ */
933
+ 'contacts': Array<Contact>;
934
+ /**
935
+ *
936
+ * @type {string}
937
+ * @memberof BusinessVenueDTO
938
+ */
939
+ 'description': string;
940
+ /**
941
+ *
942
+ * @type {string}
943
+ * @memberof BusinessVenueDTO
944
+ */
945
+ 'averageBookingDuration': string;
946
+ /**
947
+ *
948
+ * @type {string}
949
+ * @memberof BusinessVenueDTO
950
+ */
951
+ 'furtherInstructions': string;
1192
952
  }
1193
953
  /**
1194
954
  *
@@ -1204,22 +964,34 @@ export interface BusinessVenueDetailsEntity {
1204
964
  '_id'?: string;
1205
965
  /**
1206
966
  * coverPhots
1207
- * @type {string}
967
+ * @type {Array<string>}
1208
968
  * @memberof BusinessVenueDetailsEntity
1209
969
  */
1210
- 'coverPhoto': string;
970
+ 'coverPhoto': Array<string>;
1211
971
  /**
1212
972
  *
1213
973
  * @type {string}
1214
974
  * @memberof BusinessVenueDetailsEntity
1215
975
  */
1216
976
  'priceRange': string;
977
+ /**
978
+ *
979
+ * @type {string}
980
+ * @memberof BusinessVenueDetailsEntity
981
+ */
982
+ 'description': string;
1217
983
  /**
1218
984
  *
1219
985
  * @type {LocationDTO}
1220
986
  * @memberof BusinessVenueDetailsEntity
1221
987
  */
1222
988
  'location': LocationDTO;
989
+ /**
990
+ *
991
+ * @type {Array<Contact>}
992
+ * @memberof BusinessVenueDetailsEntity
993
+ */
994
+ 'contacts': Array<Contact>;
1223
995
  /**
1224
996
  *
1225
997
  * @type {string}
@@ -1238,6 +1010,30 @@ export interface BusinessVenueDetailsEntity {
1238
1010
  * @memberof BusinessVenueDetailsEntity
1239
1011
  */
1240
1012
  'business': BusinessEntity;
1013
+ /**
1014
+ *
1015
+ * @type {Array<string>}
1016
+ * @memberof BusinessVenueDetailsEntity
1017
+ */
1018
+ 'tags': Array<string>;
1019
+ /**
1020
+ *
1021
+ * @type {SocialMedia}
1022
+ * @memberof BusinessVenueDetailsEntity
1023
+ */
1024
+ 'socialMedia': SocialMedia;
1025
+ /**
1026
+ *
1027
+ * @type {string}
1028
+ * @memberof BusinessVenueDetailsEntity
1029
+ */
1030
+ 'averageBookingDuration': string;
1031
+ /**
1032
+ *
1033
+ * @type {string}
1034
+ * @memberof BusinessVenueDetailsEntity
1035
+ */
1036
+ 'furtherInstructions': string;
1241
1037
  }
1242
1038
  /**
1243
1039
  *
@@ -1576,6 +1372,31 @@ export interface CategoryListResponse {
1576
1372
  */
1577
1373
  'data': Array<CategoryEntity>;
1578
1374
  }
1375
+ /**
1376
+ *
1377
+ * @export
1378
+ * @interface Contact
1379
+ */
1380
+ export interface Contact {
1381
+ /**
1382
+ *
1383
+ * @type {string}
1384
+ * @memberof Contact
1385
+ */
1386
+ 'email'?: string;
1387
+ /**
1388
+ *
1389
+ * @type {string}
1390
+ * @memberof Contact
1391
+ */
1392
+ 'mobile'?: string;
1393
+ /**
1394
+ *
1395
+ * @type {string}
1396
+ * @memberof Contact
1397
+ */
1398
+ 'website'?: string;
1399
+ }
1579
1400
  /**
1580
1401
  *
1581
1402
  * @export
@@ -2346,9 +2167,39 @@ export interface GetBusinessVenueDto {
2346
2167
  * @memberof GetBusinessVenueDto
2347
2168
  */
2348
2169
  'limit'?: number;
2349
- }
2350
- /**
2351
- *
2170
+ /**
2171
+ *
2172
+ * @type {string}
2173
+ * @memberof GetBusinessVenueDto
2174
+ */
2175
+ 'price'?: string;
2176
+ /**
2177
+ *
2178
+ * @type {number}
2179
+ * @memberof GetBusinessVenueDto
2180
+ */
2181
+ 'people'?: number;
2182
+ /**
2183
+ *
2184
+ * @type {boolean}
2185
+ * @memberof GetBusinessVenueDto
2186
+ */
2187
+ 'available_today'?: boolean;
2188
+ /**
2189
+ *
2190
+ * @type {string}
2191
+ * @memberof GetBusinessVenueDto
2192
+ */
2193
+ 'distance'?: string;
2194
+ /**
2195
+ *
2196
+ * @type {string}
2197
+ * @memberof GetBusinessVenueDto
2198
+ */
2199
+ 'cuisine'?: string;
2200
+ }
2201
+ /**
2202
+ *
2352
2203
  * @export
2353
2204
  * @interface GetNotificationDTO
2354
2205
  */
@@ -3635,6 +3486,25 @@ export interface SkillDto {
3635
3486
  */
3636
3487
  'weightage': number;
3637
3488
  }
3489
+ /**
3490
+ *
3491
+ * @export
3492
+ * @interface SocialMedia
3493
+ */
3494
+ export interface SocialMedia {
3495
+ /**
3496
+ *
3497
+ * @type {Array<string>}
3498
+ * @memberof SocialMedia
3499
+ */
3500
+ 'images'?: Array<string>;
3501
+ /**
3502
+ *
3503
+ * @type {string}
3504
+ * @memberof SocialMedia
3505
+ */
3506
+ 'link'?: string;
3507
+ }
3638
3508
  /**
3639
3509
  *
3640
3510
  * @export
@@ -3705,6 +3575,191 @@ export interface StripeSetupPaymentIntentDTO {
3705
3575
  */
3706
3576
  'clientSecret': string;
3707
3577
  }
3578
+ /**
3579
+ *
3580
+ * @export
3581
+ * @interface TagPayloadDTO
3582
+ */
3583
+ export interface TagPayloadDTO {
3584
+ /**
3585
+ * Tag name
3586
+ * @type {string}
3587
+ * @memberof TagPayloadDTO
3588
+ */
3589
+ 'name': string;
3590
+ /**
3591
+ * Tag category
3592
+ * @type {string}
3593
+ * @memberof TagPayloadDTO
3594
+ */
3595
+ 'category': TagPayloadDTOCategoryEnum;
3596
+ /**
3597
+ * Group name
3598
+ * @type {string}
3599
+ * @memberof TagPayloadDTO
3600
+ */
3601
+ 'group': string;
3602
+ /**
3603
+ * Tag icon
3604
+ * @type {string}
3605
+ * @memberof TagPayloadDTO
3606
+ */
3607
+ 'icon': string;
3608
+ /**
3609
+ *
3610
+ * @type {boolean}
3611
+ * @memberof TagPayloadDTO
3612
+ */
3613
+ 'allVenues': boolean;
3614
+ }
3615
+
3616
+ export const TagPayloadDTOCategoryEnum = {
3617
+ Booking: 'BOOKING',
3618
+ Customer: 'CUSTOMER'
3619
+ } as const;
3620
+
3621
+ export type TagPayloadDTOCategoryEnum = typeof TagPayloadDTOCategoryEnum[keyof typeof TagPayloadDTOCategoryEnum];
3622
+
3623
+ /**
3624
+ *
3625
+ * @export
3626
+ * @interface TagResponseDTO
3627
+ */
3628
+ export interface TagResponseDTO {
3629
+ /**
3630
+ *
3631
+ * @type {TagsResponse}
3632
+ * @memberof TagResponseDTO
3633
+ */
3634
+ 'data': TagsResponse;
3635
+ /**
3636
+ * statusCode
3637
+ * @type {number}
3638
+ * @memberof TagResponseDTO
3639
+ */
3640
+ 'statusCode': number;
3641
+ }
3642
+ /**
3643
+ *
3644
+ * @export
3645
+ * @interface TagUpdatePayloadDTO
3646
+ */
3647
+ export interface TagUpdatePayloadDTO {
3648
+ /**
3649
+ * Tag id
3650
+ * @type {string}
3651
+ * @memberof TagUpdatePayloadDTO
3652
+ */
3653
+ '_id': string;
3654
+ /**
3655
+ * Tag name
3656
+ * @type {string}
3657
+ * @memberof TagUpdatePayloadDTO
3658
+ */
3659
+ 'name': string;
3660
+ /**
3661
+ * Tag category
3662
+ * @type {string}
3663
+ * @memberof TagUpdatePayloadDTO
3664
+ */
3665
+ 'category': TagUpdatePayloadDTOCategoryEnum;
3666
+ /**
3667
+ * Group name
3668
+ * @type {string}
3669
+ * @memberof TagUpdatePayloadDTO
3670
+ */
3671
+ 'group': string;
3672
+ /**
3673
+ * Tag icon
3674
+ * @type {string}
3675
+ * @memberof TagUpdatePayloadDTO
3676
+ */
3677
+ 'icon': string;
3678
+ /**
3679
+ *
3680
+ * @type {boolean}
3681
+ * @memberof TagUpdatePayloadDTO
3682
+ */
3683
+ 'allVenues': boolean;
3684
+ }
3685
+
3686
+ export const TagUpdatePayloadDTOCategoryEnum = {
3687
+ Booking: 'BOOKING',
3688
+ Customer: 'CUSTOMER'
3689
+ } as const;
3690
+
3691
+ export type TagUpdatePayloadDTOCategoryEnum = typeof TagUpdatePayloadDTOCategoryEnum[keyof typeof TagUpdatePayloadDTOCategoryEnum];
3692
+
3693
+ /**
3694
+ *
3695
+ * @export
3696
+ * @interface TagsResponse
3697
+ */
3698
+ export interface TagsResponse {
3699
+ /**
3700
+ * Tag id
3701
+ * @type {string}
3702
+ * @memberof TagsResponse
3703
+ */
3704
+ '_id': string;
3705
+ /**
3706
+ * Tag name
3707
+ * @type {string}
3708
+ * @memberof TagsResponse
3709
+ */
3710
+ 'name': string;
3711
+ /**
3712
+ * Tag category
3713
+ * @type {string}
3714
+ * @memberof TagsResponse
3715
+ */
3716
+ 'category': TagsResponseCategoryEnum;
3717
+ /**
3718
+ * Group name
3719
+ * @type {string}
3720
+ * @memberof TagsResponse
3721
+ */
3722
+ 'group': string;
3723
+ /**
3724
+ * Tag icon
3725
+ * @type {string}
3726
+ * @memberof TagsResponse
3727
+ */
3728
+ 'icon': string;
3729
+ /**
3730
+ *
3731
+ * @type {boolean}
3732
+ * @memberof TagsResponse
3733
+ */
3734
+ 'allVenues': boolean;
3735
+ }
3736
+
3737
+ export const TagsResponseCategoryEnum = {
3738
+ Booking: 'BOOKING',
3739
+ Customer: 'CUSTOMER'
3740
+ } as const;
3741
+
3742
+ export type TagsResponseCategoryEnum = typeof TagsResponseCategoryEnum[keyof typeof TagsResponseCategoryEnum];
3743
+
3744
+ /**
3745
+ *
3746
+ * @export
3747
+ * @interface TagsResponseDTO
3748
+ */
3749
+ export interface TagsResponseDTO {
3750
+ /**
3751
+ *
3752
+ * @type {Array<TagsResponse>}
3753
+ * @memberof TagsResponseDTO
3754
+ */
3755
+ 'data': Array<TagsResponse>;
3756
+ /**
3757
+ * statusCode
3758
+ * @type {number}
3759
+ * @memberof TagsResponseDTO
3760
+ */
3761
+ 'statusCode': number;
3762
+ }
3708
3763
  /**
3709
3764
  *
3710
3765
  * @export
@@ -3830,25 +3885,6 @@ export interface TaskListResponseDTO {
3830
3885
  */
3831
3886
  'data': Array<TaskEntity>;
3832
3887
  }
3833
- /**
3834
- *
3835
- * @export
3836
- * @interface TimeSlotDto
3837
- */
3838
- export interface TimeSlotDto {
3839
- /**
3840
- * Start time of the slot
3841
- * @type {string}
3842
- * @memberof TimeSlotDto
3843
- */
3844
- 'from': string;
3845
- /**
3846
- * End time of the slot
3847
- * @type {string}
3848
- * @memberof TimeSlotDto
3849
- */
3850
- 'to': string;
3851
- }
3852
3888
  /**
3853
3889
  *
3854
3890
  * @export
@@ -5964,15 +6000,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
5964
6000
  },
5965
6001
  /**
5966
6002
  *
5967
- * @param {string} id
6003
+ * @param {GetBusinessVenueDto} getBusinessVenueDto
5968
6004
  * @param {*} [options] Override http request option.
5969
6005
  * @throws {RequiredError}
5970
6006
  */
5971
- businessStaffControllerDeleteStaff: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5972
- // verify required parameter 'id' is not null or undefined
5973
- assertParamExists('businessStaffControllerDeleteStaff', 'id', id)
5974
- const localVarPath = `/v1/business-staff/{id}`
5975
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6007
+ businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6008
+ // verify required parameter 'getBusinessVenueDto' is not null or undefined
6009
+ assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
6010
+ const localVarPath = `/v1/business/business-venue`;
5976
6011
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5977
6012
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5978
6013
  let baseOptions;
@@ -5980,7 +6015,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
5980
6015
  baseOptions = configuration.baseOptions;
5981
6016
  }
5982
6017
 
5983
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
6018
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5984
6019
  const localVarHeaderParameter = {} as any;
5985
6020
  const localVarQueryParameter = {} as any;
5986
6021
 
@@ -5990,9 +6025,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
5990
6025
 
5991
6026
 
5992
6027
 
6028
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6029
+
5993
6030
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5994
6031
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5995
6032
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6033
+ localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
5996
6034
 
5997
6035
  return {
5998
6036
  url: toPathString(localVarUrlObj),
@@ -6001,18 +6039,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6001
6039
  },
6002
6040
  /**
6003
6041
  *
6004
- * @param {number} page
6005
- * @param {number} pageSize
6006
- * @param {string} [search]
6042
+ * @param {boolean} favorite
6007
6043
  * @param {*} [options] Override http request option.
6008
6044
  * @throws {RequiredError}
6009
6045
  */
6010
- businessStaffControllerFindBusinessStaffs: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6011
- // verify required parameter 'page' is not null or undefined
6012
- assertParamExists('businessStaffControllerFindBusinessStaffs', 'page', page)
6013
- // verify required parameter 'pageSize' is not null or undefined
6014
- assertParamExists('businessStaffControllerFindBusinessStaffs', 'pageSize', pageSize)
6015
- const localVarPath = `/v1/business-staff`;
6046
+ businessTypeControllerListBusinessType: async (favorite: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6047
+ // verify required parameter 'favorite' is not null or undefined
6048
+ assertParamExists('businessTypeControllerListBusinessType', 'favorite', favorite)
6049
+ const localVarPath = `/v1/business/list{favorite}`
6050
+ .replace(`{${"favorite"}}`, encodeURIComponent(String(favorite)));
6016
6051
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6017
6052
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6018
6053
  let baseOptions;
@@ -6028,18 +6063,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6028
6063
  // http bearer authentication required
6029
6064
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
6030
6065
 
6031
- if (page !== undefined) {
6032
- localVarQueryParameter['page'] = page;
6033
- }
6034
-
6035
- if (pageSize !== undefined) {
6036
- localVarQueryParameter['pageSize'] = pageSize;
6037
- }
6038
-
6039
- if (search !== undefined) {
6040
- localVarQueryParameter['search'] = search;
6041
- }
6042
-
6043
6066
 
6044
6067
 
6045
6068
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6053,15 +6076,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6053
6076
  },
6054
6077
  /**
6055
6078
  *
6056
- * @param {string} id
6079
+ * @param {string} businessTypeId ID of the business type
6057
6080
  * @param {*} [options] Override http request option.
6058
6081
  * @throws {RequiredError}
6059
6082
  */
6060
- businessStaffControllerFindByIdBusinessStaff: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6061
- // verify required parameter 'id' is not null or undefined
6062
- assertParamExists('businessStaffControllerFindByIdBusinessStaff', 'id', id)
6063
- const localVarPath = `/v1/business-staff/{id}`
6064
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6083
+ businessTypeControllerListCategories: async (businessTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6084
+ // verify required parameter 'businessTypeId' is not null or undefined
6085
+ assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
6086
+ const localVarPath = `/v1/business/{businessTypeId}/categories`
6087
+ .replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
6065
6088
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6066
6089
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6067
6090
  let baseOptions;
@@ -6090,14 +6113,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6090
6113
  },
6091
6114
  /**
6092
6115
  *
6093
- * @param {BusinessStaffDTO} businessStaffDTO
6094
6116
  * @param {*} [options] Override http request option.
6095
6117
  * @throws {RequiredError}
6096
6118
  */
6097
- businessStaffControllerSaveBusinessStaff: async (businessStaffDTO: BusinessStaffDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6098
- // verify required parameter 'businessStaffDTO' is not null or undefined
6099
- assertParamExists('businessStaffControllerSaveBusinessStaff', 'businessStaffDTO', businessStaffDTO)
6100
- const localVarPath = `/v1/business-staff`;
6119
+ businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6120
+ const localVarPath = `/v1/business/employee-size`;
6101
6121
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6102
6122
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6103
6123
  let baseOptions;
@@ -6105,7 +6125,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6105
6125
  baseOptions = configuration.baseOptions;
6106
6126
  }
6107
6127
 
6108
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6128
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6109
6129
  const localVarHeaderParameter = {} as any;
6110
6130
  const localVarQueryParameter = {} as any;
6111
6131
 
@@ -6115,12 +6135,9 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6115
6135
 
6116
6136
 
6117
6137
 
6118
- localVarHeaderParameter['Content-Type'] = 'application/json';
6119
-
6120
6138
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6121
6139
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6122
6140
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6123
- localVarRequestOptions.data = serializeDataIfNeeded(businessStaffDTO, localVarRequestOptions, configuration)
6124
6141
 
6125
6142
  return {
6126
6143
  url: toPathString(localVarUrlObj),
@@ -6129,18 +6146,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6129
6146
  },
6130
6147
  /**
6131
6148
  *
6132
- * @param {string} id
6133
- * @param {BusinessStaffDTO} businessStaffDTO
6134
6149
  * @param {*} [options] Override http request option.
6135
6150
  * @throws {RequiredError}
6136
6151
  */
6137
- businessStaffControllerUpdateStaff: async (id: string, businessStaffDTO: BusinessStaffDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6138
- // verify required parameter 'id' is not null or undefined
6139
- assertParamExists('businessStaffControllerUpdateStaff', 'id', id)
6140
- // verify required parameter 'businessStaffDTO' is not null or undefined
6141
- assertParamExists('businessStaffControllerUpdateStaff', 'businessStaffDTO', businessStaffDTO)
6142
- const localVarPath = `/v1/business-staff/{id}`
6143
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6152
+ businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6153
+ const localVarPath = `/v1/business/price-range`;
6144
6154
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6145
6155
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6146
6156
  let baseOptions;
@@ -6148,7 +6158,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6148
6158
  baseOptions = configuration.baseOptions;
6149
6159
  }
6150
6160
 
6151
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
6161
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6152
6162
  const localVarHeaderParameter = {} as any;
6153
6163
  const localVarQueryParameter = {} as any;
6154
6164
 
@@ -6158,12 +6168,9 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6158
6168
 
6159
6169
 
6160
6170
 
6161
- localVarHeaderParameter['Content-Type'] = 'application/json';
6162
-
6163
6171
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6164
6172
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6165
6173
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6166
- localVarRequestOptions.data = serializeDataIfNeeded(businessStaffDTO, localVarRequestOptions, configuration)
6167
6174
 
6168
6175
  return {
6169
6176
  url: toPathString(localVarUrlObj),
@@ -6172,14 +6179,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6172
6179
  },
6173
6180
  /**
6174
6181
  *
6175
- * @param {GetBusinessVenueDto} getBusinessVenueDto
6182
+ * @param {BusinessFavoriteDTO} businessFavoriteDTO
6176
6183
  * @param {*} [options] Override http request option.
6177
6184
  * @throws {RequiredError}
6178
6185
  */
6179
- businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6180
- // verify required parameter 'getBusinessVenueDto' is not null or undefined
6181
- assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
6182
- const localVarPath = `/v1/business/business-venue`;
6186
+ businessTypeControllerMarkBusinessAsFavorite: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6187
+ // verify required parameter 'businessFavoriteDTO' is not null or undefined
6188
+ assertParamExists('businessTypeControllerMarkBusinessAsFavorite', 'businessFavoriteDTO', businessFavoriteDTO)
6189
+ const localVarPath = `/v1/business/favorite`;
6183
6190
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6184
6191
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6185
6192
  let baseOptions;
@@ -6202,7 +6209,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6202
6209
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6203
6210
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6204
6211
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6205
- localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
6212
+ localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
6206
6213
 
6207
6214
  return {
6208
6215
  url: toPathString(localVarUrlObj),
@@ -6211,15 +6218,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6211
6218
  },
6212
6219
  /**
6213
6220
  *
6214
- * @param {boolean} favorite
6221
+ * @param {BusinessFavoriteDTO} businessFavoriteDTO
6215
6222
  * @param {*} [options] Override http request option.
6216
6223
  * @throws {RequiredError}
6217
6224
  */
6218
- businessTypeControllerListBusinessType: async (favorite: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6219
- // verify required parameter 'favorite' is not null or undefined
6220
- assertParamExists('businessTypeControllerListBusinessType', 'favorite', favorite)
6221
- const localVarPath = `/v1/business/list{favorite}`
6222
- .replace(`{${"favorite"}}`, encodeURIComponent(String(favorite)));
6225
+ businessTypeControllerUnFavoriteBusiness: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6226
+ // verify required parameter 'businessFavoriteDTO' is not null or undefined
6227
+ assertParamExists('businessTypeControllerUnFavoriteBusiness', 'businessFavoriteDTO', businessFavoriteDTO)
6228
+ const localVarPath = `/v1/business/unfavorite`;
6223
6229
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6224
6230
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6225
6231
  let baseOptions;
@@ -6227,185 +6233,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6227
6233
  baseOptions = configuration.baseOptions;
6228
6234
  }
6229
6235
 
6230
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6231
- const localVarHeaderParameter = {} as any;
6232
- const localVarQueryParameter = {} as any;
6233
-
6234
- // authentication bearer required
6235
- // http bearer authentication required
6236
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
6237
-
6238
-
6239
-
6240
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6241
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6242
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6243
-
6244
- return {
6245
- url: toPathString(localVarUrlObj),
6246
- options: localVarRequestOptions,
6247
- };
6248
- },
6249
- /**
6250
- *
6251
- * @param {string} businessTypeId ID of the business type
6252
- * @param {*} [options] Override http request option.
6253
- * @throws {RequiredError}
6254
- */
6255
- businessTypeControllerListCategories: async (businessTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6256
- // verify required parameter 'businessTypeId' is not null or undefined
6257
- assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
6258
- const localVarPath = `/v1/business/{businessTypeId}/categories`
6259
- .replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
6260
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6261
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6262
- let baseOptions;
6263
- if (configuration) {
6264
- baseOptions = configuration.baseOptions;
6265
- }
6266
-
6267
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6268
- const localVarHeaderParameter = {} as any;
6269
- const localVarQueryParameter = {} as any;
6270
-
6271
- // authentication bearer required
6272
- // http bearer authentication required
6273
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
6274
-
6275
-
6276
-
6277
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6278
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6279
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6280
-
6281
- return {
6282
- url: toPathString(localVarUrlObj),
6283
- options: localVarRequestOptions,
6284
- };
6285
- },
6286
- /**
6287
- *
6288
- * @param {*} [options] Override http request option.
6289
- * @throws {RequiredError}
6290
- */
6291
- businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6292
- const localVarPath = `/v1/business/employee-size`;
6293
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6294
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6295
- let baseOptions;
6296
- if (configuration) {
6297
- baseOptions = configuration.baseOptions;
6298
- }
6299
-
6300
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6301
- const localVarHeaderParameter = {} as any;
6302
- const localVarQueryParameter = {} as any;
6303
-
6304
- // authentication bearer required
6305
- // http bearer authentication required
6306
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
6307
-
6308
-
6309
-
6310
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6311
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6312
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6313
-
6314
- return {
6315
- url: toPathString(localVarUrlObj),
6316
- options: localVarRequestOptions,
6317
- };
6318
- },
6319
- /**
6320
- *
6321
- * @param {*} [options] Override http request option.
6322
- * @throws {RequiredError}
6323
- */
6324
- businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6325
- const localVarPath = `/v1/business/price-range`;
6326
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6327
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6328
- let baseOptions;
6329
- if (configuration) {
6330
- baseOptions = configuration.baseOptions;
6331
- }
6332
-
6333
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6334
- const localVarHeaderParameter = {} as any;
6335
- const localVarQueryParameter = {} as any;
6336
-
6337
- // authentication bearer required
6338
- // http bearer authentication required
6339
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
6340
-
6341
-
6342
-
6343
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6344
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6345
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6346
-
6347
- return {
6348
- url: toPathString(localVarUrlObj),
6349
- options: localVarRequestOptions,
6350
- };
6351
- },
6352
- /**
6353
- *
6354
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
6355
- * @param {*} [options] Override http request option.
6356
- * @throws {RequiredError}
6357
- */
6358
- businessTypeControllerMarkBusinessAsFavorite: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6359
- // verify required parameter 'businessFavoriteDTO' is not null or undefined
6360
- assertParamExists('businessTypeControllerMarkBusinessAsFavorite', 'businessFavoriteDTO', businessFavoriteDTO)
6361
- const localVarPath = `/v1/business/favorite`;
6362
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6363
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6364
- let baseOptions;
6365
- if (configuration) {
6366
- baseOptions = configuration.baseOptions;
6367
- }
6368
-
6369
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6370
- const localVarHeaderParameter = {} as any;
6371
- const localVarQueryParameter = {} as any;
6372
-
6373
- // authentication bearer required
6374
- // http bearer authentication required
6375
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
6376
-
6377
-
6378
-
6379
- localVarHeaderParameter['Content-Type'] = 'application/json';
6380
-
6381
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6382
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6383
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6384
- localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
6385
-
6386
- return {
6387
- url: toPathString(localVarUrlObj),
6388
- options: localVarRequestOptions,
6389
- };
6390
- },
6391
- /**
6392
- *
6393
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
6394
- * @param {*} [options] Override http request option.
6395
- * @throws {RequiredError}
6396
- */
6397
- businessTypeControllerUnFavoriteBusiness: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6398
- // verify required parameter 'businessFavoriteDTO' is not null or undefined
6399
- assertParamExists('businessTypeControllerUnFavoriteBusiness', 'businessFavoriteDTO', businessFavoriteDTO)
6400
- const localVarPath = `/v1/business/unfavorite`;
6401
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6402
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6403
- let baseOptions;
6404
- if (configuration) {
6405
- baseOptions = configuration.baseOptions;
6406
- }
6407
-
6408
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6236
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6409
6237
  const localVarHeaderParameter = {} as any;
6410
6238
  const localVarQueryParameter = {} as any;
6411
6239
 
@@ -6508,69 +6336,6 @@ export const BusinessApiFp = function(configuration?: Configuration) {
6508
6336
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
6509
6337
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6510
6338
  },
6511
- /**
6512
- *
6513
- * @param {string} id
6514
- * @param {*} [options] Override http request option.
6515
- * @throws {RequiredError}
6516
- */
6517
- async businessStaffControllerDeleteStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffDeleteResponseDTO>> {
6518
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerDeleteStaff(id, options);
6519
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6520
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerDeleteStaff']?.[localVarOperationServerIndex]?.url;
6521
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6522
- },
6523
- /**
6524
- *
6525
- * @param {number} page
6526
- * @param {number} pageSize
6527
- * @param {string} [search]
6528
- * @param {*} [options] Override http request option.
6529
- * @throws {RequiredError}
6530
- */
6531
- async businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
6532
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindBusinessStaffs(page, pageSize, search, options);
6533
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6534
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
6535
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6536
- },
6537
- /**
6538
- *
6539
- * @param {string} id
6540
- * @param {*} [options] Override http request option.
6541
- * @throws {RequiredError}
6542
- */
6543
- async businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffResponseDTO>> {
6544
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindByIdBusinessStaff(id, options);
6545
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6546
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindByIdBusinessStaff']?.[localVarOperationServerIndex]?.url;
6547
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6548
- },
6549
- /**
6550
- *
6551
- * @param {BusinessStaffDTO} businessStaffDTO
6552
- * @param {*} [options] Override http request option.
6553
- * @throws {RequiredError}
6554
- */
6555
- async businessStaffControllerSaveBusinessStaff(businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffResponseDTO>> {
6556
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerSaveBusinessStaff(businessStaffDTO, options);
6557
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6558
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerSaveBusinessStaff']?.[localVarOperationServerIndex]?.url;
6559
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6560
- },
6561
- /**
6562
- *
6563
- * @param {string} id
6564
- * @param {BusinessStaffDTO} businessStaffDTO
6565
- * @param {*} [options] Override http request option.
6566
- * @throws {RequiredError}
6567
- */
6568
- async businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffResponseDTO>> {
6569
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerUpdateStaff(id, businessStaffDTO, options);
6570
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6571
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerUpdateStaff']?.[localVarOperationServerIndex]?.url;
6572
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6573
- },
6574
6339
  /**
6575
6340
  *
6576
6341
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -6703,112 +6468,64 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
6703
6468
  },
6704
6469
  /**
6705
6470
  *
6706
- * @param {string} id
6471
+ * @param {GetBusinessVenueDto} getBusinessVenueDto
6707
6472
  * @param {*} [options] Override http request option.
6708
6473
  * @throws {RequiredError}
6709
6474
  */
6710
- businessStaffControllerDeleteStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffDeleteResponseDTO> {
6711
- return localVarFp.businessStaffControllerDeleteStaff(id, options).then((request) => request(axios, basePath));
6475
+ businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
6476
+ return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
6712
6477
  },
6713
6478
  /**
6714
6479
  *
6715
- * @param {number} page
6716
- * @param {number} pageSize
6717
- * @param {string} [search]
6480
+ * @param {boolean} favorite
6718
6481
  * @param {*} [options] Override http request option.
6719
6482
  * @throws {RequiredError}
6720
6483
  */
6721
- businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
6722
- return localVarFp.businessStaffControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(axios, basePath));
6484
+ businessTypeControllerListBusinessType(favorite: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
6485
+ return localVarFp.businessTypeControllerListBusinessType(favorite, options).then((request) => request(axios, basePath));
6723
6486
  },
6724
6487
  /**
6725
6488
  *
6726
- * @param {string} id
6489
+ * @param {string} businessTypeId ID of the business type
6727
6490
  * @param {*} [options] Override http request option.
6728
6491
  * @throws {RequiredError}
6729
6492
  */
6730
- businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
6731
- return localVarFp.businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(axios, basePath));
6493
+ businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
6494
+ return localVarFp.businessTypeControllerListCategories(businessTypeId, options).then((request) => request(axios, basePath));
6732
6495
  },
6733
6496
  /**
6734
6497
  *
6735
- * @param {BusinessStaffDTO} businessStaffDTO
6736
6498
  * @param {*} [options] Override http request option.
6737
6499
  * @throws {RequiredError}
6738
6500
  */
6739
- businessStaffControllerSaveBusinessStaff(businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
6740
- return localVarFp.businessStaffControllerSaveBusinessStaff(businessStaffDTO, options).then((request) => request(axios, basePath));
6501
+ businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): AxiosPromise<EmployeesSizeListResponse> {
6502
+ return localVarFp.businessTypeControllerListEmployeesSize(options).then((request) => request(axios, basePath));
6741
6503
  },
6742
6504
  /**
6743
6505
  *
6744
- * @param {string} id
6745
- * @param {BusinessStaffDTO} businessStaffDTO
6746
6506
  * @param {*} [options] Override http request option.
6747
6507
  * @throws {RequiredError}
6748
6508
  */
6749
- businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
6750
- return localVarFp.businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(axios, basePath));
6509
+ businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
6510
+ return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
6751
6511
  },
6752
6512
  /**
6753
6513
  *
6754
- * @param {GetBusinessVenueDto} getBusinessVenueDto
6514
+ * @param {BusinessFavoriteDTO} businessFavoriteDTO
6755
6515
  * @param {*} [options] Override http request option.
6756
6516
  * @throws {RequiredError}
6757
6517
  */
6758
- businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
6759
- return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
6518
+ businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponse> {
6519
+ return localVarFp.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(axios, basePath));
6760
6520
  },
6761
6521
  /**
6762
6522
  *
6763
- * @param {boolean} favorite
6523
+ * @param {BusinessFavoriteDTO} businessFavoriteDTO
6764
6524
  * @param {*} [options] Override http request option.
6765
6525
  * @throws {RequiredError}
6766
6526
  */
6767
- businessTypeControllerListBusinessType(favorite: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
6768
- return localVarFp.businessTypeControllerListBusinessType(favorite, options).then((request) => request(axios, basePath));
6769
- },
6770
- /**
6771
- *
6772
- * @param {string} businessTypeId ID of the business type
6773
- * @param {*} [options] Override http request option.
6774
- * @throws {RequiredError}
6775
- */
6776
- businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
6777
- return localVarFp.businessTypeControllerListCategories(businessTypeId, options).then((request) => request(axios, basePath));
6778
- },
6779
- /**
6780
- *
6781
- * @param {*} [options] Override http request option.
6782
- * @throws {RequiredError}
6783
- */
6784
- businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): AxiosPromise<EmployeesSizeListResponse> {
6785
- return localVarFp.businessTypeControllerListEmployeesSize(options).then((request) => request(axios, basePath));
6786
- },
6787
- /**
6788
- *
6789
- * @param {*} [options] Override http request option.
6790
- * @throws {RequiredError}
6791
- */
6792
- businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
6793
- return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
6794
- },
6795
- /**
6796
- *
6797
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
6798
- * @param {*} [options] Override http request option.
6799
- * @throws {RequiredError}
6800
- */
6801
- businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponse> {
6802
- return localVarFp.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(axios, basePath));
6803
- },
6804
- /**
6805
- *
6806
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
6807
- * @param {*} [options] Override http request option.
6808
- * @throws {RequiredError}
6809
- */
6810
- businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessUnFavoriteResponse> {
6811
- return localVarFp.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(axios, basePath));
6527
+ businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessUnFavoriteResponse> {
6528
+ return localVarFp.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(axios, basePath));
6812
6529
  },
6813
6530
  /**
6814
6531
  *
@@ -6861,64 +6578,6 @@ export class BusinessApi extends BaseAPI {
6861
6578
  return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
6862
6579
  }
6863
6580
 
6864
- /**
6865
- *
6866
- * @param {string} id
6867
- * @param {*} [options] Override http request option.
6868
- * @throws {RequiredError}
6869
- * @memberof BusinessApi
6870
- */
6871
- public businessStaffControllerDeleteStaff(id: string, options?: RawAxiosRequestConfig) {
6872
- return BusinessApiFp(this.configuration).businessStaffControllerDeleteStaff(id, options).then((request) => request(this.axios, this.basePath));
6873
- }
6874
-
6875
- /**
6876
- *
6877
- * @param {number} page
6878
- * @param {number} pageSize
6879
- * @param {string} [search]
6880
- * @param {*} [options] Override http request option.
6881
- * @throws {RequiredError}
6882
- * @memberof BusinessApi
6883
- */
6884
- public businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
6885
- return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
6886
- }
6887
-
6888
- /**
6889
- *
6890
- * @param {string} id
6891
- * @param {*} [options] Override http request option.
6892
- * @throws {RequiredError}
6893
- * @memberof BusinessApi
6894
- */
6895
- public businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig) {
6896
- return BusinessApiFp(this.configuration).businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(this.axios, this.basePath));
6897
- }
6898
-
6899
- /**
6900
- *
6901
- * @param {BusinessStaffDTO} businessStaffDTO
6902
- * @param {*} [options] Override http request option.
6903
- * @throws {RequiredError}
6904
- * @memberof BusinessApi
6905
- */
6906
- public businessStaffControllerSaveBusinessStaff(businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig) {
6907
- return BusinessApiFp(this.configuration).businessStaffControllerSaveBusinessStaff(businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
6908
- }
6909
-
6910
- /**
6911
- *
6912
- * @param {string} id
6913
- * @param {BusinessStaffDTO} businessStaffDTO
6914
- * @param {*} [options] Override http request option.
6915
- * @throws {RequiredError}
6916
- * @memberof BusinessApi
6917
- */
6918
- public businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig) {
6919
- return BusinessApiFp(this.configuration).businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
6920
- }
6921
-
6922
6581
  /**
6923
6582
  *
6924
6583
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -10258,75 +9917,493 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
10258
9917
  };
10259
9918
 
10260
9919
  /**
10261
- * OAuthApi - object-oriented interface
9920
+ * OAuthApi - object-oriented interface
9921
+ * @export
9922
+ * @class OAuthApi
9923
+ * @extends {BaseAPI}
9924
+ */
9925
+ export class OAuthApi extends BaseAPI {
9926
+ /**
9927
+ *
9928
+ * @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
9929
+ * @param {*} [options] Override http request option.
9930
+ * @throws {RequiredError}
9931
+ * @memberof OAuthApi
9932
+ */
9933
+ public oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
9934
+ return OAuthApiFp(this.configuration).oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
9935
+ }
9936
+
9937
+ /**
9938
+ *
9939
+ * @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
9940
+ * @param {*} [options] Override http request option.
9941
+ * @throws {RequiredError}
9942
+ * @memberof OAuthApi
9943
+ */
9944
+ public oAuthControllerValidateAppleToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
9945
+ return OAuthApiFp(this.configuration).oAuthControllerValidateAppleToken(appleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
9946
+ }
9947
+
9948
+ /**
9949
+ *
9950
+ * @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
9951
+ * @param {*} [options] Override http request option.
9952
+ * @throws {RequiredError}
9953
+ * @memberof OAuthApi
9954
+ */
9955
+ public oAuthControllerValidateGoogleToken(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
9956
+ return OAuthApiFp(this.configuration).oAuthControllerValidateGoogleToken(googleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
9957
+ }
9958
+
9959
+ /**
9960
+ *
9961
+ * @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
9962
+ * @param {*} [options] Override http request option.
9963
+ * @throws {RequiredError}
9964
+ * @memberof OAuthApi
9965
+ */
9966
+ public oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
9967
+ return OAuthApiFp(this.configuration).oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
9968
+ }
9969
+ }
9970
+
9971
+
9972
+
9973
+ /**
9974
+ * PlansApi - axios parameter creator
9975
+ * @export
9976
+ */
9977
+ export const PlansApiAxiosParamCreator = function (configuration?: Configuration) {
9978
+ return {
9979
+ /**
9980
+ *
9981
+ * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
9982
+ * @param {*} [options] Override http request option.
9983
+ * @throws {RequiredError}
9984
+ */
9985
+ paymentControllerCreatePaymentLink: async (createPaymentLinkDTO: CreatePaymentLinkDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9986
+ // verify required parameter 'createPaymentLinkDTO' is not null or undefined
9987
+ assertParamExists('paymentControllerCreatePaymentLink', 'createPaymentLinkDTO', createPaymentLinkDTO)
9988
+ const localVarPath = `/v1/payment/payment-link`;
9989
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9990
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9991
+ let baseOptions;
9992
+ if (configuration) {
9993
+ baseOptions = configuration.baseOptions;
9994
+ }
9995
+
9996
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9997
+ const localVarHeaderParameter = {} as any;
9998
+ const localVarQueryParameter = {} as any;
9999
+
10000
+
10001
+
10002
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10003
+
10004
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10005
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10006
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10007
+ localVarRequestOptions.data = serializeDataIfNeeded(createPaymentLinkDTO, localVarRequestOptions, configuration)
10008
+
10009
+ return {
10010
+ url: toPathString(localVarUrlObj),
10011
+ options: localVarRequestOptions,
10012
+ };
10013
+ },
10014
+ /**
10015
+ *
10016
+ * @param {*} [options] Override http request option.
10017
+ * @throws {RequiredError}
10018
+ */
10019
+ paymentControllerCreateSetupIntent: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10020
+ const localVarPath = `/v1/payment/create-setup-intent`;
10021
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10022
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10023
+ let baseOptions;
10024
+ if (configuration) {
10025
+ baseOptions = configuration.baseOptions;
10026
+ }
10027
+
10028
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10029
+ const localVarHeaderParameter = {} as any;
10030
+ const localVarQueryParameter = {} as any;
10031
+
10032
+
10033
+
10034
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10035
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10036
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10037
+
10038
+ return {
10039
+ url: toPathString(localVarUrlObj),
10040
+ options: localVarRequestOptions,
10041
+ };
10042
+ },
10043
+ /**
10044
+ *
10045
+ * @param {*} [options] Override http request option.
10046
+ * @throws {RequiredError}
10047
+ */
10048
+ paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10049
+ const localVarPath = `/v1/payment/plans`;
10050
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10051
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10052
+ let baseOptions;
10053
+ if (configuration) {
10054
+ baseOptions = configuration.baseOptions;
10055
+ }
10056
+
10057
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10058
+ const localVarHeaderParameter = {} as any;
10059
+ const localVarQueryParameter = {} as any;
10060
+
10061
+
10062
+
10063
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10064
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10065
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10066
+
10067
+ return {
10068
+ url: toPathString(localVarUrlObj),
10069
+ options: localVarRequestOptions,
10070
+ };
10071
+ },
10072
+ /**
10073
+ *
10074
+ * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
10075
+ * @param {*} [options] Override http request option.
10076
+ * @throws {RequiredError}
10077
+ */
10078
+ paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10079
+ // verify required parameter 'planUpsertPayloadDTO' is not null or undefined
10080
+ assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
10081
+ const localVarPath = `/v1/payment/plan`;
10082
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10083
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10084
+ let baseOptions;
10085
+ if (configuration) {
10086
+ baseOptions = configuration.baseOptions;
10087
+ }
10088
+
10089
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10090
+ const localVarHeaderParameter = {} as any;
10091
+ const localVarQueryParameter = {} as any;
10092
+
10093
+ // authentication bearer required
10094
+ // http bearer authentication required
10095
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10096
+
10097
+
10098
+
10099
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10100
+
10101
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10102
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10103
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10104
+ localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
10105
+
10106
+ return {
10107
+ url: toPathString(localVarUrlObj),
10108
+ options: localVarRequestOptions,
10109
+ };
10110
+ },
10111
+ /**
10112
+ *
10113
+ * @param {*} [options] Override http request option.
10114
+ * @throws {RequiredError}
10115
+ */
10116
+ paymentControllerRevenueCatWebhook: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10117
+ const localVarPath = `/v1/payment/revenuecat-webhook`;
10118
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10119
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10120
+ let baseOptions;
10121
+ if (configuration) {
10122
+ baseOptions = configuration.baseOptions;
10123
+ }
10124
+
10125
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10126
+ const localVarHeaderParameter = {} as any;
10127
+ const localVarQueryParameter = {} as any;
10128
+
10129
+
10130
+
10131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10133
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10134
+
10135
+ return {
10136
+ url: toPathString(localVarUrlObj),
10137
+ options: localVarRequestOptions,
10138
+ };
10139
+ },
10140
+ /**
10141
+ *
10142
+ * @param {string} stripeSignature
10143
+ * @param {*} [options] Override http request option.
10144
+ * @throws {RequiredError}
10145
+ */
10146
+ paymentControllerStripeWebhook: async (stripeSignature: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10147
+ // verify required parameter 'stripeSignature' is not null or undefined
10148
+ assertParamExists('paymentControllerStripeWebhook', 'stripeSignature', stripeSignature)
10149
+ const localVarPath = `/v1/payment/stripe-webhook`;
10150
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10151
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10152
+ let baseOptions;
10153
+ if (configuration) {
10154
+ baseOptions = configuration.baseOptions;
10155
+ }
10156
+
10157
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10158
+ const localVarHeaderParameter = {} as any;
10159
+ const localVarQueryParameter = {} as any;
10160
+
10161
+
10162
+
10163
+ if (stripeSignature != null) {
10164
+ localVarHeaderParameter['stripe-signature'] = String(stripeSignature);
10165
+ }
10166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10168
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10169
+
10170
+ return {
10171
+ url: toPathString(localVarUrlObj),
10172
+ options: localVarRequestOptions,
10173
+ };
10174
+ },
10175
+ }
10176
+ };
10177
+
10178
+ /**
10179
+ * PlansApi - functional programming interface
10180
+ * @export
10181
+ */
10182
+ export const PlansApiFp = function(configuration?: Configuration) {
10183
+ const localVarAxiosParamCreator = PlansApiAxiosParamCreator(configuration)
10184
+ return {
10185
+ /**
10186
+ *
10187
+ * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
10188
+ * @param {*} [options] Override http request option.
10189
+ * @throws {RequiredError}
10190
+ */
10191
+ async paymentControllerCreatePaymentLink(createPaymentLinkDTO: CreatePaymentLinkDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10192
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreatePaymentLink(createPaymentLinkDTO, options);
10193
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10194
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreatePaymentLink']?.[localVarOperationServerIndex]?.url;
10195
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10196
+ },
10197
+ /**
10198
+ *
10199
+ * @param {*} [options] Override http request option.
10200
+ * @throws {RequiredError}
10201
+ */
10202
+ async paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeSetupIntentResponseDTO>> {
10203
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreateSetupIntent(options);
10204
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10205
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateSetupIntent']?.[localVarOperationServerIndex]?.url;
10206
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10207
+ },
10208
+ /**
10209
+ *
10210
+ * @param {*} [options] Override http request option.
10211
+ * @throws {RequiredError}
10212
+ */
10213
+ async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
10214
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
10215
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10216
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
10217
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10218
+ },
10219
+ /**
10220
+ *
10221
+ * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
10222
+ * @param {*} [options] Override http request option.
10223
+ * @throws {RequiredError}
10224
+ */
10225
+ async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
10226
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
10227
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10228
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
10229
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10230
+ },
10231
+ /**
10232
+ *
10233
+ * @param {*} [options] Override http request option.
10234
+ * @throws {RequiredError}
10235
+ */
10236
+ async paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10237
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRevenueCatWebhook(options);
10238
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10239
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
10240
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10241
+ },
10242
+ /**
10243
+ *
10244
+ * @param {string} stripeSignature
10245
+ * @param {*} [options] Override http request option.
10246
+ * @throws {RequiredError}
10247
+ */
10248
+ async paymentControllerStripeWebhook(stripeSignature: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10249
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerStripeWebhook(stripeSignature, options);
10250
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10251
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerStripeWebhook']?.[localVarOperationServerIndex]?.url;
10252
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10253
+ },
10254
+ }
10255
+ };
10256
+
10257
+ /**
10258
+ * PlansApi - factory interface
10259
+ * @export
10260
+ */
10261
+ export const PlansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
10262
+ const localVarFp = PlansApiFp(configuration)
10263
+ return {
10264
+ /**
10265
+ *
10266
+ * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
10267
+ * @param {*} [options] Override http request option.
10268
+ * @throws {RequiredError}
10269
+ */
10270
+ paymentControllerCreatePaymentLink(createPaymentLinkDTO: CreatePaymentLinkDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10271
+ return localVarFp.paymentControllerCreatePaymentLink(createPaymentLinkDTO, options).then((request) => request(axios, basePath));
10272
+ },
10273
+ /**
10274
+ *
10275
+ * @param {*} [options] Override http request option.
10276
+ * @throws {RequiredError}
10277
+ */
10278
+ paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentResponseDTO> {
10279
+ return localVarFp.paymentControllerCreateSetupIntent(options).then((request) => request(axios, basePath));
10280
+ },
10281
+ /**
10282
+ *
10283
+ * @param {*} [options] Override http request option.
10284
+ * @throws {RequiredError}
10285
+ */
10286
+ paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
10287
+ return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
10288
+ },
10289
+ /**
10290
+ *
10291
+ * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
10292
+ * @param {*} [options] Override http request option.
10293
+ * @throws {RequiredError}
10294
+ */
10295
+ paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
10296
+ return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
10297
+ },
10298
+ /**
10299
+ *
10300
+ * @param {*} [options] Override http request option.
10301
+ * @throws {RequiredError}
10302
+ */
10303
+ paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
10304
+ return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
10305
+ },
10306
+ /**
10307
+ *
10308
+ * @param {string} stripeSignature
10309
+ * @param {*} [options] Override http request option.
10310
+ * @throws {RequiredError}
10311
+ */
10312
+ paymentControllerStripeWebhook(stripeSignature: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10313
+ return localVarFp.paymentControllerStripeWebhook(stripeSignature, options).then((request) => request(axios, basePath));
10314
+ },
10315
+ };
10316
+ };
10317
+
10318
+ /**
10319
+ * PlansApi - object-oriented interface
10262
10320
  * @export
10263
- * @class OAuthApi
10321
+ * @class PlansApi
10264
10322
  * @extends {BaseAPI}
10265
10323
  */
10266
- export class OAuthApi extends BaseAPI {
10324
+ export class PlansApi extends BaseAPI {
10267
10325
  /**
10268
10326
  *
10269
- * @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
10327
+ * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
10270
10328
  * @param {*} [options] Override http request option.
10271
10329
  * @throws {RequiredError}
10272
- * @memberof OAuthApi
10330
+ * @memberof PlansApi
10273
10331
  */
10274
- public oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
10275
- return OAuthApiFp(this.configuration).oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10332
+ public paymentControllerCreatePaymentLink(createPaymentLinkDTO: CreatePaymentLinkDTO, options?: RawAxiosRequestConfig) {
10333
+ return PlansApiFp(this.configuration).paymentControllerCreatePaymentLink(createPaymentLinkDTO, options).then((request) => request(this.axios, this.basePath));
10276
10334
  }
10277
10335
 
10278
10336
  /**
10279
10337
  *
10280
- * @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
10281
10338
  * @param {*} [options] Override http request option.
10282
10339
  * @throws {RequiredError}
10283
- * @memberof OAuthApi
10340
+ * @memberof PlansApi
10284
10341
  */
10285
- public oAuthControllerValidateAppleToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
10286
- return OAuthApiFp(this.configuration).oAuthControllerValidateAppleToken(appleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10342
+ public paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig) {
10343
+ return PlansApiFp(this.configuration).paymentControllerCreateSetupIntent(options).then((request) => request(this.axios, this.basePath));
10287
10344
  }
10288
10345
 
10289
10346
  /**
10290
10347
  *
10291
- * @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
10292
10348
  * @param {*} [options] Override http request option.
10293
10349
  * @throws {RequiredError}
10294
- * @memberof OAuthApi
10350
+ * @memberof PlansApi
10295
10351
  */
10296
- public oAuthControllerValidateGoogleToken(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
10297
- return OAuthApiFp(this.configuration).oAuthControllerValidateGoogleToken(googleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10352
+ public paymentControllerGetPlans(options?: RawAxiosRequestConfig) {
10353
+ return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
10298
10354
  }
10299
10355
 
10300
10356
  /**
10301
10357
  *
10302
- * @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
10358
+ * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
10303
10359
  * @param {*} [options] Override http request option.
10304
10360
  * @throws {RequiredError}
10305
- * @memberof OAuthApi
10361
+ * @memberof PlansApi
10306
10362
  */
10307
- public oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
10308
- return OAuthApiFp(this.configuration).oAuthControllerValidateGoogleTokenBusiness(googleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10363
+ public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
10364
+ return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10365
+ }
10366
+
10367
+ /**
10368
+ *
10369
+ * @param {*} [options] Override http request option.
10370
+ * @throws {RequiredError}
10371
+ * @memberof PlansApi
10372
+ */
10373
+ public paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig) {
10374
+ return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
10375
+ }
10376
+
10377
+ /**
10378
+ *
10379
+ * @param {string} stripeSignature
10380
+ * @param {*} [options] Override http request option.
10381
+ * @throws {RequiredError}
10382
+ * @memberof PlansApi
10383
+ */
10384
+ public paymentControllerStripeWebhook(stripeSignature: string, options?: RawAxiosRequestConfig) {
10385
+ return PlansApiFp(this.configuration).paymentControllerStripeWebhook(stripeSignature, options).then((request) => request(this.axios, this.basePath));
10309
10386
  }
10310
10387
  }
10311
10388
 
10312
10389
 
10313
10390
 
10314
10391
  /**
10315
- * PlansApi - axios parameter creator
10392
+ * TagsApi - axios parameter creator
10316
10393
  * @export
10317
10394
  */
10318
- export const PlansApiAxiosParamCreator = function (configuration?: Configuration) {
10395
+ export const TagsApiAxiosParamCreator = function (configuration?: Configuration) {
10319
10396
  return {
10320
10397
  /**
10321
10398
  *
10322
- * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
10399
+ * @param {TagPayloadDTO} tagPayloadDTO
10323
10400
  * @param {*} [options] Override http request option.
10324
10401
  * @throws {RequiredError}
10325
10402
  */
10326
- paymentControllerCreatePaymentLink: async (createPaymentLinkDTO: CreatePaymentLinkDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10327
- // verify required parameter 'createPaymentLinkDTO' is not null or undefined
10328
- assertParamExists('paymentControllerCreatePaymentLink', 'createPaymentLinkDTO', createPaymentLinkDTO)
10329
- const localVarPath = `/v1/payment/payment-link`;
10403
+ tagsControllerCreateTag: async (tagPayloadDTO: TagPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10404
+ // verify required parameter 'tagPayloadDTO' is not null or undefined
10405
+ assertParamExists('tagsControllerCreateTag', 'tagPayloadDTO', tagPayloadDTO)
10406
+ const localVarPath = `/v1/tag`;
10330
10407
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10331
10408
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10332
10409
  let baseOptions;
@@ -10338,6 +10415,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10338
10415
  const localVarHeaderParameter = {} as any;
10339
10416
  const localVarQueryParameter = {} as any;
10340
10417
 
10418
+ // authentication bearer required
10419
+ // http bearer authentication required
10420
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10421
+
10341
10422
 
10342
10423
 
10343
10424
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -10345,7 +10426,7 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10345
10426
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10346
10427
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10347
10428
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10348
- localVarRequestOptions.data = serializeDataIfNeeded(createPaymentLinkDTO, localVarRequestOptions, configuration)
10429
+ localVarRequestOptions.data = serializeDataIfNeeded(tagPayloadDTO, localVarRequestOptions, configuration)
10349
10430
 
10350
10431
  return {
10351
10432
  url: toPathString(localVarUrlObj),
@@ -10354,11 +10435,15 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10354
10435
  },
10355
10436
  /**
10356
10437
  *
10438
+ * @param {string} id
10357
10439
  * @param {*} [options] Override http request option.
10358
10440
  * @throws {RequiredError}
10359
10441
  */
10360
- paymentControllerCreateSetupIntent: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10361
- const localVarPath = `/v1/payment/create-setup-intent`;
10442
+ tagsControllerDeleteTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10443
+ // verify required parameter 'id' is not null or undefined
10444
+ assertParamExists('tagsControllerDeleteTagById', 'id', id)
10445
+ const localVarPath = `/v1/tag/{id}`
10446
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
10362
10447
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10363
10448
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10364
10449
  let baseOptions;
@@ -10366,10 +10451,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10366
10451
  baseOptions = configuration.baseOptions;
10367
10452
  }
10368
10453
 
10369
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10454
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
10370
10455
  const localVarHeaderParameter = {} as any;
10371
10456
  const localVarQueryParameter = {} as any;
10372
10457
 
10458
+ // authentication bearer required
10459
+ // http bearer authentication required
10460
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10461
+
10373
10462
 
10374
10463
 
10375
10464
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10383,11 +10472,17 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10383
10472
  },
10384
10473
  /**
10385
10474
  *
10475
+ * @param {number} page
10476
+ * @param {number} pageSize
10386
10477
  * @param {*} [options] Override http request option.
10387
10478
  * @throws {RequiredError}
10388
10479
  */
10389
- paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10390
- const localVarPath = `/v1/payment/plans`;
10480
+ tagsControllerFindTags: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10481
+ // verify required parameter 'page' is not null or undefined
10482
+ assertParamExists('tagsControllerFindTags', 'page', page)
10483
+ // verify required parameter 'pageSize' is not null or undefined
10484
+ assertParamExists('tagsControllerFindTags', 'pageSize', pageSize)
10485
+ const localVarPath = `/v1/tags`;
10391
10486
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10392
10487
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10393
10488
  let baseOptions;
@@ -10399,6 +10494,18 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10399
10494
  const localVarHeaderParameter = {} as any;
10400
10495
  const localVarQueryParameter = {} as any;
10401
10496
 
10497
+ // authentication bearer required
10498
+ // http bearer authentication required
10499
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10500
+
10501
+ if (page !== undefined) {
10502
+ localVarQueryParameter['page'] = page;
10503
+ }
10504
+
10505
+ if (pageSize !== undefined) {
10506
+ localVarQueryParameter['pageSize'] = pageSize;
10507
+ }
10508
+
10402
10509
 
10403
10510
 
10404
10511
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10412,14 +10519,15 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10412
10519
  },
10413
10520
  /**
10414
10521
  *
10415
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
10522
+ * @param {string} id
10416
10523
  * @param {*} [options] Override http request option.
10417
10524
  * @throws {RequiredError}
10418
10525
  */
10419
- paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10420
- // verify required parameter 'planUpsertPayloadDTO' is not null or undefined
10421
- assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
10422
- const localVarPath = `/v1/payment/plan`;
10526
+ tagsControllerTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10527
+ // verify required parameter 'id' is not null or undefined
10528
+ assertParamExists('tagsControllerTagById', 'id', id)
10529
+ const localVarPath = `/v1/tag/{id}`
10530
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
10423
10531
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10424
10532
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10425
10533
  let baseOptions;
@@ -10427,7 +10535,7 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10427
10535
  baseOptions = configuration.baseOptions;
10428
10536
  }
10429
10537
 
10430
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10538
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10431
10539
  const localVarHeaderParameter = {} as any;
10432
10540
  const localVarQueryParameter = {} as any;
10433
10541
 
@@ -10437,12 +10545,9 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10437
10545
 
10438
10546
 
10439
10547
 
10440
- localVarHeaderParameter['Content-Type'] = 'application/json';
10441
-
10442
10548
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10443
10549
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10444
10550
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10445
- localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
10446
10551
 
10447
10552
  return {
10448
10553
  url: toPathString(localVarUrlObj),
@@ -10451,11 +10556,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10451
10556
  },
10452
10557
  /**
10453
10558
  *
10559
+ * @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
10454
10560
  * @param {*} [options] Override http request option.
10455
10561
  * @throws {RequiredError}
10456
10562
  */
10457
- paymentControllerRevenueCatWebhook: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10458
- const localVarPath = `/v1/payment/revenuecat-webhook`;
10563
+ tagsControllerUpdateTagById: async (tagUpdatePayloadDTO: TagUpdatePayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10564
+ // verify required parameter 'tagUpdatePayloadDTO' is not null or undefined
10565
+ assertParamExists('tagsControllerUpdateTagById', 'tagUpdatePayloadDTO', tagUpdatePayloadDTO)
10566
+ const localVarPath = `/v1/tag`;
10459
10567
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10460
10568
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10461
10569
  let baseOptions;
@@ -10463,50 +10571,22 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10463
10571
  baseOptions = configuration.baseOptions;
10464
10572
  }
10465
10573
 
10466
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10574
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
10467
10575
  const localVarHeaderParameter = {} as any;
10468
10576
  const localVarQueryParameter = {} as any;
10469
10577
 
10470
-
10471
-
10472
- setSearchParams(localVarUrlObj, localVarQueryParameter);
10473
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10474
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10475
-
10476
- return {
10477
- url: toPathString(localVarUrlObj),
10478
- options: localVarRequestOptions,
10479
- };
10480
- },
10481
- /**
10482
- *
10483
- * @param {string} stripeSignature
10484
- * @param {*} [options] Override http request option.
10485
- * @throws {RequiredError}
10486
- */
10487
- paymentControllerStripeWebhook: async (stripeSignature: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10488
- // verify required parameter 'stripeSignature' is not null or undefined
10489
- assertParamExists('paymentControllerStripeWebhook', 'stripeSignature', stripeSignature)
10490
- const localVarPath = `/v1/payment/stripe-webhook`;
10491
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10492
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10493
- let baseOptions;
10494
- if (configuration) {
10495
- baseOptions = configuration.baseOptions;
10496
- }
10497
-
10498
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10499
- const localVarHeaderParameter = {} as any;
10500
- const localVarQueryParameter = {} as any;
10578
+ // authentication bearer required
10579
+ // http bearer authentication required
10580
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10501
10581
 
10502
10582
 
10503
10583
 
10504
- if (stripeSignature != null) {
10505
- localVarHeaderParameter['stripe-signature'] = String(stripeSignature);
10506
- }
10584
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10585
+
10507
10586
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10508
10587
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10509
10588
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10589
+ localVarRequestOptions.data = serializeDataIfNeeded(tagUpdatePayloadDTO, localVarRequestOptions, configuration)
10510
10590
 
10511
10591
  return {
10512
10592
  url: toPathString(localVarUrlObj),
@@ -10517,213 +10597,193 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
10517
10597
  };
10518
10598
 
10519
10599
  /**
10520
- * PlansApi - functional programming interface
10600
+ * TagsApi - functional programming interface
10521
10601
  * @export
10522
10602
  */
10523
- export const PlansApiFp = function(configuration?: Configuration) {
10524
- const localVarAxiosParamCreator = PlansApiAxiosParamCreator(configuration)
10603
+ export const TagsApiFp = function(configuration?: Configuration) {
10604
+ const localVarAxiosParamCreator = TagsApiAxiosParamCreator(configuration)
10525
10605
  return {
10526
10606
  /**
10527
10607
  *
10528
- * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
10529
- * @param {*} [options] Override http request option.
10530
- * @throws {RequiredError}
10531
- */
10532
- async paymentControllerCreatePaymentLink(createPaymentLinkDTO: CreatePaymentLinkDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10533
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreatePaymentLink(createPaymentLinkDTO, options);
10534
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10535
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreatePaymentLink']?.[localVarOperationServerIndex]?.url;
10536
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10537
- },
10538
- /**
10539
- *
10608
+ * @param {TagPayloadDTO} tagPayloadDTO
10540
10609
  * @param {*} [options] Override http request option.
10541
10610
  * @throws {RequiredError}
10542
10611
  */
10543
- async paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeSetupIntentResponseDTO>> {
10544
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreateSetupIntent(options);
10612
+ async tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
10613
+ const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerCreateTag(tagPayloadDTO, options);
10545
10614
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10546
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateSetupIntent']?.[localVarOperationServerIndex]?.url;
10615
+ const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerCreateTag']?.[localVarOperationServerIndex]?.url;
10547
10616
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10548
10617
  },
10549
10618
  /**
10550
10619
  *
10620
+ * @param {string} id
10551
10621
  * @param {*} [options] Override http request option.
10552
10622
  * @throws {RequiredError}
10553
10623
  */
10554
- async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
10555
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
10624
+ async tagsControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
10625
+ const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerDeleteTagById(id, options);
10556
10626
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10557
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
10627
+ const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerDeleteTagById']?.[localVarOperationServerIndex]?.url;
10558
10628
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10559
10629
  },
10560
10630
  /**
10561
10631
  *
10562
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
10632
+ * @param {number} page
10633
+ * @param {number} pageSize
10563
10634
  * @param {*} [options] Override http request option.
10564
10635
  * @throws {RequiredError}
10565
10636
  */
10566
- async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
10567
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
10637
+ async tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagsResponseDTO>> {
10638
+ const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerFindTags(page, pageSize, options);
10568
10639
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10569
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
10640
+ const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerFindTags']?.[localVarOperationServerIndex]?.url;
10570
10641
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10571
10642
  },
10572
10643
  /**
10573
10644
  *
10645
+ * @param {string} id
10574
10646
  * @param {*} [options] Override http request option.
10575
10647
  * @throws {RequiredError}
10576
10648
  */
10577
- async paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10578
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRevenueCatWebhook(options);
10649
+ async tagsControllerTagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
10650
+ const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerTagById(id, options);
10579
10651
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10580
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
10652
+ const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerTagById']?.[localVarOperationServerIndex]?.url;
10581
10653
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10582
10654
  },
10583
10655
  /**
10584
10656
  *
10585
- * @param {string} stripeSignature
10657
+ * @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
10586
10658
  * @param {*} [options] Override http request option.
10587
10659
  * @throws {RequiredError}
10588
10660
  */
10589
- async paymentControllerStripeWebhook(stripeSignature: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10590
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerStripeWebhook(stripeSignature, options);
10661
+ async tagsControllerUpdateTagById(tagUpdatePayloadDTO: TagUpdatePayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
10662
+ const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerUpdateTagById(tagUpdatePayloadDTO, options);
10591
10663
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10592
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerStripeWebhook']?.[localVarOperationServerIndex]?.url;
10664
+ const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerUpdateTagById']?.[localVarOperationServerIndex]?.url;
10593
10665
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10594
10666
  },
10595
10667
  }
10596
10668
  };
10597
10669
 
10598
10670
  /**
10599
- * PlansApi - factory interface
10671
+ * TagsApi - factory interface
10600
10672
  * @export
10601
10673
  */
10602
- export const PlansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
10603
- const localVarFp = PlansApiFp(configuration)
10674
+ export const TagsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
10675
+ const localVarFp = TagsApiFp(configuration)
10604
10676
  return {
10605
10677
  /**
10606
10678
  *
10607
- * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
10608
- * @param {*} [options] Override http request option.
10609
- * @throws {RequiredError}
10610
- */
10611
- paymentControllerCreatePaymentLink(createPaymentLinkDTO: CreatePaymentLinkDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10612
- return localVarFp.paymentControllerCreatePaymentLink(createPaymentLinkDTO, options).then((request) => request(axios, basePath));
10613
- },
10614
- /**
10615
- *
10679
+ * @param {TagPayloadDTO} tagPayloadDTO
10616
10680
  * @param {*} [options] Override http request option.
10617
10681
  * @throws {RequiredError}
10618
10682
  */
10619
- paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentResponseDTO> {
10620
- return localVarFp.paymentControllerCreateSetupIntent(options).then((request) => request(axios, basePath));
10683
+ tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
10684
+ return localVarFp.tagsControllerCreateTag(tagPayloadDTO, options).then((request) => request(axios, basePath));
10621
10685
  },
10622
10686
  /**
10623
10687
  *
10688
+ * @param {string} id
10624
10689
  * @param {*} [options] Override http request option.
10625
10690
  * @throws {RequiredError}
10626
10691
  */
10627
- paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
10628
- return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
10692
+ tagsControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
10693
+ return localVarFp.tagsControllerDeleteTagById(id, options).then((request) => request(axios, basePath));
10629
10694
  },
10630
10695
  /**
10631
10696
  *
10632
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
10697
+ * @param {number} page
10698
+ * @param {number} pageSize
10633
10699
  * @param {*} [options] Override http request option.
10634
10700
  * @throws {RequiredError}
10635
10701
  */
10636
- paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
10637
- return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
10702
+ tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
10703
+ return localVarFp.tagsControllerFindTags(page, pageSize, options).then((request) => request(axios, basePath));
10638
10704
  },
10639
10705
  /**
10640
10706
  *
10707
+ * @param {string} id
10641
10708
  * @param {*} [options] Override http request option.
10642
10709
  * @throws {RequiredError}
10643
10710
  */
10644
- paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
10645
- return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
10711
+ tagsControllerTagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
10712
+ return localVarFp.tagsControllerTagById(id, options).then((request) => request(axios, basePath));
10646
10713
  },
10647
10714
  /**
10648
10715
  *
10649
- * @param {string} stripeSignature
10716
+ * @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
10650
10717
  * @param {*} [options] Override http request option.
10651
10718
  * @throws {RequiredError}
10652
10719
  */
10653
- paymentControllerStripeWebhook(stripeSignature: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10654
- return localVarFp.paymentControllerStripeWebhook(stripeSignature, options).then((request) => request(axios, basePath));
10720
+ tagsControllerUpdateTagById(tagUpdatePayloadDTO: TagUpdatePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
10721
+ return localVarFp.tagsControllerUpdateTagById(tagUpdatePayloadDTO, options).then((request) => request(axios, basePath));
10655
10722
  },
10656
10723
  };
10657
10724
  };
10658
10725
 
10659
10726
  /**
10660
- * PlansApi - object-oriented interface
10727
+ * TagsApi - object-oriented interface
10661
10728
  * @export
10662
- * @class PlansApi
10729
+ * @class TagsApi
10663
10730
  * @extends {BaseAPI}
10664
10731
  */
10665
- export class PlansApi extends BaseAPI {
10666
- /**
10667
- *
10668
- * @param {CreatePaymentLinkDTO} createPaymentLinkDTO
10669
- * @param {*} [options] Override http request option.
10670
- * @throws {RequiredError}
10671
- * @memberof PlansApi
10672
- */
10673
- public paymentControllerCreatePaymentLink(createPaymentLinkDTO: CreatePaymentLinkDTO, options?: RawAxiosRequestConfig) {
10674
- return PlansApiFp(this.configuration).paymentControllerCreatePaymentLink(createPaymentLinkDTO, options).then((request) => request(this.axios, this.basePath));
10675
- }
10676
-
10732
+ export class TagsApi extends BaseAPI {
10677
10733
  /**
10678
10734
  *
10735
+ * @param {TagPayloadDTO} tagPayloadDTO
10679
10736
  * @param {*} [options] Override http request option.
10680
10737
  * @throws {RequiredError}
10681
- * @memberof PlansApi
10738
+ * @memberof TagsApi
10682
10739
  */
10683
- public paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig) {
10684
- return PlansApiFp(this.configuration).paymentControllerCreateSetupIntent(options).then((request) => request(this.axios, this.basePath));
10740
+ public tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig) {
10741
+ return TagsApiFp(this.configuration).tagsControllerCreateTag(tagPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10685
10742
  }
10686
10743
 
10687
10744
  /**
10688
10745
  *
10746
+ * @param {string} id
10689
10747
  * @param {*} [options] Override http request option.
10690
10748
  * @throws {RequiredError}
10691
- * @memberof PlansApi
10749
+ * @memberof TagsApi
10692
10750
  */
10693
- public paymentControllerGetPlans(options?: RawAxiosRequestConfig) {
10694
- return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
10751
+ public tagsControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig) {
10752
+ return TagsApiFp(this.configuration).tagsControllerDeleteTagById(id, options).then((request) => request(this.axios, this.basePath));
10695
10753
  }
10696
10754
 
10697
10755
  /**
10698
10756
  *
10699
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
10757
+ * @param {number} page
10758
+ * @param {number} pageSize
10700
10759
  * @param {*} [options] Override http request option.
10701
10760
  * @throws {RequiredError}
10702
- * @memberof PlansApi
10761
+ * @memberof TagsApi
10703
10762
  */
10704
- public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
10705
- return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10763
+ public tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
10764
+ return TagsApiFp(this.configuration).tagsControllerFindTags(page, pageSize, options).then((request) => request(this.axios, this.basePath));
10706
10765
  }
10707
10766
 
10708
10767
  /**
10709
10768
  *
10769
+ * @param {string} id
10710
10770
  * @param {*} [options] Override http request option.
10711
10771
  * @throws {RequiredError}
10712
- * @memberof PlansApi
10772
+ * @memberof TagsApi
10713
10773
  */
10714
- public paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig) {
10715
- return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
10774
+ public tagsControllerTagById(id: string, options?: RawAxiosRequestConfig) {
10775
+ return TagsApiFp(this.configuration).tagsControllerTagById(id, options).then((request) => request(this.axios, this.basePath));
10716
10776
  }
10717
10777
 
10718
10778
  /**
10719
10779
  *
10720
- * @param {string} stripeSignature
10780
+ * @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
10721
10781
  * @param {*} [options] Override http request option.
10722
10782
  * @throws {RequiredError}
10723
- * @memberof PlansApi
10783
+ * @memberof TagsApi
10724
10784
  */
10725
- public paymentControllerStripeWebhook(stripeSignature: string, options?: RawAxiosRequestConfig) {
10726
- return PlansApiFp(this.configuration).paymentControllerStripeWebhook(stripeSignature, options).then((request) => request(this.axios, this.basePath));
10785
+ public tagsControllerUpdateTagById(tagUpdatePayloadDTO: TagUpdatePayloadDTO, options?: RawAxiosRequestConfig) {
10786
+ return TagsApiFp(this.configuration).tagsControllerUpdateTagById(tagUpdatePayloadDTO, options).then((request) => request(this.axios, this.basePath));
10727
10787
  }
10728
10788
  }
10729
10789