@gooday_corp/gooday-api-client 1.1.60-alpha → 1.1.61-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/.openapi-generator/VERSION +1 -1
- package/api.ts +69 -10
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.10.0
|
package/api.ts
CHANGED
|
@@ -431,10 +431,10 @@ export interface BookingResponse {
|
|
|
431
431
|
'occasion': string;
|
|
432
432
|
/**
|
|
433
433
|
* Calendar attached with booking
|
|
434
|
-
* @type {string}
|
|
434
|
+
* @type {Array<string>}
|
|
435
435
|
* @memberof BookingResponse
|
|
436
436
|
*/
|
|
437
|
-
'calendar': string
|
|
437
|
+
'calendar': Array<string>;
|
|
438
438
|
/**
|
|
439
439
|
* Payment method Id
|
|
440
440
|
* @type {string}
|
|
@@ -1360,10 +1360,10 @@ export interface CreateBookingPayload {
|
|
|
1360
1360
|
'occasion': string;
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Calendar attached with booking
|
|
1363
|
-
* @type {string}
|
|
1363
|
+
* @type {Array<string>}
|
|
1364
1364
|
* @memberof CreateBookingPayload
|
|
1365
1365
|
*/
|
|
1366
|
-
'calendar': string
|
|
1366
|
+
'calendar': Array<string>;
|
|
1367
1367
|
/**
|
|
1368
1368
|
* Payment method Id
|
|
1369
1369
|
* @type {string}
|
|
@@ -1523,10 +1523,10 @@ export interface CreateEventPayload {
|
|
|
1523
1523
|
'note': string;
|
|
1524
1524
|
/**
|
|
1525
1525
|
* Calendar attached with booking
|
|
1526
|
-
* @type {string}
|
|
1526
|
+
* @type {Array<string>}
|
|
1527
1527
|
* @memberof CreateEventPayload
|
|
1528
1528
|
*/
|
|
1529
|
-
'calendar': string
|
|
1529
|
+
'calendar': Array<string>;
|
|
1530
1530
|
/**
|
|
1531
1531
|
* The list of customers associated with the event
|
|
1532
1532
|
* @type {Array<CreateEventCustomerPayload>}
|
|
@@ -2685,7 +2685,9 @@ export const NotificationEntityTypeEnum = {
|
|
|
2685
2685
|
EventInviteReject: 'EVENT_INVITE_REJECT',
|
|
2686
2686
|
EventInviteAccept: 'EVENT_INVITE_ACCEPT',
|
|
2687
2687
|
EventUserRemoved: 'EVENT_USER_REMOVED',
|
|
2688
|
-
EventUserLeft: 'EVENT_USER_LEFT'
|
|
2688
|
+
EventUserLeft: 'EVENT_USER_LEFT',
|
|
2689
|
+
EventDetailsUpdate: 'EVENT_DETAILS_UPDATE',
|
|
2690
|
+
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE'
|
|
2689
2691
|
} as const;
|
|
2690
2692
|
|
|
2691
2693
|
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
@@ -9675,6 +9677,35 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9675
9677
|
|
|
9676
9678
|
|
|
9677
9679
|
|
|
9680
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9681
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9682
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9683
|
+
|
|
9684
|
+
return {
|
|
9685
|
+
url: toPathString(localVarUrlObj),
|
|
9686
|
+
options: localVarRequestOptions,
|
|
9687
|
+
};
|
|
9688
|
+
},
|
|
9689
|
+
/**
|
|
9690
|
+
*
|
|
9691
|
+
* @param {*} [options] Override http request option.
|
|
9692
|
+
* @throws {RequiredError}
|
|
9693
|
+
*/
|
|
9694
|
+
paymentControllerInAppPurchase: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9695
|
+
const localVarPath = `/v1/payment/in-app-purchase`;
|
|
9696
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9697
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9698
|
+
let baseOptions;
|
|
9699
|
+
if (configuration) {
|
|
9700
|
+
baseOptions = configuration.baseOptions;
|
|
9701
|
+
}
|
|
9702
|
+
|
|
9703
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9704
|
+
const localVarHeaderParameter = {} as any;
|
|
9705
|
+
const localVarQueryParameter = {} as any;
|
|
9706
|
+
|
|
9707
|
+
|
|
9708
|
+
|
|
9678
9709
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9679
9710
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9680
9711
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9744,12 +9775,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9744
9775
|
const localVarHeaderParameter = {} as any;
|
|
9745
9776
|
const localVarQueryParameter = {} as any;
|
|
9746
9777
|
|
|
9778
|
+
|
|
9779
|
+
|
|
9747
9780
|
if (stripeSignature != null) {
|
|
9748
9781
|
localVarHeaderParameter['stripe-signature'] = String(stripeSignature);
|
|
9749
9782
|
}
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
9783
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9754
9784
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9755
9785
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9803,6 +9833,17 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
9803
9833
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
|
|
9804
9834
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9805
9835
|
},
|
|
9836
|
+
/**
|
|
9837
|
+
*
|
|
9838
|
+
* @param {*} [options] Override http request option.
|
|
9839
|
+
* @throws {RequiredError}
|
|
9840
|
+
*/
|
|
9841
|
+
async paymentControllerInAppPurchase(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9842
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerInAppPurchase(options);
|
|
9843
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9844
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerInAppPurchase']?.[localVarOperationServerIndex]?.url;
|
|
9845
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9846
|
+
},
|
|
9806
9847
|
/**
|
|
9807
9848
|
*
|
|
9808
9849
|
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
@@ -9862,6 +9903,14 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
9862
9903
|
paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
|
|
9863
9904
|
return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
|
|
9864
9905
|
},
|
|
9906
|
+
/**
|
|
9907
|
+
*
|
|
9908
|
+
* @param {*} [options] Override http request option.
|
|
9909
|
+
* @throws {RequiredError}
|
|
9910
|
+
*/
|
|
9911
|
+
paymentControllerInAppPurchase(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9912
|
+
return localVarFp.paymentControllerInAppPurchase(options).then((request) => request(axios, basePath));
|
|
9913
|
+
},
|
|
9865
9914
|
/**
|
|
9866
9915
|
*
|
|
9867
9916
|
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
@@ -9921,6 +9970,16 @@ export class PlansApi extends BaseAPI {
|
|
|
9921
9970
|
return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
|
|
9922
9971
|
}
|
|
9923
9972
|
|
|
9973
|
+
/**
|
|
9974
|
+
*
|
|
9975
|
+
* @param {*} [options] Override http request option.
|
|
9976
|
+
* @throws {RequiredError}
|
|
9977
|
+
* @memberof PlansApi
|
|
9978
|
+
*/
|
|
9979
|
+
public paymentControllerInAppPurchase(options?: RawAxiosRequestConfig) {
|
|
9980
|
+
return PlansApiFp(this.configuration).paymentControllerInAppPurchase(options).then((request) => request(this.axios, this.basePath));
|
|
9981
|
+
}
|
|
9982
|
+
|
|
9924
9983
|
/**
|
|
9925
9984
|
*
|
|
9926
9985
|
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|