@wix/events 1.0.6 → 1.0.8
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 +1 -1
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.http.d.ts +4 -1
- package/build/cjs/src/events-guests-v1-guest.http.js +26 -28
- package/build/cjs/src/events-guests-v1-guest.http.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.public.d.ts +2 -2
- package/build/cjs/src/events-guests-v1-guest.public.js +3 -2
- package/build/cjs/src/events-guests-v1-guest.public.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.types.d.ts +120 -100
- package/build/cjs/src/events-guests-v1-guest.types.js +24 -15
- package/build/cjs/src/events-guests-v1-guest.types.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.universal.d.ts +122 -101
- package/build/cjs/src/events-guests-v1-guest.universal.js +46 -21
- package/build/cjs/src/events-guests-v1-guest.universal.js.map +1 -1
- package/build/cjs/src/events-v2-policy.universal.js +42 -18
- package/build/cjs/src/events-v2-policy.universal.js.map +1 -1
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/index.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.http.d.ts +4 -1
- package/build/es/src/events-guests-v1-guest.http.js +26 -28
- package/build/es/src/events-guests-v1-guest.http.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.public.d.ts +2 -2
- package/build/es/src/events-guests-v1-guest.public.js +1 -1
- package/build/es/src/events-guests-v1-guest.public.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.types.d.ts +120 -100
- package/build/es/src/events-guests-v1-guest.types.js +23 -14
- package/build/es/src/events-guests-v1-guest.types.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.universal.d.ts +122 -101
- package/build/es/src/events-guests-v1-guest.universal.js +45 -20
- package/build/es/src/events-guests-v1-guest.universal.js.map +1 -1
- package/build/es/src/events-v2-policy.universal.js +42 -18
- package/build/es/src/events-v2-policy.universal.js.map +1 -1
- package/package.json +6 -6
package/build/cjs/index.d.ts
CHANGED
package/build/cjs/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.
|
|
23
|
-
exports.guests = __importStar(require("./src/events-guests-v1-guest.public"));
|
|
22
|
+
exports.guests = exports.policy = void 0;
|
|
24
23
|
exports.policy = __importStar(require("./src/events-v2-policy.public"));
|
|
24
|
+
exports.guests = __importStar(require("./src/events-guests-v1-guest.public"));
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,wEAAwD;AACxD,8EAA8D"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
2
|
import { QueryEventGuestsRequest, QueryEventGuestsResponse } from './events-guests-v1-guest.types';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Query to select guests.
|
|
5
|
+
* Supports efficient filtering by `createdDate`, `eventId`, `attendanceStatus`, `secondaryLanguageCode`, `rsvpId`, `orderNumber`, `ticketNumber`, `memberId` or `guestDetails.checkedIn`
|
|
6
|
+
*/
|
|
4
7
|
export declare function queryEventGuests(payload: QueryEventGuestsRequest): RequestOptionsFactory<QueryEventGuestsResponse>;
|
|
@@ -3,47 +3,45 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.queryEventGuests = void 0;
|
|
4
4
|
const ambassador_1 = require("@wix/metro-runtime/ambassador");
|
|
5
5
|
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
6
|
+
const _address = { geocode: '_addressLocation' };
|
|
7
|
+
const _addressLocation = {
|
|
8
|
+
latitude: 'google.protobuf.DoubleValue',
|
|
9
|
+
longitude: 'google.protobuf.DoubleValue',
|
|
10
|
+
};
|
|
6
11
|
const _eventGuest = {
|
|
7
12
|
createdDate: 'google.protobuf.Timestamp',
|
|
8
13
|
updatedDate: 'google.protobuf.Timestamp',
|
|
9
|
-
|
|
14
|
+
attendanceStatusUpdatedDate: 'google.protobuf.Timestamp',
|
|
15
|
+
guestDetails: '_guestDetails',
|
|
16
|
+
};
|
|
17
|
+
const _formattedAddress = { address: '_address' };
|
|
18
|
+
const _formResponse = { inputValues: '_inputValue' };
|
|
19
|
+
const _guestDetails = { formResponse: '_formResponse' };
|
|
20
|
+
const _inputValue = {
|
|
21
|
+
number: 'google.protobuf.DoubleValue',
|
|
22
|
+
dateTime: 'google.protobuf.Timestamp',
|
|
23
|
+
address: '_formattedAddress',
|
|
10
24
|
};
|
|
11
25
|
const _queryEventGuestsRequest = {};
|
|
12
26
|
const _queryEventGuestsResponse = { guests: '_eventGuest' };
|
|
13
27
|
function resolveWixEventsGuestsV1EventGuestsServiceUrl(opts) {
|
|
14
|
-
const domainToMappings = {
|
|
15
|
-
_: [
|
|
16
|
-
{
|
|
17
|
-
srcPath: '/_api/events-guests',
|
|
18
|
-
destPath: '',
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
'manage._base_domain_': [
|
|
22
|
-
{
|
|
23
|
-
srcPath: '/_api/events-guests',
|
|
24
|
-
destPath: '',
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
'api._api_base_domain_': [
|
|
28
|
-
{
|
|
29
|
-
srcPath: '/events-guests',
|
|
30
|
-
destPath: '',
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
'www.wixapis.com': [
|
|
34
|
-
{
|
|
35
|
-
srcPath: '/events-guests',
|
|
36
|
-
destPath: '',
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
};
|
|
28
|
+
const domainToMappings = {};
|
|
40
29
|
return metro_runtime_1.resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
41
30
|
}
|
|
42
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Query to select guests.
|
|
33
|
+
* Supports efficient filtering by `createdDate`, `eventId`, `attendanceStatus`, `secondaryLanguageCode`, `rsvpId`, `orderNumber`, `ticketNumber`, `memberId` or `guestDetails.checkedIn`
|
|
34
|
+
*/
|
|
43
35
|
function queryEventGuests(payload) {
|
|
44
36
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_queryEventGuestsRequest, {});
|
|
45
37
|
const { fromJSON: fromRes } = ambassador_1.serializer(_queryEventGuestsResponse, {
|
|
38
|
+
_address,
|
|
39
|
+
_addressLocation,
|
|
46
40
|
_eventGuest,
|
|
41
|
+
_formResponse,
|
|
42
|
+
_formattedAddress,
|
|
43
|
+
_guestDetails,
|
|
44
|
+
_inputValue,
|
|
47
45
|
});
|
|
48
46
|
function __queryEventGuests({ host }) {
|
|
49
47
|
const serializedData = toReq(payload);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events-guests-v1-guest.http.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,MAAM,WAAW,GAAG;IAClB,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest.http.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,WAAW,GAAG;IAClB,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,2BAA2B,EAAE,2BAA2B;IACxD,YAAY,EAAE,eAAe;CAC9B,CAAC;AACF,MAAM,iBAAiB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAClD,MAAM,aAAa,GAAG,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;AACrD,MAAM,aAAa,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AACxD,MAAM,WAAW,GAAG;IAClB,MAAM,EAAE,6BAA6B;IACrC,QAAQ,EAAE,2BAA2B;IACrC,OAAO,EAAE,mBAAmB;CAC7B,CAAC;AACF,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,yBAAyB,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC;AAE5D,SAAS,6CAA6C,CACpD,IAA8C;IAE9C,MAAM,gBAAgB,GAAG,EAAE,CAAC;IAE5B,OAAO,0BAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED;;;GAGG;AACH,SAAgB,gBAAgB,CAC9B,OAAgC;IAEhC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CACrD,wBAAwB,EACxB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CAAC,yBAAyB,EAAE;QAClE,QAAQ;QACR,gBAAgB;QAChB,WAAW;QACX,aAAa;QACb,iBAAiB;QACjB,aAAa;QACb,WAAW;KACZ,CAAC,CAAC;IAEH,SAAS,kBAAkB,CAAC,EAAE,IAAI,EAAO;QACvC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,MAAa;YACrB,GAAG,EAAE,6CAA6C,CAAC;gBACjD,SAAS,EAAE,kBAAkB;gBAC7B,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,kBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;IAErC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AApCD,4CAoCC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
2
|
import { QueryV2 } from './events-guests-v1-guest.universal';
|
|
3
3
|
export declare function queryEventGuests(httpClient: HttpClient): (query: QueryV2) => Promise<import("./events-guests-v1-guest.universal").QueryEventGuestsResponse>;
|
|
4
|
-
export { AttendanceStatus,
|
|
5
|
-
export { EventGuest,
|
|
4
|
+
export { SubdivisionType, AttendanceStatus, GuestSource, SortOrder, RsvpStatus, OrderStatus, OrderType, } from './events-guests-v1-guest.universal';
|
|
5
|
+
export { EventGuest, GuestDetails, FormResponse, InputValue, FormattedAddress, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, QueryEventGuestsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryEventGuestsResponse, PagingMetadataV2, Cursors, SecondaryLanguagesRequest, SecondaryLanguagesResponse, RsvpCreated, Guest, CheckIn, Empty, RsvpUpdated, RsvpDeleted, OrderUpdated, Ticket, Money, OrderDeleted, Task, TaskKey, } from './events-guests-v1-guest.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrderType = exports.OrderStatus = exports.RsvpStatus = exports.
|
|
3
|
+
exports.OrderType = exports.OrderStatus = exports.RsvpStatus = exports.SortOrder = exports.GuestSource = exports.AttendanceStatus = exports.SubdivisionType = exports.queryEventGuests = void 0;
|
|
4
4
|
const events_guests_v1_guest_universal_1 = require("./events-guests-v1-guest.universal");
|
|
5
5
|
function queryEventGuests(httpClient) {
|
|
6
6
|
return (query) => events_guests_v1_guest_universal_1.queryEventGuests(query,
|
|
@@ -9,9 +9,10 @@ function queryEventGuests(httpClient) {
|
|
|
9
9
|
}
|
|
10
10
|
exports.queryEventGuests = queryEventGuests;
|
|
11
11
|
var events_guests_v1_guest_universal_2 = require("./events-guests-v1-guest.universal");
|
|
12
|
+
Object.defineProperty(exports, "SubdivisionType", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.SubdivisionType; } });
|
|
12
13
|
Object.defineProperty(exports, "AttendanceStatus", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.AttendanceStatus; } });
|
|
14
|
+
Object.defineProperty(exports, "GuestSource", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.GuestSource; } });
|
|
13
15
|
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.SortOrder; } });
|
|
14
|
-
Object.defineProperty(exports, "SubdivisionType", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.SubdivisionType; } });
|
|
15
16
|
Object.defineProperty(exports, "RsvpStatus", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.RsvpStatus; } });
|
|
16
17
|
Object.defineProperty(exports, "OrderStatus", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.OrderStatus; } });
|
|
17
18
|
Object.defineProperty(exports, "OrderType", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.OrderType; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events-guests-v1-guest.public.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.public.ts"],"names":[],"mappings":";;;AACA,yFAG4C;AAE5C,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,KAAc,EAAE,EAAE,CACxB,mDAAyB,CACvB,KAAK;IACL,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4CAOC;AAED,
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest.public.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.public.ts"],"names":[],"mappings":";;;AACA,yFAG4C;AAE5C,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,KAAc,EAAE,EAAE,CACxB,mDAAyB,CACvB,KAAK;IACL,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4CAOC;AAED,uFAQ4C;AAP1C,mIAAA,eAAe,OAAA;AACf,oIAAA,gBAAgB,OAAA;AAChB,+HAAA,WAAW,OAAA;AACX,6HAAA,SAAS,OAAA;AACT,8HAAA,UAAU,OAAA;AACV,+HAAA,WAAW,OAAA;AACX,6HAAA,SAAS,OAAA"}
|
|
@@ -1,42 +1,137 @@
|
|
|
1
1
|
export interface EventGuest {
|
|
2
|
-
/**
|
|
2
|
+
/** Guest id. */
|
|
3
3
|
id?: string | null;
|
|
4
4
|
/** Event id. */
|
|
5
5
|
eventId?: string | null;
|
|
6
|
-
/** Rsvp id. */
|
|
6
|
+
/** Rsvp id. Available only when Guest type is RSVP. */
|
|
7
7
|
rsvpId?: string | null;
|
|
8
|
-
/** Order number. */
|
|
8
|
+
/** Order number. Available only when Guest type is ORDER or TICKET. */
|
|
9
9
|
orderNumber?: string | null;
|
|
10
|
-
/** Ticket number. */
|
|
10
|
+
/** Ticket number. Available only when Guest type is ORDER or TICKET. */
|
|
11
11
|
ticketNumber?: string | null;
|
|
12
|
-
/**
|
|
12
|
+
/** List of bought tickets. */
|
|
13
13
|
tickets?: string[];
|
|
14
|
-
/**
|
|
14
|
+
/** CRM contact ID for the person who is a guest. */
|
|
15
15
|
contactId?: string | null;
|
|
16
|
+
/** Guest details. */
|
|
17
|
+
guestDetails?: GuestDetails;
|
|
18
|
+
/** Attendance status */
|
|
19
|
+
attendanceStatus?: AttendanceStatus;
|
|
20
|
+
/** Secondary language code. */
|
|
21
|
+
secondaryLanguageCode?: string | null;
|
|
22
|
+
/** Date and time when the guest was created. */
|
|
23
|
+
createdDate?: Date;
|
|
24
|
+
/** Date and time when the guest was updated. */
|
|
25
|
+
updatedDate?: Date;
|
|
26
|
+
/** The last date and time when the guest attendance status was updated. */
|
|
27
|
+
attendanceStatusUpdatedDate?: Date;
|
|
28
|
+
/** Site member id. */
|
|
29
|
+
memberId?: string | null;
|
|
30
|
+
/** Guest source. */
|
|
31
|
+
guestSource?: GuestSource;
|
|
32
|
+
}
|
|
33
|
+
export interface GuestDetails {
|
|
16
34
|
/** Email. */
|
|
17
35
|
email?: string | null;
|
|
18
36
|
/** First name. */
|
|
19
37
|
firstName?: string | null;
|
|
20
38
|
/** Last name. */
|
|
21
39
|
lastName?: string | null;
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
40
|
+
/** Form response. */
|
|
41
|
+
formResponse?: FormResponse;
|
|
42
|
+
/** Indicates if guests is checked in. */
|
|
43
|
+
checkedIn?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface FormResponse {
|
|
46
|
+
/** Input values entered upon ticket order. */
|
|
47
|
+
inputValues?: InputValue[];
|
|
48
|
+
}
|
|
49
|
+
export interface InputValue {
|
|
50
|
+
/** Unique input name. */
|
|
51
|
+
inputName?: string;
|
|
52
|
+
/** Text value representation. */
|
|
53
|
+
value?: string;
|
|
54
|
+
/** Text value vector. */
|
|
55
|
+
values?: string[];
|
|
56
|
+
}
|
|
57
|
+
export interface FormattedAddress {
|
|
58
|
+
/** One line address representation. */
|
|
59
|
+
formatted?: string;
|
|
60
|
+
/** Address components (optional). */
|
|
61
|
+
address?: Address;
|
|
62
|
+
}
|
|
63
|
+
/** Physical address */
|
|
64
|
+
export interface Address extends AddressStreetOneOf {
|
|
65
|
+
/** Country code. */
|
|
66
|
+
country?: string | null;
|
|
67
|
+
/** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
68
|
+
subdivision?: string | null;
|
|
69
|
+
/** City name. */
|
|
70
|
+
city?: string | null;
|
|
71
|
+
/** Zip/postal code. */
|
|
72
|
+
postalCode?: string | null;
|
|
73
|
+
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
74
|
+
addressLine2?: string | null;
|
|
75
|
+
/** Street name and number. */
|
|
76
|
+
streetAddress?: StreetAddress;
|
|
77
|
+
/** Main address line, usually street and number as free text. */
|
|
78
|
+
addressLine?: string | null;
|
|
79
|
+
}
|
|
80
|
+
/** @oneof */
|
|
81
|
+
export interface AddressStreetOneOf {
|
|
82
|
+
/** Street name and number. */
|
|
83
|
+
streetAddress?: StreetAddress;
|
|
84
|
+
/** Main address line, usually street and number as free text. */
|
|
85
|
+
addressLine?: string | null;
|
|
86
|
+
}
|
|
87
|
+
export interface StreetAddress {
|
|
88
|
+
/** Street number. */
|
|
89
|
+
number?: string;
|
|
90
|
+
/** Street name. */
|
|
91
|
+
name?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface AddressLocation {
|
|
94
|
+
/** Address latitude. */
|
|
95
|
+
latitude?: number | null;
|
|
96
|
+
/** Address longitude. */
|
|
97
|
+
longitude?: number | null;
|
|
98
|
+
}
|
|
99
|
+
export interface Subdivision {
|
|
100
|
+
/** Short subdivision code. */
|
|
101
|
+
code?: string;
|
|
102
|
+
/** Subdivision full name. */
|
|
103
|
+
name?: string;
|
|
104
|
+
}
|
|
105
|
+
export declare enum SubdivisionType {
|
|
106
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
107
|
+
/** State */
|
|
108
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
109
|
+
/** County */
|
|
110
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
111
|
+
/** City/town */
|
|
112
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
113
|
+
/** Neighborhood/quarter */
|
|
114
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
115
|
+
/** Street/block */
|
|
116
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
117
|
+
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
118
|
+
COUNTRY = "COUNTRY"
|
|
32
119
|
}
|
|
33
120
|
export declare enum AttendanceStatus {
|
|
34
|
-
/**
|
|
121
|
+
/** Not attending. */
|
|
35
122
|
NOT_ATTENDING = "NOT_ATTENDING",
|
|
36
|
-
/**
|
|
123
|
+
/** Attending. */
|
|
37
124
|
ATTENDING = "ATTENDING",
|
|
38
|
-
/**
|
|
39
|
-
|
|
125
|
+
/** In a waiting list. */
|
|
126
|
+
IN_WAITLIST = "IN_WAITLIST"
|
|
127
|
+
}
|
|
128
|
+
export declare enum GuestSource {
|
|
129
|
+
/** Rsvp guest. */
|
|
130
|
+
RSVP = "RSVP",
|
|
131
|
+
/** Order source. */
|
|
132
|
+
ORDER = "ORDER",
|
|
133
|
+
/** Ticket source. */
|
|
134
|
+
TICKET = "TICKET"
|
|
40
135
|
}
|
|
41
136
|
export interface QueryEventGuestsRequest {
|
|
42
137
|
/** WQL expression */
|
|
@@ -102,10 +197,10 @@ export interface CursorPaging {
|
|
|
102
197
|
cursor?: string | null;
|
|
103
198
|
}
|
|
104
199
|
export interface QueryEventGuestsResponse {
|
|
105
|
-
/**
|
|
200
|
+
/** List of guests. */
|
|
106
201
|
guests?: EventGuest[];
|
|
107
|
-
/**
|
|
108
|
-
|
|
202
|
+
/** Metadata for the paginated results. */
|
|
203
|
+
pagingMetadata?: PagingMetadataV2;
|
|
109
204
|
}
|
|
110
205
|
export interface PagingMetadataV2 {
|
|
111
206
|
/** Number of items returned in the response. */
|
|
@@ -126,11 +221,11 @@ export interface Cursors {
|
|
|
126
221
|
prev?: string | null;
|
|
127
222
|
}
|
|
128
223
|
export interface SecondaryLanguagesRequest {
|
|
129
|
-
/**
|
|
224
|
+
/** Guest event id. */
|
|
130
225
|
eventId?: string;
|
|
131
226
|
}
|
|
132
227
|
export interface SecondaryLanguagesResponse {
|
|
133
|
-
/** Aggregated
|
|
228
|
+
/** Aggregated guests languages. */
|
|
134
229
|
secondaryLanguages?: string[];
|
|
135
230
|
}
|
|
136
231
|
export interface RsvpCreated {
|
|
@@ -161,81 +256,6 @@ export interface RsvpCreated {
|
|
|
161
256
|
/** List of all guests. */
|
|
162
257
|
guests?: Guest[];
|
|
163
258
|
}
|
|
164
|
-
export interface FormResponse {
|
|
165
|
-
/** Input values entered upon ticket order. */
|
|
166
|
-
inputValues?: InputValue[];
|
|
167
|
-
}
|
|
168
|
-
export interface InputValue {
|
|
169
|
-
/** Unique input name. */
|
|
170
|
-
inputName?: string;
|
|
171
|
-
/** Text value representation. */
|
|
172
|
-
value?: string;
|
|
173
|
-
/** Text value vector. */
|
|
174
|
-
values?: string[];
|
|
175
|
-
}
|
|
176
|
-
export interface FormattedAddress {
|
|
177
|
-
/** One line address representation. */
|
|
178
|
-
formatted?: string;
|
|
179
|
-
/** Address components (optional). */
|
|
180
|
-
address?: Address;
|
|
181
|
-
}
|
|
182
|
-
/** Physical address */
|
|
183
|
-
export interface Address extends AddressStreetOneOf {
|
|
184
|
-
/** Country code. */
|
|
185
|
-
country?: string | null;
|
|
186
|
-
/** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
187
|
-
subdivision?: string | null;
|
|
188
|
-
/** City name. */
|
|
189
|
-
city?: string | null;
|
|
190
|
-
/** Zip/postal code. */
|
|
191
|
-
postalCode?: string | null;
|
|
192
|
-
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
193
|
-
addressLine2?: string | null;
|
|
194
|
-
/** Street name and number. */
|
|
195
|
-
streetAddress?: StreetAddress;
|
|
196
|
-
/** Main address line, usually street and number as free text. */
|
|
197
|
-
addressLine?: string | null;
|
|
198
|
-
}
|
|
199
|
-
/** @oneof */
|
|
200
|
-
export interface AddressStreetOneOf {
|
|
201
|
-
/** Street name and number. */
|
|
202
|
-
streetAddress?: StreetAddress;
|
|
203
|
-
/** Main address line, usually street and number as free text. */
|
|
204
|
-
addressLine?: string | null;
|
|
205
|
-
}
|
|
206
|
-
export interface StreetAddress {
|
|
207
|
-
/** Street number. */
|
|
208
|
-
number?: string;
|
|
209
|
-
/** Street name. */
|
|
210
|
-
name?: string;
|
|
211
|
-
}
|
|
212
|
-
export interface AddressLocation {
|
|
213
|
-
/** Address latitude. */
|
|
214
|
-
latitude?: number | null;
|
|
215
|
-
/** Address longitude. */
|
|
216
|
-
longitude?: number | null;
|
|
217
|
-
}
|
|
218
|
-
export interface Subdivision {
|
|
219
|
-
/** Short subdivision code. */
|
|
220
|
-
code?: string;
|
|
221
|
-
/** Subdivision full name. */
|
|
222
|
-
name?: string;
|
|
223
|
-
}
|
|
224
|
-
export declare enum SubdivisionType {
|
|
225
|
-
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
226
|
-
/** State */
|
|
227
|
-
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
228
|
-
/** County */
|
|
229
|
-
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
230
|
-
/** City/town */
|
|
231
|
-
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
232
|
-
/** Neighborhood/quarter */
|
|
233
|
-
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
234
|
-
/** Street/block */
|
|
235
|
-
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
236
|
-
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
237
|
-
COUNTRY = "COUNTRY"
|
|
238
|
-
}
|
|
239
259
|
export declare enum RsvpStatus {
|
|
240
260
|
YES = "YES",
|
|
241
261
|
NO = "NO",
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrderType = exports.OrderStatus = exports.RsvpStatus = exports.
|
|
4
|
-
var AttendanceStatus;
|
|
5
|
-
(function (AttendanceStatus) {
|
|
6
|
-
/** 24 hours prior */
|
|
7
|
-
AttendanceStatus["NOT_ATTENDING"] = "NOT_ATTENDING";
|
|
8
|
-
/** Notification is sent instantly */
|
|
9
|
-
AttendanceStatus["ATTENDING"] = "ATTENDING";
|
|
10
|
-
/** 3 days prior */
|
|
11
|
-
AttendanceStatus["WAITING"] = "WAITING";
|
|
12
|
-
})(AttendanceStatus = exports.AttendanceStatus || (exports.AttendanceStatus = {}));
|
|
13
|
-
var SortOrder;
|
|
14
|
-
(function (SortOrder) {
|
|
15
|
-
SortOrder["ASC"] = "ASC";
|
|
16
|
-
SortOrder["DESC"] = "DESC";
|
|
17
|
-
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
3
|
+
exports.OrderType = exports.OrderStatus = exports.RsvpStatus = exports.SortOrder = exports.GuestSource = exports.AttendanceStatus = exports.SubdivisionType = void 0;
|
|
18
4
|
var SubdivisionType;
|
|
19
5
|
(function (SubdivisionType) {
|
|
20
6
|
SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
@@ -31,6 +17,29 @@ var SubdivisionType;
|
|
|
31
17
|
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
32
18
|
SubdivisionType["COUNTRY"] = "COUNTRY";
|
|
33
19
|
})(SubdivisionType = exports.SubdivisionType || (exports.SubdivisionType = {}));
|
|
20
|
+
var AttendanceStatus;
|
|
21
|
+
(function (AttendanceStatus) {
|
|
22
|
+
/** Not attending. */
|
|
23
|
+
AttendanceStatus["NOT_ATTENDING"] = "NOT_ATTENDING";
|
|
24
|
+
/** Attending. */
|
|
25
|
+
AttendanceStatus["ATTENDING"] = "ATTENDING";
|
|
26
|
+
/** In a waiting list. */
|
|
27
|
+
AttendanceStatus["IN_WAITLIST"] = "IN_WAITLIST";
|
|
28
|
+
})(AttendanceStatus = exports.AttendanceStatus || (exports.AttendanceStatus = {}));
|
|
29
|
+
var GuestSource;
|
|
30
|
+
(function (GuestSource) {
|
|
31
|
+
/** Rsvp guest. */
|
|
32
|
+
GuestSource["RSVP"] = "RSVP";
|
|
33
|
+
/** Order source. */
|
|
34
|
+
GuestSource["ORDER"] = "ORDER";
|
|
35
|
+
/** Ticket source. */
|
|
36
|
+
GuestSource["TICKET"] = "TICKET";
|
|
37
|
+
})(GuestSource = exports.GuestSource || (exports.GuestSource = {}));
|
|
38
|
+
var SortOrder;
|
|
39
|
+
(function (SortOrder) {
|
|
40
|
+
SortOrder["ASC"] = "ASC";
|
|
41
|
+
SortOrder["DESC"] = "DESC";
|
|
42
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
34
43
|
var RsvpStatus;
|
|
35
44
|
(function (RsvpStatus) {
|
|
36
45
|
RsvpStatus["YES"] = "YES";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events-guests-v1-guest.types.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest.types.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.types.ts"],"names":[],"mappings":";;;AAkHA,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc1B;AAED,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,qBAAqB;IACrB,mDAA+B,CAAA;IAC/B,iBAAiB;IACjB,2CAAuB,CAAA;IACvB,yBAAyB;IACzB,+CAA2B,CAAA;AAC7B,CAAC,EAPW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAO3B;AAED,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,kBAAkB;IAClB,4BAAa,CAAA;IACb,oBAAoB;IACpB,8BAAe,CAAA;IACf,qBAAqB;IACrB,gCAAiB,CAAA;AACnB,CAAC,EAPW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAOtB;AA+CD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAwFD,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,uBAAS,CAAA;IACT,iCAAmB,CAAA;AACrB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAwGD,IAAY,WAiBX;AAjBD,WAAY,WAAW;IACrB,2DAA2D;IAC3D,kDAAmC,CAAA;IACnC,8CAA8C;IAC9C,4BAAa,CAAA;IACb,2FAA2F;IAC3F,kCAAmB,CAAA;IACnB,qCAAqC;IACrC,4BAAa,CAAA;IACb,iGAAiG;IACjG,kDAAmC,CAAA;IACnC,+CAA+C;IAC/C,sCAAuB,CAAA;IACvB,yBAAyB;IACzB,oCAAqB,CAAA;IACrB,iCAAiC;IACjC,oCAAqB,CAAA;AACvB,CAAC,EAjBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAiBtB;AA6DD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,yCAAyC;IACzC,sDAAyC,CAAA;IACzC,yCAAyC;IACzC,kDAAqC,CAAA;AACvC,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB"}
|