@gooday_corp/gooday-api-client 4.5.76 → 4.5.78
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/.openapi-generator/FILES +6 -0
- package/api.ts +543 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/HashtagPayloadDTO.md +22 -0
- package/docs/HashtagResponseDTO.md +22 -0
- package/docs/HashtagUpdatePayloadDTO.md +24 -0
- package/docs/HashtagsApi.md +327 -0
- package/docs/HashtagsResponse.md +24 -0
- package/docs/HashtagsResponseDTO.md +22 -0
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RSVPEventEntity.md +2 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -204,6 +204,12 @@ docs/GoalListResponse.md
|
|
|
204
204
|
docs/GoalsApi.md
|
|
205
205
|
docs/GoogleOAuthResponseDTO.md
|
|
206
206
|
docs/GoogleVerificationPayloadDTO.md
|
|
207
|
+
docs/HashtagPayloadDTO.md
|
|
208
|
+
docs/HashtagResponseDTO.md
|
|
209
|
+
docs/HashtagUpdatePayloadDTO.md
|
|
210
|
+
docs/HashtagsApi.md
|
|
211
|
+
docs/HashtagsResponse.md
|
|
212
|
+
docs/HashtagsResponseDTO.md
|
|
207
213
|
docs/HelpCenterPayloadDTO.md
|
|
208
214
|
docs/HistoryApi.md
|
|
209
215
|
docs/HistoryEntity.md
|
package/api.ts
CHANGED
|
@@ -2920,6 +2920,79 @@ export interface GoogleVerificationPayloadDTO {
|
|
|
2920
2920
|
*/
|
|
2921
2921
|
'token': string;
|
|
2922
2922
|
}
|
|
2923
|
+
export interface HashtagPayloadDTO {
|
|
2924
|
+
/**
|
|
2925
|
+
* Hashtag name
|
|
2926
|
+
*/
|
|
2927
|
+
'name': string;
|
|
2928
|
+
/**
|
|
2929
|
+
* Hashtag category
|
|
2930
|
+
*/
|
|
2931
|
+
'category': HashtagPayloadDTOCategoryEnum;
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
export const HashtagPayloadDTOCategoryEnum = {
|
|
2935
|
+
Rsvp: 'RSVP'
|
|
2936
|
+
} as const;
|
|
2937
|
+
|
|
2938
|
+
export type HashtagPayloadDTOCategoryEnum = typeof HashtagPayloadDTOCategoryEnum[keyof typeof HashtagPayloadDTOCategoryEnum];
|
|
2939
|
+
|
|
2940
|
+
export interface HashtagResponseDTO {
|
|
2941
|
+
'data': HashtagsResponse;
|
|
2942
|
+
/**
|
|
2943
|
+
* statusCode
|
|
2944
|
+
*/
|
|
2945
|
+
'statusCode': number;
|
|
2946
|
+
}
|
|
2947
|
+
export interface HashtagUpdatePayloadDTO {
|
|
2948
|
+
/**
|
|
2949
|
+
* Hashtag id
|
|
2950
|
+
*/
|
|
2951
|
+
'_id': string;
|
|
2952
|
+
/**
|
|
2953
|
+
* Hashtag name
|
|
2954
|
+
*/
|
|
2955
|
+
'name': string;
|
|
2956
|
+
/**
|
|
2957
|
+
* Hashtag category
|
|
2958
|
+
*/
|
|
2959
|
+
'category': HashtagUpdatePayloadDTOCategoryEnum;
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
export const HashtagUpdatePayloadDTOCategoryEnum = {
|
|
2963
|
+
Rsvp: 'RSVP'
|
|
2964
|
+
} as const;
|
|
2965
|
+
|
|
2966
|
+
export type HashtagUpdatePayloadDTOCategoryEnum = typeof HashtagUpdatePayloadDTOCategoryEnum[keyof typeof HashtagUpdatePayloadDTOCategoryEnum];
|
|
2967
|
+
|
|
2968
|
+
export interface HashtagsResponse {
|
|
2969
|
+
/**
|
|
2970
|
+
* Hashtag id
|
|
2971
|
+
*/
|
|
2972
|
+
'_id': string;
|
|
2973
|
+
/**
|
|
2974
|
+
* Hashtag name
|
|
2975
|
+
*/
|
|
2976
|
+
'name': string;
|
|
2977
|
+
/**
|
|
2978
|
+
* Hashtag category
|
|
2979
|
+
*/
|
|
2980
|
+
'category': HashtagsResponseCategoryEnum;
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2983
|
+
export const HashtagsResponseCategoryEnum = {
|
|
2984
|
+
Rsvp: 'RSVP'
|
|
2985
|
+
} as const;
|
|
2986
|
+
|
|
2987
|
+
export type HashtagsResponseCategoryEnum = typeof HashtagsResponseCategoryEnum[keyof typeof HashtagsResponseCategoryEnum];
|
|
2988
|
+
|
|
2989
|
+
export interface HashtagsResponseDTO {
|
|
2990
|
+
'data': Array<HashtagsResponse>;
|
|
2991
|
+
/**
|
|
2992
|
+
* statusCode
|
|
2993
|
+
*/
|
|
2994
|
+
'statusCode': number;
|
|
2995
|
+
}
|
|
2923
2996
|
export interface HelpCenterPayloadDTO {
|
|
2924
2997
|
/**
|
|
2925
2998
|
* First name of the user
|
|
@@ -4059,6 +4132,7 @@ export interface RSVPEventEntity {
|
|
|
4059
4132
|
* The list of collaborators associated with the booking
|
|
4060
4133
|
*/
|
|
4061
4134
|
'collaborators'?: Array<CreateRSVPCollaboratorPayload>;
|
|
4135
|
+
'theme'?: string;
|
|
4062
4136
|
}
|
|
4063
4137
|
|
|
4064
4138
|
export const RSVPEventEntityRepeatEnum = {
|
|
@@ -15531,6 +15605,475 @@ export class GoalsApi extends BaseAPI {
|
|
|
15531
15605
|
|
|
15532
15606
|
|
|
15533
15607
|
|
|
15608
|
+
/**
|
|
15609
|
+
* HashtagsApi - axios parameter creator
|
|
15610
|
+
*/
|
|
15611
|
+
export const HashtagsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15612
|
+
return {
|
|
15613
|
+
/**
|
|
15614
|
+
*
|
|
15615
|
+
* @param {HashtagPayloadDTO} hashtagPayloadDTO
|
|
15616
|
+
* @param {*} [options] Override http request option.
|
|
15617
|
+
* @throws {RequiredError}
|
|
15618
|
+
*/
|
|
15619
|
+
hashtagsControllerCreateHashtag: async (hashtagPayloadDTO: HashtagPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15620
|
+
// verify required parameter 'hashtagPayloadDTO' is not null or undefined
|
|
15621
|
+
assertParamExists('hashtagsControllerCreateHashtag', 'hashtagPayloadDTO', hashtagPayloadDTO)
|
|
15622
|
+
const localVarPath = `/v1/hashtag`;
|
|
15623
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15624
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15625
|
+
let baseOptions;
|
|
15626
|
+
if (configuration) {
|
|
15627
|
+
baseOptions = configuration.baseOptions;
|
|
15628
|
+
}
|
|
15629
|
+
|
|
15630
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15631
|
+
const localVarHeaderParameter = {} as any;
|
|
15632
|
+
const localVarQueryParameter = {} as any;
|
|
15633
|
+
|
|
15634
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15635
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15636
|
+
|
|
15637
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15638
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15639
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15640
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hashtagPayloadDTO, localVarRequestOptions, configuration)
|
|
15641
|
+
|
|
15642
|
+
return {
|
|
15643
|
+
url: toPathString(localVarUrlObj),
|
|
15644
|
+
options: localVarRequestOptions,
|
|
15645
|
+
};
|
|
15646
|
+
},
|
|
15647
|
+
/**
|
|
15648
|
+
*
|
|
15649
|
+
* @param {string} id
|
|
15650
|
+
* @param {*} [options] Override http request option.
|
|
15651
|
+
* @throws {RequiredError}
|
|
15652
|
+
*/
|
|
15653
|
+
hashtagsControllerDeleteHashtagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15654
|
+
// verify required parameter 'id' is not null or undefined
|
|
15655
|
+
assertParamExists('hashtagsControllerDeleteHashtagById', 'id', id)
|
|
15656
|
+
const localVarPath = `/v1/hashtag/{id}`
|
|
15657
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15658
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15659
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15660
|
+
let baseOptions;
|
|
15661
|
+
if (configuration) {
|
|
15662
|
+
baseOptions = configuration.baseOptions;
|
|
15663
|
+
}
|
|
15664
|
+
|
|
15665
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
15666
|
+
const localVarHeaderParameter = {} as any;
|
|
15667
|
+
const localVarQueryParameter = {} as any;
|
|
15668
|
+
|
|
15669
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15670
|
+
|
|
15671
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15672
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15673
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15674
|
+
|
|
15675
|
+
return {
|
|
15676
|
+
url: toPathString(localVarUrlObj),
|
|
15677
|
+
options: localVarRequestOptions,
|
|
15678
|
+
};
|
|
15679
|
+
},
|
|
15680
|
+
/**
|
|
15681
|
+
*
|
|
15682
|
+
* @param {number} page
|
|
15683
|
+
* @param {number} pageSize
|
|
15684
|
+
* @param {Array<HashtagsControllerFindHashtagsCategoryEnum>} [category]
|
|
15685
|
+
* @param {*} [options] Override http request option.
|
|
15686
|
+
* @throws {RequiredError}
|
|
15687
|
+
*/
|
|
15688
|
+
hashtagsControllerFindHashtags: async (page: number, pageSize: number, category?: Array<HashtagsControllerFindHashtagsCategoryEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15689
|
+
// verify required parameter 'page' is not null or undefined
|
|
15690
|
+
assertParamExists('hashtagsControllerFindHashtags', 'page', page)
|
|
15691
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
15692
|
+
assertParamExists('hashtagsControllerFindHashtags', 'pageSize', pageSize)
|
|
15693
|
+
const localVarPath = `/v1/hashtags`;
|
|
15694
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15695
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15696
|
+
let baseOptions;
|
|
15697
|
+
if (configuration) {
|
|
15698
|
+
baseOptions = configuration.baseOptions;
|
|
15699
|
+
}
|
|
15700
|
+
|
|
15701
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15702
|
+
const localVarHeaderParameter = {} as any;
|
|
15703
|
+
const localVarQueryParameter = {} as any;
|
|
15704
|
+
|
|
15705
|
+
if (page !== undefined) {
|
|
15706
|
+
localVarQueryParameter['page'] = page;
|
|
15707
|
+
}
|
|
15708
|
+
|
|
15709
|
+
if (pageSize !== undefined) {
|
|
15710
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
15711
|
+
}
|
|
15712
|
+
|
|
15713
|
+
if (category) {
|
|
15714
|
+
localVarQueryParameter['category'] = category;
|
|
15715
|
+
}
|
|
15716
|
+
|
|
15717
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15718
|
+
|
|
15719
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15720
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15721
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15722
|
+
|
|
15723
|
+
return {
|
|
15724
|
+
url: toPathString(localVarUrlObj),
|
|
15725
|
+
options: localVarRequestOptions,
|
|
15726
|
+
};
|
|
15727
|
+
},
|
|
15728
|
+
/**
|
|
15729
|
+
*
|
|
15730
|
+
* @param {number} page
|
|
15731
|
+
* @param {number} pageSize
|
|
15732
|
+
* @param {Array<HashtagsControllerGetHashtagsCategoryEnum>} [category]
|
|
15733
|
+
* @param {*} [options] Override http request option.
|
|
15734
|
+
* @throws {RequiredError}
|
|
15735
|
+
*/
|
|
15736
|
+
hashtagsControllerGetHashtags: async (page: number, pageSize: number, category?: Array<HashtagsControllerGetHashtagsCategoryEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15737
|
+
// verify required parameter 'page' is not null or undefined
|
|
15738
|
+
assertParamExists('hashtagsControllerGetHashtags', 'page', page)
|
|
15739
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
15740
|
+
assertParamExists('hashtagsControllerGetHashtags', 'pageSize', pageSize)
|
|
15741
|
+
const localVarPath = `/v1/hashtag-web`;
|
|
15742
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15743
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15744
|
+
let baseOptions;
|
|
15745
|
+
if (configuration) {
|
|
15746
|
+
baseOptions = configuration.baseOptions;
|
|
15747
|
+
}
|
|
15748
|
+
|
|
15749
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15750
|
+
const localVarHeaderParameter = {} as any;
|
|
15751
|
+
const localVarQueryParameter = {} as any;
|
|
15752
|
+
|
|
15753
|
+
if (page !== undefined) {
|
|
15754
|
+
localVarQueryParameter['page'] = page;
|
|
15755
|
+
}
|
|
15756
|
+
|
|
15757
|
+
if (pageSize !== undefined) {
|
|
15758
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
15759
|
+
}
|
|
15760
|
+
|
|
15761
|
+
if (category) {
|
|
15762
|
+
localVarQueryParameter['category'] = category;
|
|
15763
|
+
}
|
|
15764
|
+
|
|
15765
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15766
|
+
|
|
15767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15769
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15770
|
+
|
|
15771
|
+
return {
|
|
15772
|
+
url: toPathString(localVarUrlObj),
|
|
15773
|
+
options: localVarRequestOptions,
|
|
15774
|
+
};
|
|
15775
|
+
},
|
|
15776
|
+
/**
|
|
15777
|
+
*
|
|
15778
|
+
* @param {string} id
|
|
15779
|
+
* @param {*} [options] Override http request option.
|
|
15780
|
+
* @throws {RequiredError}
|
|
15781
|
+
*/
|
|
15782
|
+
hashtagsControllerHashtagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15783
|
+
// verify required parameter 'id' is not null or undefined
|
|
15784
|
+
assertParamExists('hashtagsControllerHashtagById', 'id', id)
|
|
15785
|
+
const localVarPath = `/v1/hashtag/{id}`
|
|
15786
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15787
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15789
|
+
let baseOptions;
|
|
15790
|
+
if (configuration) {
|
|
15791
|
+
baseOptions = configuration.baseOptions;
|
|
15792
|
+
}
|
|
15793
|
+
|
|
15794
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15795
|
+
const localVarHeaderParameter = {} as any;
|
|
15796
|
+
const localVarQueryParameter = {} as any;
|
|
15797
|
+
|
|
15798
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15799
|
+
|
|
15800
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15801
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15802
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15803
|
+
|
|
15804
|
+
return {
|
|
15805
|
+
url: toPathString(localVarUrlObj),
|
|
15806
|
+
options: localVarRequestOptions,
|
|
15807
|
+
};
|
|
15808
|
+
},
|
|
15809
|
+
/**
|
|
15810
|
+
*
|
|
15811
|
+
* @param {HashtagUpdatePayloadDTO} hashtagUpdatePayloadDTO
|
|
15812
|
+
* @param {*} [options] Override http request option.
|
|
15813
|
+
* @throws {RequiredError}
|
|
15814
|
+
*/
|
|
15815
|
+
hashtagsControllerUpdateHashtagById: async (hashtagUpdatePayloadDTO: HashtagUpdatePayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15816
|
+
// verify required parameter 'hashtagUpdatePayloadDTO' is not null or undefined
|
|
15817
|
+
assertParamExists('hashtagsControllerUpdateHashtagById', 'hashtagUpdatePayloadDTO', hashtagUpdatePayloadDTO)
|
|
15818
|
+
const localVarPath = `/v1/hashtag`;
|
|
15819
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15820
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15821
|
+
let baseOptions;
|
|
15822
|
+
if (configuration) {
|
|
15823
|
+
baseOptions = configuration.baseOptions;
|
|
15824
|
+
}
|
|
15825
|
+
|
|
15826
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15827
|
+
const localVarHeaderParameter = {} as any;
|
|
15828
|
+
const localVarQueryParameter = {} as any;
|
|
15829
|
+
|
|
15830
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15831
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15832
|
+
|
|
15833
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15834
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15835
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15836
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hashtagUpdatePayloadDTO, localVarRequestOptions, configuration)
|
|
15837
|
+
|
|
15838
|
+
return {
|
|
15839
|
+
url: toPathString(localVarUrlObj),
|
|
15840
|
+
options: localVarRequestOptions,
|
|
15841
|
+
};
|
|
15842
|
+
},
|
|
15843
|
+
}
|
|
15844
|
+
};
|
|
15845
|
+
|
|
15846
|
+
/**
|
|
15847
|
+
* HashtagsApi - functional programming interface
|
|
15848
|
+
*/
|
|
15849
|
+
export const HashtagsApiFp = function(configuration?: Configuration) {
|
|
15850
|
+
const localVarAxiosParamCreator = HashtagsApiAxiosParamCreator(configuration)
|
|
15851
|
+
return {
|
|
15852
|
+
/**
|
|
15853
|
+
*
|
|
15854
|
+
* @param {HashtagPayloadDTO} hashtagPayloadDTO
|
|
15855
|
+
* @param {*} [options] Override http request option.
|
|
15856
|
+
* @throws {RequiredError}
|
|
15857
|
+
*/
|
|
15858
|
+
async hashtagsControllerCreateHashtag(hashtagPayloadDTO: HashtagPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HashtagResponseDTO>> {
|
|
15859
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hashtagsControllerCreateHashtag(hashtagPayloadDTO, options);
|
|
15860
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15861
|
+
const localVarOperationServerBasePath = operationServerMap['HashtagsApi.hashtagsControllerCreateHashtag']?.[localVarOperationServerIndex]?.url;
|
|
15862
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15863
|
+
},
|
|
15864
|
+
/**
|
|
15865
|
+
*
|
|
15866
|
+
* @param {string} id
|
|
15867
|
+
* @param {*} [options] Override http request option.
|
|
15868
|
+
* @throws {RequiredError}
|
|
15869
|
+
*/
|
|
15870
|
+
async hashtagsControllerDeleteHashtagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HashtagResponseDTO>> {
|
|
15871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hashtagsControllerDeleteHashtagById(id, options);
|
|
15872
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15873
|
+
const localVarOperationServerBasePath = operationServerMap['HashtagsApi.hashtagsControllerDeleteHashtagById']?.[localVarOperationServerIndex]?.url;
|
|
15874
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15875
|
+
},
|
|
15876
|
+
/**
|
|
15877
|
+
*
|
|
15878
|
+
* @param {number} page
|
|
15879
|
+
* @param {number} pageSize
|
|
15880
|
+
* @param {Array<HashtagsControllerFindHashtagsCategoryEnum>} [category]
|
|
15881
|
+
* @param {*} [options] Override http request option.
|
|
15882
|
+
* @throws {RequiredError}
|
|
15883
|
+
*/
|
|
15884
|
+
async hashtagsControllerFindHashtags(page: number, pageSize: number, category?: Array<HashtagsControllerFindHashtagsCategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HashtagsResponseDTO>> {
|
|
15885
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hashtagsControllerFindHashtags(page, pageSize, category, options);
|
|
15886
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15887
|
+
const localVarOperationServerBasePath = operationServerMap['HashtagsApi.hashtagsControllerFindHashtags']?.[localVarOperationServerIndex]?.url;
|
|
15888
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15889
|
+
},
|
|
15890
|
+
/**
|
|
15891
|
+
*
|
|
15892
|
+
* @param {number} page
|
|
15893
|
+
* @param {number} pageSize
|
|
15894
|
+
* @param {Array<HashtagsControllerGetHashtagsCategoryEnum>} [category]
|
|
15895
|
+
* @param {*} [options] Override http request option.
|
|
15896
|
+
* @throws {RequiredError}
|
|
15897
|
+
*/
|
|
15898
|
+
async hashtagsControllerGetHashtags(page: number, pageSize: number, category?: Array<HashtagsControllerGetHashtagsCategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HashtagsResponseDTO>> {
|
|
15899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hashtagsControllerGetHashtags(page, pageSize, category, options);
|
|
15900
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15901
|
+
const localVarOperationServerBasePath = operationServerMap['HashtagsApi.hashtagsControllerGetHashtags']?.[localVarOperationServerIndex]?.url;
|
|
15902
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15903
|
+
},
|
|
15904
|
+
/**
|
|
15905
|
+
*
|
|
15906
|
+
* @param {string} id
|
|
15907
|
+
* @param {*} [options] Override http request option.
|
|
15908
|
+
* @throws {RequiredError}
|
|
15909
|
+
*/
|
|
15910
|
+
async hashtagsControllerHashtagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HashtagResponseDTO>> {
|
|
15911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hashtagsControllerHashtagById(id, options);
|
|
15912
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15913
|
+
const localVarOperationServerBasePath = operationServerMap['HashtagsApi.hashtagsControllerHashtagById']?.[localVarOperationServerIndex]?.url;
|
|
15914
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15915
|
+
},
|
|
15916
|
+
/**
|
|
15917
|
+
*
|
|
15918
|
+
* @param {HashtagUpdatePayloadDTO} hashtagUpdatePayloadDTO
|
|
15919
|
+
* @param {*} [options] Override http request option.
|
|
15920
|
+
* @throws {RequiredError}
|
|
15921
|
+
*/
|
|
15922
|
+
async hashtagsControllerUpdateHashtagById(hashtagUpdatePayloadDTO: HashtagUpdatePayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HashtagResponseDTO>> {
|
|
15923
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hashtagsControllerUpdateHashtagById(hashtagUpdatePayloadDTO, options);
|
|
15924
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15925
|
+
const localVarOperationServerBasePath = operationServerMap['HashtagsApi.hashtagsControllerUpdateHashtagById']?.[localVarOperationServerIndex]?.url;
|
|
15926
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15927
|
+
},
|
|
15928
|
+
}
|
|
15929
|
+
};
|
|
15930
|
+
|
|
15931
|
+
/**
|
|
15932
|
+
* HashtagsApi - factory interface
|
|
15933
|
+
*/
|
|
15934
|
+
export const HashtagsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15935
|
+
const localVarFp = HashtagsApiFp(configuration)
|
|
15936
|
+
return {
|
|
15937
|
+
/**
|
|
15938
|
+
*
|
|
15939
|
+
* @param {HashtagPayloadDTO} hashtagPayloadDTO
|
|
15940
|
+
* @param {*} [options] Override http request option.
|
|
15941
|
+
* @throws {RequiredError}
|
|
15942
|
+
*/
|
|
15943
|
+
hashtagsControllerCreateHashtag(hashtagPayloadDTO: HashtagPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<HashtagResponseDTO> {
|
|
15944
|
+
return localVarFp.hashtagsControllerCreateHashtag(hashtagPayloadDTO, options).then((request) => request(axios, basePath));
|
|
15945
|
+
},
|
|
15946
|
+
/**
|
|
15947
|
+
*
|
|
15948
|
+
* @param {string} id
|
|
15949
|
+
* @param {*} [options] Override http request option.
|
|
15950
|
+
* @throws {RequiredError}
|
|
15951
|
+
*/
|
|
15952
|
+
hashtagsControllerDeleteHashtagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<HashtagResponseDTO> {
|
|
15953
|
+
return localVarFp.hashtagsControllerDeleteHashtagById(id, options).then((request) => request(axios, basePath));
|
|
15954
|
+
},
|
|
15955
|
+
/**
|
|
15956
|
+
*
|
|
15957
|
+
* @param {number} page
|
|
15958
|
+
* @param {number} pageSize
|
|
15959
|
+
* @param {Array<HashtagsControllerFindHashtagsCategoryEnum>} [category]
|
|
15960
|
+
* @param {*} [options] Override http request option.
|
|
15961
|
+
* @throws {RequiredError}
|
|
15962
|
+
*/
|
|
15963
|
+
hashtagsControllerFindHashtags(page: number, pageSize: number, category?: Array<HashtagsControllerFindHashtagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HashtagsResponseDTO> {
|
|
15964
|
+
return localVarFp.hashtagsControllerFindHashtags(page, pageSize, category, options).then((request) => request(axios, basePath));
|
|
15965
|
+
},
|
|
15966
|
+
/**
|
|
15967
|
+
*
|
|
15968
|
+
* @param {number} page
|
|
15969
|
+
* @param {number} pageSize
|
|
15970
|
+
* @param {Array<HashtagsControllerGetHashtagsCategoryEnum>} [category]
|
|
15971
|
+
* @param {*} [options] Override http request option.
|
|
15972
|
+
* @throws {RequiredError}
|
|
15973
|
+
*/
|
|
15974
|
+
hashtagsControllerGetHashtags(page: number, pageSize: number, category?: Array<HashtagsControllerGetHashtagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HashtagsResponseDTO> {
|
|
15975
|
+
return localVarFp.hashtagsControllerGetHashtags(page, pageSize, category, options).then((request) => request(axios, basePath));
|
|
15976
|
+
},
|
|
15977
|
+
/**
|
|
15978
|
+
*
|
|
15979
|
+
* @param {string} id
|
|
15980
|
+
* @param {*} [options] Override http request option.
|
|
15981
|
+
* @throws {RequiredError}
|
|
15982
|
+
*/
|
|
15983
|
+
hashtagsControllerHashtagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<HashtagResponseDTO> {
|
|
15984
|
+
return localVarFp.hashtagsControllerHashtagById(id, options).then((request) => request(axios, basePath));
|
|
15985
|
+
},
|
|
15986
|
+
/**
|
|
15987
|
+
*
|
|
15988
|
+
* @param {HashtagUpdatePayloadDTO} hashtagUpdatePayloadDTO
|
|
15989
|
+
* @param {*} [options] Override http request option.
|
|
15990
|
+
* @throws {RequiredError}
|
|
15991
|
+
*/
|
|
15992
|
+
hashtagsControllerUpdateHashtagById(hashtagUpdatePayloadDTO: HashtagUpdatePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<HashtagResponseDTO> {
|
|
15993
|
+
return localVarFp.hashtagsControllerUpdateHashtagById(hashtagUpdatePayloadDTO, options).then((request) => request(axios, basePath));
|
|
15994
|
+
},
|
|
15995
|
+
};
|
|
15996
|
+
};
|
|
15997
|
+
|
|
15998
|
+
/**
|
|
15999
|
+
* HashtagsApi - object-oriented interface
|
|
16000
|
+
*/
|
|
16001
|
+
export class HashtagsApi extends BaseAPI {
|
|
16002
|
+
/**
|
|
16003
|
+
*
|
|
16004
|
+
* @param {HashtagPayloadDTO} hashtagPayloadDTO
|
|
16005
|
+
* @param {*} [options] Override http request option.
|
|
16006
|
+
* @throws {RequiredError}
|
|
16007
|
+
*/
|
|
16008
|
+
public hashtagsControllerCreateHashtag(hashtagPayloadDTO: HashtagPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
16009
|
+
return HashtagsApiFp(this.configuration).hashtagsControllerCreateHashtag(hashtagPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16010
|
+
}
|
|
16011
|
+
|
|
16012
|
+
/**
|
|
16013
|
+
*
|
|
16014
|
+
* @param {string} id
|
|
16015
|
+
* @param {*} [options] Override http request option.
|
|
16016
|
+
* @throws {RequiredError}
|
|
16017
|
+
*/
|
|
16018
|
+
public hashtagsControllerDeleteHashtagById(id: string, options?: RawAxiosRequestConfig) {
|
|
16019
|
+
return HashtagsApiFp(this.configuration).hashtagsControllerDeleteHashtagById(id, options).then((request) => request(this.axios, this.basePath));
|
|
16020
|
+
}
|
|
16021
|
+
|
|
16022
|
+
/**
|
|
16023
|
+
*
|
|
16024
|
+
* @param {number} page
|
|
16025
|
+
* @param {number} pageSize
|
|
16026
|
+
* @param {Array<HashtagsControllerFindHashtagsCategoryEnum>} [category]
|
|
16027
|
+
* @param {*} [options] Override http request option.
|
|
16028
|
+
* @throws {RequiredError}
|
|
16029
|
+
*/
|
|
16030
|
+
public hashtagsControllerFindHashtags(page: number, pageSize: number, category?: Array<HashtagsControllerFindHashtagsCategoryEnum>, options?: RawAxiosRequestConfig) {
|
|
16031
|
+
return HashtagsApiFp(this.configuration).hashtagsControllerFindHashtags(page, pageSize, category, options).then((request) => request(this.axios, this.basePath));
|
|
16032
|
+
}
|
|
16033
|
+
|
|
16034
|
+
/**
|
|
16035
|
+
*
|
|
16036
|
+
* @param {number} page
|
|
16037
|
+
* @param {number} pageSize
|
|
16038
|
+
* @param {Array<HashtagsControllerGetHashtagsCategoryEnum>} [category]
|
|
16039
|
+
* @param {*} [options] Override http request option.
|
|
16040
|
+
* @throws {RequiredError}
|
|
16041
|
+
*/
|
|
16042
|
+
public hashtagsControllerGetHashtags(page: number, pageSize: number, category?: Array<HashtagsControllerGetHashtagsCategoryEnum>, options?: RawAxiosRequestConfig) {
|
|
16043
|
+
return HashtagsApiFp(this.configuration).hashtagsControllerGetHashtags(page, pageSize, category, options).then((request) => request(this.axios, this.basePath));
|
|
16044
|
+
}
|
|
16045
|
+
|
|
16046
|
+
/**
|
|
16047
|
+
*
|
|
16048
|
+
* @param {string} id
|
|
16049
|
+
* @param {*} [options] Override http request option.
|
|
16050
|
+
* @throws {RequiredError}
|
|
16051
|
+
*/
|
|
16052
|
+
public hashtagsControllerHashtagById(id: string, options?: RawAxiosRequestConfig) {
|
|
16053
|
+
return HashtagsApiFp(this.configuration).hashtagsControllerHashtagById(id, options).then((request) => request(this.axios, this.basePath));
|
|
16054
|
+
}
|
|
16055
|
+
|
|
16056
|
+
/**
|
|
16057
|
+
*
|
|
16058
|
+
* @param {HashtagUpdatePayloadDTO} hashtagUpdatePayloadDTO
|
|
16059
|
+
* @param {*} [options] Override http request option.
|
|
16060
|
+
* @throws {RequiredError}
|
|
16061
|
+
*/
|
|
16062
|
+
public hashtagsControllerUpdateHashtagById(hashtagUpdatePayloadDTO: HashtagUpdatePayloadDTO, options?: RawAxiosRequestConfig) {
|
|
16063
|
+
return HashtagsApiFp(this.configuration).hashtagsControllerUpdateHashtagById(hashtagUpdatePayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16064
|
+
}
|
|
16065
|
+
}
|
|
16066
|
+
|
|
16067
|
+
export const HashtagsControllerFindHashtagsCategoryEnum = {
|
|
16068
|
+
Rsvp: 'RSVP'
|
|
16069
|
+
} as const;
|
|
16070
|
+
export type HashtagsControllerFindHashtagsCategoryEnum = typeof HashtagsControllerFindHashtagsCategoryEnum[keyof typeof HashtagsControllerFindHashtagsCategoryEnum];
|
|
16071
|
+
export const HashtagsControllerGetHashtagsCategoryEnum = {
|
|
16072
|
+
Rsvp: 'RSVP'
|
|
16073
|
+
} as const;
|
|
16074
|
+
export type HashtagsControllerGetHashtagsCategoryEnum = typeof HashtagsControllerGetHashtagsCategoryEnum[keyof typeof HashtagsControllerGetHashtagsCategoryEnum];
|
|
16075
|
+
|
|
16076
|
+
|
|
15534
16077
|
/**
|
|
15535
16078
|
* HistoryApi - axios parameter creator
|
|
15536
16079
|
*/
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**date** | **string** | The start date of the booking | [default to 2026-03-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-03-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-03-19T14:03:52+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-03-19T14:03:52+05:30]
|
|
11
11
|
**from** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**to** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**startDate** | **string** | The start date of the booking | [default to 2026-03-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-03-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-03-19T14:03:52+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-03-19T14:03:52+05:30]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**startDate** | **string** | The start date of the booking | [default to 2026-03-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-03-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-03-19T14:03:52+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-03-19T14:03:52+05:30]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# HashtagPayloadDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | Hashtag name | [default to undefined]
|
|
9
|
+
**category** | **string** | Hashtag category | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { HashtagPayloadDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: HashtagPayloadDTO = {
|
|
17
|
+
name,
|
|
18
|
+
category,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# HashtagResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**HashtagsResponse**](HashtagsResponse.md) | | [default to undefined]
|
|
9
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { HashtagResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: HashtagResponseDTO = {
|
|
17
|
+
data,
|
|
18
|
+
statusCode,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# HashtagUpdatePayloadDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | Hashtag id | [default to undefined]
|
|
9
|
+
**name** | **string** | Hashtag name | [default to undefined]
|
|
10
|
+
**category** | **string** | Hashtag category | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { HashtagUpdatePayloadDTO } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: HashtagUpdatePayloadDTO = {
|
|
18
|
+
_id,
|
|
19
|
+
name,
|
|
20
|
+
category,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
# HashtagsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**hashtagsControllerCreateHashtag**](#hashtagscontrollercreatehashtag) | **POST** /v1/hashtag | |
|
|
8
|
+
|[**hashtagsControllerDeleteHashtagById**](#hashtagscontrollerdeletehashtagbyid) | **DELETE** /v1/hashtag/{id} | |
|
|
9
|
+
|[**hashtagsControllerFindHashtags**](#hashtagscontrollerfindhashtags) | **GET** /v1/hashtags | |
|
|
10
|
+
|[**hashtagsControllerGetHashtags**](#hashtagscontrollergethashtags) | **GET** /v1/hashtag-web | |
|
|
11
|
+
|[**hashtagsControllerHashtagById**](#hashtagscontrollerhashtagbyid) | **GET** /v1/hashtag/{id} | |
|
|
12
|
+
|[**hashtagsControllerUpdateHashtagById**](#hashtagscontrollerupdatehashtagbyid) | **PUT** /v1/hashtag | |
|
|
13
|
+
|
|
14
|
+
# **hashtagsControllerCreateHashtag**
|
|
15
|
+
> HashtagResponseDTO hashtagsControllerCreateHashtag(hashtagPayloadDTO)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import {
|
|
22
|
+
HashtagsApi,
|
|
23
|
+
Configuration,
|
|
24
|
+
HashtagPayloadDTO
|
|
25
|
+
} from './api';
|
|
26
|
+
|
|
27
|
+
const configuration = new Configuration();
|
|
28
|
+
const apiInstance = new HashtagsApi(configuration);
|
|
29
|
+
|
|
30
|
+
let hashtagPayloadDTO: HashtagPayloadDTO; //
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.hashtagsControllerCreateHashtag(
|
|
33
|
+
hashtagPayloadDTO
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **hashtagPayloadDTO** | **HashtagPayloadDTO**| | |
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**HashtagResponseDTO**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
No authorization required
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: application/json
|
|
55
|
+
- **Accept**: application/json
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### HTTP response details
|
|
59
|
+
| Status code | Description | Response headers |
|
|
60
|
+
|-------------|-------------|------------------|
|
|
61
|
+
|**200** | | - |
|
|
62
|
+
|
|
63
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
64
|
+
|
|
65
|
+
# **hashtagsControllerDeleteHashtagById**
|
|
66
|
+
> HashtagResponseDTO hashtagsControllerDeleteHashtagById()
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
HashtagsApi,
|
|
74
|
+
Configuration
|
|
75
|
+
} from './api';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new HashtagsApi(configuration);
|
|
79
|
+
|
|
80
|
+
let id: string; // (default to undefined)
|
|
81
|
+
|
|
82
|
+
const { status, data } = await apiInstance.hashtagsControllerDeleteHashtagById(
|
|
83
|
+
id
|
|
84
|
+
);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Parameters
|
|
88
|
+
|
|
89
|
+
|Name | Type | Description | Notes|
|
|
90
|
+
|------------- | ------------- | ------------- | -------------|
|
|
91
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Return type
|
|
95
|
+
|
|
96
|
+
**HashtagResponseDTO**
|
|
97
|
+
|
|
98
|
+
### Authorization
|
|
99
|
+
|
|
100
|
+
No authorization required
|
|
101
|
+
|
|
102
|
+
### HTTP request headers
|
|
103
|
+
|
|
104
|
+
- **Content-Type**: Not defined
|
|
105
|
+
- **Accept**: application/json
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### HTTP response details
|
|
109
|
+
| Status code | Description | Response headers |
|
|
110
|
+
|-------------|-------------|------------------|
|
|
111
|
+
|**200** | | - |
|
|
112
|
+
|
|
113
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
114
|
+
|
|
115
|
+
# **hashtagsControllerFindHashtags**
|
|
116
|
+
> HashtagsResponseDTO hashtagsControllerFindHashtags()
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Example
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import {
|
|
123
|
+
HashtagsApi,
|
|
124
|
+
Configuration
|
|
125
|
+
} from './api';
|
|
126
|
+
|
|
127
|
+
const configuration = new Configuration();
|
|
128
|
+
const apiInstance = new HashtagsApi(configuration);
|
|
129
|
+
|
|
130
|
+
let page: number; // (default to undefined)
|
|
131
|
+
let pageSize: number; // (default to undefined)
|
|
132
|
+
let category: Array<'RSVP'>; // (optional) (default to undefined)
|
|
133
|
+
|
|
134
|
+
const { status, data } = await apiInstance.hashtagsControllerFindHashtags(
|
|
135
|
+
page,
|
|
136
|
+
pageSize,
|
|
137
|
+
category
|
|
138
|
+
);
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Parameters
|
|
142
|
+
|
|
143
|
+
|Name | Type | Description | Notes|
|
|
144
|
+
|------------- | ------------- | ------------- | -------------|
|
|
145
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
146
|
+
| **pageSize** | [**number**] | | defaults to undefined|
|
|
147
|
+
| **category** | **Array<'RSVP'>** | | (optional) defaults to undefined|
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Return type
|
|
151
|
+
|
|
152
|
+
**HashtagsResponseDTO**
|
|
153
|
+
|
|
154
|
+
### Authorization
|
|
155
|
+
|
|
156
|
+
No authorization required
|
|
157
|
+
|
|
158
|
+
### HTTP request headers
|
|
159
|
+
|
|
160
|
+
- **Content-Type**: Not defined
|
|
161
|
+
- **Accept**: application/json
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### HTTP response details
|
|
165
|
+
| Status code | Description | Response headers |
|
|
166
|
+
|-------------|-------------|------------------|
|
|
167
|
+
|**200** | | - |
|
|
168
|
+
|
|
169
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
170
|
+
|
|
171
|
+
# **hashtagsControllerGetHashtags**
|
|
172
|
+
> HashtagsResponseDTO hashtagsControllerGetHashtags()
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Example
|
|
176
|
+
|
|
177
|
+
```typescript
|
|
178
|
+
import {
|
|
179
|
+
HashtagsApi,
|
|
180
|
+
Configuration
|
|
181
|
+
} from './api';
|
|
182
|
+
|
|
183
|
+
const configuration = new Configuration();
|
|
184
|
+
const apiInstance = new HashtagsApi(configuration);
|
|
185
|
+
|
|
186
|
+
let page: number; // (default to undefined)
|
|
187
|
+
let pageSize: number; // (default to undefined)
|
|
188
|
+
let category: Array<'RSVP'>; // (optional) (default to undefined)
|
|
189
|
+
|
|
190
|
+
const { status, data } = await apiInstance.hashtagsControllerGetHashtags(
|
|
191
|
+
page,
|
|
192
|
+
pageSize,
|
|
193
|
+
category
|
|
194
|
+
);
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Parameters
|
|
198
|
+
|
|
199
|
+
|Name | Type | Description | Notes|
|
|
200
|
+
|------------- | ------------- | ------------- | -------------|
|
|
201
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
202
|
+
| **pageSize** | [**number**] | | defaults to undefined|
|
|
203
|
+
| **category** | **Array<'RSVP'>** | | (optional) defaults to undefined|
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
### Return type
|
|
207
|
+
|
|
208
|
+
**HashtagsResponseDTO**
|
|
209
|
+
|
|
210
|
+
### Authorization
|
|
211
|
+
|
|
212
|
+
No authorization required
|
|
213
|
+
|
|
214
|
+
### HTTP request headers
|
|
215
|
+
|
|
216
|
+
- **Content-Type**: Not defined
|
|
217
|
+
- **Accept**: application/json
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### HTTP response details
|
|
221
|
+
| Status code | Description | Response headers |
|
|
222
|
+
|-------------|-------------|------------------|
|
|
223
|
+
|**200** | | - |
|
|
224
|
+
|
|
225
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
226
|
+
|
|
227
|
+
# **hashtagsControllerHashtagById**
|
|
228
|
+
> HashtagResponseDTO hashtagsControllerHashtagById()
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
### Example
|
|
232
|
+
|
|
233
|
+
```typescript
|
|
234
|
+
import {
|
|
235
|
+
HashtagsApi,
|
|
236
|
+
Configuration
|
|
237
|
+
} from './api';
|
|
238
|
+
|
|
239
|
+
const configuration = new Configuration();
|
|
240
|
+
const apiInstance = new HashtagsApi(configuration);
|
|
241
|
+
|
|
242
|
+
let id: string; // (default to undefined)
|
|
243
|
+
|
|
244
|
+
const { status, data } = await apiInstance.hashtagsControllerHashtagById(
|
|
245
|
+
id
|
|
246
|
+
);
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### Parameters
|
|
250
|
+
|
|
251
|
+
|Name | Type | Description | Notes|
|
|
252
|
+
|------------- | ------------- | ------------- | -------------|
|
|
253
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
### Return type
|
|
257
|
+
|
|
258
|
+
**HashtagResponseDTO**
|
|
259
|
+
|
|
260
|
+
### Authorization
|
|
261
|
+
|
|
262
|
+
No authorization required
|
|
263
|
+
|
|
264
|
+
### HTTP request headers
|
|
265
|
+
|
|
266
|
+
- **Content-Type**: Not defined
|
|
267
|
+
- **Accept**: application/json
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
### HTTP response details
|
|
271
|
+
| Status code | Description | Response headers |
|
|
272
|
+
|-------------|-------------|------------------|
|
|
273
|
+
|**200** | | - |
|
|
274
|
+
|
|
275
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
276
|
+
|
|
277
|
+
# **hashtagsControllerUpdateHashtagById**
|
|
278
|
+
> HashtagResponseDTO hashtagsControllerUpdateHashtagById(hashtagUpdatePayloadDTO)
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
### Example
|
|
282
|
+
|
|
283
|
+
```typescript
|
|
284
|
+
import {
|
|
285
|
+
HashtagsApi,
|
|
286
|
+
Configuration,
|
|
287
|
+
HashtagUpdatePayloadDTO
|
|
288
|
+
} from './api';
|
|
289
|
+
|
|
290
|
+
const configuration = new Configuration();
|
|
291
|
+
const apiInstance = new HashtagsApi(configuration);
|
|
292
|
+
|
|
293
|
+
let hashtagUpdatePayloadDTO: HashtagUpdatePayloadDTO; //
|
|
294
|
+
|
|
295
|
+
const { status, data } = await apiInstance.hashtagsControllerUpdateHashtagById(
|
|
296
|
+
hashtagUpdatePayloadDTO
|
|
297
|
+
);
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### Parameters
|
|
301
|
+
|
|
302
|
+
|Name | Type | Description | Notes|
|
|
303
|
+
|------------- | ------------- | ------------- | -------------|
|
|
304
|
+
| **hashtagUpdatePayloadDTO** | **HashtagUpdatePayloadDTO**| | |
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
### Return type
|
|
308
|
+
|
|
309
|
+
**HashtagResponseDTO**
|
|
310
|
+
|
|
311
|
+
### Authorization
|
|
312
|
+
|
|
313
|
+
No authorization required
|
|
314
|
+
|
|
315
|
+
### HTTP request headers
|
|
316
|
+
|
|
317
|
+
- **Content-Type**: application/json
|
|
318
|
+
- **Accept**: application/json
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
### HTTP response details
|
|
322
|
+
| Status code | Description | Response headers |
|
|
323
|
+
|-------------|-------------|------------------|
|
|
324
|
+
|**200** | | - |
|
|
325
|
+
|
|
326
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
327
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# HashtagsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | Hashtag id | [default to undefined]
|
|
9
|
+
**name** | **string** | Hashtag name | [default to undefined]
|
|
10
|
+
**category** | **string** | Hashtag category | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { HashtagsResponse } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: HashtagsResponse = {
|
|
18
|
+
_id,
|
|
19
|
+
name,
|
|
20
|
+
category,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# HashtagsResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<HashtagsResponse>**](HashtagsResponse.md) | | [default to undefined]
|
|
9
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { HashtagsResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: HashtagsResponseDTO = {
|
|
17
|
+
data,
|
|
18
|
+
statusCode,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**whatsOnId** | **string** | Event ID | [optional] [default to undefined]
|
|
9
9
|
**serviceId** | **string** | Service ID | [optional] [default to undefined]
|
|
10
10
|
**rsvpId** | **string** | RSVP ID | [optional] [default to undefined]
|
|
11
|
-
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-03-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-03-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-03-19T14:03:52+05:30]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-03-19T14:03:52+05:30]
|
|
13
13
|
**discountId** | **string** | Discount ID | [optional] [default to undefined]
|
|
14
14
|
**selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
|
|
15
15
|
**quantity** | **number** | | [optional] [default to 0]
|
package/docs/RSVPEventEntity.md
CHANGED
|
@@ -41,6 +41,7 @@ Name | Type | Description | Notes
|
|
|
41
41
|
**reminder** | **boolean** | | [optional] [default to undefined]
|
|
42
42
|
**calendar** | **boolean** | | [optional] [default to undefined]
|
|
43
43
|
**collaborators** | [**Array<CreateRSVPCollaboratorPayload>**](CreateRSVPCollaboratorPayload.md) | The list of collaborators associated with the booking | [optional] [default to undefined]
|
|
44
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
44
45
|
|
|
45
46
|
## Example
|
|
46
47
|
|
|
@@ -84,6 +85,7 @@ const instance: RSVPEventEntity = {
|
|
|
84
85
|
reminder,
|
|
85
86
|
calendar,
|
|
86
87
|
collaborators,
|
|
88
|
+
theme,
|
|
87
89
|
};
|
|
88
90
|
```
|
|
89
91
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2026-03-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-03-19T14:03:52+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 2026-03-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-03-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-03-19T14:03:52+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-03-19T15:03:52+05:30]
|
|
10
10
|
**venue** | **string** | The venue of the waitlist | [default to undefined]
|
|
11
11
|
**business** | **string** | The business associated with the waitlist | [default to undefined]
|
|
12
12
|
**collaborators** | [**Array<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|