@gooday_corp/gooday-api-client 1.2.115 → 1.2.116-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +317 -388
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -654,10 +654,10 @@ export interface BookingEntity {
|
|
|
654
654
|
'venue': string;
|
|
655
655
|
/**
|
|
656
656
|
* Business associated with the booking
|
|
657
|
-
* @type {
|
|
657
|
+
* @type {BusinessEntity}
|
|
658
658
|
* @memberof BookingEntity
|
|
659
659
|
*/
|
|
660
|
-
'business':
|
|
660
|
+
'business': BusinessEntity;
|
|
661
661
|
/**
|
|
662
662
|
* List of collaborators in the booking
|
|
663
663
|
* @type {Array<object>}
|
|
@@ -762,10 +762,10 @@ export interface BookingEntity {
|
|
|
762
762
|
'serviceId': PrepaidServiceEntity;
|
|
763
763
|
/**
|
|
764
764
|
*
|
|
765
|
-
* @type {
|
|
765
|
+
* @type {BookingPaymentCreateResponse}
|
|
766
766
|
* @memberof BookingEntity
|
|
767
767
|
*/
|
|
768
|
-
'paymentMethod':
|
|
768
|
+
'paymentMethod': BookingPaymentCreateResponse;
|
|
769
769
|
/**
|
|
770
770
|
*
|
|
771
771
|
* @type {Array<TagsResponse>}
|
|
@@ -778,6 +778,12 @@ export interface BookingEntity {
|
|
|
778
778
|
* @memberof BookingEntity
|
|
779
779
|
*/
|
|
780
780
|
'whatsOn': WhatsOnEntity;
|
|
781
|
+
/**
|
|
782
|
+
* Cancellation fee
|
|
783
|
+
* @type {object}
|
|
784
|
+
* @memberof BookingEntity
|
|
785
|
+
*/
|
|
786
|
+
'cancellationFee'?: object;
|
|
781
787
|
}
|
|
782
788
|
|
|
783
789
|
export const BookingEntityStatusEnum = {
|
|
@@ -800,6 +806,99 @@ export const BookingEntityMethodEnum = {
|
|
|
800
806
|
|
|
801
807
|
export type BookingEntityMethodEnum = typeof BookingEntityMethodEnum[keyof typeof BookingEntityMethodEnum];
|
|
802
808
|
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @export
|
|
812
|
+
* @interface BookingPaymentCreateResponse
|
|
813
|
+
*/
|
|
814
|
+
export interface BookingPaymentCreateResponse {
|
|
815
|
+
/**
|
|
816
|
+
* Payment method ID
|
|
817
|
+
* @type {string}
|
|
818
|
+
* @memberof BookingPaymentCreateResponse
|
|
819
|
+
*/
|
|
820
|
+
'paymentId': string;
|
|
821
|
+
/**
|
|
822
|
+
* Payment intent ID
|
|
823
|
+
* @type {string}
|
|
824
|
+
* @memberof BookingPaymentCreateResponse
|
|
825
|
+
*/
|
|
826
|
+
'paymentIntent': string;
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {string}
|
|
830
|
+
* @memberof BookingPaymentCreateResponse
|
|
831
|
+
*/
|
|
832
|
+
'ephemeralKey': string;
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {string}
|
|
836
|
+
* @memberof BookingPaymentCreateResponse
|
|
837
|
+
*/
|
|
838
|
+
'customer': string;
|
|
839
|
+
/**
|
|
840
|
+
* Only available if payment is recurring
|
|
841
|
+
* @type {string}
|
|
842
|
+
* @memberof BookingPaymentCreateResponse
|
|
843
|
+
*/
|
|
844
|
+
'subscriptionId'?: string;
|
|
845
|
+
/**
|
|
846
|
+
* Final booking price shown to customer
|
|
847
|
+
* @type {number}
|
|
848
|
+
* @memberof BookingPaymentCreateResponse
|
|
849
|
+
*/
|
|
850
|
+
'price': number;
|
|
851
|
+
/**
|
|
852
|
+
* Only available if payment is recurring
|
|
853
|
+
* @type {string}
|
|
854
|
+
* @memberof BookingPaymentCreateResponse
|
|
855
|
+
*/
|
|
856
|
+
'frequency'?: string;
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @type {string}
|
|
860
|
+
* @memberof BookingPaymentCreateResponse
|
|
861
|
+
*/
|
|
862
|
+
'currency': string;
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @type {string}
|
|
866
|
+
* @memberof BookingPaymentCreateResponse
|
|
867
|
+
*/
|
|
868
|
+
'currencySymbol': string;
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
*
|
|
872
|
+
* @export
|
|
873
|
+
* @interface BookingPaymentCreateResponseDTO
|
|
874
|
+
*/
|
|
875
|
+
export interface BookingPaymentCreateResponseDTO {
|
|
876
|
+
/**
|
|
877
|
+
* statusCode
|
|
878
|
+
* @type {number}
|
|
879
|
+
* @memberof BookingPaymentCreateResponseDTO
|
|
880
|
+
*/
|
|
881
|
+
'statusCode': number;
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @type {BookingPaymentCreateResponse}
|
|
885
|
+
* @memberof BookingPaymentCreateResponseDTO
|
|
886
|
+
*/
|
|
887
|
+
'data': BookingPaymentCreateResponse;
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @export
|
|
892
|
+
* @interface BookingPaymentPayloadDTO
|
|
893
|
+
*/
|
|
894
|
+
export interface BookingPaymentPayloadDTO {
|
|
895
|
+
/**
|
|
896
|
+
* Booking ID
|
|
897
|
+
* @type {string}
|
|
898
|
+
* @memberof BookingPaymentPayloadDTO
|
|
899
|
+
*/
|
|
900
|
+
'id': string;
|
|
901
|
+
}
|
|
803
902
|
/**
|
|
804
903
|
*
|
|
805
904
|
* @export
|
|
@@ -941,10 +1040,10 @@ export interface BookingResponse {
|
|
|
941
1040
|
'serviceId': PrepaidServiceEntity;
|
|
942
1041
|
/**
|
|
943
1042
|
*
|
|
944
|
-
* @type {
|
|
1043
|
+
* @type {BookingPaymentCreateResponse}
|
|
945
1044
|
* @memberof BookingResponse
|
|
946
1045
|
*/
|
|
947
|
-
'paymentMethod':
|
|
1046
|
+
'paymentMethod': BookingPaymentCreateResponse;
|
|
948
1047
|
/**
|
|
949
1048
|
*
|
|
950
1049
|
* @type {string}
|
|
@@ -2642,10 +2741,10 @@ export interface CreateBookingPayload {
|
|
|
2642
2741
|
'serviceId'?: string;
|
|
2643
2742
|
/**
|
|
2644
2743
|
*
|
|
2645
|
-
* @type {
|
|
2744
|
+
* @type {BookingPaymentCreateResponse}
|
|
2646
2745
|
* @memberof CreateBookingPayload
|
|
2647
2746
|
*/
|
|
2648
|
-
'paymentMethod'?:
|
|
2747
|
+
'paymentMethod'?: BookingPaymentCreateResponse;
|
|
2649
2748
|
/**
|
|
2650
2749
|
*
|
|
2651
2750
|
* @type {string}
|
|
@@ -4913,19 +5012,6 @@ export interface PlanResponseDTO {
|
|
|
4913
5012
|
*/
|
|
4914
5013
|
'data': Array<PlanEntity>;
|
|
4915
5014
|
}
|
|
4916
|
-
/**
|
|
4917
|
-
*
|
|
4918
|
-
* @export
|
|
4919
|
-
* @interface PlanUpsertPayloadDTO
|
|
4920
|
-
*/
|
|
4921
|
-
export interface PlanUpsertPayloadDTO {
|
|
4922
|
-
/**
|
|
4923
|
-
* Plan id
|
|
4924
|
-
* @type {string}
|
|
4925
|
-
* @memberof PlanUpsertPayloadDTO
|
|
4926
|
-
*/
|
|
4927
|
-
'plan': string;
|
|
4928
|
-
}
|
|
4929
5015
|
/**
|
|
4930
5016
|
*
|
|
4931
5017
|
* @export
|
|
@@ -5688,6 +5774,31 @@ export interface RenameCalendarPayload {
|
|
|
5688
5774
|
*/
|
|
5689
5775
|
'name': string;
|
|
5690
5776
|
}
|
|
5777
|
+
/**
|
|
5778
|
+
*
|
|
5779
|
+
* @export
|
|
5780
|
+
* @interface RescheduleBookingPayload
|
|
5781
|
+
*/
|
|
5782
|
+
export interface RescheduleBookingPayload {
|
|
5783
|
+
/**
|
|
5784
|
+
* The start date of the booking
|
|
5785
|
+
* @type {string}
|
|
5786
|
+
* @memberof RescheduleBookingPayload
|
|
5787
|
+
*/
|
|
5788
|
+
'date': string;
|
|
5789
|
+
/**
|
|
5790
|
+
*
|
|
5791
|
+
* @type {string}
|
|
5792
|
+
* @memberof RescheduleBookingPayload
|
|
5793
|
+
*/
|
|
5794
|
+
'from'?: string;
|
|
5795
|
+
/**
|
|
5796
|
+
*
|
|
5797
|
+
* @type {string}
|
|
5798
|
+
* @memberof RescheduleBookingPayload
|
|
5799
|
+
*/
|
|
5800
|
+
'to'?: string;
|
|
5801
|
+
}
|
|
5691
5802
|
/**
|
|
5692
5803
|
*
|
|
5693
5804
|
* @export
|
|
@@ -6021,144 +6132,6 @@ export interface StandardBookingSlotsPayload {
|
|
|
6021
6132
|
*/
|
|
6022
6133
|
'id': string;
|
|
6023
6134
|
}
|
|
6024
|
-
/**
|
|
6025
|
-
*
|
|
6026
|
-
* @export
|
|
6027
|
-
* @interface StripeBookingPayloadDTO
|
|
6028
|
-
*/
|
|
6029
|
-
export interface StripeBookingPayloadDTO {
|
|
6030
|
-
/**
|
|
6031
|
-
*
|
|
6032
|
-
* @type {string}
|
|
6033
|
-
* @memberof StripeBookingPayloadDTO
|
|
6034
|
-
*/
|
|
6035
|
-
'bookingId': string;
|
|
6036
|
-
}
|
|
6037
|
-
/**
|
|
6038
|
-
*
|
|
6039
|
-
* @export
|
|
6040
|
-
* @interface StripePaymentDTO
|
|
6041
|
-
*/
|
|
6042
|
-
export interface StripePaymentDTO {
|
|
6043
|
-
/**
|
|
6044
|
-
* Stripe ephemeral Key
|
|
6045
|
-
* @type {string}
|
|
6046
|
-
* @memberof StripePaymentDTO
|
|
6047
|
-
*/
|
|
6048
|
-
'ephemeralKey': string;
|
|
6049
|
-
/**
|
|
6050
|
-
* Stripe ClientSecret
|
|
6051
|
-
* @type {string}
|
|
6052
|
-
* @memberof StripePaymentDTO
|
|
6053
|
-
*/
|
|
6054
|
-
'clientSecret': string;
|
|
6055
|
-
}
|
|
6056
|
-
/**
|
|
6057
|
-
*
|
|
6058
|
-
* @export
|
|
6059
|
-
* @interface StripePlanUpsertResponseDTO
|
|
6060
|
-
*/
|
|
6061
|
-
export interface StripePlanUpsertResponseDTO {
|
|
6062
|
-
/**
|
|
6063
|
-
* statusCode
|
|
6064
|
-
* @type {number}
|
|
6065
|
-
* @memberof StripePlanUpsertResponseDTO
|
|
6066
|
-
*/
|
|
6067
|
-
'statusCode': number;
|
|
6068
|
-
/**
|
|
6069
|
-
* Stripe Intent Data
|
|
6070
|
-
* @type {StripePaymentDTO}
|
|
6071
|
-
* @memberof StripePlanUpsertResponseDTO
|
|
6072
|
-
*/
|
|
6073
|
-
'data': StripePaymentDTO;
|
|
6074
|
-
}
|
|
6075
|
-
/**
|
|
6076
|
-
*
|
|
6077
|
-
* @export
|
|
6078
|
-
* @interface StripeSetupIntentPaymentPayloadDTO
|
|
6079
|
-
*/
|
|
6080
|
-
export interface StripeSetupIntentPaymentPayloadDTO {
|
|
6081
|
-
/**
|
|
6082
|
-
*
|
|
6083
|
-
* @type {string}
|
|
6084
|
-
* @memberof StripeSetupIntentPaymentPayloadDTO
|
|
6085
|
-
*/
|
|
6086
|
-
'bookingId'?: string;
|
|
6087
|
-
}
|
|
6088
|
-
/**
|
|
6089
|
-
*
|
|
6090
|
-
* @export
|
|
6091
|
-
* @interface StripeSetupIntentPaymentResponse
|
|
6092
|
-
*/
|
|
6093
|
-
export interface StripeSetupIntentPaymentResponse {
|
|
6094
|
-
/**
|
|
6095
|
-
*
|
|
6096
|
-
* @type {string}
|
|
6097
|
-
* @memberof StripeSetupIntentPaymentResponse
|
|
6098
|
-
*/
|
|
6099
|
-
'paymentId': string;
|
|
6100
|
-
/**
|
|
6101
|
-
*
|
|
6102
|
-
* @type {string}
|
|
6103
|
-
* @memberof StripeSetupIntentPaymentResponse
|
|
6104
|
-
*/
|
|
6105
|
-
'paymentIntent': string;
|
|
6106
|
-
/**
|
|
6107
|
-
*
|
|
6108
|
-
* @type {string}
|
|
6109
|
-
* @memberof StripeSetupIntentPaymentResponse
|
|
6110
|
-
*/
|
|
6111
|
-
'ephemeralKey': string;
|
|
6112
|
-
/**
|
|
6113
|
-
*
|
|
6114
|
-
* @type {string}
|
|
6115
|
-
* @memberof StripeSetupIntentPaymentResponse
|
|
6116
|
-
*/
|
|
6117
|
-
'customer': string;
|
|
6118
|
-
/**
|
|
6119
|
-
*
|
|
6120
|
-
* @type {string}
|
|
6121
|
-
* @memberof StripeSetupIntentPaymentResponse
|
|
6122
|
-
*/
|
|
6123
|
-
'subscriptionId'?: string;
|
|
6124
|
-
/**
|
|
6125
|
-
*
|
|
6126
|
-
* @type {number}
|
|
6127
|
-
* @memberof StripeSetupIntentPaymentResponse
|
|
6128
|
-
*/
|
|
6129
|
-
'price'?: number;
|
|
6130
|
-
/**
|
|
6131
|
-
*
|
|
6132
|
-
* @type {string}
|
|
6133
|
-
* @memberof StripeSetupIntentPaymentResponse
|
|
6134
|
-
*/
|
|
6135
|
-
'frequency'?: string;
|
|
6136
|
-
/**
|
|
6137
|
-
*
|
|
6138
|
-
* @type {string}
|
|
6139
|
-
* @memberof StripeSetupIntentPaymentResponse
|
|
6140
|
-
*/
|
|
6141
|
-
'currency'?: string;
|
|
6142
|
-
}
|
|
6143
|
-
/**
|
|
6144
|
-
*
|
|
6145
|
-
* @export
|
|
6146
|
-
* @interface StripeSetupIntentPaymentResponseDTO
|
|
6147
|
-
*/
|
|
6148
|
-
export interface StripeSetupIntentPaymentResponseDTO {
|
|
6149
|
-
/**
|
|
6150
|
-
* statusCode
|
|
6151
|
-
* @type {number}
|
|
6152
|
-
* @memberof StripeSetupIntentPaymentResponseDTO
|
|
6153
|
-
*/
|
|
6154
|
-
'statusCode': number;
|
|
6155
|
-
/**
|
|
6156
|
-
*
|
|
6157
|
-
* @type {StripeSetupIntentPaymentResponse}
|
|
6158
|
-
* @memberof StripeSetupIntentPaymentResponseDTO
|
|
6159
|
-
*/
|
|
6160
|
-
'data': StripeSetupIntentPaymentResponse;
|
|
6161
|
-
}
|
|
6162
6135
|
/**
|
|
6163
6136
|
*
|
|
6164
6137
|
* @export
|
|
@@ -7300,6 +7273,53 @@ export interface WaitlistResponseDTO {
|
|
|
7300
7273
|
*/
|
|
7301
7274
|
'data': WaitlistEntity;
|
|
7302
7275
|
}
|
|
7276
|
+
/**
|
|
7277
|
+
*
|
|
7278
|
+
* @export
|
|
7279
|
+
* @interface WaitlistStaff
|
|
7280
|
+
*/
|
|
7281
|
+
export interface WaitlistStaff {
|
|
7282
|
+
/**
|
|
7283
|
+
*
|
|
7284
|
+
* @type {number}
|
|
7285
|
+
* @memberof WaitlistStaff
|
|
7286
|
+
*/
|
|
7287
|
+
'page': number;
|
|
7288
|
+
/**
|
|
7289
|
+
*
|
|
7290
|
+
* @type {number}
|
|
7291
|
+
* @memberof WaitlistStaff
|
|
7292
|
+
*/
|
|
7293
|
+
'pageSize': number;
|
|
7294
|
+
/**
|
|
7295
|
+
*
|
|
7296
|
+
* @type {string}
|
|
7297
|
+
* @memberof WaitlistStaff
|
|
7298
|
+
*/
|
|
7299
|
+
'search'?: string;
|
|
7300
|
+
/**
|
|
7301
|
+
*
|
|
7302
|
+
* @type {string}
|
|
7303
|
+
* @memberof WaitlistStaff
|
|
7304
|
+
*/
|
|
7305
|
+
'venue'?: string;
|
|
7306
|
+
/**
|
|
7307
|
+
*
|
|
7308
|
+
* @type {Array<string>}
|
|
7309
|
+
* @memberof WaitlistStaff
|
|
7310
|
+
*/
|
|
7311
|
+
'status'?: Array<WaitlistStaffStatusEnum>;
|
|
7312
|
+
}
|
|
7313
|
+
|
|
7314
|
+
export const WaitlistStaffStatusEnum = {
|
|
7315
|
+
Pending: 'PENDING',
|
|
7316
|
+
Confirm: 'CONFIRM',
|
|
7317
|
+
ConnectedNoAnswer: 'CONNECTED_NO_ANSWER',
|
|
7318
|
+
Withdraw: 'WITHDRAW'
|
|
7319
|
+
} as const;
|
|
7320
|
+
|
|
7321
|
+
export type WaitlistStaffStatusEnum = typeof WaitlistStaffStatusEnum[keyof typeof WaitlistStaffStatusEnum];
|
|
7322
|
+
|
|
7303
7323
|
/**
|
|
7304
7324
|
*
|
|
7305
7325
|
* @export
|
|
@@ -9817,6 +9837,49 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9817
9837
|
options: localVarRequestOptions,
|
|
9818
9838
|
};
|
|
9819
9839
|
},
|
|
9840
|
+
/**
|
|
9841
|
+
*
|
|
9842
|
+
* @param {string} id
|
|
9843
|
+
* @param {RescheduleBookingPayload} rescheduleBookingPayload
|
|
9844
|
+
* @param {*} [options] Override http request option.
|
|
9845
|
+
* @throws {RequiredError}
|
|
9846
|
+
*/
|
|
9847
|
+
bookingControllerRescheduleBooking: async (id: string, rescheduleBookingPayload: RescheduleBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9848
|
+
// verify required parameter 'id' is not null or undefined
|
|
9849
|
+
assertParamExists('bookingControllerRescheduleBooking', 'id', id)
|
|
9850
|
+
// verify required parameter 'rescheduleBookingPayload' is not null or undefined
|
|
9851
|
+
assertParamExists('bookingControllerRescheduleBooking', 'rescheduleBookingPayload', rescheduleBookingPayload)
|
|
9852
|
+
const localVarPath = `/v1/booking/reschedule/{id}`
|
|
9853
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9854
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9855
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9856
|
+
let baseOptions;
|
|
9857
|
+
if (configuration) {
|
|
9858
|
+
baseOptions = configuration.baseOptions;
|
|
9859
|
+
}
|
|
9860
|
+
|
|
9861
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
9862
|
+
const localVarHeaderParameter = {} as any;
|
|
9863
|
+
const localVarQueryParameter = {} as any;
|
|
9864
|
+
|
|
9865
|
+
// authentication bearer required
|
|
9866
|
+
// http bearer authentication required
|
|
9867
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9868
|
+
|
|
9869
|
+
|
|
9870
|
+
|
|
9871
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9872
|
+
|
|
9873
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9874
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9875
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9876
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rescheduleBookingPayload, localVarRequestOptions, configuration)
|
|
9877
|
+
|
|
9878
|
+
return {
|
|
9879
|
+
url: toPathString(localVarUrlObj),
|
|
9880
|
+
options: localVarRequestOptions,
|
|
9881
|
+
};
|
|
9882
|
+
},
|
|
9820
9883
|
/**
|
|
9821
9884
|
*
|
|
9822
9885
|
* @param {string} id
|
|
@@ -9990,6 +10053,19 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
9990
10053
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRejectBookingInvite']?.[localVarOperationServerIndex]?.url;
|
|
9991
10054
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9992
10055
|
},
|
|
10056
|
+
/**
|
|
10057
|
+
*
|
|
10058
|
+
* @param {string} id
|
|
10059
|
+
* @param {RescheduleBookingPayload} rescheduleBookingPayload
|
|
10060
|
+
* @param {*} [options] Override http request option.
|
|
10061
|
+
* @throws {RequiredError}
|
|
10062
|
+
*/
|
|
10063
|
+
async bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
|
|
10064
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options);
|
|
10065
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10066
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRescheduleBooking']?.[localVarOperationServerIndex]?.url;
|
|
10067
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10068
|
+
},
|
|
9993
10069
|
/**
|
|
9994
10070
|
*
|
|
9995
10071
|
* @param {string} id
|
|
@@ -10103,6 +10179,16 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
10103
10179
|
bookingControllerRejectBookingInvite(rejectBookingInvitePayload: RejectBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
|
|
10104
10180
|
return localVarFp.bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options).then((request) => request(axios, basePath));
|
|
10105
10181
|
},
|
|
10182
|
+
/**
|
|
10183
|
+
*
|
|
10184
|
+
* @param {string} id
|
|
10185
|
+
* @param {RescheduleBookingPayload} rescheduleBookingPayload
|
|
10186
|
+
* @param {*} [options] Override http request option.
|
|
10187
|
+
* @throws {RequiredError}
|
|
10188
|
+
*/
|
|
10189
|
+
bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
10190
|
+
return localVarFp.bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(axios, basePath));
|
|
10191
|
+
},
|
|
10106
10192
|
/**
|
|
10107
10193
|
*
|
|
10108
10194
|
* @param {string} id
|
|
@@ -10233,6 +10319,18 @@ export class BookingApi extends BaseAPI {
|
|
|
10233
10319
|
return BookingApiFp(this.configuration).bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
10234
10320
|
}
|
|
10235
10321
|
|
|
10322
|
+
/**
|
|
10323
|
+
*
|
|
10324
|
+
* @param {string} id
|
|
10325
|
+
* @param {RescheduleBookingPayload} rescheduleBookingPayload
|
|
10326
|
+
* @param {*} [options] Override http request option.
|
|
10327
|
+
* @throws {RequiredError}
|
|
10328
|
+
* @memberof BookingApi
|
|
10329
|
+
*/
|
|
10330
|
+
public bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig) {
|
|
10331
|
+
return BookingApiFp(this.configuration).bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
10332
|
+
}
|
|
10333
|
+
|
|
10236
10334
|
/**
|
|
10237
10335
|
*
|
|
10238
10336
|
* @param {string} id
|
|
@@ -15939,45 +16037,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
15939
16037
|
options: localVarRequestOptions,
|
|
15940
16038
|
};
|
|
15941
16039
|
},
|
|
15942
|
-
/**
|
|
15943
|
-
*
|
|
15944
|
-
* @param {StripeBookingPayloadDTO} stripeBookingPayloadDTO
|
|
15945
|
-
* @param {*} [options] Override http request option.
|
|
15946
|
-
* @throws {RequiredError}
|
|
15947
|
-
*/
|
|
15948
|
-
paymentControllerCreateBookingSetupIntentPayment: async (stripeBookingPayloadDTO: StripeBookingPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15949
|
-
// verify required parameter 'stripeBookingPayloadDTO' is not null or undefined
|
|
15950
|
-
assertParamExists('paymentControllerCreateBookingSetupIntentPayment', 'stripeBookingPayloadDTO', stripeBookingPayloadDTO)
|
|
15951
|
-
const localVarPath = `/v1/payment/create-booking-setup-intent-payment`;
|
|
15952
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15953
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15954
|
-
let baseOptions;
|
|
15955
|
-
if (configuration) {
|
|
15956
|
-
baseOptions = configuration.baseOptions;
|
|
15957
|
-
}
|
|
15958
|
-
|
|
15959
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15960
|
-
const localVarHeaderParameter = {} as any;
|
|
15961
|
-
const localVarQueryParameter = {} as any;
|
|
15962
|
-
|
|
15963
|
-
// authentication bearer required
|
|
15964
|
-
// http bearer authentication required
|
|
15965
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15966
|
-
|
|
15967
|
-
|
|
15968
|
-
|
|
15969
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15970
|
-
|
|
15971
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15972
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15973
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15974
|
-
localVarRequestOptions.data = serializeDataIfNeeded(stripeBookingPayloadDTO, localVarRequestOptions, configuration)
|
|
15975
|
-
|
|
15976
|
-
return {
|
|
15977
|
-
url: toPathString(localVarUrlObj),
|
|
15978
|
-
options: localVarRequestOptions,
|
|
15979
|
-
};
|
|
15980
|
-
},
|
|
15981
16040
|
/**
|
|
15982
16041
|
*
|
|
15983
16042
|
* @param {CreatePaymentLinkDTO} createPaymentLinkDTO
|
|
@@ -16042,45 +16101,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16042
16101
|
options: localVarRequestOptions,
|
|
16043
16102
|
};
|
|
16044
16103
|
},
|
|
16045
|
-
/**
|
|
16046
|
-
*
|
|
16047
|
-
* @param {StripeSetupIntentPaymentPayloadDTO} stripeSetupIntentPaymentPayloadDTO
|
|
16048
|
-
* @param {*} [options] Override http request option.
|
|
16049
|
-
* @throws {RequiredError}
|
|
16050
|
-
*/
|
|
16051
|
-
paymentControllerCreateSetupIntentPayment: async (stripeSetupIntentPaymentPayloadDTO: StripeSetupIntentPaymentPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16052
|
-
// verify required parameter 'stripeSetupIntentPaymentPayloadDTO' is not null or undefined
|
|
16053
|
-
assertParamExists('paymentControllerCreateSetupIntentPayment', 'stripeSetupIntentPaymentPayloadDTO', stripeSetupIntentPaymentPayloadDTO)
|
|
16054
|
-
const localVarPath = `/v1/payment/create-setup-intent-payment`;
|
|
16055
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16056
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16057
|
-
let baseOptions;
|
|
16058
|
-
if (configuration) {
|
|
16059
|
-
baseOptions = configuration.baseOptions;
|
|
16060
|
-
}
|
|
16061
|
-
|
|
16062
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16063
|
-
const localVarHeaderParameter = {} as any;
|
|
16064
|
-
const localVarQueryParameter = {} as any;
|
|
16065
|
-
|
|
16066
|
-
// authentication bearer required
|
|
16067
|
-
// http bearer authentication required
|
|
16068
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16073
|
-
|
|
16074
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16075
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16076
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16077
|
-
localVarRequestOptions.data = serializeDataIfNeeded(stripeSetupIntentPaymentPayloadDTO, localVarRequestOptions, configuration)
|
|
16078
|
-
|
|
16079
|
-
return {
|
|
16080
|
-
url: toPathString(localVarUrlObj),
|
|
16081
|
-
options: localVarRequestOptions,
|
|
16082
|
-
};
|
|
16083
|
-
},
|
|
16084
16104
|
/**
|
|
16085
16105
|
*
|
|
16086
16106
|
* @param {*} [options] Override http request option.
|
|
@@ -16112,14 +16132,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16112
16132
|
},
|
|
16113
16133
|
/**
|
|
16114
16134
|
*
|
|
16115
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
16116
16135
|
* @param {*} [options] Override http request option.
|
|
16117
16136
|
* @throws {RequiredError}
|
|
16118
16137
|
*/
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
|
|
16122
|
-
const localVarPath = `/v1/payment/plan`;
|
|
16138
|
+
paymentControllerRetrieveConnectedAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16139
|
+
const localVarPath = `/v1/payment/connected-account`;
|
|
16123
16140
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16124
16141
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16125
16142
|
let baseOptions;
|
|
@@ -16127,7 +16144,7 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16127
16144
|
baseOptions = configuration.baseOptions;
|
|
16128
16145
|
}
|
|
16129
16146
|
|
|
16130
|
-
const localVarRequestOptions = { method: '
|
|
16147
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16131
16148
|
const localVarHeaderParameter = {} as any;
|
|
16132
16149
|
const localVarQueryParameter = {} as any;
|
|
16133
16150
|
|
|
@@ -16137,12 +16154,9 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16137
16154
|
|
|
16138
16155
|
|
|
16139
16156
|
|
|
16140
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16141
|
-
|
|
16142
16157
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16143
16158
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16144
16159
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16145
|
-
localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
|
|
16146
16160
|
|
|
16147
16161
|
return {
|
|
16148
16162
|
url: toPathString(localVarUrlObj),
|
|
@@ -16154,8 +16168,8 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16154
16168
|
* @param {*} [options] Override http request option.
|
|
16155
16169
|
* @throws {RequiredError}
|
|
16156
16170
|
*/
|
|
16157
|
-
|
|
16158
|
-
const localVarPath = `/v1/payment/
|
|
16171
|
+
paymentControllerRevenueCatWebhook: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16172
|
+
const localVarPath = `/v1/payment/revenuecat-webhook`;
|
|
16159
16173
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16160
16174
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16161
16175
|
let baseOptions;
|
|
@@ -16163,14 +16177,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16163
16177
|
baseOptions = configuration.baseOptions;
|
|
16164
16178
|
}
|
|
16165
16179
|
|
|
16166
|
-
const localVarRequestOptions = { method: '
|
|
16180
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16167
16181
|
const localVarHeaderParameter = {} as any;
|
|
16168
16182
|
const localVarQueryParameter = {} as any;
|
|
16169
16183
|
|
|
16170
|
-
// authentication bearer required
|
|
16171
|
-
// http bearer authentication required
|
|
16172
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16173
|
-
|
|
16174
16184
|
|
|
16175
16185
|
|
|
16176
16186
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16184,11 +16194,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16184
16194
|
},
|
|
16185
16195
|
/**
|
|
16186
16196
|
*
|
|
16197
|
+
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
16187
16198
|
* @param {*} [options] Override http request option.
|
|
16188
16199
|
* @throws {RequiredError}
|
|
16189
16200
|
*/
|
|
16190
|
-
|
|
16191
|
-
|
|
16201
|
+
paymentControllerSetupBookingPayment: async (bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16202
|
+
// verify required parameter 'bookingPaymentPayloadDTO' is not null or undefined
|
|
16203
|
+
assertParamExists('paymentControllerSetupBookingPayment', 'bookingPaymentPayloadDTO', bookingPaymentPayloadDTO)
|
|
16204
|
+
const localVarPath = `/v1/payment/booking`;
|
|
16192
16205
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16193
16206
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16194
16207
|
let baseOptions;
|
|
@@ -16200,11 +16213,18 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16200
16213
|
const localVarHeaderParameter = {} as any;
|
|
16201
16214
|
const localVarQueryParameter = {} as any;
|
|
16202
16215
|
|
|
16216
|
+
// authentication bearer required
|
|
16217
|
+
// http bearer authentication required
|
|
16218
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16219
|
+
|
|
16203
16220
|
|
|
16204
16221
|
|
|
16222
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16223
|
+
|
|
16205
16224
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16206
16225
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16207
16226
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16227
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bookingPaymentPayloadDTO, localVarRequestOptions, configuration)
|
|
16208
16228
|
|
|
16209
16229
|
return {
|
|
16210
16230
|
url: toPathString(localVarUrlObj),
|
|
@@ -16278,18 +16298,6 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
16278
16298
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateAccountVerificationLink']?.[localVarOperationServerIndex]?.url;
|
|
16279
16299
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16280
16300
|
},
|
|
16281
|
-
/**
|
|
16282
|
-
*
|
|
16283
|
-
* @param {StripeBookingPayloadDTO} stripeBookingPayloadDTO
|
|
16284
|
-
* @param {*} [options] Override http request option.
|
|
16285
|
-
* @throws {RequiredError}
|
|
16286
|
-
*/
|
|
16287
|
-
async paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO: StripeBookingPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeSetupIntentPaymentResponseDTO>> {
|
|
16288
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO, options);
|
|
16289
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16290
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateBookingSetupIntentPayment']?.[localVarOperationServerIndex]?.url;
|
|
16291
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16292
|
-
},
|
|
16293
16301
|
/**
|
|
16294
16302
|
*
|
|
16295
16303
|
* @param {CreatePaymentLinkDTO} createPaymentLinkDTO
|
|
@@ -16313,18 +16321,6 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
16313
16321
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateSetupIntent']?.[localVarOperationServerIndex]?.url;
|
|
16314
16322
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16315
16323
|
},
|
|
16316
|
-
/**
|
|
16317
|
-
*
|
|
16318
|
-
* @param {StripeSetupIntentPaymentPayloadDTO} stripeSetupIntentPaymentPayloadDTO
|
|
16319
|
-
* @param {*} [options] Override http request option.
|
|
16320
|
-
* @throws {RequiredError}
|
|
16321
|
-
*/
|
|
16322
|
-
async paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO: StripeSetupIntentPaymentPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeSetupIntentPaymentResponseDTO>> {
|
|
16323
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO, options);
|
|
16324
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16325
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateSetupIntentPayment']?.[localVarOperationServerIndex]?.url;
|
|
16326
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16327
|
-
},
|
|
16328
16324
|
/**
|
|
16329
16325
|
*
|
|
16330
16326
|
* @param {*} [options] Override http request option.
|
|
@@ -16338,14 +16334,13 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
16338
16334
|
},
|
|
16339
16335
|
/**
|
|
16340
16336
|
*
|
|
16341
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
16342
16337
|
* @param {*} [options] Override http request option.
|
|
16343
16338
|
* @throws {RequiredError}
|
|
16344
16339
|
*/
|
|
16345
|
-
async
|
|
16346
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
16340
|
+
async paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessConnectedAccount>> {
|
|
16341
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRetrieveConnectedAccount(options);
|
|
16347
16342
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16348
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
16343
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveConnectedAccount']?.[localVarOperationServerIndex]?.url;
|
|
16349
16344
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16350
16345
|
},
|
|
16351
16346
|
/**
|
|
@@ -16353,21 +16348,22 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
16353
16348
|
* @param {*} [options] Override http request option.
|
|
16354
16349
|
* @throws {RequiredError}
|
|
16355
16350
|
*/
|
|
16356
|
-
async
|
|
16357
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
16351
|
+
async paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16352
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRevenueCatWebhook(options);
|
|
16358
16353
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16359
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
16354
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
|
|
16360
16355
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16361
16356
|
},
|
|
16362
16357
|
/**
|
|
16363
16358
|
*
|
|
16359
|
+
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
16364
16360
|
* @param {*} [options] Override http request option.
|
|
16365
16361
|
* @throws {RequiredError}
|
|
16366
16362
|
*/
|
|
16367
|
-
async
|
|
16368
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
16363
|
+
async paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPaymentCreateResponseDTO>> {
|
|
16364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options);
|
|
16369
16365
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16370
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
16366
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerSetupBookingPayment']?.[localVarOperationServerIndex]?.url;
|
|
16371
16367
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16372
16368
|
},
|
|
16373
16369
|
/**
|
|
@@ -16408,15 +16404,6 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
16408
16404
|
paymentControllerCreateAccountVerificationLink(options?: RawAxiosRequestConfig): AxiosPromise<VerificationLinkResponseDTO> {
|
|
16409
16405
|
return localVarFp.paymentControllerCreateAccountVerificationLink(options).then((request) => request(axios, basePath));
|
|
16410
16406
|
},
|
|
16411
|
-
/**
|
|
16412
|
-
*
|
|
16413
|
-
* @param {StripeBookingPayloadDTO} stripeBookingPayloadDTO
|
|
16414
|
-
* @param {*} [options] Override http request option.
|
|
16415
|
-
* @throws {RequiredError}
|
|
16416
|
-
*/
|
|
16417
|
-
paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO: StripeBookingPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentPaymentResponseDTO> {
|
|
16418
|
-
return localVarFp.paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO, options).then((request) => request(axios, basePath));
|
|
16419
|
-
},
|
|
16420
16407
|
/**
|
|
16421
16408
|
*
|
|
16422
16409
|
* @param {CreatePaymentLinkDTO} createPaymentLinkDTO
|
|
@@ -16434,15 +16421,6 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
16434
16421
|
paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentResponseDTO> {
|
|
16435
16422
|
return localVarFp.paymentControllerCreateSetupIntent(options).then((request) => request(axios, basePath));
|
|
16436
16423
|
},
|
|
16437
|
-
/**
|
|
16438
|
-
*
|
|
16439
|
-
* @param {StripeSetupIntentPaymentPayloadDTO} stripeSetupIntentPaymentPayloadDTO
|
|
16440
|
-
* @param {*} [options] Override http request option.
|
|
16441
|
-
* @throws {RequiredError}
|
|
16442
|
-
*/
|
|
16443
|
-
paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO: StripeSetupIntentPaymentPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentPaymentResponseDTO> {
|
|
16444
|
-
return localVarFp.paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO, options).then((request) => request(axios, basePath));
|
|
16445
|
-
},
|
|
16446
16424
|
/**
|
|
16447
16425
|
*
|
|
16448
16426
|
* @param {*} [options] Override http request option.
|
|
@@ -16453,28 +16431,28 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
16453
16431
|
},
|
|
16454
16432
|
/**
|
|
16455
16433
|
*
|
|
16456
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
16457
16434
|
* @param {*} [options] Override http request option.
|
|
16458
16435
|
* @throws {RequiredError}
|
|
16459
16436
|
*/
|
|
16460
|
-
|
|
16461
|
-
return localVarFp.
|
|
16437
|
+
paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig): AxiosPromise<BusinessConnectedAccount> {
|
|
16438
|
+
return localVarFp.paymentControllerRetrieveConnectedAccount(options).then((request) => request(axios, basePath));
|
|
16462
16439
|
},
|
|
16463
16440
|
/**
|
|
16464
16441
|
*
|
|
16465
16442
|
* @param {*} [options] Override http request option.
|
|
16466
16443
|
* @throws {RequiredError}
|
|
16467
16444
|
*/
|
|
16468
|
-
|
|
16469
|
-
return localVarFp.
|
|
16445
|
+
paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16446
|
+
return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
|
|
16470
16447
|
},
|
|
16471
16448
|
/**
|
|
16472
16449
|
*
|
|
16450
|
+
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
16473
16451
|
* @param {*} [options] Override http request option.
|
|
16474
16452
|
* @throws {RequiredError}
|
|
16475
16453
|
*/
|
|
16476
|
-
|
|
16477
|
-
return localVarFp.
|
|
16454
|
+
paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BookingPaymentCreateResponseDTO> {
|
|
16455
|
+
return localVarFp.paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(axios, basePath));
|
|
16478
16456
|
},
|
|
16479
16457
|
/**
|
|
16480
16458
|
*
|
|
@@ -16515,17 +16493,6 @@ export class PlansApi extends BaseAPI {
|
|
|
16515
16493
|
return PlansApiFp(this.configuration).paymentControllerCreateAccountVerificationLink(options).then((request) => request(this.axios, this.basePath));
|
|
16516
16494
|
}
|
|
16517
16495
|
|
|
16518
|
-
/**
|
|
16519
|
-
*
|
|
16520
|
-
* @param {StripeBookingPayloadDTO} stripeBookingPayloadDTO
|
|
16521
|
-
* @param {*} [options] Override http request option.
|
|
16522
|
-
* @throws {RequiredError}
|
|
16523
|
-
* @memberof PlansApi
|
|
16524
|
-
*/
|
|
16525
|
-
public paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO: StripeBookingPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
16526
|
-
return PlansApiFp(this.configuration).paymentControllerCreateBookingSetupIntentPayment(stripeBookingPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16527
|
-
}
|
|
16528
|
-
|
|
16529
16496
|
/**
|
|
16530
16497
|
*
|
|
16531
16498
|
* @param {CreatePaymentLinkDTO} createPaymentLinkDTO
|
|
@@ -16547,17 +16514,6 @@ export class PlansApi extends BaseAPI {
|
|
|
16547
16514
|
return PlansApiFp(this.configuration).paymentControllerCreateSetupIntent(options).then((request) => request(this.axios, this.basePath));
|
|
16548
16515
|
}
|
|
16549
16516
|
|
|
16550
|
-
/**
|
|
16551
|
-
*
|
|
16552
|
-
* @param {StripeSetupIntentPaymentPayloadDTO} stripeSetupIntentPaymentPayloadDTO
|
|
16553
|
-
* @param {*} [options] Override http request option.
|
|
16554
|
-
* @throws {RequiredError}
|
|
16555
|
-
* @memberof PlansApi
|
|
16556
|
-
*/
|
|
16557
|
-
public paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO: StripeSetupIntentPaymentPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
16558
|
-
return PlansApiFp(this.configuration).paymentControllerCreateSetupIntentPayment(stripeSetupIntentPaymentPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16559
|
-
}
|
|
16560
|
-
|
|
16561
16517
|
/**
|
|
16562
16518
|
*
|
|
16563
16519
|
* @param {*} [options] Override http request option.
|
|
@@ -16570,13 +16526,12 @@ export class PlansApi extends BaseAPI {
|
|
|
16570
16526
|
|
|
16571
16527
|
/**
|
|
16572
16528
|
*
|
|
16573
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
16574
16529
|
* @param {*} [options] Override http request option.
|
|
16575
16530
|
* @throws {RequiredError}
|
|
16576
16531
|
* @memberof PlansApi
|
|
16577
16532
|
*/
|
|
16578
|
-
public
|
|
16579
|
-
return PlansApiFp(this.configuration).
|
|
16533
|
+
public paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig) {
|
|
16534
|
+
return PlansApiFp(this.configuration).paymentControllerRetrieveConnectedAccount(options).then((request) => request(this.axios, this.basePath));
|
|
16580
16535
|
}
|
|
16581
16536
|
|
|
16582
16537
|
/**
|
|
@@ -16585,18 +16540,19 @@ export class PlansApi extends BaseAPI {
|
|
|
16585
16540
|
* @throws {RequiredError}
|
|
16586
16541
|
* @memberof PlansApi
|
|
16587
16542
|
*/
|
|
16588
|
-
public
|
|
16589
|
-
return PlansApiFp(this.configuration).
|
|
16543
|
+
public paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig) {
|
|
16544
|
+
return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
16590
16545
|
}
|
|
16591
16546
|
|
|
16592
16547
|
/**
|
|
16593
16548
|
*
|
|
16549
|
+
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
16594
16550
|
* @param {*} [options] Override http request option.
|
|
16595
16551
|
* @throws {RequiredError}
|
|
16596
16552
|
* @memberof PlansApi
|
|
16597
16553
|
*/
|
|
16598
|
-
public
|
|
16599
|
-
return PlansApiFp(this.configuration).
|
|
16554
|
+
public paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
16555
|
+
return PlansApiFp(this.configuration).paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16600
16556
|
}
|
|
16601
16557
|
|
|
16602
16558
|
/**
|
|
@@ -19770,19 +19726,14 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19770
19726
|
},
|
|
19771
19727
|
/**
|
|
19772
19728
|
*
|
|
19773
|
-
* @param {
|
|
19774
|
-
* @param {number} pageSize
|
|
19775
|
-
* @param {string} [search]
|
|
19776
|
-
* @param {string} [venue]
|
|
19729
|
+
* @param {WaitlistStaff} waitlistStaff
|
|
19777
19730
|
* @param {*} [options] Override http request option.
|
|
19778
19731
|
* @throws {RequiredError}
|
|
19779
19732
|
*/
|
|
19780
|
-
waitlistControllerFindWaitlist: async (
|
|
19781
|
-
// verify required parameter '
|
|
19782
|
-
assertParamExists('waitlistControllerFindWaitlist', '
|
|
19783
|
-
|
|
19784
|
-
assertParamExists('waitlistControllerFindWaitlist', 'pageSize', pageSize)
|
|
19785
|
-
const localVarPath = `/v1/waitlist`;
|
|
19733
|
+
waitlistControllerFindWaitlist: async (waitlistStaff: WaitlistStaff, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19734
|
+
// verify required parameter 'waitlistStaff' is not null or undefined
|
|
19735
|
+
assertParamExists('waitlistControllerFindWaitlist', 'waitlistStaff', waitlistStaff)
|
|
19736
|
+
const localVarPath = `/v1/waitlist/list`;
|
|
19786
19737
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19787
19738
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19788
19739
|
let baseOptions;
|
|
@@ -19790,7 +19741,7 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19790
19741
|
baseOptions = configuration.baseOptions;
|
|
19791
19742
|
}
|
|
19792
19743
|
|
|
19793
|
-
const localVarRequestOptions = { method: '
|
|
19744
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19794
19745
|
const localVarHeaderParameter = {} as any;
|
|
19795
19746
|
const localVarQueryParameter = {} as any;
|
|
19796
19747
|
|
|
@@ -19798,27 +19749,14 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19798
19749
|
// http bearer authentication required
|
|
19799
19750
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19800
19751
|
|
|
19801
|
-
if (page !== undefined) {
|
|
19802
|
-
localVarQueryParameter['page'] = page;
|
|
19803
|
-
}
|
|
19804
|
-
|
|
19805
|
-
if (pageSize !== undefined) {
|
|
19806
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
19807
|
-
}
|
|
19808
|
-
|
|
19809
|
-
if (search !== undefined) {
|
|
19810
|
-
localVarQueryParameter['search'] = search;
|
|
19811
|
-
}
|
|
19812
|
-
|
|
19813
|
-
if (venue !== undefined) {
|
|
19814
|
-
localVarQueryParameter['venue'] = venue;
|
|
19815
|
-
}
|
|
19816
|
-
|
|
19817
19752
|
|
|
19818
19753
|
|
|
19754
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19755
|
+
|
|
19819
19756
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19820
19757
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19821
19758
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19759
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitlistStaff, localVarRequestOptions, configuration)
|
|
19822
19760
|
|
|
19823
19761
|
return {
|
|
19824
19762
|
url: toPathString(localVarUrlObj),
|
|
@@ -19892,15 +19830,12 @@ export const WaitlistApiFp = function(configuration?: Configuration) {
|
|
|
19892
19830
|
},
|
|
19893
19831
|
/**
|
|
19894
19832
|
*
|
|
19895
|
-
* @param {
|
|
19896
|
-
* @param {number} pageSize
|
|
19897
|
-
* @param {string} [search]
|
|
19898
|
-
* @param {string} [venue]
|
|
19833
|
+
* @param {WaitlistStaff} waitlistStaff
|
|
19899
19834
|
* @param {*} [options] Override http request option.
|
|
19900
19835
|
* @throws {RequiredError}
|
|
19901
19836
|
*/
|
|
19902
|
-
async waitlistControllerFindWaitlist(
|
|
19903
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(
|
|
19837
|
+
async waitlistControllerFindWaitlist(waitlistStaff: WaitlistStaff, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindWaitlistResponseDTO>> {
|
|
19838
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(waitlistStaff, options);
|
|
19904
19839
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19905
19840
|
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindWaitlist']?.[localVarOperationServerIndex]?.url;
|
|
19906
19841
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19939,15 +19874,12 @@ export const WaitlistApiFactory = function (configuration?: Configuration, baseP
|
|
|
19939
19874
|
},
|
|
19940
19875
|
/**
|
|
19941
19876
|
*
|
|
19942
|
-
* @param {
|
|
19943
|
-
* @param {number} pageSize
|
|
19944
|
-
* @param {string} [search]
|
|
19945
|
-
* @param {string} [venue]
|
|
19877
|
+
* @param {WaitlistStaff} waitlistStaff
|
|
19946
19878
|
* @param {*} [options] Override http request option.
|
|
19947
19879
|
* @throws {RequiredError}
|
|
19948
19880
|
*/
|
|
19949
|
-
waitlistControllerFindWaitlist(
|
|
19950
|
-
return localVarFp.waitlistControllerFindWaitlist(
|
|
19881
|
+
waitlistControllerFindWaitlist(waitlistStaff: WaitlistStaff, options?: RawAxiosRequestConfig): AxiosPromise<FindWaitlistResponseDTO> {
|
|
19882
|
+
return localVarFp.waitlistControllerFindWaitlist(waitlistStaff, options).then((request) => request(axios, basePath));
|
|
19951
19883
|
},
|
|
19952
19884
|
/**
|
|
19953
19885
|
*
|
|
@@ -19982,16 +19914,13 @@ export class WaitlistApi extends BaseAPI {
|
|
|
19982
19914
|
|
|
19983
19915
|
/**
|
|
19984
19916
|
*
|
|
19985
|
-
* @param {
|
|
19986
|
-
* @param {number} pageSize
|
|
19987
|
-
* @param {string} [search]
|
|
19988
|
-
* @param {string} [venue]
|
|
19917
|
+
* @param {WaitlistStaff} waitlistStaff
|
|
19989
19918
|
* @param {*} [options] Override http request option.
|
|
19990
19919
|
* @throws {RequiredError}
|
|
19991
19920
|
* @memberof WaitlistApi
|
|
19992
19921
|
*/
|
|
19993
|
-
public waitlistControllerFindWaitlist(
|
|
19994
|
-
return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(
|
|
19922
|
+
public waitlistControllerFindWaitlist(waitlistStaff: WaitlistStaff, options?: RawAxiosRequestConfig) {
|
|
19923
|
+
return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(waitlistStaff, options).then((request) => request(this.axios, this.basePath));
|
|
19995
19924
|
}
|
|
19996
19925
|
|
|
19997
19926
|
/**
|