@wix/events 1.0.249 → 1.0.251
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/build/cjs/index.d.ts +15 -14
- package/build/cjs/index.js +28 -14
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.ts +15 -14
- package/build/es/index.js +15 -14
- package/build/es/index.js.map +1 -1
- package/package.json +18 -17
- package/type-bundles/context.bundle.d.ts +2053 -248
- package/type-bundles/index.bundle.d.ts +2053 -248
- package/type-bundles/meta.bundle.d.ts +33 -26
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
2
|
+
interface HttpClient {
|
|
3
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
4
|
+
fetchWithAuth: typeof fetch;
|
|
5
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
6
|
+
}
|
|
7
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
8
|
+
type HttpResponse<T = any> = {
|
|
9
|
+
data: T;
|
|
10
|
+
status: number;
|
|
11
|
+
statusText: string;
|
|
12
|
+
headers: any;
|
|
13
|
+
request?: any;
|
|
14
|
+
};
|
|
15
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
16
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
17
|
+
url: string;
|
|
18
|
+
data?: Data;
|
|
19
|
+
params?: URLSearchParams;
|
|
20
|
+
} & APIMetadata;
|
|
21
|
+
type APIMetadata = {
|
|
22
|
+
methodFqn?: string;
|
|
23
|
+
entityFqdn?: string;
|
|
24
|
+
packageName?: string;
|
|
25
|
+
};
|
|
26
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
27
|
+
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
28
|
+
__type: 'event-definition';
|
|
29
|
+
type: Type;
|
|
30
|
+
isDomainEvent?: boolean;
|
|
31
|
+
transformations?: (envelope: unknown) => Payload;
|
|
32
|
+
__payload: Payload;
|
|
33
|
+
};
|
|
34
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
35
|
+
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
36
|
+
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
37
|
+
|
|
38
|
+
declare global {
|
|
39
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
40
|
+
interface SymbolConstructor {
|
|
41
|
+
readonly observable: symbol;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
1
45
|
interface EventGuest$1 {
|
|
2
46
|
/** Guest ID. */
|
|
3
47
|
_id?: string | null;
|
|
@@ -317,7 +361,7 @@ interface DomainEventBodyOneOf$7 {
|
|
|
317
361
|
interface EntityCreatedEvent$7 {
|
|
318
362
|
entity?: string;
|
|
319
363
|
}
|
|
320
|
-
interface RestoreInfo$
|
|
364
|
+
interface RestoreInfo$5 {
|
|
321
365
|
deletedDate?: Date;
|
|
322
366
|
}
|
|
323
367
|
interface EntityUpdatedEvent$7 {
|
|
@@ -1169,58 +1213,52 @@ interface GuestsQueryBuilder {
|
|
|
1169
1213
|
find: () => Promise<GuestsQueryResult>;
|
|
1170
1214
|
}
|
|
1171
1215
|
|
|
1172
|
-
|
|
1173
|
-
interface
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
packageName?: string;
|
|
1196
|
-
};
|
|
1197
|
-
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
1198
|
-
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
1199
|
-
__type: 'event-definition';
|
|
1200
|
-
type: Type;
|
|
1201
|
-
isDomainEvent?: boolean;
|
|
1202
|
-
transformations?: (envelope: unknown) => Payload;
|
|
1203
|
-
__payload: Payload;
|
|
1204
|
-
};
|
|
1205
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
1206
|
-
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
|
1207
|
-
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
|
1208
|
-
|
|
1209
|
-
declare global {
|
|
1210
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
1211
|
-
interface SymbolConstructor {
|
|
1212
|
-
readonly observable: symbol;
|
|
1213
|
-
}
|
|
1216
|
+
declare function queryGuests$1(httpClient: HttpClient): QueryGuestsSignature;
|
|
1217
|
+
interface QueryGuestsSignature {
|
|
1218
|
+
/**
|
|
1219
|
+
* Creates a query to retrieve a list of guests.
|
|
1220
|
+
*
|
|
1221
|
+
*
|
|
1222
|
+
* The `queryGuests()` function builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder) object.
|
|
1223
|
+
*
|
|
1224
|
+
* The returned object contains the query definition which is typically used to run the query using the `find()` function.
|
|
1225
|
+
*
|
|
1226
|
+
* You can refine the query by chaining `GuestsQueryBuilder` functions onto the query. `GuestsQueryBuilder` functions enable you to sort, filter, and control the results that `queryGuests.find()` returns.
|
|
1227
|
+
*
|
|
1228
|
+
* The query runs with the following `GuestsQueryBuilder` defaults that you can override:
|
|
1229
|
+
*
|
|
1230
|
+
* - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/skipto)
|
|
1231
|
+
* - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/limit)
|
|
1232
|
+
* - [`descending("_createdDate")`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/descending)
|
|
1233
|
+
*
|
|
1234
|
+
* The functions that are chained to `queryGuests()` are applied in the order they are called. For example, if you apply `ascending ('_createdDate')` and then `descending ('_updatedDate')`, the results are sorted first by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.
|
|
1235
|
+
*
|
|
1236
|
+
* The table below shows which `GuestsQueryBuilder` functions are supported for `queryGuests()`. You can only use one filter function for each property. Only the first filter will work if a property is used in more than one filter.
|
|
1237
|
+
*/
|
|
1238
|
+
(options?: QueryEventGuestsOptions | undefined): GuestsQueryBuilder;
|
|
1214
1239
|
}
|
|
1240
|
+
declare const onGuestCreated$1: EventDefinition<GuestCreatedEnvelope, "wix.events.guests.v1.guest_created">;
|
|
1241
|
+
declare const onGuestUpdated$1: EventDefinition<GuestUpdatedEnvelope, "wix.events.guests.v1.guest_updated">;
|
|
1242
|
+
declare const onGuestDeleted$1: EventDefinition<GuestDeletedEnvelope, "wix.events.guests.v1.guest_deleted">;
|
|
1215
1243
|
|
|
1216
1244
|
declare function createRESTModule$d<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
1217
1245
|
|
|
1218
1246
|
declare function createEventModule$a<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
1219
1247
|
|
|
1220
|
-
|
|
1221
|
-
declare const
|
|
1222
|
-
|
|
1223
|
-
|
|
1248
|
+
type _publicQueryGuestsType = typeof queryGuests$1;
|
|
1249
|
+
declare const queryGuests: ReturnType<typeof createRESTModule$d<_publicQueryGuestsType>>;
|
|
1250
|
+
|
|
1251
|
+
type _publicOnGuestCreatedType = typeof onGuestCreated$1;
|
|
1252
|
+
/** */
|
|
1253
|
+
declare const onGuestCreated: ReturnType<typeof createEventModule$a<_publicOnGuestCreatedType>>;
|
|
1254
|
+
|
|
1255
|
+
type _publicOnGuestUpdatedType = typeof onGuestUpdated$1;
|
|
1256
|
+
/** */
|
|
1257
|
+
declare const onGuestUpdated: ReturnType<typeof createEventModule$a<_publicOnGuestUpdatedType>>;
|
|
1258
|
+
|
|
1259
|
+
type _publicOnGuestDeletedType = typeof onGuestDeleted$1;
|
|
1260
|
+
/** */
|
|
1261
|
+
declare const onGuestDeleted: ReturnType<typeof createEventModule$a<_publicOnGuestDeletedType>>;
|
|
1224
1262
|
|
|
1225
1263
|
type index_d$d_GuestCount = GuestCount;
|
|
1226
1264
|
type index_d$d_GuestCreatedEnvelope = GuestCreatedEnvelope;
|
|
@@ -1245,12 +1283,16 @@ type index_d$d_Task = Task;
|
|
|
1245
1283
|
type index_d$d_TaskKey = TaskKey;
|
|
1246
1284
|
type index_d$d_UpdateGuestRequest = UpdateGuestRequest;
|
|
1247
1285
|
type index_d$d_UpdateGuestResponse = UpdateGuestResponse;
|
|
1286
|
+
type index_d$d__publicOnGuestCreatedType = _publicOnGuestCreatedType;
|
|
1287
|
+
type index_d$d__publicOnGuestDeletedType = _publicOnGuestDeletedType;
|
|
1288
|
+
type index_d$d__publicOnGuestUpdatedType = _publicOnGuestUpdatedType;
|
|
1289
|
+
type index_d$d__publicQueryGuestsType = _publicQueryGuestsType;
|
|
1248
1290
|
declare const index_d$d_onGuestCreated: typeof onGuestCreated;
|
|
1249
1291
|
declare const index_d$d_onGuestDeleted: typeof onGuestDeleted;
|
|
1250
1292
|
declare const index_d$d_onGuestUpdated: typeof onGuestUpdated;
|
|
1251
1293
|
declare const index_d$d_queryGuests: typeof queryGuests;
|
|
1252
1294
|
declare namespace index_d$d {
|
|
1253
|
-
export { type ActionEvent$7 as ActionEvent, type Address$8 as Address, type AddressLocation$8 as AddressLocation, type AddressStreetOneOf$8 as AddressStreetOneOf, AttendanceStatus$1 as AttendanceStatus, type BaseEventMetadata$a as BaseEventMetadata, type CheckIn$4 as CheckIn, type ContactEventStatusUpdated$1 as ContactEventStatusUpdated, type CouponDiscount$2 as CouponDiscount, type CursorPaging$5 as CursorPaging, type Cursors$8 as Cursors, type Discount$2 as Discount, type DiscountItem$2 as DiscountItem, type DiscountItemDiscountOneOf$2 as DiscountItemDiscountOneOf, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type Empty$4 as Empty, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventDeleted$3 as EventDeleted, type EventGuest$1 as EventGuest, type EventGuests$1 as EventGuests, type EventMetadata$5 as EventMetadata, EventType$4 as EventType, type Fee$2 as Fee, FeeName$2 as FeeName, FeeType$3 as FeeType, type FormResponse$4 as FormResponse, type FormattedAddress$4 as FormattedAddress, type Guest$3 as Guest, type index_d$d_GuestCount as GuestCount, type GuestCountUpdate$1 as GuestCountUpdate, type GuestCountUpdated$1 as GuestCountUpdated, type index_d$d_GuestCreatedEnvelope as GuestCreatedEnvelope, type index_d$d_GuestDeletedEnvelope as GuestDeletedEnvelope, type GuestDetails$3 as GuestDetails, type index_d$d_GuestListPreview as GuestListPreview, GuestType$1 as GuestType, type index_d$d_GuestUpdatedEnvelope as GuestUpdatedEnvelope, type index_d$d_GuestsQueryBuilder as GuestsQueryBuilder, type index_d$d_GuestsQueryResult as GuestsQueryResult, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type InputValue$4 as InputValue, type Invoice$2 as Invoice, type Item$2 as Item, type index_d$d_Language as Language, type index_d$d_ListGuestListPreviewsRequest as ListGuestListPreviewsRequest, type index_d$d_ListGuestListPreviewsResponse as ListGuestListPreviewsResponse, type MemberEventStatusUpdated$1 as MemberEventStatusUpdated, MemberEventStatusUpdatedEventType$1 as MemberEventStatusUpdatedEventType, type MessageEnvelope$b as MessageEnvelope, type Money$7 as Money, NotifyActionType$1 as NotifyActionType, type NotifyGuestAction$1 as NotifyGuestAction, type OnlineConferencingLogin$4 as OnlineConferencingLogin, type OrderConfirmed$2 as OrderConfirmed, type OrderDeleted$1 as OrderDeleted, OrderStatus$3 as OrderStatus, OrderType$1 as OrderType, type OrderUpdated$2 as OrderUpdated, type Paging$8 as Paging, type PagingMetadataV2$8 as PagingMetadataV2, type PaidPlanDiscount$2 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$2 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$2 as PercentDiscount, type index_d$d_QueryEventGuestsOptions as QueryEventGuestsOptions, type index_d$d_QueryEventGuestsRequest as QueryEventGuestsRequest, type index_d$d_QueryEventGuestsResponse as QueryEventGuestsResponse, type index_d$d_QueryEventGuestsResponseNonNullableFields as QueryEventGuestsResponseNonNullableFields, type QueryV2$8 as QueryV2, type QueryV2PagingMethodOneOf$8 as QueryV2PagingMethodOneOf, RequestedFields$2 as RequestedFields, index_d$d_RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFields, type RestoreInfo$
|
|
1295
|
+
export { type ActionEvent$7 as ActionEvent, type Address$8 as Address, type AddressLocation$8 as AddressLocation, type AddressStreetOneOf$8 as AddressStreetOneOf, AttendanceStatus$1 as AttendanceStatus, type BaseEventMetadata$a as BaseEventMetadata, type CheckIn$4 as CheckIn, type ContactEventStatusUpdated$1 as ContactEventStatusUpdated, type CouponDiscount$2 as CouponDiscount, type CursorPaging$5 as CursorPaging, type Cursors$8 as Cursors, type Discount$2 as Discount, type DiscountItem$2 as DiscountItem, type DiscountItemDiscountOneOf$2 as DiscountItemDiscountOneOf, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type Empty$4 as Empty, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventDeleted$3 as EventDeleted, type EventGuest$1 as EventGuest, type EventGuests$1 as EventGuests, type EventMetadata$5 as EventMetadata, EventType$4 as EventType, type Fee$2 as Fee, FeeName$2 as FeeName, FeeType$3 as FeeType, type FormResponse$4 as FormResponse, type FormattedAddress$4 as FormattedAddress, type Guest$3 as Guest, type index_d$d_GuestCount as GuestCount, type GuestCountUpdate$1 as GuestCountUpdate, type GuestCountUpdated$1 as GuestCountUpdated, type index_d$d_GuestCreatedEnvelope as GuestCreatedEnvelope, type index_d$d_GuestDeletedEnvelope as GuestDeletedEnvelope, type GuestDetails$3 as GuestDetails, type index_d$d_GuestListPreview as GuestListPreview, GuestType$1 as GuestType, type index_d$d_GuestUpdatedEnvelope as GuestUpdatedEnvelope, type index_d$d_GuestsQueryBuilder as GuestsQueryBuilder, type index_d$d_GuestsQueryResult as GuestsQueryResult, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type InputValue$4 as InputValue, type Invoice$2 as Invoice, type Item$2 as Item, type index_d$d_Language as Language, type index_d$d_ListGuestListPreviewsRequest as ListGuestListPreviewsRequest, type index_d$d_ListGuestListPreviewsResponse as ListGuestListPreviewsResponse, type MemberEventStatusUpdated$1 as MemberEventStatusUpdated, MemberEventStatusUpdatedEventType$1 as MemberEventStatusUpdatedEventType, type MessageEnvelope$b as MessageEnvelope, type Money$7 as Money, NotifyActionType$1 as NotifyActionType, type NotifyGuestAction$1 as NotifyGuestAction, type OnlineConferencingLogin$4 as OnlineConferencingLogin, type OrderConfirmed$2 as OrderConfirmed, type OrderDeleted$1 as OrderDeleted, OrderStatus$3 as OrderStatus, OrderType$1 as OrderType, type OrderUpdated$2 as OrderUpdated, type Paging$8 as Paging, type PagingMetadataV2$8 as PagingMetadataV2, type PaidPlanDiscount$2 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$2 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$2 as PercentDiscount, type index_d$d_QueryEventGuestsOptions as QueryEventGuestsOptions, type index_d$d_QueryEventGuestsRequest as QueryEventGuestsRequest, type index_d$d_QueryEventGuestsResponse as QueryEventGuestsResponse, type index_d$d_QueryEventGuestsResponseNonNullableFields as QueryEventGuestsResponseNonNullableFields, type QueryV2$8 as QueryV2, type QueryV2PagingMethodOneOf$8 as QueryV2PagingMethodOneOf, RequestedFields$2 as RequestedFields, index_d$d_RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFields, type RestoreInfo$5 as RestoreInfo, type RsvpCreated$2 as RsvpCreated, type RsvpDeleted$1 as RsvpDeleted, RsvpStatus$2 as RsvpStatus, type RsvpUpdated$2 as RsvpUpdated, type index_d$d_SecondaryLanguagesRequest as SecondaryLanguagesRequest, type index_d$d_SecondaryLanguagesResponse as SecondaryLanguagesResponse, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, type StandardDetails$4 as StandardDetails, type index_d$d_StreamEventGuestsRequest as StreamEventGuestsRequest, type StreetAddress$8 as StreetAddress, type Subdivision$8 as Subdivision, SubdivisionType$8 as SubdivisionType, type index_d$d_Task as Task, type TaskContext$1 as TaskContext, type index_d$d_TaskKey as TaskKey, type Tax$2 as Tax, TaxType$5 as TaxType, type Ticket$3 as Ticket, type TicketDetails$3 as TicketDetails, type TicketGuestDetails$1 as TicketGuestDetails, type index_d$d_UpdateGuestRequest as UpdateGuestRequest, type index_d$d_UpdateGuestResponse as UpdateGuestResponse, WebhookIdentityType$b as WebhookIdentityType, type index_d$d__publicOnGuestCreatedType as _publicOnGuestCreatedType, type index_d$d__publicOnGuestDeletedType as _publicOnGuestDeletedType, type index_d$d__publicOnGuestUpdatedType as _publicOnGuestUpdatedType, type index_d$d__publicQueryGuestsType as _publicQueryGuestsType, index_d$d_onGuestCreated as onGuestCreated, index_d$d_onGuestDeleted as onGuestDeleted, index_d$d_onGuestUpdated as onGuestUpdated, onGuestCreated$1 as publicOnGuestCreated, onGuestDeleted$1 as publicOnGuestDeleted, onGuestUpdated$1 as publicOnGuestUpdated, index_d$d_queryGuests as queryGuests };
|
|
1254
1296
|
}
|
|
1255
1297
|
|
|
1256
1298
|
interface NotificationConfig {
|
|
@@ -2487,14 +2529,14 @@ interface TicketsUnavailableMessages$3 {
|
|
|
2487
2529
|
}
|
|
2488
2530
|
interface Dashboard$5 {
|
|
2489
2531
|
/** Guest RSVP summary. */
|
|
2490
|
-
rsvpSummary?: RsvpSummary$
|
|
2532
|
+
rsvpSummary?: RsvpSummary$4;
|
|
2491
2533
|
/**
|
|
2492
2534
|
* Summary of revenue and tickets sold.
|
|
2493
2535
|
* (Archived orders are not included).
|
|
2494
2536
|
*/
|
|
2495
2537
|
ticketingSummary?: TicketingSummary$3;
|
|
2496
2538
|
}
|
|
2497
|
-
interface RsvpSummary$
|
|
2539
|
+
interface RsvpSummary$4 {
|
|
2498
2540
|
/** Total number of RSVPs. */
|
|
2499
2541
|
total?: number;
|
|
2500
2542
|
/** Number of RSVPs with status `YES`. */
|
|
@@ -2656,26 +2698,33 @@ interface Category$4 {
|
|
|
2656
2698
|
/** Category name. */
|
|
2657
2699
|
name?: string;
|
|
2658
2700
|
/**
|
|
2659
|
-
*
|
|
2701
|
+
* Date and time when category was created.
|
|
2660
2702
|
* @readonly
|
|
2661
2703
|
*/
|
|
2662
2704
|
_createdDate?: Date;
|
|
2663
2705
|
/**
|
|
2664
|
-
*
|
|
2706
|
+
* The total number of draft and published events assigned to the category.
|
|
2665
2707
|
* @readonly
|
|
2666
2708
|
*/
|
|
2667
2709
|
counts?: CategoryCounts$4;
|
|
2668
2710
|
/**
|
|
2669
|
-
* Category state.
|
|
2670
|
-
*
|
|
2671
|
-
*
|
|
2711
|
+
* Category state. Possible values:
|
|
2712
|
+
*
|
|
2713
|
+
* `MANUAL`: Category is created manually by the user.
|
|
2714
|
+
* `AUTO`: Category is created automatically.
|
|
2715
|
+
* `RECURRING_EVENT`: Category is created automatically when publishing recurring events.
|
|
2716
|
+
* `HIDDEN`: Category can't be seen.
|
|
2717
|
+
*
|
|
2718
|
+
* Default: `MANUAL`.
|
|
2719
|
+
*
|
|
2720
|
+
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission is required to use states other than `MANUAL`.
|
|
2672
2721
|
*/
|
|
2673
2722
|
states?: State$7[];
|
|
2674
2723
|
}
|
|
2675
2724
|
interface CategoryCounts$4 {
|
|
2676
|
-
/**
|
|
2725
|
+
/** Total number of draft events assigned to the category. */
|
|
2677
2726
|
assignedEventsCount?: number | null;
|
|
2678
|
-
/**
|
|
2727
|
+
/** Total number of published events assigned to the category. Deleted events are excluded. */
|
|
2679
2728
|
assignedDraftEventsCount?: number | null;
|
|
2680
2729
|
}
|
|
2681
2730
|
declare enum State$7 {
|
|
@@ -3123,7 +3172,7 @@ interface DomainEventBodyOneOf$6 {
|
|
|
3123
3172
|
interface EntityCreatedEvent$6 {
|
|
3124
3173
|
entity?: string;
|
|
3125
3174
|
}
|
|
3126
|
-
interface RestoreInfo$
|
|
3175
|
+
interface RestoreInfo$4 {
|
|
3127
3176
|
deletedDate?: Date;
|
|
3128
3177
|
}
|
|
3129
3178
|
interface EntityUpdatedEvent$6 {
|
|
@@ -3393,16 +3442,55 @@ interface UpsertNotificationConfig {
|
|
|
3393
3442
|
orderConfirmationWithTicketsLink?: EmailNotificationConfig;
|
|
3394
3443
|
}
|
|
3395
3444
|
|
|
3445
|
+
declare function triggerNotification$1(httpClient: HttpClient): TriggerNotificationSignature;
|
|
3446
|
+
interface TriggerNotificationSignature {
|
|
3447
|
+
/**
|
|
3448
|
+
* Triggers notification
|
|
3449
|
+
*/
|
|
3450
|
+
(options?: TriggerNotificationOptions | undefined): Promise<void>;
|
|
3451
|
+
}
|
|
3452
|
+
declare function resolveNotificationConfig$1(httpClient: HttpClient): ResolveNotificationConfigSignature;
|
|
3453
|
+
interface ResolveNotificationConfigSignature {
|
|
3454
|
+
/**
|
|
3455
|
+
* Resolves a NotificationConfig by id. Returns saved value or default value if not saved yet.
|
|
3456
|
+
* @param - Id of the NotificationConfig to retrieve
|
|
3457
|
+
*/
|
|
3458
|
+
(notificationConfigId: string): Promise<ResolveNotificationConfigResponse & ResolveNotificationConfigResponseNonNullableFields>;
|
|
3459
|
+
}
|
|
3460
|
+
declare function upsertNotificationConfig$1(httpClient: HttpClient): UpsertNotificationConfigSignature;
|
|
3461
|
+
interface UpsertNotificationConfigSignature {
|
|
3462
|
+
/**
|
|
3463
|
+
* Upsert a NotificationConfig
|
|
3464
|
+
* @param - Event ID.
|
|
3465
|
+
*/
|
|
3466
|
+
(_id: string | null, notificationConfig: UpsertNotificationConfig): Promise<UpsertNotificationConfigResponse & UpsertNotificationConfigResponseNonNullableFields>;
|
|
3467
|
+
}
|
|
3468
|
+
declare const onNotificationConfigCreated$1: EventDefinition<NotificationConfigCreatedEnvelope, "wix.events.notifications.v2.notification_config_created">;
|
|
3469
|
+
declare const onNotificationConfigUpdated$1: EventDefinition<NotificationConfigUpdatedEnvelope, "wix.events.notifications.v2.notification_config_updated">;
|
|
3470
|
+
declare const onNotificationConfigDeleted$1: EventDefinition<NotificationConfigDeletedEnvelope, "wix.events.notifications.v2.notification_config_deleted">;
|
|
3471
|
+
|
|
3396
3472
|
declare function createRESTModule$c<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
3397
3473
|
|
|
3398
3474
|
declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3399
3475
|
|
|
3400
|
-
|
|
3401
|
-
declare const
|
|
3402
|
-
|
|
3403
|
-
declare const
|
|
3404
|
-
|
|
3405
|
-
declare const
|
|
3476
|
+
type _publicTriggerNotificationType = typeof triggerNotification$1;
|
|
3477
|
+
declare const triggerNotification: ReturnType<typeof createRESTModule$c<_publicTriggerNotificationType>>;
|
|
3478
|
+
type _publicResolveNotificationConfigType = typeof resolveNotificationConfig$1;
|
|
3479
|
+
declare const resolveNotificationConfig: ReturnType<typeof createRESTModule$c<_publicResolveNotificationConfigType>>;
|
|
3480
|
+
type _publicUpsertNotificationConfigType = typeof upsertNotificationConfig$1;
|
|
3481
|
+
declare const upsertNotificationConfig: ReturnType<typeof createRESTModule$c<_publicUpsertNotificationConfigType>>;
|
|
3482
|
+
|
|
3483
|
+
type _publicOnNotificationConfigCreatedType = typeof onNotificationConfigCreated$1;
|
|
3484
|
+
/** */
|
|
3485
|
+
declare const onNotificationConfigCreated: ReturnType<typeof createEventModule$9<_publicOnNotificationConfigCreatedType>>;
|
|
3486
|
+
|
|
3487
|
+
type _publicOnNotificationConfigUpdatedType = typeof onNotificationConfigUpdated$1;
|
|
3488
|
+
/** */
|
|
3489
|
+
declare const onNotificationConfigUpdated: ReturnType<typeof createEventModule$9<_publicOnNotificationConfigUpdatedType>>;
|
|
3490
|
+
|
|
3491
|
+
type _publicOnNotificationConfigDeletedType = typeof onNotificationConfigDeleted$1;
|
|
3492
|
+
/** */
|
|
3493
|
+
declare const onNotificationConfigDeleted: ReturnType<typeof createEventModule$9<_publicOnNotificationConfigDeletedType>>;
|
|
3406
3494
|
|
|
3407
3495
|
type index_d$c_AttendanceStatus = AttendanceStatus;
|
|
3408
3496
|
declare const index_d$c_AttendanceStatus: typeof AttendanceStatus;
|
|
@@ -3460,6 +3548,12 @@ type index_d$c_UpsertNotificationConfig = UpsertNotificationConfig;
|
|
|
3460
3548
|
type index_d$c_UpsertNotificationConfigRequest = UpsertNotificationConfigRequest;
|
|
3461
3549
|
type index_d$c_UpsertNotificationConfigResponse = UpsertNotificationConfigResponse;
|
|
3462
3550
|
type index_d$c_UpsertNotificationConfigResponseNonNullableFields = UpsertNotificationConfigResponseNonNullableFields;
|
|
3551
|
+
type index_d$c__publicOnNotificationConfigCreatedType = _publicOnNotificationConfigCreatedType;
|
|
3552
|
+
type index_d$c__publicOnNotificationConfigDeletedType = _publicOnNotificationConfigDeletedType;
|
|
3553
|
+
type index_d$c__publicOnNotificationConfigUpdatedType = _publicOnNotificationConfigUpdatedType;
|
|
3554
|
+
type index_d$c__publicResolveNotificationConfigType = _publicResolveNotificationConfigType;
|
|
3555
|
+
type index_d$c__publicTriggerNotificationType = _publicTriggerNotificationType;
|
|
3556
|
+
type index_d$c__publicUpsertNotificationConfigType = _publicUpsertNotificationConfigType;
|
|
3463
3557
|
declare const index_d$c_onNotificationConfigCreated: typeof onNotificationConfigCreated;
|
|
3464
3558
|
declare const index_d$c_onNotificationConfigDeleted: typeof onNotificationConfigDeleted;
|
|
3465
3559
|
declare const index_d$c_onNotificationConfigUpdated: typeof onNotificationConfigUpdated;
|
|
@@ -3467,7 +3561,7 @@ declare const index_d$c_resolveNotificationConfig: typeof resolveNotificationCon
|
|
|
3467
3561
|
declare const index_d$c_triggerNotification: typeof triggerNotification;
|
|
3468
3562
|
declare const index_d$c_upsertNotificationConfig: typeof upsertNotificationConfig;
|
|
3469
3563
|
declare namespace index_d$c {
|
|
3470
|
-
export { type ActionEvent$6 as ActionEvent, type Address$7 as Address, type AddressLocation$7 as AddressLocation, type AddressStreetOneOf$7 as AddressStreetOneOf, type Agenda$3 as Agenda, index_d$c_AttendanceStatus as AttendanceStatus, type BaseEventMetadata$9 as BaseEventMetadata, type CalendarLinks$5 as CalendarLinks, type Category$4 as Category, type CategoryCounts$4 as CategoryCounts, type CheckIn$3 as CheckIn, type CheckoutFormMessages$3 as CheckoutFormMessages, type CommonAddress$1 as CommonAddress, type CommonAddressLocation$1 as CommonAddressLocation, type CommonAddressStreetOneOf$1 as CommonAddressStreetOneOf, type CommonStreetAddress$1 as CommonStreetAddress, type CommonSubdivision$1 as CommonSubdivision, ConferenceType$3 as ConferenceType, type index_d$c_ContactEventStatusUpdated as ContactEventStatusUpdated, index_d$c_ContactEventStatusUpdatedEventType as ContactEventStatusUpdatedEventType, type CouponDiscount$1 as CouponDiscount, type Dashboard$5 as Dashboard, type Discount$1 as Discount, type DiscountItem$1 as DiscountItem, type DiscountItemDiscountOneOf$1 as DiscountItemDiscountOneOf, type DomainEvent$6 as DomainEvent, type DomainEventBodyOneOf$6 as DomainEventBodyOneOf, type index_d$c_EmailNotificationConfig as EmailNotificationConfig, index_d$c_EmailNotificationReminderTime as EmailNotificationReminderTime, index_d$c_EmailNotificationType as EmailNotificationType, type index_d$c_EmailTemplate as EmailTemplate, type Empty$3 as Empty, type EntityCreatedEvent$6 as EntityCreatedEvent, type EntityDeletedEvent$6 as EntityDeletedEvent, type EntityUpdatedEvent$6 as EntityUpdatedEvent, type Event$3 as Event, type EventCanceled$2 as EventCanceled, type EventCopied$2 as EventCopied, type EventDeleted$2 as EventDeleted, type EventDisplaySettings$3 as EventDisplaySettings, type EventEnded$2 as EventEnded, type index_d$c_EventGuest as EventGuest, type index_d$c_EventGuests as EventGuests, type EventMetadata$4 as EventMetadata, type EventReminder$1 as EventReminder, EventStatus$4 as EventStatus, EventType$3 as EventType, type EventUpdated$3 as EventUpdated, type ExternalEvent$3 as ExternalEvent, type Fee$1 as Fee, FeeName$1 as FeeName, FeeType$2 as FeeType, type Feed$3 as Feed, type File$1 as File, type Form$3 as Form, type FormMessages$3 as FormMessages, type FormResponse$3 as FormResponse, type FormattedAddress$3 as FormattedAddress, type Guest$2 as Guest, type index_d$c_GuestCountUpdate as GuestCountUpdate, type index_d$c_GuestCountUpdated as GuestCountUpdated, type GuestDetails$2 as GuestDetails, type GuestListConfig$3 as GuestListConfig, index_d$c_GuestType as GuestType, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type Input$3 as Input, type InputControl$3 as InputControl, InputControlType$3 as InputControlType, type InputValue$3 as InputValue, type Invoice$1 as Invoice, type Item$1 as Item, type Keyword$3 as Keyword, type Label$3 as Label, type LabellingSettings$3 as LabellingSettings, type index_d$c_Link as Link, type Location$4 as Location, LocationType$4 as LocationType, type MapCoordinates$4 as MapCoordinates, type index_d$c_MemberEventStatusUpdated as MemberEventStatusUpdated, index_d$c_MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventType, type MessageEnvelope$a as MessageEnvelope, type Money$6 as Money, type Negative$3 as Negative, type NegativeResponseConfirmation$3 as NegativeResponseConfirmation, type index_d$c_NotificationConfig as NotificationConfig, type index_d$c_NotificationConfigCreatedEnvelope as NotificationConfigCreatedEnvelope, type index_d$c_NotificationConfigDeletedEnvelope as NotificationConfigDeletedEnvelope, type index_d$c_NotificationConfigUpdatedEnvelope as NotificationConfigUpdatedEnvelope, index_d$c_NotifyActionType as NotifyActionType, type index_d$c_NotifyGuestAction as NotifyGuestAction, type Occurrence$4 as Occurrence, type OnlineConferencing$3 as OnlineConferencing, type OnlineConferencingConfig$3 as OnlineConferencingConfig, type OnlineConferencingLogin$3 as OnlineConferencingLogin, type OnlineConferencingSession$3 as OnlineConferencingSession, type OptionSelection$3 as OptionSelection, type OptionSelectionSelectedOptionOneOf$3 as OptionSelectionSelectedOptionOneOf, type OrderConfirmed$1 as OrderConfirmed, type index_d$c_OrderEmailAdded as OrderEmailAdded, type index_d$c_OrderGuest as OrderGuest, type OrderPaid$1 as OrderPaid, OrderStatus$2 as OrderStatus, type PaidPlanDiscount$1 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$1 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$1 as PercentDiscount, type Positive$3 as Positive, type PositiveResponseConfirmation$3 as PositiveResponseConfirmation, index_d$c_PushNotificationType as PushNotificationType, type Recurrences$4 as Recurrences, type Registration$3 as Registration, type RegistrationClosedMessages$3 as RegistrationClosedMessages, RegistrationStatus$3 as RegistrationStatus, type index_d$c_ResolveEmailNotificationConfigRequest as ResolveEmailNotificationConfigRequest, type index_d$c_ResolveEmailNotificationConfigResponse as ResolveEmailNotificationConfigResponse, type index_d$c_ResolveNotificationConfigRequest as ResolveNotificationConfigRequest, type index_d$c_ResolveNotificationConfigResponse as ResolveNotificationConfigResponse, type index_d$c_ResolveNotificationConfigResponseNonNullableFields as ResolveNotificationConfigResponseNonNullableFields, type ResponseConfirmation$3 as ResponseConfirmation, type RestoreInfo$
|
|
3564
|
+
export { type ActionEvent$6 as ActionEvent, type Address$7 as Address, type AddressLocation$7 as AddressLocation, type AddressStreetOneOf$7 as AddressStreetOneOf, type Agenda$3 as Agenda, index_d$c_AttendanceStatus as AttendanceStatus, type BaseEventMetadata$9 as BaseEventMetadata, type CalendarLinks$5 as CalendarLinks, type Category$4 as Category, type CategoryCounts$4 as CategoryCounts, type CheckIn$3 as CheckIn, type CheckoutFormMessages$3 as CheckoutFormMessages, type CommonAddress$1 as CommonAddress, type CommonAddressLocation$1 as CommonAddressLocation, type CommonAddressStreetOneOf$1 as CommonAddressStreetOneOf, type CommonStreetAddress$1 as CommonStreetAddress, type CommonSubdivision$1 as CommonSubdivision, ConferenceType$3 as ConferenceType, type index_d$c_ContactEventStatusUpdated as ContactEventStatusUpdated, index_d$c_ContactEventStatusUpdatedEventType as ContactEventStatusUpdatedEventType, type CouponDiscount$1 as CouponDiscount, type Dashboard$5 as Dashboard, type Discount$1 as Discount, type DiscountItem$1 as DiscountItem, type DiscountItemDiscountOneOf$1 as DiscountItemDiscountOneOf, type DomainEvent$6 as DomainEvent, type DomainEventBodyOneOf$6 as DomainEventBodyOneOf, type index_d$c_EmailNotificationConfig as EmailNotificationConfig, index_d$c_EmailNotificationReminderTime as EmailNotificationReminderTime, index_d$c_EmailNotificationType as EmailNotificationType, type index_d$c_EmailTemplate as EmailTemplate, type Empty$3 as Empty, type EntityCreatedEvent$6 as EntityCreatedEvent, type EntityDeletedEvent$6 as EntityDeletedEvent, type EntityUpdatedEvent$6 as EntityUpdatedEvent, type Event$3 as Event, type EventCanceled$2 as EventCanceled, type EventCopied$2 as EventCopied, type EventDeleted$2 as EventDeleted, type EventDisplaySettings$3 as EventDisplaySettings, type EventEnded$2 as EventEnded, type index_d$c_EventGuest as EventGuest, type index_d$c_EventGuests as EventGuests, type EventMetadata$4 as EventMetadata, type EventReminder$1 as EventReminder, EventStatus$4 as EventStatus, EventType$3 as EventType, type EventUpdated$3 as EventUpdated, type ExternalEvent$3 as ExternalEvent, type Fee$1 as Fee, FeeName$1 as FeeName, FeeType$2 as FeeType, type Feed$3 as Feed, type File$1 as File, type Form$3 as Form, type FormMessages$3 as FormMessages, type FormResponse$3 as FormResponse, type FormattedAddress$3 as FormattedAddress, type Guest$2 as Guest, type index_d$c_GuestCountUpdate as GuestCountUpdate, type index_d$c_GuestCountUpdated as GuestCountUpdated, type GuestDetails$2 as GuestDetails, type GuestListConfig$3 as GuestListConfig, index_d$c_GuestType as GuestType, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type Input$3 as Input, type InputControl$3 as InputControl, InputControlType$3 as InputControlType, type InputValue$3 as InputValue, type Invoice$1 as Invoice, type Item$1 as Item, type Keyword$3 as Keyword, type Label$3 as Label, type LabellingSettings$3 as LabellingSettings, type index_d$c_Link as Link, type Location$4 as Location, LocationType$4 as LocationType, type MapCoordinates$4 as MapCoordinates, type index_d$c_MemberEventStatusUpdated as MemberEventStatusUpdated, index_d$c_MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventType, type MessageEnvelope$a as MessageEnvelope, type Money$6 as Money, type Negative$3 as Negative, type NegativeResponseConfirmation$3 as NegativeResponseConfirmation, type index_d$c_NotificationConfig as NotificationConfig, type index_d$c_NotificationConfigCreatedEnvelope as NotificationConfigCreatedEnvelope, type index_d$c_NotificationConfigDeletedEnvelope as NotificationConfigDeletedEnvelope, type index_d$c_NotificationConfigUpdatedEnvelope as NotificationConfigUpdatedEnvelope, index_d$c_NotifyActionType as NotifyActionType, type index_d$c_NotifyGuestAction as NotifyGuestAction, type Occurrence$4 as Occurrence, type OnlineConferencing$3 as OnlineConferencing, type OnlineConferencingConfig$3 as OnlineConferencingConfig, type OnlineConferencingLogin$3 as OnlineConferencingLogin, type OnlineConferencingSession$3 as OnlineConferencingSession, type OptionSelection$3 as OptionSelection, type OptionSelectionSelectedOptionOneOf$3 as OptionSelectionSelectedOptionOneOf, type OrderConfirmed$1 as OrderConfirmed, type index_d$c_OrderEmailAdded as OrderEmailAdded, type index_d$c_OrderGuest as OrderGuest, type OrderPaid$1 as OrderPaid, OrderStatus$2 as OrderStatus, type PaidPlanDiscount$1 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$1 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$1 as PercentDiscount, type Positive$3 as Positive, type PositiveResponseConfirmation$3 as PositiveResponseConfirmation, index_d$c_PushNotificationType as PushNotificationType, type Recurrences$4 as Recurrences, type Registration$3 as Registration, type RegistrationClosedMessages$3 as RegistrationClosedMessages, RegistrationStatus$3 as RegistrationStatus, type index_d$c_ResolveEmailNotificationConfigRequest as ResolveEmailNotificationConfigRequest, type index_d$c_ResolveEmailNotificationConfigResponse as ResolveEmailNotificationConfigResponse, type index_d$c_ResolveNotificationConfigRequest as ResolveNotificationConfigRequest, type index_d$c_ResolveNotificationConfigResponse as ResolveNotificationConfigResponse, type index_d$c_ResolveNotificationConfigResponseNonNullableFields as ResolveNotificationConfigResponseNonNullableFields, type ResponseConfirmation$3 as ResponseConfirmation, type RestoreInfo$4 as RestoreInfo, type RsvpCollection$3 as RsvpCollection, type RsvpCollectionConfig$3 as RsvpCollectionConfig, type RsvpCreated$1 as RsvpCreated, type RsvpFormMessages$3 as RsvpFormMessages, type index_d$c_RsvpGuest as RsvpGuest, RsvpStatus$1 as RsvpStatus, RsvpStatusOptions$3 as RsvpStatusOptions, type RsvpSummary$4 as RsvpSummary, type RsvpUpdated$1 as RsvpUpdated, type ScheduleConfig$4 as ScheduleConfig, type Scheduling$3 as Scheduling, type SeoSchema$3 as SeoSchema, type SeoSettings$3 as SeoSettings, type Settings$3 as Settings, type SiteUrl$3 as SiteUrl, type StandardDetails$3 as StandardDetails, State$7 as State, Status$5 as Status, type StreetAddress$7 as StreetAddress, type Subdivision$7 as Subdivision, SubdivisionType$7 as SubdivisionType, type Tag$3 as Tag, type index_d$c_Target as Target, index_d$c_TargetType as TargetType, type index_d$c_TaskContext as TaskContext, type Tax$1 as Tax, type TaxConfig$3 as TaxConfig, TaxType$4 as TaxType, type Ticket$2 as Ticket, type TicketDetails$2 as TicketDetails, type index_d$c_TicketGuest as TicketGuest, type index_d$c_TicketGuestDetails as TicketGuestDetails, type index_d$c_TicketPdfResolveDelayed as TicketPdfResolveDelayed, type index_d$c_TicketPdfResolved as TicketPdfResolved, type Ticketing$3 as Ticketing, type TicketingConfig$3 as TicketingConfig, type TicketingSummary$3 as TicketingSummary, type TicketsUnavailableMessages$3 as TicketsUnavailableMessages, type TimeDuration$1 as TimeDuration, type index_d$c_TriggerNotificationOptions as TriggerNotificationOptions, type index_d$c_TriggerNotificationRequest as TriggerNotificationRequest, type index_d$c_TriggerNotificationRequestGuestsOneOf as TriggerNotificationRequestGuestsOneOf, type index_d$c_TriggerNotificationRequestNotificationOneOf as TriggerNotificationRequestNotificationOneOf, type index_d$c_TriggerNotificationResponse as TriggerNotificationResponse, type index_d$c_UnprocessedTargetEvent as UnprocessedTargetEvent, type index_d$c_UpsertNotificationConfig as UpsertNotificationConfig, type index_d$c_UpsertNotificationConfigRequest as UpsertNotificationConfigRequest, type index_d$c_UpsertNotificationConfigResponse as UpsertNotificationConfigResponse, type index_d$c_UpsertNotificationConfigResponseNonNullableFields as UpsertNotificationConfigResponseNonNullableFields, ValueType$3 as ValueType, VisitorType$3 as VisitorType, WebhookIdentityType$a as WebhookIdentityType, type index_d$c__publicOnNotificationConfigCreatedType as _publicOnNotificationConfigCreatedType, type index_d$c__publicOnNotificationConfigDeletedType as _publicOnNotificationConfigDeletedType, type index_d$c__publicOnNotificationConfigUpdatedType as _publicOnNotificationConfigUpdatedType, type index_d$c__publicResolveNotificationConfigType as _publicResolveNotificationConfigType, type index_d$c__publicTriggerNotificationType as _publicTriggerNotificationType, type index_d$c__publicUpsertNotificationConfigType as _publicUpsertNotificationConfigType, index_d$c_onNotificationConfigCreated as onNotificationConfigCreated, index_d$c_onNotificationConfigDeleted as onNotificationConfigDeleted, index_d$c_onNotificationConfigUpdated as onNotificationConfigUpdated, onNotificationConfigCreated$1 as publicOnNotificationConfigCreated, onNotificationConfigDeleted$1 as publicOnNotificationConfigDeleted, onNotificationConfigUpdated$1 as publicOnNotificationConfigUpdated, index_d$c_resolveNotificationConfig as resolveNotificationConfig, index_d$c_triggerNotification as triggerNotification, index_d$c_upsertNotificationConfig as upsertNotificationConfig };
|
|
3471
3565
|
}
|
|
3472
3566
|
|
|
3473
3567
|
/** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */
|
|
@@ -3842,17 +3936,50 @@ interface ListBookmarksResponseNonNullableFields$1 {
|
|
|
3842
3936
|
}
|
|
3843
3937
|
type GoogleProtoDuration$1 = any;
|
|
3844
3938
|
|
|
3939
|
+
declare function listBookmarks$1(httpClient: HttpClient): ListBookmarksSignature;
|
|
3940
|
+
interface ListBookmarksSignature {
|
|
3941
|
+
/**
|
|
3942
|
+
* Retrieves a list of bookmarked schedule items for a currently logged-in member.
|
|
3943
|
+
* @param - Event ID to which the schedule belongs.
|
|
3944
|
+
*/
|
|
3945
|
+
(eventId: string): Promise<ListBookmarksResponse$1 & ListBookmarksResponseNonNullableFields$1>;
|
|
3946
|
+
}
|
|
3947
|
+
declare function createBookmark$1(httpClient: HttpClient): CreateBookmarkSignature;
|
|
3948
|
+
interface CreateBookmarkSignature {
|
|
3949
|
+
/**
|
|
3950
|
+
* Bookmarks a schedule item for a currently logged-in member.
|
|
3951
|
+
* @param - Schedule item ID.
|
|
3952
|
+
* @param - Event ID to which the schedule belongs.
|
|
3953
|
+
*/
|
|
3954
|
+
(itemId: string, eventId: string): Promise<void>;
|
|
3955
|
+
}
|
|
3956
|
+
declare function deleteBookmark$1(httpClient: HttpClient): DeleteBookmarkSignature;
|
|
3957
|
+
interface DeleteBookmarkSignature {
|
|
3958
|
+
/**
|
|
3959
|
+
* Removes a schedule item bookmark for a currently logged-in member.
|
|
3960
|
+
* @param - Schedule item ID.
|
|
3961
|
+
* @param - Event ID to which the schedule belongs.
|
|
3962
|
+
*/
|
|
3963
|
+
(itemId: string, eventId: string): Promise<void>;
|
|
3964
|
+
}
|
|
3965
|
+
|
|
3845
3966
|
declare function createRESTModule$b<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
3846
3967
|
|
|
3847
|
-
|
|
3848
|
-
declare const
|
|
3849
|
-
|
|
3968
|
+
type _publicListBookmarksType = typeof listBookmarks$1;
|
|
3969
|
+
declare const listBookmarks: ReturnType<typeof createRESTModule$b<_publicListBookmarksType>>;
|
|
3970
|
+
type _publicCreateBookmarkType = typeof createBookmark$1;
|
|
3971
|
+
declare const createBookmark: ReturnType<typeof createRESTModule$b<_publicCreateBookmarkType>>;
|
|
3972
|
+
type _publicDeleteBookmarkType = typeof deleteBookmark$1;
|
|
3973
|
+
declare const deleteBookmark: ReturnType<typeof createRESTModule$b<_publicDeleteBookmarkType>>;
|
|
3850
3974
|
|
|
3975
|
+
type index_d$b__publicCreateBookmarkType = _publicCreateBookmarkType;
|
|
3976
|
+
type index_d$b__publicDeleteBookmarkType = _publicDeleteBookmarkType;
|
|
3977
|
+
type index_d$b__publicListBookmarksType = _publicListBookmarksType;
|
|
3851
3978
|
declare const index_d$b_createBookmark: typeof createBookmark;
|
|
3852
3979
|
declare const index_d$b_deleteBookmark: typeof deleteBookmark;
|
|
3853
3980
|
declare const index_d$b_listBookmarks: typeof listBookmarks;
|
|
3854
3981
|
declare namespace index_d$b {
|
|
3855
|
-
export { type AddScheduleItemRequest$1 as AddScheduleItemRequest, type AddScheduleItemResponse$1 as AddScheduleItemResponse, type AddScheduleItemResponseNonNullableFields$1 as AddScheduleItemResponseNonNullableFields, type CreateBookmarkRequest$1 as CreateBookmarkRequest, type CreateBookmarkResponse$1 as CreateBookmarkResponse, type Cursors$7 as Cursors, type DeleteBookmarkRequest$1 as DeleteBookmarkRequest, type DeleteBookmarkResponse$1 as DeleteBookmarkResponse, type DeleteScheduleItemRequest$1 as DeleteScheduleItemRequest, type DeleteScheduleItemResponse$1 as DeleteScheduleItemResponse, type DiscardDraftRequest$2 as DiscardDraftRequest, type DiscardDraftResponse$2 as DiscardDraftResponse, type FacetCounts$7 as FacetCounts, type GetScheduleItemRequest$1 as GetScheduleItemRequest, type GetScheduleItemResponse$1 as GetScheduleItemResponse, type GetScheduleItemResponseNonNullableFields$1 as GetScheduleItemResponseNonNullableFields, type ListBookmarksRequest$1 as ListBookmarksRequest, type ListBookmarksResponse$1 as ListBookmarksResponse, type ListBookmarksResponseNonNullableFields$1 as ListBookmarksResponseNonNullableFields, type ListScheduleItemsRequest$1 as ListScheduleItemsRequest, type ListScheduleItemsResponse$1 as ListScheduleItemsResponse, type ListScheduleItemsResponseNonNullableFields$1 as ListScheduleItemsResponseNonNullableFields, type Paging$7 as Paging, type PagingMetadataV2$7 as PagingMetadataV2, type PublishDraftRequest$2 as PublishDraftRequest, type PublishDraftResponse$2 as PublishDraftResponse, type QueryScheduleItemsRequest$1 as QueryScheduleItemsRequest, type QueryScheduleItemsResponse$1 as QueryScheduleItemsResponse, type QueryScheduleItemsResponseNonNullableFields$1 as QueryScheduleItemsResponseNonNullableFields, type QueryV2$7 as QueryV2, type QueryV2PagingMethodOneOf$7 as QueryV2PagingMethodOneOf, type RescheduleDraftRequest$1 as RescheduleDraftRequest, type RescheduleDraftResponse$1 as RescheduleDraftResponse, type ScheduleItem$1 as ScheduleItem, type ScheduleItemData$1 as ScheduleItemData, ScheduleStatus$1 as ScheduleStatus, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, StateFilter$1 as StateFilter, type TimeInterval$1 as TimeInterval, type UpdateScheduleItemRequest$1 as UpdateScheduleItemRequest, type UpdateScheduleItemResponse$1 as UpdateScheduleItemResponse, type UpdateScheduleItemResponseNonNullableFields$1 as UpdateScheduleItemResponseNonNullableFields, index_d$b_createBookmark as createBookmark, index_d$b_deleteBookmark as deleteBookmark, index_d$b_listBookmarks as listBookmarks };
|
|
3982
|
+
export { type AddScheduleItemRequest$1 as AddScheduleItemRequest, type AddScheduleItemResponse$1 as AddScheduleItemResponse, type AddScheduleItemResponseNonNullableFields$1 as AddScheduleItemResponseNonNullableFields, type CreateBookmarkRequest$1 as CreateBookmarkRequest, type CreateBookmarkResponse$1 as CreateBookmarkResponse, type Cursors$7 as Cursors, type DeleteBookmarkRequest$1 as DeleteBookmarkRequest, type DeleteBookmarkResponse$1 as DeleteBookmarkResponse, type DeleteScheduleItemRequest$1 as DeleteScheduleItemRequest, type DeleteScheduleItemResponse$1 as DeleteScheduleItemResponse, type DiscardDraftRequest$2 as DiscardDraftRequest, type DiscardDraftResponse$2 as DiscardDraftResponse, type FacetCounts$7 as FacetCounts, type GetScheduleItemRequest$1 as GetScheduleItemRequest, type GetScheduleItemResponse$1 as GetScheduleItemResponse, type GetScheduleItemResponseNonNullableFields$1 as GetScheduleItemResponseNonNullableFields, type ListBookmarksRequest$1 as ListBookmarksRequest, type ListBookmarksResponse$1 as ListBookmarksResponse, type ListBookmarksResponseNonNullableFields$1 as ListBookmarksResponseNonNullableFields, type ListScheduleItemsRequest$1 as ListScheduleItemsRequest, type ListScheduleItemsResponse$1 as ListScheduleItemsResponse, type ListScheduleItemsResponseNonNullableFields$1 as ListScheduleItemsResponseNonNullableFields, type Paging$7 as Paging, type PagingMetadataV2$7 as PagingMetadataV2, type PublishDraftRequest$2 as PublishDraftRequest, type PublishDraftResponse$2 as PublishDraftResponse, type QueryScheduleItemsRequest$1 as QueryScheduleItemsRequest, type QueryScheduleItemsResponse$1 as QueryScheduleItemsResponse, type QueryScheduleItemsResponseNonNullableFields$1 as QueryScheduleItemsResponseNonNullableFields, type QueryV2$7 as QueryV2, type QueryV2PagingMethodOneOf$7 as QueryV2PagingMethodOneOf, type RescheduleDraftRequest$1 as RescheduleDraftRequest, type RescheduleDraftResponse$1 as RescheduleDraftResponse, type ScheduleItem$1 as ScheduleItem, type ScheduleItemData$1 as ScheduleItemData, ScheduleStatus$1 as ScheduleStatus, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, StateFilter$1 as StateFilter, type TimeInterval$1 as TimeInterval, type UpdateScheduleItemRequest$1 as UpdateScheduleItemRequest, type UpdateScheduleItemResponse$1 as UpdateScheduleItemResponse, type UpdateScheduleItemResponseNonNullableFields$1 as UpdateScheduleItemResponseNonNullableFields, type index_d$b__publicCreateBookmarkType as _publicCreateBookmarkType, type index_d$b__publicDeleteBookmarkType as _publicDeleteBookmarkType, type index_d$b__publicListBookmarksType as _publicListBookmarksType, index_d$b_createBookmark as createBookmark, index_d$b_deleteBookmark as deleteBookmark, index_d$b_listBookmarks as listBookmarks };
|
|
3856
3983
|
}
|
|
3857
3984
|
|
|
3858
3985
|
/** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */
|
|
@@ -4347,17 +4474,118 @@ interface RescheduleDraftOptions {
|
|
|
4347
4474
|
timeSlotOffset?: GoogleProtoDuration;
|
|
4348
4475
|
}
|
|
4349
4476
|
|
|
4477
|
+
declare function listScheduleItems$1(httpClient: HttpClient): ListScheduleItemsSignature;
|
|
4478
|
+
interface ListScheduleItemsSignature {
|
|
4479
|
+
/**
|
|
4480
|
+
* Retrieves a list of up to 100 schedule items
|
|
4481
|
+
* @param - Optional fields.
|
|
4482
|
+
*/
|
|
4483
|
+
(options?: ListScheduleItemsOptions | undefined): Promise<ListScheduleItemsResponse & ListScheduleItemsResponseNonNullableFields>;
|
|
4484
|
+
}
|
|
4485
|
+
declare function queryScheduleItems$1(httpClient: HttpClient): QueryScheduleItemsSignature;
|
|
4486
|
+
interface QueryScheduleItemsSignature {
|
|
4487
|
+
/**
|
|
4488
|
+
* Creates a query to retrieve a list of schedule items.
|
|
4489
|
+
*
|
|
4490
|
+
* The `queryScheduleItems( )` function builds a query to retrieve a list of schedule items and returns a [`ItemsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/schedule/itemsquerybuilder) object.
|
|
4491
|
+
*
|
|
4492
|
+
* The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/schedule/itemsquerybuilder/find) function.
|
|
4493
|
+
*
|
|
4494
|
+
* You can refine the query by chaining `ItemsQueryBuilder` functions onto the query. `ItemsQueryBuilder` functions enable you to sort, filter, and control the results `queryScheduleItems( )` returns.
|
|
4495
|
+
*
|
|
4496
|
+
* `queryScheduleItems( )` runs with these `ItemsQueryBuilder` defaults, which you can override:
|
|
4497
|
+
*
|
|
4498
|
+
* - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/schedule/itemsquerybuilder/limit)
|
|
4499
|
+
* - [`descending("_createdDate")`](https://www.wix.com/velo/reference/wix-events-v2/schedule/itemsquerybuilder/descending)
|
|
4500
|
+
*
|
|
4501
|
+
* The functions that are chained to `queryScheduleItems( )` are applied in the order they're called. For example, if you apply `ascending('name')` and then `descending('stageName')`, the results are sorted first by the `name`, and then, if there are multiple results with the same `name`, the items are sorted by `stageName`.
|
|
4502
|
+
*/
|
|
4503
|
+
(): ItemsQueryBuilder;
|
|
4504
|
+
}
|
|
4505
|
+
declare function getScheduleItem$1(httpClient: HttpClient): GetScheduleItemSignature;
|
|
4506
|
+
interface GetScheduleItemSignature {
|
|
4507
|
+
/**
|
|
4508
|
+
* Retrieves schedule item by ID.
|
|
4509
|
+
* @param - Schedule item ID.
|
|
4510
|
+
* @param - Optional fields.
|
|
4511
|
+
* @returns Schedule item.
|
|
4512
|
+
*/
|
|
4513
|
+
(itemId: string, options?: GetScheduleItemOptions | undefined): Promise<ScheduleItem & ScheduleItemNonNullableFields>;
|
|
4514
|
+
}
|
|
4515
|
+
declare function addScheduleItem$1(httpClient: HttpClient): AddScheduleItemSignature;
|
|
4516
|
+
interface AddScheduleItemSignature {
|
|
4517
|
+
/**
|
|
4518
|
+
* Adds a schedule item to the draft schedule.
|
|
4519
|
+
* @param - Event ID to which the schedule belongs.
|
|
4520
|
+
* @param - Optional fields.
|
|
4521
|
+
*/
|
|
4522
|
+
(eventId: string, options?: AddScheduleItemOptions | undefined): Promise<AddScheduleItemResponse & AddScheduleItemResponseNonNullableFields>;
|
|
4523
|
+
}
|
|
4524
|
+
declare function updateScheduleItem$1(httpClient: HttpClient): UpdateScheduleItemSignature;
|
|
4525
|
+
interface UpdateScheduleItemSignature {
|
|
4526
|
+
/**
|
|
4527
|
+
* Updates a schedule item in a draft schedule.
|
|
4528
|
+
* @param - Schedule item ID.
|
|
4529
|
+
* @param - Event ID to which the schedule belongs.
|
|
4530
|
+
* @param - Optional fields.
|
|
4531
|
+
*/
|
|
4532
|
+
(itemId: string, eventId: string, options?: UpdateScheduleItemOptions | undefined): Promise<UpdateScheduleItemResponse & UpdateScheduleItemResponseNonNullableFields>;
|
|
4533
|
+
}
|
|
4534
|
+
declare function deleteScheduleItem$1(httpClient: HttpClient): DeleteScheduleItemSignature;
|
|
4535
|
+
interface DeleteScheduleItemSignature {
|
|
4536
|
+
/**
|
|
4537
|
+
* Deletes schedule items from the draft schedule.
|
|
4538
|
+
* @param - Event ID to which the schedule belongs.
|
|
4539
|
+
* @param - Optional fields.
|
|
4540
|
+
*/
|
|
4541
|
+
(eventId: string, options?: DeleteScheduleItemOptions | undefined): Promise<void>;
|
|
4542
|
+
}
|
|
4543
|
+
declare function discardDraft$3(httpClient: HttpClient): DiscardDraftSignature$1;
|
|
4544
|
+
interface DiscardDraftSignature$1 {
|
|
4545
|
+
/**
|
|
4546
|
+
* Clears all changes to the draft schedule.
|
|
4547
|
+
* @param - Event ID to which the schedule belongs.
|
|
4548
|
+
*/
|
|
4549
|
+
(eventId: string): Promise<void>;
|
|
4550
|
+
}
|
|
4551
|
+
declare function publishDraft$3(httpClient: HttpClient): PublishDraftSignature$1;
|
|
4552
|
+
interface PublishDraftSignature$1 {
|
|
4553
|
+
/**
|
|
4554
|
+
* Publishes the draft schedule.
|
|
4555
|
+
* @param - Event ID to which the schedule belongs.
|
|
4556
|
+
*/
|
|
4557
|
+
(eventId: string): Promise<void>;
|
|
4558
|
+
}
|
|
4559
|
+
declare function rescheduleDraft$1(httpClient: HttpClient): RescheduleDraftSignature;
|
|
4560
|
+
interface RescheduleDraftSignature {
|
|
4561
|
+
/**
|
|
4562
|
+
* Adjusts the time of all draft schedule items at once per event.
|
|
4563
|
+
* @param - Event ID to which the schedule belongs.
|
|
4564
|
+
* @param - Optional fields.
|
|
4565
|
+
*/
|
|
4566
|
+
(eventId: string, options?: RescheduleDraftOptions | undefined): Promise<void>;
|
|
4567
|
+
}
|
|
4568
|
+
|
|
4350
4569
|
declare function createRESTModule$a<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
4351
4570
|
|
|
4352
|
-
|
|
4353
|
-
declare const
|
|
4354
|
-
|
|
4355
|
-
declare const
|
|
4356
|
-
|
|
4357
|
-
declare const
|
|
4358
|
-
|
|
4359
|
-
declare const
|
|
4360
|
-
|
|
4571
|
+
type _publicListScheduleItemsType = typeof listScheduleItems$1;
|
|
4572
|
+
declare const listScheduleItems: ReturnType<typeof createRESTModule$a<_publicListScheduleItemsType>>;
|
|
4573
|
+
type _publicQueryScheduleItemsType = typeof queryScheduleItems$1;
|
|
4574
|
+
declare const queryScheduleItems: ReturnType<typeof createRESTModule$a<_publicQueryScheduleItemsType>>;
|
|
4575
|
+
type _publicGetScheduleItemType = typeof getScheduleItem$1;
|
|
4576
|
+
declare const getScheduleItem: ReturnType<typeof createRESTModule$a<_publicGetScheduleItemType>>;
|
|
4577
|
+
type _publicAddScheduleItemType = typeof addScheduleItem$1;
|
|
4578
|
+
declare const addScheduleItem: ReturnType<typeof createRESTModule$a<_publicAddScheduleItemType>>;
|
|
4579
|
+
type _publicUpdateScheduleItemType = typeof updateScheduleItem$1;
|
|
4580
|
+
declare const updateScheduleItem: ReturnType<typeof createRESTModule$a<_publicUpdateScheduleItemType>>;
|
|
4581
|
+
type _publicDeleteScheduleItemType = typeof deleteScheduleItem$1;
|
|
4582
|
+
declare const deleteScheduleItem: ReturnType<typeof createRESTModule$a<_publicDeleteScheduleItemType>>;
|
|
4583
|
+
type _publicDiscardDraftType$1 = typeof discardDraft$3;
|
|
4584
|
+
declare const discardDraft$2: ReturnType<typeof createRESTModule$a<_publicDiscardDraftType>>;
|
|
4585
|
+
type _publicPublishDraftType$1 = typeof publishDraft$3;
|
|
4586
|
+
declare const publishDraft$2: ReturnType<typeof createRESTModule$a<_publicPublishDraftType>>;
|
|
4587
|
+
type _publicRescheduleDraftType = typeof rescheduleDraft$1;
|
|
4588
|
+
declare const rescheduleDraft: ReturnType<typeof createRESTModule$a<_publicRescheduleDraftType>>;
|
|
4361
4589
|
|
|
4362
4590
|
type index_d$a_AddScheduleItemOptions = AddScheduleItemOptions;
|
|
4363
4591
|
type index_d$a_AddScheduleItemRequest = AddScheduleItemRequest;
|
|
@@ -4401,6 +4629,13 @@ type index_d$a_UpdateScheduleItemOptions = UpdateScheduleItemOptions;
|
|
|
4401
4629
|
type index_d$a_UpdateScheduleItemRequest = UpdateScheduleItemRequest;
|
|
4402
4630
|
type index_d$a_UpdateScheduleItemResponse = UpdateScheduleItemResponse;
|
|
4403
4631
|
type index_d$a_UpdateScheduleItemResponseNonNullableFields = UpdateScheduleItemResponseNonNullableFields;
|
|
4632
|
+
type index_d$a__publicAddScheduleItemType = _publicAddScheduleItemType;
|
|
4633
|
+
type index_d$a__publicDeleteScheduleItemType = _publicDeleteScheduleItemType;
|
|
4634
|
+
type index_d$a__publicGetScheduleItemType = _publicGetScheduleItemType;
|
|
4635
|
+
type index_d$a__publicListScheduleItemsType = _publicListScheduleItemsType;
|
|
4636
|
+
type index_d$a__publicQueryScheduleItemsType = _publicQueryScheduleItemsType;
|
|
4637
|
+
type index_d$a__publicRescheduleDraftType = _publicRescheduleDraftType;
|
|
4638
|
+
type index_d$a__publicUpdateScheduleItemType = _publicUpdateScheduleItemType;
|
|
4404
4639
|
declare const index_d$a_addScheduleItem: typeof addScheduleItem;
|
|
4405
4640
|
declare const index_d$a_deleteScheduleItem: typeof deleteScheduleItem;
|
|
4406
4641
|
declare const index_d$a_getScheduleItem: typeof getScheduleItem;
|
|
@@ -4409,7 +4644,7 @@ declare const index_d$a_queryScheduleItems: typeof queryScheduleItems;
|
|
|
4409
4644
|
declare const index_d$a_rescheduleDraft: typeof rescheduleDraft;
|
|
4410
4645
|
declare const index_d$a_updateScheduleItem: typeof updateScheduleItem;
|
|
4411
4646
|
declare namespace index_d$a {
|
|
4412
|
-
export { type index_d$a_AddScheduleItemOptions as AddScheduleItemOptions, type index_d$a_AddScheduleItemRequest as AddScheduleItemRequest, type index_d$a_AddScheduleItemResponse as AddScheduleItemResponse, type index_d$a_AddScheduleItemResponseNonNullableFields as AddScheduleItemResponseNonNullableFields, type index_d$a_CreateBookmarkRequest as CreateBookmarkRequest, type index_d$a_CreateBookmarkResponse as CreateBookmarkResponse, type Cursors$6 as Cursors, type index_d$a_DeleteBookmarkRequest as DeleteBookmarkRequest, type index_d$a_DeleteBookmarkResponse as DeleteBookmarkResponse, type index_d$a_DeleteScheduleItemOptions as DeleteScheduleItemOptions, type index_d$a_DeleteScheduleItemRequest as DeleteScheduleItemRequest, type index_d$a_DeleteScheduleItemResponse as DeleteScheduleItemResponse, type DiscardDraftRequest$1 as DiscardDraftRequest, type DiscardDraftResponse$1 as DiscardDraftResponse, type FacetCounts$6 as FacetCounts, type index_d$a_GetScheduleItemOptions as GetScheduleItemOptions, type index_d$a_GetScheduleItemRequest as GetScheduleItemRequest, type index_d$a_GetScheduleItemResponse as GetScheduleItemResponse, type index_d$a_GetScheduleItemResponseNonNullableFields as GetScheduleItemResponseNonNullableFields, type index_d$a_ItemsQueryBuilder as ItemsQueryBuilder, type index_d$a_ItemsQueryResult as ItemsQueryResult, type index_d$a_ListBookmarksRequest as ListBookmarksRequest, type index_d$a_ListBookmarksResponse as ListBookmarksResponse, type index_d$a_ListBookmarksResponseNonNullableFields as ListBookmarksResponseNonNullableFields, type index_d$a_ListScheduleItemsOptions as ListScheduleItemsOptions, type index_d$a_ListScheduleItemsRequest as ListScheduleItemsRequest, type index_d$a_ListScheduleItemsResponse as ListScheduleItemsResponse, type index_d$a_ListScheduleItemsResponseNonNullableFields as ListScheduleItemsResponseNonNullableFields, type Paging$6 as Paging, type PagingMetadataV2$6 as PagingMetadataV2, type PublishDraftRequest$1 as PublishDraftRequest, type PublishDraftResponse$1 as PublishDraftResponse, type index_d$a_QueryScheduleItemsRequest as QueryScheduleItemsRequest, type index_d$a_QueryScheduleItemsResponse as QueryScheduleItemsResponse, type index_d$a_QueryScheduleItemsResponseNonNullableFields as QueryScheduleItemsResponseNonNullableFields, type QueryV2$6 as QueryV2, type QueryV2PagingMethodOneOf$6 as QueryV2PagingMethodOneOf, type index_d$a_RescheduleDraftOptions as RescheduleDraftOptions, type index_d$a_RescheduleDraftRequest as RescheduleDraftRequest, type index_d$a_RescheduleDraftResponse as RescheduleDraftResponse, type index_d$a_ScheduleItem as ScheduleItem, type index_d$a_ScheduleItemData as ScheduleItemData, type index_d$a_ScheduleItemNonNullableFields as ScheduleItemNonNullableFields, index_d$a_ScheduleStatus as ScheduleStatus, SortOrder$6 as SortOrder, type Sorting$6 as Sorting, index_d$a_StateFilter as StateFilter, type index_d$a_TimeInterval as TimeInterval, type index_d$a_UpdateScheduleItemOptions as UpdateScheduleItemOptions, type index_d$a_UpdateScheduleItemRequest as UpdateScheduleItemRequest, type index_d$a_UpdateScheduleItemResponse as UpdateScheduleItemResponse, type index_d$a_UpdateScheduleItemResponseNonNullableFields as UpdateScheduleItemResponseNonNullableFields, index_d$a_addScheduleItem as addScheduleItem, index_d$a_deleteScheduleItem as deleteScheduleItem, discardDraft$
|
|
4647
|
+
export { type index_d$a_AddScheduleItemOptions as AddScheduleItemOptions, type index_d$a_AddScheduleItemRequest as AddScheduleItemRequest, type index_d$a_AddScheduleItemResponse as AddScheduleItemResponse, type index_d$a_AddScheduleItemResponseNonNullableFields as AddScheduleItemResponseNonNullableFields, type index_d$a_CreateBookmarkRequest as CreateBookmarkRequest, type index_d$a_CreateBookmarkResponse as CreateBookmarkResponse, type Cursors$6 as Cursors, type index_d$a_DeleteBookmarkRequest as DeleteBookmarkRequest, type index_d$a_DeleteBookmarkResponse as DeleteBookmarkResponse, type index_d$a_DeleteScheduleItemOptions as DeleteScheduleItemOptions, type index_d$a_DeleteScheduleItemRequest as DeleteScheduleItemRequest, type index_d$a_DeleteScheduleItemResponse as DeleteScheduleItemResponse, type DiscardDraftRequest$1 as DiscardDraftRequest, type DiscardDraftResponse$1 as DiscardDraftResponse, type FacetCounts$6 as FacetCounts, type index_d$a_GetScheduleItemOptions as GetScheduleItemOptions, type index_d$a_GetScheduleItemRequest as GetScheduleItemRequest, type index_d$a_GetScheduleItemResponse as GetScheduleItemResponse, type index_d$a_GetScheduleItemResponseNonNullableFields as GetScheduleItemResponseNonNullableFields, type index_d$a_ItemsQueryBuilder as ItemsQueryBuilder, type index_d$a_ItemsQueryResult as ItemsQueryResult, type index_d$a_ListBookmarksRequest as ListBookmarksRequest, type index_d$a_ListBookmarksResponse as ListBookmarksResponse, type index_d$a_ListBookmarksResponseNonNullableFields as ListBookmarksResponseNonNullableFields, type index_d$a_ListScheduleItemsOptions as ListScheduleItemsOptions, type index_d$a_ListScheduleItemsRequest as ListScheduleItemsRequest, type index_d$a_ListScheduleItemsResponse as ListScheduleItemsResponse, type index_d$a_ListScheduleItemsResponseNonNullableFields as ListScheduleItemsResponseNonNullableFields, type Paging$6 as Paging, type PagingMetadataV2$6 as PagingMetadataV2, type PublishDraftRequest$1 as PublishDraftRequest, type PublishDraftResponse$1 as PublishDraftResponse, type index_d$a_QueryScheduleItemsRequest as QueryScheduleItemsRequest, type index_d$a_QueryScheduleItemsResponse as QueryScheduleItemsResponse, type index_d$a_QueryScheduleItemsResponseNonNullableFields as QueryScheduleItemsResponseNonNullableFields, type QueryV2$6 as QueryV2, type QueryV2PagingMethodOneOf$6 as QueryV2PagingMethodOneOf, type index_d$a_RescheduleDraftOptions as RescheduleDraftOptions, type index_d$a_RescheduleDraftRequest as RescheduleDraftRequest, type index_d$a_RescheduleDraftResponse as RescheduleDraftResponse, type index_d$a_ScheduleItem as ScheduleItem, type index_d$a_ScheduleItemData as ScheduleItemData, type index_d$a_ScheduleItemNonNullableFields as ScheduleItemNonNullableFields, index_d$a_ScheduleStatus as ScheduleStatus, SortOrder$6 as SortOrder, type Sorting$6 as Sorting, index_d$a_StateFilter as StateFilter, type index_d$a_TimeInterval as TimeInterval, type index_d$a_UpdateScheduleItemOptions as UpdateScheduleItemOptions, type index_d$a_UpdateScheduleItemRequest as UpdateScheduleItemRequest, type index_d$a_UpdateScheduleItemResponse as UpdateScheduleItemResponse, type index_d$a_UpdateScheduleItemResponseNonNullableFields as UpdateScheduleItemResponseNonNullableFields, type index_d$a__publicAddScheduleItemType as _publicAddScheduleItemType, type index_d$a__publicDeleteScheduleItemType as _publicDeleteScheduleItemType, type _publicDiscardDraftType$1 as _publicDiscardDraftType, type index_d$a__publicGetScheduleItemType as _publicGetScheduleItemType, type index_d$a__publicListScheduleItemsType as _publicListScheduleItemsType, type _publicPublishDraftType$1 as _publicPublishDraftType, type index_d$a__publicQueryScheduleItemsType as _publicQueryScheduleItemsType, type index_d$a__publicRescheduleDraftType as _publicRescheduleDraftType, type index_d$a__publicUpdateScheduleItemType as _publicUpdateScheduleItemType, index_d$a_addScheduleItem as addScheduleItem, index_d$a_deleteScheduleItem as deleteScheduleItem, discardDraft$2 as discardDraft, index_d$a_getScheduleItem as getScheduleItem, index_d$a_listScheduleItems as listScheduleItems, publishDraft$2 as publishDraft, index_d$a_queryScheduleItems as queryScheduleItems, index_d$a_rescheduleDraft as rescheduleDraft, index_d$a_updateScheduleItem as updateScheduleItem };
|
|
4413
4648
|
}
|
|
4414
4649
|
|
|
4415
4650
|
/** Staff members are events hosts assigned persons who can perform check-in for tickets owners, sell tickets or add guests manually. */
|
|
@@ -4925,20 +5160,106 @@ interface StaffMembersQueryBuilder {
|
|
|
4925
5160
|
find: () => Promise<StaffMembersQueryResult>;
|
|
4926
5161
|
}
|
|
4927
5162
|
|
|
5163
|
+
declare function createStaffMember$1(httpClient: HttpClient): CreateStaffMemberSignature;
|
|
5164
|
+
interface CreateStaffMemberSignature {
|
|
5165
|
+
/**
|
|
5166
|
+
* Creates a staff member.
|
|
5167
|
+
* @param - Staff member to be created.
|
|
5168
|
+
* @returns The created staff member.
|
|
5169
|
+
*/
|
|
5170
|
+
(staffMember: StaffMember): Promise<StaffMember & StaffMemberNonNullableFields>;
|
|
5171
|
+
}
|
|
5172
|
+
declare function getStaffMember$1(httpClient: HttpClient): GetStaffMemberSignature;
|
|
5173
|
+
interface GetStaffMemberSignature {
|
|
5174
|
+
/**
|
|
5175
|
+
* Retrieves a staff member.
|
|
5176
|
+
* @param - ID of the staff member to retrieve.
|
|
5177
|
+
* @returns The requested staff member.
|
|
5178
|
+
*/
|
|
5179
|
+
(staffMemberId: string, options?: GetStaffMemberOptions | undefined): Promise<StaffMember & StaffMemberNonNullableFields>;
|
|
5180
|
+
}
|
|
5181
|
+
declare function updateStaffMember$1(httpClient: HttpClient): UpdateStaffMemberSignature;
|
|
5182
|
+
interface UpdateStaffMemberSignature {
|
|
5183
|
+
/**
|
|
5184
|
+
* Updates a staff member.
|
|
5185
|
+
*
|
|
5186
|
+
* Each time the staff member is updated,
|
|
5187
|
+
* `revision` increments by 1.
|
|
5188
|
+
* The current `revision` must be passed when updating the staff member.
|
|
5189
|
+
* This ensures you're working with the latest staff member
|
|
5190
|
+
* and prevents unintended overwrites.
|
|
5191
|
+
* @param - Staff member ID.
|
|
5192
|
+
* @returns Updated staff member.
|
|
5193
|
+
*/
|
|
5194
|
+
(_id: string | null, staffMember: UpdateStaffMember): Promise<StaffMember & StaffMemberNonNullableFields>;
|
|
5195
|
+
}
|
|
5196
|
+
declare function deleteStaffMember$1(httpClient: HttpClient): DeleteStaffMemberSignature;
|
|
5197
|
+
interface DeleteStaffMemberSignature {
|
|
5198
|
+
/**
|
|
5199
|
+
* Deletes a staff member.
|
|
5200
|
+
*
|
|
5201
|
+
* Deleting a staff member permanently removes them from the staff member List.
|
|
5202
|
+
* @param - Id of the staff member to delete.
|
|
5203
|
+
*/
|
|
5204
|
+
(staffMemberId: string): Promise<void>;
|
|
5205
|
+
}
|
|
5206
|
+
declare function queryStaffMembers$1(httpClient: HttpClient): QueryStaffMembersSignature;
|
|
5207
|
+
interface QueryStaffMembersSignature {
|
|
5208
|
+
/**
|
|
5209
|
+
* Retrieves a list of staff members, given the provided paging, filtering, and sorting.
|
|
5210
|
+
*/
|
|
5211
|
+
(options?: QueryStaffMembersOptions | undefined): StaffMembersQueryBuilder;
|
|
5212
|
+
}
|
|
5213
|
+
declare function joinStaffMember$1(httpClient: HttpClient): JoinStaffMemberSignature;
|
|
5214
|
+
interface JoinStaffMemberSignature {
|
|
5215
|
+
/**
|
|
5216
|
+
* Joins as staff member if he's not in suspended status via provided token.
|
|
5217
|
+
* @param - Used to authorise staff member
|
|
5218
|
+
*/
|
|
5219
|
+
(joinToken: string): Promise<JoinStaffMemberResponse & JoinStaffMemberResponseNonNullableFields>;
|
|
5220
|
+
}
|
|
5221
|
+
declare function accessStaffMember$1(httpClient: HttpClient): AccessStaffMemberSignature;
|
|
5222
|
+
interface AccessStaffMemberSignature {
|
|
5223
|
+
/**
|
|
5224
|
+
* Retrieves a staff by access token.
|
|
5225
|
+
* @param - Used to authorise staff member
|
|
5226
|
+
*/
|
|
5227
|
+
(accessToken: string): Promise<AccessStaffMemberResponse & AccessStaffMemberResponseNonNullableFields>;
|
|
5228
|
+
}
|
|
5229
|
+
declare const onStaffMemberCreated$1: EventDefinition<StaffMemberCreatedEnvelope, "wix.events.staffmembers.v1.staff_member_created">;
|
|
5230
|
+
declare const onStaffMemberUpdated$1: EventDefinition<StaffMemberUpdatedEnvelope, "wix.events.staffmembers.v1.staff_member_updated">;
|
|
5231
|
+
declare const onStaffMemberDeleted$1: EventDefinition<StaffMemberDeletedEnvelope, "wix.events.staffmembers.v1.staff_member_deleted">;
|
|
5232
|
+
|
|
4928
5233
|
declare function createRESTModule$9<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
4929
5234
|
|
|
4930
5235
|
declare function createEventModule$8<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4931
5236
|
|
|
4932
|
-
|
|
4933
|
-
declare const
|
|
4934
|
-
|
|
4935
|
-
declare const
|
|
4936
|
-
|
|
4937
|
-
declare const
|
|
4938
|
-
|
|
4939
|
-
declare const
|
|
4940
|
-
|
|
4941
|
-
declare const
|
|
5237
|
+
type _publicCreateStaffMemberType = typeof createStaffMember$1;
|
|
5238
|
+
declare const createStaffMember: ReturnType<typeof createRESTModule$9<_publicCreateStaffMemberType>>;
|
|
5239
|
+
type _publicGetStaffMemberType = typeof getStaffMember$1;
|
|
5240
|
+
declare const getStaffMember: ReturnType<typeof createRESTModule$9<_publicGetStaffMemberType>>;
|
|
5241
|
+
type _publicUpdateStaffMemberType = typeof updateStaffMember$1;
|
|
5242
|
+
declare const updateStaffMember: ReturnType<typeof createRESTModule$9<_publicUpdateStaffMemberType>>;
|
|
5243
|
+
type _publicDeleteStaffMemberType = typeof deleteStaffMember$1;
|
|
5244
|
+
declare const deleteStaffMember: ReturnType<typeof createRESTModule$9<_publicDeleteStaffMemberType>>;
|
|
5245
|
+
type _publicQueryStaffMembersType = typeof queryStaffMembers$1;
|
|
5246
|
+
declare const queryStaffMembers: ReturnType<typeof createRESTModule$9<_publicQueryStaffMembersType>>;
|
|
5247
|
+
type _publicJoinStaffMemberType = typeof joinStaffMember$1;
|
|
5248
|
+
declare const joinStaffMember: ReturnType<typeof createRESTModule$9<_publicJoinStaffMemberType>>;
|
|
5249
|
+
type _publicAccessStaffMemberType = typeof accessStaffMember$1;
|
|
5250
|
+
declare const accessStaffMember: ReturnType<typeof createRESTModule$9<_publicAccessStaffMemberType>>;
|
|
5251
|
+
|
|
5252
|
+
type _publicOnStaffMemberCreatedType = typeof onStaffMemberCreated$1;
|
|
5253
|
+
/** */
|
|
5254
|
+
declare const onStaffMemberCreated: ReturnType<typeof createEventModule$8<_publicOnStaffMemberCreatedType>>;
|
|
5255
|
+
|
|
5256
|
+
type _publicOnStaffMemberUpdatedType = typeof onStaffMemberUpdated$1;
|
|
5257
|
+
/** */
|
|
5258
|
+
declare const onStaffMemberUpdated: ReturnType<typeof createEventModule$8<_publicOnStaffMemberUpdatedType>>;
|
|
5259
|
+
|
|
5260
|
+
type _publicOnStaffMemberDeletedType = typeof onStaffMemberDeleted$1;
|
|
5261
|
+
/** */
|
|
5262
|
+
declare const onStaffMemberDeleted: ReturnType<typeof createEventModule$8<_publicOnStaffMemberDeletedType>>;
|
|
4942
5263
|
|
|
4943
5264
|
type index_d$9_AccessStaffMemberRequest = AccessStaffMemberRequest;
|
|
4944
5265
|
type index_d$9_AccessStaffMemberResponse = AccessStaffMemberResponse;
|
|
@@ -4977,6 +5298,16 @@ type index_d$9_UpdateStaffMember = UpdateStaffMember;
|
|
|
4977
5298
|
type index_d$9_UpdateStaffMemberRequest = UpdateStaffMemberRequest;
|
|
4978
5299
|
type index_d$9_UpdateStaffMemberResponse = UpdateStaffMemberResponse;
|
|
4979
5300
|
type index_d$9_UpdateStaffMemberResponseNonNullableFields = UpdateStaffMemberResponseNonNullableFields;
|
|
5301
|
+
type index_d$9__publicAccessStaffMemberType = _publicAccessStaffMemberType;
|
|
5302
|
+
type index_d$9__publicCreateStaffMemberType = _publicCreateStaffMemberType;
|
|
5303
|
+
type index_d$9__publicDeleteStaffMemberType = _publicDeleteStaffMemberType;
|
|
5304
|
+
type index_d$9__publicGetStaffMemberType = _publicGetStaffMemberType;
|
|
5305
|
+
type index_d$9__publicJoinStaffMemberType = _publicJoinStaffMemberType;
|
|
5306
|
+
type index_d$9__publicOnStaffMemberCreatedType = _publicOnStaffMemberCreatedType;
|
|
5307
|
+
type index_d$9__publicOnStaffMemberDeletedType = _publicOnStaffMemberDeletedType;
|
|
5308
|
+
type index_d$9__publicOnStaffMemberUpdatedType = _publicOnStaffMemberUpdatedType;
|
|
5309
|
+
type index_d$9__publicQueryStaffMembersType = _publicQueryStaffMembersType;
|
|
5310
|
+
type index_d$9__publicUpdateStaffMemberType = _publicUpdateStaffMemberType;
|
|
4980
5311
|
declare const index_d$9_accessStaffMember: typeof accessStaffMember;
|
|
4981
5312
|
declare const index_d$9_createStaffMember: typeof createStaffMember;
|
|
4982
5313
|
declare const index_d$9_deleteStaffMember: typeof deleteStaffMember;
|
|
@@ -4988,7 +5319,7 @@ declare const index_d$9_onStaffMemberUpdated: typeof onStaffMemberUpdated;
|
|
|
4988
5319
|
declare const index_d$9_queryStaffMembers: typeof queryStaffMembers;
|
|
4989
5320
|
declare const index_d$9_updateStaffMember: typeof updateStaffMember;
|
|
4990
5321
|
declare namespace index_d$9 {
|
|
4991
|
-
export { type index_d$9_AccessStaffMemberRequest as AccessStaffMemberRequest, type index_d$9_AccessStaffMemberResponse as AccessStaffMemberResponse, type index_d$9_AccessStaffMemberResponseNonNullableFields as AccessStaffMemberResponseNonNullableFields, type ActionEvent$5 as ActionEvent, type index_d$9_AllEvents as AllEvents, type BaseEventMetadata$8 as BaseEventMetadata, type index_d$9_CreateStaffMemberRequest as CreateStaffMemberRequest, type index_d$9_CreateStaffMemberResponse as CreateStaffMemberResponse, type index_d$9_CreateStaffMemberResponseNonNullableFields as CreateStaffMemberResponseNonNullableFields, type CursorPaging$4 as CursorPaging, type Cursors$5 as Cursors, type index_d$9_DeleteStaffMemberRequest as DeleteStaffMemberRequest, type index_d$9_DeleteStaffMemberResponse as DeleteStaffMemberResponse, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type ExtendedFields$1 as ExtendedFields, index_d$9_Fieldset as Fieldset, type index_d$9_GetStaffMemberOptions as GetStaffMemberOptions, type index_d$9_GetStaffMemberRequest as GetStaffMemberRequest, type index_d$9_GetStaffMemberResponse as GetStaffMemberResponse, type index_d$9_GetStaffMemberResponseNonNullableFields as GetStaffMemberResponseNonNullableFields, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type index_d$9_JoinStaffMemberRequest as JoinStaffMemberRequest, type index_d$9_JoinStaffMemberResponse as JoinStaffMemberResponse, type index_d$9_JoinStaffMemberResponseNonNullableFields as JoinStaffMemberResponseNonNullableFields, type MessageEnvelope$9 as MessageEnvelope, type Paging$5 as Paging, type PagingMetadataV2$5 as PagingMetadataV2, type index_d$9_QueryStaffMembersOptions as QueryStaffMembersOptions, type index_d$9_QueryStaffMembersRequest as QueryStaffMembersRequest, type index_d$9_QueryStaffMembersResponse as QueryStaffMembersResponse, type index_d$9_QueryStaffMembersResponseNonNullableFields as QueryStaffMembersResponseNonNullableFields, type QueryV2$5 as QueryV2, type QueryV2PagingMethodOneOf$5 as QueryV2PagingMethodOneOf, index_d$9_Scope as Scope, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type index_d$9_SpecificEvents as SpecificEvents, type index_d$9_StaffMember as StaffMember, type index_d$9_StaffMemberCreatedEnvelope as StaffMemberCreatedEnvelope, type index_d$9_StaffMemberDeletedEnvelope as StaffMemberDeletedEnvelope, type index_d$9_StaffMemberEventAccessOneOf as StaffMemberEventAccessOneOf, type index_d$9_StaffMemberNonNullableFields as StaffMemberNonNullableFields, type index_d$9_StaffMemberUpdatedEnvelope as StaffMemberUpdatedEnvelope, type index_d$9_StaffMembersQueryBuilder as StaffMembersQueryBuilder, type index_d$9_StaffMembersQueryResult as StaffMembersQueryResult, Status$4 as Status, type index_d$9_UpdateStaffMember as UpdateStaffMember, type index_d$9_UpdateStaffMemberRequest as UpdateStaffMemberRequest, type index_d$9_UpdateStaffMemberResponse as UpdateStaffMemberResponse, type index_d$9_UpdateStaffMemberResponseNonNullableFields as UpdateStaffMemberResponseNonNullableFields, WebhookIdentityType$9 as WebhookIdentityType, index_d$9_accessStaffMember as accessStaffMember, index_d$9_createStaffMember as createStaffMember, index_d$9_deleteStaffMember as deleteStaffMember, index_d$9_getStaffMember as getStaffMember, index_d$9_joinStaffMember as joinStaffMember, index_d$9_onStaffMemberCreated as onStaffMemberCreated, index_d$9_onStaffMemberDeleted as onStaffMemberDeleted, index_d$9_onStaffMemberUpdated as onStaffMemberUpdated, index_d$9_queryStaffMembers as queryStaffMembers, index_d$9_updateStaffMember as updateStaffMember };
|
|
5322
|
+
export { type index_d$9_AccessStaffMemberRequest as AccessStaffMemberRequest, type index_d$9_AccessStaffMemberResponse as AccessStaffMemberResponse, type index_d$9_AccessStaffMemberResponseNonNullableFields as AccessStaffMemberResponseNonNullableFields, type ActionEvent$5 as ActionEvent, type index_d$9_AllEvents as AllEvents, type BaseEventMetadata$8 as BaseEventMetadata, type index_d$9_CreateStaffMemberRequest as CreateStaffMemberRequest, type index_d$9_CreateStaffMemberResponse as CreateStaffMemberResponse, type index_d$9_CreateStaffMemberResponseNonNullableFields as CreateStaffMemberResponseNonNullableFields, type CursorPaging$4 as CursorPaging, type Cursors$5 as Cursors, type index_d$9_DeleteStaffMemberRequest as DeleteStaffMemberRequest, type index_d$9_DeleteStaffMemberResponse as DeleteStaffMemberResponse, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$3 as EventMetadata, type ExtendedFields$1 as ExtendedFields, index_d$9_Fieldset as Fieldset, type index_d$9_GetStaffMemberOptions as GetStaffMemberOptions, type index_d$9_GetStaffMemberRequest as GetStaffMemberRequest, type index_d$9_GetStaffMemberResponse as GetStaffMemberResponse, type index_d$9_GetStaffMemberResponseNonNullableFields as GetStaffMemberResponseNonNullableFields, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type index_d$9_JoinStaffMemberRequest as JoinStaffMemberRequest, type index_d$9_JoinStaffMemberResponse as JoinStaffMemberResponse, type index_d$9_JoinStaffMemberResponseNonNullableFields as JoinStaffMemberResponseNonNullableFields, type MessageEnvelope$9 as MessageEnvelope, type Paging$5 as Paging, type PagingMetadataV2$5 as PagingMetadataV2, type index_d$9_QueryStaffMembersOptions as QueryStaffMembersOptions, type index_d$9_QueryStaffMembersRequest as QueryStaffMembersRequest, type index_d$9_QueryStaffMembersResponse as QueryStaffMembersResponse, type index_d$9_QueryStaffMembersResponseNonNullableFields as QueryStaffMembersResponseNonNullableFields, type QueryV2$5 as QueryV2, type QueryV2PagingMethodOneOf$5 as QueryV2PagingMethodOneOf, index_d$9_Scope as Scope, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type index_d$9_SpecificEvents as SpecificEvents, type index_d$9_StaffMember as StaffMember, type index_d$9_StaffMemberCreatedEnvelope as StaffMemberCreatedEnvelope, type index_d$9_StaffMemberDeletedEnvelope as StaffMemberDeletedEnvelope, type index_d$9_StaffMemberEventAccessOneOf as StaffMemberEventAccessOneOf, type index_d$9_StaffMemberNonNullableFields as StaffMemberNonNullableFields, type index_d$9_StaffMemberUpdatedEnvelope as StaffMemberUpdatedEnvelope, type index_d$9_StaffMembersQueryBuilder as StaffMembersQueryBuilder, type index_d$9_StaffMembersQueryResult as StaffMembersQueryResult, Status$4 as Status, type index_d$9_UpdateStaffMember as UpdateStaffMember, type index_d$9_UpdateStaffMemberRequest as UpdateStaffMemberRequest, type index_d$9_UpdateStaffMemberResponse as UpdateStaffMemberResponse, type index_d$9_UpdateStaffMemberResponseNonNullableFields as UpdateStaffMemberResponseNonNullableFields, WebhookIdentityType$9 as WebhookIdentityType, type index_d$9__publicAccessStaffMemberType as _publicAccessStaffMemberType, type index_d$9__publicCreateStaffMemberType as _publicCreateStaffMemberType, type index_d$9__publicDeleteStaffMemberType as _publicDeleteStaffMemberType, type index_d$9__publicGetStaffMemberType as _publicGetStaffMemberType, type index_d$9__publicJoinStaffMemberType as _publicJoinStaffMemberType, type index_d$9__publicOnStaffMemberCreatedType as _publicOnStaffMemberCreatedType, type index_d$9__publicOnStaffMemberDeletedType as _publicOnStaffMemberDeletedType, type index_d$9__publicOnStaffMemberUpdatedType as _publicOnStaffMemberUpdatedType, type index_d$9__publicQueryStaffMembersType as _publicQueryStaffMembersType, type index_d$9__publicUpdateStaffMemberType as _publicUpdateStaffMemberType, index_d$9_accessStaffMember as accessStaffMember, index_d$9_createStaffMember as createStaffMember, index_d$9_deleteStaffMember as deleteStaffMember, index_d$9_getStaffMember as getStaffMember, index_d$9_joinStaffMember as joinStaffMember, index_d$9_onStaffMemberCreated as onStaffMemberCreated, index_d$9_onStaffMemberDeleted as onStaffMemberDeleted, index_d$9_onStaffMemberUpdated as onStaffMemberUpdated, onStaffMemberCreated$1 as publicOnStaffMemberCreated, onStaffMemberDeleted$1 as publicOnStaffMemberDeleted, onStaffMemberUpdated$1 as publicOnStaffMemberUpdated, index_d$9_queryStaffMembers as queryStaffMembers, index_d$9_updateStaffMember as updateStaffMember };
|
|
4992
5323
|
}
|
|
4993
5324
|
|
|
4994
5325
|
interface Category$3 {
|
|
@@ -5000,7 +5331,7 @@ interface Category$3 {
|
|
|
5000
5331
|
/** Category name. */
|
|
5001
5332
|
name?: string;
|
|
5002
5333
|
/**
|
|
5003
|
-
*
|
|
5334
|
+
* Date and time when category was created.
|
|
5004
5335
|
* @readonly
|
|
5005
5336
|
*/
|
|
5006
5337
|
_createdDate?: Date;
|
|
@@ -5091,7 +5422,7 @@ interface BulkActionMetadata {
|
|
|
5091
5422
|
undetailedFailures?: number;
|
|
5092
5423
|
}
|
|
5093
5424
|
interface UpdateCategoryRequest {
|
|
5094
|
-
/** Category update. */
|
|
5425
|
+
/** Category to update. */
|
|
5095
5426
|
category: Category$3;
|
|
5096
5427
|
}
|
|
5097
5428
|
interface UpdateCategoryResponse {
|
|
@@ -5105,7 +5436,7 @@ interface DeleteCategoryRequest {
|
|
|
5105
5436
|
interface DeleteCategoryResponse {
|
|
5106
5437
|
}
|
|
5107
5438
|
interface QueryCategoriesRequest {
|
|
5108
|
-
/**
|
|
5439
|
+
/** Options to use when querying categories. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */
|
|
5109
5440
|
query: QueryV2$4;
|
|
5110
5441
|
/**
|
|
5111
5442
|
* Predefined sets of fields to return.
|
|
@@ -5194,7 +5525,7 @@ interface BulkAssignEventsRequest {
|
|
|
5194
5525
|
eventId: string[];
|
|
5195
5526
|
}
|
|
5196
5527
|
interface BulkAssignEventsResponse {
|
|
5197
|
-
/**
|
|
5528
|
+
/** Bulk assign results. */
|
|
5198
5529
|
results?: BulkCategoryResult[];
|
|
5199
5530
|
/** Metadata of results. */
|
|
5200
5531
|
bulkActionMetadata?: BulkActionMetadata;
|
|
@@ -5256,9 +5587,9 @@ interface ReorderCategoryEventsRequest extends ReorderCategoryEventsRequestRefer
|
|
|
5256
5587
|
beforeEventId?: string;
|
|
5257
5588
|
/** Move the event after defined `eventId`. */
|
|
5258
5589
|
afterEventId?: string;
|
|
5259
|
-
/** Category ID */
|
|
5590
|
+
/** Category ID. */
|
|
5260
5591
|
categoryId: string;
|
|
5261
|
-
/** Event ID */
|
|
5592
|
+
/** Event ID. */
|
|
5262
5593
|
eventId?: string;
|
|
5263
5594
|
}
|
|
5264
5595
|
/** @oneof */
|
|
@@ -5293,7 +5624,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
|
|
|
5293
5624
|
slug?: string;
|
|
5294
5625
|
/** ID of the entity associated with the event. */
|
|
5295
5626
|
entityId?: string;
|
|
5296
|
-
/** Event timestamp. */
|
|
5627
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
5297
5628
|
eventTime?: Date;
|
|
5298
5629
|
/**
|
|
5299
5630
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -5322,6 +5653,9 @@ interface DomainEventBodyOneOf$4 {
|
|
|
5322
5653
|
interface EntityCreatedEvent$4 {
|
|
5323
5654
|
entity?: string;
|
|
5324
5655
|
}
|
|
5656
|
+
interface RestoreInfo$3 {
|
|
5657
|
+
deletedDate?: Date;
|
|
5658
|
+
}
|
|
5325
5659
|
interface EntityUpdatedEvent$4 {
|
|
5326
5660
|
/**
|
|
5327
5661
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -5433,7 +5767,7 @@ interface UpdateCategory {
|
|
|
5433
5767
|
/** Category name. */
|
|
5434
5768
|
name?: string;
|
|
5435
5769
|
/**
|
|
5436
|
-
*
|
|
5770
|
+
* Date and time when category was created.
|
|
5437
5771
|
* @readonly
|
|
5438
5772
|
*/
|
|
5439
5773
|
_createdDate?: Date;
|
|
@@ -5517,7 +5851,7 @@ interface BulkUnassignEventsAsyncOptions {
|
|
|
5517
5851
|
filter: Record<string, any> | null;
|
|
5518
5852
|
}
|
|
5519
5853
|
interface ReorderCategoryEventsOptions extends ReorderCategoryEventsRequestReferenceEventOneOf {
|
|
5520
|
-
/** Event ID */
|
|
5854
|
+
/** Event ID. */
|
|
5521
5855
|
eventId?: string;
|
|
5522
5856
|
/** Move the event before defined `eventId`. */
|
|
5523
5857
|
beforeEventId?: string;
|
|
@@ -5525,21 +5859,170 @@ interface ReorderCategoryEventsOptions extends ReorderCategoryEventsRequestRefer
|
|
|
5525
5859
|
afterEventId?: string;
|
|
5526
5860
|
}
|
|
5527
5861
|
|
|
5862
|
+
declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature;
|
|
5863
|
+
interface CreateCategorySignature {
|
|
5864
|
+
/**
|
|
5865
|
+
* Creates a category.
|
|
5866
|
+
* @param - Category to create.
|
|
5867
|
+
* @returns Created category.
|
|
5868
|
+
*/
|
|
5869
|
+
(category: Category$3): Promise<Category$3 & CategoryNonNullableFields>;
|
|
5870
|
+
}
|
|
5871
|
+
declare function bulkCreateCategory$1(httpClient: HttpClient): BulkCreateCategorySignature;
|
|
5872
|
+
interface BulkCreateCategorySignature {
|
|
5873
|
+
/**
|
|
5874
|
+
* Creates multipe categories at once.
|
|
5875
|
+
* @param - Categories to create.
|
|
5876
|
+
*/
|
|
5877
|
+
(categories: Category$3[]): Promise<BulkCreateCategoryResponse & BulkCreateCategoryResponseNonNullableFields>;
|
|
5878
|
+
}
|
|
5879
|
+
declare function updateCategory$1(httpClient: HttpClient): UpdateCategorySignature;
|
|
5880
|
+
interface UpdateCategorySignature {
|
|
5881
|
+
/**
|
|
5882
|
+
* Updates an existing category.
|
|
5883
|
+
* @param - Category ID.
|
|
5884
|
+
* @returns Updated category.
|
|
5885
|
+
*/
|
|
5886
|
+
(_id: string, category: UpdateCategory): Promise<Category$3 & CategoryNonNullableFields>;
|
|
5887
|
+
}
|
|
5888
|
+
declare function deleteCategory$1(httpClient: HttpClient): DeleteCategorySignature;
|
|
5889
|
+
interface DeleteCategorySignature {
|
|
5890
|
+
/**
|
|
5891
|
+
* Deletes a category.
|
|
5892
|
+
* @param - ID of category to be deleted.
|
|
5893
|
+
*/
|
|
5894
|
+
(categoryId: string): Promise<void>;
|
|
5895
|
+
}
|
|
5896
|
+
declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
|
|
5897
|
+
interface QueryCategoriesSignature {
|
|
5898
|
+
/**
|
|
5899
|
+
* Creates a query to retrieve a list of categories.
|
|
5900
|
+
*
|
|
5901
|
+
*
|
|
5902
|
+
* The `queryCategories()` function builds a query to retrieve a list of categories and returns a [`CategoriesQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/categories/categoriesquerybuilder) object.
|
|
5903
|
+
*
|
|
5904
|
+
* The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/categories/categoriesquerybuilder/find) function.
|
|
5905
|
+
*
|
|
5906
|
+
* You can refine the query by chaining `CategoriesQueryBuilder` functions onto the query. `CategoriesQueryBuilder` functions enable you to sort, filter, and control the results `queryCategories()` returns.
|
|
5907
|
+
*
|
|
5908
|
+
* `queryCategories()` runs with these `CategoriesQueryBuilder` defaults, which you can override:
|
|
5909
|
+
*
|
|
5910
|
+
* - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/categories/categoriesquerybuilder/limit)
|
|
5911
|
+
* @param - Options to use when querying categories.
|
|
5912
|
+
*/
|
|
5913
|
+
(options?: QueryCategoriesOptions | undefined): CategoriesQueryBuilder;
|
|
5914
|
+
}
|
|
5915
|
+
declare function assignEvents$1(httpClient: HttpClient): AssignEventsSignature;
|
|
5916
|
+
interface AssignEventsSignature {
|
|
5917
|
+
/**
|
|
5918
|
+
* Assigns events to a single category.
|
|
5919
|
+
* @param - ID of category to which events should be assigned.
|
|
5920
|
+
* @param - A list of events IDs.
|
|
5921
|
+
*/
|
|
5922
|
+
(categoryId: string, eventId: string[]): Promise<void>;
|
|
5923
|
+
}
|
|
5924
|
+
declare function bulkAssignEvents$1(httpClient: HttpClient): BulkAssignEventsSignature;
|
|
5925
|
+
interface BulkAssignEventsSignature {
|
|
5926
|
+
/**
|
|
5927
|
+
* Assigns events to multiple categories at once.
|
|
5928
|
+
* @param - A list of category IDs to which events should be assigned.
|
|
5929
|
+
* @param - Options to use when assigning events to multiple categories.
|
|
5930
|
+
*/
|
|
5931
|
+
(categoryId: string[], options: BulkAssignEventsOptions): Promise<BulkAssignEventsResponse & BulkAssignEventsResponseNonNullableFields>;
|
|
5932
|
+
}
|
|
5933
|
+
declare function bulkAssignEventsAsync$1(httpClient: HttpClient): BulkAssignEventsAsyncSignature;
|
|
5934
|
+
interface BulkAssignEventsAsyncSignature {
|
|
5935
|
+
/**
|
|
5936
|
+
* Assigns events that match given filter criteria to multiple categories.
|
|
5937
|
+
*
|
|
5938
|
+
* Unlike the [`bulkAssignEvents()`](https://www.wix.com/velo/reference/wix-events-v2/categories/bulkassignevents) function, this function can handle numerous requests and is less prone to failures.
|
|
5939
|
+
*
|
|
5940
|
+
* However, the events will not be instantly assigned to the categories (as with `bulkAssignEvents()`), but rather after some time. In this case, if try to [`listEventCategories`](https://www.wix.com/velo/reference/wix-events-v2/categories/listeventcategories) or [`queryCategories`](https://www.wix.com/velo/reference/wix-events-v2/categories/querycategories), you might not get the correct response.
|
|
5941
|
+
* @param - Category IDs.
|
|
5942
|
+
* @param - Options to use when assigning events to multiple categories.
|
|
5943
|
+
*/
|
|
5944
|
+
(categoryId: string[], options: BulkAssignEventsAsyncOptions): Promise<void>;
|
|
5945
|
+
}
|
|
5946
|
+
declare function unassignEvents$1(httpClient: HttpClient): UnassignEventsSignature;
|
|
5947
|
+
interface UnassignEventsSignature {
|
|
5948
|
+
/**
|
|
5949
|
+
* Unassigns events from a category.
|
|
5950
|
+
* @param - Category ID.
|
|
5951
|
+
* @param - A list of events IDs.
|
|
5952
|
+
*/
|
|
5953
|
+
(categoryId: string, eventId: string[]): Promise<void>;
|
|
5954
|
+
}
|
|
5955
|
+
declare function bulkUnassignEvents$1(httpClient: HttpClient): BulkUnassignEventsSignature;
|
|
5956
|
+
interface BulkUnassignEventsSignature {
|
|
5957
|
+
/**
|
|
5958
|
+
* Unassigns events from multiple categories at once.
|
|
5959
|
+
* @param - A list of category IDs.
|
|
5960
|
+
* @param - Options to use when removing events from multiple categories.
|
|
5961
|
+
*/
|
|
5962
|
+
(categoryId: string[], options?: BulkUnassignEventsOptions | undefined): Promise<BulkUnassignEventsResponse & BulkUnassignEventsResponseNonNullableFields>;
|
|
5963
|
+
}
|
|
5964
|
+
declare function bulkUnassignEventsAsync$1(httpClient: HttpClient): BulkUnassignEventsAsyncSignature;
|
|
5965
|
+
interface BulkUnassignEventsAsyncSignature {
|
|
5966
|
+
/**
|
|
5967
|
+
* Removes events that match given filter criteria from multiple categories.
|
|
5968
|
+
*
|
|
5969
|
+
* Unlike the [`bulkUnassignEvents()`](https://www.wix.com/velo/reference/wix-events-v2/categories/bulkunassignevents) function, this function can handle numerous requests and is less prone to failures.
|
|
5970
|
+
*
|
|
5971
|
+
* However, the events will not be instantly removed from the categories (as with `bulkUnassignEvents()`), but rather after some time. In this case, if try to [`listEventCategories`](https://www.wix.com/velo/reference/wix-events-v2/categories/listeventcategories) or [`queryCategories`](https://www.wix.com/velo/reference/wix-events-v2/categories/querycategories), you might not get the correct response.
|
|
5972
|
+
* @param - Category ID.
|
|
5973
|
+
* @param - Options to use when removing events from multiple categories.
|
|
5974
|
+
*/
|
|
5975
|
+
(categoryId: string[], options: BulkUnassignEventsAsyncOptions): Promise<void>;
|
|
5976
|
+
}
|
|
5977
|
+
declare function listEventCategories$1(httpClient: HttpClient): ListEventCategoriesSignature;
|
|
5978
|
+
interface ListEventCategoriesSignature {
|
|
5979
|
+
/**
|
|
5980
|
+
* Retrieves a list of categories that are not in the `HIDDEN` state.
|
|
5981
|
+
* @param - Event ID.
|
|
5982
|
+
*/
|
|
5983
|
+
(eventId: string): Promise<ListEventCategoriesResponse & ListEventCategoriesResponseNonNullableFields>;
|
|
5984
|
+
}
|
|
5985
|
+
declare function reorderCategoryEvents$1(httpClient: HttpClient): ReorderCategoryEventsSignature;
|
|
5986
|
+
interface ReorderCategoryEventsSignature {
|
|
5987
|
+
/**
|
|
5988
|
+
* Change the order of events that are assigned to the same category on the Events Widget.
|
|
5989
|
+
*
|
|
5990
|
+
*
|
|
5991
|
+
* For more information see [this article](https://support.wix.com/en/article/creating-and-displaying-event-categories)
|
|
5992
|
+
* @param - Category ID.
|
|
5993
|
+
* @param - Options to use when reordering events.
|
|
5994
|
+
*/
|
|
5995
|
+
(categoryId: string, options?: ReorderCategoryEventsOptions | undefined): Promise<void>;
|
|
5996
|
+
}
|
|
5997
|
+
|
|
5528
5998
|
declare function createRESTModule$8<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
5529
5999
|
|
|
5530
|
-
|
|
5531
|
-
declare const
|
|
5532
|
-
|
|
5533
|
-
declare const
|
|
5534
|
-
|
|
5535
|
-
declare const
|
|
5536
|
-
|
|
5537
|
-
declare const
|
|
5538
|
-
|
|
5539
|
-
declare const
|
|
5540
|
-
|
|
5541
|
-
declare const
|
|
5542
|
-
|
|
6000
|
+
type _publicCreateCategoryType = typeof createCategory$1;
|
|
6001
|
+
declare const createCategory: ReturnType<typeof createRESTModule$8<_publicCreateCategoryType>>;
|
|
6002
|
+
type _publicBulkCreateCategoryType = typeof bulkCreateCategory$1;
|
|
6003
|
+
declare const bulkCreateCategory: ReturnType<typeof createRESTModule$8<_publicBulkCreateCategoryType>>;
|
|
6004
|
+
type _publicUpdateCategoryType = typeof updateCategory$1;
|
|
6005
|
+
declare const updateCategory: ReturnType<typeof createRESTModule$8<_publicUpdateCategoryType>>;
|
|
6006
|
+
type _publicDeleteCategoryType = typeof deleteCategory$1;
|
|
6007
|
+
declare const deleteCategory: ReturnType<typeof createRESTModule$8<_publicDeleteCategoryType>>;
|
|
6008
|
+
type _publicQueryCategoriesType = typeof queryCategories$1;
|
|
6009
|
+
declare const queryCategories: ReturnType<typeof createRESTModule$8<_publicQueryCategoriesType>>;
|
|
6010
|
+
type _publicAssignEventsType = typeof assignEvents$1;
|
|
6011
|
+
declare const assignEvents: ReturnType<typeof createRESTModule$8<_publicAssignEventsType>>;
|
|
6012
|
+
type _publicBulkAssignEventsType = typeof bulkAssignEvents$1;
|
|
6013
|
+
declare const bulkAssignEvents: ReturnType<typeof createRESTModule$8<_publicBulkAssignEventsType>>;
|
|
6014
|
+
type _publicBulkAssignEventsAsyncType = typeof bulkAssignEventsAsync$1;
|
|
6015
|
+
declare const bulkAssignEventsAsync: ReturnType<typeof createRESTModule$8<_publicBulkAssignEventsAsyncType>>;
|
|
6016
|
+
type _publicUnassignEventsType = typeof unassignEvents$1;
|
|
6017
|
+
declare const unassignEvents: ReturnType<typeof createRESTModule$8<_publicUnassignEventsType>>;
|
|
6018
|
+
type _publicBulkUnassignEventsType = typeof bulkUnassignEvents$1;
|
|
6019
|
+
declare const bulkUnassignEvents: ReturnType<typeof createRESTModule$8<_publicBulkUnassignEventsType>>;
|
|
6020
|
+
type _publicBulkUnassignEventsAsyncType = typeof bulkUnassignEventsAsync$1;
|
|
6021
|
+
declare const bulkUnassignEventsAsync: ReturnType<typeof createRESTModule$8<_publicBulkUnassignEventsAsyncType>>;
|
|
6022
|
+
type _publicListEventCategoriesType = typeof listEventCategories$1;
|
|
6023
|
+
declare const listEventCategories: ReturnType<typeof createRESTModule$8<_publicListEventCategoriesType>>;
|
|
6024
|
+
type _publicReorderCategoryEventsType = typeof reorderCategoryEvents$1;
|
|
6025
|
+
declare const reorderCategoryEvents: ReturnType<typeof createRESTModule$8<_publicReorderCategoryEventsType>>;
|
|
5543
6026
|
|
|
5544
6027
|
type index_d$8_ApplicationError = ApplicationError;
|
|
5545
6028
|
type index_d$8_AssignEventsRequest = AssignEventsRequest;
|
|
@@ -5591,6 +6074,19 @@ type index_d$8_UpdateCategory = UpdateCategory;
|
|
|
5591
6074
|
type index_d$8_UpdateCategoryRequest = UpdateCategoryRequest;
|
|
5592
6075
|
type index_d$8_UpdateCategoryResponse = UpdateCategoryResponse;
|
|
5593
6076
|
type index_d$8_UpdateCategoryResponseNonNullableFields = UpdateCategoryResponseNonNullableFields;
|
|
6077
|
+
type index_d$8__publicAssignEventsType = _publicAssignEventsType;
|
|
6078
|
+
type index_d$8__publicBulkAssignEventsAsyncType = _publicBulkAssignEventsAsyncType;
|
|
6079
|
+
type index_d$8__publicBulkAssignEventsType = _publicBulkAssignEventsType;
|
|
6080
|
+
type index_d$8__publicBulkCreateCategoryType = _publicBulkCreateCategoryType;
|
|
6081
|
+
type index_d$8__publicBulkUnassignEventsAsyncType = _publicBulkUnassignEventsAsyncType;
|
|
6082
|
+
type index_d$8__publicBulkUnassignEventsType = _publicBulkUnassignEventsType;
|
|
6083
|
+
type index_d$8__publicCreateCategoryType = _publicCreateCategoryType;
|
|
6084
|
+
type index_d$8__publicDeleteCategoryType = _publicDeleteCategoryType;
|
|
6085
|
+
type index_d$8__publicListEventCategoriesType = _publicListEventCategoriesType;
|
|
6086
|
+
type index_d$8__publicQueryCategoriesType = _publicQueryCategoriesType;
|
|
6087
|
+
type index_d$8__publicReorderCategoryEventsType = _publicReorderCategoryEventsType;
|
|
6088
|
+
type index_d$8__publicUnassignEventsType = _publicUnassignEventsType;
|
|
6089
|
+
type index_d$8__publicUpdateCategoryType = _publicUpdateCategoryType;
|
|
5594
6090
|
declare const index_d$8_assignEvents: typeof assignEvents;
|
|
5595
6091
|
declare const index_d$8_bulkAssignEvents: typeof bulkAssignEvents;
|
|
5596
6092
|
declare const index_d$8_bulkAssignEventsAsync: typeof bulkAssignEventsAsync;
|
|
@@ -5605,7 +6101,7 @@ declare const index_d$8_reorderCategoryEvents: typeof reorderCategoryEvents;
|
|
|
5605
6101
|
declare const index_d$8_unassignEvents: typeof unassignEvents;
|
|
5606
6102
|
declare const index_d$8_updateCategory: typeof updateCategory;
|
|
5607
6103
|
declare namespace index_d$8 {
|
|
5608
|
-
export { type ActionEvent$4 as ActionEvent, type index_d$8_ApplicationError as ApplicationError, type index_d$8_AssignEventsRequest as AssignEventsRequest, type index_d$8_AssignEventsResponse as AssignEventsResponse, type index_d$8_BulkActionMetadata as BulkActionMetadata, type index_d$8_BulkAssignEventsAsyncOptions as BulkAssignEventsAsyncOptions, type index_d$8_BulkAssignEventsAsyncRequest as BulkAssignEventsAsyncRequest, type index_d$8_BulkAssignEventsAsyncResponse as BulkAssignEventsAsyncResponse, type index_d$8_BulkAssignEventsOptions as BulkAssignEventsOptions, type index_d$8_BulkAssignEventsRequest as BulkAssignEventsRequest, type index_d$8_BulkAssignEventsResponse as BulkAssignEventsResponse, type index_d$8_BulkAssignEventsResponseNonNullableFields as BulkAssignEventsResponseNonNullableFields, type index_d$8_BulkCategoryResult as BulkCategoryResult, type index_d$8_BulkCreateCategoryRequest as BulkCreateCategoryRequest, type index_d$8_BulkCreateCategoryResponse as BulkCreateCategoryResponse, type index_d$8_BulkCreateCategoryResponseNonNullableFields as BulkCreateCategoryResponseNonNullableFields, type index_d$8_BulkUnassignEventsAsyncOptions as BulkUnassignEventsAsyncOptions, type index_d$8_BulkUnassignEventsAsyncRequest as BulkUnassignEventsAsyncRequest, type index_d$8_BulkUnassignEventsAsyncResponse as BulkUnassignEventsAsyncResponse, type index_d$8_BulkUnassignEventsOptions as BulkUnassignEventsOptions, type index_d$8_BulkUnassignEventsRequest as BulkUnassignEventsRequest, type index_d$8_BulkUnassignEventsResponse as BulkUnassignEventsResponse, type index_d$8_BulkUnassignEventsResponseNonNullableFields as BulkUnassignEventsResponseNonNullableFields, type index_d$8_CategoriesQueryBuilder as CategoriesQueryBuilder, type index_d$8_CategoriesQueryResult as CategoriesQueryResult, type Category$3 as Category, type CategoryCounts$3 as CategoryCounts, index_d$8_CategoryFieldset as CategoryFieldset, type index_d$8_CategoryNonNullableFields as CategoryNonNullableFields, type index_d$8_CreateCategoryRequest as CreateCategoryRequest, type index_d$8_CreateCategoryResponse as CreateCategoryResponse, type index_d$8_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, type Cursors$4 as Cursors, type index_d$8_DeleteCategoryRequest as DeleteCategoryRequest, type index_d$8_DeleteCategoryResponse as DeleteCategoryResponse, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, type index_d$8_ItemMetadata as ItemMetadata, type index_d$8_ListEventCategoriesRequest as ListEventCategoriesRequest, type index_d$8_ListEventCategoriesResponse as ListEventCategoriesResponse, type index_d$8_ListEventCategoriesResponseNonNullableFields as ListEventCategoriesResponseNonNullableFields, type MessageEnvelope$8 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadataV2$4 as PagingMetadataV2, type index_d$8_QueryCategoriesOptions as QueryCategoriesOptions, type index_d$8_QueryCategoriesRequest as QueryCategoriesRequest, type index_d$8_QueryCategoriesResponse as QueryCategoriesResponse, type index_d$8_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type QueryV2$4 as QueryV2, type QueryV2PagingMethodOneOf$4 as QueryV2PagingMethodOneOf, type index_d$8_ReorderCategoryEventsOptions as ReorderCategoryEventsOptions, type index_d$8_ReorderCategoryEventsRequest as ReorderCategoryEventsRequest, type index_d$8_ReorderCategoryEventsRequestReferenceEventOneOf as ReorderCategoryEventsRequestReferenceEventOneOf, type index_d$8_ReorderCategoryEventsResponse as ReorderCategoryEventsResponse, SortOrder$4 as SortOrder, type Sorting$4 as Sorting, State$6 as State, type index_d$8_UnassignEventsRequest as UnassignEventsRequest, type index_d$8_UnassignEventsResponse as UnassignEventsResponse, type index_d$8_UpdateCategory as UpdateCategory, type index_d$8_UpdateCategoryRequest as UpdateCategoryRequest, type index_d$8_UpdateCategoryResponse as UpdateCategoryResponse, type index_d$8_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, WebhookIdentityType$8 as WebhookIdentityType, index_d$8_assignEvents as assignEvents, index_d$8_bulkAssignEvents as bulkAssignEvents, index_d$8_bulkAssignEventsAsync as bulkAssignEventsAsync, index_d$8_bulkCreateCategory as bulkCreateCategory, index_d$8_bulkUnassignEvents as bulkUnassignEvents, index_d$8_bulkUnassignEventsAsync as bulkUnassignEventsAsync, index_d$8_createCategory as createCategory, index_d$8_deleteCategory as deleteCategory, index_d$8_listEventCategories as listEventCategories, index_d$8_queryCategories as queryCategories, index_d$8_reorderCategoryEvents as reorderCategoryEvents, index_d$8_unassignEvents as unassignEvents, index_d$8_updateCategory as updateCategory };
|
|
6104
|
+
export { type ActionEvent$4 as ActionEvent, type index_d$8_ApplicationError as ApplicationError, type index_d$8_AssignEventsRequest as AssignEventsRequest, type index_d$8_AssignEventsResponse as AssignEventsResponse, type index_d$8_BulkActionMetadata as BulkActionMetadata, type index_d$8_BulkAssignEventsAsyncOptions as BulkAssignEventsAsyncOptions, type index_d$8_BulkAssignEventsAsyncRequest as BulkAssignEventsAsyncRequest, type index_d$8_BulkAssignEventsAsyncResponse as BulkAssignEventsAsyncResponse, type index_d$8_BulkAssignEventsOptions as BulkAssignEventsOptions, type index_d$8_BulkAssignEventsRequest as BulkAssignEventsRequest, type index_d$8_BulkAssignEventsResponse as BulkAssignEventsResponse, type index_d$8_BulkAssignEventsResponseNonNullableFields as BulkAssignEventsResponseNonNullableFields, type index_d$8_BulkCategoryResult as BulkCategoryResult, type index_d$8_BulkCreateCategoryRequest as BulkCreateCategoryRequest, type index_d$8_BulkCreateCategoryResponse as BulkCreateCategoryResponse, type index_d$8_BulkCreateCategoryResponseNonNullableFields as BulkCreateCategoryResponseNonNullableFields, type index_d$8_BulkUnassignEventsAsyncOptions as BulkUnassignEventsAsyncOptions, type index_d$8_BulkUnassignEventsAsyncRequest as BulkUnassignEventsAsyncRequest, type index_d$8_BulkUnassignEventsAsyncResponse as BulkUnassignEventsAsyncResponse, type index_d$8_BulkUnassignEventsOptions as BulkUnassignEventsOptions, type index_d$8_BulkUnassignEventsRequest as BulkUnassignEventsRequest, type index_d$8_BulkUnassignEventsResponse as BulkUnassignEventsResponse, type index_d$8_BulkUnassignEventsResponseNonNullableFields as BulkUnassignEventsResponseNonNullableFields, type index_d$8_CategoriesQueryBuilder as CategoriesQueryBuilder, type index_d$8_CategoriesQueryResult as CategoriesQueryResult, type Category$3 as Category, type CategoryCounts$3 as CategoryCounts, index_d$8_CategoryFieldset as CategoryFieldset, type index_d$8_CategoryNonNullableFields as CategoryNonNullableFields, type index_d$8_CreateCategoryRequest as CreateCategoryRequest, type index_d$8_CreateCategoryResponse as CreateCategoryResponse, type index_d$8_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, type Cursors$4 as Cursors, type index_d$8_DeleteCategoryRequest as DeleteCategoryRequest, type index_d$8_DeleteCategoryResponse as DeleteCategoryResponse, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, type index_d$8_ItemMetadata as ItemMetadata, type index_d$8_ListEventCategoriesRequest as ListEventCategoriesRequest, type index_d$8_ListEventCategoriesResponse as ListEventCategoriesResponse, type index_d$8_ListEventCategoriesResponseNonNullableFields as ListEventCategoriesResponseNonNullableFields, type MessageEnvelope$8 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadataV2$4 as PagingMetadataV2, type index_d$8_QueryCategoriesOptions as QueryCategoriesOptions, type index_d$8_QueryCategoriesRequest as QueryCategoriesRequest, type index_d$8_QueryCategoriesResponse as QueryCategoriesResponse, type index_d$8_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type QueryV2$4 as QueryV2, type QueryV2PagingMethodOneOf$4 as QueryV2PagingMethodOneOf, type index_d$8_ReorderCategoryEventsOptions as ReorderCategoryEventsOptions, type index_d$8_ReorderCategoryEventsRequest as ReorderCategoryEventsRequest, type index_d$8_ReorderCategoryEventsRequestReferenceEventOneOf as ReorderCategoryEventsRequestReferenceEventOneOf, type index_d$8_ReorderCategoryEventsResponse as ReorderCategoryEventsResponse, type RestoreInfo$3 as RestoreInfo, SortOrder$4 as SortOrder, type Sorting$4 as Sorting, State$6 as State, type index_d$8_UnassignEventsRequest as UnassignEventsRequest, type index_d$8_UnassignEventsResponse as UnassignEventsResponse, type index_d$8_UpdateCategory as UpdateCategory, type index_d$8_UpdateCategoryRequest as UpdateCategoryRequest, type index_d$8_UpdateCategoryResponse as UpdateCategoryResponse, type index_d$8_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, WebhookIdentityType$8 as WebhookIdentityType, type index_d$8__publicAssignEventsType as _publicAssignEventsType, type index_d$8__publicBulkAssignEventsAsyncType as _publicBulkAssignEventsAsyncType, type index_d$8__publicBulkAssignEventsType as _publicBulkAssignEventsType, type index_d$8__publicBulkCreateCategoryType as _publicBulkCreateCategoryType, type index_d$8__publicBulkUnassignEventsAsyncType as _publicBulkUnassignEventsAsyncType, type index_d$8__publicBulkUnassignEventsType as _publicBulkUnassignEventsType, type index_d$8__publicCreateCategoryType as _publicCreateCategoryType, type index_d$8__publicDeleteCategoryType as _publicDeleteCategoryType, type index_d$8__publicListEventCategoriesType as _publicListEventCategoriesType, type index_d$8__publicQueryCategoriesType as _publicQueryCategoriesType, type index_d$8__publicReorderCategoryEventsType as _publicReorderCategoryEventsType, type index_d$8__publicUnassignEventsType as _publicUnassignEventsType, type index_d$8__publicUpdateCategoryType as _publicUpdateCategoryType, index_d$8_assignEvents as assignEvents, index_d$8_bulkAssignEvents as bulkAssignEvents, index_d$8_bulkAssignEventsAsync as bulkAssignEventsAsync, index_d$8_bulkCreateCategory as bulkCreateCategory, index_d$8_bulkUnassignEvents as bulkUnassignEvents, index_d$8_bulkUnassignEventsAsync as bulkUnassignEventsAsync, index_d$8_createCategory as createCategory, index_d$8_deleteCategory as deleteCategory, index_d$8_listEventCategories as listEventCategories, index_d$8_queryCategories as queryCategories, index_d$8_reorderCategoryEvents as reorderCategoryEvents, index_d$8_unassignEvents as unassignEvents, index_d$8_updateCategory as updateCategory };
|
|
5609
6105
|
}
|
|
5610
6106
|
|
|
5611
6107
|
/**
|
|
@@ -6569,14 +7065,14 @@ interface SiteUrl$2 {
|
|
|
6569
7065
|
}
|
|
6570
7066
|
interface Dashboard$4 {
|
|
6571
7067
|
/** Guest RSVP summary. */
|
|
6572
|
-
rsvpSummary?: RsvpSummary$
|
|
7068
|
+
rsvpSummary?: RsvpSummary$3;
|
|
6573
7069
|
/**
|
|
6574
7070
|
* Summary of revenue and tickets sold.
|
|
6575
7071
|
* (Archived orders are not included).
|
|
6576
7072
|
*/
|
|
6577
7073
|
ticketingSummary?: TicketingSummary$2;
|
|
6578
7074
|
}
|
|
6579
|
-
interface RsvpSummary$
|
|
7075
|
+
interface RsvpSummary$3 {
|
|
6580
7076
|
/** Total number of RSVPs. */
|
|
6581
7077
|
total?: number;
|
|
6582
7078
|
/** Number of RSVPs with status `YES`. */
|
|
@@ -6738,26 +7234,33 @@ interface Category$2 {
|
|
|
6738
7234
|
/** Category name. */
|
|
6739
7235
|
name?: string;
|
|
6740
7236
|
/**
|
|
6741
|
-
*
|
|
7237
|
+
* Date and time when category was created.
|
|
6742
7238
|
* @readonly
|
|
6743
7239
|
*/
|
|
6744
7240
|
_createdDate?: Date;
|
|
6745
7241
|
/**
|
|
6746
|
-
*
|
|
7242
|
+
* The total number of draft and published events assigned to the category.
|
|
6747
7243
|
* @readonly
|
|
6748
7244
|
*/
|
|
6749
7245
|
counts?: CategoryCounts$2;
|
|
6750
7246
|
/**
|
|
6751
|
-
* Category state.
|
|
6752
|
-
*
|
|
6753
|
-
*
|
|
7247
|
+
* Category state. Possible values:
|
|
7248
|
+
*
|
|
7249
|
+
* `MANUAL`: Category is created manually by the user.
|
|
7250
|
+
* `AUTO`: Category is created automatically.
|
|
7251
|
+
* `RECURRING_EVENT`: Category is created automatically when publishing recurring events.
|
|
7252
|
+
* `HIDDEN`: Category can't be seen.
|
|
7253
|
+
*
|
|
7254
|
+
* Default: `MANUAL`.
|
|
7255
|
+
*
|
|
7256
|
+
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission is required to use states other than `MANUAL`.
|
|
6754
7257
|
*/
|
|
6755
7258
|
states?: State$5[];
|
|
6756
7259
|
}
|
|
6757
7260
|
interface CategoryCounts$2 {
|
|
6758
|
-
/**
|
|
7261
|
+
/** Total number of draft events assigned to the category. */
|
|
6759
7262
|
assignedEventsCount?: number | null;
|
|
6760
|
-
/**
|
|
7263
|
+
/** Total number of published events assigned to the category. Deleted events are excluded. */
|
|
6761
7264
|
assignedDraftEventsCount?: number | null;
|
|
6762
7265
|
}
|
|
6763
7266
|
declare enum State$5 {
|
|
@@ -7069,18 +7572,93 @@ interface UpdateMessagesOptions {
|
|
|
7069
7572
|
messages?: FormMessages$2;
|
|
7070
7573
|
}
|
|
7071
7574
|
|
|
7575
|
+
declare function getForm$1(httpClient: HttpClient): GetFormSignature;
|
|
7576
|
+
interface GetFormSignature {
|
|
7577
|
+
/**
|
|
7578
|
+
* Retrieves an event registration form (both the draft and published versions).
|
|
7579
|
+
* @param - Event ID to which the form belongs.
|
|
7580
|
+
* @param - Optional fields.
|
|
7581
|
+
* @returns Currently published event form.
|
|
7582
|
+
* Published form is visible to site visitors.
|
|
7583
|
+
*/
|
|
7584
|
+
(eventId: string): Promise<Form$2 & FormNonNullableFields$1>;
|
|
7585
|
+
}
|
|
7586
|
+
declare function addControl$1(httpClient: HttpClient): AddControlSignature;
|
|
7587
|
+
interface AddControlSignature {
|
|
7588
|
+
/**
|
|
7589
|
+
* Adds an input control to the draft form.
|
|
7590
|
+
* @param - Event ID to which the form belongs.
|
|
7591
|
+
* @param - Optional fields.
|
|
7592
|
+
*/
|
|
7593
|
+
(eventId: string, options?: AddControlOptions | undefined): Promise<AddControlResponse & AddControlResponseNonNullableFields>;
|
|
7594
|
+
}
|
|
7595
|
+
declare function updateControl$1(httpClient: HttpClient): UpdateControlSignature;
|
|
7596
|
+
interface UpdateControlSignature {
|
|
7597
|
+
/**
|
|
7598
|
+
* Updates an existing input control in the draft form.
|
|
7599
|
+
* @param - Optional fields.
|
|
7600
|
+
* @param - Identifies what form to update.
|
|
7601
|
+
*/
|
|
7602
|
+
(identifiers: UpdateControlIdentifiers, options?: UpdateControlOptions | undefined): Promise<UpdateControlResponse & UpdateControlResponseNonNullableFields>;
|
|
7603
|
+
}
|
|
7604
|
+
declare function deleteControl$1(httpClient: HttpClient): DeleteControlSignature;
|
|
7605
|
+
interface DeleteControlSignature {
|
|
7606
|
+
/**
|
|
7607
|
+
* Deletes an input control from the draft form.
|
|
7608
|
+
* @param - Identifies what form to delete.
|
|
7609
|
+
*/
|
|
7610
|
+
(identifiers: DeleteControlIdentifiers): Promise<DeleteControlResponse & DeleteControlResponseNonNullableFields>;
|
|
7611
|
+
}
|
|
7612
|
+
declare function updateMessages$1(httpClient: HttpClient): UpdateMessagesSignature;
|
|
7613
|
+
interface UpdateMessagesSignature {
|
|
7614
|
+
/**
|
|
7615
|
+
* Updates draft form messages, as displayed in the Wix UI before, during, and after the registration flow.
|
|
7616
|
+
* Configurable messages include form titles, response labels, "thank you" messages, and call-to-action texts.
|
|
7617
|
+
* @param - Event ID to which the form belongs.
|
|
7618
|
+
* @param - Optional fields.
|
|
7619
|
+
*/
|
|
7620
|
+
(eventId: string, options?: UpdateMessagesOptions | undefined): Promise<UpdateMessagesResponse & UpdateMessagesResponseNonNullableFields>;
|
|
7621
|
+
}
|
|
7622
|
+
declare function publishDraft$1(httpClient: HttpClient): PublishDraftSignature;
|
|
7623
|
+
interface PublishDraftSignature {
|
|
7624
|
+
/**
|
|
7625
|
+
* Publishes the draft form.
|
|
7626
|
+
* @param - Event ID to which the form belongs.
|
|
7627
|
+
*/
|
|
7628
|
+
(eventId: string): Promise<PublishDraftResponse & PublishDraftResponseNonNullableFields>;
|
|
7629
|
+
}
|
|
7630
|
+
declare function discardDraft$1(httpClient: HttpClient): DiscardDraftSignature;
|
|
7631
|
+
interface DiscardDraftSignature {
|
|
7632
|
+
/**
|
|
7633
|
+
* Clears all changes to the draft form.
|
|
7634
|
+
* @param - Event ID to which the form belongs.
|
|
7635
|
+
*/
|
|
7636
|
+
(eventId: string): Promise<void>;
|
|
7637
|
+
}
|
|
7638
|
+
declare const onFormEventUpdated$1: EventDefinition<FormEventUpdatedEnvelope, "wix.events.events.EventUpdated">;
|
|
7639
|
+
|
|
7072
7640
|
declare function createRESTModule$7<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
7073
7641
|
|
|
7074
7642
|
declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
7075
7643
|
|
|
7076
|
-
|
|
7077
|
-
declare const
|
|
7078
|
-
|
|
7079
|
-
declare const
|
|
7080
|
-
|
|
7081
|
-
declare const
|
|
7082
|
-
|
|
7083
|
-
declare const
|
|
7644
|
+
type _publicGetFormType = typeof getForm$1;
|
|
7645
|
+
declare const getForm: ReturnType<typeof createRESTModule$7<_publicGetFormType>>;
|
|
7646
|
+
type _publicAddControlType = typeof addControl$1;
|
|
7647
|
+
declare const addControl: ReturnType<typeof createRESTModule$7<_publicAddControlType>>;
|
|
7648
|
+
type _publicUpdateControlType = typeof updateControl$1;
|
|
7649
|
+
declare const updateControl: ReturnType<typeof createRESTModule$7<_publicUpdateControlType>>;
|
|
7650
|
+
type _publicDeleteControlType = typeof deleteControl$1;
|
|
7651
|
+
declare const deleteControl: ReturnType<typeof createRESTModule$7<_publicDeleteControlType>>;
|
|
7652
|
+
type _publicUpdateMessagesType = typeof updateMessages$1;
|
|
7653
|
+
declare const updateMessages: ReturnType<typeof createRESTModule$7<_publicUpdateMessagesType>>;
|
|
7654
|
+
type _publicPublishDraftType = typeof publishDraft$1;
|
|
7655
|
+
declare const publishDraft: ReturnType<typeof createRESTModule$7<_publicPublishDraftType>>;
|
|
7656
|
+
type _publicDiscardDraftType = typeof discardDraft$1;
|
|
7657
|
+
declare const discardDraft: ReturnType<typeof createRESTModule$7<_publicDiscardDraftType>>;
|
|
7658
|
+
|
|
7659
|
+
type _publicOnFormEventUpdatedType = typeof onFormEventUpdated$1;
|
|
7660
|
+
/** */
|
|
7661
|
+
declare const onFormEventUpdated: ReturnType<typeof createEventModule$7<_publicOnFormEventUpdatedType>>;
|
|
7084
7662
|
|
|
7085
7663
|
type index_d$7_AddControlOptions = AddControlOptions;
|
|
7086
7664
|
type index_d$7_AddControlRequest = AddControlRequest;
|
|
@@ -7126,6 +7704,14 @@ type index_d$7_UpdateMessagesOptions = UpdateMessagesOptions;
|
|
|
7126
7704
|
type index_d$7_UpdateMessagesRequest = UpdateMessagesRequest;
|
|
7127
7705
|
type index_d$7_UpdateMessagesResponse = UpdateMessagesResponse;
|
|
7128
7706
|
type index_d$7_UpdateMessagesResponseNonNullableFields = UpdateMessagesResponseNonNullableFields;
|
|
7707
|
+
type index_d$7__publicAddControlType = _publicAddControlType;
|
|
7708
|
+
type index_d$7__publicDeleteControlType = _publicDeleteControlType;
|
|
7709
|
+
type index_d$7__publicDiscardDraftType = _publicDiscardDraftType;
|
|
7710
|
+
type index_d$7__publicGetFormType = _publicGetFormType;
|
|
7711
|
+
type index_d$7__publicOnFormEventUpdatedType = _publicOnFormEventUpdatedType;
|
|
7712
|
+
type index_d$7__publicPublishDraftType = _publicPublishDraftType;
|
|
7713
|
+
type index_d$7__publicUpdateControlType = _publicUpdateControlType;
|
|
7714
|
+
type index_d$7__publicUpdateMessagesType = _publicUpdateMessagesType;
|
|
7129
7715
|
declare const index_d$7_addControl: typeof addControl;
|
|
7130
7716
|
declare const index_d$7_deleteControl: typeof deleteControl;
|
|
7131
7717
|
declare const index_d$7_discardDraft: typeof discardDraft;
|
|
@@ -7135,7 +7721,7 @@ declare const index_d$7_publishDraft: typeof publishDraft;
|
|
|
7135
7721
|
declare const index_d$7_updateControl: typeof updateControl;
|
|
7136
7722
|
declare const index_d$7_updateMessages: typeof updateMessages;
|
|
7137
7723
|
declare namespace index_d$7 {
|
|
7138
|
-
export { type ActionEvent$3 as ActionEvent, type index_d$7_AddControlOptions as AddControlOptions, type index_d$7_AddControlRequest as AddControlRequest, type index_d$7_AddControlRequestControlOneOf as AddControlRequestControlOneOf, type index_d$7_AddControlResponse as AddControlResponse, type index_d$7_AddControlResponseNonNullableFields as AddControlResponseNonNullableFields, type index_d$7_AdditionalGuestsControl as AdditionalGuestsControl, type Address$6 as Address, type index_d$7_AddressControl as AddressControl, type index_d$7_AddressControlLabels as AddressControlLabels, type AddressLocation$6 as AddressLocation, type AddressStreetOneOf$6 as AddressStreetOneOf, type Agenda$2 as Agenda, type BaseEventMetadata$7 as BaseEventMetadata, type CalendarLinks$4 as CalendarLinks, type Category$2 as Category, type CategoryCounts$2 as CategoryCounts, type index_d$7_CheckboxControl as CheckboxControl, type CheckoutFormMessages$2 as CheckoutFormMessages, ConferenceType$2 as ConferenceType, type Dashboard$4 as Dashboard, type index_d$7_DateControl as DateControl, type index_d$7_DeleteControlIdentifiers as DeleteControlIdentifiers, type index_d$7_DeleteControlRequest as DeleteControlRequest, type index_d$7_DeleteControlResponse as DeleteControlResponse, type index_d$7_DeleteControlResponseNonNullableFields as DeleteControlResponseNonNullableFields, type index_d$7_DiscardDraftRequest as DiscardDraftRequest, type index_d$7_DiscardDraftResponse as DiscardDraftResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$7_DropdownControl as DropdownControl, type index_d$7_EmailControl as EmailControl, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type Event$2 as Event, type EventDisplaySettings$2 as EventDisplaySettings, EventStatus$3 as EventStatus, EventType$2 as EventType, type EventUpdated$2 as EventUpdated, type ExternalEvent$2 as ExternalEvent, type Feed$2 as Feed, type Form$2 as Form, type index_d$7_FormEventUpdatedEnvelope as FormEventUpdatedEnvelope, type index_d$7_FormInputControlAdded as FormInputControlAdded, type index_d$7_FormInputControlDeleted as FormInputControlDeleted, type index_d$7_FormInputControlUpdated as FormInputControlUpdated, type FormMessages$2 as FormMessages, type FormNonNullableFields$1 as FormNonNullableFields, type index_d$7_GetFormRequest as GetFormRequest, type index_d$7_GetFormResponse as GetFormResponse, type index_d$7_GetFormResponseNonNullableFields as GetFormResponseNonNullableFields, type GuestListConfig$2 as GuestListConfig, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, type Input$2 as Input, type InputControl$2 as InputControl, InputControlType$2 as InputControlType, type Keyword$2 as Keyword, type Label$2 as Label, type LabellingSettings$2 as LabellingSettings, type index_d$7_Labels as Labels, type Location$3 as Location, LocationType$3 as LocationType, type MapCoordinates$3 as MapCoordinates, type MessageEnvelope$7 as MessageEnvelope, type Money$5 as Money, type index_d$7_NameControl as NameControl, type index_d$7_NameControlLabels as NameControlLabels, type Negative$2 as Negative, type NegativeResponseConfirmation$2 as NegativeResponseConfirmation, type Occurrence$3 as Occurrence, type OnlineConferencing$2 as OnlineConferencing, type OnlineConferencingConfig$2 as OnlineConferencingConfig, type OnlineConferencingSession$2 as OnlineConferencingSession, type OptionSelection$2 as OptionSelection, type OptionSelectionSelectedOptionOneOf$2 as OptionSelectionSelectedOptionOneOf, type index_d$7_PhoneControl as PhoneControl, type Positive$2 as Positive, type PositiveResponseConfirmation$2 as PositiveResponseConfirmation, type index_d$7_PublishDraftRequest as PublishDraftRequest, type index_d$7_PublishDraftResponse as PublishDraftResponse, type index_d$7_PublishDraftResponseNonNullableFields as PublishDraftResponseNonNullableFields, type index_d$7_RadioButtonControl as RadioButtonControl, type Recurrences$3 as Recurrences, type Registration$2 as Registration, type RegistrationClosedMessages$2 as RegistrationClosedMessages, RegistrationStatus$2 as RegistrationStatus, RequestedFields$1 as RequestedFields, type ResponseConfirmation$2 as ResponseConfirmation, type RestoreInfo$2 as RestoreInfo, type RsvpCollection$2 as RsvpCollection, type RsvpCollectionConfig$2 as RsvpCollectionConfig, type RsvpFormMessages$2 as RsvpFormMessages, RsvpStatusOptions$2 as RsvpStatusOptions, type RsvpSummary$
|
|
7724
|
+
export { type ActionEvent$3 as ActionEvent, type index_d$7_AddControlOptions as AddControlOptions, type index_d$7_AddControlRequest as AddControlRequest, type index_d$7_AddControlRequestControlOneOf as AddControlRequestControlOneOf, type index_d$7_AddControlResponse as AddControlResponse, type index_d$7_AddControlResponseNonNullableFields as AddControlResponseNonNullableFields, type index_d$7_AdditionalGuestsControl as AdditionalGuestsControl, type Address$6 as Address, type index_d$7_AddressControl as AddressControl, type index_d$7_AddressControlLabels as AddressControlLabels, type AddressLocation$6 as AddressLocation, type AddressStreetOneOf$6 as AddressStreetOneOf, type Agenda$2 as Agenda, type BaseEventMetadata$7 as BaseEventMetadata, type CalendarLinks$4 as CalendarLinks, type Category$2 as Category, type CategoryCounts$2 as CategoryCounts, type index_d$7_CheckboxControl as CheckboxControl, type CheckoutFormMessages$2 as CheckoutFormMessages, ConferenceType$2 as ConferenceType, type Dashboard$4 as Dashboard, type index_d$7_DateControl as DateControl, type index_d$7_DeleteControlIdentifiers as DeleteControlIdentifiers, type index_d$7_DeleteControlRequest as DeleteControlRequest, type index_d$7_DeleteControlResponse as DeleteControlResponse, type index_d$7_DeleteControlResponseNonNullableFields as DeleteControlResponseNonNullableFields, type index_d$7_DiscardDraftRequest as DiscardDraftRequest, type index_d$7_DiscardDraftResponse as DiscardDraftResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$7_DropdownControl as DropdownControl, type index_d$7_EmailControl as EmailControl, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type Event$2 as Event, type EventDisplaySettings$2 as EventDisplaySettings, EventStatus$3 as EventStatus, EventType$2 as EventType, type EventUpdated$2 as EventUpdated, type ExternalEvent$2 as ExternalEvent, type Feed$2 as Feed, type Form$2 as Form, type index_d$7_FormEventUpdatedEnvelope as FormEventUpdatedEnvelope, type index_d$7_FormInputControlAdded as FormInputControlAdded, type index_d$7_FormInputControlDeleted as FormInputControlDeleted, type index_d$7_FormInputControlUpdated as FormInputControlUpdated, type FormMessages$2 as FormMessages, type FormNonNullableFields$1 as FormNonNullableFields, type index_d$7_GetFormRequest as GetFormRequest, type index_d$7_GetFormResponse as GetFormResponse, type index_d$7_GetFormResponseNonNullableFields as GetFormResponseNonNullableFields, type GuestListConfig$2 as GuestListConfig, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, type Input$2 as Input, type InputControl$2 as InputControl, InputControlType$2 as InputControlType, type Keyword$2 as Keyword, type Label$2 as Label, type LabellingSettings$2 as LabellingSettings, type index_d$7_Labels as Labels, type Location$3 as Location, LocationType$3 as LocationType, type MapCoordinates$3 as MapCoordinates, type MessageEnvelope$7 as MessageEnvelope, type Money$5 as Money, type index_d$7_NameControl as NameControl, type index_d$7_NameControlLabels as NameControlLabels, type Negative$2 as Negative, type NegativeResponseConfirmation$2 as NegativeResponseConfirmation, type Occurrence$3 as Occurrence, type OnlineConferencing$2 as OnlineConferencing, type OnlineConferencingConfig$2 as OnlineConferencingConfig, type OnlineConferencingSession$2 as OnlineConferencingSession, type OptionSelection$2 as OptionSelection, type OptionSelectionSelectedOptionOneOf$2 as OptionSelectionSelectedOptionOneOf, type index_d$7_PhoneControl as PhoneControl, type Positive$2 as Positive, type PositiveResponseConfirmation$2 as PositiveResponseConfirmation, type index_d$7_PublishDraftRequest as PublishDraftRequest, type index_d$7_PublishDraftResponse as PublishDraftResponse, type index_d$7_PublishDraftResponseNonNullableFields as PublishDraftResponseNonNullableFields, type index_d$7_RadioButtonControl as RadioButtonControl, type Recurrences$3 as Recurrences, type Registration$2 as Registration, type RegistrationClosedMessages$2 as RegistrationClosedMessages, RegistrationStatus$2 as RegistrationStatus, RequestedFields$1 as RequestedFields, type ResponseConfirmation$2 as ResponseConfirmation, type RestoreInfo$2 as RestoreInfo, type RsvpCollection$2 as RsvpCollection, type RsvpCollectionConfig$2 as RsvpCollectionConfig, type RsvpFormMessages$2 as RsvpFormMessages, RsvpStatusOptions$2 as RsvpStatusOptions, type RsvpSummary$3 as RsvpSummary, type ScheduleConfig$3 as ScheduleConfig, type Scheduling$2 as Scheduling, type SeoSchema$2 as SeoSchema, type SeoSettings$2 as SeoSettings, type Settings$2 as Settings, type SiteUrl$2 as SiteUrl, State$5 as State, Status$3 as Status, type StreetAddress$6 as StreetAddress, type Subdivision$6 as Subdivision, SubdivisionType$6 as SubdivisionType, type Tag$2 as Tag, type TaxConfig$2 as TaxConfig, TaxType$3 as TaxType, type index_d$7_TextControl as TextControl, type Ticketing$2 as Ticketing, type TicketingConfig$2 as TicketingConfig, type TicketingSummary$2 as TicketingSummary, type TicketsUnavailableMessages$2 as TicketsUnavailableMessages, type index_d$7_UpdateControlIdentifiers as UpdateControlIdentifiers, type index_d$7_UpdateControlOptions as UpdateControlOptions, type index_d$7_UpdateControlRequest as UpdateControlRequest, type index_d$7_UpdateControlRequestControlOneOf as UpdateControlRequestControlOneOf, type index_d$7_UpdateControlResponse as UpdateControlResponse, type index_d$7_UpdateControlResponseNonNullableFields as UpdateControlResponseNonNullableFields, type index_d$7_UpdateMessagesOptions as UpdateMessagesOptions, type index_d$7_UpdateMessagesRequest as UpdateMessagesRequest, type index_d$7_UpdateMessagesResponse as UpdateMessagesResponse, type index_d$7_UpdateMessagesResponseNonNullableFields as UpdateMessagesResponseNonNullableFields, ValueType$2 as ValueType, VisitorType$2 as VisitorType, WebhookIdentityType$7 as WebhookIdentityType, type index_d$7__publicAddControlType as _publicAddControlType, type index_d$7__publicDeleteControlType as _publicDeleteControlType, type index_d$7__publicDiscardDraftType as _publicDiscardDraftType, type index_d$7__publicGetFormType as _publicGetFormType, type index_d$7__publicOnFormEventUpdatedType as _publicOnFormEventUpdatedType, type index_d$7__publicPublishDraftType as _publicPublishDraftType, type index_d$7__publicUpdateControlType as _publicUpdateControlType, type index_d$7__publicUpdateMessagesType as _publicUpdateMessagesType, index_d$7_addControl as addControl, index_d$7_deleteControl as deleteControl, index_d$7_discardDraft as discardDraft, index_d$7_getForm as getForm, index_d$7_onFormEventUpdated as onFormEventUpdated, onFormEventUpdated$1 as publicOnFormEventUpdated, index_d$7_publishDraft as publishDraft, index_d$7_updateControl as updateControl, index_d$7_updateMessages as updateMessages };
|
|
7139
7725
|
}
|
|
7140
7726
|
|
|
7141
7727
|
interface Order {
|
|
@@ -9149,31 +9735,243 @@ interface PosCheckoutOptions {
|
|
|
9149
9735
|
paymentDetailsId?: string | null;
|
|
9150
9736
|
}
|
|
9151
9737
|
|
|
9738
|
+
declare function listOrders$1(httpClient: HttpClient): ListOrdersSignature;
|
|
9739
|
+
interface ListOrdersSignature {
|
|
9740
|
+
/**
|
|
9741
|
+
* Retrieves a list of orders, including ticket data.
|
|
9742
|
+
* @param - An object representing the available options for retrieving a list of orders.
|
|
9743
|
+
*/
|
|
9744
|
+
(options?: ListOrdersOptions | undefined): Promise<ListOrdersResponse & ListOrdersResponseNonNullableFields>;
|
|
9745
|
+
}
|
|
9746
|
+
declare function getOrder$1(httpClient: HttpClient): GetOrderSignature;
|
|
9747
|
+
interface GetOrderSignature {
|
|
9748
|
+
/**
|
|
9749
|
+
* Retrieves an order, including ticket data.
|
|
9750
|
+
* <!--
|
|
9751
|
+
* >The fieldsets in this function are restricted and only run if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
9752
|
+
* -->
|
|
9753
|
+
* @param - An object representing the available options for getting an order.
|
|
9754
|
+
* @param - An object containing identifiers for the order to be retrieved.
|
|
9755
|
+
* @returns Requested order.
|
|
9756
|
+
*/
|
|
9757
|
+
(identifiers: GetOrderIdentifiers, options?: GetOrderOptions | undefined): Promise<Order & OrderNonNullableFields>;
|
|
9758
|
+
}
|
|
9759
|
+
declare function updateOrder$1(httpClient: HttpClient): UpdateOrderSignature;
|
|
9760
|
+
interface UpdateOrderSignature {
|
|
9761
|
+
/**
|
|
9762
|
+
* Updates an order.
|
|
9763
|
+
* @param - An object representing the available options for updating an order.
|
|
9764
|
+
* @param - An object containing identifiers for the order to be updated.
|
|
9765
|
+
*/
|
|
9766
|
+
(identifiers: UpdateOrderIdentifiers, options?: UpdateOrderOptions | undefined): Promise<UpdateOrderResponse & UpdateOrderResponseNonNullableFields>;
|
|
9767
|
+
}
|
|
9768
|
+
declare function bulkUpdateOrders$1(httpClient: HttpClient): BulkUpdateOrdersSignature;
|
|
9769
|
+
interface BulkUpdateOrdersSignature {
|
|
9770
|
+
/**
|
|
9771
|
+
* Archives multiple orders.
|
|
9772
|
+
* @param - An object representing the available options for confirming an order.
|
|
9773
|
+
* @param - Event ID to which the order belongs.
|
|
9774
|
+
*/
|
|
9775
|
+
(eventId: string, options?: BulkUpdateOrdersOptions | undefined): Promise<BulkUpdateOrdersResponse & BulkUpdateOrdersResponseNonNullableFields>;
|
|
9776
|
+
}
|
|
9777
|
+
declare function confirmOrder$1(httpClient: HttpClient): ConfirmOrderSignature;
|
|
9778
|
+
interface ConfirmOrderSignature {
|
|
9779
|
+
/**
|
|
9780
|
+
* Confirms an order.
|
|
9781
|
+
*
|
|
9782
|
+
*
|
|
9783
|
+
* This function changes order status from `INITIATED`, `PENDING`, `OFFLINE_PENDING` to `PAID`.
|
|
9784
|
+
* Confirming orders with `INITIATED` or `PENDING` status triggers an email with the tickets to the buyer (and to additional guests, if provided).
|
|
9785
|
+
* @param - An object representing the available options for confirming an order.
|
|
9786
|
+
* @param - Event ID to which the order belongs.
|
|
9787
|
+
*/
|
|
9788
|
+
(eventId: string, options?: ConfirmOrderOptions | undefined): Promise<ConfirmOrderResponse & ConfirmOrderResponseNonNullableFields>;
|
|
9789
|
+
}
|
|
9790
|
+
declare function getSummary$1(httpClient: HttpClient): GetSummarySignature;
|
|
9791
|
+
interface GetSummarySignature {
|
|
9792
|
+
/**
|
|
9793
|
+
* Retrieves a summary of total ticket sales.
|
|
9794
|
+
* <!--
|
|
9795
|
+
* > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
9796
|
+
* -->
|
|
9797
|
+
* @param - An object representing the available options for retrieving a summary of total ticket sales.
|
|
9798
|
+
*/
|
|
9799
|
+
(options?: GetSummaryOptions | undefined): Promise<GetSummaryResponse & GetSummaryResponseNonNullableFields>;
|
|
9800
|
+
}
|
|
9801
|
+
declare function getCheckoutOptions$1(httpClient: HttpClient): GetCheckoutOptionsSignature;
|
|
9802
|
+
interface GetCheckoutOptionsSignature {
|
|
9803
|
+
/**
|
|
9804
|
+
* Retrieves checkout details.
|
|
9805
|
+
*/
|
|
9806
|
+
(): Promise<GetCheckoutOptionsResponse & GetCheckoutOptionsResponseNonNullableFields>;
|
|
9807
|
+
}
|
|
9808
|
+
declare function listAvailableTickets$1(httpClient: HttpClient): ListAvailableTicketsSignature;
|
|
9809
|
+
interface ListAvailableTicketsSignature {
|
|
9810
|
+
/**
|
|
9811
|
+
* Returns tickets available to reserve.
|
|
9812
|
+
* <!--
|
|
9813
|
+
* > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
9814
|
+
* -->
|
|
9815
|
+
* @param - An object representing the available options for retrieving a list of tickets available for reservation.
|
|
9816
|
+
*/
|
|
9817
|
+
(options?: ListAvailableTicketsOptions | undefined): Promise<ListAvailableTicketsResponse & ListAvailableTicketsResponseNonNullableFields>;
|
|
9818
|
+
}
|
|
9819
|
+
declare function queryAvailableTickets$1(httpClient: HttpClient): QueryAvailableTicketsSignature;
|
|
9820
|
+
interface QueryAvailableTicketsSignature {
|
|
9821
|
+
/**
|
|
9822
|
+
* Returns tickets available to reserve.
|
|
9823
|
+
* <!--
|
|
9824
|
+
* > Note: The fieldsets in this function are restricted and only run if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
9825
|
+
* -->
|
|
9826
|
+
* @param - An object representing the available options for retrieving a list of tickets available for reservation.
|
|
9827
|
+
*/
|
|
9828
|
+
(options?: QueryAvailableTicketsOptions | undefined): Promise<QueryAvailableTicketsResponse & QueryAvailableTicketsResponseNonNullableFields>;
|
|
9829
|
+
}
|
|
9830
|
+
declare function createReservation$1(httpClient: HttpClient): CreateReservationSignature;
|
|
9831
|
+
interface CreateReservationSignature {
|
|
9832
|
+
/**
|
|
9833
|
+
* Reserves tickets for 20 minutes.
|
|
9834
|
+
*
|
|
9835
|
+
*
|
|
9836
|
+
* Reserved tickets are deducted from ticket stock and cannot be bought by another site visitor.
|
|
9837
|
+
* When the reservation expires, the tickets are added back to the stock.
|
|
9838
|
+
* @param - An object representing the available options for creating a reservation.
|
|
9839
|
+
* @param - Event ID to which the reservation belongs.
|
|
9840
|
+
*/
|
|
9841
|
+
(eventId: string, options?: CreateReservationOptions | undefined): Promise<CreateReservationResponse & CreateReservationResponseNonNullableFields>;
|
|
9842
|
+
}
|
|
9843
|
+
declare function cancelReservation$1(httpClient: HttpClient): CancelReservationSignature;
|
|
9844
|
+
interface CancelReservationSignature {
|
|
9845
|
+
/**
|
|
9846
|
+
* Cancels ticket reservation and returns tickets to stock.
|
|
9847
|
+
* <!--
|
|
9848
|
+
* > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
9849
|
+
* -->
|
|
9850
|
+
* @param - Reservation ID.
|
|
9851
|
+
* @param - An object containing identifiers for the reservation to be cancelled.
|
|
9852
|
+
* @param - Event ID to which the reservation belongs.
|
|
9853
|
+
*/
|
|
9854
|
+
(_id: string, eventId: string): Promise<void>;
|
|
9855
|
+
}
|
|
9856
|
+
declare function getInvoice$1(httpClient: HttpClient): GetInvoiceSignature;
|
|
9857
|
+
interface GetInvoiceSignature {
|
|
9858
|
+
/**
|
|
9859
|
+
* Generates a preview of an invoice, including the given coupon or pricing plan.
|
|
9860
|
+
* @param - Reservation ID.
|
|
9861
|
+
* @param - An object representing the available options for generating a preview of a reservation invoice.
|
|
9862
|
+
* @param - An object containing identifiers for the reservation invoice preview to be generated.
|
|
9863
|
+
* @param - Event ID to which the invoice belongs.
|
|
9864
|
+
*/
|
|
9865
|
+
(reservationId: string, eventId: string, options?: GetInvoiceOptions | undefined): Promise<GetInvoiceResponse & GetInvoiceResponseNonNullableFields>;
|
|
9866
|
+
}
|
|
9867
|
+
declare function checkout$1(httpClient: HttpClient): CheckoutSignature;
|
|
9868
|
+
interface CheckoutSignature {
|
|
9869
|
+
/**
|
|
9870
|
+
* Checkouts the reserved tickets.
|
|
9871
|
+
*
|
|
9872
|
+
*
|
|
9873
|
+
* Creates an order and associates it with a site visitor contact.
|
|
9874
|
+
* Guest details are received from the [Registration Form](https://www.wix.com/velo/reference/wix-events-v2/forms/introduction) input fields.
|
|
9875
|
+
*
|
|
9876
|
+
* There is a possibility to use a separate ready-made Wix checkout form where the user will be redirected from your non-Wix site or a custom ticket picker created with Velo.
|
|
9877
|
+
* To build the checkout form path, get your event base URL by using the [`getEvent()`](https://www.wix.com/velo/reference/wix-events-backend/wixevents/getevent) function and add the following path:
|
|
9878
|
+
* `/{{EVENT_PAGE_SLUG}}/{{SLUG}}/ticket-form?reservationId={{YOUR_RESERVATION_ID}}`
|
|
9879
|
+
*
|
|
9880
|
+
* Example: `https://johndoe.wixsite.com/weddings/event-details/doe-wedding/ticket-form?reservationId=2be6d34a-2a1e-459f-897b-b4a66e73f69a`
|
|
9881
|
+
* @param - An object representing the available options for checking out a reserved ticket.
|
|
9882
|
+
* @param - Event ID to which the checkout belongs.
|
|
9883
|
+
*/
|
|
9884
|
+
(eventId: string, options?: CheckoutOptionsForRequest | undefined): Promise<CheckoutResponse & CheckoutResponseNonNullableFields>;
|
|
9885
|
+
}
|
|
9886
|
+
declare function updateCheckout$1(httpClient: HttpClient): UpdateCheckoutSignature;
|
|
9887
|
+
interface UpdateCheckoutSignature {
|
|
9888
|
+
/**
|
|
9889
|
+
* Updates order and tickets.
|
|
9890
|
+
*
|
|
9891
|
+
*
|
|
9892
|
+
* Only applicable for orders with `INITIATED`, `PENDING`, `OFFLINE_PENDING` statuses.
|
|
9893
|
+
* @param - Unique order number.
|
|
9894
|
+
* @param - An object representing the available options for updating an order and tickets.
|
|
9895
|
+
* @param - An object containing identifiers for the order and tickets to be updated.
|
|
9896
|
+
* @param - Event ID to which the checkout belongs.
|
|
9897
|
+
*/
|
|
9898
|
+
(orderNumber: string, eventId: string, options?: UpdateCheckoutOptions | undefined): Promise<UpdateCheckoutResponse & UpdateCheckoutResponseNonNullableFields>;
|
|
9899
|
+
}
|
|
9900
|
+
declare function posCheckout$1(httpClient: HttpClient): PosCheckoutSignature;
|
|
9901
|
+
interface PosCheckoutSignature {
|
|
9902
|
+
/**
|
|
9903
|
+
* Creates order with payment details already initiated via Cashier Pay API.
|
|
9904
|
+
* @param - Event ID to which the checkout belongs.
|
|
9905
|
+
*/
|
|
9906
|
+
(eventId: string, options?: PosCheckoutOptions | undefined): Promise<PosCheckoutResponse & PosCheckoutResponseNonNullableFields>;
|
|
9907
|
+
}
|
|
9908
|
+
declare const onOrderDeleted$1: EventDefinition<OrderDeletedEnvelope, "wix.events.ticketing.events.OrderDeleted">;
|
|
9909
|
+
declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.events.ticketing.events.OrderUpdated">;
|
|
9910
|
+
declare const onOrderConfirmed$1: EventDefinition<OrderConfirmedEnvelope, "wix.events.ticketing.events.OrderConfirmed">;
|
|
9911
|
+
declare const onOrderReservationCreated$1: EventDefinition<OrderReservationCreatedEnvelope, "wix.events.ticketing.events.ReservationCreated">;
|
|
9912
|
+
declare const onOrderReservationUpdated$1: EventDefinition<OrderReservationUpdatedEnvelope, "wix.events.ticketing.events.ReservationUpdated">;
|
|
9913
|
+
declare const onOrderInitiated$1: EventDefinition<OrderInitiatedEnvelope, "wix.events.ticketing.events.OrderInitiated">;
|
|
9914
|
+
|
|
9152
9915
|
declare function createRESTModule$6<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
9153
9916
|
|
|
9154
9917
|
declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
9155
9918
|
|
|
9156
|
-
|
|
9157
|
-
declare const
|
|
9158
|
-
|
|
9159
|
-
declare const
|
|
9160
|
-
|
|
9161
|
-
declare const
|
|
9162
|
-
|
|
9163
|
-
declare const
|
|
9164
|
-
|
|
9165
|
-
declare const
|
|
9166
|
-
|
|
9167
|
-
declare const
|
|
9168
|
-
|
|
9169
|
-
declare const
|
|
9170
|
-
|
|
9171
|
-
declare const
|
|
9172
|
-
|
|
9173
|
-
declare const
|
|
9174
|
-
|
|
9175
|
-
declare const
|
|
9176
|
-
|
|
9919
|
+
type _publicListOrdersType = typeof listOrders$1;
|
|
9920
|
+
declare const listOrders: ReturnType<typeof createRESTModule$6<_publicListOrdersType>>;
|
|
9921
|
+
type _publicGetOrderType = typeof getOrder$1;
|
|
9922
|
+
declare const getOrder: ReturnType<typeof createRESTModule$6<_publicGetOrderType>>;
|
|
9923
|
+
type _publicUpdateOrderType = typeof updateOrder$1;
|
|
9924
|
+
declare const updateOrder: ReturnType<typeof createRESTModule$6<_publicUpdateOrderType>>;
|
|
9925
|
+
type _publicBulkUpdateOrdersType = typeof bulkUpdateOrders$1;
|
|
9926
|
+
declare const bulkUpdateOrders: ReturnType<typeof createRESTModule$6<_publicBulkUpdateOrdersType>>;
|
|
9927
|
+
type _publicConfirmOrderType = typeof confirmOrder$1;
|
|
9928
|
+
declare const confirmOrder: ReturnType<typeof createRESTModule$6<_publicConfirmOrderType>>;
|
|
9929
|
+
type _publicGetSummaryType = typeof getSummary$1;
|
|
9930
|
+
declare const getSummary: ReturnType<typeof createRESTModule$6<_publicGetSummaryType>>;
|
|
9931
|
+
type _publicGetCheckoutOptionsType = typeof getCheckoutOptions$1;
|
|
9932
|
+
declare const getCheckoutOptions: ReturnType<typeof createRESTModule$6<_publicGetCheckoutOptionsType>>;
|
|
9933
|
+
type _publicListAvailableTicketsType = typeof listAvailableTickets$1;
|
|
9934
|
+
declare const listAvailableTickets: ReturnType<typeof createRESTModule$6<_publicListAvailableTicketsType>>;
|
|
9935
|
+
type _publicQueryAvailableTicketsType = typeof queryAvailableTickets$1;
|
|
9936
|
+
declare const queryAvailableTickets: ReturnType<typeof createRESTModule$6<_publicQueryAvailableTicketsType>>;
|
|
9937
|
+
type _publicCreateReservationType = typeof createReservation$1;
|
|
9938
|
+
declare const createReservation: ReturnType<typeof createRESTModule$6<_publicCreateReservationType>>;
|
|
9939
|
+
type _publicCancelReservationType = typeof cancelReservation$1;
|
|
9940
|
+
declare const cancelReservation: ReturnType<typeof createRESTModule$6<_publicCancelReservationType>>;
|
|
9941
|
+
type _publicGetInvoiceType = typeof getInvoice$1;
|
|
9942
|
+
declare const getInvoice: ReturnType<typeof createRESTModule$6<_publicGetInvoiceType>>;
|
|
9943
|
+
type _publicCheckoutType = typeof checkout$1;
|
|
9944
|
+
declare const checkout: ReturnType<typeof createRESTModule$6<_publicCheckoutType>>;
|
|
9945
|
+
type _publicUpdateCheckoutType = typeof updateCheckout$1;
|
|
9946
|
+
declare const updateCheckout: ReturnType<typeof createRESTModule$6<_publicUpdateCheckoutType>>;
|
|
9947
|
+
type _publicPosCheckoutType = typeof posCheckout$1;
|
|
9948
|
+
declare const posCheckout: ReturnType<typeof createRESTModule$6<_publicPosCheckoutType>>;
|
|
9949
|
+
|
|
9950
|
+
type _publicOnOrderDeletedType = typeof onOrderDeleted$1;
|
|
9951
|
+
/**
|
|
9952
|
+
* This event is triggered when an order is deleted via GDPR request.
|
|
9953
|
+
*/
|
|
9954
|
+
declare const onOrderDeleted: ReturnType<typeof createEventModule$6<_publicOnOrderDeletedType>>;
|
|
9955
|
+
|
|
9956
|
+
type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
|
|
9957
|
+
/** */
|
|
9958
|
+
declare const onOrderUpdated: ReturnType<typeof createEventModule$6<_publicOnOrderUpdatedType>>;
|
|
9959
|
+
|
|
9960
|
+
type _publicOnOrderConfirmedType = typeof onOrderConfirmed$1;
|
|
9961
|
+
/** */
|
|
9962
|
+
declare const onOrderConfirmed: ReturnType<typeof createEventModule$6<_publicOnOrderConfirmedType>>;
|
|
9963
|
+
|
|
9964
|
+
type _publicOnOrderReservationCreatedType = typeof onOrderReservationCreated$1;
|
|
9965
|
+
/** */
|
|
9966
|
+
declare const onOrderReservationCreated: ReturnType<typeof createEventModule$6<_publicOnOrderReservationCreatedType>>;
|
|
9967
|
+
|
|
9968
|
+
type _publicOnOrderReservationUpdatedType = typeof onOrderReservationUpdated$1;
|
|
9969
|
+
/** */
|
|
9970
|
+
declare const onOrderReservationUpdated: ReturnType<typeof createEventModule$6<_publicOnOrderReservationUpdatedType>>;
|
|
9971
|
+
|
|
9972
|
+
type _publicOnOrderInitiatedType = typeof onOrderInitiated$1;
|
|
9973
|
+
/** */
|
|
9974
|
+
declare const onOrderInitiated: ReturnType<typeof createEventModule$6<_publicOnOrderInitiatedType>>;
|
|
9177
9975
|
|
|
9178
9976
|
type index_d$6_BulkUpdateOrdersOptions = BulkUpdateOrdersOptions;
|
|
9179
9977
|
type index_d$6_BulkUpdateOrdersRequest = BulkUpdateOrdersRequest;
|
|
@@ -9286,6 +10084,27 @@ type index_d$6_UpdateOrderOptions = UpdateOrderOptions;
|
|
|
9286
10084
|
type index_d$6_UpdateOrderRequest = UpdateOrderRequest;
|
|
9287
10085
|
type index_d$6_UpdateOrderResponse = UpdateOrderResponse;
|
|
9288
10086
|
type index_d$6_UpdateOrderResponseNonNullableFields = UpdateOrderResponseNonNullableFields;
|
|
10087
|
+
type index_d$6__publicBulkUpdateOrdersType = _publicBulkUpdateOrdersType;
|
|
10088
|
+
type index_d$6__publicCancelReservationType = _publicCancelReservationType;
|
|
10089
|
+
type index_d$6__publicCheckoutType = _publicCheckoutType;
|
|
10090
|
+
type index_d$6__publicConfirmOrderType = _publicConfirmOrderType;
|
|
10091
|
+
type index_d$6__publicCreateReservationType = _publicCreateReservationType;
|
|
10092
|
+
type index_d$6__publicGetCheckoutOptionsType = _publicGetCheckoutOptionsType;
|
|
10093
|
+
type index_d$6__publicGetInvoiceType = _publicGetInvoiceType;
|
|
10094
|
+
type index_d$6__publicGetOrderType = _publicGetOrderType;
|
|
10095
|
+
type index_d$6__publicGetSummaryType = _publicGetSummaryType;
|
|
10096
|
+
type index_d$6__publicListAvailableTicketsType = _publicListAvailableTicketsType;
|
|
10097
|
+
type index_d$6__publicListOrdersType = _publicListOrdersType;
|
|
10098
|
+
type index_d$6__publicOnOrderConfirmedType = _publicOnOrderConfirmedType;
|
|
10099
|
+
type index_d$6__publicOnOrderDeletedType = _publicOnOrderDeletedType;
|
|
10100
|
+
type index_d$6__publicOnOrderInitiatedType = _publicOnOrderInitiatedType;
|
|
10101
|
+
type index_d$6__publicOnOrderReservationCreatedType = _publicOnOrderReservationCreatedType;
|
|
10102
|
+
type index_d$6__publicOnOrderReservationUpdatedType = _publicOnOrderReservationUpdatedType;
|
|
10103
|
+
type index_d$6__publicOnOrderUpdatedType = _publicOnOrderUpdatedType;
|
|
10104
|
+
type index_d$6__publicPosCheckoutType = _publicPosCheckoutType;
|
|
10105
|
+
type index_d$6__publicQueryAvailableTicketsType = _publicQueryAvailableTicketsType;
|
|
10106
|
+
type index_d$6__publicUpdateCheckoutType = _publicUpdateCheckoutType;
|
|
10107
|
+
type index_d$6__publicUpdateOrderType = _publicUpdateOrderType;
|
|
9289
10108
|
declare const index_d$6_bulkUpdateOrders: typeof bulkUpdateOrders;
|
|
9290
10109
|
declare const index_d$6_cancelReservation: typeof cancelReservation;
|
|
9291
10110
|
declare const index_d$6_checkout: typeof checkout;
|
|
@@ -9308,7 +10127,7 @@ declare const index_d$6_queryAvailableTickets: typeof queryAvailableTickets;
|
|
|
9308
10127
|
declare const index_d$6_updateCheckout: typeof updateCheckout;
|
|
9309
10128
|
declare const index_d$6_updateOrder: typeof updateOrder;
|
|
9310
10129
|
declare namespace index_d$6 {
|
|
9311
|
-
export { type Address$5 as Address, type AddressLocation$5 as AddressLocation, type AddressStreetOneOf$5 as AddressStreetOneOf, type BaseEventMetadata$6 as BaseEventMetadata, type index_d$6_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type index_d$6_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$6_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type index_d$6_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type index_d$6_Buyer as Buyer, type CalendarLinks$3 as CalendarLinks, type index_d$6_CancelReservationRequest as CancelReservationRequest, type index_d$6_CancelReservationResponse as CancelReservationResponse, ChannelType$1 as ChannelType, type CheckIn$2 as CheckIn, type index_d$6_CheckoutOptions as CheckoutOptions, type index_d$6_CheckoutOptionsForRequest as CheckoutOptionsForRequest, type index_d$6_CheckoutRequest as CheckoutRequest, type index_d$6_CheckoutResponse as CheckoutResponse, type index_d$6_CheckoutResponseNonNullableFields as CheckoutResponseNonNullableFields, type index_d$6_ConfirmOrderOptions as ConfirmOrderOptions, type index_d$6_ConfirmOrderRequest as ConfirmOrderRequest, type index_d$6_ConfirmOrderResponse as ConfirmOrderResponse, type index_d$6_ConfirmOrderResponseNonNullableFields as ConfirmOrderResponseNonNullableFields, type Counts$2 as Counts, type index_d$6_CouponDiscount as CouponDiscount, type index_d$6_CreateReservationOptions as CreateReservationOptions, type index_d$6_CreateReservationRequest as CreateReservationRequest, type index_d$6_CreateReservationResponse as CreateReservationResponse, type index_d$6_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type Dashboard$3 as Dashboard, type index_d$6_Discount as Discount, type index_d$6_DiscountErrors as DiscountErrors, type index_d$6_DiscountItem as DiscountItem, type index_d$6_DiscountItemDiscountOneOf as DiscountItemDiscountOneOf, type index_d$6_DiscountRequest as DiscountRequest, type index_d$6_Error as Error, type FacetCounts$5 as FacetCounts, type index_d$6_Fee as Fee, index_d$6_FeeName as FeeName, FeeType$1 as FeeType, type FormResponse$2 as FormResponse, type FormattedAddress$2 as FormattedAddress, type index_d$6_GetCheckoutOptionsRequest as GetCheckoutOptionsRequest, type index_d$6_GetCheckoutOptionsResponse as GetCheckoutOptionsResponse, type index_d$6_GetCheckoutOptionsResponseNonNullableFields as GetCheckoutOptionsResponseNonNullableFields, type index_d$6_GetInvoiceOptions as GetInvoiceOptions, type index_d$6_GetInvoicePreviewRequest as GetInvoicePreviewRequest, type index_d$6_GetInvoiceRequest as GetInvoiceRequest, type index_d$6_GetInvoiceResponse as GetInvoiceResponse, type index_d$6_GetInvoiceResponseNonNullableFields as GetInvoiceResponseNonNullableFields, type index_d$6_GetOrderIdentifiers as GetOrderIdentifiers, type index_d$6_GetOrderOptions as GetOrderOptions, type index_d$6_GetOrderRequest as GetOrderRequest, type index_d$6_GetOrderResponse as GetOrderResponse, type index_d$6_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$6_GetPaymentInfoRequest as GetPaymentInfoRequest, type index_d$6_GetPaymentInfoResponse as GetPaymentInfoResponse, type index_d$6_GetSummaryOptions as GetSummaryOptions, type index_d$6_GetSummaryRequest as GetSummaryRequest, type index_d$6_GetSummaryResponse as GetSummaryResponse, type index_d$6_GetSummaryResponseNonNullableFields as GetSummaryResponseNonNullableFields, type Guest$1 as Guest, type GuestDetails$1 as GuestDetails, type index_d$6_HeadersEntry as HeadersEntry, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type InputValue$2 as InputValue, type index_d$6_Invoice as Invoice, type index_d$6_Item as Item, type index_d$6_ListAvailableTicketsOptions as ListAvailableTicketsOptions, type index_d$6_ListAvailableTicketsRequest as ListAvailableTicketsRequest, type index_d$6_ListAvailableTicketsResponse as ListAvailableTicketsResponse, type index_d$6_ListAvailableTicketsResponseNonNullableFields as ListAvailableTicketsResponseNonNullableFields, type index_d$6_ListOrdersOptions as ListOrdersOptions, type index_d$6_ListOrdersRequest as ListOrdersRequest, type index_d$6_ListOrdersResponse as ListOrdersResponse, type index_d$6_ListOrdersResponseNonNullableFields as ListOrdersResponseNonNullableFields, type MessageEnvelope$6 as MessageEnvelope, type Money$4 as Money, type OnlineConferencingLogin$2 as OnlineConferencingLogin, type index_d$6_Order as Order, type index_d$6_OrderConfirmed as OrderConfirmed, type index_d$6_OrderConfirmedEnvelope as OrderConfirmedEnvelope, type index_d$6_OrderDeleted as OrderDeleted, type index_d$6_OrderDeletedEnvelope as OrderDeletedEnvelope, type index_d$6_OrderFacetCounts as OrderFacetCounts, type index_d$6_OrderFacets as OrderFacets, index_d$6_OrderFieldset as OrderFieldset, type index_d$6_OrderInitiated as OrderInitiated, type index_d$6_OrderInitiatedEnvelope as OrderInitiatedEnvelope, type index_d$6_OrderNonNullableFields as OrderNonNullableFields, type index_d$6_OrderPageUrls as OrderPageUrls, type index_d$6_OrderPaid as OrderPaid, type index_d$6_OrderReservationCreatedEnvelope as OrderReservationCreatedEnvelope, type index_d$6_OrderReservationUpdatedEnvelope as OrderReservationUpdatedEnvelope, OrderStatus$1 as OrderStatus, index_d$6_OrderTag as OrderTag, index_d$6_OrderType as OrderType, type OrderUpdated$1 as OrderUpdated, type index_d$6_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$6_PaidPlanBenefit as PaidPlanBenefit, type index_d$6_PaidPlanDiscount as PaidPlanDiscount, type index_d$6_PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOf, type index_d$6_PaymentDetails as PaymentDetails, type index_d$6_PaymentTransaction as PaymentTransaction, type index_d$6_PaymentTransactionEvent as PaymentTransactionEvent, type index_d$6_PaymentTransactionSummary as PaymentTransactionSummary, type index_d$6_PercentDiscount as PercentDiscount, type index_d$6_PosCheckoutOptions as PosCheckoutOptions, type index_d$6_PosCheckoutRequest as PosCheckoutRequest, type index_d$6_PosCheckoutResponse as PosCheckoutResponse, type index_d$6_PosCheckoutResponseNonNullableFields as PosCheckoutResponseNonNullableFields, type PricingOption$1 as PricingOption, type PricingOptions$2 as PricingOptions, type index_d$6_QueryAvailableTicketsOptions as QueryAvailableTicketsOptions, type index_d$6_QueryAvailableTicketsRequest as QueryAvailableTicketsRequest, type index_d$6_QueryAvailableTicketsResponse as QueryAvailableTicketsResponse, type index_d$6_QueryAvailableTicketsResponseNonNullableFields as QueryAvailableTicketsResponseNonNullableFields, type index_d$6_RawHttpResponse as RawHttpResponse, type ReservationCount$1 as ReservationCount, type ReservationCreated$1 as ReservationCreated, ReservationStatus$1 as ReservationStatus, type ReservationUpdated$1 as ReservationUpdated, type ResponseMetaData$1 as ResponseMetaData, type StandardDetails$2 as StandardDetails, State$4 as State, type StreetAddress$5 as StreetAddress, type Subdivision$5 as Subdivision, SubdivisionType$5 as SubdivisionType, type index_d$6_Tax as Tax, TaxType$2 as TaxType, type Ticket$1 as Ticket, type TicketDefinition$2 as TicketDefinition, TicketDefinitionFieldset$1 as TicketDefinitionFieldset, type TicketDetails$1 as TicketDetails, type TicketPricing$1 as TicketPricing, type TicketPricingPriceOneOf$1 as TicketPricingPriceOneOf, type TicketQuantity$1 as TicketQuantity, type index_d$6_TicketReservation as TicketReservation, type index_d$6_TicketReservationQuantity as TicketReservationQuantity, type TicketSalePeriod$1 as TicketSalePeriod, TicketSaleStatus$1 as TicketSaleStatus, type index_d$6_TicketSales as TicketSales, type TicketingTicket$1 as TicketingTicket, Type$3 as Type, type index_d$6_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$6_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$6_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$6_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$6_UpdateOrderIdentifiers as UpdateOrderIdentifiers, type index_d$6_UpdateOrderOptions as UpdateOrderOptions, type index_d$6_UpdateOrderRequest as UpdateOrderRequest, type index_d$6_UpdateOrderResponse as UpdateOrderResponse, type index_d$6_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, WebhookIdentityType$6 as WebhookIdentityType, type WixFeeConfig$1 as WixFeeConfig, index_d$6_bulkUpdateOrders as bulkUpdateOrders, index_d$6_cancelReservation as cancelReservation, index_d$6_checkout as checkout, index_d$6_confirmOrder as confirmOrder, index_d$6_createReservation as createReservation, index_d$6_getCheckoutOptions as getCheckoutOptions, index_d$6_getInvoice as getInvoice, index_d$6_getOrder as getOrder, index_d$6_getSummary as getSummary, index_d$6_listAvailableTickets as listAvailableTickets, index_d$6_listOrders as listOrders, index_d$6_onOrderConfirmed as onOrderConfirmed, index_d$6_onOrderDeleted as onOrderDeleted, index_d$6_onOrderInitiated as onOrderInitiated, index_d$6_onOrderReservationCreated as onOrderReservationCreated, index_d$6_onOrderReservationUpdated as onOrderReservationUpdated, index_d$6_onOrderUpdated as onOrderUpdated, index_d$6_posCheckout as posCheckout, index_d$6_queryAvailableTickets as queryAvailableTickets, index_d$6_updateCheckout as updateCheckout, index_d$6_updateOrder as updateOrder };
|
|
10130
|
+
export { type Address$5 as Address, type AddressLocation$5 as AddressLocation, type AddressStreetOneOf$5 as AddressStreetOneOf, type BaseEventMetadata$6 as BaseEventMetadata, type index_d$6_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type index_d$6_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$6_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type index_d$6_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type index_d$6_Buyer as Buyer, type CalendarLinks$3 as CalendarLinks, type index_d$6_CancelReservationRequest as CancelReservationRequest, type index_d$6_CancelReservationResponse as CancelReservationResponse, ChannelType$1 as ChannelType, type CheckIn$2 as CheckIn, type index_d$6_CheckoutOptions as CheckoutOptions, type index_d$6_CheckoutOptionsForRequest as CheckoutOptionsForRequest, type index_d$6_CheckoutRequest as CheckoutRequest, type index_d$6_CheckoutResponse as CheckoutResponse, type index_d$6_CheckoutResponseNonNullableFields as CheckoutResponseNonNullableFields, type index_d$6_ConfirmOrderOptions as ConfirmOrderOptions, type index_d$6_ConfirmOrderRequest as ConfirmOrderRequest, type index_d$6_ConfirmOrderResponse as ConfirmOrderResponse, type index_d$6_ConfirmOrderResponseNonNullableFields as ConfirmOrderResponseNonNullableFields, type Counts$2 as Counts, type index_d$6_CouponDiscount as CouponDiscount, type index_d$6_CreateReservationOptions as CreateReservationOptions, type index_d$6_CreateReservationRequest as CreateReservationRequest, type index_d$6_CreateReservationResponse as CreateReservationResponse, type index_d$6_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type Dashboard$3 as Dashboard, type index_d$6_Discount as Discount, type index_d$6_DiscountErrors as DiscountErrors, type index_d$6_DiscountItem as DiscountItem, type index_d$6_DiscountItemDiscountOneOf as DiscountItemDiscountOneOf, type index_d$6_DiscountRequest as DiscountRequest, type index_d$6_Error as Error, type FacetCounts$5 as FacetCounts, type index_d$6_Fee as Fee, index_d$6_FeeName as FeeName, FeeType$1 as FeeType, type FormResponse$2 as FormResponse, type FormattedAddress$2 as FormattedAddress, type index_d$6_GetCheckoutOptionsRequest as GetCheckoutOptionsRequest, type index_d$6_GetCheckoutOptionsResponse as GetCheckoutOptionsResponse, type index_d$6_GetCheckoutOptionsResponseNonNullableFields as GetCheckoutOptionsResponseNonNullableFields, type index_d$6_GetInvoiceOptions as GetInvoiceOptions, type index_d$6_GetInvoicePreviewRequest as GetInvoicePreviewRequest, type index_d$6_GetInvoiceRequest as GetInvoiceRequest, type index_d$6_GetInvoiceResponse as GetInvoiceResponse, type index_d$6_GetInvoiceResponseNonNullableFields as GetInvoiceResponseNonNullableFields, type index_d$6_GetOrderIdentifiers as GetOrderIdentifiers, type index_d$6_GetOrderOptions as GetOrderOptions, type index_d$6_GetOrderRequest as GetOrderRequest, type index_d$6_GetOrderResponse as GetOrderResponse, type index_d$6_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$6_GetPaymentInfoRequest as GetPaymentInfoRequest, type index_d$6_GetPaymentInfoResponse as GetPaymentInfoResponse, type index_d$6_GetSummaryOptions as GetSummaryOptions, type index_d$6_GetSummaryRequest as GetSummaryRequest, type index_d$6_GetSummaryResponse as GetSummaryResponse, type index_d$6_GetSummaryResponseNonNullableFields as GetSummaryResponseNonNullableFields, type Guest$1 as Guest, type GuestDetails$1 as GuestDetails, type index_d$6_HeadersEntry as HeadersEntry, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type InputValue$2 as InputValue, type index_d$6_Invoice as Invoice, type index_d$6_Item as Item, type index_d$6_ListAvailableTicketsOptions as ListAvailableTicketsOptions, type index_d$6_ListAvailableTicketsRequest as ListAvailableTicketsRequest, type index_d$6_ListAvailableTicketsResponse as ListAvailableTicketsResponse, type index_d$6_ListAvailableTicketsResponseNonNullableFields as ListAvailableTicketsResponseNonNullableFields, type index_d$6_ListOrdersOptions as ListOrdersOptions, type index_d$6_ListOrdersRequest as ListOrdersRequest, type index_d$6_ListOrdersResponse as ListOrdersResponse, type index_d$6_ListOrdersResponseNonNullableFields as ListOrdersResponseNonNullableFields, type MessageEnvelope$6 as MessageEnvelope, type Money$4 as Money, type OnlineConferencingLogin$2 as OnlineConferencingLogin, type index_d$6_Order as Order, type index_d$6_OrderConfirmed as OrderConfirmed, type index_d$6_OrderConfirmedEnvelope as OrderConfirmedEnvelope, type index_d$6_OrderDeleted as OrderDeleted, type index_d$6_OrderDeletedEnvelope as OrderDeletedEnvelope, type index_d$6_OrderFacetCounts as OrderFacetCounts, type index_d$6_OrderFacets as OrderFacets, index_d$6_OrderFieldset as OrderFieldset, type index_d$6_OrderInitiated as OrderInitiated, type index_d$6_OrderInitiatedEnvelope as OrderInitiatedEnvelope, type index_d$6_OrderNonNullableFields as OrderNonNullableFields, type index_d$6_OrderPageUrls as OrderPageUrls, type index_d$6_OrderPaid as OrderPaid, type index_d$6_OrderReservationCreatedEnvelope as OrderReservationCreatedEnvelope, type index_d$6_OrderReservationUpdatedEnvelope as OrderReservationUpdatedEnvelope, OrderStatus$1 as OrderStatus, index_d$6_OrderTag as OrderTag, index_d$6_OrderType as OrderType, type OrderUpdated$1 as OrderUpdated, type index_d$6_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$6_PaidPlanBenefit as PaidPlanBenefit, type index_d$6_PaidPlanDiscount as PaidPlanDiscount, type index_d$6_PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOf, type index_d$6_PaymentDetails as PaymentDetails, type index_d$6_PaymentTransaction as PaymentTransaction, type index_d$6_PaymentTransactionEvent as PaymentTransactionEvent, type index_d$6_PaymentTransactionSummary as PaymentTransactionSummary, type index_d$6_PercentDiscount as PercentDiscount, type index_d$6_PosCheckoutOptions as PosCheckoutOptions, type index_d$6_PosCheckoutRequest as PosCheckoutRequest, type index_d$6_PosCheckoutResponse as PosCheckoutResponse, type index_d$6_PosCheckoutResponseNonNullableFields as PosCheckoutResponseNonNullableFields, type PricingOption$1 as PricingOption, type PricingOptions$2 as PricingOptions, type index_d$6_QueryAvailableTicketsOptions as QueryAvailableTicketsOptions, type index_d$6_QueryAvailableTicketsRequest as QueryAvailableTicketsRequest, type index_d$6_QueryAvailableTicketsResponse as QueryAvailableTicketsResponse, type index_d$6_QueryAvailableTicketsResponseNonNullableFields as QueryAvailableTicketsResponseNonNullableFields, type index_d$6_RawHttpResponse as RawHttpResponse, type ReservationCount$1 as ReservationCount, type ReservationCreated$1 as ReservationCreated, ReservationStatus$1 as ReservationStatus, type ReservationUpdated$1 as ReservationUpdated, type ResponseMetaData$1 as ResponseMetaData, type StandardDetails$2 as StandardDetails, State$4 as State, type StreetAddress$5 as StreetAddress, type Subdivision$5 as Subdivision, SubdivisionType$5 as SubdivisionType, type index_d$6_Tax as Tax, TaxType$2 as TaxType, type Ticket$1 as Ticket, type TicketDefinition$2 as TicketDefinition, TicketDefinitionFieldset$1 as TicketDefinitionFieldset, type TicketDetails$1 as TicketDetails, type TicketPricing$1 as TicketPricing, type TicketPricingPriceOneOf$1 as TicketPricingPriceOneOf, type TicketQuantity$1 as TicketQuantity, type index_d$6_TicketReservation as TicketReservation, type index_d$6_TicketReservationQuantity as TicketReservationQuantity, type TicketSalePeriod$1 as TicketSalePeriod, TicketSaleStatus$1 as TicketSaleStatus, type index_d$6_TicketSales as TicketSales, type TicketingTicket$1 as TicketingTicket, Type$3 as Type, type index_d$6_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$6_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$6_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$6_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$6_UpdateOrderIdentifiers as UpdateOrderIdentifiers, type index_d$6_UpdateOrderOptions as UpdateOrderOptions, type index_d$6_UpdateOrderRequest as UpdateOrderRequest, type index_d$6_UpdateOrderResponse as UpdateOrderResponse, type index_d$6_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, WebhookIdentityType$6 as WebhookIdentityType, type WixFeeConfig$1 as WixFeeConfig, type index_d$6__publicBulkUpdateOrdersType as _publicBulkUpdateOrdersType, type index_d$6__publicCancelReservationType as _publicCancelReservationType, type index_d$6__publicCheckoutType as _publicCheckoutType, type index_d$6__publicConfirmOrderType as _publicConfirmOrderType, type index_d$6__publicCreateReservationType as _publicCreateReservationType, type index_d$6__publicGetCheckoutOptionsType as _publicGetCheckoutOptionsType, type index_d$6__publicGetInvoiceType as _publicGetInvoiceType, type index_d$6__publicGetOrderType as _publicGetOrderType, type index_d$6__publicGetSummaryType as _publicGetSummaryType, type index_d$6__publicListAvailableTicketsType as _publicListAvailableTicketsType, type index_d$6__publicListOrdersType as _publicListOrdersType, type index_d$6__publicOnOrderConfirmedType as _publicOnOrderConfirmedType, type index_d$6__publicOnOrderDeletedType as _publicOnOrderDeletedType, type index_d$6__publicOnOrderInitiatedType as _publicOnOrderInitiatedType, type index_d$6__publicOnOrderReservationCreatedType as _publicOnOrderReservationCreatedType, type index_d$6__publicOnOrderReservationUpdatedType as _publicOnOrderReservationUpdatedType, type index_d$6__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, type index_d$6__publicPosCheckoutType as _publicPosCheckoutType, type index_d$6__publicQueryAvailableTicketsType as _publicQueryAvailableTicketsType, type index_d$6__publicUpdateCheckoutType as _publicUpdateCheckoutType, type index_d$6__publicUpdateOrderType as _publicUpdateOrderType, index_d$6_bulkUpdateOrders as bulkUpdateOrders, index_d$6_cancelReservation as cancelReservation, index_d$6_checkout as checkout, index_d$6_confirmOrder as confirmOrder, index_d$6_createReservation as createReservation, index_d$6_getCheckoutOptions as getCheckoutOptions, index_d$6_getInvoice as getInvoice, index_d$6_getOrder as getOrder, index_d$6_getSummary as getSummary, index_d$6_listAvailableTickets as listAvailableTickets, index_d$6_listOrders as listOrders, index_d$6_onOrderConfirmed as onOrderConfirmed, index_d$6_onOrderDeleted as onOrderDeleted, index_d$6_onOrderInitiated as onOrderInitiated, index_d$6_onOrderReservationCreated as onOrderReservationCreated, index_d$6_onOrderReservationUpdated as onOrderReservationUpdated, index_d$6_onOrderUpdated as onOrderUpdated, index_d$6_posCheckout as posCheckout, onOrderConfirmed$1 as publicOnOrderConfirmed, onOrderDeleted$1 as publicOnOrderDeleted, onOrderInitiated$1 as publicOnOrderInitiated, onOrderReservationCreated$1 as publicOnOrderReservationCreated, onOrderReservationUpdated$1 as publicOnOrderReservationUpdated, onOrderUpdated$1 as publicOnOrderUpdated, index_d$6_queryAvailableTickets as queryAvailableTickets, index_d$6_updateCheckout as updateCheckout, index_d$6_updateOrder as updateOrder };
|
|
9312
10131
|
}
|
|
9313
10132
|
|
|
9314
10133
|
interface Rsvp {
|
|
@@ -9772,6 +10591,16 @@ interface BulkUpdateRsvpResponse {
|
|
|
9772
10591
|
/** Updated RSVPs. */
|
|
9773
10592
|
rsvps?: Rsvp[];
|
|
9774
10593
|
}
|
|
10594
|
+
interface BulkUpdateRsvpContactIdRequest {
|
|
10595
|
+
/** Event ID. */
|
|
10596
|
+
eventId?: string | null;
|
|
10597
|
+
/** RSVPs to update. */
|
|
10598
|
+
rsvpId?: string[] | null;
|
|
10599
|
+
/** New RSVP contact ID. */
|
|
10600
|
+
contactId?: string | null;
|
|
10601
|
+
}
|
|
10602
|
+
interface BulkUpdateRsvpContactIdResponse {
|
|
10603
|
+
}
|
|
9775
10604
|
interface DeleteRsvpRequest {
|
|
9776
10605
|
/** Event ID to which RSVP belongs. */
|
|
9777
10606
|
eventId: string;
|
|
@@ -9818,6 +10647,26 @@ interface DeleteRsvpCheckInResponse {
|
|
|
9818
10647
|
/** Updated RSVP. */
|
|
9819
10648
|
rsvp?: Rsvp;
|
|
9820
10649
|
}
|
|
10650
|
+
interface FindRsvpSummaryRequest {
|
|
10651
|
+
/** Event id. */
|
|
10652
|
+
eventId?: string | null;
|
|
10653
|
+
/** Consistent read. */
|
|
10654
|
+
consistentRead?: boolean | null;
|
|
10655
|
+
}
|
|
10656
|
+
interface FindRsvpSummaryResponse {
|
|
10657
|
+
/** RSVP summary. */
|
|
10658
|
+
rsvpSummary?: RsvpSummary$2;
|
|
10659
|
+
}
|
|
10660
|
+
interface RsvpSummary$2 {
|
|
10661
|
+
/** Total number of RSVPs. */
|
|
10662
|
+
total?: number;
|
|
10663
|
+
/** Number of RSVPs with status `YES`. */
|
|
10664
|
+
yes?: number;
|
|
10665
|
+
/** Number of RSVPs with status `NO`. */
|
|
10666
|
+
no?: number;
|
|
10667
|
+
/** Number of RSVPs in waitlist. */
|
|
10668
|
+
waitlist?: number;
|
|
10669
|
+
}
|
|
9821
10670
|
interface MessageEnvelope$5 {
|
|
9822
10671
|
/** App instance ID. */
|
|
9823
10672
|
instanceId?: string | null;
|
|
@@ -10107,23 +10956,127 @@ interface DeleteRsvpCheckInOptions {
|
|
|
10107
10956
|
guestId?: number[];
|
|
10108
10957
|
}
|
|
10109
10958
|
|
|
10959
|
+
declare function listRsvp$1(httpClient: HttpClient): ListRsvpSignature;
|
|
10960
|
+
interface ListRsvpSignature {
|
|
10961
|
+
/**
|
|
10962
|
+
* Retrieves a list of up to 100 RSVPs.
|
|
10963
|
+
* @param - Optional fields.
|
|
10964
|
+
*/
|
|
10965
|
+
(options?: ListRsvpOptions | undefined): Promise<ListRsvpResponse & ListRsvpResponseNonNullableFields>;
|
|
10966
|
+
}
|
|
10967
|
+
declare function queryRsvp$1(httpClient: HttpClient): QueryRsvpSignature;
|
|
10968
|
+
interface QueryRsvpSignature {
|
|
10969
|
+
/**
|
|
10970
|
+
* Retrieves a list of up to 100 RSVPs.
|
|
10971
|
+
* @param - Optional fields.
|
|
10972
|
+
*/
|
|
10973
|
+
(options?: QueryRsvpOptions | undefined): Promise<QueryRsvpResponse & QueryRsvpResponseNonNullableFields>;
|
|
10974
|
+
}
|
|
10975
|
+
declare function getRsvp$1(httpClient: HttpClient): GetRsvpSignature;
|
|
10976
|
+
interface GetRsvpSignature {
|
|
10977
|
+
/**
|
|
10978
|
+
* Retrieves an RSVP.
|
|
10979
|
+
* @param - RSVP ID.
|
|
10980
|
+
* @param - Optional fields.
|
|
10981
|
+
* @returns RSVP.
|
|
10982
|
+
*/
|
|
10983
|
+
(rsvpId: string, options?: GetRsvpOptions | undefined): Promise<Rsvp & RsvpNonNullableFields>;
|
|
10984
|
+
}
|
|
10985
|
+
declare function createRsvp$1(httpClient: HttpClient): CreateRsvpSignature;
|
|
10986
|
+
interface CreateRsvpSignature {
|
|
10987
|
+
/**
|
|
10988
|
+
* Creates an RSVP, associated with a contact of the site.
|
|
10989
|
+
* @param - Optional fields.
|
|
10990
|
+
*/
|
|
10991
|
+
(options?: CreateRsvpOptions | undefined): Promise<CreateRsvpResponse & CreateRsvpResponseNonNullableFields>;
|
|
10992
|
+
}
|
|
10993
|
+
declare function updateRsvp$1(httpClient: HttpClient): UpdateRsvpSignature;
|
|
10994
|
+
interface UpdateRsvpSignature {
|
|
10995
|
+
/**
|
|
10996
|
+
* Updates an RSVP.
|
|
10997
|
+
* @param - RSVP ID.
|
|
10998
|
+
* @param - Event ID to which RSVP belongs.
|
|
10999
|
+
* @param - Optional fields.
|
|
11000
|
+
*/
|
|
11001
|
+
(rsvpId: string, eventId: string, options?: UpdateRsvpOptions | undefined): Promise<UpdateRsvpResponse & UpdateRsvpResponseNonNullableFields>;
|
|
11002
|
+
}
|
|
11003
|
+
declare function bulkUpdateRsvp$1(httpClient: HttpClient): BulkUpdateRsvpSignature;
|
|
11004
|
+
interface BulkUpdateRsvpSignature {
|
|
11005
|
+
/**
|
|
11006
|
+
* Updates statuses of multiple RSVPs.
|
|
11007
|
+
* @param - Event ID to which RSVP belongs.
|
|
11008
|
+
* @param - Optional fields.
|
|
11009
|
+
*/
|
|
11010
|
+
(eventId: string, options?: BulkUpdateRsvpOptions | undefined): Promise<BulkUpdateRsvpResponse & BulkUpdateRsvpResponseNonNullableFields>;
|
|
11011
|
+
}
|
|
11012
|
+
declare function deleteRsvp$1(httpClient: HttpClient): DeleteRsvpSignature;
|
|
11013
|
+
interface DeleteRsvpSignature {
|
|
11014
|
+
/**
|
|
11015
|
+
* Deletes an RSVP.
|
|
11016
|
+
* @param - Event ID to which RSVP belongs.
|
|
11017
|
+
* @param - Optional fields.
|
|
11018
|
+
*/
|
|
11019
|
+
(eventId: string, options?: DeleteRsvpOptions | undefined): Promise<void>;
|
|
11020
|
+
}
|
|
11021
|
+
declare function checkInRsvp$1(httpClient: HttpClient): CheckInRsvpSignature;
|
|
11022
|
+
interface CheckInRsvpSignature {
|
|
11023
|
+
/**
|
|
11024
|
+
* Checks-in an RSVP.
|
|
11025
|
+
* @param - Event ID to which RSVP belongs.
|
|
11026
|
+
* @param - Optional fields.
|
|
11027
|
+
*/
|
|
11028
|
+
(eventId: string, options?: CheckInRsvpOptions | undefined): Promise<CheckInRsvpResponse & CheckInRsvpResponseNonNullableFields>;
|
|
11029
|
+
}
|
|
11030
|
+
declare function deleteRsvpCheckIn$1(httpClient: HttpClient): DeleteRsvpCheckInSignature;
|
|
11031
|
+
interface DeleteRsvpCheckInSignature {
|
|
11032
|
+
/**
|
|
11033
|
+
* Deletes an RSVP check-in.
|
|
11034
|
+
* @param - Event ID to which RSVP belongs.
|
|
11035
|
+
* @param - Optional fields.
|
|
11036
|
+
*/
|
|
11037
|
+
(eventId: string, options?: DeleteRsvpCheckInOptions | undefined): Promise<DeleteRsvpCheckInResponse & DeleteRsvpCheckInResponseNonNullableFields>;
|
|
11038
|
+
}
|
|
11039
|
+
declare const onRsvpCreated$1: EventDefinition<RsvpCreatedEnvelope, "wix.events.rsvp.events.RsvpCreated">;
|
|
11040
|
+
declare const onRsvpUpdated$1: EventDefinition<RsvpUpdatedEnvelope, "wix.events.rsvp.events.RsvpUpdated">;
|
|
11041
|
+
declare const onRsvpDeleted$1: EventDefinition<RsvpDeletedEnvelope, "wix.events.rsvp.events.RsvpDeleted">;
|
|
11042
|
+
|
|
10110
11043
|
declare function createRESTModule$5<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
10111
11044
|
|
|
10112
11045
|
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
10113
11046
|
|
|
10114
|
-
|
|
10115
|
-
declare const
|
|
10116
|
-
|
|
10117
|
-
declare const
|
|
10118
|
-
|
|
10119
|
-
declare const
|
|
10120
|
-
|
|
10121
|
-
declare const
|
|
10122
|
-
|
|
10123
|
-
declare const
|
|
10124
|
-
|
|
10125
|
-
declare const
|
|
11047
|
+
type _publicListRsvpType = typeof listRsvp$1;
|
|
11048
|
+
declare const listRsvp: ReturnType<typeof createRESTModule$5<_publicListRsvpType>>;
|
|
11049
|
+
type _publicQueryRsvpType = typeof queryRsvp$1;
|
|
11050
|
+
declare const queryRsvp: ReturnType<typeof createRESTModule$5<_publicQueryRsvpType>>;
|
|
11051
|
+
type _publicGetRsvpType = typeof getRsvp$1;
|
|
11052
|
+
declare const getRsvp: ReturnType<typeof createRESTModule$5<_publicGetRsvpType>>;
|
|
11053
|
+
type _publicCreateRsvpType = typeof createRsvp$1;
|
|
11054
|
+
declare const createRsvp: ReturnType<typeof createRESTModule$5<_publicCreateRsvpType>>;
|
|
11055
|
+
type _publicUpdateRsvpType = typeof updateRsvp$1;
|
|
11056
|
+
declare const updateRsvp: ReturnType<typeof createRESTModule$5<_publicUpdateRsvpType>>;
|
|
11057
|
+
type _publicBulkUpdateRsvpType = typeof bulkUpdateRsvp$1;
|
|
11058
|
+
declare const bulkUpdateRsvp: ReturnType<typeof createRESTModule$5<_publicBulkUpdateRsvpType>>;
|
|
11059
|
+
type _publicDeleteRsvpType = typeof deleteRsvp$1;
|
|
11060
|
+
declare const deleteRsvp: ReturnType<typeof createRESTModule$5<_publicDeleteRsvpType>>;
|
|
11061
|
+
type _publicCheckInRsvpType = typeof checkInRsvp$1;
|
|
11062
|
+
declare const checkInRsvp: ReturnType<typeof createRESTModule$5<_publicCheckInRsvpType>>;
|
|
11063
|
+
type _publicDeleteRsvpCheckInType = typeof deleteRsvpCheckIn$1;
|
|
11064
|
+
declare const deleteRsvpCheckIn: ReturnType<typeof createRESTModule$5<_publicDeleteRsvpCheckInType>>;
|
|
11065
|
+
|
|
11066
|
+
type _publicOnRsvpCreatedType = typeof onRsvpCreated$1;
|
|
11067
|
+
/** */
|
|
11068
|
+
declare const onRsvpCreated: ReturnType<typeof createEventModule$5<_publicOnRsvpCreatedType>>;
|
|
11069
|
+
|
|
11070
|
+
type _publicOnRsvpUpdatedType = typeof onRsvpUpdated$1;
|
|
11071
|
+
/** */
|
|
11072
|
+
declare const onRsvpUpdated: ReturnType<typeof createEventModule$5<_publicOnRsvpUpdatedType>>;
|
|
10126
11073
|
|
|
11074
|
+
type _publicOnRsvpDeletedType = typeof onRsvpDeleted$1;
|
|
11075
|
+
/** */
|
|
11076
|
+
declare const onRsvpDeleted: ReturnType<typeof createEventModule$5<_publicOnRsvpDeletedType>>;
|
|
11077
|
+
|
|
11078
|
+
type index_d$5_BulkUpdateRsvpContactIdRequest = BulkUpdateRsvpContactIdRequest;
|
|
11079
|
+
type index_d$5_BulkUpdateRsvpContactIdResponse = BulkUpdateRsvpContactIdResponse;
|
|
10127
11080
|
type index_d$5_BulkUpdateRsvpOptions = BulkUpdateRsvpOptions;
|
|
10128
11081
|
type index_d$5_BulkUpdateRsvpRequest = BulkUpdateRsvpRequest;
|
|
10129
11082
|
type index_d$5_BulkUpdateRsvpResponse = BulkUpdateRsvpResponse;
|
|
@@ -10143,6 +11096,8 @@ type index_d$5_DeleteRsvpCheckInResponseNonNullableFields = DeleteRsvpCheckInRes
|
|
|
10143
11096
|
type index_d$5_DeleteRsvpOptions = DeleteRsvpOptions;
|
|
10144
11097
|
type index_d$5_DeleteRsvpRequest = DeleteRsvpRequest;
|
|
10145
11098
|
type index_d$5_DeleteRsvpResponse = DeleteRsvpResponse;
|
|
11099
|
+
type index_d$5_FindRsvpSummaryRequest = FindRsvpSummaryRequest;
|
|
11100
|
+
type index_d$5_FindRsvpSummaryResponse = FindRsvpSummaryResponse;
|
|
10146
11101
|
type index_d$5_GetRsvpOptions = GetRsvpOptions;
|
|
10147
11102
|
type index_d$5_GetRsvpRequest = GetRsvpRequest;
|
|
10148
11103
|
type index_d$5_GetRsvpResponse = GetRsvpResponse;
|
|
@@ -10177,6 +11132,18 @@ type index_d$5_UpdateRsvpOptions = UpdateRsvpOptions;
|
|
|
10177
11132
|
type index_d$5_UpdateRsvpRequest = UpdateRsvpRequest;
|
|
10178
11133
|
type index_d$5_UpdateRsvpResponse = UpdateRsvpResponse;
|
|
10179
11134
|
type index_d$5_UpdateRsvpResponseNonNullableFields = UpdateRsvpResponseNonNullableFields;
|
|
11135
|
+
type index_d$5__publicBulkUpdateRsvpType = _publicBulkUpdateRsvpType;
|
|
11136
|
+
type index_d$5__publicCheckInRsvpType = _publicCheckInRsvpType;
|
|
11137
|
+
type index_d$5__publicCreateRsvpType = _publicCreateRsvpType;
|
|
11138
|
+
type index_d$5__publicDeleteRsvpCheckInType = _publicDeleteRsvpCheckInType;
|
|
11139
|
+
type index_d$5__publicDeleteRsvpType = _publicDeleteRsvpType;
|
|
11140
|
+
type index_d$5__publicGetRsvpType = _publicGetRsvpType;
|
|
11141
|
+
type index_d$5__publicListRsvpType = _publicListRsvpType;
|
|
11142
|
+
type index_d$5__publicOnRsvpCreatedType = _publicOnRsvpCreatedType;
|
|
11143
|
+
type index_d$5__publicOnRsvpDeletedType = _publicOnRsvpDeletedType;
|
|
11144
|
+
type index_d$5__publicOnRsvpUpdatedType = _publicOnRsvpUpdatedType;
|
|
11145
|
+
type index_d$5__publicQueryRsvpType = _publicQueryRsvpType;
|
|
11146
|
+
type index_d$5__publicUpdateRsvpType = _publicUpdateRsvpType;
|
|
10180
11147
|
declare const index_d$5_bulkUpdateRsvp: typeof bulkUpdateRsvp;
|
|
10181
11148
|
declare const index_d$5_checkInRsvp: typeof checkInRsvp;
|
|
10182
11149
|
declare const index_d$5_createRsvp: typeof createRsvp;
|
|
@@ -10190,7 +11157,7 @@ declare const index_d$5_onRsvpUpdated: typeof onRsvpUpdated;
|
|
|
10190
11157
|
declare const index_d$5_queryRsvp: typeof queryRsvp;
|
|
10191
11158
|
declare const index_d$5_updateRsvp: typeof updateRsvp;
|
|
10192
11159
|
declare namespace index_d$5 {
|
|
10193
|
-
export { type Address$4 as Address, type AddressLocation$4 as AddressLocation, type AddressStreetOneOf$4 as AddressStreetOneOf, type BaseEventMetadata$5 as BaseEventMetadata, type index_d$5_BulkUpdateRsvpOptions as BulkUpdateRsvpOptions, type index_d$5_BulkUpdateRsvpRequest as BulkUpdateRsvpRequest, type index_d$5_BulkUpdateRsvpResponse as BulkUpdateRsvpResponse, type index_d$5_BulkUpdateRsvpResponseNonNullableFields as BulkUpdateRsvpResponseNonNullableFields, type CalendarLinks$2 as CalendarLinks, type CheckIn$1 as CheckIn, type index_d$5_CheckInRsvpOptions as CheckInRsvpOptions, type index_d$5_CheckInRsvpRequest as CheckInRsvpRequest, type index_d$5_CheckInRsvpResponse as CheckInRsvpResponse, type index_d$5_CheckInRsvpResponseNonNullableFields as CheckInRsvpResponseNonNullableFields, type Counts$1 as Counts, type index_d$5_CreateRsvpOptions as CreateRsvpOptions, type index_d$5_CreateRsvpRequest as CreateRsvpRequest, type index_d$5_CreateRsvpResponse as CreateRsvpResponse, type index_d$5_CreateRsvpResponseNonNullableFields as CreateRsvpResponseNonNullableFields, type index_d$5_DeleteRsvpCheckInOptions as DeleteRsvpCheckInOptions, type index_d$5_DeleteRsvpCheckInRequest as DeleteRsvpCheckInRequest, type index_d$5_DeleteRsvpCheckInResponse as DeleteRsvpCheckInResponse, type index_d$5_DeleteRsvpCheckInResponseNonNullableFields as DeleteRsvpCheckInResponseNonNullableFields, type index_d$5_DeleteRsvpOptions as DeleteRsvpOptions, type index_d$5_DeleteRsvpRequest as DeleteRsvpRequest, type index_d$5_DeleteRsvpResponse as DeleteRsvpResponse, type FacetCounts$4 as FacetCounts, type FormResponse$1 as FormResponse, type FormattedAddress$1 as FormattedAddress, type index_d$5_GetRsvpOptions as GetRsvpOptions, type index_d$5_GetRsvpRequest as GetRsvpRequest, type index_d$5_GetRsvpResponse as GetRsvpResponse, type index_d$5_GetRsvpResponseNonNullableFields as GetRsvpResponseNonNullableFields, type index_d$5_Guest as Guest, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type InputValue$1 as InputValue, type index_d$5_ListRsvpOptions as ListRsvpOptions, type index_d$5_ListRsvpRequest as ListRsvpRequest, type index_d$5_ListRsvpResponse as ListRsvpResponse, type index_d$5_ListRsvpResponseNonNullableFields as ListRsvpResponseNonNullableFields, type MessageEnvelope$5 as MessageEnvelope, type index_d$5_ModificationOptions as ModificationOptions, type OnlineConferencingLogin$1 as OnlineConferencingLogin, type index_d$5_QueryRsvpOptions as QueryRsvpOptions, type index_d$5_QueryRsvpRequest as QueryRsvpRequest, type index_d$5_QueryRsvpResponse as QueryRsvpResponse, type index_d$5_QueryRsvpResponseNonNullableFields as QueryRsvpResponseNonNullableFields, type index_d$5_Rsvp as Rsvp, type index_d$5_RsvpCreated as RsvpCreated, type index_d$5_RsvpCreatedEnvelope as RsvpCreatedEnvelope, type index_d$5_RsvpDeleted as RsvpDeleted, type index_d$5_RsvpDeletedEnvelope as RsvpDeletedEnvelope, type index_d$5_RsvpFacetCounts as RsvpFacetCounts, type index_d$5_RsvpFacets as RsvpFacets, index_d$5_RsvpFieldset as RsvpFieldset, type index_d$5_RsvpNonNullableFields as RsvpNonNullableFields, index_d$5_RsvpStatus as RsvpStatus, index_d$5_RsvpTag as RsvpTag, type index_d$5_RsvpUpdated as RsvpUpdated, type index_d$5_RsvpUpdatedEnvelope as RsvpUpdatedEnvelope, type StandardDetails$1 as StandardDetails, type StreetAddress$4 as StreetAddress, type Subdivision$4 as Subdivision, SubdivisionType$4 as SubdivisionType, type index_d$5_UpdateRsvpOptions as UpdateRsvpOptions, type index_d$5_UpdateRsvpRequest as UpdateRsvpRequest, type index_d$5_UpdateRsvpResponse as UpdateRsvpResponse, type index_d$5_UpdateRsvpResponseNonNullableFields as UpdateRsvpResponseNonNullableFields, WebhookIdentityType$5 as WebhookIdentityType, index_d$5_bulkUpdateRsvp as bulkUpdateRsvp, index_d$5_checkInRsvp as checkInRsvp, index_d$5_createRsvp as createRsvp, index_d$5_deleteRsvp as deleteRsvp, index_d$5_deleteRsvpCheckIn as deleteRsvpCheckIn, index_d$5_getRsvp as getRsvp, index_d$5_listRsvp as listRsvp, index_d$5_onRsvpCreated as onRsvpCreated, index_d$5_onRsvpDeleted as onRsvpDeleted, index_d$5_onRsvpUpdated as onRsvpUpdated, index_d$5_queryRsvp as queryRsvp, index_d$5_updateRsvp as updateRsvp };
|
|
11160
|
+
export { type Address$4 as Address, type AddressLocation$4 as AddressLocation, type AddressStreetOneOf$4 as AddressStreetOneOf, type BaseEventMetadata$5 as BaseEventMetadata, type index_d$5_BulkUpdateRsvpContactIdRequest as BulkUpdateRsvpContactIdRequest, type index_d$5_BulkUpdateRsvpContactIdResponse as BulkUpdateRsvpContactIdResponse, type index_d$5_BulkUpdateRsvpOptions as BulkUpdateRsvpOptions, type index_d$5_BulkUpdateRsvpRequest as BulkUpdateRsvpRequest, type index_d$5_BulkUpdateRsvpResponse as BulkUpdateRsvpResponse, type index_d$5_BulkUpdateRsvpResponseNonNullableFields as BulkUpdateRsvpResponseNonNullableFields, type CalendarLinks$2 as CalendarLinks, type CheckIn$1 as CheckIn, type index_d$5_CheckInRsvpOptions as CheckInRsvpOptions, type index_d$5_CheckInRsvpRequest as CheckInRsvpRequest, type index_d$5_CheckInRsvpResponse as CheckInRsvpResponse, type index_d$5_CheckInRsvpResponseNonNullableFields as CheckInRsvpResponseNonNullableFields, type Counts$1 as Counts, type index_d$5_CreateRsvpOptions as CreateRsvpOptions, type index_d$5_CreateRsvpRequest as CreateRsvpRequest, type index_d$5_CreateRsvpResponse as CreateRsvpResponse, type index_d$5_CreateRsvpResponseNonNullableFields as CreateRsvpResponseNonNullableFields, type index_d$5_DeleteRsvpCheckInOptions as DeleteRsvpCheckInOptions, type index_d$5_DeleteRsvpCheckInRequest as DeleteRsvpCheckInRequest, type index_d$5_DeleteRsvpCheckInResponse as DeleteRsvpCheckInResponse, type index_d$5_DeleteRsvpCheckInResponseNonNullableFields as DeleteRsvpCheckInResponseNonNullableFields, type index_d$5_DeleteRsvpOptions as DeleteRsvpOptions, type index_d$5_DeleteRsvpRequest as DeleteRsvpRequest, type index_d$5_DeleteRsvpResponse as DeleteRsvpResponse, type FacetCounts$4 as FacetCounts, type index_d$5_FindRsvpSummaryRequest as FindRsvpSummaryRequest, type index_d$5_FindRsvpSummaryResponse as FindRsvpSummaryResponse, type FormResponse$1 as FormResponse, type FormattedAddress$1 as FormattedAddress, type index_d$5_GetRsvpOptions as GetRsvpOptions, type index_d$5_GetRsvpRequest as GetRsvpRequest, type index_d$5_GetRsvpResponse as GetRsvpResponse, type index_d$5_GetRsvpResponseNonNullableFields as GetRsvpResponseNonNullableFields, type index_d$5_Guest as Guest, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type InputValue$1 as InputValue, type index_d$5_ListRsvpOptions as ListRsvpOptions, type index_d$5_ListRsvpRequest as ListRsvpRequest, type index_d$5_ListRsvpResponse as ListRsvpResponse, type index_d$5_ListRsvpResponseNonNullableFields as ListRsvpResponseNonNullableFields, type MessageEnvelope$5 as MessageEnvelope, type index_d$5_ModificationOptions as ModificationOptions, type OnlineConferencingLogin$1 as OnlineConferencingLogin, type index_d$5_QueryRsvpOptions as QueryRsvpOptions, type index_d$5_QueryRsvpRequest as QueryRsvpRequest, type index_d$5_QueryRsvpResponse as QueryRsvpResponse, type index_d$5_QueryRsvpResponseNonNullableFields as QueryRsvpResponseNonNullableFields, type index_d$5_Rsvp as Rsvp, type index_d$5_RsvpCreated as RsvpCreated, type index_d$5_RsvpCreatedEnvelope as RsvpCreatedEnvelope, type index_d$5_RsvpDeleted as RsvpDeleted, type index_d$5_RsvpDeletedEnvelope as RsvpDeletedEnvelope, type index_d$5_RsvpFacetCounts as RsvpFacetCounts, type index_d$5_RsvpFacets as RsvpFacets, index_d$5_RsvpFieldset as RsvpFieldset, type index_d$5_RsvpNonNullableFields as RsvpNonNullableFields, index_d$5_RsvpStatus as RsvpStatus, type RsvpSummary$2 as RsvpSummary, index_d$5_RsvpTag as RsvpTag, type index_d$5_RsvpUpdated as RsvpUpdated, type index_d$5_RsvpUpdatedEnvelope as RsvpUpdatedEnvelope, type StandardDetails$1 as StandardDetails, type StreetAddress$4 as StreetAddress, type Subdivision$4 as Subdivision, SubdivisionType$4 as SubdivisionType, type index_d$5_UpdateRsvpOptions as UpdateRsvpOptions, type index_d$5_UpdateRsvpRequest as UpdateRsvpRequest, type index_d$5_UpdateRsvpResponse as UpdateRsvpResponse, type index_d$5_UpdateRsvpResponseNonNullableFields as UpdateRsvpResponseNonNullableFields, WebhookIdentityType$5 as WebhookIdentityType, type index_d$5__publicBulkUpdateRsvpType as _publicBulkUpdateRsvpType, type index_d$5__publicCheckInRsvpType as _publicCheckInRsvpType, type index_d$5__publicCreateRsvpType as _publicCreateRsvpType, type index_d$5__publicDeleteRsvpCheckInType as _publicDeleteRsvpCheckInType, type index_d$5__publicDeleteRsvpType as _publicDeleteRsvpType, type index_d$5__publicGetRsvpType as _publicGetRsvpType, type index_d$5__publicListRsvpType as _publicListRsvpType, type index_d$5__publicOnRsvpCreatedType as _publicOnRsvpCreatedType, type index_d$5__publicOnRsvpDeletedType as _publicOnRsvpDeletedType, type index_d$5__publicOnRsvpUpdatedType as _publicOnRsvpUpdatedType, type index_d$5__publicQueryRsvpType as _publicQueryRsvpType, type index_d$5__publicUpdateRsvpType as _publicUpdateRsvpType, index_d$5_bulkUpdateRsvp as bulkUpdateRsvp, index_d$5_checkInRsvp as checkInRsvp, index_d$5_createRsvp as createRsvp, index_d$5_deleteRsvp as deleteRsvp, index_d$5_deleteRsvpCheckIn as deleteRsvpCheckIn, index_d$5_getRsvp as getRsvp, index_d$5_listRsvp as listRsvp, index_d$5_onRsvpCreated as onRsvpCreated, index_d$5_onRsvpDeleted as onRsvpDeleted, index_d$5_onRsvpUpdated as onRsvpUpdated, onRsvpCreated$1 as publicOnRsvpCreated, onRsvpDeleted$1 as publicOnRsvpDeleted, onRsvpUpdated$1 as publicOnRsvpUpdated, index_d$5_queryRsvp as queryRsvp, index_d$5_updateRsvp as updateRsvp };
|
|
10194
11161
|
}
|
|
10195
11162
|
|
|
10196
11163
|
interface TicketingTicket {
|
|
@@ -10938,17 +11905,87 @@ interface BulkUpdateTicketsOptions {
|
|
|
10938
11905
|
archived?: boolean;
|
|
10939
11906
|
}
|
|
10940
11907
|
|
|
11908
|
+
declare function listTickets$1(httpClient: HttpClient): ListTicketsSignature;
|
|
11909
|
+
interface ListTicketsSignature {
|
|
11910
|
+
/**
|
|
11911
|
+
* Retrieves a list of up to 100 tickets.
|
|
11912
|
+
*
|
|
11913
|
+
* <!--
|
|
11914
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
11915
|
+
* -->
|
|
11916
|
+
* @param - Event IDs.
|
|
11917
|
+
* @param - Options for defining the returned list of tickets.
|
|
11918
|
+
*/
|
|
11919
|
+
(eventId: string[], options?: ListTicketsOptions | undefined): Promise<ListTicketsResponse & ListTicketsResponseNonNullableFields>;
|
|
11920
|
+
}
|
|
11921
|
+
declare function getTicket$1(httpClient: HttpClient): GetTicketSignature;
|
|
11922
|
+
interface GetTicketSignature {
|
|
11923
|
+
/**
|
|
11924
|
+
* Retrieves a ticket by the unique ticket number.
|
|
11925
|
+
* @param - Details for the ticket to retrieve.
|
|
11926
|
+
* @param - Options for the returned ticket data.
|
|
11927
|
+
* @returns Ticket.
|
|
11928
|
+
*/
|
|
11929
|
+
(identifiers: GetTicketIdentifiers, options?: GetTicketOptions | undefined): Promise<TicketingTicket & TicketingTicketNonNullableFields>;
|
|
11930
|
+
}
|
|
11931
|
+
declare function checkInTickets$1(httpClient: HttpClient): CheckInTicketsSignature;
|
|
11932
|
+
interface CheckInTicketsSignature {
|
|
11933
|
+
/**
|
|
11934
|
+
* Checks in 1 or more tickets.
|
|
11935
|
+
* @param - Event ID to which the ticket belongs.
|
|
11936
|
+
* @param - Options for tickets to check-in.
|
|
11937
|
+
*/
|
|
11938
|
+
(eventId: string, options?: CheckInTicketsOptions | undefined): Promise<CheckInTicketResponse & CheckInTicketResponseNonNullableFields>;
|
|
11939
|
+
}
|
|
11940
|
+
declare function deleteTicketCheckIns$1(httpClient: HttpClient): DeleteTicketCheckInsSignature;
|
|
11941
|
+
interface DeleteTicketCheckInsSignature {
|
|
11942
|
+
/**
|
|
11943
|
+
* Deletes check-ins for 1 or more tickets.
|
|
11944
|
+
* @param - Event ID to which the ticket belongs.
|
|
11945
|
+
* @param - Options for tickets to delete.
|
|
11946
|
+
*/
|
|
11947
|
+
(eventId: string, options?: DeleteTicketCheckInsOptions | undefined): Promise<DeleteTicketCheckInResponse & DeleteTicketCheckInResponseNonNullableFields>;
|
|
11948
|
+
}
|
|
11949
|
+
declare function updateTicket$1(httpClient: HttpClient): UpdateTicketSignature;
|
|
11950
|
+
interface UpdateTicketSignature {
|
|
11951
|
+
/**
|
|
11952
|
+
* Updates a ticket.
|
|
11953
|
+
* @param - Details for the ticket to update.
|
|
11954
|
+
* @param - Ticket details to update.
|
|
11955
|
+
*/
|
|
11956
|
+
(identifiers: UpdateTicketIdentifiers, options?: UpdateTicketOptions | undefined): Promise<UpdateTicketResponse & UpdateTicketResponseNonNullableFields>;
|
|
11957
|
+
}
|
|
11958
|
+
declare function bulkUpdateTickets$1(httpClient: HttpClient): BulkUpdateTicketsSignature;
|
|
11959
|
+
interface BulkUpdateTicketsSignature {
|
|
11960
|
+
/**
|
|
11961
|
+
* Archives multiple tickets.
|
|
11962
|
+
* @param - Options for updating the tickets.
|
|
11963
|
+
* @param - Event ID to which the ticket belongs.
|
|
11964
|
+
*/
|
|
11965
|
+
(eventId: string, options?: BulkUpdateTicketsOptions | undefined): Promise<BulkUpdateTicketsResponse & BulkUpdateTicketsResponseNonNullableFields>;
|
|
11966
|
+
}
|
|
11967
|
+
declare const onTicketOrderUpdated$1: EventDefinition<TicketOrderUpdatedEnvelope, "wix.events.ticketing.events.OrderUpdated">;
|
|
11968
|
+
|
|
10941
11969
|
declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
10942
11970
|
|
|
10943
11971
|
declare function createEventModule$4<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
10944
11972
|
|
|
10945
|
-
|
|
10946
|
-
declare const
|
|
10947
|
-
|
|
10948
|
-
declare const
|
|
10949
|
-
|
|
10950
|
-
declare const
|
|
10951
|
-
|
|
11973
|
+
type _publicListTicketsType = typeof listTickets$1;
|
|
11974
|
+
declare const listTickets: ReturnType<typeof createRESTModule$4<_publicListTicketsType>>;
|
|
11975
|
+
type _publicGetTicketType = typeof getTicket$1;
|
|
11976
|
+
declare const getTicket: ReturnType<typeof createRESTModule$4<_publicGetTicketType>>;
|
|
11977
|
+
type _publicCheckInTicketsType = typeof checkInTickets$1;
|
|
11978
|
+
declare const checkInTickets: ReturnType<typeof createRESTModule$4<_publicCheckInTicketsType>>;
|
|
11979
|
+
type _publicDeleteTicketCheckInsType = typeof deleteTicketCheckIns$1;
|
|
11980
|
+
declare const deleteTicketCheckIns: ReturnType<typeof createRESTModule$4<_publicDeleteTicketCheckInsType>>;
|
|
11981
|
+
type _publicUpdateTicketType = typeof updateTicket$1;
|
|
11982
|
+
declare const updateTicket: ReturnType<typeof createRESTModule$4<_publicUpdateTicketType>>;
|
|
11983
|
+
type _publicBulkUpdateTicketsType = typeof bulkUpdateTickets$1;
|
|
11984
|
+
declare const bulkUpdateTickets: ReturnType<typeof createRESTModule$4<_publicBulkUpdateTicketsType>>;
|
|
11985
|
+
|
|
11986
|
+
type _publicOnTicketOrderUpdatedType = typeof onTicketOrderUpdated$1;
|
|
11987
|
+
/** */
|
|
11988
|
+
declare const onTicketOrderUpdated: ReturnType<typeof createEventModule$4<_publicOnTicketOrderUpdatedType>>;
|
|
10952
11989
|
|
|
10953
11990
|
type index_d$4_BulkUpdateTicketsOptions = BulkUpdateTicketsOptions;
|
|
10954
11991
|
type index_d$4_BulkUpdateTicketsRequest = BulkUpdateTicketsRequest;
|
|
@@ -11001,6 +12038,13 @@ type index_d$4_UpdateTicketOptions = UpdateTicketOptions;
|
|
|
11001
12038
|
type index_d$4_UpdateTicketRequest = UpdateTicketRequest;
|
|
11002
12039
|
type index_d$4_UpdateTicketResponse = UpdateTicketResponse;
|
|
11003
12040
|
type index_d$4_UpdateTicketResponseNonNullableFields = UpdateTicketResponseNonNullableFields;
|
|
12041
|
+
type index_d$4__publicBulkUpdateTicketsType = _publicBulkUpdateTicketsType;
|
|
12042
|
+
type index_d$4__publicCheckInTicketsType = _publicCheckInTicketsType;
|
|
12043
|
+
type index_d$4__publicDeleteTicketCheckInsType = _publicDeleteTicketCheckInsType;
|
|
12044
|
+
type index_d$4__publicGetTicketType = _publicGetTicketType;
|
|
12045
|
+
type index_d$4__publicListTicketsType = _publicListTicketsType;
|
|
12046
|
+
type index_d$4__publicOnTicketOrderUpdatedType = _publicOnTicketOrderUpdatedType;
|
|
12047
|
+
type index_d$4__publicUpdateTicketType = _publicUpdateTicketType;
|
|
11004
12048
|
declare const index_d$4_bulkUpdateTickets: typeof bulkUpdateTickets;
|
|
11005
12049
|
declare const index_d$4_checkInTickets: typeof checkInTickets;
|
|
11006
12050
|
declare const index_d$4_deleteTicketCheckIns: typeof deleteTicketCheckIns;
|
|
@@ -11009,7 +12053,7 @@ declare const index_d$4_listTickets: typeof listTickets;
|
|
|
11009
12053
|
declare const index_d$4_onTicketOrderUpdated: typeof onTicketOrderUpdated;
|
|
11010
12054
|
declare const index_d$4_updateTicket: typeof updateTicket;
|
|
11011
12055
|
declare namespace index_d$4 {
|
|
11012
|
-
export { type Address$3 as Address, type AddressLocation$3 as AddressLocation, type AddressStreetOneOf$3 as AddressStreetOneOf, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$4_BulkUpdateTicketsOptions as BulkUpdateTicketsOptions, type index_d$4_BulkUpdateTicketsRequest as BulkUpdateTicketsRequest, type index_d$4_BulkUpdateTicketsResponse as BulkUpdateTicketsResponse, type index_d$4_BulkUpdateTicketsResponseNonNullableFields as BulkUpdateTicketsResponseNonNullableFields, index_d$4_ChannelType as ChannelType, type index_d$4_CheckIn as CheckIn, type index_d$4_CheckInTicketRequest as CheckInTicketRequest, type index_d$4_CheckInTicketResponse as CheckInTicketResponse, type index_d$4_CheckInTicketResponseNonNullableFields as CheckInTicketResponseNonNullableFields, type index_d$4_CheckInTicketsOptions as CheckInTicketsOptions, type index_d$4_Counts as Counts, type index_d$4_DeleteTicketCheckInRequest as DeleteTicketCheckInRequest, type index_d$4_DeleteTicketCheckInResponse as DeleteTicketCheckInResponse, type index_d$4_DeleteTicketCheckInResponseNonNullableFields as DeleteTicketCheckInResponseNonNullableFields, type index_d$4_DeleteTicketCheckInsOptions as DeleteTicketCheckInsOptions, type FacetCounts$3 as FacetCounts, type index_d$4_FormResponse as FormResponse, type index_d$4_FormattedAddress as FormattedAddress, type index_d$4_GetDemoTicketRequest as GetDemoTicketRequest, type index_d$4_GetDemoTicketResponse as GetDemoTicketResponse, type index_d$4_GetTicketIdentifiers as GetTicketIdentifiers, type index_d$4_GetTicketOptions as GetTicketOptions, type index_d$4_GetTicketRequest as GetTicketRequest, type index_d$4_GetTicketResponse as GetTicketResponse, type index_d$4_GetTicketResponseNonNullableFields as GetTicketResponseNonNullableFields, type index_d$4_GuestDetails as GuestDetails, type index_d$4_GuestDetailsUpdate as GuestDetailsUpdate, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type index_d$4_InputValue as InputValue, type index_d$4_ListTicketsOptions as ListTicketsOptions, type index_d$4_ListTicketsRequest as ListTicketsRequest, type index_d$4_ListTicketsResponse as ListTicketsResponse, type index_d$4_ListTicketsResponseNonNullableFields as ListTicketsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type Money$3 as Money, type index_d$4_OnlineConferencingLogin as OnlineConferencingLogin, index_d$4_OrderStatus as OrderStatus, type index_d$4_OrderUpdated as OrderUpdated, type index_d$4_StandardDetails as StandardDetails, State$3 as State, type StreetAddress$3 as StreetAddress, type Subdivision$3 as Subdivision, SubdivisionType$3 as SubdivisionType, type index_d$4_Ticket as Ticket, type index_d$4_TicketDetails as TicketDetails, type index_d$4_TicketFacetCounts as TicketFacetCounts, type index_d$4_TicketFacets as TicketFacets, index_d$4_TicketFieldset as TicketFieldset, type index_d$4_TicketOrderUpdatedEnvelope as TicketOrderUpdatedEnvelope, type index_d$4_TicketingTicket as TicketingTicket, type index_d$4_TicketingTicketNonNullableFields as TicketingTicketNonNullableFields, type index_d$4_UpdateTicketIdentifiers as UpdateTicketIdentifiers, type index_d$4_UpdateTicketOptions as UpdateTicketOptions, type index_d$4_UpdateTicketRequest as UpdateTicketRequest, type index_d$4_UpdateTicketResponse as UpdateTicketResponse, type index_d$4_UpdateTicketResponseNonNullableFields as UpdateTicketResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, index_d$4_bulkUpdateTickets as bulkUpdateTickets, index_d$4_checkInTickets as checkInTickets, index_d$4_deleteTicketCheckIns as deleteTicketCheckIns, index_d$4_getTicket as getTicket, index_d$4_listTickets as listTickets, index_d$4_onTicketOrderUpdated as onTicketOrderUpdated, index_d$4_updateTicket as updateTicket };
|
|
12056
|
+
export { type Address$3 as Address, type AddressLocation$3 as AddressLocation, type AddressStreetOneOf$3 as AddressStreetOneOf, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$4_BulkUpdateTicketsOptions as BulkUpdateTicketsOptions, type index_d$4_BulkUpdateTicketsRequest as BulkUpdateTicketsRequest, type index_d$4_BulkUpdateTicketsResponse as BulkUpdateTicketsResponse, type index_d$4_BulkUpdateTicketsResponseNonNullableFields as BulkUpdateTicketsResponseNonNullableFields, index_d$4_ChannelType as ChannelType, type index_d$4_CheckIn as CheckIn, type index_d$4_CheckInTicketRequest as CheckInTicketRequest, type index_d$4_CheckInTicketResponse as CheckInTicketResponse, type index_d$4_CheckInTicketResponseNonNullableFields as CheckInTicketResponseNonNullableFields, type index_d$4_CheckInTicketsOptions as CheckInTicketsOptions, type index_d$4_Counts as Counts, type index_d$4_DeleteTicketCheckInRequest as DeleteTicketCheckInRequest, type index_d$4_DeleteTicketCheckInResponse as DeleteTicketCheckInResponse, type index_d$4_DeleteTicketCheckInResponseNonNullableFields as DeleteTicketCheckInResponseNonNullableFields, type index_d$4_DeleteTicketCheckInsOptions as DeleteTicketCheckInsOptions, type FacetCounts$3 as FacetCounts, type index_d$4_FormResponse as FormResponse, type index_d$4_FormattedAddress as FormattedAddress, type index_d$4_GetDemoTicketRequest as GetDemoTicketRequest, type index_d$4_GetDemoTicketResponse as GetDemoTicketResponse, type index_d$4_GetTicketIdentifiers as GetTicketIdentifiers, type index_d$4_GetTicketOptions as GetTicketOptions, type index_d$4_GetTicketRequest as GetTicketRequest, type index_d$4_GetTicketResponse as GetTicketResponse, type index_d$4_GetTicketResponseNonNullableFields as GetTicketResponseNonNullableFields, type index_d$4_GuestDetails as GuestDetails, type index_d$4_GuestDetailsUpdate as GuestDetailsUpdate, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, type index_d$4_InputValue as InputValue, type index_d$4_ListTicketsOptions as ListTicketsOptions, type index_d$4_ListTicketsRequest as ListTicketsRequest, type index_d$4_ListTicketsResponse as ListTicketsResponse, type index_d$4_ListTicketsResponseNonNullableFields as ListTicketsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type Money$3 as Money, type index_d$4_OnlineConferencingLogin as OnlineConferencingLogin, index_d$4_OrderStatus as OrderStatus, type index_d$4_OrderUpdated as OrderUpdated, type index_d$4_StandardDetails as StandardDetails, State$3 as State, type StreetAddress$3 as StreetAddress, type Subdivision$3 as Subdivision, SubdivisionType$3 as SubdivisionType, type index_d$4_Ticket as Ticket, type index_d$4_TicketDetails as TicketDetails, type index_d$4_TicketFacetCounts as TicketFacetCounts, type index_d$4_TicketFacets as TicketFacets, index_d$4_TicketFieldset as TicketFieldset, type index_d$4_TicketOrderUpdatedEnvelope as TicketOrderUpdatedEnvelope, type index_d$4_TicketingTicket as TicketingTicket, type index_d$4_TicketingTicketNonNullableFields as TicketingTicketNonNullableFields, type index_d$4_UpdateTicketIdentifiers as UpdateTicketIdentifiers, type index_d$4_UpdateTicketOptions as UpdateTicketOptions, type index_d$4_UpdateTicketRequest as UpdateTicketRequest, type index_d$4_UpdateTicketResponse as UpdateTicketResponse, type index_d$4_UpdateTicketResponseNonNullableFields as UpdateTicketResponseNonNullableFields, WebhookIdentityType$4 as WebhookIdentityType, type index_d$4__publicBulkUpdateTicketsType as _publicBulkUpdateTicketsType, type index_d$4__publicCheckInTicketsType as _publicCheckInTicketsType, type index_d$4__publicDeleteTicketCheckInsType as _publicDeleteTicketCheckInsType, type index_d$4__publicGetTicketType as _publicGetTicketType, type index_d$4__publicListTicketsType as _publicListTicketsType, type index_d$4__publicOnTicketOrderUpdatedType as _publicOnTicketOrderUpdatedType, type index_d$4__publicUpdateTicketType as _publicUpdateTicketType, index_d$4_bulkUpdateTickets as bulkUpdateTickets, index_d$4_checkInTickets as checkInTickets, index_d$4_deleteTicketCheckIns as deleteTicketCheckIns, index_d$4_getTicket as getTicket, index_d$4_listTickets as listTickets, index_d$4_onTicketOrderUpdated as onTicketOrderUpdated, onTicketOrderUpdated$1 as publicOnTicketOrderUpdated, index_d$4_updateTicket as updateTicket };
|
|
11013
12057
|
}
|
|
11014
12058
|
|
|
11015
12059
|
interface TicketDefinition$1 {
|
|
@@ -11766,21 +12810,201 @@ interface ChangeCurrencyOptions$1 {
|
|
|
11766
12810
|
currency: string;
|
|
11767
12811
|
}
|
|
11768
12812
|
|
|
12813
|
+
declare function queryTicketDefinitions$3(httpClient: HttpClient): QueryTicketDefinitionsSignature$1;
|
|
12814
|
+
interface QueryTicketDefinitionsSignature$1 {
|
|
12815
|
+
/**
|
|
12816
|
+
* **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions) function instead.
|
|
12817
|
+
* >**Migration Instructions**.
|
|
12818
|
+
* > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`queryTicketDefinition()`](/ticket-definitions-v2/query-ticket-definitions).
|
|
12819
|
+
* > To migrate to the new function:
|
|
12820
|
+
* > 1. Add the new import statement:
|
|
12821
|
+
* > ```js
|
|
12822
|
+
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
12823
|
+
* > ```
|
|
12824
|
+
* > 2. Look for any code that uses `ticketDefinitions.queryTicketDefinition()`, and replace it with `ticketDefinitionsV2.queryTicketDefinition()`. Update your code to work with the new `createTicketDefinition()` response properties.
|
|
12825
|
+
* > 3. Test your changes to make sure your code behaves as expected.
|
|
12826
|
+
*
|
|
12827
|
+
* Retrieves a list of up to 100 ticket definitions.
|
|
12828
|
+
*/
|
|
12829
|
+
(options?: QueryTicketDefinitionsOptions$1 | undefined): Promise<QueryTicketDefinitionsResponse$1 & QueryTicketDefinitionsResponseNonNullableFields$1>;
|
|
12830
|
+
}
|
|
12831
|
+
declare function queryTicketDefinitionsV2$1(httpClient: HttpClient): QueryTicketDefinitionsV2Signature;
|
|
12832
|
+
interface QueryTicketDefinitionsV2Signature {
|
|
12833
|
+
/**
|
|
12834
|
+
* **Deprecated.** This function will continue to work until October 29, 2024, but a newer version is available at [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions).
|
|
12835
|
+
* >**Migration Instructions**.
|
|
12836
|
+
* > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions).
|
|
12837
|
+
* > To migrate to the new function:
|
|
12838
|
+
* > 1. Add the new import statement:
|
|
12839
|
+
* > ```js
|
|
12840
|
+
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
12841
|
+
* > ```
|
|
12842
|
+
* > 2. Look for any code that uses `ticketDefinitions.queryTicketDefinitions()`, and replace it with `ticketDefinitionsV2.queryTicketDefinitions()`. Update your code to work with the new `queryTicketDefinition()` response properties.
|
|
12843
|
+
* > 3. Test your changes to make sure your code behaves as expected.
|
|
12844
|
+
*
|
|
12845
|
+
* Retrieves a list of up to 1,000 ticket definitions, given the provided paging and filtering.
|
|
12846
|
+
*/
|
|
12847
|
+
(options?: QueryTicketDefinitionsV2Options | undefined): DefinitionsQueryBuilder;
|
|
12848
|
+
}
|
|
12849
|
+
declare function listTicketDefinitions$1(httpClient: HttpClient): ListTicketDefinitionsSignature;
|
|
12850
|
+
interface ListTicketDefinitionsSignature {
|
|
12851
|
+
/**
|
|
12852
|
+
* **Deprecated.** This function will continue to work until November 8, 2024, but a substitute is available. Use the [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions) function instead.
|
|
12853
|
+
* >**Migration Instructions**.
|
|
12854
|
+
* > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`queryTicketDefinitions()`](/ticket-definitions-v2/query-ticket-definitions).
|
|
12855
|
+
* > To migrate to the new function:
|
|
12856
|
+
* > 1. Add the new import statement:
|
|
12857
|
+
* > ```js
|
|
12858
|
+
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
12859
|
+
* > ```
|
|
12860
|
+
* > 2. Look for any code that uses `ticketDefinitions.queryTicketDefinitions()`, and replace it with `ticketDefinitionsV2.queryTicketDefinitions()`. Update your code to work with the new `queryTicketDefinition()` response properties.
|
|
12861
|
+
* > 3. Test your changes to make sure your code behaves as expected.
|
|
12862
|
+
*
|
|
12863
|
+
* Retrieves a list of up to 100 ticket definitions, with basic filter support.
|
|
12864
|
+
* @param - Details for the tickets to retrieve.
|
|
12865
|
+
*/
|
|
12866
|
+
(options?: ListTicketDefinitionsOptions | undefined): Promise<ListTicketDefinitionsResponse & ListTicketDefinitionsResponseNonNullableFields>;
|
|
12867
|
+
}
|
|
12868
|
+
declare function getTicketDefinition$3(httpClient: HttpClient): GetTicketDefinitionSignature$1;
|
|
12869
|
+
interface GetTicketDefinitionSignature$1 {
|
|
12870
|
+
/**
|
|
12871
|
+
* **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use the [`getTicketDefinition()`](/ticket-definitions-v2/get-ticket-definition) function instead.
|
|
12872
|
+
* >**Migration Instructions**.
|
|
12873
|
+
* > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`getTicketDefinition()`](/ticket-definitions-v2/get-ticket-definition).
|
|
12874
|
+
* > To migrate to the new function:
|
|
12875
|
+
* > 1. Add the new import statement:
|
|
12876
|
+
* > ```js
|
|
12877
|
+
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
12878
|
+
* > ```
|
|
12879
|
+
* > 2. Look for any code that uses `ticketDefinitions.getTicketDefinition()`, and replace it with `ticketDefinitionsV2.getTicketDefinition()`. Update your code to work with the new `getTicketDefinition()` response properties.
|
|
12880
|
+
* > 3. Test your changes to make sure your code behaves as expected.
|
|
12881
|
+
*
|
|
12882
|
+
* Retrieves a ticket definition.
|
|
12883
|
+
* @param - Ticket definition ID.
|
|
12884
|
+
* @param - Details for the ticket to retrieve.
|
|
12885
|
+
* @returns Retrieved ticket definition.
|
|
12886
|
+
*/
|
|
12887
|
+
(definitionId: string, options?: GetTicketDefinitionOptions$1 | undefined): Promise<TicketDefinition$1 & TicketDefinitionNonNullableFields$1>;
|
|
12888
|
+
}
|
|
12889
|
+
declare function createTicketDefinition$3(httpClient: HttpClient): CreateTicketDefinitionSignature$1;
|
|
12890
|
+
interface CreateTicketDefinitionSignature$1 {
|
|
12891
|
+
/**
|
|
12892
|
+
* **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use the [`createTicketDefinition()`](/ticket-definitions-v2/create-ticket-definition) function instead.
|
|
12893
|
+
* >**Migration Instructions**.
|
|
12894
|
+
* > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`createTicketDefinition()`](/ticket-definitions-v2/create-ticket-definition).
|
|
12895
|
+
* > To migrate to the new function:
|
|
12896
|
+
* > 1. Add the new import statement:
|
|
12897
|
+
* > ```js
|
|
12898
|
+
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
12899
|
+
* > ```
|
|
12900
|
+
* > 2. Look for any code that uses `ticketDefinitions.createTicketDefinition()`, and replace it with `ticketDefinitionsV2.createTicketDefinition()`. Update your code to work with the new `createTicketDefinition()` response properties.
|
|
12901
|
+
* > 3. Test your changes to make sure your code behaves as expected.
|
|
12902
|
+
*
|
|
12903
|
+
* Creates a ticket definition (and enables ticket sales).
|
|
12904
|
+
* @param - Event ID.
|
|
12905
|
+
*/
|
|
12906
|
+
(eventId: string, options: CreateTicketDefinitionOptions$1): Promise<CreateTicketDefinitionResponse$1 & CreateTicketDefinitionResponseNonNullableFields$1>;
|
|
12907
|
+
}
|
|
12908
|
+
declare function updateTicketDefinition$3(httpClient: HttpClient): UpdateTicketDefinitionSignature$1;
|
|
12909
|
+
interface UpdateTicketDefinitionSignature$1 {
|
|
12910
|
+
/**
|
|
12911
|
+
* **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use the [`updateTicketDefinition()`](/ticket-definitions-v2/update-ticket-definition) function instead.
|
|
12912
|
+
* >**Migration Instructions**.
|
|
12913
|
+
* > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`updateTicketDefinition()`](/ticket-definitions-v2/update-ticket-definition).
|
|
12914
|
+
* > To migrate to the new function:
|
|
12915
|
+
* > 1. Add the new import statement:
|
|
12916
|
+
* > ```js
|
|
12917
|
+
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
12918
|
+
* > ```
|
|
12919
|
+
* > 2. Look for any code that uses `ticketDefinitions.updateTicketDefinition()`, and replace it with `ticketDefinitionsV2.updateTicketDefinition()`. Update your code to work with the new `updateTicketDefinition()` response properties.
|
|
12920
|
+
* > 3. Test your changes to make sure your code behaves as expected.
|
|
12921
|
+
*
|
|
12922
|
+
*
|
|
12923
|
+
* Updates a ticket definition.
|
|
12924
|
+
*
|
|
12925
|
+
* See [Partial Updates](/wix-events-v2/partial-updates) for more information.
|
|
12926
|
+
* @param - Ticket definition ID.
|
|
12927
|
+
* @param - Event ID.
|
|
12928
|
+
* @param - Details of the ticket definition to update.
|
|
12929
|
+
* @param - Ticket definition details to update.
|
|
12930
|
+
*/
|
|
12931
|
+
(definitionId: string, eventId: string, options?: UpdateTicketDefinitionOptions$1 | undefined): Promise<UpdateTicketDefinitionResponse$1 & UpdateTicketDefinitionResponseNonNullableFields$1>;
|
|
12932
|
+
}
|
|
12933
|
+
declare function deleteTicketDefinition$3(httpClient: HttpClient): DeleteTicketDefinitionSignature$1;
|
|
12934
|
+
interface DeleteTicketDefinitionSignature$1 {
|
|
12935
|
+
/**
|
|
12936
|
+
* **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available. Use the [`deleteTicketDefinition()`](/ticket-definitions-v2/delete-ticket-definition) function instead.
|
|
12937
|
+
* >**Migration Instructions**.
|
|
12938
|
+
* > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`deleteTicketDefinition()`](/ticket-definitions-v2/delete-ticket-definition).
|
|
12939
|
+
* > To migrate to the new function:
|
|
12940
|
+
* > 1. Add the new import statement:
|
|
12941
|
+
* > ```js
|
|
12942
|
+
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
12943
|
+
* > ```
|
|
12944
|
+
* > 2. Look for any code that uses `ticketDefinitions.deleteTicketDefinition()`, and replace it with `ticketDefinitionsV2.deleteTicketDefinition()`. Update your code to work with the new `deleteTicketDefinition()` response properties.
|
|
12945
|
+
* > 3. Test your changes to make sure your code behaves as expected.
|
|
12946
|
+
*
|
|
12947
|
+
* Deletes a ticket definition.
|
|
12948
|
+
* @param - Event ID.
|
|
12949
|
+
* @param - Details of tickets to delete.
|
|
12950
|
+
*/
|
|
12951
|
+
(eventId: string, options?: DeleteTicketDefinitionOptions | undefined): Promise<void>;
|
|
12952
|
+
}
|
|
12953
|
+
declare function changeCurrency$3(httpClient: HttpClient): ChangeCurrencySignature$1;
|
|
12954
|
+
interface ChangeCurrencySignature$1 {
|
|
12955
|
+
/**
|
|
12956
|
+
* **Deprecated.** This function will continue to work until November 8, 2024, but a newer version is available at [`changeCurrency()`](/ticket-definitions-v2/change-currency).
|
|
12957
|
+
* >**Migration Instructions**.
|
|
12958
|
+
* > If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to [`changeCurrency()`](/ticket-definitions-v2/change-currency).
|
|
12959
|
+
* > To migrate to the new function:
|
|
12960
|
+
* > 1. Add the new import statement:
|
|
12961
|
+
* > ```js
|
|
12962
|
+
* > import { ticketDefinitionsV2 } from 'wix-events.v2';
|
|
12963
|
+
* > ```
|
|
12964
|
+
* > 2. Look for any code that uses `ticketDefinitions.changeCurrency()`, and replace it with `ticketDefinitionsV2.changeCurrency()`. Update your code to work with the new `changeCurrency()` response properties.
|
|
12965
|
+
* > 3. Test your changes to make sure your code behaves as expected.
|
|
12966
|
+
*
|
|
12967
|
+
* Changes the currency for all tickets per event.
|
|
12968
|
+
*
|
|
12969
|
+
*/
|
|
12970
|
+
(options?: ChangeCurrencyOptions$1 | undefined): Promise<void>;
|
|
12971
|
+
}
|
|
12972
|
+
declare const onTicketDefinitionCreated$3: EventDefinition<TicketDefinitionCreatedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionCreated">;
|
|
12973
|
+
declare const onTicketDefinitionUpdated$3: EventDefinition<TicketDefinitionUpdatedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionUpdated">;
|
|
12974
|
+
declare const onTicketDefinitionDeleted$3: EventDefinition<TicketDefinitionDeletedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionDeleted">;
|
|
12975
|
+
|
|
11769
12976
|
declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
11770
12977
|
|
|
11771
12978
|
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
11772
12979
|
|
|
11773
|
-
|
|
11774
|
-
declare const
|
|
11775
|
-
|
|
11776
|
-
declare const
|
|
11777
|
-
|
|
11778
|
-
declare const
|
|
11779
|
-
|
|
11780
|
-
declare const
|
|
11781
|
-
|
|
11782
|
-
declare const
|
|
11783
|
-
|
|
12980
|
+
type _publicQueryTicketDefinitionsType$1 = typeof queryTicketDefinitions$3;
|
|
12981
|
+
declare const queryTicketDefinitions$2: ReturnType<typeof createRESTModule$3<_publicQueryTicketDefinitionsType>>;
|
|
12982
|
+
type _publicQueryTicketDefinitionsV2Type = typeof queryTicketDefinitionsV2$1;
|
|
12983
|
+
declare const queryTicketDefinitionsV2: ReturnType<typeof createRESTModule$3<_publicQueryTicketDefinitionsV2Type>>;
|
|
12984
|
+
type _publicListTicketDefinitionsType = typeof listTicketDefinitions$1;
|
|
12985
|
+
declare const listTicketDefinitions: ReturnType<typeof createRESTModule$3<_publicListTicketDefinitionsType>>;
|
|
12986
|
+
type _publicGetTicketDefinitionType$1 = typeof getTicketDefinition$3;
|
|
12987
|
+
declare const getTicketDefinition$2: ReturnType<typeof createRESTModule$3<_publicGetTicketDefinitionType>>;
|
|
12988
|
+
type _publicCreateTicketDefinitionType$1 = typeof createTicketDefinition$3;
|
|
12989
|
+
declare const createTicketDefinition$2: ReturnType<typeof createRESTModule$3<_publicCreateTicketDefinitionType>>;
|
|
12990
|
+
type _publicUpdateTicketDefinitionType$1 = typeof updateTicketDefinition$3;
|
|
12991
|
+
declare const updateTicketDefinition$2: ReturnType<typeof createRESTModule$3<_publicUpdateTicketDefinitionType>>;
|
|
12992
|
+
type _publicDeleteTicketDefinitionType$1 = typeof deleteTicketDefinition$3;
|
|
12993
|
+
declare const deleteTicketDefinition$2: ReturnType<typeof createRESTModule$3<_publicDeleteTicketDefinitionType>>;
|
|
12994
|
+
type _publicChangeCurrencyType$1 = typeof changeCurrency$3;
|
|
12995
|
+
declare const changeCurrency$2: ReturnType<typeof createRESTModule$3<_publicChangeCurrencyType>>;
|
|
12996
|
+
|
|
12997
|
+
type _publicOnTicketDefinitionCreatedType$1 = typeof onTicketDefinitionCreated$3;
|
|
12998
|
+
/** */
|
|
12999
|
+
declare const onTicketDefinitionCreated$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionCreatedType>>;
|
|
13000
|
+
|
|
13001
|
+
type _publicOnTicketDefinitionUpdatedType$1 = typeof onTicketDefinitionUpdated$3;
|
|
13002
|
+
/** */
|
|
13003
|
+
declare const onTicketDefinitionUpdated$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionUpdatedType>>;
|
|
13004
|
+
|
|
13005
|
+
type _publicOnTicketDefinitionDeletedType$1 = typeof onTicketDefinitionDeleted$3;
|
|
13006
|
+
/** */
|
|
13007
|
+
declare const onTicketDefinitionDeleted$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionDeletedType>>;
|
|
11784
13008
|
|
|
11785
13009
|
type index_d$3_ById = ById;
|
|
11786
13010
|
type index_d$3_DefinitionsQueryBuilder = DefinitionsQueryBuilder;
|
|
@@ -11818,10 +13042,12 @@ type index_d$3_TicketSalePeriod = TicketSalePeriod;
|
|
|
11818
13042
|
type index_d$3_TicketSaleStatus = TicketSaleStatus;
|
|
11819
13043
|
declare const index_d$3_TicketSaleStatus: typeof TicketSaleStatus;
|
|
11820
13044
|
type index_d$3_WixFeeConfig = WixFeeConfig;
|
|
13045
|
+
type index_d$3__publicListTicketDefinitionsType = _publicListTicketDefinitionsType;
|
|
13046
|
+
type index_d$3__publicQueryTicketDefinitionsV2Type = _publicQueryTicketDefinitionsV2Type;
|
|
11821
13047
|
declare const index_d$3_listTicketDefinitions: typeof listTicketDefinitions;
|
|
11822
13048
|
declare const index_d$3_queryTicketDefinitionsV2: typeof queryTicketDefinitionsV2;
|
|
11823
13049
|
declare namespace index_d$3 {
|
|
11824
|
-
export { type BaseEventMetadata$3 as BaseEventMetadata, type BulkCopyTicketDefinitionsByEventIdRequest$1 as BulkCopyTicketDefinitionsByEventIdRequest, type BulkCopyTicketDefinitionsByEventIdResponse$1 as BulkCopyTicketDefinitionsByEventIdResponse, type index_d$3_ById as ById, type ChangeCurrencyOptions$1 as ChangeCurrencyOptions, type ChangeCurrencyRequest$1 as ChangeCurrencyRequest, type ChangeCurrencyResponse$1 as ChangeCurrencyResponse, type CopiedTicketDefinition$1 as CopiedTicketDefinition, type CreateTicketDefinitionOptions$1 as CreateTicketDefinitionOptions, type CreateTicketDefinitionRequest$1 as CreateTicketDefinitionRequest, type CreateTicketDefinitionResponse$1 as CreateTicketDefinitionResponse, type CreateTicketDefinitionResponseNonNullableFields$1 as CreateTicketDefinitionResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type Dashboard$2 as Dashboard, type index_d$3_DefinitionsQueryBuilder as DefinitionsQueryBuilder, type index_d$3_DefinitionsQueryResult as DefinitionsQueryResult, type index_d$3_DeleteTicketDefinitionOptions as DeleteTicketDefinitionOptions, type DeleteTicketDefinitionRequest$1 as DeleteTicketDefinitionRequest, type index_d$3_DeleteTicketDefinitionRequestDeleteOneOf as DeleteTicketDefinitionRequestDeleteOneOf, type DeleteTicketDefinitionResponse$1 as DeleteTicketDefinitionResponse, type FacetCounts$2 as FacetCounts, index_d$3_FeeType as FeeType, type GetTicketDefinitionOptions$1 as GetTicketDefinitionOptions, type GetTicketDefinitionRequest$1 as GetTicketDefinitionRequest, type GetTicketDefinitionResponse$1 as GetTicketDefinitionResponse, type GetTicketDefinitionResponseNonNullableFields$1 as GetTicketDefinitionResponseNonNullableFields, index_d$3_GroupBy as GroupBy, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_ListTicketDefinitionsOptions as ListTicketDefinitionsOptions, type index_d$3_ListTicketDefinitionsRequest as ListTicketDefinitionsRequest, type index_d$3_ListTicketDefinitionsResponse as ListTicketDefinitionsResponse, type index_d$3_ListTicketDefinitionsResponseNonNullableFields as ListTicketDefinitionsResponseNonNullableFields, type MessageEnvelope$3 as MessageEnvelope, type Money$2 as Money, type index_d$3_OriginatedFrom as OriginatedFrom, type Paging$3 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type index_d$3_PaidTicketDefinitionExistsRequest as PaidTicketDefinitionExistsRequest, type index_d$3_PaidTicketDefinitionExistsResponse as PaidTicketDefinitionExistsResponse, type index_d$3_PricingOption as PricingOption, type PricingOptions$1 as PricingOptions, type QueryTicketDefinitionsOptions$1 as QueryTicketDefinitionsOptions, type QueryTicketDefinitionsRequest$1 as QueryTicketDefinitionsRequest, type QueryTicketDefinitionsResponse$1 as QueryTicketDefinitionsResponse, type QueryTicketDefinitionsResponseNonNullableFields$1 as QueryTicketDefinitionsResponseNonNullableFields, type index_d$3_QueryTicketDefinitionsV2Options as QueryTicketDefinitionsV2Options, type index_d$3_QueryTicketDefinitionsV2Request as QueryTicketDefinitionsV2Request, type index_d$3_QueryTicketDefinitionsV2Response as QueryTicketDefinitionsV2Response, type index_d$3_QueryTicketDefinitionsV2ResponseNonNullableFields as QueryTicketDefinitionsV2ResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type index_d$3_ResponseMetaData as ResponseMetaData, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, State$2 as State, type TicketDefinition$1 as TicketDefinition, type index_d$3_TicketDefinitionCreated as TicketDefinitionCreated, type TicketDefinitionCreatedEnvelope$1 as TicketDefinitionCreatedEnvelope, type index_d$3_TicketDefinitionData as TicketDefinitionData, type index_d$3_TicketDefinitionDeleted as TicketDefinitionDeleted, type TicketDefinitionDeletedEnvelope$1 as TicketDefinitionDeletedEnvelope, index_d$3_TicketDefinitionFieldset as TicketDefinitionFieldset, type TicketDefinitionNonNullableFields$1 as TicketDefinitionNonNullableFields, index_d$3_TicketDefinitionStateEnumState as TicketDefinitionStateEnumState, type index_d$3_TicketDefinitionUpdated as TicketDefinitionUpdated, type TicketDefinitionUpdatedEnvelope$1 as TicketDefinitionUpdatedEnvelope, type index_d$3_TicketPricing as TicketPricing, type index_d$3_TicketPricingPriceOneOf as TicketPricingPriceOneOf, type index_d$3_TicketSalePeriod as TicketSalePeriod, index_d$3_TicketSaleStatus as TicketSaleStatus, Type$2 as Type, type UpdateTicketDefinitionOptions$1 as UpdateTicketDefinitionOptions, type UpdateTicketDefinitionRequest$1 as UpdateTicketDefinitionRequest, type UpdateTicketDefinitionResponse$1 as UpdateTicketDefinitionResponse, type UpdateTicketDefinitionResponseNonNullableFields$1 as UpdateTicketDefinitionResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$3_WixFeeConfig as WixFeeConfig,
|
|
13050
|
+
export { type BaseEventMetadata$3 as BaseEventMetadata, type BulkCopyTicketDefinitionsByEventIdRequest$1 as BulkCopyTicketDefinitionsByEventIdRequest, type BulkCopyTicketDefinitionsByEventIdResponse$1 as BulkCopyTicketDefinitionsByEventIdResponse, type index_d$3_ById as ById, type ChangeCurrencyOptions$1 as ChangeCurrencyOptions, type ChangeCurrencyRequest$1 as ChangeCurrencyRequest, type ChangeCurrencyResponse$1 as ChangeCurrencyResponse, type CopiedTicketDefinition$1 as CopiedTicketDefinition, type CreateTicketDefinitionOptions$1 as CreateTicketDefinitionOptions, type CreateTicketDefinitionRequest$1 as CreateTicketDefinitionRequest, type CreateTicketDefinitionResponse$1 as CreateTicketDefinitionResponse, type CreateTicketDefinitionResponseNonNullableFields$1 as CreateTicketDefinitionResponseNonNullableFields, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type Dashboard$2 as Dashboard, type index_d$3_DefinitionsQueryBuilder as DefinitionsQueryBuilder, type index_d$3_DefinitionsQueryResult as DefinitionsQueryResult, type index_d$3_DeleteTicketDefinitionOptions as DeleteTicketDefinitionOptions, type DeleteTicketDefinitionRequest$1 as DeleteTicketDefinitionRequest, type index_d$3_DeleteTicketDefinitionRequestDeleteOneOf as DeleteTicketDefinitionRequestDeleteOneOf, type DeleteTicketDefinitionResponse$1 as DeleteTicketDefinitionResponse, type FacetCounts$2 as FacetCounts, index_d$3_FeeType as FeeType, type GetTicketDefinitionOptions$1 as GetTicketDefinitionOptions, type GetTicketDefinitionRequest$1 as GetTicketDefinitionRequest, type GetTicketDefinitionResponse$1 as GetTicketDefinitionResponse, type GetTicketDefinitionResponseNonNullableFields$1 as GetTicketDefinitionResponseNonNullableFields, index_d$3_GroupBy as GroupBy, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_ListTicketDefinitionsOptions as ListTicketDefinitionsOptions, type index_d$3_ListTicketDefinitionsRequest as ListTicketDefinitionsRequest, type index_d$3_ListTicketDefinitionsResponse as ListTicketDefinitionsResponse, type index_d$3_ListTicketDefinitionsResponseNonNullableFields as ListTicketDefinitionsResponseNonNullableFields, type MessageEnvelope$3 as MessageEnvelope, type Money$2 as Money, type index_d$3_OriginatedFrom as OriginatedFrom, type Paging$3 as Paging, type PagingMetadataV2$3 as PagingMetadataV2, type index_d$3_PaidTicketDefinitionExistsRequest as PaidTicketDefinitionExistsRequest, type index_d$3_PaidTicketDefinitionExistsResponse as PaidTicketDefinitionExistsResponse, type index_d$3_PricingOption as PricingOption, type PricingOptions$1 as PricingOptions, type QueryTicketDefinitionsOptions$1 as QueryTicketDefinitionsOptions, type QueryTicketDefinitionsRequest$1 as QueryTicketDefinitionsRequest, type QueryTicketDefinitionsResponse$1 as QueryTicketDefinitionsResponse, type QueryTicketDefinitionsResponseNonNullableFields$1 as QueryTicketDefinitionsResponseNonNullableFields, type index_d$3_QueryTicketDefinitionsV2Options as QueryTicketDefinitionsV2Options, type index_d$3_QueryTicketDefinitionsV2Request as QueryTicketDefinitionsV2Request, type index_d$3_QueryTicketDefinitionsV2Response as QueryTicketDefinitionsV2Response, type index_d$3_QueryTicketDefinitionsV2ResponseNonNullableFields as QueryTicketDefinitionsV2ResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type index_d$3_ResponseMetaData as ResponseMetaData, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, State$2 as State, type TicketDefinition$1 as TicketDefinition, type index_d$3_TicketDefinitionCreated as TicketDefinitionCreated, type TicketDefinitionCreatedEnvelope$1 as TicketDefinitionCreatedEnvelope, type index_d$3_TicketDefinitionData as TicketDefinitionData, type index_d$3_TicketDefinitionDeleted as TicketDefinitionDeleted, type TicketDefinitionDeletedEnvelope$1 as TicketDefinitionDeletedEnvelope, index_d$3_TicketDefinitionFieldset as TicketDefinitionFieldset, type TicketDefinitionNonNullableFields$1 as TicketDefinitionNonNullableFields, index_d$3_TicketDefinitionStateEnumState as TicketDefinitionStateEnumState, type index_d$3_TicketDefinitionUpdated as TicketDefinitionUpdated, type TicketDefinitionUpdatedEnvelope$1 as TicketDefinitionUpdatedEnvelope, type index_d$3_TicketPricing as TicketPricing, type index_d$3_TicketPricingPriceOneOf as TicketPricingPriceOneOf, type index_d$3_TicketSalePeriod as TicketSalePeriod, index_d$3_TicketSaleStatus as TicketSaleStatus, Type$2 as Type, type UpdateTicketDefinitionOptions$1 as UpdateTicketDefinitionOptions, type UpdateTicketDefinitionRequest$1 as UpdateTicketDefinitionRequest, type UpdateTicketDefinitionResponse$1 as UpdateTicketDefinitionResponse, type UpdateTicketDefinitionResponseNonNullableFields$1 as UpdateTicketDefinitionResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$3_WixFeeConfig as WixFeeConfig, type _publicChangeCurrencyType$1 as _publicChangeCurrencyType, type _publicCreateTicketDefinitionType$1 as _publicCreateTicketDefinitionType, type _publicDeleteTicketDefinitionType$1 as _publicDeleteTicketDefinitionType, type _publicGetTicketDefinitionType$1 as _publicGetTicketDefinitionType, type index_d$3__publicListTicketDefinitionsType as _publicListTicketDefinitionsType, type _publicOnTicketDefinitionCreatedType$1 as _publicOnTicketDefinitionCreatedType, type _publicOnTicketDefinitionDeletedType$1 as _publicOnTicketDefinitionDeletedType, type _publicOnTicketDefinitionUpdatedType$1 as _publicOnTicketDefinitionUpdatedType, type _publicQueryTicketDefinitionsType$1 as _publicQueryTicketDefinitionsType, type index_d$3__publicQueryTicketDefinitionsV2Type as _publicQueryTicketDefinitionsV2Type, type _publicUpdateTicketDefinitionType$1 as _publicUpdateTicketDefinitionType, changeCurrency$2 as changeCurrency, createTicketDefinition$2 as createTicketDefinition, deleteTicketDefinition$2 as deleteTicketDefinition, getTicketDefinition$2 as getTicketDefinition, index_d$3_listTicketDefinitions as listTicketDefinitions, onTicketDefinitionCreated$2 as onTicketDefinitionCreated, onTicketDefinitionDeleted$2 as onTicketDefinitionDeleted, onTicketDefinitionUpdated$2 as onTicketDefinitionUpdated, onTicketDefinitionCreated$3 as publicOnTicketDefinitionCreated, onTicketDefinitionDeleted$3 as publicOnTicketDefinitionDeleted, onTicketDefinitionUpdated$3 as publicOnTicketDefinitionUpdated, queryTicketDefinitions$2 as queryTicketDefinitions, index_d$3_queryTicketDefinitionsV2 as queryTicketDefinitionsV2, updateTicketDefinition$2 as updateTicketDefinition };
|
|
11825
13051
|
}
|
|
11826
13052
|
|
|
11827
13053
|
interface Policy {
|
|
@@ -12487,19 +13713,152 @@ interface ReorderEventPoliciesOptions extends ReorderEventPoliciesRequestReferen
|
|
|
12487
13713
|
afterPolicyId?: string;
|
|
12488
13714
|
}
|
|
12489
13715
|
|
|
13716
|
+
declare function createPolicy$1(httpClient: HttpClient): CreatePolicySignature;
|
|
13717
|
+
interface CreatePolicySignature {
|
|
13718
|
+
/**
|
|
13719
|
+
* Creates a policy.
|
|
13720
|
+
*
|
|
13721
|
+
*
|
|
13722
|
+
* <!--
|
|
13723
|
+
* > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
13724
|
+
* -->
|
|
13725
|
+
*
|
|
13726
|
+
* The `createPolicy()` function returns a Promise that resolves to the newly-created policy.
|
|
13727
|
+
*
|
|
13728
|
+
* You can create up to 3 policies per event. If you try to create more than 3, you'll get the "Maximum number of policies for the event has been reached" error.
|
|
13729
|
+
* @param - Policy info.
|
|
13730
|
+
* @returns Created policy.
|
|
13731
|
+
*/
|
|
13732
|
+
(policy: Policy): Promise<Policy & PolicyNonNullableFields>;
|
|
13733
|
+
}
|
|
13734
|
+
declare function updatePolicy$1(httpClient: HttpClient): UpdatePolicySignature;
|
|
13735
|
+
interface UpdatePolicySignature {
|
|
13736
|
+
/**
|
|
13737
|
+
* Updates a policy.
|
|
13738
|
+
*
|
|
13739
|
+
* <!--
|
|
13740
|
+
* > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
13741
|
+
* -->
|
|
13742
|
+
*
|
|
13743
|
+
* The `updatePolicy()` function returns a Promise that resolves to the newly-updated policy.
|
|
13744
|
+
*
|
|
13745
|
+
* Each time the policy is updated, `revision` increments by 1. The existing `revision` must be included when updating the policy. This ensures you're working with the latest policy and prevents unintended overwrites.
|
|
13746
|
+
* @param - Policy to update.
|
|
13747
|
+
* @param - Policy ID.
|
|
13748
|
+
* @returns The updated policy.
|
|
13749
|
+
*/
|
|
13750
|
+
(_id: string | null, policy: UpdatePolicy): Promise<Policy & PolicyNonNullableFields>;
|
|
13751
|
+
}
|
|
13752
|
+
declare function deletePolicy$1(httpClient: HttpClient): DeletePolicySignature;
|
|
13753
|
+
interface DeletePolicySignature {
|
|
13754
|
+
/**
|
|
13755
|
+
* Permanently deletes a policy.
|
|
13756
|
+
*
|
|
13757
|
+
*
|
|
13758
|
+
* <!--
|
|
13759
|
+
* > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
13760
|
+
* -->
|
|
13761
|
+
*
|
|
13762
|
+
* The `deletePolicy()` function returns a Promise that resolves when the specified policy is deleted.
|
|
13763
|
+
*
|
|
13764
|
+
* Deleted policies are not returned by the `getPolicy()` or `queryPolicies()` functions.
|
|
13765
|
+
* @param - Options for Delete Policy function.
|
|
13766
|
+
* @param - ID of the policy to delete.
|
|
13767
|
+
*/
|
|
13768
|
+
(policyId: string): Promise<void>;
|
|
13769
|
+
}
|
|
13770
|
+
declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
|
|
13771
|
+
interface QueryPoliciesSignature {
|
|
13772
|
+
/**
|
|
13773
|
+
* Creates a query to retrieve a list of policies, given the provided paging and filter.
|
|
13774
|
+
*
|
|
13775
|
+
*
|
|
13776
|
+
* The `queryPolicies()` function builds a query to retrieve a list of policies and returns a [PoliciesQueryBuilder](https://www.wix.com/velo/reference/wix-events-v2/policies/policiesquerybuilder) object.
|
|
13777
|
+
*
|
|
13778
|
+
* The returned object contains the query definition which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/policies/policiesquerybuilder/find) function.
|
|
13779
|
+
*
|
|
13780
|
+
* You can refine the query by chaining `PoliciesQueryBuilder` functions onto the query. `PoliciesQueryBuilder` functions enable you to sort, filter and control the results that `PoliciesQueryBuilder.find()` returns.
|
|
13781
|
+
*
|
|
13782
|
+
* The query runs with the following `PoliciesQueryBuilder` defaults that you can override:
|
|
13783
|
+
*
|
|
13784
|
+
* [`limit`](https://www.wix.com/velo/reference/wix-events-v2/policies/policiesquerybuilder/limit): `50`
|
|
13785
|
+
* [`descending`](https://www.wix.com/velo/reference/wix-events-v2/policies/policiesquerybuilder/descending): `_createdDate`
|
|
13786
|
+
*
|
|
13787
|
+
* The functions that are chained to `queryPolicies()` are applied in the order they are called. For example, if you sort on the `_createdDate` property in ascending order and then on the id property in descending order, the results are sorted by the created date and then, if there are multiple results with the same date, the items are sorted by the id.
|
|
13788
|
+
*
|
|
13789
|
+
* The table below shows which `PoliciesQueryBuilder` functions are supported for `queryPoliciesGuests()`. You can only use one filter function for each property. If a property is used in more than one filter, only the first filter will work.
|
|
13790
|
+
*/
|
|
13791
|
+
(): PoliciesQueryBuilder;
|
|
13792
|
+
}
|
|
13793
|
+
declare function reorderEventPolicies$1(httpClient: HttpClient): ReorderEventPoliciesSignature;
|
|
13794
|
+
interface ReorderEventPoliciesSignature {
|
|
13795
|
+
/**
|
|
13796
|
+
* Changes policy order in an event dashboard and agreement checkbox on the checkout form.
|
|
13797
|
+
* For example, if we have 3 policies in the list, after using this function the 3rd policy will become the 1st, and other policies will move by 1 position. By default, the policies are arranged by the created date in descending order.
|
|
13798
|
+
*
|
|
13799
|
+
* > **Note**: it is possible to use both `beforePolicyId` and `afterPolicyId` at the same time but only the last one defined will be executed.
|
|
13800
|
+
*
|
|
13801
|
+
* <!--
|
|
13802
|
+
* > Note: This function is restricted and only runs if you elevate permissions using the [wix-auth.elevate()](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
13803
|
+
* -->
|
|
13804
|
+
*
|
|
13805
|
+
* The `reorderEventPolicies()` function returns a Promise that resolves to the newly-reordered policy.
|
|
13806
|
+
* @param - Event policy ID.
|
|
13807
|
+
* @param - Event ID.
|
|
13808
|
+
* @param - Options for Reorder Event Policies function.
|
|
13809
|
+
*/
|
|
13810
|
+
(policyId: string, eventId: string, options?: ReorderEventPoliciesOptions | undefined): Promise<ReorderEventPoliciesResponse & ReorderEventPoliciesResponseNonNullableFields>;
|
|
13811
|
+
}
|
|
13812
|
+
declare function getPolicy$1(httpClient: HttpClient): GetPolicySignature;
|
|
13813
|
+
interface GetPolicySignature {
|
|
13814
|
+
/**
|
|
13815
|
+
* Retrieves a policy by ID.
|
|
13816
|
+
*
|
|
13817
|
+
*
|
|
13818
|
+
* The `getPolicy()` function returns a Promise that resolves to a policy whose ID matches the given ID.
|
|
13819
|
+
* @param - Policy ID.
|
|
13820
|
+
* @returns The requested policy.
|
|
13821
|
+
*/
|
|
13822
|
+
(policyId: string): Promise<Policy & PolicyNonNullableFields>;
|
|
13823
|
+
}
|
|
13824
|
+
declare const onPolicyCreated$1: EventDefinition<PolicyCreatedEnvelope, "wix.events.v2.policy_created">;
|
|
13825
|
+
declare const onPolicyUpdated$1: EventDefinition<PolicyUpdatedEnvelope, "wix.events.v2.policy_updated">;
|
|
13826
|
+
declare const onPolicyDeleted$1: EventDefinition<PolicyDeletedEnvelope, "wix.events.v2.policy_deleted">;
|
|
13827
|
+
|
|
12490
13828
|
declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
12491
13829
|
|
|
12492
13830
|
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
12493
13831
|
|
|
12494
|
-
|
|
12495
|
-
declare const
|
|
12496
|
-
|
|
12497
|
-
declare const
|
|
12498
|
-
|
|
12499
|
-
declare const
|
|
12500
|
-
|
|
12501
|
-
declare const
|
|
12502
|
-
|
|
13832
|
+
type _publicCreatePolicyType = typeof createPolicy$1;
|
|
13833
|
+
declare const createPolicy: ReturnType<typeof createRESTModule$2<_publicCreatePolicyType>>;
|
|
13834
|
+
type _publicUpdatePolicyType = typeof updatePolicy$1;
|
|
13835
|
+
declare const updatePolicy: ReturnType<typeof createRESTModule$2<_publicUpdatePolicyType>>;
|
|
13836
|
+
type _publicDeletePolicyType = typeof deletePolicy$1;
|
|
13837
|
+
declare const deletePolicy: ReturnType<typeof createRESTModule$2<_publicDeletePolicyType>>;
|
|
13838
|
+
type _publicQueryPoliciesType = typeof queryPolicies$1;
|
|
13839
|
+
declare const queryPolicies: ReturnType<typeof createRESTModule$2<_publicQueryPoliciesType>>;
|
|
13840
|
+
type _publicReorderEventPoliciesType = typeof reorderEventPolicies$1;
|
|
13841
|
+
declare const reorderEventPolicies: ReturnType<typeof createRESTModule$2<_publicReorderEventPoliciesType>>;
|
|
13842
|
+
type _publicGetPolicyType = typeof getPolicy$1;
|
|
13843
|
+
declare const getPolicy: ReturnType<typeof createRESTModule$2<_publicGetPolicyType>>;
|
|
13844
|
+
|
|
13845
|
+
type _publicOnPolicyCreatedType = typeof onPolicyCreated$1;
|
|
13846
|
+
/**
|
|
13847
|
+
* Triggered when a policy is created.
|
|
13848
|
+
*/
|
|
13849
|
+
declare const onPolicyCreated: ReturnType<typeof createEventModule$2<_publicOnPolicyCreatedType>>;
|
|
13850
|
+
|
|
13851
|
+
type _publicOnPolicyUpdatedType = typeof onPolicyUpdated$1;
|
|
13852
|
+
/**
|
|
13853
|
+
* Triggered when a policy is updated.
|
|
13854
|
+
*/
|
|
13855
|
+
declare const onPolicyUpdated: ReturnType<typeof createEventModule$2<_publicOnPolicyUpdatedType>>;
|
|
13856
|
+
|
|
13857
|
+
type _publicOnPolicyDeletedType = typeof onPolicyDeleted$1;
|
|
13858
|
+
/**
|
|
13859
|
+
* Triggered when a policy is deleted.
|
|
13860
|
+
*/
|
|
13861
|
+
declare const onPolicyDeleted: ReturnType<typeof createEventModule$2<_publicOnPolicyDeletedType>>;
|
|
12503
13862
|
|
|
12504
13863
|
type index_d$2_CreatePolicyRequest = CreatePolicyRequest;
|
|
12505
13864
|
type index_d$2_CreatePolicyResponse = CreatePolicyResponse;
|
|
@@ -12532,6 +13891,15 @@ type index_d$2_UpdatePolicyResponse = UpdatePolicyResponse;
|
|
|
12532
13891
|
type index_d$2_UpdatePolicyResponseNonNullableFields = UpdatePolicyResponseNonNullableFields;
|
|
12533
13892
|
type index_d$2_UpdatePolicySortIndexRequest = UpdatePolicySortIndexRequest;
|
|
12534
13893
|
type index_d$2_UpdatePolicySortIndexResponse = UpdatePolicySortIndexResponse;
|
|
13894
|
+
type index_d$2__publicCreatePolicyType = _publicCreatePolicyType;
|
|
13895
|
+
type index_d$2__publicDeletePolicyType = _publicDeletePolicyType;
|
|
13896
|
+
type index_d$2__publicGetPolicyType = _publicGetPolicyType;
|
|
13897
|
+
type index_d$2__publicOnPolicyCreatedType = _publicOnPolicyCreatedType;
|
|
13898
|
+
type index_d$2__publicOnPolicyDeletedType = _publicOnPolicyDeletedType;
|
|
13899
|
+
type index_d$2__publicOnPolicyUpdatedType = _publicOnPolicyUpdatedType;
|
|
13900
|
+
type index_d$2__publicQueryPoliciesType = _publicQueryPoliciesType;
|
|
13901
|
+
type index_d$2__publicReorderEventPoliciesType = _publicReorderEventPoliciesType;
|
|
13902
|
+
type index_d$2__publicUpdatePolicyType = _publicUpdatePolicyType;
|
|
12535
13903
|
declare const index_d$2_createPolicy: typeof createPolicy;
|
|
12536
13904
|
declare const index_d$2_deletePolicy: typeof deletePolicy;
|
|
12537
13905
|
declare const index_d$2_getPolicy: typeof getPolicy;
|
|
@@ -12542,7 +13910,7 @@ declare const index_d$2_queryPolicies: typeof queryPolicies;
|
|
|
12542
13910
|
declare const index_d$2_reorderEventPolicies: typeof reorderEventPolicies;
|
|
12543
13911
|
declare const index_d$2_updatePolicy: typeof updatePolicy;
|
|
12544
13912
|
declare namespace index_d$2 {
|
|
12545
|
-
export { type ActionEvent$2 as ActionEvent, type Address$2 as Address, type AddressLocation$2 as AddressLocation, type AddressStreetOneOf$2 as AddressStreetOneOf, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$2_CreatePolicyRequest as CreatePolicyRequest, type index_d$2_CreatePolicyResponse as CreatePolicyResponse, type index_d$2_CreatePolicyResponseNonNullableFields as CreatePolicyResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type index_d$2_DeletePolicyRequest as DeletePolicyRequest, type index_d$2_DeletePolicyResponse as DeletePolicyResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventCopied$1 as EventCopied, type EventMetadata$2 as EventMetadata, EventStatus$2 as EventStatus, type index_d$2_GetPolicyFromTrashBinRequest as GetPolicyFromTrashBinRequest, type index_d$2_GetPolicyFromTrashBinResponse as GetPolicyFromTrashBinResponse, type index_d$2_GetPolicyRequest as GetPolicyRequest, type index_d$2_GetPolicyResponse as GetPolicyResponse, type index_d$2_GetPolicyResponseNonNullableFields as GetPolicyResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Location$2 as Location, LocationType$2 as LocationType, type MapCoordinates$2 as MapCoordinates, type MessageEnvelope$2 as MessageEnvelope, type Occurrence$2 as Occurrence, type Paging$2 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type index_d$2_PoliciesQueryBuilder as PoliciesQueryBuilder, type index_d$2_PoliciesQueryResult as PoliciesQueryResult, type index_d$2_Policy as Policy, type index_d$2_PolicyCreatedEnvelope as PolicyCreatedEnvelope, type index_d$2_PolicyDeletedEnvelope as PolicyDeletedEnvelope, type index_d$2_PolicyNonNullableFields as PolicyNonNullableFields, type index_d$2_PolicyUpdatedEnvelope as PolicyUpdatedEnvelope, type index_d$2_QueryPoliciesRequest as QueryPoliciesRequest, type index_d$2_QueryPoliciesResponse as QueryPoliciesResponse, type index_d$2_QueryPoliciesResponseNonNullableFields as QueryPoliciesResponseNonNullableFields, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type Recurrences$2 as Recurrences, type index_d$2_ReorderEventPoliciesOptions as ReorderEventPoliciesOptions, type index_d$2_ReorderEventPoliciesRequest as ReorderEventPoliciesRequest, type index_d$2_ReorderEventPoliciesRequestReferencePolicyOneOf as ReorderEventPoliciesRequestReferencePolicyOneOf, type index_d$2_ReorderEventPoliciesResponse as ReorderEventPoliciesResponse, type index_d$2_ReorderEventPoliciesResponseNonNullableFields as ReorderEventPoliciesResponseNonNullableFields, type ScheduleConfig$2 as ScheduleConfig, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Status$2 as Status, type StreetAddress$2 as StreetAddress, type Subdivision$2 as Subdivision, SubdivisionType$2 as SubdivisionType, type index_d$2_UpdatePolicy as UpdatePolicy, type index_d$2_UpdatePolicyRequest as UpdatePolicyRequest, type index_d$2_UpdatePolicyResponse as UpdatePolicyResponse, type index_d$2_UpdatePolicyResponseNonNullableFields as UpdatePolicyResponseNonNullableFields, type index_d$2_UpdatePolicySortIndexRequest as UpdatePolicySortIndexRequest, type index_d$2_UpdatePolicySortIndexResponse as UpdatePolicySortIndexResponse, WebhookIdentityType$2 as WebhookIdentityType, index_d$2_createPolicy as createPolicy, index_d$2_deletePolicy as deletePolicy, index_d$2_getPolicy as getPolicy, index_d$2_onPolicyCreated as onPolicyCreated, index_d$2_onPolicyDeleted as onPolicyDeleted, index_d$2_onPolicyUpdated as onPolicyUpdated, index_d$2_queryPolicies as queryPolicies, index_d$2_reorderEventPolicies as reorderEventPolicies, index_d$2_updatePolicy as updatePolicy };
|
|
13913
|
+
export { type ActionEvent$2 as ActionEvent, type Address$2 as Address, type AddressLocation$2 as AddressLocation, type AddressStreetOneOf$2 as AddressStreetOneOf, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$2_CreatePolicyRequest as CreatePolicyRequest, type index_d$2_CreatePolicyResponse as CreatePolicyResponse, type index_d$2_CreatePolicyResponseNonNullableFields as CreatePolicyResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type Cursors$2 as Cursors, type index_d$2_DeletePolicyRequest as DeletePolicyRequest, type index_d$2_DeletePolicyResponse as DeletePolicyResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventCopied$1 as EventCopied, type EventMetadata$2 as EventMetadata, EventStatus$2 as EventStatus, type index_d$2_GetPolicyFromTrashBinRequest as GetPolicyFromTrashBinRequest, type index_d$2_GetPolicyFromTrashBinResponse as GetPolicyFromTrashBinResponse, type index_d$2_GetPolicyRequest as GetPolicyRequest, type index_d$2_GetPolicyResponse as GetPolicyResponse, type index_d$2_GetPolicyResponseNonNullableFields as GetPolicyResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Location$2 as Location, LocationType$2 as LocationType, type MapCoordinates$2 as MapCoordinates, type MessageEnvelope$2 as MessageEnvelope, type Occurrence$2 as Occurrence, type Paging$2 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type index_d$2_PoliciesQueryBuilder as PoliciesQueryBuilder, type index_d$2_PoliciesQueryResult as PoliciesQueryResult, type index_d$2_Policy as Policy, type index_d$2_PolicyCreatedEnvelope as PolicyCreatedEnvelope, type index_d$2_PolicyDeletedEnvelope as PolicyDeletedEnvelope, type index_d$2_PolicyNonNullableFields as PolicyNonNullableFields, type index_d$2_PolicyUpdatedEnvelope as PolicyUpdatedEnvelope, type index_d$2_QueryPoliciesRequest as QueryPoliciesRequest, type index_d$2_QueryPoliciesResponse as QueryPoliciesResponse, type index_d$2_QueryPoliciesResponseNonNullableFields as QueryPoliciesResponseNonNullableFields, type QueryV2$2 as QueryV2, type QueryV2PagingMethodOneOf$2 as QueryV2PagingMethodOneOf, type Recurrences$2 as Recurrences, type index_d$2_ReorderEventPoliciesOptions as ReorderEventPoliciesOptions, type index_d$2_ReorderEventPoliciesRequest as ReorderEventPoliciesRequest, type index_d$2_ReorderEventPoliciesRequestReferencePolicyOneOf as ReorderEventPoliciesRequestReferencePolicyOneOf, type index_d$2_ReorderEventPoliciesResponse as ReorderEventPoliciesResponse, type index_d$2_ReorderEventPoliciesResponseNonNullableFields as ReorderEventPoliciesResponseNonNullableFields, type ScheduleConfig$2 as ScheduleConfig, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Status$2 as Status, type StreetAddress$2 as StreetAddress, type Subdivision$2 as Subdivision, SubdivisionType$2 as SubdivisionType, type index_d$2_UpdatePolicy as UpdatePolicy, type index_d$2_UpdatePolicyRequest as UpdatePolicyRequest, type index_d$2_UpdatePolicyResponse as UpdatePolicyResponse, type index_d$2_UpdatePolicyResponseNonNullableFields as UpdatePolicyResponseNonNullableFields, type index_d$2_UpdatePolicySortIndexRequest as UpdatePolicySortIndexRequest, type index_d$2_UpdatePolicySortIndexResponse as UpdatePolicySortIndexResponse, WebhookIdentityType$2 as WebhookIdentityType, type index_d$2__publicCreatePolicyType as _publicCreatePolicyType, type index_d$2__publicDeletePolicyType as _publicDeletePolicyType, type index_d$2__publicGetPolicyType as _publicGetPolicyType, type index_d$2__publicOnPolicyCreatedType as _publicOnPolicyCreatedType, type index_d$2__publicOnPolicyDeletedType as _publicOnPolicyDeletedType, type index_d$2__publicOnPolicyUpdatedType as _publicOnPolicyUpdatedType, type index_d$2__publicQueryPoliciesType as _publicQueryPoliciesType, type index_d$2__publicReorderEventPoliciesType as _publicReorderEventPoliciesType, type index_d$2__publicUpdatePolicyType as _publicUpdatePolicyType, index_d$2_createPolicy as createPolicy, index_d$2_deletePolicy as deletePolicy, index_d$2_getPolicy as getPolicy, index_d$2_onPolicyCreated as onPolicyCreated, index_d$2_onPolicyDeleted as onPolicyDeleted, index_d$2_onPolicyUpdated as onPolicyUpdated, onPolicyCreated$1 as publicOnPolicyCreated, onPolicyDeleted$1 as publicOnPolicyDeleted, onPolicyUpdated$1 as publicOnPolicyUpdated, index_d$2_queryPolicies as queryPolicies, index_d$2_reorderEventPolicies as reorderEventPolicies, index_d$2_updatePolicy as updatePolicy };
|
|
12546
13914
|
}
|
|
12547
13915
|
|
|
12548
13916
|
interface V3Event {
|
|
@@ -14661,26 +16029,33 @@ interface Category$1 {
|
|
|
14661
16029
|
/** Category name. */
|
|
14662
16030
|
name?: string;
|
|
14663
16031
|
/**
|
|
14664
|
-
*
|
|
16032
|
+
* Date and time when category was created.
|
|
14665
16033
|
* @readonly
|
|
14666
16034
|
*/
|
|
14667
16035
|
_createdDate?: Date;
|
|
14668
16036
|
/**
|
|
14669
|
-
*
|
|
16037
|
+
* The total number of draft and published events assigned to the category.
|
|
14670
16038
|
* @readonly
|
|
14671
16039
|
*/
|
|
14672
16040
|
counts?: CategoryCounts$1;
|
|
14673
16041
|
/**
|
|
14674
|
-
* Category state.
|
|
14675
|
-
*
|
|
14676
|
-
*
|
|
16042
|
+
* Category state. Possible values:
|
|
16043
|
+
*
|
|
16044
|
+
* `MANUAL`: Category is created manually by the user.
|
|
16045
|
+
* `AUTO`: Category is created automatically.
|
|
16046
|
+
* `RECURRING_EVENT`: Category is created automatically when publishing recurring events.
|
|
16047
|
+
* `HIDDEN`: Category can't be seen.
|
|
16048
|
+
*
|
|
16049
|
+
* Default: `MANUAL`.
|
|
16050
|
+
*
|
|
16051
|
+
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission is required to use states other than `MANUAL`.
|
|
14677
16052
|
*/
|
|
14678
16053
|
states?: State$1[];
|
|
14679
16054
|
}
|
|
14680
16055
|
interface CategoryCounts$1 {
|
|
14681
|
-
/**
|
|
16056
|
+
/** Total number of draft events assigned to the category. */
|
|
14682
16057
|
assignedEventsCount?: number | null;
|
|
14683
|
-
/**
|
|
16058
|
+
/** Total number of published events assigned to the category. Deleted events are excluded. */
|
|
14684
16059
|
assignedDraftEventsCount?: number | null;
|
|
14685
16060
|
}
|
|
14686
16061
|
declare enum State$1 {
|
|
@@ -15577,31 +16952,248 @@ interface GetEventBySlugOptions {
|
|
|
15577
16952
|
fields?: RequestedFields[];
|
|
15578
16953
|
}
|
|
15579
16954
|
|
|
16955
|
+
declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
|
|
16956
|
+
interface CreateEventSignature {
|
|
16957
|
+
/**
|
|
16958
|
+
* Creates an event.
|
|
16959
|
+
*
|
|
16960
|
+
*
|
|
16961
|
+
* The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See [Registration Form](https://www.wix.com/velo/reference/wix-events-v2/forms/introduction) for more information.
|
|
16962
|
+
*
|
|
16963
|
+
* You can create the event as a draft by setting the draft value to true. Otherwise, the event is published right away.
|
|
16964
|
+
*
|
|
16965
|
+
* The event is automatically set up to send daily summary reports of new guests to your business email.
|
|
16966
|
+
* @param - Event data.
|
|
16967
|
+
* @param - Optional fields.
|
|
16968
|
+
* @returns Created event.
|
|
16969
|
+
*/
|
|
16970
|
+
(event: V3Event, options?: CreateEventOptions | undefined): Promise<V3Event & V3EventNonNullableFields>;
|
|
16971
|
+
}
|
|
16972
|
+
declare function cloneEvent$1(httpClient: HttpClient): CloneEventSignature;
|
|
16973
|
+
interface CloneEventSignature {
|
|
16974
|
+
/**
|
|
16975
|
+
* Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event.
|
|
16976
|
+
*
|
|
16977
|
+
*
|
|
16978
|
+
* The new event's date is automatically set to 14 days from the original event date.
|
|
16979
|
+
* If an event with the same title already exists, the new event's title gets a sequence number. For example, if you clone an event named "Leather Crafting 101", the new event's title is "Leather Crafting 101 (1)". You can change the required entity field values while cloning an event.
|
|
16980
|
+
* @param - Event ID.
|
|
16981
|
+
* @param - Optional fields.
|
|
16982
|
+
*/
|
|
16983
|
+
(eventId: string, options?: CloneEventOptions | undefined): Promise<CloneEventResponse & CloneEventResponseNonNullableFields>;
|
|
16984
|
+
}
|
|
16985
|
+
declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
|
|
16986
|
+
interface UpdateEventSignature {
|
|
16987
|
+
/**
|
|
16988
|
+
* Updates an event.
|
|
16989
|
+
* @param - Event ID.
|
|
16990
|
+
* @param - Optional fields.
|
|
16991
|
+
* @returns Updated event.
|
|
16992
|
+
*/
|
|
16993
|
+
(_id: string, options?: UpdateEventOptions | undefined): Promise<V3Event & V3EventNonNullableFields>;
|
|
16994
|
+
}
|
|
16995
|
+
declare function publishDraftEvent$1(httpClient: HttpClient): PublishDraftEventSignature;
|
|
16996
|
+
interface PublishDraftEventSignature {
|
|
16997
|
+
/**
|
|
16998
|
+
* Publishes a draft event to your live site. Once published, the event's status changes from `DRAFT` to `UPCOMING.`
|
|
16999
|
+
*
|
|
17000
|
+
*
|
|
17001
|
+
* It's impossible to revert the `DRAFT` status after publishing. The only option is to clone the event, and then delete the original one.
|
|
17002
|
+
* @param - Event ID.
|
|
17003
|
+
* @param - Optional fields.
|
|
17004
|
+
*/
|
|
17005
|
+
(eventId: string, options?: PublishDraftEventOptions | undefined): Promise<PublishDraftEventResponse & PublishDraftEventResponseNonNullableFields>;
|
|
17006
|
+
}
|
|
17007
|
+
declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
|
|
17008
|
+
interface CancelEventSignature {
|
|
17009
|
+
/**
|
|
17010
|
+
* Cancels an event.
|
|
17011
|
+
*
|
|
17012
|
+
*
|
|
17013
|
+
* After cancellation, registration for an event is closed. To reuse the event, [clone](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/cloneevent) and [publish](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/publishdraftevent) it again.
|
|
17014
|
+
* If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.
|
|
17015
|
+
* @param - Event ID.
|
|
17016
|
+
* @param - Optional fields.
|
|
17017
|
+
*/
|
|
17018
|
+
(eventId: string, options?: CancelEventOptions | undefined): Promise<CancelEventResponse & CancelEventResponseNonNullableFields>;
|
|
17019
|
+
}
|
|
17020
|
+
declare function bulkCancelEventsByFilter$1(httpClient: HttpClient): BulkCancelEventsByFilterSignature;
|
|
17021
|
+
interface BulkCancelEventsByFilterSignature {
|
|
17022
|
+
/**
|
|
17023
|
+
* Cancels multiple events that meet the given criteria.
|
|
17024
|
+
*
|
|
17025
|
+
*
|
|
17026
|
+
* After cancellation, registration for an event is closed. To reuse the event, [clone](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/cloneevent) and [publish](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/publishdraftevent) it again.
|
|
17027
|
+
* If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.
|
|
17028
|
+
* @param - Optional fields.
|
|
17029
|
+
*/
|
|
17030
|
+
(options?: BulkCancelEventsByFilterOptions | undefined): Promise<void>;
|
|
17031
|
+
}
|
|
17032
|
+
declare function deleteEvent$1(httpClient: HttpClient): DeleteEventSignature;
|
|
17033
|
+
interface DeleteEventSignature {
|
|
17034
|
+
/**
|
|
17035
|
+
* Permanently deletes an event. <br> <br>
|
|
17036
|
+
* You can retrieve the deleted event through a GDPR access request.
|
|
17037
|
+
* @param - Event ID.
|
|
17038
|
+
*/
|
|
17039
|
+
(eventId: string): Promise<DeleteEventResponse & DeleteEventResponseNonNullableFields>;
|
|
17040
|
+
}
|
|
17041
|
+
declare function bulkDeleteEventsByFilter$1(httpClient: HttpClient): BulkDeleteEventsByFilterSignature;
|
|
17042
|
+
interface BulkDeleteEventsByFilterSignature {
|
|
17043
|
+
/**
|
|
17044
|
+
* Permanently deletes multiple events that meet the given criteria.
|
|
17045
|
+
*
|
|
17046
|
+
*
|
|
17047
|
+
* You can retrieve the deleted events through a GDPR access request.
|
|
17048
|
+
* @param - Optional fields.
|
|
17049
|
+
*/
|
|
17050
|
+
(options?: BulkDeleteEventsByFilterOptions | undefined): Promise<void>;
|
|
17051
|
+
}
|
|
17052
|
+
declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
|
|
17053
|
+
interface QueryEventsSignature {
|
|
17054
|
+
/**
|
|
17055
|
+
* Creates a query to retrieve a list of events.
|
|
17056
|
+
*
|
|
17057
|
+
*
|
|
17058
|
+
* The `queryEvents()` function builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.
|
|
17059
|
+
*
|
|
17060
|
+
* The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) function.
|
|
17061
|
+
*
|
|
17062
|
+
* You can refine the query by chaining `EventsQueryBuilder` functions onto the query. `EventsQueryBuilder` functions enable you to sort, filter, and control the results `queryEvents()` returns.
|
|
17063
|
+
*
|
|
17064
|
+
* `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:
|
|
17065
|
+
*
|
|
17066
|
+
* - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)
|
|
17067
|
+
* - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)
|
|
17068
|
+
* - [`descending("_createdDate")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)
|
|
17069
|
+
*
|
|
17070
|
+
* The functions that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.
|
|
17071
|
+
* @param - Optional fields.
|
|
17072
|
+
*/
|
|
17073
|
+
(options?: QueryEventsOptions | undefined): EventsQueryBuilder;
|
|
17074
|
+
}
|
|
17075
|
+
declare function countEventsByStatus$1(httpClient: HttpClient): CountEventsByStatusSignature;
|
|
17076
|
+
interface CountEventsByStatusSignature {
|
|
17077
|
+
/**
|
|
17078
|
+
* Counts events by status.
|
|
17079
|
+
* @param - Optional fields.
|
|
17080
|
+
*/
|
|
17081
|
+
(options?: CountEventsByStatusOptions | undefined): Promise<CountEventsByStatusResponse>;
|
|
17082
|
+
}
|
|
17083
|
+
declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
|
|
17084
|
+
interface GetEventSignature {
|
|
17085
|
+
/**
|
|
17086
|
+
* Retrieves an event by ID.
|
|
17087
|
+
* @param - Event ID.
|
|
17088
|
+
* @param - Optional fields.
|
|
17089
|
+
* @returns Event.
|
|
17090
|
+
*/
|
|
17091
|
+
(eventId: string | null, options?: GetEventOptions | undefined): Promise<V3Event & V3EventNonNullableFields>;
|
|
17092
|
+
}
|
|
17093
|
+
declare function getEventBySlug$1(httpClient: HttpClient): GetEventBySlugSignature;
|
|
17094
|
+
interface GetEventBySlugSignature {
|
|
17095
|
+
/**
|
|
17096
|
+
* Retrieves an event by the `slug` URL.
|
|
17097
|
+
*
|
|
17098
|
+
*
|
|
17099
|
+
* The slug is the end of an event URL that refers to a specific event. For example, if an events' URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.
|
|
17100
|
+
* @param - URL slug.
|
|
17101
|
+
* @param - Optional fields.
|
|
17102
|
+
*/
|
|
17103
|
+
(slug: string | null, options?: GetEventBySlugOptions | undefined): Promise<GetEventBySlugResponse & GetEventBySlugResponseNonNullableFields>;
|
|
17104
|
+
}
|
|
17105
|
+
declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.events.v3.event_created">;
|
|
17106
|
+
declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.events.v3.event_updated">;
|
|
17107
|
+
declare const onEventDeleted$1: EventDefinition<EventDeletedEnvelope, "wix.events.v3.event_deleted">;
|
|
17108
|
+
declare const onEventStarted$1: EventDefinition<EventStartedEnvelope, "wix.events.v3.event_started">;
|
|
17109
|
+
declare const onEventEnded$1: EventDefinition<EventEndedEnvelope, "wix.events.v3.event_ended">;
|
|
17110
|
+
declare const onEventReminder$1: EventDefinition<EventReminderEnvelope, "wix.events.v3.event_reminder">;
|
|
17111
|
+
declare const onEventPublished$1: EventDefinition<EventPublishedEnvelope, "wix.events.v3.event_published">;
|
|
17112
|
+
declare const onEventCloned$1: EventDefinition<EventClonedEnvelope, "wix.events.v3.event_cloned">;
|
|
17113
|
+
declare const onEventCanceled$1: EventDefinition<EventCanceledEnvelope, "wix.events.v3.event_canceled">;
|
|
17114
|
+
|
|
15580
17115
|
declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
15581
17116
|
|
|
15582
17117
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
15583
17118
|
|
|
15584
|
-
|
|
15585
|
-
declare const
|
|
15586
|
-
|
|
15587
|
-
declare const
|
|
15588
|
-
|
|
15589
|
-
declare const
|
|
15590
|
-
|
|
15591
|
-
declare const
|
|
15592
|
-
|
|
15593
|
-
declare const
|
|
15594
|
-
|
|
15595
|
-
declare const
|
|
15596
|
-
|
|
15597
|
-
declare const
|
|
15598
|
-
|
|
15599
|
-
declare const
|
|
15600
|
-
|
|
15601
|
-
declare const
|
|
15602
|
-
|
|
15603
|
-
declare const
|
|
15604
|
-
|
|
17119
|
+
type _publicCreateEventType = typeof createEvent$1;
|
|
17120
|
+
declare const createEvent: ReturnType<typeof createRESTModule$1<_publicCreateEventType>>;
|
|
17121
|
+
type _publicCloneEventType = typeof cloneEvent$1;
|
|
17122
|
+
declare const cloneEvent: ReturnType<typeof createRESTModule$1<_publicCloneEventType>>;
|
|
17123
|
+
type _publicUpdateEventType = typeof updateEvent$1;
|
|
17124
|
+
declare const updateEvent: ReturnType<typeof createRESTModule$1<_publicUpdateEventType>>;
|
|
17125
|
+
type _publicPublishDraftEventType = typeof publishDraftEvent$1;
|
|
17126
|
+
declare const publishDraftEvent: ReturnType<typeof createRESTModule$1<_publicPublishDraftEventType>>;
|
|
17127
|
+
type _publicCancelEventType = typeof cancelEvent$1;
|
|
17128
|
+
declare const cancelEvent: ReturnType<typeof createRESTModule$1<_publicCancelEventType>>;
|
|
17129
|
+
type _publicBulkCancelEventsByFilterType = typeof bulkCancelEventsByFilter$1;
|
|
17130
|
+
declare const bulkCancelEventsByFilter: ReturnType<typeof createRESTModule$1<_publicBulkCancelEventsByFilterType>>;
|
|
17131
|
+
type _publicDeleteEventType = typeof deleteEvent$1;
|
|
17132
|
+
declare const deleteEvent: ReturnType<typeof createRESTModule$1<_publicDeleteEventType>>;
|
|
17133
|
+
type _publicBulkDeleteEventsByFilterType = typeof bulkDeleteEventsByFilter$1;
|
|
17134
|
+
declare const bulkDeleteEventsByFilter: ReturnType<typeof createRESTModule$1<_publicBulkDeleteEventsByFilterType>>;
|
|
17135
|
+
type _publicQueryEventsType = typeof queryEvents$1;
|
|
17136
|
+
declare const queryEvents: ReturnType<typeof createRESTModule$1<_publicQueryEventsType>>;
|
|
17137
|
+
type _publicCountEventsByStatusType = typeof countEventsByStatus$1;
|
|
17138
|
+
declare const countEventsByStatus: ReturnType<typeof createRESTModule$1<_publicCountEventsByStatusType>>;
|
|
17139
|
+
type _publicGetEventType = typeof getEvent$1;
|
|
17140
|
+
declare const getEvent: ReturnType<typeof createRESTModule$1<_publicGetEventType>>;
|
|
17141
|
+
type _publicGetEventBySlugType = typeof getEventBySlug$1;
|
|
17142
|
+
declare const getEventBySlug: ReturnType<typeof createRESTModule$1<_publicGetEventBySlugType>>;
|
|
17143
|
+
|
|
17144
|
+
type _publicOnEventCreatedType = typeof onEventCreated$1;
|
|
17145
|
+
/** */
|
|
17146
|
+
declare const onEventCreated: ReturnType<typeof createEventModule$1<_publicOnEventCreatedType>>;
|
|
17147
|
+
|
|
17148
|
+
type _publicOnEventUpdatedType = typeof onEventUpdated$1;
|
|
17149
|
+
/** */
|
|
17150
|
+
declare const onEventUpdated: ReturnType<typeof createEventModule$1<_publicOnEventUpdatedType>>;
|
|
17151
|
+
|
|
17152
|
+
type _publicOnEventDeletedType = typeof onEventDeleted$1;
|
|
17153
|
+
/** */
|
|
17154
|
+
declare const onEventDeleted: ReturnType<typeof createEventModule$1<_publicOnEventDeletedType>>;
|
|
17155
|
+
|
|
17156
|
+
type _publicOnEventStartedType = typeof onEventStarted$1;
|
|
17157
|
+
/**
|
|
17158
|
+
* Triggered when an event is started.
|
|
17159
|
+
*/
|
|
17160
|
+
declare const onEventStarted: ReturnType<typeof createEventModule$1<_publicOnEventStartedType>>;
|
|
17161
|
+
|
|
17162
|
+
type _publicOnEventEndedType = typeof onEventEnded$1;
|
|
17163
|
+
/**
|
|
17164
|
+
* Triggered when an event has ended.
|
|
17165
|
+
*/
|
|
17166
|
+
declare const onEventEnded: ReturnType<typeof createEventModule$1<_publicOnEventEndedType>>;
|
|
17167
|
+
|
|
17168
|
+
type _publicOnEventReminderType = typeof onEventReminder$1;
|
|
17169
|
+
/**
|
|
17170
|
+
* Triggered when a certain amount of time is left until the event. In total there are 6 reminders:
|
|
17171
|
+
* - 7 days
|
|
17172
|
+
* - 3 days
|
|
17173
|
+
* - 1 day
|
|
17174
|
+
* - 2 hours
|
|
17175
|
+
* - 1 hour
|
|
17176
|
+
* - 30 minutes
|
|
17177
|
+
*/
|
|
17178
|
+
declare const onEventReminder: ReturnType<typeof createEventModule$1<_publicOnEventReminderType>>;
|
|
17179
|
+
|
|
17180
|
+
type _publicOnEventPublishedType = typeof onEventPublished$1;
|
|
17181
|
+
/**
|
|
17182
|
+
* Triggered when an event is published
|
|
17183
|
+
*/
|
|
17184
|
+
declare const onEventPublished: ReturnType<typeof createEventModule$1<_publicOnEventPublishedType>>;
|
|
17185
|
+
|
|
17186
|
+
type _publicOnEventClonedType = typeof onEventCloned$1;
|
|
17187
|
+
/**
|
|
17188
|
+
* Triggered when an event is cloned
|
|
17189
|
+
*/
|
|
17190
|
+
declare const onEventCloned: ReturnType<typeof createEventModule$1<_publicOnEventClonedType>>;
|
|
17191
|
+
|
|
17192
|
+
type _publicOnEventCanceledType = typeof onEventCanceled$1;
|
|
17193
|
+
/**
|
|
17194
|
+
* Triggered when an event is canceled
|
|
17195
|
+
*/
|
|
17196
|
+
declare const onEventCanceled: ReturnType<typeof createEventModule$1<_publicOnEventCanceledType>>;
|
|
15605
17197
|
|
|
15606
17198
|
type index_d$1_AgendaSettings = AgendaSettings;
|
|
15607
17199
|
type index_d$1_BulkCancelEventsByFilterOptions = BulkCancelEventsByFilterOptions;
|
|
@@ -15745,6 +17337,27 @@ type index_d$1_UserFilter = UserFilter;
|
|
|
15745
17337
|
type index_d$1_V3Event = V3Event;
|
|
15746
17338
|
type index_d$1_V3EventDisplaySettings = V3EventDisplaySettings;
|
|
15747
17339
|
type index_d$1_V3EventNonNullableFields = V3EventNonNullableFields;
|
|
17340
|
+
type index_d$1__publicBulkCancelEventsByFilterType = _publicBulkCancelEventsByFilterType;
|
|
17341
|
+
type index_d$1__publicBulkDeleteEventsByFilterType = _publicBulkDeleteEventsByFilterType;
|
|
17342
|
+
type index_d$1__publicCancelEventType = _publicCancelEventType;
|
|
17343
|
+
type index_d$1__publicCloneEventType = _publicCloneEventType;
|
|
17344
|
+
type index_d$1__publicCountEventsByStatusType = _publicCountEventsByStatusType;
|
|
17345
|
+
type index_d$1__publicCreateEventType = _publicCreateEventType;
|
|
17346
|
+
type index_d$1__publicDeleteEventType = _publicDeleteEventType;
|
|
17347
|
+
type index_d$1__publicGetEventBySlugType = _publicGetEventBySlugType;
|
|
17348
|
+
type index_d$1__publicGetEventType = _publicGetEventType;
|
|
17349
|
+
type index_d$1__publicOnEventCanceledType = _publicOnEventCanceledType;
|
|
17350
|
+
type index_d$1__publicOnEventClonedType = _publicOnEventClonedType;
|
|
17351
|
+
type index_d$1__publicOnEventCreatedType = _publicOnEventCreatedType;
|
|
17352
|
+
type index_d$1__publicOnEventDeletedType = _publicOnEventDeletedType;
|
|
17353
|
+
type index_d$1__publicOnEventEndedType = _publicOnEventEndedType;
|
|
17354
|
+
type index_d$1__publicOnEventPublishedType = _publicOnEventPublishedType;
|
|
17355
|
+
type index_d$1__publicOnEventReminderType = _publicOnEventReminderType;
|
|
17356
|
+
type index_d$1__publicOnEventStartedType = _publicOnEventStartedType;
|
|
17357
|
+
type index_d$1__publicOnEventUpdatedType = _publicOnEventUpdatedType;
|
|
17358
|
+
type index_d$1__publicPublishDraftEventType = _publicPublishDraftEventType;
|
|
17359
|
+
type index_d$1__publicQueryEventsType = _publicQueryEventsType;
|
|
17360
|
+
type index_d$1__publicUpdateEventType = _publicUpdateEventType;
|
|
15748
17361
|
declare const index_d$1_bulkCancelEventsByFilter: typeof bulkCancelEventsByFilter;
|
|
15749
17362
|
declare const index_d$1_bulkDeleteEventsByFilter: typeof bulkDeleteEventsByFilter;
|
|
15750
17363
|
declare const index_d$1_cancelEvent: typeof cancelEvent;
|
|
@@ -15767,7 +17380,7 @@ declare const index_d$1_publishDraftEvent: typeof publishDraftEvent;
|
|
|
15767
17380
|
declare const index_d$1_queryEvents: typeof queryEvents;
|
|
15768
17381
|
declare const index_d$1_updateEvent: typeof updateEvent;
|
|
15769
17382
|
declare namespace index_d$1 {
|
|
15770
|
-
export { type ActionEvent$1 as ActionEvent, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressStreetOneOf$1 as AddressStreetOneOf, type Agenda$1 as Agenda, type index_d$1_AgendaSettings as AgendaSettings, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkCancelEventsByFilterOptions as BulkCancelEventsByFilterOptions, type index_d$1_BulkCancelEventsByFilterRequest as BulkCancelEventsByFilterRequest, type index_d$1_BulkCancelEventsByFilterResponse as BulkCancelEventsByFilterResponse, type index_d$1_BulkDeleteEventsByFilterOptions as BulkDeleteEventsByFilterOptions, type index_d$1_BulkDeleteEventsByFilterRequest as BulkDeleteEventsByFilterRequest, type index_d$1_BulkDeleteEventsByFilterResponse as BulkDeleteEventsByFilterResponse, type CalendarLinks$1 as CalendarLinks, type index_d$1_CalendarUrls as CalendarUrls, type index_d$1_CancelEventOptions as CancelEventOptions, type index_d$1_CancelEventRequest as CancelEventRequest, type index_d$1_CancelEventResponse as CancelEventResponse, type index_d$1_CancelEventResponseNonNullableFields as CancelEventResponseNonNullableFields, type Category$1 as Category, type CategoryCounts$1 as CategoryCounts, type CheckoutFormMessages$1 as CheckoutFormMessages, type index_d$1_CloneEventOptions as CloneEventOptions, type index_d$1_CloneEventRequest as CloneEventRequest, type index_d$1_CloneEventResponse as CloneEventResponse, type index_d$1_CloneEventResponseNonNullableFields as CloneEventResponseNonNullableFields, type index_d$1_CommonAddress as CommonAddress, type index_d$1_CommonAddressLocation as CommonAddressLocation, type index_d$1_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$1_CommonCursors as CommonCursors, type index_d$1_CommonPaging as CommonPaging, type index_d$1_CommonPagingMetadataV2 as CommonPagingMetadataV2, type index_d$1_CommonQueryV2 as CommonQueryV2, type index_d$1_CommonQueryV2PagingMethodOneOf as CommonQueryV2PagingMethodOneOf, index_d$1_CommonSortOrder as CommonSortOrder, type index_d$1_CommonSorting as CommonSorting, type index_d$1_CommonStreetAddress as CommonStreetAddress, type index_d$1_CommonSubdivision as CommonSubdivision, ConferenceType$1 as ConferenceType, index_d$1_ConferenceTypeType as ConferenceTypeType, type index_d$1_CountEventsByStatusOptions as CountEventsByStatusOptions, type index_d$1_CountEventsByStatusRequest as CountEventsByStatusRequest, type index_d$1_CountEventsByStatusResponse as CountEventsByStatusResponse, type index_d$1_CreateEventOptions as CreateEventOptions, type index_d$1_CreateEventRequest as CreateEventRequest, type index_d$1_CreateEventResponse as CreateEventResponse, type index_d$1_CreateEventResponseNonNullableFields as CreateEventResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type Dashboard$1 as Dashboard, type index_d$1_DateAndTimeSettings as DateAndTimeSettings, type index_d$1_DeleteEventRequest as DeleteEventRequest, type index_d$1_DeleteEventResponse as DeleteEventResponse, type index_d$1_DeleteEventResponseNonNullableFields as DeleteEventResponseNonNullableFields, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type Event$1 as Event, type EventCanceled$1 as EventCanceled, type index_d$1_EventCanceledEnvelope as EventCanceledEnvelope, type index_d$1_EventCategories as EventCategories, type index_d$1_EventCategory as EventCategory, type index_d$1_EventCloned as EventCloned, type index_d$1_EventClonedEnvelope as EventClonedEnvelope, type index_d$1_EventCopied as EventCopied, type EventCreated$1 as EventCreated, type index_d$1_EventCreatedEnvelope as EventCreatedEnvelope, type EventDeleted$1 as EventDeleted, type index_d$1_EventDeletedEnvelope as EventDeletedEnvelope, type EventDisplaySettings$1 as EventDisplaySettings, type EventEnded$1 as EventEnded, type index_d$1_EventEndedEnvelope as EventEndedEnvelope, type index_d$1_EventEventCanceled as EventEventCanceled, type index_d$1_EventEventEnded as EventEventEnded, type index_d$1_EventEventPublished as EventEventPublished, type index_d$1_EventEventReminder as EventEventReminder, type index_d$1_EventEventStarted as EventEventStarted, type EventMetadata$1 as EventMetadata, type index_d$1_EventPublished as EventPublished, type index_d$1_EventPublishedEnvelope as EventPublishedEnvelope, type index_d$1_EventReminder as EventReminder, type index_d$1_EventReminderEnvelope as EventReminderEnvelope, type index_d$1_EventStarted as EventStarted, type index_d$1_EventStartedEnvelope as EventStartedEnvelope, EventStatus$1 as EventStatus, EventType$1 as EventType, type EventUpdated$1 as EventUpdated, type index_d$1_EventUpdatedEnvelope as EventUpdatedEnvelope, type index_d$1_EventsFeed as EventsFeed, type index_d$1_EventsLabellingSettings as EventsLabellingSettings, type index_d$1_EventsLocation as EventsLocation, type index_d$1_EventsMoney as EventsMoney, type index_d$1_EventsOccurrence as EventsOccurrence, type index_d$1_EventsOnlineConferencing as EventsOnlineConferencing, type index_d$1_EventsOnlineConferencingSession as EventsOnlineConferencingSession, type index_d$1_EventsQueryBuilder as EventsQueryBuilder, type index_d$1_EventsQueryResult as EventsQueryResult, index_d$1_EventsRecurrenceStatusStatus as EventsRecurrenceStatusStatus, type index_d$1_EventsRecurrences as EventsRecurrences, type index_d$1_EventsRegistration as EventsRegistration, type index_d$1_EventsSeoSettings as EventsSeoSettings, index_d$1_EventsTaxType as EventsTaxType, type index_d$1_ExportEventsRequest as ExportEventsRequest, type index_d$1_ExportEventsResponse as ExportEventsResponse, type ExternalEvent$1 as ExternalEvent, type index_d$1_ExternalRegistration as ExternalRegistration, type FacetCounts$1 as FacetCounts, type Feed$1 as Feed, type index_d$1_FindEventRequest as FindEventRequest, type index_d$1_FindEventRequestFindByOneOf as FindEventRequestFindByOneOf, type index_d$1_FindEventResponse as FindEventResponse, type Form$1 as Form, type FormMessages$1 as FormMessages, type index_d$1_Formatted as Formatted, type index_d$1_GetEventBySlugOptions as GetEventBySlugOptions, type index_d$1_GetEventBySlugRequest as GetEventBySlugRequest, type index_d$1_GetEventBySlugResponse as GetEventBySlugResponse, type index_d$1_GetEventBySlugResponseNonNullableFields as GetEventBySlugResponseNonNullableFields, type index_d$1_GetEventOptions as GetEventOptions, type index_d$1_GetEventRequest as GetEventRequest, type index_d$1_GetEventResponse as GetEventResponse, type index_d$1_GetEventResponseNonNullableFields as GetEventResponseNonNullableFields, type GuestListConfig$1 as GuestListConfig, type index_d$1_GuestListSettings as GuestListSettings, index_d$1_GuestTypeType as GuestTypeType, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_InitialRegistrationTypeType as InitialRegistrationTypeType, type Input$1 as Input, type InputControl$1 as InputControl, InputControlType$1 as InputControlType, type Keyword$1 as Keyword, type Label$1 as Label, type LabellingSettings$1 as LabellingSettings, type index_d$1_ListEventsByCategoryRequest as ListEventsByCategoryRequest, type index_d$1_ListEventsByCategoryResponse as ListEventsByCategoryResponse, type index_d$1_ListUserEventsRequest as ListUserEventsRequest, type index_d$1_ListUserEventsResponse as ListUserEventsResponse, type Location$1 as Location, index_d$1_LocationLocationType as LocationLocationType, LocationType$1 as LocationType, type MapCoordinates$1 as MapCoordinates, type MessageEnvelope$1 as MessageEnvelope, type Money$1 as Money, type Negative$1 as Negative, type NegativeResponseConfirmation$1 as NegativeResponseConfirmation, type Occurrence$1 as Occurrence, type OnlineConferencing$1 as OnlineConferencing, type OnlineConferencingConfig$1 as OnlineConferencingConfig, type OnlineConferencingSession$1 as OnlineConferencingSession, type OptionSelection$1 as OptionSelection, type OptionSelectionSelectedOptionOneOf$1 as OptionSelectionSelectedOptionOneOf, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Positive$1 as Positive, type PositiveResponseConfirmation$1 as PositiveResponseConfirmation, type index_d$1_PublishDraftEventOptions as PublishDraftEventOptions, type index_d$1_PublishDraftEventRequest as PublishDraftEventRequest, type index_d$1_PublishDraftEventResponse as PublishDraftEventResponse, type index_d$1_PublishDraftEventResponseNonNullableFields as PublishDraftEventResponseNonNullableFields, type index_d$1_QueryEventsOptions as QueryEventsOptions, type index_d$1_QueryEventsRequest as QueryEventsRequest, type index_d$1_QueryEventsResponse as QueryEventsResponse, type index_d$1_QueryEventsResponseNonNullableFields as QueryEventsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, index_d$1_RecurrenceStatusStatus as RecurrenceStatusStatus, type Recurrences$1 as Recurrences, type Registration$1 as Registration, type RegistrationClosedMessages$1 as RegistrationClosedMessages, RegistrationStatus$1 as RegistrationStatus, index_d$1_RegistrationStatusStatus as RegistrationStatusStatus, index_d$1_RegistrationTypeType as RegistrationTypeType, index_d$1_Relation as Relation, index_d$1_RequestedFields as RequestedFields, type ResponseConfirmation$1 as ResponseConfirmation, index_d$1_ResponseType as ResponseType, type RestoreInfo$1 as RestoreInfo, type RsvpCollection$1 as RsvpCollection, type RsvpCollectionConfig$1 as RsvpCollectionConfig, type RsvpFormMessages$1 as RsvpFormMessages, type index_d$1_RsvpRegistration as RsvpRegistration, RsvpStatusOptions$1 as RsvpStatusOptions, type RsvpSummary$1 as RsvpSummary, type index_d$1_Rsvps as Rsvps, type ScheduleConfig$1 as ScheduleConfig, type Scheduling$1 as Scheduling, type SeoSchema$1 as SeoSchema, type SeoSettings$1 as SeoSettings, type Settings$1 as Settings, type SiteUrl$1 as SiteUrl, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, Status$1 as Status, type StreetAddress$1 as StreetAddress, type Subdivision$1 as Subdivision, index_d$1_SubdivisionSubdivisionType as SubdivisionSubdivisionType, SubdivisionType$1 as SubdivisionType, type index_d$1_Summaries as Summaries, type Tag$1 as Tag, type TaxConfig$1 as TaxConfig, type index_d$1_TaxSettings as TaxSettings, TaxType$1 as TaxType, type Ticketing$1 as Ticketing, type TicketingConfig$1 as TicketingConfig, type TicketingSummary$1 as TicketingSummary, type index_d$1_Tickets as Tickets, type index_d$1_TicketsRegistration as TicketsRegistration, type TicketsUnavailableMessages$1 as TicketsUnavailableMessages, type index_d$1_TimeDuration as TimeDuration, Type$1 as Type, type index_d$1_UpdateEventOptions as UpdateEventOptions, type index_d$1_UpdateEventRequest as UpdateEventRequest, type index_d$1_UpdateEventResponse as UpdateEventResponse, type index_d$1_UpdateEventResponseNonNullableFields as UpdateEventResponseNonNullableFields, type index_d$1_UserFilter as UserFilter, type index_d$1_V3Event as V3Event, type index_d$1_V3EventDisplaySettings as V3EventDisplaySettings, type index_d$1_V3EventNonNullableFields as V3EventNonNullableFields, ValueType$1 as ValueType, VisitorType$1 as VisitorType, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_bulkCancelEventsByFilter as bulkCancelEventsByFilter, index_d$1_bulkDeleteEventsByFilter as bulkDeleteEventsByFilter, index_d$1_cancelEvent as cancelEvent, index_d$1_cloneEvent as cloneEvent, index_d$1_countEventsByStatus as countEventsByStatus, index_d$1_createEvent as createEvent, index_d$1_deleteEvent as deleteEvent, index_d$1_getEvent as getEvent, index_d$1_getEventBySlug as getEventBySlug, index_d$1_onEventCanceled as onEventCanceled, index_d$1_onEventCloned as onEventCloned, index_d$1_onEventCreated as onEventCreated, index_d$1_onEventDeleted as onEventDeleted, index_d$1_onEventEnded as onEventEnded, index_d$1_onEventPublished as onEventPublished, index_d$1_onEventReminder as onEventReminder, index_d$1_onEventStarted as onEventStarted, index_d$1_onEventUpdated as onEventUpdated, index_d$1_publishDraftEvent as publishDraftEvent, index_d$1_queryEvents as queryEvents, index_d$1_updateEvent as updateEvent };
|
|
17383
|
+
export { type ActionEvent$1 as ActionEvent, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressStreetOneOf$1 as AddressStreetOneOf, type Agenda$1 as Agenda, type index_d$1_AgendaSettings as AgendaSettings, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkCancelEventsByFilterOptions as BulkCancelEventsByFilterOptions, type index_d$1_BulkCancelEventsByFilterRequest as BulkCancelEventsByFilterRequest, type index_d$1_BulkCancelEventsByFilterResponse as BulkCancelEventsByFilterResponse, type index_d$1_BulkDeleteEventsByFilterOptions as BulkDeleteEventsByFilterOptions, type index_d$1_BulkDeleteEventsByFilterRequest as BulkDeleteEventsByFilterRequest, type index_d$1_BulkDeleteEventsByFilterResponse as BulkDeleteEventsByFilterResponse, type CalendarLinks$1 as CalendarLinks, type index_d$1_CalendarUrls as CalendarUrls, type index_d$1_CancelEventOptions as CancelEventOptions, type index_d$1_CancelEventRequest as CancelEventRequest, type index_d$1_CancelEventResponse as CancelEventResponse, type index_d$1_CancelEventResponseNonNullableFields as CancelEventResponseNonNullableFields, type Category$1 as Category, type CategoryCounts$1 as CategoryCounts, type CheckoutFormMessages$1 as CheckoutFormMessages, type index_d$1_CloneEventOptions as CloneEventOptions, type index_d$1_CloneEventRequest as CloneEventRequest, type index_d$1_CloneEventResponse as CloneEventResponse, type index_d$1_CloneEventResponseNonNullableFields as CloneEventResponseNonNullableFields, type index_d$1_CommonAddress as CommonAddress, type index_d$1_CommonAddressLocation as CommonAddressLocation, type index_d$1_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$1_CommonCursors as CommonCursors, type index_d$1_CommonPaging as CommonPaging, type index_d$1_CommonPagingMetadataV2 as CommonPagingMetadataV2, type index_d$1_CommonQueryV2 as CommonQueryV2, type index_d$1_CommonQueryV2PagingMethodOneOf as CommonQueryV2PagingMethodOneOf, index_d$1_CommonSortOrder as CommonSortOrder, type index_d$1_CommonSorting as CommonSorting, type index_d$1_CommonStreetAddress as CommonStreetAddress, type index_d$1_CommonSubdivision as CommonSubdivision, ConferenceType$1 as ConferenceType, index_d$1_ConferenceTypeType as ConferenceTypeType, type index_d$1_CountEventsByStatusOptions as CountEventsByStatusOptions, type index_d$1_CountEventsByStatusRequest as CountEventsByStatusRequest, type index_d$1_CountEventsByStatusResponse as CountEventsByStatusResponse, type index_d$1_CreateEventOptions as CreateEventOptions, type index_d$1_CreateEventRequest as CreateEventRequest, type index_d$1_CreateEventResponse as CreateEventResponse, type index_d$1_CreateEventResponseNonNullableFields as CreateEventResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type Dashboard$1 as Dashboard, type index_d$1_DateAndTimeSettings as DateAndTimeSettings, type index_d$1_DeleteEventRequest as DeleteEventRequest, type index_d$1_DeleteEventResponse as DeleteEventResponse, type index_d$1_DeleteEventResponseNonNullableFields as DeleteEventResponseNonNullableFields, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type Event$1 as Event, type EventCanceled$1 as EventCanceled, type index_d$1_EventCanceledEnvelope as EventCanceledEnvelope, type index_d$1_EventCategories as EventCategories, type index_d$1_EventCategory as EventCategory, type index_d$1_EventCloned as EventCloned, type index_d$1_EventClonedEnvelope as EventClonedEnvelope, type index_d$1_EventCopied as EventCopied, type EventCreated$1 as EventCreated, type index_d$1_EventCreatedEnvelope as EventCreatedEnvelope, type EventDeleted$1 as EventDeleted, type index_d$1_EventDeletedEnvelope as EventDeletedEnvelope, type EventDisplaySettings$1 as EventDisplaySettings, type EventEnded$1 as EventEnded, type index_d$1_EventEndedEnvelope as EventEndedEnvelope, type index_d$1_EventEventCanceled as EventEventCanceled, type index_d$1_EventEventEnded as EventEventEnded, type index_d$1_EventEventPublished as EventEventPublished, type index_d$1_EventEventReminder as EventEventReminder, type index_d$1_EventEventStarted as EventEventStarted, type EventMetadata$1 as EventMetadata, type index_d$1_EventPublished as EventPublished, type index_d$1_EventPublishedEnvelope as EventPublishedEnvelope, type index_d$1_EventReminder as EventReminder, type index_d$1_EventReminderEnvelope as EventReminderEnvelope, type index_d$1_EventStarted as EventStarted, type index_d$1_EventStartedEnvelope as EventStartedEnvelope, EventStatus$1 as EventStatus, EventType$1 as EventType, type EventUpdated$1 as EventUpdated, type index_d$1_EventUpdatedEnvelope as EventUpdatedEnvelope, type index_d$1_EventsFeed as EventsFeed, type index_d$1_EventsLabellingSettings as EventsLabellingSettings, type index_d$1_EventsLocation as EventsLocation, type index_d$1_EventsMoney as EventsMoney, type index_d$1_EventsOccurrence as EventsOccurrence, type index_d$1_EventsOnlineConferencing as EventsOnlineConferencing, type index_d$1_EventsOnlineConferencingSession as EventsOnlineConferencingSession, type index_d$1_EventsQueryBuilder as EventsQueryBuilder, type index_d$1_EventsQueryResult as EventsQueryResult, index_d$1_EventsRecurrenceStatusStatus as EventsRecurrenceStatusStatus, type index_d$1_EventsRecurrences as EventsRecurrences, type index_d$1_EventsRegistration as EventsRegistration, type index_d$1_EventsSeoSettings as EventsSeoSettings, index_d$1_EventsTaxType as EventsTaxType, type index_d$1_ExportEventsRequest as ExportEventsRequest, type index_d$1_ExportEventsResponse as ExportEventsResponse, type ExternalEvent$1 as ExternalEvent, type index_d$1_ExternalRegistration as ExternalRegistration, type FacetCounts$1 as FacetCounts, type Feed$1 as Feed, type index_d$1_FindEventRequest as FindEventRequest, type index_d$1_FindEventRequestFindByOneOf as FindEventRequestFindByOneOf, type index_d$1_FindEventResponse as FindEventResponse, type Form$1 as Form, type FormMessages$1 as FormMessages, type index_d$1_Formatted as Formatted, type index_d$1_GetEventBySlugOptions as GetEventBySlugOptions, type index_d$1_GetEventBySlugRequest as GetEventBySlugRequest, type index_d$1_GetEventBySlugResponse as GetEventBySlugResponse, type index_d$1_GetEventBySlugResponseNonNullableFields as GetEventBySlugResponseNonNullableFields, type index_d$1_GetEventOptions as GetEventOptions, type index_d$1_GetEventRequest as GetEventRequest, type index_d$1_GetEventResponse as GetEventResponse, type index_d$1_GetEventResponseNonNullableFields as GetEventResponseNonNullableFields, type GuestListConfig$1 as GuestListConfig, type index_d$1_GuestListSettings as GuestListSettings, index_d$1_GuestTypeType as GuestTypeType, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_InitialRegistrationTypeType as InitialRegistrationTypeType, type Input$1 as Input, type InputControl$1 as InputControl, InputControlType$1 as InputControlType, type Keyword$1 as Keyword, type Label$1 as Label, type LabellingSettings$1 as LabellingSettings, type index_d$1_ListEventsByCategoryRequest as ListEventsByCategoryRequest, type index_d$1_ListEventsByCategoryResponse as ListEventsByCategoryResponse, type index_d$1_ListUserEventsRequest as ListUserEventsRequest, type index_d$1_ListUserEventsResponse as ListUserEventsResponse, type Location$1 as Location, index_d$1_LocationLocationType as LocationLocationType, LocationType$1 as LocationType, type MapCoordinates$1 as MapCoordinates, type MessageEnvelope$1 as MessageEnvelope, type Money$1 as Money, type Negative$1 as Negative, type NegativeResponseConfirmation$1 as NegativeResponseConfirmation, type Occurrence$1 as Occurrence, type OnlineConferencing$1 as OnlineConferencing, type OnlineConferencingConfig$1 as OnlineConferencingConfig, type OnlineConferencingSession$1 as OnlineConferencingSession, type OptionSelection$1 as OptionSelection, type OptionSelectionSelectedOptionOneOf$1 as OptionSelectionSelectedOptionOneOf, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Positive$1 as Positive, type PositiveResponseConfirmation$1 as PositiveResponseConfirmation, type index_d$1_PublishDraftEventOptions as PublishDraftEventOptions, type index_d$1_PublishDraftEventRequest as PublishDraftEventRequest, type index_d$1_PublishDraftEventResponse as PublishDraftEventResponse, type index_d$1_PublishDraftEventResponseNonNullableFields as PublishDraftEventResponseNonNullableFields, type index_d$1_QueryEventsOptions as QueryEventsOptions, type index_d$1_QueryEventsRequest as QueryEventsRequest, type index_d$1_QueryEventsResponse as QueryEventsResponse, type index_d$1_QueryEventsResponseNonNullableFields as QueryEventsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, index_d$1_RecurrenceStatusStatus as RecurrenceStatusStatus, type Recurrences$1 as Recurrences, type Registration$1 as Registration, type RegistrationClosedMessages$1 as RegistrationClosedMessages, RegistrationStatus$1 as RegistrationStatus, index_d$1_RegistrationStatusStatus as RegistrationStatusStatus, index_d$1_RegistrationTypeType as RegistrationTypeType, index_d$1_Relation as Relation, index_d$1_RequestedFields as RequestedFields, type ResponseConfirmation$1 as ResponseConfirmation, index_d$1_ResponseType as ResponseType, type RestoreInfo$1 as RestoreInfo, type RsvpCollection$1 as RsvpCollection, type RsvpCollectionConfig$1 as RsvpCollectionConfig, type RsvpFormMessages$1 as RsvpFormMessages, type index_d$1_RsvpRegistration as RsvpRegistration, RsvpStatusOptions$1 as RsvpStatusOptions, type RsvpSummary$1 as RsvpSummary, type index_d$1_Rsvps as Rsvps, type ScheduleConfig$1 as ScheduleConfig, type Scheduling$1 as Scheduling, type SeoSchema$1 as SeoSchema, type SeoSettings$1 as SeoSettings, type Settings$1 as Settings, type SiteUrl$1 as SiteUrl, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, Status$1 as Status, type StreetAddress$1 as StreetAddress, type Subdivision$1 as Subdivision, index_d$1_SubdivisionSubdivisionType as SubdivisionSubdivisionType, SubdivisionType$1 as SubdivisionType, type index_d$1_Summaries as Summaries, type Tag$1 as Tag, type TaxConfig$1 as TaxConfig, type index_d$1_TaxSettings as TaxSettings, TaxType$1 as TaxType, type Ticketing$1 as Ticketing, type TicketingConfig$1 as TicketingConfig, type TicketingSummary$1 as TicketingSummary, type index_d$1_Tickets as Tickets, type index_d$1_TicketsRegistration as TicketsRegistration, type TicketsUnavailableMessages$1 as TicketsUnavailableMessages, type index_d$1_TimeDuration as TimeDuration, Type$1 as Type, type index_d$1_UpdateEventOptions as UpdateEventOptions, type index_d$1_UpdateEventRequest as UpdateEventRequest, type index_d$1_UpdateEventResponse as UpdateEventResponse, type index_d$1_UpdateEventResponseNonNullableFields as UpdateEventResponseNonNullableFields, type index_d$1_UserFilter as UserFilter, type index_d$1_V3Event as V3Event, type index_d$1_V3EventDisplaySettings as V3EventDisplaySettings, type index_d$1_V3EventNonNullableFields as V3EventNonNullableFields, ValueType$1 as ValueType, VisitorType$1 as VisitorType, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__publicBulkCancelEventsByFilterType as _publicBulkCancelEventsByFilterType, type index_d$1__publicBulkDeleteEventsByFilterType as _publicBulkDeleteEventsByFilterType, type index_d$1__publicCancelEventType as _publicCancelEventType, type index_d$1__publicCloneEventType as _publicCloneEventType, type index_d$1__publicCountEventsByStatusType as _publicCountEventsByStatusType, type index_d$1__publicCreateEventType as _publicCreateEventType, type index_d$1__publicDeleteEventType as _publicDeleteEventType, type index_d$1__publicGetEventBySlugType as _publicGetEventBySlugType, type index_d$1__publicGetEventType as _publicGetEventType, type index_d$1__publicOnEventCanceledType as _publicOnEventCanceledType, type index_d$1__publicOnEventClonedType as _publicOnEventClonedType, type index_d$1__publicOnEventCreatedType as _publicOnEventCreatedType, type index_d$1__publicOnEventDeletedType as _publicOnEventDeletedType, type index_d$1__publicOnEventEndedType as _publicOnEventEndedType, type index_d$1__publicOnEventPublishedType as _publicOnEventPublishedType, type index_d$1__publicOnEventReminderType as _publicOnEventReminderType, type index_d$1__publicOnEventStartedType as _publicOnEventStartedType, type index_d$1__publicOnEventUpdatedType as _publicOnEventUpdatedType, type index_d$1__publicPublishDraftEventType as _publicPublishDraftEventType, type index_d$1__publicQueryEventsType as _publicQueryEventsType, type index_d$1__publicUpdateEventType as _publicUpdateEventType, index_d$1_bulkCancelEventsByFilter as bulkCancelEventsByFilter, index_d$1_bulkDeleteEventsByFilter as bulkDeleteEventsByFilter, index_d$1_cancelEvent as cancelEvent, index_d$1_cloneEvent as cloneEvent, index_d$1_countEventsByStatus as countEventsByStatus, index_d$1_createEvent as createEvent, index_d$1_deleteEvent as deleteEvent, index_d$1_getEvent as getEvent, index_d$1_getEventBySlug as getEventBySlug, index_d$1_onEventCanceled as onEventCanceled, index_d$1_onEventCloned as onEventCloned, index_d$1_onEventCreated as onEventCreated, index_d$1_onEventDeleted as onEventDeleted, index_d$1_onEventEnded as onEventEnded, index_d$1_onEventPublished as onEventPublished, index_d$1_onEventReminder as onEventReminder, index_d$1_onEventStarted as onEventStarted, index_d$1_onEventUpdated as onEventUpdated, onEventCanceled$1 as publicOnEventCanceled, onEventCloned$1 as publicOnEventCloned, onEventCreated$1 as publicOnEventCreated, onEventDeleted$1 as publicOnEventDeleted, onEventEnded$1 as publicOnEventEnded, onEventPublished$1 as publicOnEventPublished, onEventReminder$1 as publicOnEventReminder, onEventStarted$1 as publicOnEventStarted, onEventUpdated$1 as publicOnEventUpdated, index_d$1_publishDraftEvent as publishDraftEvent, index_d$1_queryEvents as queryEvents, index_d$1_updateEvent as updateEvent };
|
|
15771
17384
|
}
|
|
15772
17385
|
|
|
15773
17386
|
interface TicketDefinition {
|
|
@@ -17414,26 +19027,33 @@ interface Category {
|
|
|
17414
19027
|
/** Category name. */
|
|
17415
19028
|
name?: string;
|
|
17416
19029
|
/**
|
|
17417
|
-
*
|
|
19030
|
+
* Date and time when category was created.
|
|
17418
19031
|
* @readonly
|
|
17419
19032
|
*/
|
|
17420
19033
|
_createdDate?: Date;
|
|
17421
19034
|
/**
|
|
17422
|
-
*
|
|
19035
|
+
* The total number of draft and published events assigned to the category.
|
|
17423
19036
|
* @readonly
|
|
17424
19037
|
*/
|
|
17425
19038
|
counts?: CategoryCounts;
|
|
17426
19039
|
/**
|
|
17427
|
-
* Category state.
|
|
17428
|
-
*
|
|
17429
|
-
*
|
|
19040
|
+
* Category state. Possible values:
|
|
19041
|
+
*
|
|
19042
|
+
* `MANUAL`: Category is created manually by the user.
|
|
19043
|
+
* `AUTO`: Category is created automatically.
|
|
19044
|
+
* `RECURRING_EVENT`: Category is created automatically when publishing recurring events.
|
|
19045
|
+
* `HIDDEN`: Category can't be seen.
|
|
19046
|
+
*
|
|
19047
|
+
* Default: `MANUAL`.
|
|
19048
|
+
*
|
|
19049
|
+
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission is required to use states other than `MANUAL`.
|
|
17430
19050
|
*/
|
|
17431
19051
|
states?: CategoryStateState[];
|
|
17432
19052
|
}
|
|
17433
19053
|
interface CategoryCounts {
|
|
17434
|
-
/**
|
|
19054
|
+
/** Total number of draft events assigned to the category. */
|
|
17435
19055
|
assignedEventsCount?: number | null;
|
|
17436
|
-
/**
|
|
19056
|
+
/** Total number of published events assigned to the category. Deleted events are excluded. */
|
|
17437
19057
|
assignedDraftEventsCount?: number | null;
|
|
17438
19058
|
}
|
|
17439
19059
|
declare enum CategoryStateState {
|
|
@@ -18090,25 +19710,195 @@ interface ChangeCurrencyOptions {
|
|
|
18090
19710
|
currency: string;
|
|
18091
19711
|
}
|
|
18092
19712
|
|
|
19713
|
+
declare function createTicketDefinition$1(httpClient: HttpClient): CreateTicketDefinitionSignature;
|
|
19714
|
+
interface CreateTicketDefinitionSignature {
|
|
19715
|
+
/**
|
|
19716
|
+
* > **Note:** This function replaces the deprecated `createTicketDefinition()` function. The deprecated function will continue to work until November 8, 2024, but it will not receive updates. To keep any existing code compatible with future changes, see the [migration instructions](https://www.wix.com/velo/reference/wix-events-v2/ticketdefinitions/createticketdefinition).
|
|
19717
|
+
*
|
|
19718
|
+
*
|
|
19719
|
+
* Creates a ticket definition.
|
|
19720
|
+
*
|
|
19721
|
+
*
|
|
19722
|
+
* It is allowed to create up to 100 definitions per event.
|
|
19723
|
+
* @param - Ticket definition info.
|
|
19724
|
+
* @param - Optional fields.
|
|
19725
|
+
* @returns Created ticket definition.
|
|
19726
|
+
*/
|
|
19727
|
+
(ticketDefinition: TicketDefinition, options?: CreateTicketDefinitionOptions | undefined): Promise<TicketDefinition & TicketDefinitionNonNullableFields>;
|
|
19728
|
+
}
|
|
19729
|
+
declare function updateTicketDefinition$1(httpClient: HttpClient): UpdateTicketDefinitionSignature;
|
|
19730
|
+
interface UpdateTicketDefinitionSignature {
|
|
19731
|
+
/**
|
|
19732
|
+
* > **Note:** This function replaces the deprecated `updateTicketDefinition()` function. The deprecated function will continue to work until November 8, 2024, but it will not receive updates. To keep any existing code compatible with future changes, see the [migration instructions](https://www.wix.com/velo/reference/wix-events-v2/ticketdefinitions/updateticketdefinition).
|
|
19733
|
+
*
|
|
19734
|
+
* Updates a ticket definition.
|
|
19735
|
+
*
|
|
19736
|
+
*
|
|
19737
|
+
* Each time the ticket definition is updated, `revision` increments by 1. The existing `revision` must be included when updating the ticket definition. This ensures you're working with the latest ticket definition and prevents unintended overwrites.
|
|
19738
|
+
* @param - Ticket definition ID.
|
|
19739
|
+
* @param - Optional fields.
|
|
19740
|
+
* @param - Ticket definition to update.
|
|
19741
|
+
* @returns The updated ticket definition.
|
|
19742
|
+
*/
|
|
19743
|
+
(_id: string | null, ticketDefinition: UpdateTicketDefinition, options?: UpdateTicketDefinitionOptions | undefined): Promise<TicketDefinition & TicketDefinitionNonNullableFields>;
|
|
19744
|
+
}
|
|
19745
|
+
declare function getTicketDefinition$1(httpClient: HttpClient): GetTicketDefinitionSignature;
|
|
19746
|
+
interface GetTicketDefinitionSignature {
|
|
19747
|
+
/**
|
|
19748
|
+
* > **Note:** This function replaces the deprecated `getTicketDefinition()` function. The deprecated function will continue to work until November 8, 2024, but it will not receive updates. To keep any existing code compatible with future changes, see the [migration instructions](https://www.wix.com/velo/reference/wix-events-v2/ticketdefinitions/getticketdefinition).
|
|
19749
|
+
*
|
|
19750
|
+
* Retrieves a ticket definition by ID.
|
|
19751
|
+
* @param - Ticket definition ID.
|
|
19752
|
+
* @param - Optional fields.
|
|
19753
|
+
* @returns The requested ticket definition.
|
|
19754
|
+
*/
|
|
19755
|
+
(ticketDefinitionId: string, options?: GetTicketDefinitionOptions | undefined): Promise<TicketDefinition & TicketDefinitionNonNullableFields>;
|
|
19756
|
+
}
|
|
19757
|
+
declare function deleteTicketDefinition$1(httpClient: HttpClient): DeleteTicketDefinitionSignature;
|
|
19758
|
+
interface DeleteTicketDefinitionSignature {
|
|
19759
|
+
/**
|
|
19760
|
+
* > **Note:** This function replaces the deprecated `deleteTicketDefinition()` function. The deprecated function will continue to work until November 8, 2024, but it will not receive updates. To keep any existing code compatible with future changes, see the [migration instructions](https://www.wix.com/velo/reference/wix-events-v2/ticketdefinitions/deleteticketdefinition).
|
|
19761
|
+
*
|
|
19762
|
+
* Permanently deletes a ticket definition.
|
|
19763
|
+
* @param - ID of the ticket definition to delete.
|
|
19764
|
+
*/
|
|
19765
|
+
(ticketDefinitionId: string): Promise<void>;
|
|
19766
|
+
}
|
|
19767
|
+
declare function reorderTicketDefinitions$1(httpClient: HttpClient): ReorderTicketDefinitionsSignature;
|
|
19768
|
+
interface ReorderTicketDefinitionsSignature {
|
|
19769
|
+
/**
|
|
19770
|
+
* Changes ticket definitions order in an event dashboard and the list of available tickets in the ticket picker.
|
|
19771
|
+
* > **Note:** It is possible to use both `beforeTicketDefinitionId` and `afterTicketDefinitionId` at the same time but only the last one defined will be executed.
|
|
19772
|
+
* @param - Event ID.
|
|
19773
|
+
* @param - Optional fields.
|
|
19774
|
+
*/
|
|
19775
|
+
(eventId: string, options?: ReorderTicketDefinitionsOptions | undefined): Promise<void>;
|
|
19776
|
+
}
|
|
19777
|
+
declare function queryTicketDefinitions$1(httpClient: HttpClient): QueryTicketDefinitionsSignature;
|
|
19778
|
+
interface QueryTicketDefinitionsSignature {
|
|
19779
|
+
/**
|
|
19780
|
+
* > **Note:** This function replaces the deprecated `listTicketDefinition()` and `queryTicketDefinitions` functions. The deprecated functions will continue to work until November 8, 2024, but it will not receive updates. To keep any existing code compatible with future changes, see the [migration instructions](https://www.wix.com/velo/reference/wix-events-v2/ticketdefinitions/queryticketdefinitions).
|
|
19781
|
+
*
|
|
19782
|
+
* Retrieves a list of ticket definitions, given the provided paging, filtering, and sorting.
|
|
19783
|
+
* Query Ticket Definitions runs with these defaults, which you can override:
|
|
19784
|
+
* - `createdDate` is sorted in `ASC` order
|
|
19785
|
+
* - `paging.limit` is `100`
|
|
19786
|
+
* - `paging.offset` is `0`
|
|
19787
|
+
* @param - Optional fields.
|
|
19788
|
+
*/
|
|
19789
|
+
(options?: QueryTicketDefinitionsOptions | undefined): TicketDefinitionsQueryBuilder;
|
|
19790
|
+
}
|
|
19791
|
+
declare function queryAvailableTicketDefinitions$1(httpClient: HttpClient): QueryAvailableTicketDefinitionsSignature;
|
|
19792
|
+
interface QueryAvailableTicketDefinitionsSignature {
|
|
19793
|
+
/**
|
|
19794
|
+
* Retrieves a list of available ticket definitions, given the provided paging, filtering, and sorting. <br>
|
|
19795
|
+
* This endpoint retrieves ticket definitions that aren't in the `hidden` state. They can be retrieved by site visitors, but to get the `salesDetails` field, the `WIX_EVENTS.READ_TICKET_DEFINITIONS` permission is required. <br>
|
|
19796
|
+
* Query Available Ticket Definitions runs with these defaults, which you can override:
|
|
19797
|
+
* - `createdDate` is sorted in `ASC` order
|
|
19798
|
+
* - `paging.limit` is `100`
|
|
19799
|
+
* - `paging.offset` is `0`
|
|
19800
|
+
* <br>
|
|
19801
|
+
* For field support for filters and sorting, see [Ticket Definitions: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/ticket-definition-v3/filter-and-sort).
|
|
19802
|
+
* To learn about working with _Query_ endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
|
|
19803
|
+
* @param - Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details.
|
|
19804
|
+
* @param - Optional fields.
|
|
19805
|
+
*/
|
|
19806
|
+
(query: QueryV2, options?: QueryAvailableTicketDefinitionsOptions | undefined): Promise<QueryAvailableTicketDefinitionsResponse & QueryAvailableTicketDefinitionsResponseNonNullableFields>;
|
|
19807
|
+
}
|
|
19808
|
+
declare function countTicketDefinitions$1(httpClient: HttpClient): CountTicketDefinitionsSignature;
|
|
19809
|
+
interface CountTicketDefinitionsSignature {
|
|
19810
|
+
/**
|
|
19811
|
+
* Counts ticket definitions by the `saleStatus` and `hidden` fields. <br> <br>
|
|
19812
|
+
* To learn about working with _query_ endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
19813
|
+
* @param - Optional fields.
|
|
19814
|
+
*/
|
|
19815
|
+
(options?: CountTicketDefinitionsOptions | undefined): Promise<CountTicketDefinitionsResponse>;
|
|
19816
|
+
}
|
|
19817
|
+
declare function countAvailableTicketDefinitions$1(httpClient: HttpClient): CountAvailableTicketDefinitionsSignature;
|
|
19818
|
+
interface CountAvailableTicketDefinitionsSignature {
|
|
19819
|
+
/**
|
|
19820
|
+
* Counts ticket definitions that aren't in the `hidden` state. This endpoint counts tickets by the `saleStatus` field. <br> <br>
|
|
19821
|
+
* To learn about working with _query_ endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
19822
|
+
* @param - Optional fields.
|
|
19823
|
+
*/
|
|
19824
|
+
(options?: CountAvailableTicketDefinitionsOptions | undefined): Promise<CountAvailableTicketDefinitionsResponse>;
|
|
19825
|
+
}
|
|
19826
|
+
declare function bulkDeleteTicketDefinitionsByFilter$1(httpClient: HttpClient): BulkDeleteTicketDefinitionsByFilterSignature;
|
|
19827
|
+
interface BulkDeleteTicketDefinitionsByFilterSignature {
|
|
19828
|
+
/**
|
|
19829
|
+
* Deletes multiple ticket definitions.
|
|
19830
|
+
*
|
|
19831
|
+
* All ticket definitions that meet the specified `filter` criteria are deleted.
|
|
19832
|
+
* @param - Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1" }`. <br/> <br/> **Example:** <br/> `"filter" : { "eventId": "3d3d5c04-ece0-45a8-85f0-11a58edaa192" }`
|
|
19833
|
+
*/
|
|
19834
|
+
(filter: Record<string, any> | null): Promise<void>;
|
|
19835
|
+
}
|
|
19836
|
+
declare function changeCurrency$1(httpClient: HttpClient): ChangeCurrencySignature;
|
|
19837
|
+
interface ChangeCurrencySignature {
|
|
19838
|
+
/**
|
|
19839
|
+
* > **Note:** This function replaces the deprecated `changeCurrency()` function. The deprecated function will continue to work until November 8, 2024, but it will not receive updates. To keep any existing code compatible with future changes, see the [migration instructions](https://www.wix.com/velo/reference/wix-events-v2/ticketdefinitions/changecurrency).
|
|
19840
|
+
*
|
|
19841
|
+
* Changes ticket price currency per event.
|
|
19842
|
+
* @param - Event ID.
|
|
19843
|
+
* @param - Optional fields.
|
|
19844
|
+
*/
|
|
19845
|
+
(eventId: string, options: ChangeCurrencyOptions): Promise<void>;
|
|
19846
|
+
}
|
|
19847
|
+
declare const onTicketDefinitionCreated$1: EventDefinition<TicketDefinitionCreatedEnvelope, "wix.events.v3.ticket_definition_created">;
|
|
19848
|
+
declare const onTicketDefinitionUpdated$1: EventDefinition<TicketDefinitionUpdatedEnvelope, "wix.events.v3.ticket_definition_updated">;
|
|
19849
|
+
declare const onTicketDefinitionDeleted$1: EventDefinition<TicketDefinitionDeletedEnvelope, "wix.events.v3.ticket_definition_deleted">;
|
|
19850
|
+
declare const onTicketDefinitionSalePeriodUpdated$1: EventDefinition<TicketDefinitionSalePeriodUpdatedEnvelope, "wix.events.v3.ticket_definition_sale_period_updated">;
|
|
19851
|
+
|
|
18093
19852
|
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
18094
19853
|
|
|
18095
19854
|
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
18096
19855
|
|
|
18097
|
-
|
|
18098
|
-
declare const
|
|
18099
|
-
|
|
18100
|
-
declare const
|
|
18101
|
-
|
|
18102
|
-
declare const
|
|
18103
|
-
|
|
18104
|
-
declare const
|
|
18105
|
-
|
|
18106
|
-
declare const
|
|
18107
|
-
|
|
18108
|
-
declare const
|
|
18109
|
-
|
|
18110
|
-
declare const
|
|
18111
|
-
|
|
19856
|
+
type _publicCreateTicketDefinitionType = typeof createTicketDefinition$1;
|
|
19857
|
+
declare const createTicketDefinition: ReturnType<typeof createRESTModule<_publicCreateTicketDefinitionType>>;
|
|
19858
|
+
type _publicUpdateTicketDefinitionType = typeof updateTicketDefinition$1;
|
|
19859
|
+
declare const updateTicketDefinition: ReturnType<typeof createRESTModule<_publicUpdateTicketDefinitionType>>;
|
|
19860
|
+
type _publicGetTicketDefinitionType = typeof getTicketDefinition$1;
|
|
19861
|
+
declare const getTicketDefinition: ReturnType<typeof createRESTModule<_publicGetTicketDefinitionType>>;
|
|
19862
|
+
type _publicDeleteTicketDefinitionType = typeof deleteTicketDefinition$1;
|
|
19863
|
+
declare const deleteTicketDefinition: ReturnType<typeof createRESTModule<_publicDeleteTicketDefinitionType>>;
|
|
19864
|
+
type _publicReorderTicketDefinitionsType = typeof reorderTicketDefinitions$1;
|
|
19865
|
+
declare const reorderTicketDefinitions: ReturnType<typeof createRESTModule<_publicReorderTicketDefinitionsType>>;
|
|
19866
|
+
type _publicQueryTicketDefinitionsType = typeof queryTicketDefinitions$1;
|
|
19867
|
+
declare const queryTicketDefinitions: ReturnType<typeof createRESTModule<_publicQueryTicketDefinitionsType>>;
|
|
19868
|
+
type _publicQueryAvailableTicketDefinitionsType = typeof queryAvailableTicketDefinitions$1;
|
|
19869
|
+
declare const queryAvailableTicketDefinitions: ReturnType<typeof createRESTModule<_publicQueryAvailableTicketDefinitionsType>>;
|
|
19870
|
+
type _publicCountTicketDefinitionsType = typeof countTicketDefinitions$1;
|
|
19871
|
+
declare const countTicketDefinitions: ReturnType<typeof createRESTModule<_publicCountTicketDefinitionsType>>;
|
|
19872
|
+
type _publicCountAvailableTicketDefinitionsType = typeof countAvailableTicketDefinitions$1;
|
|
19873
|
+
declare const countAvailableTicketDefinitions: ReturnType<typeof createRESTModule<_publicCountAvailableTicketDefinitionsType>>;
|
|
19874
|
+
type _publicBulkDeleteTicketDefinitionsByFilterType = typeof bulkDeleteTicketDefinitionsByFilter$1;
|
|
19875
|
+
declare const bulkDeleteTicketDefinitionsByFilter: ReturnType<typeof createRESTModule<_publicBulkDeleteTicketDefinitionsByFilterType>>;
|
|
19876
|
+
type _publicChangeCurrencyType = typeof changeCurrency$1;
|
|
19877
|
+
declare const changeCurrency: ReturnType<typeof createRESTModule<_publicChangeCurrencyType>>;
|
|
19878
|
+
|
|
19879
|
+
type _publicOnTicketDefinitionCreatedType = typeof onTicketDefinitionCreated$1;
|
|
19880
|
+
/**
|
|
19881
|
+
* Triggered when a ticket definition is created.
|
|
19882
|
+
*/
|
|
19883
|
+
declare const onTicketDefinitionCreated: ReturnType<typeof createEventModule<_publicOnTicketDefinitionCreatedType>>;
|
|
19884
|
+
|
|
19885
|
+
type _publicOnTicketDefinitionUpdatedType = typeof onTicketDefinitionUpdated$1;
|
|
19886
|
+
/**
|
|
19887
|
+
* Triggered when a ticket definition is updated.
|
|
19888
|
+
*/
|
|
19889
|
+
declare const onTicketDefinitionUpdated: ReturnType<typeof createEventModule<_publicOnTicketDefinitionUpdatedType>>;
|
|
19890
|
+
|
|
19891
|
+
type _publicOnTicketDefinitionDeletedType = typeof onTicketDefinitionDeleted$1;
|
|
19892
|
+
/**
|
|
19893
|
+
* Triggered when a ticket definition is deleted.
|
|
19894
|
+
*/
|
|
19895
|
+
declare const onTicketDefinitionDeleted: ReturnType<typeof createEventModule<_publicOnTicketDefinitionDeletedType>>;
|
|
19896
|
+
|
|
19897
|
+
type _publicOnTicketDefinitionSalePeriodUpdatedType = typeof onTicketDefinitionSalePeriodUpdated$1;
|
|
19898
|
+
/**
|
|
19899
|
+
* Triggered when sale period is updated.
|
|
19900
|
+
*/
|
|
19901
|
+
declare const onTicketDefinitionSalePeriodUpdated: ReturnType<typeof createEventModule<_publicOnTicketDefinitionSalePeriodUpdatedType>>;
|
|
18112
19902
|
|
|
18113
19903
|
type index_d_ActionEvent = ActionEvent;
|
|
18114
19904
|
type index_d_Address = Address;
|
|
@@ -18340,6 +20130,21 @@ type index_d_VisitorType = VisitorType;
|
|
|
18340
20130
|
declare const index_d_VisitorType: typeof VisitorType;
|
|
18341
20131
|
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
18342
20132
|
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
20133
|
+
type index_d__publicBulkDeleteTicketDefinitionsByFilterType = _publicBulkDeleteTicketDefinitionsByFilterType;
|
|
20134
|
+
type index_d__publicChangeCurrencyType = _publicChangeCurrencyType;
|
|
20135
|
+
type index_d__publicCountAvailableTicketDefinitionsType = _publicCountAvailableTicketDefinitionsType;
|
|
20136
|
+
type index_d__publicCountTicketDefinitionsType = _publicCountTicketDefinitionsType;
|
|
20137
|
+
type index_d__publicCreateTicketDefinitionType = _publicCreateTicketDefinitionType;
|
|
20138
|
+
type index_d__publicDeleteTicketDefinitionType = _publicDeleteTicketDefinitionType;
|
|
20139
|
+
type index_d__publicGetTicketDefinitionType = _publicGetTicketDefinitionType;
|
|
20140
|
+
type index_d__publicOnTicketDefinitionCreatedType = _publicOnTicketDefinitionCreatedType;
|
|
20141
|
+
type index_d__publicOnTicketDefinitionDeletedType = _publicOnTicketDefinitionDeletedType;
|
|
20142
|
+
type index_d__publicOnTicketDefinitionSalePeriodUpdatedType = _publicOnTicketDefinitionSalePeriodUpdatedType;
|
|
20143
|
+
type index_d__publicOnTicketDefinitionUpdatedType = _publicOnTicketDefinitionUpdatedType;
|
|
20144
|
+
type index_d__publicQueryAvailableTicketDefinitionsType = _publicQueryAvailableTicketDefinitionsType;
|
|
20145
|
+
type index_d__publicQueryTicketDefinitionsType = _publicQueryTicketDefinitionsType;
|
|
20146
|
+
type index_d__publicReorderTicketDefinitionsType = _publicReorderTicketDefinitionsType;
|
|
20147
|
+
type index_d__publicUpdateTicketDefinitionType = _publicUpdateTicketDefinitionType;
|
|
18343
20148
|
declare const index_d_bulkDeleteTicketDefinitionsByFilter: typeof bulkDeleteTicketDefinitionsByFilter;
|
|
18344
20149
|
declare const index_d_changeCurrency: typeof changeCurrency;
|
|
18345
20150
|
declare const index_d_countAvailableTicketDefinitions: typeof countAvailableTicketDefinitions;
|
|
@@ -18356,7 +20161,7 @@ declare const index_d_queryTicketDefinitions: typeof queryTicketDefinitions;
|
|
|
18356
20161
|
declare const index_d_reorderTicketDefinitions: typeof reorderTicketDefinitions;
|
|
18357
20162
|
declare const index_d_updateTicketDefinition: typeof updateTicketDefinition;
|
|
18358
20163
|
declare namespace index_d {
|
|
18359
|
-
export { type index_d_ActionEvent as ActionEvent, type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_Agenda as Agenda, type index_d_App as App, type index_d_Asset as Asset, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkCopyTicketDefinitionsByEventIdRequest as BulkCopyTicketDefinitionsByEventIdRequest, type index_d_BulkCopyTicketDefinitionsByEventIdResponse as BulkCopyTicketDefinitionsByEventIdResponse, type index_d_BulkDeleteTicketDefinitionsByFilterRequest as BulkDeleteTicketDefinitionsByFilterRequest, type index_d_BulkDeleteTicketDefinitionsByFilterResponse as BulkDeleteTicketDefinitionsByFilterResponse, type index_d_CalendarLinks as CalendarLinks, type index_d_Category as Category, type index_d_CategoryCounts as CategoryCounts, type index_d_CategoryDetails as CategoryDetails, index_d_CategoryStateState as CategoryStateState, type index_d_ChangeCurrencyOptions as ChangeCurrencyOptions, type index_d_ChangeCurrencyRequest as ChangeCurrencyRequest, type index_d_ChangeCurrencyResponse as ChangeCurrencyResponse, type index_d_CheckoutFormMessages as CheckoutFormMessages, type index_d_CommonMoney as CommonMoney, index_d_ConferenceType as ConferenceType, type index_d_CopiedTicketDefinition as CopiedTicketDefinition, type index_d_CountAvailableTicketDefinitionsOptions as CountAvailableTicketDefinitionsOptions, type index_d_CountAvailableTicketDefinitionsRequest as CountAvailableTicketDefinitionsRequest, type index_d_CountAvailableTicketDefinitionsResponse as CountAvailableTicketDefinitionsResponse, type index_d_CountTicketDefinitionsOptions as CountTicketDefinitionsOptions, type index_d_CountTicketDefinitionsRequest as CountTicketDefinitionsRequest, type index_d_CountTicketDefinitionsResponse as CountTicketDefinitionsResponse, type index_d_CreateTicketDefinitionOptions as CreateTicketDefinitionOptions, type index_d_CreateTicketDefinitionRequest as CreateTicketDefinitionRequest, type index_d_CreateTicketDefinitionResponse as CreateTicketDefinitionResponse, type index_d_CreateTicketDefinitionResponseNonNullableFields as CreateTicketDefinitionResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_Dashboard as Dashboard, type index_d_DeleteContext as DeleteContext, index_d_DeleteStatus as DeleteStatus, type index_d_DeleteTicketDefinitionRequest as DeleteTicketDefinitionRequest, type index_d_DeleteTicketDefinitionResponse as DeleteTicketDefinitionResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_Event as Event, type index_d_EventCanceled as EventCanceled, type index_d_EventCreated as EventCreated, type index_d_EventDeleted as EventDeleted, type index_d_EventDisplaySettings as EventDisplaySettings, type index_d_EventEnded as EventEnded, type index_d_EventMetadata as EventMetadata, index_d_EventStatus as EventStatus, type index_d_EventTicketingSummary as EventTicketingSummary, index_d_EventType as EventType, type index_d_EventUpdated as EventUpdated, type index_d_ExtendedFields as ExtendedFields, type index_d_ExternalEvent as ExternalEvent, type index_d_FacetCounts as FacetCounts, type index_d_Feed as Feed, index_d_Field as Field, type index_d_File as File, type index_d_Form as Form, type index_d_FormMessages as FormMessages, type index_d_GetTicketDefinitionFromTrashBinRequest as GetTicketDefinitionFromTrashBinRequest, type index_d_GetTicketDefinitionFromTrashBinResponse as GetTicketDefinitionFromTrashBinResponse, type index_d_GetTicketDefinitionOptions as GetTicketDefinitionOptions, type index_d_GetTicketDefinitionRequest as GetTicketDefinitionRequest, type index_d_GetTicketDefinitionResponse as GetTicketDefinitionResponse, type index_d_GetTicketDefinitionResponseNonNullableFields as GetTicketDefinitionResponseNonNullableFields, type index_d_GetTicketDefinitionSummaryRequest as GetTicketDefinitionSummaryRequest, type index_d_GetTicketDefinitionSummaryResponse as GetTicketDefinitionSummaryResponse, type index_d_GuestListConfig as GuestListConfig, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Input as Input, type index_d_InputControl as InputControl, index_d_InputControlType as InputControlType, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Keyword as Keyword, type index_d_Label as Label, type index_d_LabellingSettings as LabellingSettings, type index_d_ListEventTicketingSummaryRequest as ListEventTicketingSummaryRequest, type index_d_ListEventTicketingSummaryResponse as ListEventTicketingSummaryResponse, type index_d_Location as Location, index_d_LocationType as LocationType, type index_d_MapCoordinates as MapCoordinates, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d_Money as Money, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_Negative as Negative, type index_d_NegativeResponseConfirmation as NegativeResponseConfirmation, type index_d_Occurrence as Occurrence, type index_d_OnlineConferencing as OnlineConferencing, type index_d_OnlineConferencingConfig as OnlineConferencingConfig, type index_d_OnlineConferencingSession as OnlineConferencingSession, type index_d_OptionDetails as OptionDetails, type index_d_OptionSelection as OptionSelection, type index_d_OptionSelectionSelectedOptionOneOf as OptionSelectionSelectedOptionOneOf, type index_d_Page as Page, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_Positive as Positive, type index_d_PositiveResponseConfirmation as PositiveResponseConfirmation, type index_d_PricingMethod as PricingMethod, type index_d_PricingMethodPriceOneOf as PricingMethodPriceOneOf, type index_d_PricingOptions as PricingOptions, index_d_PricingTypeEnumType as PricingTypeEnumType, type index_d_QueryAvailableTicketDefinitionsOptions as QueryAvailableTicketDefinitionsOptions, type index_d_QueryAvailableTicketDefinitionsRequest as QueryAvailableTicketDefinitionsRequest, type index_d_QueryAvailableTicketDefinitionsResponse as QueryAvailableTicketDefinitionsResponse, type index_d_QueryAvailableTicketDefinitionsResponseNonNullableFields as QueryAvailableTicketDefinitionsResponseNonNullableFields, type index_d_QueryTicketDefinitionsOptions as QueryTicketDefinitionsOptions, type index_d_QueryTicketDefinitionsRequest as QueryTicketDefinitionsRequest, type index_d_QueryTicketDefinitionsResponse as QueryTicketDefinitionsResponse, type index_d_QueryTicketDefinitionsResponseNonNullableFields as QueryTicketDefinitionsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_Recurrences as Recurrences, type index_d_Registration as Registration, type index_d_RegistrationClosedMessages as RegistrationClosedMessages, index_d_RegistrationStatus as RegistrationStatus, type index_d_ReorderTicketDefinitionsOptions as ReorderTicketDefinitionsOptions, type index_d_ReorderTicketDefinitionsRequest as ReorderTicketDefinitionsRequest, type index_d_ReorderTicketDefinitionsRequestReferenceDefinitionOneOf as ReorderTicketDefinitionsRequestReferenceDefinitionOneOf, type index_d_ReorderTicketDefinitionsResponse as ReorderTicketDefinitionsResponse, type index_d_ReservationCount as ReservationCount, type index_d_ReservationCreated as ReservationCreated, index_d_ReservationStatus as ReservationStatus, type index_d_ReservationUpdated as ReservationUpdated, type index_d_ResponseConfirmation as ResponseConfirmation, type index_d_RestoreInfo as RestoreInfo, type index_d_RsvpCollection as RsvpCollection, type index_d_RsvpCollectionConfig as RsvpCollectionConfig, type index_d_RsvpFormMessages as RsvpFormMessages, index_d_RsvpStatusOptions as RsvpStatusOptions, type index_d_RsvpSummary as RsvpSummary, type index_d_SalePeriod as SalePeriod, type index_d_SalePeriodUpdated as SalePeriodUpdated, index_d_SaleStatusEnumStatus as SaleStatusEnumStatus, type index_d_SalesDetails as SalesDetails, type index_d_ScheduleConfig as ScheduleConfig, type index_d_ScheduleLegacyTimeCapsuleTaskRequest as ScheduleLegacyTimeCapsuleTaskRequest, type index_d_Scheduling as Scheduling, type index_d_SeatingPlanCategoriesSummaryUpdated as SeatingPlanCategoriesSummaryUpdated, type index_d_SeoSchema as SeoSchema, type index_d_SeoSettings as SeoSettings, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_Settings as Settings, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, type index_d_SiteUrl as SiteUrl, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, index_d_Status as Status, type index_d_StreetAddress as StreetAddress, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_Subdivision as Subdivision, index_d_SubdivisionType as SubdivisionType, type index_d_Tag as Tag, type index_d_TaxConfig as TaxConfig, index_d_TaxType as TaxType, type index_d_TicketDefinition as TicketDefinition, type index_d_TicketDefinitionCreatedEnvelope as TicketDefinitionCreatedEnvelope, type index_d_TicketDefinitionDeletedEnvelope as TicketDefinitionDeletedEnvelope, type index_d_TicketDefinitionNonNullableFields as TicketDefinitionNonNullableFields, type index_d_TicketDefinitionSalePeriodUpdatedEnvelope as TicketDefinitionSalePeriodUpdatedEnvelope, type index_d_TicketDefinitionSummary as TicketDefinitionSummary, type index_d_TicketDefinitionUpdatedEnvelope as TicketDefinitionUpdatedEnvelope, type index_d_TicketDefinitionsQueryBuilder as TicketDefinitionsQueryBuilder, type index_d_TicketDefinitionsQueryResult as TicketDefinitionsQueryResult, type index_d_TicketQuantity as TicketQuantity, type index_d_Ticketing as Ticketing, type index_d_TicketingConfig as TicketingConfig, type index_d_TicketingSummary as TicketingSummary, type index_d_TicketsUnavailableMessages as TicketsUnavailableMessages, index_d_Type as Type, type index_d_URI as URI, type index_d_UpdateTicketDefinition as UpdateTicketDefinition, type index_d_UpdateTicketDefinitionOptions as UpdateTicketDefinitionOptions, type index_d_UpdateTicketDefinitionRequest as UpdateTicketDefinitionRequest, type index_d_UpdateTicketDefinitionResponse as UpdateTicketDefinitionResponse, type index_d_UpdateTicketDefinitionResponseNonNullableFields as UpdateTicketDefinitionResponseNonNullableFields, type index_d_UpdateTicketDefinitionSortIndexRequest as UpdateTicketDefinitionSortIndexRequest, type index_d_UpdateTicketDefinitionSortIndexResponse as UpdateTicketDefinitionSortIndexResponse, index_d_ValueType as ValueType, index_d_VisitorType as VisitorType, index_d_WebhookIdentityType as WebhookIdentityType, index_d_bulkDeleteTicketDefinitionsByFilter as bulkDeleteTicketDefinitionsByFilter, index_d_changeCurrency as changeCurrency, index_d_countAvailableTicketDefinitions as countAvailableTicketDefinitions, index_d_countTicketDefinitions as countTicketDefinitions, index_d_createTicketDefinition as createTicketDefinition, index_d_deleteTicketDefinition as deleteTicketDefinition, index_d_getTicketDefinition as getTicketDefinition, index_d_onTicketDefinitionCreated as onTicketDefinitionCreated, index_d_onTicketDefinitionDeleted as onTicketDefinitionDeleted, index_d_onTicketDefinitionSalePeriodUpdated as onTicketDefinitionSalePeriodUpdated, index_d_onTicketDefinitionUpdated as onTicketDefinitionUpdated, index_d_queryAvailableTicketDefinitions as queryAvailableTicketDefinitions, index_d_queryTicketDefinitions as queryTicketDefinitions, index_d_reorderTicketDefinitions as reorderTicketDefinitions, index_d_updateTicketDefinition as updateTicketDefinition };
|
|
20164
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_Address as Address, type index_d_AddressLocation as AddressLocation, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_Agenda as Agenda, type index_d_App as App, type index_d_Asset as Asset, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkCopyTicketDefinitionsByEventIdRequest as BulkCopyTicketDefinitionsByEventIdRequest, type index_d_BulkCopyTicketDefinitionsByEventIdResponse as BulkCopyTicketDefinitionsByEventIdResponse, type index_d_BulkDeleteTicketDefinitionsByFilterRequest as BulkDeleteTicketDefinitionsByFilterRequest, type index_d_BulkDeleteTicketDefinitionsByFilterResponse as BulkDeleteTicketDefinitionsByFilterResponse, type index_d_CalendarLinks as CalendarLinks, type index_d_Category as Category, type index_d_CategoryCounts as CategoryCounts, type index_d_CategoryDetails as CategoryDetails, index_d_CategoryStateState as CategoryStateState, type index_d_ChangeCurrencyOptions as ChangeCurrencyOptions, type index_d_ChangeCurrencyRequest as ChangeCurrencyRequest, type index_d_ChangeCurrencyResponse as ChangeCurrencyResponse, type index_d_CheckoutFormMessages as CheckoutFormMessages, type index_d_CommonMoney as CommonMoney, index_d_ConferenceType as ConferenceType, type index_d_CopiedTicketDefinition as CopiedTicketDefinition, type index_d_CountAvailableTicketDefinitionsOptions as CountAvailableTicketDefinitionsOptions, type index_d_CountAvailableTicketDefinitionsRequest as CountAvailableTicketDefinitionsRequest, type index_d_CountAvailableTicketDefinitionsResponse as CountAvailableTicketDefinitionsResponse, type index_d_CountTicketDefinitionsOptions as CountTicketDefinitionsOptions, type index_d_CountTicketDefinitionsRequest as CountTicketDefinitionsRequest, type index_d_CountTicketDefinitionsResponse as CountTicketDefinitionsResponse, type index_d_CreateTicketDefinitionOptions as CreateTicketDefinitionOptions, type index_d_CreateTicketDefinitionRequest as CreateTicketDefinitionRequest, type index_d_CreateTicketDefinitionResponse as CreateTicketDefinitionResponse, type index_d_CreateTicketDefinitionResponseNonNullableFields as CreateTicketDefinitionResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_Dashboard as Dashboard, type index_d_DeleteContext as DeleteContext, index_d_DeleteStatus as DeleteStatus, type index_d_DeleteTicketDefinitionRequest as DeleteTicketDefinitionRequest, type index_d_DeleteTicketDefinitionResponse as DeleteTicketDefinitionResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_Event as Event, type index_d_EventCanceled as EventCanceled, type index_d_EventCreated as EventCreated, type index_d_EventDeleted as EventDeleted, type index_d_EventDisplaySettings as EventDisplaySettings, type index_d_EventEnded as EventEnded, type index_d_EventMetadata as EventMetadata, index_d_EventStatus as EventStatus, type index_d_EventTicketingSummary as EventTicketingSummary, index_d_EventType as EventType, type index_d_EventUpdated as EventUpdated, type index_d_ExtendedFields as ExtendedFields, type index_d_ExternalEvent as ExternalEvent, type index_d_FacetCounts as FacetCounts, type index_d_Feed as Feed, index_d_Field as Field, type index_d_File as File, type index_d_Form as Form, type index_d_FormMessages as FormMessages, type index_d_GetTicketDefinitionFromTrashBinRequest as GetTicketDefinitionFromTrashBinRequest, type index_d_GetTicketDefinitionFromTrashBinResponse as GetTicketDefinitionFromTrashBinResponse, type index_d_GetTicketDefinitionOptions as GetTicketDefinitionOptions, type index_d_GetTicketDefinitionRequest as GetTicketDefinitionRequest, type index_d_GetTicketDefinitionResponse as GetTicketDefinitionResponse, type index_d_GetTicketDefinitionResponseNonNullableFields as GetTicketDefinitionResponseNonNullableFields, type index_d_GetTicketDefinitionSummaryRequest as GetTicketDefinitionSummaryRequest, type index_d_GetTicketDefinitionSummaryResponse as GetTicketDefinitionSummaryResponse, type index_d_GuestListConfig as GuestListConfig, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Input as Input, type index_d_InputControl as InputControl, index_d_InputControlType as InputControlType, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Keyword as Keyword, type index_d_Label as Label, type index_d_LabellingSettings as LabellingSettings, type index_d_ListEventTicketingSummaryRequest as ListEventTicketingSummaryRequest, type index_d_ListEventTicketingSummaryResponse as ListEventTicketingSummaryResponse, type index_d_Location as Location, index_d_LocationType as LocationType, type index_d_MapCoordinates as MapCoordinates, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d_Money as Money, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_Negative as Negative, type index_d_NegativeResponseConfirmation as NegativeResponseConfirmation, type index_d_Occurrence as Occurrence, type index_d_OnlineConferencing as OnlineConferencing, type index_d_OnlineConferencingConfig as OnlineConferencingConfig, type index_d_OnlineConferencingSession as OnlineConferencingSession, type index_d_OptionDetails as OptionDetails, type index_d_OptionSelection as OptionSelection, type index_d_OptionSelectionSelectedOptionOneOf as OptionSelectionSelectedOptionOneOf, type index_d_Page as Page, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_Positive as Positive, type index_d_PositiveResponseConfirmation as PositiveResponseConfirmation, type index_d_PricingMethod as PricingMethod, type index_d_PricingMethodPriceOneOf as PricingMethodPriceOneOf, type index_d_PricingOptions as PricingOptions, index_d_PricingTypeEnumType as PricingTypeEnumType, type index_d_QueryAvailableTicketDefinitionsOptions as QueryAvailableTicketDefinitionsOptions, type index_d_QueryAvailableTicketDefinitionsRequest as QueryAvailableTicketDefinitionsRequest, type index_d_QueryAvailableTicketDefinitionsResponse as QueryAvailableTicketDefinitionsResponse, type index_d_QueryAvailableTicketDefinitionsResponseNonNullableFields as QueryAvailableTicketDefinitionsResponseNonNullableFields, type index_d_QueryTicketDefinitionsOptions as QueryTicketDefinitionsOptions, type index_d_QueryTicketDefinitionsRequest as QueryTicketDefinitionsRequest, type index_d_QueryTicketDefinitionsResponse as QueryTicketDefinitionsResponse, type index_d_QueryTicketDefinitionsResponseNonNullableFields as QueryTicketDefinitionsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_Recurrences as Recurrences, type index_d_Registration as Registration, type index_d_RegistrationClosedMessages as RegistrationClosedMessages, index_d_RegistrationStatus as RegistrationStatus, type index_d_ReorderTicketDefinitionsOptions as ReorderTicketDefinitionsOptions, type index_d_ReorderTicketDefinitionsRequest as ReorderTicketDefinitionsRequest, type index_d_ReorderTicketDefinitionsRequestReferenceDefinitionOneOf as ReorderTicketDefinitionsRequestReferenceDefinitionOneOf, type index_d_ReorderTicketDefinitionsResponse as ReorderTicketDefinitionsResponse, type index_d_ReservationCount as ReservationCount, type index_d_ReservationCreated as ReservationCreated, index_d_ReservationStatus as ReservationStatus, type index_d_ReservationUpdated as ReservationUpdated, type index_d_ResponseConfirmation as ResponseConfirmation, type index_d_RestoreInfo as RestoreInfo, type index_d_RsvpCollection as RsvpCollection, type index_d_RsvpCollectionConfig as RsvpCollectionConfig, type index_d_RsvpFormMessages as RsvpFormMessages, index_d_RsvpStatusOptions as RsvpStatusOptions, type index_d_RsvpSummary as RsvpSummary, type index_d_SalePeriod as SalePeriod, type index_d_SalePeriodUpdated as SalePeriodUpdated, index_d_SaleStatusEnumStatus as SaleStatusEnumStatus, type index_d_SalesDetails as SalesDetails, type index_d_ScheduleConfig as ScheduleConfig, type index_d_ScheduleLegacyTimeCapsuleTaskRequest as ScheduleLegacyTimeCapsuleTaskRequest, type index_d_Scheduling as Scheduling, type index_d_SeatingPlanCategoriesSummaryUpdated as SeatingPlanCategoriesSummaryUpdated, type index_d_SeoSchema as SeoSchema, type index_d_SeoSettings as SeoSettings, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_Settings as Settings, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, type index_d_SiteUrl as SiteUrl, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, index_d_Status as Status, type index_d_StreetAddress as StreetAddress, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_Subdivision as Subdivision, index_d_SubdivisionType as SubdivisionType, type index_d_Tag as Tag, type index_d_TaxConfig as TaxConfig, index_d_TaxType as TaxType, type index_d_TicketDefinition as TicketDefinition, type index_d_TicketDefinitionCreatedEnvelope as TicketDefinitionCreatedEnvelope, type index_d_TicketDefinitionDeletedEnvelope as TicketDefinitionDeletedEnvelope, type index_d_TicketDefinitionNonNullableFields as TicketDefinitionNonNullableFields, type index_d_TicketDefinitionSalePeriodUpdatedEnvelope as TicketDefinitionSalePeriodUpdatedEnvelope, type index_d_TicketDefinitionSummary as TicketDefinitionSummary, type index_d_TicketDefinitionUpdatedEnvelope as TicketDefinitionUpdatedEnvelope, type index_d_TicketDefinitionsQueryBuilder as TicketDefinitionsQueryBuilder, type index_d_TicketDefinitionsQueryResult as TicketDefinitionsQueryResult, type index_d_TicketQuantity as TicketQuantity, type index_d_Ticketing as Ticketing, type index_d_TicketingConfig as TicketingConfig, type index_d_TicketingSummary as TicketingSummary, type index_d_TicketsUnavailableMessages as TicketsUnavailableMessages, index_d_Type as Type, type index_d_URI as URI, type index_d_UpdateTicketDefinition as UpdateTicketDefinition, type index_d_UpdateTicketDefinitionOptions as UpdateTicketDefinitionOptions, type index_d_UpdateTicketDefinitionRequest as UpdateTicketDefinitionRequest, type index_d_UpdateTicketDefinitionResponse as UpdateTicketDefinitionResponse, type index_d_UpdateTicketDefinitionResponseNonNullableFields as UpdateTicketDefinitionResponseNonNullableFields, type index_d_UpdateTicketDefinitionSortIndexRequest as UpdateTicketDefinitionSortIndexRequest, type index_d_UpdateTicketDefinitionSortIndexResponse as UpdateTicketDefinitionSortIndexResponse, index_d_ValueType as ValueType, index_d_VisitorType as VisitorType, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicBulkDeleteTicketDefinitionsByFilterType as _publicBulkDeleteTicketDefinitionsByFilterType, type index_d__publicChangeCurrencyType as _publicChangeCurrencyType, type index_d__publicCountAvailableTicketDefinitionsType as _publicCountAvailableTicketDefinitionsType, type index_d__publicCountTicketDefinitionsType as _publicCountTicketDefinitionsType, type index_d__publicCreateTicketDefinitionType as _publicCreateTicketDefinitionType, type index_d__publicDeleteTicketDefinitionType as _publicDeleteTicketDefinitionType, type index_d__publicGetTicketDefinitionType as _publicGetTicketDefinitionType, type index_d__publicOnTicketDefinitionCreatedType as _publicOnTicketDefinitionCreatedType, type index_d__publicOnTicketDefinitionDeletedType as _publicOnTicketDefinitionDeletedType, type index_d__publicOnTicketDefinitionSalePeriodUpdatedType as _publicOnTicketDefinitionSalePeriodUpdatedType, type index_d__publicOnTicketDefinitionUpdatedType as _publicOnTicketDefinitionUpdatedType, type index_d__publicQueryAvailableTicketDefinitionsType as _publicQueryAvailableTicketDefinitionsType, type index_d__publicQueryTicketDefinitionsType as _publicQueryTicketDefinitionsType, type index_d__publicReorderTicketDefinitionsType as _publicReorderTicketDefinitionsType, type index_d__publicUpdateTicketDefinitionType as _publicUpdateTicketDefinitionType, index_d_bulkDeleteTicketDefinitionsByFilter as bulkDeleteTicketDefinitionsByFilter, index_d_changeCurrency as changeCurrency, index_d_countAvailableTicketDefinitions as countAvailableTicketDefinitions, index_d_countTicketDefinitions as countTicketDefinitions, index_d_createTicketDefinition as createTicketDefinition, index_d_deleteTicketDefinition as deleteTicketDefinition, index_d_getTicketDefinition as getTicketDefinition, index_d_onTicketDefinitionCreated as onTicketDefinitionCreated, index_d_onTicketDefinitionDeleted as onTicketDefinitionDeleted, index_d_onTicketDefinitionSalePeriodUpdated as onTicketDefinitionSalePeriodUpdated, index_d_onTicketDefinitionUpdated as onTicketDefinitionUpdated, onTicketDefinitionCreated$1 as publicOnTicketDefinitionCreated, onTicketDefinitionDeleted$1 as publicOnTicketDefinitionDeleted, onTicketDefinitionSalePeriodUpdated$1 as publicOnTicketDefinitionSalePeriodUpdated, onTicketDefinitionUpdated$1 as publicOnTicketDefinitionUpdated, index_d_queryAvailableTicketDefinitions as queryAvailableTicketDefinitions, index_d_queryTicketDefinitions as queryTicketDefinitions, index_d_reorderTicketDefinitions as reorderTicketDefinitions, index_d_updateTicketDefinition as updateTicketDefinition };
|
|
18360
20165
|
}
|
|
18361
20166
|
|
|
18362
20167
|
export { index_d$8 as categories, index_d$7 as forms, index_d$d as guests, index_d$c as notifications, index_d$6 as orders, index_d$2 as policies, index_d$5 as rsvp, index_d$a as schedule, index_d$b as scheduleBookmarks, index_d$9 as staffMembers, index_d$3 as ticketDefinitions, index_d as ticketDefinitionsV2, index_d$4 as tickets, index_d$1 as wixEventsV2 };
|