@gooday_corp/gooday-api-client 1.1.27-delta → 1.1.27-zeta
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.
- package/api.ts +1848 -249
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -99,6 +99,50 @@ export interface AddDevicePayload {
|
|
|
99
99
|
*/
|
|
100
100
|
'version': string;
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @export
|
|
105
|
+
* @interface AppleOAuthResponseDTO
|
|
106
|
+
*/
|
|
107
|
+
export interface AppleOAuthResponseDTO {
|
|
108
|
+
/**
|
|
109
|
+
* statusCode
|
|
110
|
+
* @type {number}
|
|
111
|
+
* @memberof AppleOAuthResponseDTO
|
|
112
|
+
*/
|
|
113
|
+
'statusCode': number;
|
|
114
|
+
/**
|
|
115
|
+
* User
|
|
116
|
+
* @type {SignupResponse}
|
|
117
|
+
* @memberof AppleOAuthResponseDTO
|
|
118
|
+
*/
|
|
119
|
+
'data': SignupResponse;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @export
|
|
124
|
+
* @interface AppleVerificationPayloadDTO
|
|
125
|
+
*/
|
|
126
|
+
export interface AppleVerificationPayloadDTO {
|
|
127
|
+
/**
|
|
128
|
+
* The ID token provided by apple after authentication
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof AppleVerificationPayloadDTO
|
|
131
|
+
*/
|
|
132
|
+
'token': string;
|
|
133
|
+
/**
|
|
134
|
+
* First name of the user
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof AppleVerificationPayloadDTO
|
|
137
|
+
*/
|
|
138
|
+
'firstName': string;
|
|
139
|
+
/**
|
|
140
|
+
* Last name of the user
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof AppleVerificationPayloadDTO
|
|
143
|
+
*/
|
|
144
|
+
'lastName': string;
|
|
145
|
+
}
|
|
102
146
|
/**
|
|
103
147
|
*
|
|
104
148
|
* @export
|
|
@@ -162,7 +206,7 @@ export interface AssistantEntity {
|
|
|
162
206
|
*/
|
|
163
207
|
export interface AssistantListResponse {
|
|
164
208
|
/**
|
|
165
|
-
*
|
|
209
|
+
* statusCode
|
|
166
210
|
* @type {number}
|
|
167
211
|
* @memberof AssistantListResponse
|
|
168
212
|
*/
|
|
@@ -380,12 +424,24 @@ export interface BusinessEntity {
|
|
|
380
424
|
* @memberof BusinessEntity
|
|
381
425
|
*/
|
|
382
426
|
'timing'?: Array<BusinessTiming>;
|
|
427
|
+
/**
|
|
428
|
+
* Business Current Timing
|
|
429
|
+
* @type {BusinessTiming}
|
|
430
|
+
* @memberof BusinessEntity
|
|
431
|
+
*/
|
|
432
|
+
'currentTime'?: BusinessTiming;
|
|
383
433
|
/**
|
|
384
434
|
* Business policies
|
|
385
435
|
* @type {string}
|
|
386
436
|
* @memberof BusinessEntity
|
|
387
437
|
*/
|
|
388
438
|
'policies'?: string;
|
|
439
|
+
/**
|
|
440
|
+
* Business Name
|
|
441
|
+
* @type {string}
|
|
442
|
+
* @memberof BusinessEntity
|
|
443
|
+
*/
|
|
444
|
+
'name'?: string;
|
|
389
445
|
/**
|
|
390
446
|
* Business cancellationFee
|
|
391
447
|
* @type {number}
|
|
@@ -406,10 +462,10 @@ export interface BusinessEntity {
|
|
|
406
462
|
'businessCountry'?: string;
|
|
407
463
|
/**
|
|
408
464
|
* Business Venue
|
|
409
|
-
* @type {Array<
|
|
465
|
+
* @type {Array<string>}
|
|
410
466
|
* @memberof BusinessEntity
|
|
411
467
|
*/
|
|
412
|
-
'venues'?: Array<
|
|
468
|
+
'venues'?: Array<string>;
|
|
413
469
|
/**
|
|
414
470
|
* Business Type
|
|
415
471
|
* @type {string}
|
|
@@ -438,12 +494,45 @@ export interface BusinessEntity {
|
|
|
438
494
|
|
|
439
495
|
export const BusinessEntityStatusEnum = {
|
|
440
496
|
Verified: 'VERIFIED',
|
|
497
|
+
InProgress: 'IN_PROGRESS',
|
|
441
498
|
Pending: 'PENDING',
|
|
442
499
|
QuoteRequested: 'QUOTE_REQUESTED'
|
|
443
500
|
} as const;
|
|
444
501
|
|
|
445
502
|
export type BusinessEntityStatusEnum = typeof BusinessEntityStatusEnum[keyof typeof BusinessEntityStatusEnum];
|
|
446
503
|
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @export
|
|
507
|
+
* @interface BusinessFavoriteDTO
|
|
508
|
+
*/
|
|
509
|
+
export interface BusinessFavoriteDTO {
|
|
510
|
+
/**
|
|
511
|
+
* Business Venue Id
|
|
512
|
+
* @type {string}
|
|
513
|
+
* @memberof BusinessFavoriteDTO
|
|
514
|
+
*/
|
|
515
|
+
'venue': string;
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
* @export
|
|
520
|
+
* @interface BusinessFavoriteResponse
|
|
521
|
+
*/
|
|
522
|
+
export interface BusinessFavoriteResponse {
|
|
523
|
+
/**
|
|
524
|
+
* statusCode
|
|
525
|
+
* @type {number}
|
|
526
|
+
* @memberof BusinessFavoriteResponse
|
|
527
|
+
*/
|
|
528
|
+
'statusCode': number;
|
|
529
|
+
/**
|
|
530
|
+
* Business Favorite
|
|
531
|
+
* @type {BusinessFavoriteDTO}
|
|
532
|
+
* @memberof BusinessFavoriteResponse
|
|
533
|
+
*/
|
|
534
|
+
'data': BusinessFavoriteDTO;
|
|
535
|
+
}
|
|
447
536
|
/**
|
|
448
537
|
*
|
|
449
538
|
* @export
|
|
@@ -468,6 +557,12 @@ export interface BusinessOnBoardingDTO {
|
|
|
468
557
|
* @memberof BusinessOnBoardingDTO
|
|
469
558
|
*/
|
|
470
559
|
'policies'?: string;
|
|
560
|
+
/**
|
|
561
|
+
* Business Name
|
|
562
|
+
* @type {string}
|
|
563
|
+
* @memberof BusinessOnBoardingDTO
|
|
564
|
+
*/
|
|
565
|
+
'name'?: string;
|
|
471
566
|
/**
|
|
472
567
|
* Business cancellationFee
|
|
473
568
|
* @type {number}
|
|
@@ -586,6 +681,37 @@ export interface BusinessTypeEntity {
|
|
|
586
681
|
* @memberof BusinessTypeEntity
|
|
587
682
|
*/
|
|
588
683
|
'name': string;
|
|
684
|
+
/**
|
|
685
|
+
* Image background color
|
|
686
|
+
* @type {string}
|
|
687
|
+
* @memberof BusinessTypeEntity
|
|
688
|
+
*/
|
|
689
|
+
'backgroundColor': string;
|
|
690
|
+
/**
|
|
691
|
+
* Business Image
|
|
692
|
+
* @type {BusinessTypeImageDTO}
|
|
693
|
+
* @memberof BusinessTypeEntity
|
|
694
|
+
*/
|
|
695
|
+
'images': BusinessTypeImageDTO;
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @export
|
|
700
|
+
* @interface BusinessTypeImageDTO
|
|
701
|
+
*/
|
|
702
|
+
export interface BusinessTypeImageDTO {
|
|
703
|
+
/**
|
|
704
|
+
* Business Type Image Small
|
|
705
|
+
* @type {string}
|
|
706
|
+
* @memberof BusinessTypeImageDTO
|
|
707
|
+
*/
|
|
708
|
+
'small': string;
|
|
709
|
+
/**
|
|
710
|
+
* Business Type Image Large
|
|
711
|
+
* @type {string}
|
|
712
|
+
* @memberof BusinessTypeImageDTO
|
|
713
|
+
*/
|
|
714
|
+
'large': string;
|
|
589
715
|
}
|
|
590
716
|
/**
|
|
591
717
|
*
|
|
@@ -606,6 +732,25 @@ export interface BusinessTypeListResponse {
|
|
|
606
732
|
*/
|
|
607
733
|
'data': Array<BusinessTypeEntity>;
|
|
608
734
|
}
|
|
735
|
+
/**
|
|
736
|
+
*
|
|
737
|
+
* @export
|
|
738
|
+
* @interface BusinessUnFavoriteResponse
|
|
739
|
+
*/
|
|
740
|
+
export interface BusinessUnFavoriteResponse {
|
|
741
|
+
/**
|
|
742
|
+
* statusCode
|
|
743
|
+
* @type {number}
|
|
744
|
+
* @memberof BusinessUnFavoriteResponse
|
|
745
|
+
*/
|
|
746
|
+
'statusCode': number;
|
|
747
|
+
/**
|
|
748
|
+
* Business Favorite Rule
|
|
749
|
+
* @type {string}
|
|
750
|
+
* @memberof BusinessUnFavoriteResponse
|
|
751
|
+
*/
|
|
752
|
+
'message': string;
|
|
753
|
+
}
|
|
609
754
|
/**
|
|
610
755
|
*
|
|
611
756
|
* @export
|
|
@@ -613,11 +758,11 @@ export interface BusinessTypeListResponse {
|
|
|
613
758
|
*/
|
|
614
759
|
export interface BusinessVenueDTO {
|
|
615
760
|
/**
|
|
616
|
-
*
|
|
761
|
+
* coverPhots
|
|
617
762
|
* @type {string}
|
|
618
763
|
* @memberof BusinessVenueDTO
|
|
619
764
|
*/
|
|
620
|
-
'
|
|
765
|
+
'coverPhoto': string;
|
|
621
766
|
/**
|
|
622
767
|
*
|
|
623
768
|
* @type {string}
|
|
@@ -630,6 +775,80 @@ export interface BusinessVenueDTO {
|
|
|
630
775
|
* @memberof BusinessVenueDTO
|
|
631
776
|
*/
|
|
632
777
|
'location': LocationDTO;
|
|
778
|
+
/**
|
|
779
|
+
*
|
|
780
|
+
* @type {string}
|
|
781
|
+
* @memberof BusinessVenueDTO
|
|
782
|
+
*/
|
|
783
|
+
'numberOfEmployee': string;
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @export
|
|
788
|
+
* @interface BusinessVenueDetailsEntity
|
|
789
|
+
*/
|
|
790
|
+
export interface BusinessVenueDetailsEntity {
|
|
791
|
+
/**
|
|
792
|
+
* Unique identifier for the business venue
|
|
793
|
+
* @type {string}
|
|
794
|
+
* @memberof BusinessVenueDetailsEntity
|
|
795
|
+
*/
|
|
796
|
+
'_id'?: string;
|
|
797
|
+
/**
|
|
798
|
+
* coverPhots
|
|
799
|
+
* @type {string}
|
|
800
|
+
* @memberof BusinessVenueDetailsEntity
|
|
801
|
+
*/
|
|
802
|
+
'coverPhoto': string;
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {string}
|
|
806
|
+
* @memberof BusinessVenueDetailsEntity
|
|
807
|
+
*/
|
|
808
|
+
'priceRange': string;
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {LocationDTO}
|
|
812
|
+
* @memberof BusinessVenueDetailsEntity
|
|
813
|
+
*/
|
|
814
|
+
'location': LocationDTO;
|
|
815
|
+
/**
|
|
816
|
+
*
|
|
817
|
+
* @type {string}
|
|
818
|
+
* @memberof BusinessVenueDetailsEntity
|
|
819
|
+
*/
|
|
820
|
+
'numberOfEmployee': string;
|
|
821
|
+
/**
|
|
822
|
+
*
|
|
823
|
+
* @type {UserEntity}
|
|
824
|
+
* @memberof BusinessVenueDetailsEntity
|
|
825
|
+
*/
|
|
826
|
+
'user': UserEntity;
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {BusinessEntity}
|
|
830
|
+
* @memberof BusinessVenueDetailsEntity
|
|
831
|
+
*/
|
|
832
|
+
'business': BusinessEntity;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @export
|
|
837
|
+
* @interface BusinessVenueResponseDTO
|
|
838
|
+
*/
|
|
839
|
+
export interface BusinessVenueResponseDTO {
|
|
840
|
+
/**
|
|
841
|
+
* statusCode
|
|
842
|
+
* @type {number}
|
|
843
|
+
* @memberof BusinessVenueResponseDTO
|
|
844
|
+
*/
|
|
845
|
+
'statusCode': number;
|
|
846
|
+
/**
|
|
847
|
+
* Business verification
|
|
848
|
+
* @type {Array<BusinessVenueDetailsEntity>}
|
|
849
|
+
* @memberof BusinessVenueResponseDTO
|
|
850
|
+
*/
|
|
851
|
+
'data': Array<BusinessVenueDetailsEntity>;
|
|
633
852
|
}
|
|
634
853
|
/**
|
|
635
854
|
*
|
|
@@ -866,6 +1085,12 @@ export interface CategoryEntity {
|
|
|
866
1085
|
* @memberof CategoryEntity
|
|
867
1086
|
*/
|
|
868
1087
|
'name': string;
|
|
1088
|
+
/**
|
|
1089
|
+
* Image of category
|
|
1090
|
+
* @type {string}
|
|
1091
|
+
* @memberof CategoryEntity
|
|
1092
|
+
*/
|
|
1093
|
+
'image': string;
|
|
869
1094
|
/**
|
|
870
1095
|
* Unique identifier or reference of the business Type
|
|
871
1096
|
* @type {string}
|
|
@@ -1353,6 +1578,19 @@ export interface EventResponseDTO {
|
|
|
1353
1578
|
*/
|
|
1354
1579
|
'data': EventResponse;
|
|
1355
1580
|
}
|
|
1581
|
+
/**
|
|
1582
|
+
*
|
|
1583
|
+
* @export
|
|
1584
|
+
* @interface FeedbackPayloadDTO
|
|
1585
|
+
*/
|
|
1586
|
+
export interface FeedbackPayloadDTO {
|
|
1587
|
+
/**
|
|
1588
|
+
* Feedback content or message
|
|
1589
|
+
* @type {string}
|
|
1590
|
+
* @memberof FeedbackPayloadDTO
|
|
1591
|
+
*/
|
|
1592
|
+
'content': string;
|
|
1593
|
+
}
|
|
1356
1594
|
/**
|
|
1357
1595
|
*
|
|
1358
1596
|
* @export
|
|
@@ -1485,6 +1723,75 @@ export const FriendshipStatusDTOSuccessEnum = {
|
|
|
1485
1723
|
|
|
1486
1724
|
export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
|
|
1487
1725
|
|
|
1726
|
+
/**
|
|
1727
|
+
*
|
|
1728
|
+
* @export
|
|
1729
|
+
* @interface GetBusinessVenueDto
|
|
1730
|
+
*/
|
|
1731
|
+
export interface GetBusinessVenueDto {
|
|
1732
|
+
/**
|
|
1733
|
+
* Business type ID
|
|
1734
|
+
* @type {string}
|
|
1735
|
+
* @memberof GetBusinessVenueDto
|
|
1736
|
+
*/
|
|
1737
|
+
'type'?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* Business name search
|
|
1740
|
+
* @type {string}
|
|
1741
|
+
* @memberof GetBusinessVenueDto
|
|
1742
|
+
*/
|
|
1743
|
+
'search'?: string;
|
|
1744
|
+
/**
|
|
1745
|
+
* Business category ID
|
|
1746
|
+
* @type {string}
|
|
1747
|
+
* @memberof GetBusinessVenueDto
|
|
1748
|
+
*/
|
|
1749
|
+
'category'?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* Page number for pagination
|
|
1752
|
+
* @type {number}
|
|
1753
|
+
* @memberof GetBusinessVenueDto
|
|
1754
|
+
*/
|
|
1755
|
+
'page'?: number;
|
|
1756
|
+
/**
|
|
1757
|
+
* Number of items per page for pagination
|
|
1758
|
+
* @type {number}
|
|
1759
|
+
* @memberof GetBusinessVenueDto
|
|
1760
|
+
*/
|
|
1761
|
+
'limit'?: number;
|
|
1762
|
+
}
|
|
1763
|
+
/**
|
|
1764
|
+
*
|
|
1765
|
+
* @export
|
|
1766
|
+
* @interface GetNotificationDTO
|
|
1767
|
+
*/
|
|
1768
|
+
export interface GetNotificationDTO {
|
|
1769
|
+
/**
|
|
1770
|
+
* statusCode
|
|
1771
|
+
* @type {number}
|
|
1772
|
+
* @memberof GetNotificationDTO
|
|
1773
|
+
*/
|
|
1774
|
+
'statusCode': number;
|
|
1775
|
+
/**
|
|
1776
|
+
* Notifications
|
|
1777
|
+
* @type {Array<NotificationEntity>}
|
|
1778
|
+
* @memberof GetNotificationDTO
|
|
1779
|
+
*/
|
|
1780
|
+
'data': Array<NotificationEntity>;
|
|
1781
|
+
}
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @export
|
|
1785
|
+
* @interface GetUserDTO
|
|
1786
|
+
*/
|
|
1787
|
+
export interface GetUserDTO {
|
|
1788
|
+
/**
|
|
1789
|
+
* 66f135c95a81ce68c9015414
|
|
1790
|
+
* @type {string}
|
|
1791
|
+
* @memberof GetUserDTO
|
|
1792
|
+
*/
|
|
1793
|
+
'id': string;
|
|
1794
|
+
}
|
|
1488
1795
|
/**
|
|
1489
1796
|
*
|
|
1490
1797
|
* @export
|
|
@@ -1511,7 +1818,7 @@ export interface GoalEntity {
|
|
|
1511
1818
|
*/
|
|
1512
1819
|
export interface GoalListResponse {
|
|
1513
1820
|
/**
|
|
1514
|
-
*
|
|
1821
|
+
* statusCode
|
|
1515
1822
|
* @type {number}
|
|
1516
1823
|
* @memberof GoalListResponse
|
|
1517
1824
|
*/
|
|
@@ -1530,7 +1837,7 @@ export interface GoalListResponse {
|
|
|
1530
1837
|
*/
|
|
1531
1838
|
export interface GoogleOAuthResponseDTO {
|
|
1532
1839
|
/**
|
|
1533
|
-
*
|
|
1840
|
+
* statusCode
|
|
1534
1841
|
* @type {number}
|
|
1535
1842
|
* @memberof GoogleOAuthResponseDTO
|
|
1536
1843
|
*/
|
|
@@ -1555,6 +1862,37 @@ export interface GoogleVerificationPayloadDTO {
|
|
|
1555
1862
|
*/
|
|
1556
1863
|
'token': string;
|
|
1557
1864
|
}
|
|
1865
|
+
/**
|
|
1866
|
+
*
|
|
1867
|
+
* @export
|
|
1868
|
+
* @interface HelpCenterPayloadDTO
|
|
1869
|
+
*/
|
|
1870
|
+
export interface HelpCenterPayloadDTO {
|
|
1871
|
+
/**
|
|
1872
|
+
* First name of the user
|
|
1873
|
+
* @type {string}
|
|
1874
|
+
* @memberof HelpCenterPayloadDTO
|
|
1875
|
+
*/
|
|
1876
|
+
'firstName': string;
|
|
1877
|
+
/**
|
|
1878
|
+
* Last name of the user
|
|
1879
|
+
* @type {string}
|
|
1880
|
+
* @memberof HelpCenterPayloadDTO
|
|
1881
|
+
*/
|
|
1882
|
+
'lastName': string;
|
|
1883
|
+
/**
|
|
1884
|
+
* Feedback content or message
|
|
1885
|
+
* @type {string}
|
|
1886
|
+
* @memberof HelpCenterPayloadDTO
|
|
1887
|
+
*/
|
|
1888
|
+
'content': string;
|
|
1889
|
+
/**
|
|
1890
|
+
* User email address
|
|
1891
|
+
* @type {string}
|
|
1892
|
+
* @memberof HelpCenterPayloadDTO
|
|
1893
|
+
*/
|
|
1894
|
+
'email': string;
|
|
1895
|
+
}
|
|
1558
1896
|
/**
|
|
1559
1897
|
*
|
|
1560
1898
|
* @export
|
|
@@ -1595,7 +1933,8 @@ export interface IntegrationEntity {
|
|
|
1595
1933
|
|
|
1596
1934
|
export const IntegrationEntityIntegrationTypeEnum = {
|
|
1597
1935
|
Google: 'google',
|
|
1598
|
-
Microsoft: 'microsoft'
|
|
1936
|
+
Microsoft: 'microsoft',
|
|
1937
|
+
Apple: 'apple'
|
|
1599
1938
|
} as const;
|
|
1600
1939
|
|
|
1601
1940
|
export type IntegrationEntityIntegrationTypeEnum = typeof IntegrationEntityIntegrationTypeEnum[keyof typeof IntegrationEntityIntegrationTypeEnum];
|
|
@@ -1675,6 +2014,12 @@ export interface LocationDTO {
|
|
|
1675
2014
|
* @memberof LocationDTO
|
|
1676
2015
|
*/
|
|
1677
2016
|
'coordinates': Array<number>;
|
|
2017
|
+
/**
|
|
2018
|
+
*
|
|
2019
|
+
* @type {string}
|
|
2020
|
+
* @memberof LocationDTO
|
|
2021
|
+
*/
|
|
2022
|
+
'distance'?: string;
|
|
1678
2023
|
/**
|
|
1679
2024
|
*
|
|
1680
2025
|
* @type {LocationMetaDTO}
|
|
@@ -1785,7 +2130,7 @@ export interface MicrosoftCalendarAccessDTO {
|
|
|
1785
2130
|
*/
|
|
1786
2131
|
export interface MyAssistantResponse {
|
|
1787
2132
|
/**
|
|
1788
|
-
*
|
|
2133
|
+
* statusCode
|
|
1789
2134
|
* @type {number}
|
|
1790
2135
|
* @memberof MyAssistantResponse
|
|
1791
2136
|
*/
|
|
@@ -1823,7 +2168,7 @@ export interface NewPasswordPayloadDTO {
|
|
|
1823
2168
|
*/
|
|
1824
2169
|
export interface NewPasswordResponseDTO {
|
|
1825
2170
|
/**
|
|
1826
|
-
*
|
|
2171
|
+
* statusCode
|
|
1827
2172
|
* @type {number}
|
|
1828
2173
|
* @memberof NewPasswordResponseDTO
|
|
1829
2174
|
*/
|
|
@@ -1838,24 +2183,159 @@ export interface NewPasswordResponseDTO {
|
|
|
1838
2183
|
/**
|
|
1839
2184
|
*
|
|
1840
2185
|
* @export
|
|
1841
|
-
* @interface
|
|
2186
|
+
* @interface NotificationEntity
|
|
1842
2187
|
*/
|
|
1843
|
-
export interface
|
|
2188
|
+
export interface NotificationEntity {
|
|
1844
2189
|
/**
|
|
1845
|
-
*
|
|
2190
|
+
* The title of the notification
|
|
1846
2191
|
* @type {string}
|
|
1847
|
-
* @memberof
|
|
2192
|
+
* @memberof NotificationEntity
|
|
1848
2193
|
*/
|
|
1849
|
-
'
|
|
2194
|
+
'_id': string;
|
|
1850
2195
|
/**
|
|
1851
|
-
*
|
|
2196
|
+
* The title of the notification
|
|
1852
2197
|
* @type {string}
|
|
1853
|
-
* @memberof
|
|
2198
|
+
* @memberof NotificationEntity
|
|
1854
2199
|
*/
|
|
1855
|
-
'
|
|
2200
|
+
'title': string;
|
|
1856
2201
|
/**
|
|
1857
|
-
*
|
|
1858
|
-
* @type {
|
|
2202
|
+
* The message content of the notification
|
|
2203
|
+
* @type {string}
|
|
2204
|
+
* @memberof NotificationEntity
|
|
2205
|
+
*/
|
|
2206
|
+
'message': string;
|
|
2207
|
+
/**
|
|
2208
|
+
* The ID of the recipient (optional)
|
|
2209
|
+
* @type {string}
|
|
2210
|
+
* @memberof NotificationEntity
|
|
2211
|
+
*/
|
|
2212
|
+
'recipientId'?: string;
|
|
2213
|
+
/**
|
|
2214
|
+
* The badge number (optional)
|
|
2215
|
+
* @type {number}
|
|
2216
|
+
* @memberof NotificationEntity
|
|
2217
|
+
*/
|
|
2218
|
+
'badge'?: number;
|
|
2219
|
+
/**
|
|
2220
|
+
* The user associated with the notification
|
|
2221
|
+
* @type {string}
|
|
2222
|
+
* @memberof NotificationEntity
|
|
2223
|
+
*/
|
|
2224
|
+
'user': string;
|
|
2225
|
+
/**
|
|
2226
|
+
* The channel through which the notification is sent
|
|
2227
|
+
* @type {string}
|
|
2228
|
+
* @memberof NotificationEntity
|
|
2229
|
+
*/
|
|
2230
|
+
'channel': NotificationEntityChannelEnum;
|
|
2231
|
+
/**
|
|
2232
|
+
* The type of the notification (optional)
|
|
2233
|
+
* @type {string}
|
|
2234
|
+
* @memberof NotificationEntity
|
|
2235
|
+
*/
|
|
2236
|
+
'type'?: NotificationEntityTypeEnum;
|
|
2237
|
+
/**
|
|
2238
|
+
* The status of the notification
|
|
2239
|
+
* @type {string}
|
|
2240
|
+
* @memberof NotificationEntity
|
|
2241
|
+
*/
|
|
2242
|
+
'status': NotificationEntityStatusEnum;
|
|
2243
|
+
/**
|
|
2244
|
+
* The scheduled time for the notification (optional)
|
|
2245
|
+
* @type {string}
|
|
2246
|
+
* @memberof NotificationEntity
|
|
2247
|
+
*/
|
|
2248
|
+
'scheduledAt'?: string;
|
|
2249
|
+
/**
|
|
2250
|
+
* Additional metadata associated with the notification (optional)
|
|
2251
|
+
* @type {object}
|
|
2252
|
+
* @memberof NotificationEntity
|
|
2253
|
+
*/
|
|
2254
|
+
'metadata'?: object;
|
|
2255
|
+
/**
|
|
2256
|
+
* Indicates if the notification has been read (optional)
|
|
2257
|
+
* @type {boolean}
|
|
2258
|
+
* @memberof NotificationEntity
|
|
2259
|
+
*/
|
|
2260
|
+
'isRead': boolean;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
export const NotificationEntityChannelEnum = {
|
|
2264
|
+
PushNotification: 'push-notification',
|
|
2265
|
+
Email: 'email'
|
|
2266
|
+
} as const;
|
|
2267
|
+
|
|
2268
|
+
export type NotificationEntityChannelEnum = typeof NotificationEntityChannelEnum[keyof typeof NotificationEntityChannelEnum];
|
|
2269
|
+
export const NotificationEntityTypeEnum = {
|
|
2270
|
+
UserSignup: 'user_signup',
|
|
2271
|
+
EmailVerification: 'email_verification',
|
|
2272
|
+
Promotion: 'promotion',
|
|
2273
|
+
SystemAlert: 'system_alert',
|
|
2274
|
+
FriendRequest: 'friend_request'
|
|
2275
|
+
} as const;
|
|
2276
|
+
|
|
2277
|
+
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
2278
|
+
export const NotificationEntityStatusEnum = {
|
|
2279
|
+
Pending: 'pending',
|
|
2280
|
+
Sent: 'sent',
|
|
2281
|
+
Failed: 'failed'
|
|
2282
|
+
} as const;
|
|
2283
|
+
|
|
2284
|
+
export type NotificationEntityStatusEnum = typeof NotificationEntityStatusEnum[keyof typeof NotificationEntityStatusEnum];
|
|
2285
|
+
|
|
2286
|
+
/**
|
|
2287
|
+
*
|
|
2288
|
+
* @export
|
|
2289
|
+
* @interface NotificationReadDTO
|
|
2290
|
+
*/
|
|
2291
|
+
export interface NotificationReadDTO {
|
|
2292
|
+
/**
|
|
2293
|
+
* Notification Id
|
|
2294
|
+
* @type {string}
|
|
2295
|
+
* @memberof NotificationReadDTO
|
|
2296
|
+
*/
|
|
2297
|
+
'notificationId': string;
|
|
2298
|
+
}
|
|
2299
|
+
/**
|
|
2300
|
+
*
|
|
2301
|
+
* @export
|
|
2302
|
+
* @interface NotificationReadResponseDTO
|
|
2303
|
+
*/
|
|
2304
|
+
export interface NotificationReadResponseDTO {
|
|
2305
|
+
/**
|
|
2306
|
+
* statusCode
|
|
2307
|
+
* @type {number}
|
|
2308
|
+
* @memberof NotificationReadResponseDTO
|
|
2309
|
+
*/
|
|
2310
|
+
'statusCode': number;
|
|
2311
|
+
/**
|
|
2312
|
+
*
|
|
2313
|
+
* @type {boolean}
|
|
2314
|
+
* @memberof NotificationReadResponseDTO
|
|
2315
|
+
*/
|
|
2316
|
+
'data': boolean;
|
|
2317
|
+
}
|
|
2318
|
+
/**
|
|
2319
|
+
*
|
|
2320
|
+
* @export
|
|
2321
|
+
* @interface OnBoardingDTO
|
|
2322
|
+
*/
|
|
2323
|
+
export interface OnBoardingDTO {
|
|
2324
|
+
/**
|
|
2325
|
+
* nickname
|
|
2326
|
+
* @type {string}
|
|
2327
|
+
* @memberof OnBoardingDTO
|
|
2328
|
+
*/
|
|
2329
|
+
'nickname'?: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* Assistant
|
|
2332
|
+
* @type {string}
|
|
2333
|
+
* @memberof OnBoardingDTO
|
|
2334
|
+
*/
|
|
2335
|
+
'assistant'?: string;
|
|
2336
|
+
/**
|
|
2337
|
+
*
|
|
2338
|
+
* @type {UserPlanDTO}
|
|
1859
2339
|
* @memberof OnBoardingDTO
|
|
1860
2340
|
*/
|
|
1861
2341
|
'plan'?: UserPlanDTO;
|
|
@@ -1997,6 +2477,19 @@ export interface PlanResponseDTO {
|
|
|
1997
2477
|
*/
|
|
1998
2478
|
'data': Array<PlanEntity>;
|
|
1999
2479
|
}
|
|
2480
|
+
/**
|
|
2481
|
+
*
|
|
2482
|
+
* @export
|
|
2483
|
+
* @interface PlanUpsertPayloadDTO
|
|
2484
|
+
*/
|
|
2485
|
+
export interface PlanUpsertPayloadDTO {
|
|
2486
|
+
/**
|
|
2487
|
+
* Plan id
|
|
2488
|
+
* @type {string}
|
|
2489
|
+
* @memberof PlanUpsertPayloadDTO
|
|
2490
|
+
*/
|
|
2491
|
+
'plan': string;
|
|
2492
|
+
}
|
|
2000
2493
|
/**
|
|
2001
2494
|
*
|
|
2002
2495
|
* @export
|
|
@@ -2192,7 +2685,7 @@ export interface ResetPasswordPayloadDTO {
|
|
|
2192
2685
|
*/
|
|
2193
2686
|
export interface ResetPasswordResponseDTO {
|
|
2194
2687
|
/**
|
|
2195
|
-
*
|
|
2688
|
+
* statusCode
|
|
2196
2689
|
* @type {number}
|
|
2197
2690
|
* @memberof ResetPasswordResponseDTO
|
|
2198
2691
|
*/
|
|
@@ -2281,7 +2774,7 @@ export interface SignInResponse {
|
|
|
2281
2774
|
*/
|
|
2282
2775
|
export interface SignInResponseDto {
|
|
2283
2776
|
/**
|
|
2284
|
-
*
|
|
2777
|
+
* statusCode
|
|
2285
2778
|
* @type {number}
|
|
2286
2779
|
* @memberof SignInResponseDto
|
|
2287
2780
|
*/
|
|
@@ -2336,6 +2829,18 @@ export interface SignupDto {
|
|
|
2336
2829
|
* @memberof SignupDto
|
|
2337
2830
|
*/
|
|
2338
2831
|
'lastName': string;
|
|
2832
|
+
/**
|
|
2833
|
+
* Contact Number For User
|
|
2834
|
+
* @type {string}
|
|
2835
|
+
* @memberof SignupDto
|
|
2836
|
+
*/
|
|
2837
|
+
'mobileNumber'?: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* User gender
|
|
2840
|
+
* @type {string}
|
|
2841
|
+
* @memberof SignupDto
|
|
2842
|
+
*/
|
|
2843
|
+
'gender'?: string;
|
|
2339
2844
|
/**
|
|
2340
2845
|
* The email of the user
|
|
2341
2846
|
* @type {string}
|
|
@@ -2375,7 +2880,7 @@ export interface SignupResponse {
|
|
|
2375
2880
|
*/
|
|
2376
2881
|
export interface SignupResponseDto {
|
|
2377
2882
|
/**
|
|
2378
|
-
*
|
|
2883
|
+
* statusCode
|
|
2379
2884
|
* @type {number}
|
|
2380
2885
|
* @memberof SignupResponseDto
|
|
2381
2886
|
*/
|
|
@@ -2415,46 +2920,72 @@ export interface SkillDto {
|
|
|
2415
2920
|
/**
|
|
2416
2921
|
*
|
|
2417
2922
|
* @export
|
|
2418
|
-
* @interface
|
|
2923
|
+
* @interface StripePaymentDTO
|
|
2419
2924
|
*/
|
|
2420
|
-
export interface
|
|
2421
|
-
/**
|
|
2422
|
-
* Strip Customer ID
|
|
2423
|
-
* @type {string}
|
|
2424
|
-
* @memberof StripPaymentDTO
|
|
2425
|
-
*/
|
|
2426
|
-
'customerId': string;
|
|
2925
|
+
export interface StripePaymentDTO {
|
|
2427
2926
|
/**
|
|
2428
|
-
*
|
|
2927
|
+
* Stripe ephemeral Key
|
|
2429
2928
|
* @type {string}
|
|
2430
|
-
* @memberof
|
|
2929
|
+
* @memberof StripePaymentDTO
|
|
2431
2930
|
*/
|
|
2432
2931
|
'ephemeralKey': string;
|
|
2433
2932
|
/**
|
|
2434
|
-
*
|
|
2933
|
+
* Stripe ClientSecret
|
|
2435
2934
|
* @type {string}
|
|
2436
|
-
* @memberof
|
|
2935
|
+
* @memberof StripePaymentDTO
|
|
2437
2936
|
*/
|
|
2438
2937
|
'clientSecret': string;
|
|
2439
2938
|
}
|
|
2440
2939
|
/**
|
|
2441
2940
|
*
|
|
2442
2941
|
* @export
|
|
2443
|
-
* @interface
|
|
2942
|
+
* @interface StripePlanUpsertResponseDTO
|
|
2943
|
+
*/
|
|
2944
|
+
export interface StripePlanUpsertResponseDTO {
|
|
2945
|
+
/**
|
|
2946
|
+
* statusCode
|
|
2947
|
+
* @type {number}
|
|
2948
|
+
* @memberof StripePlanUpsertResponseDTO
|
|
2949
|
+
*/
|
|
2950
|
+
'statusCode': number;
|
|
2951
|
+
/**
|
|
2952
|
+
* Stripe Intent Data
|
|
2953
|
+
* @type {StripePaymentDTO}
|
|
2954
|
+
* @memberof StripePlanUpsertResponseDTO
|
|
2955
|
+
*/
|
|
2956
|
+
'data': StripePaymentDTO;
|
|
2957
|
+
}
|
|
2958
|
+
/**
|
|
2959
|
+
*
|
|
2960
|
+
* @export
|
|
2961
|
+
* @interface StripeSetupIntentResponseDTO
|
|
2444
2962
|
*/
|
|
2445
|
-
export interface
|
|
2963
|
+
export interface StripeSetupIntentResponseDTO {
|
|
2446
2964
|
/**
|
|
2447
|
-
*
|
|
2965
|
+
* statusCode
|
|
2448
2966
|
* @type {number}
|
|
2449
|
-
* @memberof
|
|
2967
|
+
* @memberof StripeSetupIntentResponseDTO
|
|
2450
2968
|
*/
|
|
2451
2969
|
'statusCode': number;
|
|
2452
2970
|
/**
|
|
2453
|
-
*
|
|
2454
|
-
* @type {
|
|
2455
|
-
* @memberof
|
|
2971
|
+
* Stripe Setup Intent Data
|
|
2972
|
+
* @type {StripeSetupPaymentIntentDTO}
|
|
2973
|
+
* @memberof StripeSetupIntentResponseDTO
|
|
2974
|
+
*/
|
|
2975
|
+
'data': StripeSetupPaymentIntentDTO;
|
|
2976
|
+
}
|
|
2977
|
+
/**
|
|
2978
|
+
*
|
|
2979
|
+
* @export
|
|
2980
|
+
* @interface StripeSetupPaymentIntentDTO
|
|
2981
|
+
*/
|
|
2982
|
+
export interface StripeSetupPaymentIntentDTO {
|
|
2983
|
+
/**
|
|
2984
|
+
* Stripe Client Secret
|
|
2985
|
+
* @type {string}
|
|
2986
|
+
* @memberof StripeSetupPaymentIntentDTO
|
|
2456
2987
|
*/
|
|
2457
|
-
'
|
|
2988
|
+
'clientSecret': string;
|
|
2458
2989
|
}
|
|
2459
2990
|
/**
|
|
2460
2991
|
*
|
|
@@ -2468,6 +2999,12 @@ export interface UserEntity {
|
|
|
2468
2999
|
* @memberof UserEntity
|
|
2469
3000
|
*/
|
|
2470
3001
|
'_id': string;
|
|
3002
|
+
/**
|
|
3003
|
+
* Unique identifier for the Gooday user
|
|
3004
|
+
* @type {string}
|
|
3005
|
+
* @memberof UserEntity
|
|
3006
|
+
*/
|
|
3007
|
+
'goodayId': string;
|
|
2471
3008
|
/**
|
|
2472
3009
|
* First name of the user
|
|
2473
3010
|
* @type {string}
|
|
@@ -2480,12 +3017,24 @@ export interface UserEntity {
|
|
|
2480
3017
|
* @memberof UserEntity
|
|
2481
3018
|
*/
|
|
2482
3019
|
'lastName': string;
|
|
3020
|
+
/**
|
|
3021
|
+
* Is account deactivated?
|
|
3022
|
+
* @type {boolean}
|
|
3023
|
+
* @memberof UserEntity
|
|
3024
|
+
*/
|
|
3025
|
+
'isDeleted': boolean;
|
|
2483
3026
|
/**
|
|
2484
3027
|
* Email address of the user
|
|
2485
3028
|
* @type {string}
|
|
2486
3029
|
* @memberof UserEntity
|
|
2487
3030
|
*/
|
|
2488
3031
|
'email': string;
|
|
3032
|
+
/**
|
|
3033
|
+
* User location
|
|
3034
|
+
* @type {Array<number>}
|
|
3035
|
+
* @memberof UserEntity
|
|
3036
|
+
*/
|
|
3037
|
+
'location'?: Array<number>;
|
|
2489
3038
|
/**
|
|
2490
3039
|
* Nickname of the user
|
|
2491
3040
|
* @type {string}
|
|
@@ -2504,6 +3053,18 @@ export interface UserEntity {
|
|
|
2504
3053
|
* @memberof UserEntity
|
|
2505
3054
|
*/
|
|
2506
3055
|
'assistant': string;
|
|
3056
|
+
/**
|
|
3057
|
+
* Phone No
|
|
3058
|
+
* @type {string}
|
|
3059
|
+
* @memberof UserEntity
|
|
3060
|
+
*/
|
|
3061
|
+
'mobileNumber'?: string;
|
|
3062
|
+
/**
|
|
3063
|
+
* User gender
|
|
3064
|
+
* @type {string}
|
|
3065
|
+
* @memberof UserEntity
|
|
3066
|
+
*/
|
|
3067
|
+
'gender'?: string;
|
|
2507
3068
|
/**
|
|
2508
3069
|
* Indicates whether the user\'s email has been verified
|
|
2509
3070
|
* @type {boolean}
|
|
@@ -2534,6 +3095,18 @@ export interface UserEntity {
|
|
|
2534
3095
|
* @memberof UserEntity
|
|
2535
3096
|
*/
|
|
2536
3097
|
'plan': UserPlanDTO;
|
|
3098
|
+
/**
|
|
3099
|
+
* Plan subscribed by the user
|
|
3100
|
+
* @type {BusinessEntity}
|
|
3101
|
+
* @memberof UserEntity
|
|
3102
|
+
*/
|
|
3103
|
+
'business'?: BusinessEntity;
|
|
3104
|
+
/**
|
|
3105
|
+
* User permissions
|
|
3106
|
+
* @type {UserPermissionDTO}
|
|
3107
|
+
* @memberof UserEntity
|
|
3108
|
+
*/
|
|
3109
|
+
'permissions': UserPermissionDTO;
|
|
2537
3110
|
/**
|
|
2538
3111
|
* Action user has to perform
|
|
2539
3112
|
* @type {Array<string>}
|
|
@@ -2556,7 +3129,7 @@ export type UserEntityRoleEnum = typeof UserEntityRoleEnum[keyof typeof UserEnti
|
|
|
2556
3129
|
*/
|
|
2557
3130
|
export interface UserMeDTO {
|
|
2558
3131
|
/**
|
|
2559
|
-
*
|
|
3132
|
+
* statusCode
|
|
2560
3133
|
* @type {number}
|
|
2561
3134
|
* @memberof UserMeDTO
|
|
2562
3135
|
*/
|
|
@@ -2568,6 +3141,67 @@ export interface UserMeDTO {
|
|
|
2568
3141
|
*/
|
|
2569
3142
|
'data': UserEntity;
|
|
2570
3143
|
}
|
|
3144
|
+
/**
|
|
3145
|
+
*
|
|
3146
|
+
* @export
|
|
3147
|
+
* @interface UserPermissionDTO
|
|
3148
|
+
*/
|
|
3149
|
+
export interface UserPermissionDTO {
|
|
3150
|
+
/**
|
|
3151
|
+
* Specifies if the user has granted location access permission.
|
|
3152
|
+
* @type {boolean}
|
|
3153
|
+
* @memberof UserPermissionDTO
|
|
3154
|
+
*/
|
|
3155
|
+
'locationAccessPermission'?: boolean;
|
|
3156
|
+
/**
|
|
3157
|
+
* Specifies if the user has granted access to the device timezone.
|
|
3158
|
+
* @type {boolean}
|
|
3159
|
+
* @memberof UserPermissionDTO
|
|
3160
|
+
*/
|
|
3161
|
+
'deviceTimezone'?: boolean;
|
|
3162
|
+
/**
|
|
3163
|
+
* Specifies if the user has granted permission for timezone settings.
|
|
3164
|
+
* @type {boolean}
|
|
3165
|
+
* @memberof UserPermissionDTO
|
|
3166
|
+
*/
|
|
3167
|
+
'timezone'?: boolean;
|
|
3168
|
+
/**
|
|
3169
|
+
* Specifies if the user has granted calendar access permission.
|
|
3170
|
+
* @type {boolean}
|
|
3171
|
+
* @memberof UserPermissionDTO
|
|
3172
|
+
*/
|
|
3173
|
+
'calendar'?: boolean;
|
|
3174
|
+
/**
|
|
3175
|
+
* Specifies if the user has granted access to tasks.
|
|
3176
|
+
* @type {boolean}
|
|
3177
|
+
* @memberof UserPermissionDTO
|
|
3178
|
+
*/
|
|
3179
|
+
'tasks'?: boolean;
|
|
3180
|
+
/**
|
|
3181
|
+
* Specifies if the user has granted access to reminders.
|
|
3182
|
+
* @type {boolean}
|
|
3183
|
+
* @memberof UserPermissionDTO
|
|
3184
|
+
*/
|
|
3185
|
+
'reminders'?: boolean;
|
|
3186
|
+
/**
|
|
3187
|
+
* Specifies if the user has granted access to the waitlist feature.
|
|
3188
|
+
* @type {boolean}
|
|
3189
|
+
* @memberof UserPermissionDTO
|
|
3190
|
+
*/
|
|
3191
|
+
'waitlist'?: boolean;
|
|
3192
|
+
/**
|
|
3193
|
+
* Specifies if the user has granted access to the booking feature.
|
|
3194
|
+
* @type {boolean}
|
|
3195
|
+
* @memberof UserPermissionDTO
|
|
3196
|
+
*/
|
|
3197
|
+
'booking'?: boolean;
|
|
3198
|
+
/**
|
|
3199
|
+
* Specifies if the user has granted access to the invites feature.
|
|
3200
|
+
* @type {boolean}
|
|
3201
|
+
* @memberof UserPermissionDTO
|
|
3202
|
+
*/
|
|
3203
|
+
'invites'?: boolean;
|
|
3204
|
+
}
|
|
2571
3205
|
/**
|
|
2572
3206
|
*
|
|
2573
3207
|
* @export
|
|
@@ -2595,6 +3229,25 @@ export const UserPlanDTONameEnum = {
|
|
|
2595
3229
|
|
|
2596
3230
|
export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
|
|
2597
3231
|
|
|
3232
|
+
/**
|
|
3233
|
+
*
|
|
3234
|
+
* @export
|
|
3235
|
+
* @interface UserSyncDTO
|
|
3236
|
+
*/
|
|
3237
|
+
export interface UserSyncDTO {
|
|
3238
|
+
/**
|
|
3239
|
+
* User location
|
|
3240
|
+
* @type {Array<number>}
|
|
3241
|
+
* @memberof UserSyncDTO
|
|
3242
|
+
*/
|
|
3243
|
+
'location': Array<number>;
|
|
3244
|
+
/**
|
|
3245
|
+
* Timezone
|
|
3246
|
+
* @type {string}
|
|
3247
|
+
* @memberof UserSyncDTO
|
|
3248
|
+
*/
|
|
3249
|
+
'timezone'?: string;
|
|
3250
|
+
}
|
|
2598
3251
|
/**
|
|
2599
3252
|
*
|
|
2600
3253
|
* @export
|
|
@@ -2794,21 +3447,21 @@ export class AIApi extends BaseAPI {
|
|
|
2794
3447
|
|
|
2795
3448
|
|
|
2796
3449
|
/**
|
|
2797
|
-
*
|
|
3450
|
+
* AppApi - axios parameter creator
|
|
2798
3451
|
* @export
|
|
2799
3452
|
*/
|
|
2800
|
-
export const
|
|
3453
|
+
export const AppApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2801
3454
|
return {
|
|
2802
3455
|
/**
|
|
2803
3456
|
*
|
|
2804
|
-
* @param {
|
|
3457
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2805
3458
|
* @param {*} [options] Override http request option.
|
|
2806
3459
|
* @throws {RequiredError}
|
|
2807
3460
|
*/
|
|
2808
|
-
|
|
2809
|
-
// verify required parameter '
|
|
2810
|
-
assertParamExists('
|
|
2811
|
-
const localVarPath = `/v1/
|
|
3461
|
+
appResponseControllerFeedbackResponse: async (feedbackPayloadDTO: FeedbackPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3462
|
+
// verify required parameter 'feedbackPayloadDTO' is not null or undefined
|
|
3463
|
+
assertParamExists('appResponseControllerFeedbackResponse', 'feedbackPayloadDTO', feedbackPayloadDTO)
|
|
3464
|
+
const localVarPath = `/v1/feedback`;
|
|
2812
3465
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2813
3466
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2814
3467
|
let baseOptions;
|
|
@@ -2820,6 +3473,10 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2820
3473
|
const localVarHeaderParameter = {} as any;
|
|
2821
3474
|
const localVarQueryParameter = {} as any;
|
|
2822
3475
|
|
|
3476
|
+
// authentication bearer required
|
|
3477
|
+
// http bearer authentication required
|
|
3478
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3479
|
+
|
|
2823
3480
|
|
|
2824
3481
|
|
|
2825
3482
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2827,7 +3484,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2827
3484
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2828
3485
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2829
3486
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2830
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3487
|
+
localVarRequestOptions.data = serializeDataIfNeeded(feedbackPayloadDTO, localVarRequestOptions, configuration)
|
|
2831
3488
|
|
|
2832
3489
|
return {
|
|
2833
3490
|
url: toPathString(localVarUrlObj),
|
|
@@ -2836,14 +3493,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2836
3493
|
},
|
|
2837
3494
|
/**
|
|
2838
3495
|
*
|
|
2839
|
-
* @param {
|
|
3496
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2840
3497
|
* @param {*} [options] Override http request option.
|
|
2841
3498
|
* @throws {RequiredError}
|
|
2842
3499
|
*/
|
|
2843
|
-
|
|
2844
|
-
// verify required parameter '
|
|
2845
|
-
assertParamExists('
|
|
2846
|
-
const localVarPath = `/v1/
|
|
3500
|
+
appResponseControllerHelpCenterResponse: async (helpCenterPayloadDTO: HelpCenterPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3501
|
+
// verify required parameter 'helpCenterPayloadDTO' is not null or undefined
|
|
3502
|
+
assertParamExists('appResponseControllerHelpCenterResponse', 'helpCenterPayloadDTO', helpCenterPayloadDTO)
|
|
3503
|
+
const localVarPath = `/v1/help-center`;
|
|
2847
3504
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2848
3505
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2849
3506
|
let baseOptions;
|
|
@@ -2855,6 +3512,10 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2855
3512
|
const localVarHeaderParameter = {} as any;
|
|
2856
3513
|
const localVarQueryParameter = {} as any;
|
|
2857
3514
|
|
|
3515
|
+
// authentication bearer required
|
|
3516
|
+
// http bearer authentication required
|
|
3517
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3518
|
+
|
|
2858
3519
|
|
|
2859
3520
|
|
|
2860
3521
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2862,33 +3523,206 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2862
3523
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2863
3524
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2864
3525
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2865
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3526
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helpCenterPayloadDTO, localVarRequestOptions, configuration)
|
|
2866
3527
|
|
|
2867
3528
|
return {
|
|
2868
3529
|
url: toPathString(localVarUrlObj),
|
|
2869
3530
|
options: localVarRequestOptions,
|
|
2870
3531
|
};
|
|
2871
3532
|
},
|
|
3533
|
+
}
|
|
3534
|
+
};
|
|
3535
|
+
|
|
3536
|
+
/**
|
|
3537
|
+
* AppApi - functional programming interface
|
|
3538
|
+
* @export
|
|
3539
|
+
*/
|
|
3540
|
+
export const AppApiFp = function(configuration?: Configuration) {
|
|
3541
|
+
const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration)
|
|
3542
|
+
return {
|
|
3543
|
+
/**
|
|
3544
|
+
*
|
|
3545
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
3546
|
+
* @param {*} [options] Override http request option.
|
|
3547
|
+
* @throws {RequiredError}
|
|
3548
|
+
*/
|
|
3549
|
+
async appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.appResponseControllerFeedbackResponse(feedbackPayloadDTO, options);
|
|
3551
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3552
|
+
const localVarOperationServerBasePath = operationServerMap['AppApi.appResponseControllerFeedbackResponse']?.[localVarOperationServerIndex]?.url;
|
|
3553
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3554
|
+
},
|
|
2872
3555
|
/**
|
|
2873
3556
|
*
|
|
2874
|
-
* @param {
|
|
3557
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2875
3558
|
* @param {*} [options] Override http request option.
|
|
2876
3559
|
* @throws {RequiredError}
|
|
2877
3560
|
*/
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
const
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
baseOptions = configuration.baseOptions;
|
|
2887
|
-
}
|
|
3561
|
+
async appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3562
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options);
|
|
3563
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3564
|
+
const localVarOperationServerBasePath = operationServerMap['AppApi.appResponseControllerHelpCenterResponse']?.[localVarOperationServerIndex]?.url;
|
|
3565
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3566
|
+
},
|
|
3567
|
+
}
|
|
3568
|
+
};
|
|
2888
3569
|
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
3570
|
+
/**
|
|
3571
|
+
* AppApi - factory interface
|
|
3572
|
+
* @export
|
|
3573
|
+
*/
|
|
3574
|
+
export const AppApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3575
|
+
const localVarFp = AppApiFp(configuration)
|
|
3576
|
+
return {
|
|
3577
|
+
/**
|
|
3578
|
+
*
|
|
3579
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
3580
|
+
* @param {*} [options] Override http request option.
|
|
3581
|
+
* @throws {RequiredError}
|
|
3582
|
+
*/
|
|
3583
|
+
appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3584
|
+
return localVarFp.appResponseControllerFeedbackResponse(feedbackPayloadDTO, options).then((request) => request(axios, basePath));
|
|
3585
|
+
},
|
|
3586
|
+
/**
|
|
3587
|
+
*
|
|
3588
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
3589
|
+
* @param {*} [options] Override http request option.
|
|
3590
|
+
* @throws {RequiredError}
|
|
3591
|
+
*/
|
|
3592
|
+
appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3593
|
+
return localVarFp.appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options).then((request) => request(axios, basePath));
|
|
3594
|
+
},
|
|
3595
|
+
};
|
|
3596
|
+
};
|
|
3597
|
+
|
|
3598
|
+
/**
|
|
3599
|
+
* AppApi - object-oriented interface
|
|
3600
|
+
* @export
|
|
3601
|
+
* @class AppApi
|
|
3602
|
+
* @extends {BaseAPI}
|
|
3603
|
+
*/
|
|
3604
|
+
export class AppApi extends BaseAPI {
|
|
3605
|
+
/**
|
|
3606
|
+
*
|
|
3607
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
3608
|
+
* @param {*} [options] Override http request option.
|
|
3609
|
+
* @throws {RequiredError}
|
|
3610
|
+
* @memberof AppApi
|
|
3611
|
+
*/
|
|
3612
|
+
public appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
3613
|
+
return AppApiFp(this.configuration).appResponseControllerFeedbackResponse(feedbackPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
/**
|
|
3617
|
+
*
|
|
3618
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
3619
|
+
* @param {*} [options] Override http request option.
|
|
3620
|
+
* @throws {RequiredError}
|
|
3621
|
+
* @memberof AppApi
|
|
3622
|
+
*/
|
|
3623
|
+
public appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
3624
|
+
return AppApiFp(this.configuration).appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3625
|
+
}
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
|
|
3629
|
+
|
|
3630
|
+
/**
|
|
3631
|
+
* AuthApi - axios parameter creator
|
|
3632
|
+
* @export
|
|
3633
|
+
*/
|
|
3634
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3635
|
+
return {
|
|
3636
|
+
/**
|
|
3637
|
+
*
|
|
3638
|
+
* @param {SignupDto} signupDto
|
|
3639
|
+
* @param {*} [options] Override http request option.
|
|
3640
|
+
* @throws {RequiredError}
|
|
3641
|
+
*/
|
|
3642
|
+
authControllerBusinessRegister: async (signupDto: SignupDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3643
|
+
// verify required parameter 'signupDto' is not null or undefined
|
|
3644
|
+
assertParamExists('authControllerBusinessRegister', 'signupDto', signupDto)
|
|
3645
|
+
const localVarPath = `/v1/auth/business-register`;
|
|
3646
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3647
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3648
|
+
let baseOptions;
|
|
3649
|
+
if (configuration) {
|
|
3650
|
+
baseOptions = configuration.baseOptions;
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3654
|
+
const localVarHeaderParameter = {} as any;
|
|
3655
|
+
const localVarQueryParameter = {} as any;
|
|
3656
|
+
|
|
3657
|
+
|
|
3658
|
+
|
|
3659
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3660
|
+
|
|
3661
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3662
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3663
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3664
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
3665
|
+
|
|
3666
|
+
return {
|
|
3667
|
+
url: toPathString(localVarUrlObj),
|
|
3668
|
+
options: localVarRequestOptions,
|
|
3669
|
+
};
|
|
3670
|
+
},
|
|
3671
|
+
/**
|
|
3672
|
+
*
|
|
3673
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
3674
|
+
* @param {*} [options] Override http request option.
|
|
3675
|
+
* @throws {RequiredError}
|
|
3676
|
+
*/
|
|
3677
|
+
authControllerCreateNewPassword: async (newPasswordPayloadDTO: NewPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3678
|
+
// verify required parameter 'newPasswordPayloadDTO' is not null or undefined
|
|
3679
|
+
assertParamExists('authControllerCreateNewPassword', 'newPasswordPayloadDTO', newPasswordPayloadDTO)
|
|
3680
|
+
const localVarPath = `/v1/auth/new-password`;
|
|
3681
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3682
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3683
|
+
let baseOptions;
|
|
3684
|
+
if (configuration) {
|
|
3685
|
+
baseOptions = configuration.baseOptions;
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3689
|
+
const localVarHeaderParameter = {} as any;
|
|
3690
|
+
const localVarQueryParameter = {} as any;
|
|
3691
|
+
|
|
3692
|
+
|
|
3693
|
+
|
|
3694
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3695
|
+
|
|
3696
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3697
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3698
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3699
|
+
localVarRequestOptions.data = serializeDataIfNeeded(newPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
3700
|
+
|
|
3701
|
+
return {
|
|
3702
|
+
url: toPathString(localVarUrlObj),
|
|
3703
|
+
options: localVarRequestOptions,
|
|
3704
|
+
};
|
|
3705
|
+
},
|
|
3706
|
+
/**
|
|
3707
|
+
*
|
|
3708
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
3709
|
+
* @param {*} [options] Override http request option.
|
|
3710
|
+
* @throws {RequiredError}
|
|
3711
|
+
*/
|
|
3712
|
+
authControllerForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3713
|
+
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
3714
|
+
assertParamExists('authControllerForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
3715
|
+
const localVarPath = `/v1/auth/forgot-password`;
|
|
3716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3717
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3718
|
+
let baseOptions;
|
|
3719
|
+
if (configuration) {
|
|
3720
|
+
baseOptions = configuration.baseOptions;
|
|
3721
|
+
}
|
|
3722
|
+
|
|
3723
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3724
|
+
const localVarHeaderParameter = {} as any;
|
|
3725
|
+
const localVarQueryParameter = {} as any;
|
|
2892
3726
|
|
|
2893
3727
|
|
|
2894
3728
|
|
|
@@ -3848,7 +4682,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3848
4682
|
* @throws {RequiredError}
|
|
3849
4683
|
*/
|
|
3850
4684
|
businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3851
|
-
const localVarPath = `/business`;
|
|
4685
|
+
const localVarPath = `/v1/business`;
|
|
3852
4686
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3853
4687
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3854
4688
|
let baseOptions;
|
|
@@ -3871,6 +4705,45 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3871
4705
|
options: localVarRequestOptions,
|
|
3872
4706
|
};
|
|
3873
4707
|
},
|
|
4708
|
+
/**
|
|
4709
|
+
*
|
|
4710
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
4711
|
+
* @param {*} [options] Override http request option.
|
|
4712
|
+
* @throws {RequiredError}
|
|
4713
|
+
*/
|
|
4714
|
+
businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4715
|
+
// verify required parameter 'getBusinessVenueDto' is not null or undefined
|
|
4716
|
+
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
4717
|
+
const localVarPath = `/v1/business/business-venue`;
|
|
4718
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4719
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4720
|
+
let baseOptions;
|
|
4721
|
+
if (configuration) {
|
|
4722
|
+
baseOptions = configuration.baseOptions;
|
|
4723
|
+
}
|
|
4724
|
+
|
|
4725
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4726
|
+
const localVarHeaderParameter = {} as any;
|
|
4727
|
+
const localVarQueryParameter = {} as any;
|
|
4728
|
+
|
|
4729
|
+
// authentication bearer required
|
|
4730
|
+
// http bearer authentication required
|
|
4731
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4732
|
+
|
|
4733
|
+
|
|
4734
|
+
|
|
4735
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4736
|
+
|
|
4737
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4738
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4739
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4740
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
4741
|
+
|
|
4742
|
+
return {
|
|
4743
|
+
url: toPathString(localVarUrlObj),
|
|
4744
|
+
options: localVarRequestOptions,
|
|
4745
|
+
};
|
|
4746
|
+
},
|
|
3874
4747
|
/**
|
|
3875
4748
|
*
|
|
3876
4749
|
* @param {*} [options] Override http request option.
|
|
@@ -3906,15 +4779,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3906
4779
|
},
|
|
3907
4780
|
/**
|
|
3908
4781
|
*
|
|
3909
|
-
* @param {string}
|
|
4782
|
+
* @param {string} businessTypeId ID of the business type
|
|
3910
4783
|
* @param {*} [options] Override http request option.
|
|
3911
4784
|
* @throws {RequiredError}
|
|
3912
4785
|
*/
|
|
3913
|
-
businessTypeControllerListCategories: async (
|
|
3914
|
-
// verify required parameter '
|
|
3915
|
-
assertParamExists('businessTypeControllerListCategories', '
|
|
3916
|
-
const localVarPath = `/v1/business/{
|
|
3917
|
-
.replace(`{${"
|
|
4786
|
+
businessTypeControllerListCategories: async (businessTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4787
|
+
// verify required parameter 'businessTypeId' is not null or undefined
|
|
4788
|
+
assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
|
|
4789
|
+
const localVarPath = `/v1/business/{businessTypeId}/categories`
|
|
4790
|
+
.replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
|
|
3918
4791
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3919
4792
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3920
4793
|
let baseOptions;
|
|
@@ -4007,49 +4880,176 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4007
4880
|
options: localVarRequestOptions,
|
|
4008
4881
|
};
|
|
4009
4882
|
},
|
|
4010
|
-
}
|
|
4011
|
-
};
|
|
4012
|
-
|
|
4013
|
-
/**
|
|
4014
|
-
* BusinessApi - functional programming interface
|
|
4015
|
-
* @export
|
|
4016
|
-
*/
|
|
4017
|
-
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
4018
|
-
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
4019
|
-
return {
|
|
4020
|
-
/**
|
|
4021
|
-
*
|
|
4022
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
4023
|
-
* @param {*} [options] Override http request option.
|
|
4024
|
-
* @throws {RequiredError}
|
|
4025
|
-
*/
|
|
4026
|
-
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
4027
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
4028
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4029
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
4030
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4031
|
-
},
|
|
4032
4883
|
/**
|
|
4033
4884
|
*
|
|
4885
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
4034
4886
|
* @param {*} [options] Override http request option.
|
|
4035
4887
|
* @throws {RequiredError}
|
|
4036
4888
|
*/
|
|
4037
|
-
async
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
const
|
|
4041
|
-
|
|
4889
|
+
businessTypeControllerMarkBusinessAsFavorite: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4890
|
+
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
4891
|
+
assertParamExists('businessTypeControllerMarkBusinessAsFavorite', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
4892
|
+
const localVarPath = `/v1/business/favorite`;
|
|
4893
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4894
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4895
|
+
let baseOptions;
|
|
4896
|
+
if (configuration) {
|
|
4897
|
+
baseOptions = configuration.baseOptions;
|
|
4898
|
+
}
|
|
4899
|
+
|
|
4900
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4901
|
+
const localVarHeaderParameter = {} as any;
|
|
4902
|
+
const localVarQueryParameter = {} as any;
|
|
4903
|
+
|
|
4904
|
+
// authentication bearer required
|
|
4905
|
+
// http bearer authentication required
|
|
4906
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4907
|
+
|
|
4908
|
+
|
|
4909
|
+
|
|
4910
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4911
|
+
|
|
4912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4914
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4915
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
4916
|
+
|
|
4917
|
+
return {
|
|
4918
|
+
url: toPathString(localVarUrlObj),
|
|
4919
|
+
options: localVarRequestOptions,
|
|
4920
|
+
};
|
|
4042
4921
|
},
|
|
4043
4922
|
/**
|
|
4044
4923
|
*
|
|
4924
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
4045
4925
|
* @param {*} [options] Override http request option.
|
|
4046
4926
|
* @throws {RequiredError}
|
|
4047
4927
|
*/
|
|
4048
|
-
async
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
const
|
|
4052
|
-
|
|
4928
|
+
businessTypeControllerUnFavoriteBusiness: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4929
|
+
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
4930
|
+
assertParamExists('businessTypeControllerUnFavoriteBusiness', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
4931
|
+
const localVarPath = `/v1/business/unfavorite`;
|
|
4932
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4934
|
+
let baseOptions;
|
|
4935
|
+
if (configuration) {
|
|
4936
|
+
baseOptions = configuration.baseOptions;
|
|
4937
|
+
}
|
|
4938
|
+
|
|
4939
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4940
|
+
const localVarHeaderParameter = {} as any;
|
|
4941
|
+
const localVarQueryParameter = {} as any;
|
|
4942
|
+
|
|
4943
|
+
// authentication bearer required
|
|
4944
|
+
// http bearer authentication required
|
|
4945
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4946
|
+
|
|
4947
|
+
|
|
4948
|
+
|
|
4949
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4950
|
+
|
|
4951
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4952
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4953
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4954
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
4955
|
+
|
|
4956
|
+
return {
|
|
4957
|
+
url: toPathString(localVarUrlObj),
|
|
4958
|
+
options: localVarRequestOptions,
|
|
4959
|
+
};
|
|
4960
|
+
},
|
|
4961
|
+
/**
|
|
4962
|
+
*
|
|
4963
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
4964
|
+
* @param {string} businessNumber
|
|
4965
|
+
* @param {*} [options] Override http request option.
|
|
4966
|
+
* @throws {RequiredError}
|
|
4967
|
+
*/
|
|
4968
|
+
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4969
|
+
// verify required parameter 'type' is not null or undefined
|
|
4970
|
+
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
4971
|
+
// verify required parameter 'businessNumber' is not null or undefined
|
|
4972
|
+
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
4973
|
+
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
4974
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
4975
|
+
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
4976
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4977
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4978
|
+
let baseOptions;
|
|
4979
|
+
if (configuration) {
|
|
4980
|
+
baseOptions = configuration.baseOptions;
|
|
4981
|
+
}
|
|
4982
|
+
|
|
4983
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4984
|
+
const localVarHeaderParameter = {} as any;
|
|
4985
|
+
const localVarQueryParameter = {} as any;
|
|
4986
|
+
|
|
4987
|
+
|
|
4988
|
+
|
|
4989
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4990
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4991
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4992
|
+
|
|
4993
|
+
return {
|
|
4994
|
+
url: toPathString(localVarUrlObj),
|
|
4995
|
+
options: localVarRequestOptions,
|
|
4996
|
+
};
|
|
4997
|
+
},
|
|
4998
|
+
}
|
|
4999
|
+
};
|
|
5000
|
+
|
|
5001
|
+
/**
|
|
5002
|
+
* BusinessApi - functional programming interface
|
|
5003
|
+
* @export
|
|
5004
|
+
*/
|
|
5005
|
+
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
5006
|
+
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
5007
|
+
return {
|
|
5008
|
+
/**
|
|
5009
|
+
*
|
|
5010
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
5011
|
+
* @param {*} [options] Override http request option.
|
|
5012
|
+
* @throws {RequiredError}
|
|
5013
|
+
*/
|
|
5014
|
+
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
5015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
5016
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5017
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
5018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5019
|
+
},
|
|
5020
|
+
/**
|
|
5021
|
+
*
|
|
5022
|
+
* @param {*} [options] Override http request option.
|
|
5023
|
+
* @throws {RequiredError}
|
|
5024
|
+
*/
|
|
5025
|
+
async businessControllerGetMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
5026
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerGetMe(options);
|
|
5027
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5028
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
5029
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5030
|
+
},
|
|
5031
|
+
/**
|
|
5032
|
+
*
|
|
5033
|
+
* @param {*} [options] Override http request option.
|
|
5034
|
+
* @throws {RequiredError}
|
|
5035
|
+
*/
|
|
5036
|
+
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
|
|
5037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
|
|
5038
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5039
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
5040
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5041
|
+
},
|
|
5042
|
+
/**
|
|
5043
|
+
*
|
|
5044
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
5045
|
+
* @param {*} [options] Override http request option.
|
|
5046
|
+
* @throws {RequiredError}
|
|
5047
|
+
*/
|
|
5048
|
+
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
5049
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
|
|
5050
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5051
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
5052
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4053
5053
|
},
|
|
4054
5054
|
/**
|
|
4055
5055
|
*
|
|
@@ -4064,12 +5064,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
4064
5064
|
},
|
|
4065
5065
|
/**
|
|
4066
5066
|
*
|
|
4067
|
-
* @param {string}
|
|
5067
|
+
* @param {string} businessTypeId ID of the business type
|
|
4068
5068
|
* @param {*} [options] Override http request option.
|
|
4069
5069
|
* @throws {RequiredError}
|
|
4070
5070
|
*/
|
|
4071
|
-
async businessTypeControllerListCategories(
|
|
4072
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(
|
|
5071
|
+
async businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
5072
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessTypeId, options);
|
|
4073
5073
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4074
5074
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
4075
5075
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4096,6 +5096,43 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
4096
5096
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
4097
5097
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4098
5098
|
},
|
|
5099
|
+
/**
|
|
5100
|
+
*
|
|
5101
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
5102
|
+
* @param {*} [options] Override http request option.
|
|
5103
|
+
* @throws {RequiredError}
|
|
5104
|
+
*/
|
|
5105
|
+
async businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteResponse>> {
|
|
5106
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options);
|
|
5107
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5108
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerMarkBusinessAsFavorite']?.[localVarOperationServerIndex]?.url;
|
|
5109
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5110
|
+
},
|
|
5111
|
+
/**
|
|
5112
|
+
*
|
|
5113
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
5114
|
+
* @param {*} [options] Override http request option.
|
|
5115
|
+
* @throws {RequiredError}
|
|
5116
|
+
*/
|
|
5117
|
+
async businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessUnFavoriteResponse>> {
|
|
5118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options);
|
|
5119
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5120
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerUnFavoriteBusiness']?.[localVarOperationServerIndex]?.url;
|
|
5121
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5122
|
+
},
|
|
5123
|
+
/**
|
|
5124
|
+
*
|
|
5125
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
5126
|
+
* @param {string} businessNumber
|
|
5127
|
+
* @param {*} [options] Override http request option.
|
|
5128
|
+
* @throws {RequiredError}
|
|
5129
|
+
*/
|
|
5130
|
+
async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
|
|
5131
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
|
|
5132
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5133
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
5134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5135
|
+
},
|
|
4099
5136
|
}
|
|
4100
5137
|
};
|
|
4101
5138
|
|
|
@@ -4128,9 +5165,18 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
4128
5165
|
* @param {*} [options] Override http request option.
|
|
4129
5166
|
* @throws {RequiredError}
|
|
4130
5167
|
*/
|
|
4131
|
-
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
5168
|
+
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
4132
5169
|
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
4133
5170
|
},
|
|
5171
|
+
/**
|
|
5172
|
+
*
|
|
5173
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
5174
|
+
* @param {*} [options] Override http request option.
|
|
5175
|
+
* @throws {RequiredError}
|
|
5176
|
+
*/
|
|
5177
|
+
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
5178
|
+
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
5179
|
+
},
|
|
4134
5180
|
/**
|
|
4135
5181
|
*
|
|
4136
5182
|
* @param {*} [options] Override http request option.
|
|
@@ -4141,12 +5187,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
4141
5187
|
},
|
|
4142
5188
|
/**
|
|
4143
5189
|
*
|
|
4144
|
-
* @param {string}
|
|
5190
|
+
* @param {string} businessTypeId ID of the business type
|
|
4145
5191
|
* @param {*} [options] Override http request option.
|
|
4146
5192
|
* @throws {RequiredError}
|
|
4147
5193
|
*/
|
|
4148
|
-
businessTypeControllerListCategories(
|
|
4149
|
-
return localVarFp.businessTypeControllerListCategories(
|
|
5194
|
+
businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
5195
|
+
return localVarFp.businessTypeControllerListCategories(businessTypeId, options).then((request) => request(axios, basePath));
|
|
4150
5196
|
},
|
|
4151
5197
|
/**
|
|
4152
5198
|
*
|
|
@@ -4164,6 +5210,34 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
4164
5210
|
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
4165
5211
|
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
4166
5212
|
},
|
|
5213
|
+
/**
|
|
5214
|
+
*
|
|
5215
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
5216
|
+
* @param {*} [options] Override http request option.
|
|
5217
|
+
* @throws {RequiredError}
|
|
5218
|
+
*/
|
|
5219
|
+
businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponse> {
|
|
5220
|
+
return localVarFp.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
5221
|
+
},
|
|
5222
|
+
/**
|
|
5223
|
+
*
|
|
5224
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
5225
|
+
* @param {*} [options] Override http request option.
|
|
5226
|
+
* @throws {RequiredError}
|
|
5227
|
+
*/
|
|
5228
|
+
businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessUnFavoriteResponse> {
|
|
5229
|
+
return localVarFp.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
5230
|
+
},
|
|
5231
|
+
/**
|
|
5232
|
+
*
|
|
5233
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
5234
|
+
* @param {string} businessNumber
|
|
5235
|
+
* @param {*} [options] Override http request option.
|
|
5236
|
+
* @throws {RequiredError}
|
|
5237
|
+
*/
|
|
5238
|
+
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
5239
|
+
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
5240
|
+
},
|
|
4167
5241
|
};
|
|
4168
5242
|
};
|
|
4169
5243
|
|
|
@@ -4205,6 +5279,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
4205
5279
|
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
4206
5280
|
}
|
|
4207
5281
|
|
|
5282
|
+
/**
|
|
5283
|
+
*
|
|
5284
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
5285
|
+
* @param {*} [options] Override http request option.
|
|
5286
|
+
* @throws {RequiredError}
|
|
5287
|
+
* @memberof BusinessApi
|
|
5288
|
+
*/
|
|
5289
|
+
public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
|
|
5290
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
5291
|
+
}
|
|
5292
|
+
|
|
4208
5293
|
/**
|
|
4209
5294
|
*
|
|
4210
5295
|
* @param {*} [options] Override http request option.
|
|
@@ -4217,13 +5302,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
4217
5302
|
|
|
4218
5303
|
/**
|
|
4219
5304
|
*
|
|
4220
|
-
* @param {string}
|
|
5305
|
+
* @param {string} businessTypeId ID of the business type
|
|
4221
5306
|
* @param {*} [options] Override http request option.
|
|
4222
5307
|
* @throws {RequiredError}
|
|
4223
5308
|
* @memberof BusinessApi
|
|
4224
5309
|
*/
|
|
4225
|
-
public businessTypeControllerListCategories(
|
|
4226
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(
|
|
5310
|
+
public businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig) {
|
|
5311
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
4227
5312
|
}
|
|
4228
5313
|
|
|
4229
5314
|
/**
|
|
@@ -4245,116 +5330,39 @@ export class BusinessApi extends BaseAPI {
|
|
|
4245
5330
|
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
4246
5331
|
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
4247
5332
|
}
|
|
4248
|
-
}
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
/**
|
|
4253
|
-
* BusinessVerificationApi - axios parameter creator
|
|
4254
|
-
* @export
|
|
4255
|
-
*/
|
|
4256
|
-
export const BusinessVerificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4257
|
-
return {
|
|
4258
|
-
/**
|
|
4259
|
-
*
|
|
4260
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
4261
|
-
* @param {string} businessNumber
|
|
4262
|
-
* @param {*} [options] Override http request option.
|
|
4263
|
-
* @throws {RequiredError}
|
|
4264
|
-
*/
|
|
4265
|
-
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4266
|
-
// verify required parameter 'type' is not null or undefined
|
|
4267
|
-
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
4268
|
-
// verify required parameter 'businessNumber' is not null or undefined
|
|
4269
|
-
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
4270
|
-
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
4271
|
-
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
4272
|
-
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
4273
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4274
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4275
|
-
let baseOptions;
|
|
4276
|
-
if (configuration) {
|
|
4277
|
-
baseOptions = configuration.baseOptions;
|
|
4278
|
-
}
|
|
4279
|
-
|
|
4280
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4281
|
-
const localVarHeaderParameter = {} as any;
|
|
4282
|
-
const localVarQueryParameter = {} as any;
|
|
4283
|
-
|
|
4284
5333
|
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
},
|
|
5334
|
+
/**
|
|
5335
|
+
*
|
|
5336
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
5337
|
+
* @param {*} [options] Override http request option.
|
|
5338
|
+
* @throws {RequiredError}
|
|
5339
|
+
* @memberof BusinessApi
|
|
5340
|
+
*/
|
|
5341
|
+
public businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
5342
|
+
return BusinessApiFp(this.configuration).businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4295
5343
|
}
|
|
4296
|
-
};
|
|
4297
5344
|
|
|
4298
|
-
/**
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
4308
|
-
* @param {string} businessNumber
|
|
4309
|
-
* @param {*} [options] Override http request option.
|
|
4310
|
-
* @throws {RequiredError}
|
|
4311
|
-
*/
|
|
4312
|
-
async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
|
|
4313
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
|
|
4314
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4315
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessVerificationApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
4316
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4317
|
-
},
|
|
5345
|
+
/**
|
|
5346
|
+
*
|
|
5347
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
5348
|
+
* @param {*} [options] Override http request option.
|
|
5349
|
+
* @throws {RequiredError}
|
|
5350
|
+
* @memberof BusinessApi
|
|
5351
|
+
*/
|
|
5352
|
+
public businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
5353
|
+
return BusinessApiFp(this.configuration).businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4318
5354
|
}
|
|
4319
|
-
};
|
|
4320
5355
|
|
|
4321
|
-
/**
|
|
4322
|
-
* BusinessVerificationApi - factory interface
|
|
4323
|
-
* @export
|
|
4324
|
-
*/
|
|
4325
|
-
export const BusinessVerificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4326
|
-
const localVarFp = BusinessVerificationApiFp(configuration)
|
|
4327
|
-
return {
|
|
4328
|
-
/**
|
|
4329
|
-
*
|
|
4330
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
4331
|
-
* @param {string} businessNumber
|
|
4332
|
-
* @param {*} [options] Override http request option.
|
|
4333
|
-
* @throws {RequiredError}
|
|
4334
|
-
*/
|
|
4335
|
-
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
4336
|
-
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
4337
|
-
},
|
|
4338
|
-
};
|
|
4339
|
-
};
|
|
4340
|
-
|
|
4341
|
-
/**
|
|
4342
|
-
* BusinessVerificationApi - object-oriented interface
|
|
4343
|
-
* @export
|
|
4344
|
-
* @class BusinessVerificationApi
|
|
4345
|
-
* @extends {BaseAPI}
|
|
4346
|
-
*/
|
|
4347
|
-
export class BusinessVerificationApi extends BaseAPI {
|
|
4348
5356
|
/**
|
|
4349
5357
|
*
|
|
4350
5358
|
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
4351
5359
|
* @param {string} businessNumber
|
|
4352
5360
|
* @param {*} [options] Override http request option.
|
|
4353
5361
|
* @throws {RequiredError}
|
|
4354
|
-
* @memberof
|
|
5362
|
+
* @memberof BusinessApi
|
|
4355
5363
|
*/
|
|
4356
5364
|
public businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig) {
|
|
4357
|
-
return
|
|
5365
|
+
return BusinessApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
|
|
4358
5366
|
}
|
|
4359
5367
|
}
|
|
4360
5368
|
|
|
@@ -6717,22 +7725,249 @@ export class LocationApi extends BaseAPI {
|
|
|
6717
7725
|
|
|
6718
7726
|
|
|
6719
7727
|
/**
|
|
6720
|
-
*
|
|
7728
|
+
* NotificationApi - axios parameter creator
|
|
6721
7729
|
* @export
|
|
6722
7730
|
*/
|
|
6723
|
-
export const
|
|
7731
|
+
export const NotificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
6724
7732
|
return {
|
|
6725
7733
|
/**
|
|
6726
7734
|
*
|
|
6727
|
-
* @param {
|
|
7735
|
+
* @param {number} page
|
|
7736
|
+
* @param {number} pageSize
|
|
6728
7737
|
* @param {*} [options] Override http request option.
|
|
6729
7738
|
* @throws {RequiredError}
|
|
6730
7739
|
*/
|
|
6731
|
-
|
|
6732
|
-
// verify required parameter '
|
|
6733
|
-
assertParamExists('
|
|
6734
|
-
|
|
6735
|
-
|
|
7740
|
+
notificationControllerGetNotification: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7741
|
+
// verify required parameter 'page' is not null or undefined
|
|
7742
|
+
assertParamExists('notificationControllerGetNotification', 'page', page)
|
|
7743
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
7744
|
+
assertParamExists('notificationControllerGetNotification', 'pageSize', pageSize)
|
|
7745
|
+
const localVarPath = `/v1/notification`;
|
|
7746
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7747
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7748
|
+
let baseOptions;
|
|
7749
|
+
if (configuration) {
|
|
7750
|
+
baseOptions = configuration.baseOptions;
|
|
7751
|
+
}
|
|
7752
|
+
|
|
7753
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7754
|
+
const localVarHeaderParameter = {} as any;
|
|
7755
|
+
const localVarQueryParameter = {} as any;
|
|
7756
|
+
|
|
7757
|
+
// authentication bearer required
|
|
7758
|
+
// http bearer authentication required
|
|
7759
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7760
|
+
|
|
7761
|
+
if (page !== undefined) {
|
|
7762
|
+
localVarQueryParameter['page'] = page;
|
|
7763
|
+
}
|
|
7764
|
+
|
|
7765
|
+
if (pageSize !== undefined) {
|
|
7766
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
7767
|
+
}
|
|
7768
|
+
|
|
7769
|
+
|
|
7770
|
+
|
|
7771
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7772
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7773
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7774
|
+
|
|
7775
|
+
return {
|
|
7776
|
+
url: toPathString(localVarUrlObj),
|
|
7777
|
+
options: localVarRequestOptions,
|
|
7778
|
+
};
|
|
7779
|
+
},
|
|
7780
|
+
/**
|
|
7781
|
+
*
|
|
7782
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
7783
|
+
* @param {*} [options] Override http request option.
|
|
7784
|
+
* @throws {RequiredError}
|
|
7785
|
+
*/
|
|
7786
|
+
notificationControllerReadNotification: async (notificationReadDTO: NotificationReadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7787
|
+
// verify required parameter 'notificationReadDTO' is not null or undefined
|
|
7788
|
+
assertParamExists('notificationControllerReadNotification', 'notificationReadDTO', notificationReadDTO)
|
|
7789
|
+
const localVarPath = `/v1/notification/read`;
|
|
7790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7791
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7792
|
+
let baseOptions;
|
|
7793
|
+
if (configuration) {
|
|
7794
|
+
baseOptions = configuration.baseOptions;
|
|
7795
|
+
}
|
|
7796
|
+
|
|
7797
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7798
|
+
const localVarHeaderParameter = {} as any;
|
|
7799
|
+
const localVarQueryParameter = {} as any;
|
|
7800
|
+
|
|
7801
|
+
// authentication bearer required
|
|
7802
|
+
// http bearer authentication required
|
|
7803
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7804
|
+
|
|
7805
|
+
|
|
7806
|
+
|
|
7807
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7808
|
+
|
|
7809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7811
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7812
|
+
localVarRequestOptions.data = serializeDataIfNeeded(notificationReadDTO, localVarRequestOptions, configuration)
|
|
7813
|
+
|
|
7814
|
+
return {
|
|
7815
|
+
url: toPathString(localVarUrlObj),
|
|
7816
|
+
options: localVarRequestOptions,
|
|
7817
|
+
};
|
|
7818
|
+
},
|
|
7819
|
+
}
|
|
7820
|
+
};
|
|
7821
|
+
|
|
7822
|
+
/**
|
|
7823
|
+
* NotificationApi - functional programming interface
|
|
7824
|
+
* @export
|
|
7825
|
+
*/
|
|
7826
|
+
export const NotificationApiFp = function(configuration?: Configuration) {
|
|
7827
|
+
const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration)
|
|
7828
|
+
return {
|
|
7829
|
+
/**
|
|
7830
|
+
*
|
|
7831
|
+
* @param {number} page
|
|
7832
|
+
* @param {number} pageSize
|
|
7833
|
+
* @param {*} [options] Override http request option.
|
|
7834
|
+
* @throws {RequiredError}
|
|
7835
|
+
*/
|
|
7836
|
+
async notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationDTO>> {
|
|
7837
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerGetNotification(page, pageSize, options);
|
|
7838
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7839
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerGetNotification']?.[localVarOperationServerIndex]?.url;
|
|
7840
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7841
|
+
},
|
|
7842
|
+
/**
|
|
7843
|
+
*
|
|
7844
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
7845
|
+
* @param {*} [options] Override http request option.
|
|
7846
|
+
* @throws {RequiredError}
|
|
7847
|
+
*/
|
|
7848
|
+
async notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationReadResponseDTO>> {
|
|
7849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerReadNotification(notificationReadDTO, options);
|
|
7850
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7851
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerReadNotification']?.[localVarOperationServerIndex]?.url;
|
|
7852
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7853
|
+
},
|
|
7854
|
+
}
|
|
7855
|
+
};
|
|
7856
|
+
|
|
7857
|
+
/**
|
|
7858
|
+
* NotificationApi - factory interface
|
|
7859
|
+
* @export
|
|
7860
|
+
*/
|
|
7861
|
+
export const NotificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
7862
|
+
const localVarFp = NotificationApiFp(configuration)
|
|
7863
|
+
return {
|
|
7864
|
+
/**
|
|
7865
|
+
*
|
|
7866
|
+
* @param {number} page
|
|
7867
|
+
* @param {number} pageSize
|
|
7868
|
+
* @param {*} [options] Override http request option.
|
|
7869
|
+
* @throws {RequiredError}
|
|
7870
|
+
*/
|
|
7871
|
+
notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
7872
|
+
return localVarFp.notificationControllerGetNotification(page, pageSize, options).then((request) => request(axios, basePath));
|
|
7873
|
+
},
|
|
7874
|
+
/**
|
|
7875
|
+
*
|
|
7876
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
7877
|
+
* @param {*} [options] Override http request option.
|
|
7878
|
+
* @throws {RequiredError}
|
|
7879
|
+
*/
|
|
7880
|
+
notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NotificationReadResponseDTO> {
|
|
7881
|
+
return localVarFp.notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(axios, basePath));
|
|
7882
|
+
},
|
|
7883
|
+
};
|
|
7884
|
+
};
|
|
7885
|
+
|
|
7886
|
+
/**
|
|
7887
|
+
* NotificationApi - object-oriented interface
|
|
7888
|
+
* @export
|
|
7889
|
+
* @class NotificationApi
|
|
7890
|
+
* @extends {BaseAPI}
|
|
7891
|
+
*/
|
|
7892
|
+
export class NotificationApi extends BaseAPI {
|
|
7893
|
+
/**
|
|
7894
|
+
*
|
|
7895
|
+
* @param {number} page
|
|
7896
|
+
* @param {number} pageSize
|
|
7897
|
+
* @param {*} [options] Override http request option.
|
|
7898
|
+
* @throws {RequiredError}
|
|
7899
|
+
* @memberof NotificationApi
|
|
7900
|
+
*/
|
|
7901
|
+
public notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
|
|
7902
|
+
return NotificationApiFp(this.configuration).notificationControllerGetNotification(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
7903
|
+
}
|
|
7904
|
+
|
|
7905
|
+
/**
|
|
7906
|
+
*
|
|
7907
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
7908
|
+
* @param {*} [options] Override http request option.
|
|
7909
|
+
* @throws {RequiredError}
|
|
7910
|
+
* @memberof NotificationApi
|
|
7911
|
+
*/
|
|
7912
|
+
public notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig) {
|
|
7913
|
+
return NotificationApiFp(this.configuration).notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7914
|
+
}
|
|
7915
|
+
}
|
|
7916
|
+
|
|
7917
|
+
|
|
7918
|
+
|
|
7919
|
+
/**
|
|
7920
|
+
* OAuthApi - axios parameter creator
|
|
7921
|
+
* @export
|
|
7922
|
+
*/
|
|
7923
|
+
export const OAuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
7924
|
+
return {
|
|
7925
|
+
/**
|
|
7926
|
+
*
|
|
7927
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
7928
|
+
* @param {*} [options] Override http request option.
|
|
7929
|
+
* @throws {RequiredError}
|
|
7930
|
+
*/
|
|
7931
|
+
oAuthControllerValidateAppleToken: async (appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7932
|
+
// verify required parameter 'appleVerificationPayloadDTO' is not null or undefined
|
|
7933
|
+
assertParamExists('oAuthControllerValidateAppleToken', 'appleVerificationPayloadDTO', appleVerificationPayloadDTO)
|
|
7934
|
+
const localVarPath = `/v1/oauth/apple`;
|
|
7935
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7936
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7937
|
+
let baseOptions;
|
|
7938
|
+
if (configuration) {
|
|
7939
|
+
baseOptions = configuration.baseOptions;
|
|
7940
|
+
}
|
|
7941
|
+
|
|
7942
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7943
|
+
const localVarHeaderParameter = {} as any;
|
|
7944
|
+
const localVarQueryParameter = {} as any;
|
|
7945
|
+
|
|
7946
|
+
|
|
7947
|
+
|
|
7948
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7949
|
+
|
|
7950
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7951
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7952
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7953
|
+
localVarRequestOptions.data = serializeDataIfNeeded(appleVerificationPayloadDTO, localVarRequestOptions, configuration)
|
|
7954
|
+
|
|
7955
|
+
return {
|
|
7956
|
+
url: toPathString(localVarUrlObj),
|
|
7957
|
+
options: localVarRequestOptions,
|
|
7958
|
+
};
|
|
7959
|
+
},
|
|
7960
|
+
/**
|
|
7961
|
+
*
|
|
7962
|
+
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
7963
|
+
* @param {*} [options] Override http request option.
|
|
7964
|
+
* @throws {RequiredError}
|
|
7965
|
+
*/
|
|
7966
|
+
oAuthControllerValidateGoogleToken: async (googleVerificationPayloadDTO: GoogleVerificationPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7967
|
+
// verify required parameter 'googleVerificationPayloadDTO' is not null or undefined
|
|
7968
|
+
assertParamExists('oAuthControllerValidateGoogleToken', 'googleVerificationPayloadDTO', googleVerificationPayloadDTO)
|
|
7969
|
+
const localVarPath = `/v1/oauth/google`;
|
|
7970
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6736
7971
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6737
7972
|
let baseOptions;
|
|
6738
7973
|
if (configuration) {
|
|
@@ -6802,6 +8037,18 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6802
8037
|
export const OAuthApiFp = function(configuration?: Configuration) {
|
|
6803
8038
|
const localVarAxiosParamCreator = OAuthApiAxiosParamCreator(configuration)
|
|
6804
8039
|
return {
|
|
8040
|
+
/**
|
|
8041
|
+
*
|
|
8042
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
8043
|
+
* @param {*} [options] Override http request option.
|
|
8044
|
+
* @throws {RequiredError}
|
|
8045
|
+
*/
|
|
8046
|
+
async oAuthControllerValidateAppleToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppleOAuthResponseDTO>> {
|
|
8047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.oAuthControllerValidateAppleToken(appleVerificationPayloadDTO, options);
|
|
8048
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8049
|
+
const localVarOperationServerBasePath = operationServerMap['OAuthApi.oAuthControllerValidateAppleToken']?.[localVarOperationServerIndex]?.url;
|
|
8050
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8051
|
+
},
|
|
6805
8052
|
/**
|
|
6806
8053
|
*
|
|
6807
8054
|
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
@@ -6836,6 +8083,15 @@ export const OAuthApiFp = function(configuration?: Configuration) {
|
|
|
6836
8083
|
export const OAuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
6837
8084
|
const localVarFp = OAuthApiFp(configuration)
|
|
6838
8085
|
return {
|
|
8086
|
+
/**
|
|
8087
|
+
*
|
|
8088
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
8089
|
+
* @param {*} [options] Override http request option.
|
|
8090
|
+
* @throws {RequiredError}
|
|
8091
|
+
*/
|
|
8092
|
+
oAuthControllerValidateAppleToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<AppleOAuthResponseDTO> {
|
|
8093
|
+
return localVarFp.oAuthControllerValidateAppleToken(appleVerificationPayloadDTO, options).then((request) => request(axios, basePath));
|
|
8094
|
+
},
|
|
6839
8095
|
/**
|
|
6840
8096
|
*
|
|
6841
8097
|
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
@@ -6864,6 +8120,17 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
|
|
|
6864
8120
|
* @extends {BaseAPI}
|
|
6865
8121
|
*/
|
|
6866
8122
|
export class OAuthApi extends BaseAPI {
|
|
8123
|
+
/**
|
|
8124
|
+
*
|
|
8125
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
8126
|
+
* @param {*} [options] Override http request option.
|
|
8127
|
+
* @throws {RequiredError}
|
|
8128
|
+
* @memberof OAuthApi
|
|
8129
|
+
*/
|
|
8130
|
+
public oAuthControllerValidateAppleToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
8131
|
+
return OAuthApiFp(this.configuration).oAuthControllerValidateAppleToken(appleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8132
|
+
}
|
|
8133
|
+
|
|
6867
8134
|
/**
|
|
6868
8135
|
*
|
|
6869
8136
|
* @param {GoogleVerificationPayloadDTO} googleVerificationPayloadDTO
|
|
@@ -6932,14 +8199,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6932
8199
|
},
|
|
6933
8200
|
/**
|
|
6934
8201
|
*
|
|
6935
|
-
* @param {string} planId Strip Plan ID
|
|
6936
8202
|
* @param {*} [options] Override http request option.
|
|
6937
8203
|
* @throws {RequiredError}
|
|
6938
8204
|
*/
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
assertParamExists('paymentControllerGetPaymentSecretForIntent', 'planId', planId)
|
|
6942
|
-
const localVarPath = `/v1/payment/payment-secret-for-intent`;
|
|
8205
|
+
paymentControllerCreateSetupIntent: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8206
|
+
const localVarPath = `/v1/payment/create-setup-intent`;
|
|
6943
8207
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6944
8208
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6945
8209
|
let baseOptions;
|
|
@@ -6951,14 +8215,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6951
8215
|
const localVarHeaderParameter = {} as any;
|
|
6952
8216
|
const localVarQueryParameter = {} as any;
|
|
6953
8217
|
|
|
6954
|
-
// authentication bearer required
|
|
6955
|
-
// http bearer authentication required
|
|
6956
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6957
|
-
|
|
6958
|
-
if (planId !== undefined) {
|
|
6959
|
-
localVarQueryParameter['planId'] = planId;
|
|
6960
|
-
}
|
|
6961
|
-
|
|
6962
8218
|
|
|
6963
8219
|
|
|
6964
8220
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6999,6 +8255,45 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6999
8255
|
options: localVarRequestOptions,
|
|
7000
8256
|
};
|
|
7001
8257
|
},
|
|
8258
|
+
/**
|
|
8259
|
+
*
|
|
8260
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
8261
|
+
* @param {*} [options] Override http request option.
|
|
8262
|
+
* @throws {RequiredError}
|
|
8263
|
+
*/
|
|
8264
|
+
paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8265
|
+
// verify required parameter 'planUpsertPayloadDTO' is not null or undefined
|
|
8266
|
+
assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
|
|
8267
|
+
const localVarPath = `/v1/payment/plan`;
|
|
8268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8269
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8270
|
+
let baseOptions;
|
|
8271
|
+
if (configuration) {
|
|
8272
|
+
baseOptions = configuration.baseOptions;
|
|
8273
|
+
}
|
|
8274
|
+
|
|
8275
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8276
|
+
const localVarHeaderParameter = {} as any;
|
|
8277
|
+
const localVarQueryParameter = {} as any;
|
|
8278
|
+
|
|
8279
|
+
// authentication bearer required
|
|
8280
|
+
// http bearer authentication required
|
|
8281
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8282
|
+
|
|
8283
|
+
|
|
8284
|
+
|
|
8285
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8286
|
+
|
|
8287
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8288
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8289
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8290
|
+
localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
|
|
8291
|
+
|
|
8292
|
+
return {
|
|
8293
|
+
url: toPathString(localVarUrlObj),
|
|
8294
|
+
options: localVarRequestOptions,
|
|
8295
|
+
};
|
|
8296
|
+
},
|
|
7002
8297
|
/**
|
|
7003
8298
|
*
|
|
7004
8299
|
* @param {string} stripeSignature
|
|
@@ -7059,14 +8354,13 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
7059
8354
|
},
|
|
7060
8355
|
/**
|
|
7061
8356
|
*
|
|
7062
|
-
* @param {string} planId Strip Plan ID
|
|
7063
8357
|
* @param {*} [options] Override http request option.
|
|
7064
8358
|
* @throws {RequiredError}
|
|
7065
8359
|
*/
|
|
7066
|
-
async
|
|
7067
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8360
|
+
async paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeSetupIntentResponseDTO>> {
|
|
8361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreateSetupIntent(options);
|
|
7068
8362
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7069
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
8363
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateSetupIntent']?.[localVarOperationServerIndex]?.url;
|
|
7070
8364
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7071
8365
|
},
|
|
7072
8366
|
/**
|
|
@@ -7080,6 +8374,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
7080
8374
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
|
|
7081
8375
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7082
8376
|
},
|
|
8377
|
+
/**
|
|
8378
|
+
*
|
|
8379
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
8380
|
+
* @param {*} [options] Override http request option.
|
|
8381
|
+
* @throws {RequiredError}
|
|
8382
|
+
*/
|
|
8383
|
+
async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
|
|
8384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
|
|
8385
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8386
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
|
|
8387
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8388
|
+
},
|
|
7083
8389
|
/**
|
|
7084
8390
|
*
|
|
7085
8391
|
* @param {string} stripeSignature
|
|
@@ -7113,12 +8419,11 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
7113
8419
|
},
|
|
7114
8420
|
/**
|
|
7115
8421
|
*
|
|
7116
|
-
* @param {string} planId Strip Plan ID
|
|
7117
8422
|
* @param {*} [options] Override http request option.
|
|
7118
8423
|
* @throws {RequiredError}
|
|
7119
8424
|
*/
|
|
7120
|
-
|
|
7121
|
-
return localVarFp.
|
|
8425
|
+
paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentResponseDTO> {
|
|
8426
|
+
return localVarFp.paymentControllerCreateSetupIntent(options).then((request) => request(axios, basePath));
|
|
7122
8427
|
},
|
|
7123
8428
|
/**
|
|
7124
8429
|
*
|
|
@@ -7128,6 +8433,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
7128
8433
|
paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
|
|
7129
8434
|
return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
|
|
7130
8435
|
},
|
|
8436
|
+
/**
|
|
8437
|
+
*
|
|
8438
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
8439
|
+
* @param {*} [options] Override http request option.
|
|
8440
|
+
* @throws {RequiredError}
|
|
8441
|
+
*/
|
|
8442
|
+
paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
|
|
8443
|
+
return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
|
|
8444
|
+
},
|
|
7131
8445
|
/**
|
|
7132
8446
|
*
|
|
7133
8447
|
* @param {string} stripeSignature
|
|
@@ -7160,13 +8474,12 @@ export class PlansApi extends BaseAPI {
|
|
|
7160
8474
|
|
|
7161
8475
|
/**
|
|
7162
8476
|
*
|
|
7163
|
-
* @param {string} planId Strip Plan ID
|
|
7164
8477
|
* @param {*} [options] Override http request option.
|
|
7165
8478
|
* @throws {RequiredError}
|
|
7166
8479
|
* @memberof PlansApi
|
|
7167
8480
|
*/
|
|
7168
|
-
public
|
|
7169
|
-
return PlansApiFp(this.configuration).
|
|
8481
|
+
public paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig) {
|
|
8482
|
+
return PlansApiFp(this.configuration).paymentControllerCreateSetupIntent(options).then((request) => request(this.axios, this.basePath));
|
|
7170
8483
|
}
|
|
7171
8484
|
|
|
7172
8485
|
/**
|
|
@@ -7179,6 +8492,17 @@ export class PlansApi extends BaseAPI {
|
|
|
7179
8492
|
return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
|
|
7180
8493
|
}
|
|
7181
8494
|
|
|
8495
|
+
/**
|
|
8496
|
+
*
|
|
8497
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
8498
|
+
* @param {*} [options] Override http request option.
|
|
8499
|
+
* @throws {RequiredError}
|
|
8500
|
+
* @memberof PlansApi
|
|
8501
|
+
*/
|
|
8502
|
+
public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
8503
|
+
return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8504
|
+
}
|
|
8505
|
+
|
|
7182
8506
|
/**
|
|
7183
8507
|
*
|
|
7184
8508
|
* @param {string} stripeSignature
|
|
@@ -7199,6 +8523,39 @@ export class PlansApi extends BaseAPI {
|
|
|
7199
8523
|
*/
|
|
7200
8524
|
export const UsersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
7201
8525
|
return {
|
|
8526
|
+
/**
|
|
8527
|
+
*
|
|
8528
|
+
* @param {*} [options] Override http request option.
|
|
8529
|
+
* @throws {RequiredError}
|
|
8530
|
+
*/
|
|
8531
|
+
usersControllerDeactivateAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8532
|
+
const localVarPath = `/v1/user/deactivate`;
|
|
8533
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8534
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8535
|
+
let baseOptions;
|
|
8536
|
+
if (configuration) {
|
|
8537
|
+
baseOptions = configuration.baseOptions;
|
|
8538
|
+
}
|
|
8539
|
+
|
|
8540
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
8541
|
+
const localVarHeaderParameter = {} as any;
|
|
8542
|
+
const localVarQueryParameter = {} as any;
|
|
8543
|
+
|
|
8544
|
+
// authentication bearer required
|
|
8545
|
+
// http bearer authentication required
|
|
8546
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8547
|
+
|
|
8548
|
+
|
|
8549
|
+
|
|
8550
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8551
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8552
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8553
|
+
|
|
8554
|
+
return {
|
|
8555
|
+
url: toPathString(localVarUrlObj),
|
|
8556
|
+
options: localVarRequestOptions,
|
|
8557
|
+
};
|
|
8558
|
+
},
|
|
7202
8559
|
/**
|
|
7203
8560
|
*
|
|
7204
8561
|
* @param {*} [options] Override http request option.
|
|
@@ -7232,6 +8589,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7232
8589
|
options: localVarRequestOptions,
|
|
7233
8590
|
};
|
|
7234
8591
|
},
|
|
8592
|
+
/**
|
|
8593
|
+
*
|
|
8594
|
+
* @param {GetUserDTO} getUserDTO
|
|
8595
|
+
* @param {*} [options] Override http request option.
|
|
8596
|
+
* @throws {RequiredError}
|
|
8597
|
+
*/
|
|
8598
|
+
usersControllerGetUser: async (getUserDTO: GetUserDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8599
|
+
// verify required parameter 'getUserDTO' is not null or undefined
|
|
8600
|
+
assertParamExists('usersControllerGetUser', 'getUserDTO', getUserDTO)
|
|
8601
|
+
const localVarPath = `/v1/user/get-user`;
|
|
8602
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8603
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8604
|
+
let baseOptions;
|
|
8605
|
+
if (configuration) {
|
|
8606
|
+
baseOptions = configuration.baseOptions;
|
|
8607
|
+
}
|
|
8608
|
+
|
|
8609
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8610
|
+
const localVarHeaderParameter = {} as any;
|
|
8611
|
+
const localVarQueryParameter = {} as any;
|
|
8612
|
+
|
|
8613
|
+
// authentication bearer required
|
|
8614
|
+
// http bearer authentication required
|
|
8615
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8616
|
+
|
|
8617
|
+
|
|
8618
|
+
|
|
8619
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8620
|
+
|
|
8621
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8622
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8623
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8624
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getUserDTO, localVarRequestOptions, configuration)
|
|
8625
|
+
|
|
8626
|
+
return {
|
|
8627
|
+
url: toPathString(localVarUrlObj),
|
|
8628
|
+
options: localVarRequestOptions,
|
|
8629
|
+
};
|
|
8630
|
+
},
|
|
7235
8631
|
/**
|
|
7236
8632
|
*
|
|
7237
8633
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -7266,6 +8662,84 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7266
8662
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7267
8663
|
localVarRequestOptions.data = serializeDataIfNeeded(onBoardingDTO, localVarRequestOptions, configuration)
|
|
7268
8664
|
|
|
8665
|
+
return {
|
|
8666
|
+
url: toPathString(localVarUrlObj),
|
|
8667
|
+
options: localVarRequestOptions,
|
|
8668
|
+
};
|
|
8669
|
+
},
|
|
8670
|
+
/**
|
|
8671
|
+
*
|
|
8672
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
8673
|
+
* @param {*} [options] Override http request option.
|
|
8674
|
+
* @throws {RequiredError}
|
|
8675
|
+
*/
|
|
8676
|
+
usersControllerSyncUserInfo: async (userSyncDTO: UserSyncDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8677
|
+
// verify required parameter 'userSyncDTO' is not null or undefined
|
|
8678
|
+
assertParamExists('usersControllerSyncUserInfo', 'userSyncDTO', userSyncDTO)
|
|
8679
|
+
const localVarPath = `/v1/user/sync-info`;
|
|
8680
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8681
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8682
|
+
let baseOptions;
|
|
8683
|
+
if (configuration) {
|
|
8684
|
+
baseOptions = configuration.baseOptions;
|
|
8685
|
+
}
|
|
8686
|
+
|
|
8687
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8688
|
+
const localVarHeaderParameter = {} as any;
|
|
8689
|
+
const localVarQueryParameter = {} as any;
|
|
8690
|
+
|
|
8691
|
+
// authentication bearer required
|
|
8692
|
+
// http bearer authentication required
|
|
8693
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8694
|
+
|
|
8695
|
+
|
|
8696
|
+
|
|
8697
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8698
|
+
|
|
8699
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8700
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8701
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8702
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userSyncDTO, localVarRequestOptions, configuration)
|
|
8703
|
+
|
|
8704
|
+
return {
|
|
8705
|
+
url: toPathString(localVarUrlObj),
|
|
8706
|
+
options: localVarRequestOptions,
|
|
8707
|
+
};
|
|
8708
|
+
},
|
|
8709
|
+
/**
|
|
8710
|
+
*
|
|
8711
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
8712
|
+
* @param {*} [options] Override http request option.
|
|
8713
|
+
* @throws {RequiredError}
|
|
8714
|
+
*/
|
|
8715
|
+
usersControllerSyncUserPermissions: async (userPermissionDTO: UserPermissionDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8716
|
+
// verify required parameter 'userPermissionDTO' is not null or undefined
|
|
8717
|
+
assertParamExists('usersControllerSyncUserPermissions', 'userPermissionDTO', userPermissionDTO)
|
|
8718
|
+
const localVarPath = `/v1/user/permissions`;
|
|
8719
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8720
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8721
|
+
let baseOptions;
|
|
8722
|
+
if (configuration) {
|
|
8723
|
+
baseOptions = configuration.baseOptions;
|
|
8724
|
+
}
|
|
8725
|
+
|
|
8726
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
8727
|
+
const localVarHeaderParameter = {} as any;
|
|
8728
|
+
const localVarQueryParameter = {} as any;
|
|
8729
|
+
|
|
8730
|
+
// authentication bearer required
|
|
8731
|
+
// http bearer authentication required
|
|
8732
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8733
|
+
|
|
8734
|
+
|
|
8735
|
+
|
|
8736
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8737
|
+
|
|
8738
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8739
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8740
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8741
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userPermissionDTO, localVarRequestOptions, configuration)
|
|
8742
|
+
|
|
7269
8743
|
return {
|
|
7270
8744
|
url: toPathString(localVarUrlObj),
|
|
7271
8745
|
options: localVarRequestOptions,
|
|
@@ -7281,6 +8755,17 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7281
8755
|
export const UsersApiFp = function(configuration?: Configuration) {
|
|
7282
8756
|
const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration)
|
|
7283
8757
|
return {
|
|
8758
|
+
/**
|
|
8759
|
+
*
|
|
8760
|
+
* @param {*} [options] Override http request option.
|
|
8761
|
+
* @throws {RequiredError}
|
|
8762
|
+
*/
|
|
8763
|
+
async usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
8764
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerDeactivateAccount(options);
|
|
8765
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8766
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeactivateAccount']?.[localVarOperationServerIndex]?.url;
|
|
8767
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8768
|
+
},
|
|
7284
8769
|
/**
|
|
7285
8770
|
*
|
|
7286
8771
|
* @param {*} [options] Override http request option.
|
|
@@ -7292,6 +8777,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
7292
8777
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
7293
8778
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7294
8779
|
},
|
|
8780
|
+
/**
|
|
8781
|
+
*
|
|
8782
|
+
* @param {GetUserDTO} getUserDTO
|
|
8783
|
+
* @param {*} [options] Override http request option.
|
|
8784
|
+
* @throws {RequiredError}
|
|
8785
|
+
*/
|
|
8786
|
+
async usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
8787
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerGetUser(getUserDTO, options);
|
|
8788
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8789
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerGetUser']?.[localVarOperationServerIndex]?.url;
|
|
8790
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8791
|
+
},
|
|
7295
8792
|
/**
|
|
7296
8793
|
*
|
|
7297
8794
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -7304,6 +8801,30 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
7304
8801
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerOnBoarded']?.[localVarOperationServerIndex]?.url;
|
|
7305
8802
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7306
8803
|
},
|
|
8804
|
+
/**
|
|
8805
|
+
*
|
|
8806
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
8807
|
+
* @param {*} [options] Override http request option.
|
|
8808
|
+
* @throws {RequiredError}
|
|
8809
|
+
*/
|
|
8810
|
+
async usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
8811
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserInfo(userSyncDTO, options);
|
|
8812
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8813
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserInfo']?.[localVarOperationServerIndex]?.url;
|
|
8814
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8815
|
+
},
|
|
8816
|
+
/**
|
|
8817
|
+
*
|
|
8818
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
8819
|
+
* @param {*} [options] Override http request option.
|
|
8820
|
+
* @throws {RequiredError}
|
|
8821
|
+
*/
|
|
8822
|
+
async usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
8823
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserPermissions(userPermissionDTO, options);
|
|
8824
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8825
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserPermissions']?.[localVarOperationServerIndex]?.url;
|
|
8826
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8827
|
+
},
|
|
7307
8828
|
}
|
|
7308
8829
|
};
|
|
7309
8830
|
|
|
@@ -7314,6 +8835,14 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
7314
8835
|
export const UsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
7315
8836
|
const localVarFp = UsersApiFp(configuration)
|
|
7316
8837
|
return {
|
|
8838
|
+
/**
|
|
8839
|
+
*
|
|
8840
|
+
* @param {*} [options] Override http request option.
|
|
8841
|
+
* @throws {RequiredError}
|
|
8842
|
+
*/
|
|
8843
|
+
usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
8844
|
+
return localVarFp.usersControllerDeactivateAccount(options).then((request) => request(axios, basePath));
|
|
8845
|
+
},
|
|
7317
8846
|
/**
|
|
7318
8847
|
*
|
|
7319
8848
|
* @param {*} [options] Override http request option.
|
|
@@ -7322,6 +8851,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
7322
8851
|
usersControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<UserMeDTO> {
|
|
7323
8852
|
return localVarFp.usersControllerGetMe(options).then((request) => request(axios, basePath));
|
|
7324
8853
|
},
|
|
8854
|
+
/**
|
|
8855
|
+
*
|
|
8856
|
+
* @param {GetUserDTO} getUserDTO
|
|
8857
|
+
* @param {*} [options] Override http request option.
|
|
8858
|
+
* @throws {RequiredError}
|
|
8859
|
+
*/
|
|
8860
|
+
usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
8861
|
+
return localVarFp.usersControllerGetUser(getUserDTO, options).then((request) => request(axios, basePath));
|
|
8862
|
+
},
|
|
7325
8863
|
/**
|
|
7326
8864
|
*
|
|
7327
8865
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -7331,6 +8869,24 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
7331
8869
|
usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
7332
8870
|
return localVarFp.usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(axios, basePath));
|
|
7333
8871
|
},
|
|
8872
|
+
/**
|
|
8873
|
+
*
|
|
8874
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
8875
|
+
* @param {*} [options] Override http request option.
|
|
8876
|
+
* @throws {RequiredError}
|
|
8877
|
+
*/
|
|
8878
|
+
usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
8879
|
+
return localVarFp.usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(axios, basePath));
|
|
8880
|
+
},
|
|
8881
|
+
/**
|
|
8882
|
+
*
|
|
8883
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
8884
|
+
* @param {*} [options] Override http request option.
|
|
8885
|
+
* @throws {RequiredError}
|
|
8886
|
+
*/
|
|
8887
|
+
usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
8888
|
+
return localVarFp.usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(axios, basePath));
|
|
8889
|
+
},
|
|
7334
8890
|
};
|
|
7335
8891
|
};
|
|
7336
8892
|
|
|
@@ -7341,6 +8897,16 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
7341
8897
|
* @extends {BaseAPI}
|
|
7342
8898
|
*/
|
|
7343
8899
|
export class UsersApi extends BaseAPI {
|
|
8900
|
+
/**
|
|
8901
|
+
*
|
|
8902
|
+
* @param {*} [options] Override http request option.
|
|
8903
|
+
* @throws {RequiredError}
|
|
8904
|
+
* @memberof UsersApi
|
|
8905
|
+
*/
|
|
8906
|
+
public usersControllerDeactivateAccount(options?: RawAxiosRequestConfig) {
|
|
8907
|
+
return UsersApiFp(this.configuration).usersControllerDeactivateAccount(options).then((request) => request(this.axios, this.basePath));
|
|
8908
|
+
}
|
|
8909
|
+
|
|
7344
8910
|
/**
|
|
7345
8911
|
*
|
|
7346
8912
|
* @param {*} [options] Override http request option.
|
|
@@ -7351,6 +8917,17 @@ export class UsersApi extends BaseAPI {
|
|
|
7351
8917
|
return UsersApiFp(this.configuration).usersControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
7352
8918
|
}
|
|
7353
8919
|
|
|
8920
|
+
/**
|
|
8921
|
+
*
|
|
8922
|
+
* @param {GetUserDTO} getUserDTO
|
|
8923
|
+
* @param {*} [options] Override http request option.
|
|
8924
|
+
* @throws {RequiredError}
|
|
8925
|
+
* @memberof UsersApi
|
|
8926
|
+
*/
|
|
8927
|
+
public usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig) {
|
|
8928
|
+
return UsersApiFp(this.configuration).usersControllerGetUser(getUserDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8929
|
+
}
|
|
8930
|
+
|
|
7354
8931
|
/**
|
|
7355
8932
|
*
|
|
7356
8933
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -7361,6 +8938,28 @@ export class UsersApi extends BaseAPI {
|
|
|
7361
8938
|
public usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
7362
8939
|
return UsersApiFp(this.configuration).usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7363
8940
|
}
|
|
8941
|
+
|
|
8942
|
+
/**
|
|
8943
|
+
*
|
|
8944
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
8945
|
+
* @param {*} [options] Override http request option.
|
|
8946
|
+
* @throws {RequiredError}
|
|
8947
|
+
* @memberof UsersApi
|
|
8948
|
+
*/
|
|
8949
|
+
public usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig) {
|
|
8950
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8951
|
+
}
|
|
8952
|
+
|
|
8953
|
+
/**
|
|
8954
|
+
*
|
|
8955
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
8956
|
+
* @param {*} [options] Override http request option.
|
|
8957
|
+
* @throws {RequiredError}
|
|
8958
|
+
* @memberof UsersApi
|
|
8959
|
+
*/
|
|
8960
|
+
public usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig) {
|
|
8961
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8962
|
+
}
|
|
7364
8963
|
}
|
|
7365
8964
|
|
|
7366
8965
|
|