@wix/calendar 1.0.14 → 1.0.16
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/context.d.ts +2 -0
- package/build/cjs/context.js +3 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +3 -1
- package/build/cjs/index.js +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- package/build/cjs/meta.js +3 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +2 -0
- package/build/es/context.js +2 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +3 -1
- package/build/es/index.js +3 -1
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +2 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +5 -3
- package/type-bundles/context.bundle.d.ts +1692 -392
- package/type-bundles/index.bundle.d.ts +1692 -392
- package/type-bundles/meta.bundle.d.ts +526 -94
|
@@ -43,7 +43,7 @@ interface Event$1 {
|
|
|
43
43
|
* - `"CANCELLED"` Event has been cancelled.
|
|
44
44
|
* @readonly
|
|
45
45
|
*/
|
|
46
|
-
status?: Status$
|
|
46
|
+
status?: Status$7;
|
|
47
47
|
/**
|
|
48
48
|
* The event title.
|
|
49
49
|
*
|
|
@@ -164,7 +164,7 @@ interface Event$1 {
|
|
|
164
164
|
*/
|
|
165
165
|
permissions?: Permission$3[];
|
|
166
166
|
/** Extensions enabling applications or users to save custom data related to the event. */
|
|
167
|
-
extendedFields?: ExtendedFields$
|
|
167
|
+
extendedFields?: ExtendedFields$5;
|
|
168
168
|
/**
|
|
169
169
|
* The event revision number, which incremented on updates.
|
|
170
170
|
*
|
|
@@ -183,7 +183,7 @@ interface Event$1 {
|
|
|
183
183
|
*/
|
|
184
184
|
updatedDate?: Date;
|
|
185
185
|
}
|
|
186
|
-
declare enum Status$
|
|
186
|
+
declare enum Status$7 {
|
|
187
187
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
188
188
|
/** Event is confirmed. Default value. */
|
|
189
189
|
CONFIRMED = "CONFIRMED",
|
|
@@ -335,7 +335,7 @@ interface Participants$1 {
|
|
|
335
335
|
/** The total number of participants. */
|
|
336
336
|
total?: number | null;
|
|
337
337
|
/** A full or partial list of the participants. */
|
|
338
|
-
list?: Participant$
|
|
338
|
+
list?: Participant$3[];
|
|
339
339
|
/** Whether there are more participants for the event which were not listed. */
|
|
340
340
|
hasMore?: boolean | null;
|
|
341
341
|
/**
|
|
@@ -347,7 +347,7 @@ interface Participants$1 {
|
|
|
347
347
|
*/
|
|
348
348
|
status?: ParticipantsStatus$1;
|
|
349
349
|
}
|
|
350
|
-
interface Participant$
|
|
350
|
+
interface Participant$3 {
|
|
351
351
|
/** The participant name. */
|
|
352
352
|
name?: string | null;
|
|
353
353
|
/** The participant phone. */
|
|
@@ -425,7 +425,7 @@ declare enum IdentityType$3 {
|
|
|
425
425
|
UNKNOWN = "UNKNOWN",
|
|
426
426
|
WIX_USER = "WIX_USER"
|
|
427
427
|
}
|
|
428
|
-
interface ExtendedFields$
|
|
428
|
+
interface ExtendedFields$5 {
|
|
429
429
|
/**
|
|
430
430
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
431
431
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -502,7 +502,7 @@ interface QueryEventsRequest$1 {
|
|
|
502
502
|
*/
|
|
503
503
|
timeZone?: string | null;
|
|
504
504
|
/** Query containing filters and paging. */
|
|
505
|
-
query?: CursorQuery$
|
|
505
|
+
query?: CursorQuery$5;
|
|
506
506
|
/**
|
|
507
507
|
* Optional recurrence filter.
|
|
508
508
|
*
|
|
@@ -513,9 +513,9 @@ interface QueryEventsRequest$1 {
|
|
|
513
513
|
fields?: RequestedFields$3[];
|
|
514
514
|
}
|
|
515
515
|
/** TODO Diverge */
|
|
516
|
-
interface CursorQuery$
|
|
516
|
+
interface CursorQuery$5 extends CursorQueryPagingMethodOneOf$5 {
|
|
517
517
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter`. */
|
|
518
|
-
cursorPaging?: CursorPaging$
|
|
518
|
+
cursorPaging?: CursorPaging$5;
|
|
519
519
|
/**
|
|
520
520
|
* Filter object.
|
|
521
521
|
* See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
|
|
@@ -533,9 +533,9 @@ interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
|
533
533
|
sort?: Sorting$1[];
|
|
534
534
|
}
|
|
535
535
|
/** @oneof */
|
|
536
|
-
interface CursorQueryPagingMethodOneOf$
|
|
536
|
+
interface CursorQueryPagingMethodOneOf$5 {
|
|
537
537
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter`. */
|
|
538
|
-
cursorPaging?: CursorPaging$
|
|
538
|
+
cursorPaging?: CursorPaging$5;
|
|
539
539
|
}
|
|
540
540
|
/** TODO Diverge */
|
|
541
541
|
interface Sorting$1 {
|
|
@@ -553,7 +553,7 @@ declare enum SortOrder$1 {
|
|
|
553
553
|
DESC = "DESC"
|
|
554
554
|
}
|
|
555
555
|
/** TODO Diverge */
|
|
556
|
-
interface CursorPaging$
|
|
556
|
+
interface CursorPaging$5 {
|
|
557
557
|
/**
|
|
558
558
|
* Number of events to return.
|
|
559
559
|
* Defaults to `50`. Maximum `1000`.
|
|
@@ -572,14 +572,14 @@ interface QueryEventsResponse$1 {
|
|
|
572
572
|
/** The events matching the provided query. */
|
|
573
573
|
events?: Event$1[];
|
|
574
574
|
/** Paging metadata. */
|
|
575
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
575
|
+
pagingMetadata?: CursorPagingMetadata$5;
|
|
576
576
|
}
|
|
577
577
|
/** TODO Diverge */
|
|
578
|
-
interface CursorPagingMetadata$
|
|
578
|
+
interface CursorPagingMetadata$5 {
|
|
579
579
|
/** Number of items returned in the response. */
|
|
580
580
|
count?: number | null;
|
|
581
581
|
/** Use these cursor to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
582
|
-
cursors?: Cursors$
|
|
582
|
+
cursors?: Cursors$5;
|
|
583
583
|
/**
|
|
584
584
|
* Indicates if there are more results after the current page.
|
|
585
585
|
* If `true`, another page of results can be retrieved.
|
|
@@ -587,7 +587,7 @@ interface CursorPagingMetadata$3 {
|
|
|
587
587
|
*/
|
|
588
588
|
hasNext?: boolean | null;
|
|
589
589
|
}
|
|
590
|
-
interface Cursors$
|
|
590
|
+
interface Cursors$5 {
|
|
591
591
|
/** Cursor pointing to next page in the list of results. */
|
|
592
592
|
next?: string | null;
|
|
593
593
|
}
|
|
@@ -933,7 +933,7 @@ interface PermissionNonNullableFields$3 {
|
|
|
933
933
|
role: Role$3;
|
|
934
934
|
}
|
|
935
935
|
interface EventNonNullableFields$1 {
|
|
936
|
-
status: Status$
|
|
936
|
+
status: Status$7;
|
|
937
937
|
recurrenceType: RecurrenceType$1;
|
|
938
938
|
recurrenceRule?: RecurrenceRuleNonNullableFields$1;
|
|
939
939
|
transparency: Transparency$1;
|
|
@@ -1050,7 +1050,7 @@ interface Event {
|
|
|
1050
1050
|
* - `"CANCELLED"` Event has been cancelled.
|
|
1051
1051
|
* @readonly
|
|
1052
1052
|
*/
|
|
1053
|
-
status?: Status$
|
|
1053
|
+
status?: Status$6;
|
|
1054
1054
|
/**
|
|
1055
1055
|
* The event title.
|
|
1056
1056
|
*
|
|
@@ -1171,7 +1171,7 @@ interface Event {
|
|
|
1171
1171
|
*/
|
|
1172
1172
|
permissions?: Permission$2[];
|
|
1173
1173
|
/** Extensions enabling applications or users to save custom data related to the event. */
|
|
1174
|
-
extendedFields?: ExtendedFields$
|
|
1174
|
+
extendedFields?: ExtendedFields$4;
|
|
1175
1175
|
/**
|
|
1176
1176
|
* The event revision number, which incremented on updates.
|
|
1177
1177
|
*
|
|
@@ -1190,7 +1190,7 @@ interface Event {
|
|
|
1190
1190
|
*/
|
|
1191
1191
|
_updatedDate?: Date;
|
|
1192
1192
|
}
|
|
1193
|
-
declare enum Status$
|
|
1193
|
+
declare enum Status$6 {
|
|
1194
1194
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
1195
1195
|
/** Event is confirmed. Default value. */
|
|
1196
1196
|
CONFIRMED = "CONFIRMED",
|
|
@@ -1342,7 +1342,7 @@ interface Participants {
|
|
|
1342
1342
|
/** The total number of participants. */
|
|
1343
1343
|
total?: number | null;
|
|
1344
1344
|
/** A full or partial list of the participants. */
|
|
1345
|
-
list?: Participant[];
|
|
1345
|
+
list?: Participant$2[];
|
|
1346
1346
|
/** Whether there are more participants for the event which were not listed. */
|
|
1347
1347
|
hasMore?: boolean | null;
|
|
1348
1348
|
/**
|
|
@@ -1354,7 +1354,7 @@ interface Participants {
|
|
|
1354
1354
|
*/
|
|
1355
1355
|
status?: ParticipantsStatus;
|
|
1356
1356
|
}
|
|
1357
|
-
interface Participant {
|
|
1357
|
+
interface Participant$2 {
|
|
1358
1358
|
/** The participant name. */
|
|
1359
1359
|
name?: string | null;
|
|
1360
1360
|
/** The participant phone. */
|
|
@@ -1432,7 +1432,7 @@ declare enum IdentityType$2 {
|
|
|
1432
1432
|
UNKNOWN = "UNKNOWN",
|
|
1433
1433
|
WIX_USER = "WIX_USER"
|
|
1434
1434
|
}
|
|
1435
|
-
interface ExtendedFields$
|
|
1435
|
+
interface ExtendedFields$4 {
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
1438
1438
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -1509,7 +1509,7 @@ interface QueryEventsRequest {
|
|
|
1509
1509
|
*/
|
|
1510
1510
|
timeZone?: string | null;
|
|
1511
1511
|
/** Query containing filters and paging. */
|
|
1512
|
-
query?: CursorQuery$
|
|
1512
|
+
query?: CursorQuery$4;
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Optional recurrence filter.
|
|
1515
1515
|
*
|
|
@@ -1520,9 +1520,9 @@ interface QueryEventsRequest {
|
|
|
1520
1520
|
fields?: RequestedFields$2[];
|
|
1521
1521
|
}
|
|
1522
1522
|
/** TODO Diverge */
|
|
1523
|
-
interface CursorQuery$
|
|
1523
|
+
interface CursorQuery$4 extends CursorQueryPagingMethodOneOf$4 {
|
|
1524
1524
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter`. */
|
|
1525
|
-
cursorPaging?: CursorPaging$
|
|
1525
|
+
cursorPaging?: CursorPaging$4;
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Filter object.
|
|
1528
1528
|
* See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
|
|
@@ -1540,9 +1540,9 @@ interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
|
1540
1540
|
sort?: Sorting[];
|
|
1541
1541
|
}
|
|
1542
1542
|
/** @oneof */
|
|
1543
|
-
interface CursorQueryPagingMethodOneOf$
|
|
1543
|
+
interface CursorQueryPagingMethodOneOf$4 {
|
|
1544
1544
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter`. */
|
|
1545
|
-
cursorPaging?: CursorPaging$
|
|
1545
|
+
cursorPaging?: CursorPaging$4;
|
|
1546
1546
|
}
|
|
1547
1547
|
/** TODO Diverge */
|
|
1548
1548
|
interface Sorting {
|
|
@@ -1560,7 +1560,7 @@ declare enum SortOrder {
|
|
|
1560
1560
|
DESC = "DESC"
|
|
1561
1561
|
}
|
|
1562
1562
|
/** TODO Diverge */
|
|
1563
|
-
interface CursorPaging$
|
|
1563
|
+
interface CursorPaging$4 {
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Number of events to return.
|
|
1566
1566
|
* Defaults to `50`. Maximum `1000`.
|
|
@@ -1579,14 +1579,14 @@ interface QueryEventsResponse {
|
|
|
1579
1579
|
/** The events matching the provided query. */
|
|
1580
1580
|
events?: Event[];
|
|
1581
1581
|
/** Paging metadata. */
|
|
1582
|
-
pagingMetadata?: CursorPagingMetadata$
|
|
1582
|
+
pagingMetadata?: CursorPagingMetadata$4;
|
|
1583
1583
|
}
|
|
1584
1584
|
/** TODO Diverge */
|
|
1585
|
-
interface CursorPagingMetadata$
|
|
1585
|
+
interface CursorPagingMetadata$4 {
|
|
1586
1586
|
/** Number of items returned in the response. */
|
|
1587
1587
|
count?: number | null;
|
|
1588
1588
|
/** Use these cursor to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
1589
|
-
cursors?: Cursors$
|
|
1589
|
+
cursors?: Cursors$4;
|
|
1590
1590
|
/**
|
|
1591
1591
|
* Indicates if there are more results after the current page.
|
|
1592
1592
|
* If `true`, another page of results can be retrieved.
|
|
@@ -1594,7 +1594,7 @@ interface CursorPagingMetadata$2 {
|
|
|
1594
1594
|
*/
|
|
1595
1595
|
hasNext?: boolean | null;
|
|
1596
1596
|
}
|
|
1597
|
-
interface Cursors$
|
|
1597
|
+
interface Cursors$4 {
|
|
1598
1598
|
/** Cursor pointing to next page in the list of results. */
|
|
1599
1599
|
next?: string | null;
|
|
1600
1600
|
}
|
|
@@ -1940,7 +1940,7 @@ interface PermissionNonNullableFields$2 {
|
|
|
1940
1940
|
role: Role$2;
|
|
1941
1941
|
}
|
|
1942
1942
|
interface EventNonNullableFields {
|
|
1943
|
-
status: Status$
|
|
1943
|
+
status: Status$6;
|
|
1944
1944
|
recurrenceType: RecurrenceType;
|
|
1945
1945
|
recurrenceRule?: RecurrenceRuleNonNullableFields;
|
|
1946
1946
|
transparency: Transparency;
|
|
@@ -2012,7 +2012,7 @@ interface ListEventsByMemberIdResponseNonNullableFields {
|
|
|
2012
2012
|
events: EventNonNullableFields[];
|
|
2013
2013
|
}
|
|
2014
2014
|
|
|
2015
|
-
type __PublicMethodMetaInfo$
|
|
2015
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2016
2016
|
getUrl: (context: any) => string;
|
|
2017
2017
|
httpMethod: K;
|
|
2018
2018
|
path: string;
|
|
@@ -2022,49 +2022,511 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2022
2022
|
__responseType: Q;
|
|
2023
2023
|
__originalResponseType: R;
|
|
2024
2024
|
};
|
|
2025
|
-
declare function getEvent(): __PublicMethodMetaInfo$
|
|
2025
|
+
declare function getEvent(): __PublicMethodMetaInfo$4<'GET', {
|
|
2026
2026
|
eventId: string;
|
|
2027
2027
|
}, GetEventRequest, GetEventRequest$1, GetEventResponse & GetEventResponseNonNullableFields, GetEventResponse$1 & GetEventResponseNonNullableFields$1>;
|
|
2028
|
-
declare function listEvents(): __PublicMethodMetaInfo$
|
|
2029
|
-
declare function queryEvents(): __PublicMethodMetaInfo$
|
|
2030
|
-
declare function createEvent(): __PublicMethodMetaInfo$
|
|
2031
|
-
declare function bulkCreateEvent(): __PublicMethodMetaInfo$
|
|
2032
|
-
declare function updateEvent(): __PublicMethodMetaInfo$
|
|
2028
|
+
declare function listEvents(): __PublicMethodMetaInfo$4<'GET', {}, ListEventsRequest, ListEventsRequest$1, ListEventsResponse & ListEventsResponseNonNullableFields, ListEventsResponse$1 & ListEventsResponseNonNullableFields$1>;
|
|
2029
|
+
declare function queryEvents(): __PublicMethodMetaInfo$4<'POST', {}, QueryEventsRequest, QueryEventsRequest$1, QueryEventsResponse & QueryEventsResponseNonNullableFields, QueryEventsResponse$1 & QueryEventsResponseNonNullableFields$1>;
|
|
2030
|
+
declare function createEvent(): __PublicMethodMetaInfo$4<'POST', {}, CreateEventRequest, CreateEventRequest$1, CreateEventResponse & CreateEventResponseNonNullableFields, CreateEventResponse$1 & CreateEventResponseNonNullableFields$1>;
|
|
2031
|
+
declare function bulkCreateEvent(): __PublicMethodMetaInfo$4<'POST', {}, BulkCreateEventRequest, BulkCreateEventRequest$1, BulkCreateEventResponse & BulkCreateEventResponseNonNullableFields, BulkCreateEventResponse$1 & BulkCreateEventResponseNonNullableFields$1>;
|
|
2032
|
+
declare function updateEvent(): __PublicMethodMetaInfo$4<'PATCH', {
|
|
2033
2033
|
eventId: string;
|
|
2034
2034
|
}, UpdateEventRequest, UpdateEventRequest$1, UpdateEventResponse & UpdateEventResponseNonNullableFields, UpdateEventResponse$1 & UpdateEventResponseNonNullableFields$1>;
|
|
2035
|
-
declare function bulkUpdateEvent(): __PublicMethodMetaInfo$
|
|
2036
|
-
declare function restoreEventDefaults(): __PublicMethodMetaInfo$
|
|
2035
|
+
declare function bulkUpdateEvent(): __PublicMethodMetaInfo$4<'POST', {}, BulkUpdateEventRequest, BulkUpdateEventRequest$1, BulkUpdateEventResponse & BulkUpdateEventResponseNonNullableFields, BulkUpdateEventResponse$1 & BulkUpdateEventResponseNonNullableFields$1>;
|
|
2036
|
+
declare function restoreEventDefaults(): __PublicMethodMetaInfo$4<'POST', {
|
|
2037
2037
|
eventId: string;
|
|
2038
2038
|
}, RestoreEventDefaultsRequest, RestoreEventDefaultsRequest$1, RestoreEventDefaultsResponse & RestoreEventDefaultsResponseNonNullableFields, RestoreEventDefaultsResponse$1 & RestoreEventDefaultsResponseNonNullableFields$1>;
|
|
2039
|
-
declare function splitRecurringEvent(): __PublicMethodMetaInfo$
|
|
2039
|
+
declare function splitRecurringEvent(): __PublicMethodMetaInfo$4<'POST', {
|
|
2040
2040
|
recurringEventId: string;
|
|
2041
2041
|
}, SplitRecurringEventRequest, SplitRecurringEventRequest$1, SplitRecurringEventResponse & SplitRecurringEventResponseNonNullableFields, SplitRecurringEventResponse$1 & SplitRecurringEventResponseNonNullableFields$1>;
|
|
2042
|
-
declare function cancelEvent(): __PublicMethodMetaInfo$
|
|
2042
|
+
declare function cancelEvent(): __PublicMethodMetaInfo$4<'POST', {
|
|
2043
2043
|
eventId: string;
|
|
2044
2044
|
}, CancelEventRequest, CancelEventRequest$1, CancelEventResponse & CancelEventResponseNonNullableFields, CancelEventResponse$1 & CancelEventResponseNonNullableFields$1>;
|
|
2045
|
-
declare function bulkCancelEvent(): __PublicMethodMetaInfo$
|
|
2046
|
-
declare function listEventsByContactId(): __PublicMethodMetaInfo$
|
|
2045
|
+
declare function bulkCancelEvent(): __PublicMethodMetaInfo$4<'POST', {}, BulkCancelEventRequest, BulkCancelEventRequest$1, BulkCancelEventResponse & BulkCancelEventResponseNonNullableFields, BulkCancelEventResponse$1 & BulkCancelEventResponseNonNullableFields$1>;
|
|
2046
|
+
declare function listEventsByContactId(): __PublicMethodMetaInfo$4<'GET', {
|
|
2047
2047
|
contactId: string;
|
|
2048
2048
|
}, ListEventsByContactIdRequest, ListEventsByContactIdRequest$1, ListEventsByContactIdResponse & ListEventsByContactIdResponseNonNullableFields, ListEventsByContactIdResponse$1 & ListEventsByContactIdResponseNonNullableFields$1>;
|
|
2049
|
-
declare function listEventsByMemberId(): __PublicMethodMetaInfo$
|
|
2049
|
+
declare function listEventsByMemberId(): __PublicMethodMetaInfo$4<'GET', {
|
|
2050
2050
|
memberId: string;
|
|
2051
2051
|
}, ListEventsByMemberIdRequest, ListEventsByMemberIdRequest$1, ListEventsByMemberIdResponse & ListEventsByMemberIdResponseNonNullableFields, ListEventsByMemberIdResponse$1 & ListEventsByMemberIdResponseNonNullableFields$1>;
|
|
2052
2052
|
|
|
2053
|
-
declare const meta$
|
|
2054
|
-
declare const meta$
|
|
2055
|
-
declare const meta$
|
|
2056
|
-
declare const meta$
|
|
2057
|
-
declare const meta$
|
|
2058
|
-
declare const meta$
|
|
2059
|
-
declare const meta$
|
|
2060
|
-
declare const meta$
|
|
2061
|
-
declare const meta$
|
|
2062
|
-
declare const meta$
|
|
2063
|
-
declare const meta$
|
|
2064
|
-
declare const meta$
|
|
2065
|
-
declare const meta$
|
|
2053
|
+
declare const meta$4_bulkCancelEvent: typeof bulkCancelEvent;
|
|
2054
|
+
declare const meta$4_bulkCreateEvent: typeof bulkCreateEvent;
|
|
2055
|
+
declare const meta$4_bulkUpdateEvent: typeof bulkUpdateEvent;
|
|
2056
|
+
declare const meta$4_cancelEvent: typeof cancelEvent;
|
|
2057
|
+
declare const meta$4_createEvent: typeof createEvent;
|
|
2058
|
+
declare const meta$4_getEvent: typeof getEvent;
|
|
2059
|
+
declare const meta$4_listEvents: typeof listEvents;
|
|
2060
|
+
declare const meta$4_listEventsByContactId: typeof listEventsByContactId;
|
|
2061
|
+
declare const meta$4_listEventsByMemberId: typeof listEventsByMemberId;
|
|
2062
|
+
declare const meta$4_queryEvents: typeof queryEvents;
|
|
2063
|
+
declare const meta$4_restoreEventDefaults: typeof restoreEventDefaults;
|
|
2064
|
+
declare const meta$4_splitRecurringEvent: typeof splitRecurringEvent;
|
|
2065
|
+
declare const meta$4_updateEvent: typeof updateEvent;
|
|
2066
|
+
declare namespace meta$4 {
|
|
2067
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_bulkCancelEvent as bulkCancelEvent, meta$4_bulkCreateEvent as bulkCreateEvent, meta$4_bulkUpdateEvent as bulkUpdateEvent, meta$4_cancelEvent as cancelEvent, meta$4_createEvent as createEvent, meta$4_getEvent as getEvent, meta$4_listEvents as listEvents, meta$4_listEventsByContactId as listEventsByContactId, meta$4_listEventsByMemberId as listEventsByMemberId, meta$4_queryEvents as queryEvents, meta$4_restoreEventDefaults as restoreEventDefaults, meta$4_splitRecurringEvent as splitRecurringEvent, meta$4_updateEvent as updateEvent };
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
interface EventsView$1 {
|
|
2071
|
+
/**
|
|
2072
|
+
* The view end date.
|
|
2073
|
+
* @readonly
|
|
2074
|
+
*/
|
|
2075
|
+
endDate?: Date;
|
|
2076
|
+
/**
|
|
2077
|
+
* The number of days the view lasts into the future.
|
|
2078
|
+
* @readonly
|
|
2079
|
+
*/
|
|
2080
|
+
futureDurationInDays?: number | null;
|
|
2081
|
+
}
|
|
2082
|
+
interface GetEventsViewRequest$1 {
|
|
2083
|
+
}
|
|
2084
|
+
interface GetEventsViewResponse$1 {
|
|
2085
|
+
/** The events view. */
|
|
2086
|
+
eventsView?: EventsView$1;
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
interface EventsView {
|
|
2090
|
+
/**
|
|
2091
|
+
* The view end date.
|
|
2092
|
+
* @readonly
|
|
2093
|
+
*/
|
|
2094
|
+
endDate?: Date;
|
|
2095
|
+
/**
|
|
2096
|
+
* The number of days the view lasts into the future.
|
|
2097
|
+
* @readonly
|
|
2098
|
+
*/
|
|
2099
|
+
futureDurationInDays?: number | null;
|
|
2100
|
+
}
|
|
2101
|
+
interface GetEventsViewRequest {
|
|
2102
|
+
}
|
|
2103
|
+
interface GetEventsViewResponse {
|
|
2104
|
+
/** The events view. */
|
|
2105
|
+
eventsView?: EventsView;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2109
|
+
getUrl: (context: any) => string;
|
|
2110
|
+
httpMethod: K;
|
|
2111
|
+
path: string;
|
|
2112
|
+
pathParams: M;
|
|
2113
|
+
__requestType: T;
|
|
2114
|
+
__originalRequestType: S;
|
|
2115
|
+
__responseType: Q;
|
|
2116
|
+
__originalResponseType: R;
|
|
2117
|
+
};
|
|
2118
|
+
declare function getEventsView(): __PublicMethodMetaInfo$3<'GET', {}, GetEventsViewRequest, GetEventsViewRequest$1, GetEventsViewResponse, GetEventsViewResponse$1>;
|
|
2119
|
+
|
|
2120
|
+
declare const meta$3_getEventsView: typeof getEventsView;
|
|
2121
|
+
declare namespace meta$3 {
|
|
2122
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_getEventsView as getEventsView };
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
interface Participation$1 extends ParticipationParticipatedItemOneOf$1 {
|
|
2126
|
+
/** The ID of the schedule that the participant is participating in. */
|
|
2127
|
+
scheduleId?: string | null;
|
|
2128
|
+
/** The ID of the specific event that the participant is participating in. */
|
|
2129
|
+
eventId?: string | null;
|
|
2130
|
+
/**
|
|
2131
|
+
* The participation ID.
|
|
2132
|
+
* @readonly
|
|
2133
|
+
*/
|
|
2134
|
+
id?: string | null;
|
|
2135
|
+
/** Optional external ID. */
|
|
2136
|
+
externalId?: string | null;
|
|
2137
|
+
/** The participant info. */
|
|
2138
|
+
participant?: Participant$1;
|
|
2139
|
+
/** Party size of the individual or group. */
|
|
2140
|
+
partySize?: number | null;
|
|
2141
|
+
/**
|
|
2142
|
+
* Participation status. Required.
|
|
2143
|
+
* One of:
|
|
2144
|
+
* - `"CONFIRMED"` Participation is confirmed. Default value.
|
|
2145
|
+
* - `"PENDING_CONFIRMATION"` Participation is pending confirmation.
|
|
2146
|
+
*/
|
|
2147
|
+
status?: Status$5;
|
|
2148
|
+
/**
|
|
2149
|
+
* Optional ID of the Wix app owning the participation, as derived from the schedule.
|
|
2150
|
+
* @readonly
|
|
2151
|
+
*/
|
|
2152
|
+
appId?: string | null;
|
|
2153
|
+
/**
|
|
2154
|
+
* The participation revision number, which incremented on updates.
|
|
2155
|
+
* The current revision should be provided on updates to prevent conflicting changes.
|
|
2156
|
+
* @readonly
|
|
2157
|
+
*/
|
|
2158
|
+
revision?: string | null;
|
|
2159
|
+
/**
|
|
2160
|
+
* Date the participation was created.
|
|
2161
|
+
* @readonly
|
|
2162
|
+
*/
|
|
2163
|
+
createdDate?: Date;
|
|
2164
|
+
/**
|
|
2165
|
+
* Date the participation was last updated.
|
|
2166
|
+
* @readonly
|
|
2167
|
+
*/
|
|
2168
|
+
updatedDate?: Date;
|
|
2169
|
+
/** Extensions enabling applications or users to save custom data. */
|
|
2170
|
+
extendedFields?: ExtendedFields$3;
|
|
2171
|
+
}
|
|
2172
|
+
/** @oneof */
|
|
2173
|
+
interface ParticipationParticipatedItemOneOf$1 {
|
|
2174
|
+
/** The ID of the schedule that the participant is participating in. */
|
|
2175
|
+
scheduleId?: string | null;
|
|
2176
|
+
/** The ID of the specific event that the participant is participating in. */
|
|
2177
|
+
eventId?: string | null;
|
|
2178
|
+
}
|
|
2179
|
+
interface Participant$1 {
|
|
2180
|
+
/** The participant's name. */
|
|
2181
|
+
name?: string | null;
|
|
2182
|
+
/** The participant's phone. */
|
|
2183
|
+
phone?: string | null;
|
|
2184
|
+
/** The participant's email address. */
|
|
2185
|
+
email?: string | null;
|
|
2186
|
+
/** The ID of the Wix Contact. */
|
|
2187
|
+
contactId?: string | null;
|
|
2188
|
+
}
|
|
2189
|
+
declare enum Status$5 {
|
|
2190
|
+
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
2191
|
+
/** Participation is confirmed. */
|
|
2192
|
+
CONFIRMED = "CONFIRMED",
|
|
2193
|
+
/** Participation is pending confirmation. */
|
|
2194
|
+
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
2195
|
+
}
|
|
2196
|
+
interface ExtendedFields$3 {
|
|
2197
|
+
/**
|
|
2198
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
2199
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
2200
|
+
*
|
|
2201
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
2202
|
+
*
|
|
2203
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
2204
|
+
*/
|
|
2205
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
2206
|
+
}
|
|
2207
|
+
interface GetParticipationRequest$1 {
|
|
2208
|
+
/** The participation ID. */
|
|
2209
|
+
participationId: string | null;
|
|
2210
|
+
}
|
|
2211
|
+
interface GetParticipationResponse$1 {
|
|
2212
|
+
/** The participation. */
|
|
2213
|
+
participation?: Participation$1;
|
|
2214
|
+
}
|
|
2215
|
+
interface QueryParticipationsRequest$1 {
|
|
2216
|
+
/** Query containing filters and paging. */
|
|
2217
|
+
query?: CursorQuery$3;
|
|
2218
|
+
}
|
|
2219
|
+
interface CursorQuery$3 extends CursorQueryPagingMethodOneOf$3 {
|
|
2220
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2221
|
+
cursorPaging?: CursorPaging$3;
|
|
2222
|
+
/**
|
|
2223
|
+
* Filter object in the following format:
|
|
2224
|
+
* `"filter" : {
|
|
2225
|
+
* "fieldName1": "value1",
|
|
2226
|
+
* "fieldName2":{"$operator":"value2"}
|
|
2227
|
+
* }`
|
|
2228
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2229
|
+
*/
|
|
2230
|
+
filter?: Record<string, any> | null;
|
|
2231
|
+
}
|
|
2232
|
+
/** @oneof */
|
|
2233
|
+
interface CursorQueryPagingMethodOneOf$3 {
|
|
2234
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2235
|
+
cursorPaging?: CursorPaging$3;
|
|
2236
|
+
}
|
|
2237
|
+
interface CursorPaging$3 {
|
|
2238
|
+
/** Number of participations to load. */
|
|
2239
|
+
limit?: number | null;
|
|
2240
|
+
/**
|
|
2241
|
+
* Pointer to the next or previous page in the list of results.
|
|
2242
|
+
*
|
|
2243
|
+
* You can get the relevant cursor token
|
|
2244
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
2245
|
+
* Not relevant for the first request.
|
|
2246
|
+
*/
|
|
2247
|
+
cursor?: string | null;
|
|
2248
|
+
}
|
|
2249
|
+
interface QueryParticipationsResponse$1 {
|
|
2250
|
+
/** The participations matching the provided query. */
|
|
2251
|
+
participations?: Participation$1[];
|
|
2252
|
+
/** Paging metadata. */
|
|
2253
|
+
pagingMetadata?: CursorPagingMetadata$3;
|
|
2254
|
+
}
|
|
2255
|
+
interface CursorPagingMetadata$3 {
|
|
2256
|
+
/** Number of items returned in the response. */
|
|
2257
|
+
count?: number | null;
|
|
2258
|
+
/** Offset that was requested. */
|
|
2259
|
+
cursors?: Cursors$3;
|
|
2260
|
+
/**
|
|
2261
|
+
* Indicates if there are more results after the current page.
|
|
2262
|
+
* If `true`, another page of results can be retrieved.
|
|
2263
|
+
* If `false`, this is the last page.
|
|
2264
|
+
*/
|
|
2265
|
+
hasNext?: boolean | null;
|
|
2266
|
+
}
|
|
2267
|
+
interface Cursors$3 {
|
|
2268
|
+
/** Cursor pointing to next page in the list of results. */
|
|
2269
|
+
next?: string | null;
|
|
2270
|
+
/** Cursor pointing to previous page in the list of results. */
|
|
2271
|
+
prev?: string | null;
|
|
2272
|
+
}
|
|
2273
|
+
interface CreateParticipationRequest$1 {
|
|
2274
|
+
/** The participation to create. */
|
|
2275
|
+
participation: Participation$1;
|
|
2276
|
+
/** Optional idempotency key to ensure that the participation is created only once, even if the same request is issued multiple times. */
|
|
2277
|
+
idempotencyKey?: string | null;
|
|
2278
|
+
}
|
|
2279
|
+
interface CreateParticipationResponse$1 {
|
|
2280
|
+
/** The created participation. */
|
|
2281
|
+
participation?: Participation$1;
|
|
2282
|
+
}
|
|
2283
|
+
interface UpdateParticipationRequest$1 {
|
|
2284
|
+
/** The participation to update. */
|
|
2285
|
+
participation: Participation$1;
|
|
2286
|
+
}
|
|
2287
|
+
interface UpdateParticipationResponse$1 {
|
|
2288
|
+
/** The updated participation. */
|
|
2289
|
+
participation?: Participation$1;
|
|
2290
|
+
}
|
|
2291
|
+
interface DeleteParticipationRequest$1 {
|
|
2292
|
+
/** The ID of participation to delete. */
|
|
2293
|
+
participationId: string | null;
|
|
2294
|
+
}
|
|
2295
|
+
interface DeleteParticipationResponse$1 {
|
|
2296
|
+
}
|
|
2297
|
+
interface ParticipationNonNullableFields$1 {
|
|
2298
|
+
status: Status$5;
|
|
2299
|
+
}
|
|
2300
|
+
interface GetParticipationResponseNonNullableFields$1 {
|
|
2301
|
+
participation?: ParticipationNonNullableFields$1;
|
|
2302
|
+
}
|
|
2303
|
+
interface QueryParticipationsResponseNonNullableFields$1 {
|
|
2304
|
+
participations: ParticipationNonNullableFields$1[];
|
|
2305
|
+
}
|
|
2306
|
+
interface CreateParticipationResponseNonNullableFields$1 {
|
|
2307
|
+
participation?: ParticipationNonNullableFields$1;
|
|
2308
|
+
}
|
|
2309
|
+
interface UpdateParticipationResponseNonNullableFields$1 {
|
|
2310
|
+
participation?: ParticipationNonNullableFields$1;
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
interface Participation extends ParticipationParticipatedItemOneOf {
|
|
2314
|
+
/** The ID of the schedule that the participant is participating in. */
|
|
2315
|
+
scheduleId?: string | null;
|
|
2316
|
+
/** The ID of the specific event that the participant is participating in. */
|
|
2317
|
+
eventId?: string | null;
|
|
2318
|
+
/**
|
|
2319
|
+
* The participation ID.
|
|
2320
|
+
* @readonly
|
|
2321
|
+
*/
|
|
2322
|
+
_id?: string | null;
|
|
2323
|
+
/** Optional external ID. */
|
|
2324
|
+
externalId?: string | null;
|
|
2325
|
+
/** The participant info. */
|
|
2326
|
+
participant?: Participant;
|
|
2327
|
+
/** Party size of the individual or group. */
|
|
2328
|
+
partySize?: number | null;
|
|
2329
|
+
/**
|
|
2330
|
+
* Participation status. Required.
|
|
2331
|
+
* One of:
|
|
2332
|
+
* - `"CONFIRMED"` Participation is confirmed. Default value.
|
|
2333
|
+
* - `"PENDING_CONFIRMATION"` Participation is pending confirmation.
|
|
2334
|
+
*/
|
|
2335
|
+
status?: Status$4;
|
|
2336
|
+
/**
|
|
2337
|
+
* Optional ID of the Wix app owning the participation, as derived from the schedule.
|
|
2338
|
+
* @readonly
|
|
2339
|
+
*/
|
|
2340
|
+
appId?: string | null;
|
|
2341
|
+
/**
|
|
2342
|
+
* The participation revision number, which incremented on updates.
|
|
2343
|
+
* The current revision should be provided on updates to prevent conflicting changes.
|
|
2344
|
+
* @readonly
|
|
2345
|
+
*/
|
|
2346
|
+
revision?: string | null;
|
|
2347
|
+
/**
|
|
2348
|
+
* Date the participation was created.
|
|
2349
|
+
* @readonly
|
|
2350
|
+
*/
|
|
2351
|
+
_createdDate?: Date;
|
|
2352
|
+
/**
|
|
2353
|
+
* Date the participation was last updated.
|
|
2354
|
+
* @readonly
|
|
2355
|
+
*/
|
|
2356
|
+
_updatedDate?: Date;
|
|
2357
|
+
/** Extensions enabling applications or users to save custom data. */
|
|
2358
|
+
extendedFields?: ExtendedFields$2;
|
|
2359
|
+
}
|
|
2360
|
+
/** @oneof */
|
|
2361
|
+
interface ParticipationParticipatedItemOneOf {
|
|
2362
|
+
/** The ID of the schedule that the participant is participating in. */
|
|
2363
|
+
scheduleId?: string | null;
|
|
2364
|
+
/** The ID of the specific event that the participant is participating in. */
|
|
2365
|
+
eventId?: string | null;
|
|
2366
|
+
}
|
|
2367
|
+
interface Participant {
|
|
2368
|
+
/** The participant's name. */
|
|
2369
|
+
name?: string | null;
|
|
2370
|
+
/** The participant's phone. */
|
|
2371
|
+
phone?: string | null;
|
|
2372
|
+
/** The participant's email address. */
|
|
2373
|
+
email?: string | null;
|
|
2374
|
+
/** The ID of the Wix Contact. */
|
|
2375
|
+
contactId?: string | null;
|
|
2376
|
+
}
|
|
2377
|
+
declare enum Status$4 {
|
|
2378
|
+
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
2379
|
+
/** Participation is confirmed. */
|
|
2380
|
+
CONFIRMED = "CONFIRMED",
|
|
2381
|
+
/** Participation is pending confirmation. */
|
|
2382
|
+
PENDING_CONFIRMATION = "PENDING_CONFIRMATION"
|
|
2383
|
+
}
|
|
2384
|
+
interface ExtendedFields$2 {
|
|
2385
|
+
/**
|
|
2386
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
2387
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
2388
|
+
*
|
|
2389
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
2390
|
+
*
|
|
2391
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
2392
|
+
*/
|
|
2393
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
2394
|
+
}
|
|
2395
|
+
interface GetParticipationRequest {
|
|
2396
|
+
/** The participation ID. */
|
|
2397
|
+
participationId: string | null;
|
|
2398
|
+
}
|
|
2399
|
+
interface GetParticipationResponse {
|
|
2400
|
+
/** The participation. */
|
|
2401
|
+
participation?: Participation;
|
|
2402
|
+
}
|
|
2403
|
+
interface QueryParticipationsRequest {
|
|
2404
|
+
/** Query containing filters and paging. */
|
|
2405
|
+
query?: CursorQuery$2;
|
|
2406
|
+
}
|
|
2407
|
+
interface CursorQuery$2 extends CursorQueryPagingMethodOneOf$2 {
|
|
2408
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2409
|
+
cursorPaging?: CursorPaging$2;
|
|
2410
|
+
/**
|
|
2411
|
+
* Filter object in the following format:
|
|
2412
|
+
* `"filter" : {
|
|
2413
|
+
* "fieldName1": "value1",
|
|
2414
|
+
* "fieldName2":{"$operator":"value2"}
|
|
2415
|
+
* }`
|
|
2416
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2417
|
+
*/
|
|
2418
|
+
filter?: Record<string, any> | null;
|
|
2419
|
+
}
|
|
2420
|
+
/** @oneof */
|
|
2421
|
+
interface CursorQueryPagingMethodOneOf$2 {
|
|
2422
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2423
|
+
cursorPaging?: CursorPaging$2;
|
|
2424
|
+
}
|
|
2425
|
+
interface CursorPaging$2 {
|
|
2426
|
+
/** Number of participations to load. */
|
|
2427
|
+
limit?: number | null;
|
|
2428
|
+
/**
|
|
2429
|
+
* Pointer to the next or previous page in the list of results.
|
|
2430
|
+
*
|
|
2431
|
+
* You can get the relevant cursor token
|
|
2432
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
2433
|
+
* Not relevant for the first request.
|
|
2434
|
+
*/
|
|
2435
|
+
cursor?: string | null;
|
|
2436
|
+
}
|
|
2437
|
+
interface QueryParticipationsResponse {
|
|
2438
|
+
/** The participations matching the provided query. */
|
|
2439
|
+
participations?: Participation[];
|
|
2440
|
+
/** Paging metadata. */
|
|
2441
|
+
pagingMetadata?: CursorPagingMetadata$2;
|
|
2442
|
+
}
|
|
2443
|
+
interface CursorPagingMetadata$2 {
|
|
2444
|
+
/** Number of items returned in the response. */
|
|
2445
|
+
count?: number | null;
|
|
2446
|
+
/** Offset that was requested. */
|
|
2447
|
+
cursors?: Cursors$2;
|
|
2448
|
+
/**
|
|
2449
|
+
* Indicates if there are more results after the current page.
|
|
2450
|
+
* If `true`, another page of results can be retrieved.
|
|
2451
|
+
* If `false`, this is the last page.
|
|
2452
|
+
*/
|
|
2453
|
+
hasNext?: boolean | null;
|
|
2454
|
+
}
|
|
2455
|
+
interface Cursors$2 {
|
|
2456
|
+
/** Cursor pointing to next page in the list of results. */
|
|
2457
|
+
next?: string | null;
|
|
2458
|
+
/** Cursor pointing to previous page in the list of results. */
|
|
2459
|
+
prev?: string | null;
|
|
2460
|
+
}
|
|
2461
|
+
interface CreateParticipationRequest {
|
|
2462
|
+
/** The participation to create. */
|
|
2463
|
+
participation: Participation;
|
|
2464
|
+
/** Optional idempotency key to ensure that the participation is created only once, even if the same request is issued multiple times. */
|
|
2465
|
+
idempotencyKey?: string | null;
|
|
2466
|
+
}
|
|
2467
|
+
interface CreateParticipationResponse {
|
|
2468
|
+
/** The created participation. */
|
|
2469
|
+
participation?: Participation;
|
|
2470
|
+
}
|
|
2471
|
+
interface UpdateParticipationRequest {
|
|
2472
|
+
/** The participation to update. */
|
|
2473
|
+
participation: Participation;
|
|
2474
|
+
}
|
|
2475
|
+
interface UpdateParticipationResponse {
|
|
2476
|
+
/** The updated participation. */
|
|
2477
|
+
participation?: Participation;
|
|
2478
|
+
}
|
|
2479
|
+
interface DeleteParticipationRequest {
|
|
2480
|
+
/** The ID of participation to delete. */
|
|
2481
|
+
participationId: string | null;
|
|
2482
|
+
}
|
|
2483
|
+
interface DeleteParticipationResponse {
|
|
2484
|
+
}
|
|
2485
|
+
interface ParticipationNonNullableFields {
|
|
2486
|
+
status: Status$4;
|
|
2487
|
+
}
|
|
2488
|
+
interface GetParticipationResponseNonNullableFields {
|
|
2489
|
+
participation?: ParticipationNonNullableFields;
|
|
2490
|
+
}
|
|
2491
|
+
interface QueryParticipationsResponseNonNullableFields {
|
|
2492
|
+
participations: ParticipationNonNullableFields[];
|
|
2493
|
+
}
|
|
2494
|
+
interface CreateParticipationResponseNonNullableFields {
|
|
2495
|
+
participation?: ParticipationNonNullableFields;
|
|
2496
|
+
}
|
|
2497
|
+
interface UpdateParticipationResponseNonNullableFields {
|
|
2498
|
+
participation?: ParticipationNonNullableFields;
|
|
2499
|
+
}
|
|
2500
|
+
|
|
2501
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2502
|
+
getUrl: (context: any) => string;
|
|
2503
|
+
httpMethod: K;
|
|
2504
|
+
path: string;
|
|
2505
|
+
pathParams: M;
|
|
2506
|
+
__requestType: T;
|
|
2507
|
+
__originalRequestType: S;
|
|
2508
|
+
__responseType: Q;
|
|
2509
|
+
__originalResponseType: R;
|
|
2510
|
+
};
|
|
2511
|
+
declare function getParticipation(): __PublicMethodMetaInfo$2<'GET', {
|
|
2512
|
+
participationId: string;
|
|
2513
|
+
}, GetParticipationRequest, GetParticipationRequest$1, GetParticipationResponse & GetParticipationResponseNonNullableFields, GetParticipationResponse$1 & GetParticipationResponseNonNullableFields$1>;
|
|
2514
|
+
declare function queryParticipations(): __PublicMethodMetaInfo$2<'POST', {}, QueryParticipationsRequest, QueryParticipationsRequest$1, QueryParticipationsResponse & QueryParticipationsResponseNonNullableFields, QueryParticipationsResponse$1 & QueryParticipationsResponseNonNullableFields$1>;
|
|
2515
|
+
declare function createParticipation(): __PublicMethodMetaInfo$2<'POST', {}, CreateParticipationRequest, CreateParticipationRequest$1, CreateParticipationResponse & CreateParticipationResponseNonNullableFields, CreateParticipationResponse$1 & CreateParticipationResponseNonNullableFields$1>;
|
|
2516
|
+
declare function updateParticipation(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
2517
|
+
participationId: string;
|
|
2518
|
+
}, UpdateParticipationRequest, UpdateParticipationRequest$1, UpdateParticipationResponse & UpdateParticipationResponseNonNullableFields, UpdateParticipationResponse$1 & UpdateParticipationResponseNonNullableFields$1>;
|
|
2519
|
+
declare function deleteParticipation(): __PublicMethodMetaInfo$2<'DELETE', {
|
|
2520
|
+
participationId: string;
|
|
2521
|
+
}, DeleteParticipationRequest, DeleteParticipationRequest$1, DeleteParticipationResponse, DeleteParticipationResponse$1>;
|
|
2522
|
+
|
|
2523
|
+
declare const meta$2_createParticipation: typeof createParticipation;
|
|
2524
|
+
declare const meta$2_deleteParticipation: typeof deleteParticipation;
|
|
2525
|
+
declare const meta$2_getParticipation: typeof getParticipation;
|
|
2526
|
+
declare const meta$2_queryParticipations: typeof queryParticipations;
|
|
2527
|
+
declare const meta$2_updateParticipation: typeof updateParticipation;
|
|
2066
2528
|
declare namespace meta$2 {
|
|
2067
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$
|
|
2529
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_createParticipation as createParticipation, meta$2_deleteParticipation as deleteParticipation, meta$2_getParticipation as getParticipation, meta$2_queryParticipations as queryParticipations, meta$2_updateParticipation as updateParticipation };
|
|
2068
2530
|
}
|
|
2069
2531
|
|
|
2070
2532
|
interface Schedule$1 {
|
|
@@ -2371,16 +2833,6 @@ interface UpdateScheduleResponse$1 {
|
|
|
2371
2833
|
/** The updated schedule. */
|
|
2372
2834
|
schedule?: Schedule$1;
|
|
2373
2835
|
}
|
|
2374
|
-
interface CloneScheduleRequest$1 {
|
|
2375
|
-
/** The ID of the schedule to clone. */
|
|
2376
|
-
scheduleId: string | null;
|
|
2377
|
-
/** Optional values to override. */
|
|
2378
|
-
schedule?: Schedule$1;
|
|
2379
|
-
}
|
|
2380
|
-
interface CloneScheduleResponse$1 {
|
|
2381
|
-
/** The new cloned schedule. */
|
|
2382
|
-
schedule?: Schedule$1;
|
|
2383
|
-
}
|
|
2384
2836
|
interface CancelScheduleRequest$1 {
|
|
2385
2837
|
/** The ID of the schedule to cancel. */
|
|
2386
2838
|
scheduleId: string | null;
|
|
@@ -2428,9 +2880,6 @@ interface CreateScheduleResponseNonNullableFields$1 {
|
|
|
2428
2880
|
interface UpdateScheduleResponseNonNullableFields$1 {
|
|
2429
2881
|
schedule?: ScheduleNonNullableFields$1;
|
|
2430
2882
|
}
|
|
2431
|
-
interface CloneScheduleResponseNonNullableFields$1 {
|
|
2432
|
-
schedule?: ScheduleNonNullableFields$1;
|
|
2433
|
-
}
|
|
2434
2883
|
interface CancelScheduleResponseNonNullableFields$1 {
|
|
2435
2884
|
schedule?: ScheduleNonNullableFields$1;
|
|
2436
2885
|
}
|
|
@@ -2739,16 +3188,6 @@ interface UpdateScheduleResponse {
|
|
|
2739
3188
|
/** The updated schedule. */
|
|
2740
3189
|
schedule?: Schedule;
|
|
2741
3190
|
}
|
|
2742
|
-
interface CloneScheduleRequest {
|
|
2743
|
-
/** The ID of the schedule to clone. */
|
|
2744
|
-
scheduleId: string | null;
|
|
2745
|
-
/** Optional values to override. */
|
|
2746
|
-
schedule?: Schedule;
|
|
2747
|
-
}
|
|
2748
|
-
interface CloneScheduleResponse {
|
|
2749
|
-
/** The new cloned schedule. */
|
|
2750
|
-
schedule?: Schedule;
|
|
2751
|
-
}
|
|
2752
3191
|
interface CancelScheduleRequest {
|
|
2753
3192
|
/** The ID of the schedule to cancel. */
|
|
2754
3193
|
scheduleId: string | null;
|
|
@@ -2796,9 +3235,6 @@ interface CreateScheduleResponseNonNullableFields {
|
|
|
2796
3235
|
interface UpdateScheduleResponseNonNullableFields {
|
|
2797
3236
|
schedule?: ScheduleNonNullableFields;
|
|
2798
3237
|
}
|
|
2799
|
-
interface CloneScheduleResponseNonNullableFields {
|
|
2800
|
-
schedule?: ScheduleNonNullableFields;
|
|
2801
|
-
}
|
|
2802
3238
|
interface CancelScheduleResponseNonNullableFields {
|
|
2803
3239
|
schedule?: ScheduleNonNullableFields;
|
|
2804
3240
|
}
|
|
@@ -2821,21 +3257,17 @@ declare function createSchedule(): __PublicMethodMetaInfo$1<'POST', {}, CreateSc
|
|
|
2821
3257
|
declare function updateSchedule(): __PublicMethodMetaInfo$1<'PATCH', {
|
|
2822
3258
|
scheduleId: string;
|
|
2823
3259
|
}, UpdateScheduleRequest, UpdateScheduleRequest$1, UpdateScheduleResponse & UpdateScheduleResponseNonNullableFields, UpdateScheduleResponse$1 & UpdateScheduleResponseNonNullableFields$1>;
|
|
2824
|
-
declare function cloneSchedule(): __PublicMethodMetaInfo$1<'POST', {
|
|
2825
|
-
scheduleId: string;
|
|
2826
|
-
}, CloneScheduleRequest, CloneScheduleRequest$1, CloneScheduleResponse & CloneScheduleResponseNonNullableFields, CloneScheduleResponse$1 & CloneScheduleResponseNonNullableFields$1>;
|
|
2827
3260
|
declare function cancelSchedule(): __PublicMethodMetaInfo$1<'POST', {
|
|
2828
3261
|
scheduleId: string;
|
|
2829
3262
|
}, CancelScheduleRequest, CancelScheduleRequest$1, CancelScheduleResponse & CancelScheduleResponseNonNullableFields, CancelScheduleResponse$1 & CancelScheduleResponseNonNullableFields$1>;
|
|
2830
3263
|
|
|
2831
3264
|
declare const meta$1_cancelSchedule: typeof cancelSchedule;
|
|
2832
|
-
declare const meta$1_cloneSchedule: typeof cloneSchedule;
|
|
2833
3265
|
declare const meta$1_createSchedule: typeof createSchedule;
|
|
2834
3266
|
declare const meta$1_getSchedule: typeof getSchedule;
|
|
2835
3267
|
declare const meta$1_querySchedules: typeof querySchedules;
|
|
2836
3268
|
declare const meta$1_updateSchedule: typeof updateSchedule;
|
|
2837
3269
|
declare namespace meta$1 {
|
|
2838
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_cancelSchedule as cancelSchedule, meta$
|
|
3270
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_cancelSchedule as cancelSchedule, meta$1_createSchedule as createSchedule, meta$1_getSchedule as getSchedule, meta$1_querySchedules as querySchedules, meta$1_updateSchedule as updateSchedule };
|
|
2839
3271
|
}
|
|
2840
3272
|
|
|
2841
3273
|
interface ScheduleTimeFrame$1 {
|
|
@@ -3076,4 +3508,4 @@ declare namespace meta {
|
|
|
3076
3508
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_getScheduleTimeFrame as getScheduleTimeFrame, meta_listScheduleTimeFrames as listScheduleTimeFrames };
|
|
3077
3509
|
}
|
|
3078
3510
|
|
|
3079
|
-
export { meta$
|
|
3511
|
+
export { meta$3 as eventViews, meta$4 as events, meta$2 as participations, meta as scheduleTimeFrames, meta$1 as schedules };
|