@gooday_corp/gooday-api-client 4.5.86 → 4.5.96
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 +9 -0
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +9418 -725
- package/base.ts +24 -0
- package/common.ts +38 -15
- package/configuration.ts +18 -24
- package/docs/BookingPaymentCreateResponse.md +4 -0
- package/docs/ConfirmRSVPV2PaymentDTO.md +20 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateRSVPEventV2DTO.md +72 -0
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/HostV2DTO.md +22 -0
- package/docs/InviteRSVPArrayDTO.md +20 -0
- package/docs/InviteRSVPDTO.md +34 -0
- package/docs/JoinRSVPEventDTO.md +34 -0
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/PlansApi.md +44 -0
- package/docs/RSVPV2Api.md +559 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SetupRSVPV2PaymentDTO.md +20 -0
- package/docs/UpdateRSVPStatusDTO.md +20 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/base.ts
CHANGED
|
@@ -21,6 +21,10 @@ import globalAxios from 'axios';
|
|
|
21
21
|
|
|
22
22
|
export const BASE_PATH = "http://localhost:8080".replace(/\/+$/, "");
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
24
28
|
export const COLLECTION_FORMATS = {
|
|
25
29
|
csv: ",",
|
|
26
30
|
ssv: " ",
|
|
@@ -28,11 +32,21 @@ export const COLLECTION_FORMATS = {
|
|
|
28
32
|
pipes: "|",
|
|
29
33
|
};
|
|
30
34
|
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface RequestArgs
|
|
39
|
+
*/
|
|
31
40
|
export interface RequestArgs {
|
|
32
41
|
url: string;
|
|
33
42
|
options: RawAxiosRequestConfig;
|
|
34
43
|
}
|
|
35
44
|
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class BaseAPI
|
|
49
|
+
*/
|
|
36
50
|
export class BaseAPI {
|
|
37
51
|
protected configuration: Configuration | undefined;
|
|
38
52
|
|
|
@@ -44,6 +58,12 @@ export class BaseAPI {
|
|
|
44
58
|
}
|
|
45
59
|
};
|
|
46
60
|
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
* @class RequiredError
|
|
65
|
+
* @extends {Error}
|
|
66
|
+
*/
|
|
47
67
|
export class RequiredError extends Error {
|
|
48
68
|
constructor(public field: string, msg?: string) {
|
|
49
69
|
super(msg);
|
|
@@ -58,5 +78,9 @@ interface ServerMap {
|
|
|
58
78
|
}[];
|
|
59
79
|
}
|
|
60
80
|
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
61
85
|
export const operationServerMap: ServerMap = {
|
|
62
86
|
}
|
package/common.ts
CHANGED
|
@@ -12,16 +12,22 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
import type { Configuration } from "./configuration";
|
|
16
17
|
import type { RequestArgs } from "./base";
|
|
17
18
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
18
19
|
import { RequiredError } from "./base";
|
|
19
20
|
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
20
25
|
export const DUMMY_BASE_URL = 'https://example.com'
|
|
21
26
|
|
|
22
27
|
/**
|
|
23
28
|
*
|
|
24
29
|
* @throws {RequiredError}
|
|
30
|
+
* @export
|
|
25
31
|
*/
|
|
26
32
|
export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
|
|
27
33
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -29,6 +35,10 @@ export const assertParamExists = function (functionName: string, paramName: stri
|
|
|
29
35
|
}
|
|
30
36
|
}
|
|
31
37
|
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
32
42
|
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
|
|
33
43
|
if (configuration && configuration.apiKey) {
|
|
34
44
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -38,12 +48,20 @@ export const setApiKeyToObject = async function (object: any, keyParamName: stri
|
|
|
38
48
|
}
|
|
39
49
|
}
|
|
40
50
|
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
41
55
|
export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
|
|
42
56
|
if (configuration && (configuration.username || configuration.password)) {
|
|
43
57
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
44
58
|
}
|
|
45
59
|
}
|
|
46
60
|
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
47
65
|
export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
|
|
48
66
|
if (configuration && configuration.accessToken) {
|
|
49
67
|
const accessToken = typeof configuration.accessToken === 'function'
|
|
@@ -53,6 +71,10 @@ export const setBearerAuthToObject = async function (object: any, configuration?
|
|
|
53
71
|
}
|
|
54
72
|
}
|
|
55
73
|
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
56
78
|
export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
|
|
57
79
|
if (configuration && configuration.accessToken) {
|
|
58
80
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
@@ -62,11 +84,10 @@ export const setOAuthToObject = async function (object: any, name: string, scope
|
|
|
62
84
|
}
|
|
63
85
|
}
|
|
64
86
|
|
|
65
|
-
|
|
66
87
|
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
|
67
88
|
if (parameter == null) return;
|
|
68
89
|
if (typeof parameter === "object") {
|
|
69
|
-
if (Array.isArray(parameter)
|
|
90
|
+
if (Array.isArray(parameter)) {
|
|
70
91
|
(parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
71
92
|
}
|
|
72
93
|
else {
|
|
@@ -85,6 +106,10 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
|
|
|
85
106
|
}
|
|
86
107
|
}
|
|
87
108
|
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @export
|
|
112
|
+
*/
|
|
88
113
|
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
89
114
|
const searchParams = new URLSearchParams(url.search);
|
|
90
115
|
setFlattenedQueryParams(searchParams, objects);
|
|
@@ -92,33 +117,31 @@ export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
|
92
117
|
}
|
|
93
118
|
|
|
94
119
|
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
120
|
+
*
|
|
121
|
+
* @export
|
|
98
122
|
*/
|
|
99
|
-
// @ts-ignore
|
|
100
|
-
export const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {
|
|
101
|
-
if (value instanceof Set) {
|
|
102
|
-
return Array.from(value);
|
|
103
|
-
} else {
|
|
104
|
-
return value;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
123
|
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
|
|
109
124
|
const nonString = typeof value !== 'string';
|
|
110
125
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
111
126
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
112
127
|
: nonString;
|
|
113
128
|
return needsSerialization
|
|
114
|
-
? JSON.stringify(value !== undefined ? value : {}
|
|
129
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
115
130
|
: (value || "");
|
|
116
131
|
}
|
|
117
132
|
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @export
|
|
136
|
+
*/
|
|
118
137
|
export const toPathString = function (url: URL) {
|
|
119
138
|
return url.pathname + url.search + url.hash
|
|
120
139
|
}
|
|
121
140
|
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @export
|
|
144
|
+
*/
|
|
122
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
123
146
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
124
147
|
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
package/configuration.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
2
3
|
/**
|
|
3
4
|
* Gooday
|
|
4
5
|
* Gooday API Documentation
|
|
@@ -11,24 +12,12 @@
|
|
|
11
12
|
* Do not edit the class manually.
|
|
12
13
|
*/
|
|
13
14
|
|
|
14
|
-
interface AWSv4Configuration {
|
|
15
|
-
options?: {
|
|
16
|
-
region?: string
|
|
17
|
-
service?: string
|
|
18
|
-
}
|
|
19
|
-
credentials?: {
|
|
20
|
-
accessKeyId?: string
|
|
21
|
-
secretAccessKey?: string,
|
|
22
|
-
sessionToken?: string
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
15
|
|
|
26
16
|
export interface ConfigurationParameters {
|
|
27
17
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
18
|
username?: string;
|
|
29
19
|
password?: string;
|
|
30
20
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
31
|
-
awsv4?: AWSv4Configuration;
|
|
32
21
|
basePath?: string;
|
|
33
22
|
serverIndex?: number;
|
|
34
23
|
baseOptions?: any;
|
|
@@ -39,43 +28,49 @@ export class Configuration {
|
|
|
39
28
|
/**
|
|
40
29
|
* parameter for apiKey security
|
|
41
30
|
* @param name security name
|
|
31
|
+
* @memberof Configuration
|
|
42
32
|
*/
|
|
43
33
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
44
34
|
/**
|
|
45
35
|
* parameter for basic security
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Configuration
|
|
46
39
|
*/
|
|
47
40
|
username?: string;
|
|
48
41
|
/**
|
|
49
42
|
* parameter for basic security
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Configuration
|
|
50
46
|
*/
|
|
51
47
|
password?: string;
|
|
52
48
|
/**
|
|
53
49
|
* parameter for oauth2 security
|
|
54
50
|
* @param name security name
|
|
55
51
|
* @param scopes oauth2 scope
|
|
56
|
-
*/
|
|
57
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
58
|
-
/**
|
|
59
|
-
* parameter for aws4 signature security
|
|
60
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
61
|
-
* @param {string} options.region - aws region
|
|
62
|
-
* @param {string} options.service - name of the service.
|
|
63
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
64
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
65
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
66
52
|
* @memberof Configuration
|
|
67
53
|
*/
|
|
68
|
-
|
|
54
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
69
55
|
/**
|
|
70
56
|
* override base path
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof Configuration
|
|
71
60
|
*/
|
|
72
61
|
basePath?: string;
|
|
73
62
|
/**
|
|
74
63
|
* override server index
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof Configuration
|
|
75
67
|
*/
|
|
76
68
|
serverIndex?: number;
|
|
77
69
|
/**
|
|
78
70
|
* base options for axios calls
|
|
71
|
+
*
|
|
72
|
+
* @type {any}
|
|
73
|
+
* @memberof Configuration
|
|
79
74
|
*/
|
|
80
75
|
baseOptions?: any;
|
|
81
76
|
/**
|
|
@@ -92,7 +87,6 @@ export class Configuration {
|
|
|
92
87
|
this.username = param.username;
|
|
93
88
|
this.password = param.password;
|
|
94
89
|
this.accessToken = param.accessToken;
|
|
95
|
-
this.awsv4 = param.awsv4;
|
|
96
90
|
this.basePath = param.basePath;
|
|
97
91
|
this.serverIndex = param.serverIndex;
|
|
98
92
|
this.baseOptions = {
|
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**paymentId** | **string** | Payment method ID | [default to undefined]
|
|
9
9
|
**paymentIntent** | **string** | Payment intent ID | [default to undefined]
|
|
10
|
+
**clientSecret** | **string** | Stripe Client Secret | [default to undefined]
|
|
11
|
+
**client_secret** | **string** | Stripe Client Secret | [default to undefined]
|
|
10
12
|
**ephemeralKey** | **string** | | [default to undefined]
|
|
11
13
|
**customer** | **string** | | [default to undefined]
|
|
12
14
|
**subscriptionId** | **string** | Only available if payment is recurring | [optional] [default to undefined]
|
|
@@ -23,6 +25,8 @@ import { BookingPaymentCreateResponse } from './api';
|
|
|
23
25
|
const instance: BookingPaymentCreateResponse = {
|
|
24
26
|
paymentId,
|
|
25
27
|
paymentIntent,
|
|
28
|
+
clientSecret,
|
|
29
|
+
client_secret,
|
|
26
30
|
ephemeralKey,
|
|
27
31
|
customer,
|
|
28
32
|
subscriptionId,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ConfirmRSVPV2PaymentDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentGroupId** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ConfirmRSVPV2PaymentDTO } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: ConfirmRSVPV2PaymentDTO = {
|
|
16
|
+
paymentGroupId,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -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-04-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-04-09T06:57:23Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T06:57:23Z]
|
|
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-04-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-04-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-04-09T06:57:23Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-09T06:57:23Z]
|
|
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,72 @@
|
|
|
1
|
+
# CreateRSVPEventV2DTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | | [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**photo** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
+
**totalCapacity** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**costPerPerson** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**currency** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**venue** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**business** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**timezone** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**externalTicketingLink** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**otherLinks** | **Array<string>** | | [optional] [default to undefined]
|
|
22
|
+
**hideGuestCount** | **boolean** | | [optional] [default to undefined]
|
|
23
|
+
**hideLocation** | **boolean** | | [optional] [default to undefined]
|
|
24
|
+
**location** | **object** | | [optional] [default to undefined]
|
|
25
|
+
**isRecurring** | **boolean** | | [optional] [default to undefined]
|
|
26
|
+
**duration** | **number** | | [optional] [default to undefined]
|
|
27
|
+
**startDate** | **string** | | [default to undefined]
|
|
28
|
+
**endDate** | **string** | | [default to undefined]
|
|
29
|
+
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**repeat** | **string** | | [optional] [default to undefined]
|
|
31
|
+
**pattern** | **string** | | [optional] [default to undefined]
|
|
32
|
+
**repeatBy** | **string** | | [optional] [default to undefined]
|
|
33
|
+
**hosts** | [**Array<HostV2DTO>**](HostV2DTO.md) | | [optional] [default to undefined]
|
|
34
|
+
**invites** | [**Array<InviteRSVPDTO>**](InviteRSVPDTO.md) | | [optional] [default to undefined]
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
|
|
38
|
+
```typescript
|
|
39
|
+
import { CreateRSVPEventV2DTO } from './api';
|
|
40
|
+
|
|
41
|
+
const instance: CreateRSVPEventV2DTO = {
|
|
42
|
+
title,
|
|
43
|
+
description,
|
|
44
|
+
photo,
|
|
45
|
+
tags,
|
|
46
|
+
totalCapacity,
|
|
47
|
+
costPerPerson,
|
|
48
|
+
currency,
|
|
49
|
+
type,
|
|
50
|
+
venue,
|
|
51
|
+
business,
|
|
52
|
+
timezone,
|
|
53
|
+
theme,
|
|
54
|
+
externalTicketingLink,
|
|
55
|
+
otherLinks,
|
|
56
|
+
hideGuestCount,
|
|
57
|
+
hideLocation,
|
|
58
|
+
location,
|
|
59
|
+
isRecurring,
|
|
60
|
+
duration,
|
|
61
|
+
startDate,
|
|
62
|
+
endDate,
|
|
63
|
+
recurrenceEndDate,
|
|
64
|
+
repeat,
|
|
65
|
+
pattern,
|
|
66
|
+
repeatBy,
|
|
67
|
+
hosts,
|
|
68
|
+
invites,
|
|
69
|
+
};
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -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-04-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-04-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-04-09T06:57:23Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-09T06:57:23Z]
|
|
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
|
+
# HostV2DTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**hostId** | **string** | | [default to undefined]
|
|
9
|
+
**hostType** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { HostV2DTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: HostV2DTO = {
|
|
17
|
+
hostId,
|
|
18
|
+
hostType,
|
|
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,20 @@
|
|
|
1
|
+
# InviteRSVPArrayDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**invites** | [**Array<InviteRSVPDTO>**](InviteRSVPDTO.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { InviteRSVPArrayDTO } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: InviteRSVPArrayDTO = {
|
|
16
|
+
invites,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,34 @@
|
|
|
1
|
+
# InviteRSVPDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**mobileNumber** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**user** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**contact** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**business** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**profile** | **string** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { InviteRSVPDTO } from './api';
|
|
21
|
+
|
|
22
|
+
const instance: InviteRSVPDTO = {
|
|
23
|
+
email,
|
|
24
|
+
firstName,
|
|
25
|
+
lastName,
|
|
26
|
+
mobileNumber,
|
|
27
|
+
user,
|
|
28
|
+
contact,
|
|
29
|
+
business,
|
|
30
|
+
profile,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[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,34 @@
|
|
|
1
|
+
# JoinRSVPEventDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**mobileNumber** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**profile** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**user** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**contact** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**others** | [**Array<InviteRSVPDTO>**](InviteRSVPDTO.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { JoinRSVPEventDTO } from './api';
|
|
21
|
+
|
|
22
|
+
const instance: JoinRSVPEventDTO = {
|
|
23
|
+
firstName,
|
|
24
|
+
lastName,
|
|
25
|
+
email,
|
|
26
|
+
mobileNumber,
|
|
27
|
+
profile,
|
|
28
|
+
user,
|
|
29
|
+
contact,
|
|
30
|
+
others,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[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-04-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T06:57:21Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-09T06:57:21Z]
|
|
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/PlansApi.md
CHANGED
|
@@ -18,6 +18,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
18
18
|
|[**paymentControllerServiceById**](#paymentcontrollerservicebyid) | **GET** /v1/payment/stripe-plan/{id} | |
|
|
19
19
|
|[**paymentControllerSetupBookingPayment**](#paymentcontrollersetupbookingpayment) | **POST** /v1/payment/booking | |
|
|
20
20
|
|[**paymentControllerSetupDashboardBookingPayment**](#paymentcontrollersetupdashboardbookingpayment) | **POST** /v1/payment/booking/rsvp | |
|
|
21
|
+
|[**paymentControllerSetupRSVPV2Payment**](#paymentcontrollersetuprsvpv2payment) | **POST** /v1/payment/rsvp-v2 | |
|
|
21
22
|
|[**paymentControllerStripeWebhook**](#paymentcontrollerstripewebhook) | **POST** /v1/payment/stripe-webhook | |
|
|
22
23
|
|
|
23
24
|
# **paymentControllerConnectAccount**
|
|
@@ -678,6 +679,49 @@ No authorization required
|
|
|
678
679
|
- **Accept**: application/json
|
|
679
680
|
|
|
680
681
|
|
|
682
|
+
### HTTP response details
|
|
683
|
+
| Status code | Description | Response headers |
|
|
684
|
+
|-------------|-------------|------------------|
|
|
685
|
+
|**200** | | - |
|
|
686
|
+
|
|
687
|
+
[[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)
|
|
688
|
+
|
|
689
|
+
# **paymentControllerSetupRSVPV2Payment**
|
|
690
|
+
> BookingPaymentCreateResponseDTO paymentControllerSetupRSVPV2Payment()
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
### Example
|
|
694
|
+
|
|
695
|
+
```typescript
|
|
696
|
+
import {
|
|
697
|
+
PlansApi,
|
|
698
|
+
Configuration
|
|
699
|
+
} from './api';
|
|
700
|
+
|
|
701
|
+
const configuration = new Configuration();
|
|
702
|
+
const apiInstance = new PlansApi(configuration);
|
|
703
|
+
|
|
704
|
+
const { status, data } = await apiInstance.paymentControllerSetupRSVPV2Payment();
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
### Parameters
|
|
708
|
+
This endpoint does not have any parameters.
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
### Return type
|
|
712
|
+
|
|
713
|
+
**BookingPaymentCreateResponseDTO**
|
|
714
|
+
|
|
715
|
+
### Authorization
|
|
716
|
+
|
|
717
|
+
[bearer](../README.md#bearer)
|
|
718
|
+
|
|
719
|
+
### HTTP request headers
|
|
720
|
+
|
|
721
|
+
- **Content-Type**: Not defined
|
|
722
|
+
- **Accept**: application/json
|
|
723
|
+
|
|
724
|
+
|
|
681
725
|
### HTTP response details
|
|
682
726
|
| Status code | Description | Response headers |
|
|
683
727
|
|-------------|-------------|------------------|
|