@51eat/sdk 0.0.34 → 0.0.35
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/Client.js +9 -4
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +57 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +226 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/events/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/index.js +3 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/events/client/Client.mjs +5 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +57 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +189 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -1
- package/reference.md +205 -0
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.0.
|
|
47
|
-
"User-Agent": "@51eat/sdk/0.0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.0.35",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.35",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
|
|
|
2
2
|
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
|
|
3
3
|
import * as core from "../../../../../../core/index.js";
|
|
4
4
|
import * as FiveOneEat from "../../../../../index.js";
|
|
5
|
+
import { CheckInClient } from "../resources/checkIn/client/Client.js";
|
|
5
6
|
import { OrdersClient } from "../resources/orders/client/Client.js";
|
|
6
7
|
import { TicketTypesClient } from "../resources/ticketTypes/client/Client.js";
|
|
7
8
|
export declare namespace EventsClient {
|
|
@@ -13,9 +14,11 @@ export declare class EventsClient {
|
|
|
13
14
|
protected readonly _options: NormalizedClientOptionsWithAuth<EventsClient.Options>;
|
|
14
15
|
protected _ticketTypes: TicketTypesClient | undefined;
|
|
15
16
|
protected _orders: OrdersClient | undefined;
|
|
17
|
+
protected _checkIn: CheckInClient | undefined;
|
|
16
18
|
constructor(options?: EventsClient.Options);
|
|
17
19
|
get ticketTypes(): TicketTypesClient;
|
|
18
20
|
get orders(): OrdersClient;
|
|
21
|
+
get checkIn(): CheckInClient;
|
|
19
22
|
/**
|
|
20
23
|
* Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
|
|
21
24
|
*
|
|
@@ -62,19 +62,24 @@ const environments = __importStar(require("../../../../../../environments.js"));
|
|
|
62
62
|
const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
|
|
63
63
|
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
64
64
|
const FiveOneEat = __importStar(require("../../../../../index.js"));
|
|
65
|
-
const Client_js_1 = require("../resources/
|
|
66
|
-
const Client_js_2 = require("../resources/
|
|
65
|
+
const Client_js_1 = require("../resources/checkIn/client/Client.js");
|
|
66
|
+
const Client_js_2 = require("../resources/orders/client/Client.js");
|
|
67
|
+
const Client_js_3 = require("../resources/ticketTypes/client/Client.js");
|
|
67
68
|
class EventsClient {
|
|
68
69
|
constructor(options = {}) {
|
|
69
70
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
70
71
|
}
|
|
71
72
|
get ticketTypes() {
|
|
72
73
|
var _a;
|
|
73
|
-
return ((_a = this._ticketTypes) !== null && _a !== void 0 ? _a : (this._ticketTypes = new
|
|
74
|
+
return ((_a = this._ticketTypes) !== null && _a !== void 0 ? _a : (this._ticketTypes = new Client_js_3.TicketTypesClient(this._options)));
|
|
74
75
|
}
|
|
75
76
|
get orders() {
|
|
76
77
|
var _a;
|
|
77
|
-
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new
|
|
78
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_2.OrdersClient(this._options)));
|
|
79
|
+
}
|
|
80
|
+
get checkIn() {
|
|
81
|
+
var _a;
|
|
82
|
+
return ((_a = this._checkIn) !== null && _a !== void 0 ? _a : (this._checkIn = new Client_js_1.CheckInClient(this._options)));
|
|
78
83
|
}
|
|
79
84
|
/**
|
|
80
85
|
* Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../../../../../core/index.js";
|
|
4
|
+
import type * as FiveOneEat from "../../../../../../../index.js";
|
|
5
|
+
export declare namespace CheckInClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CheckInClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CheckInClient.Options>;
|
|
12
|
+
constructor(options?: CheckInClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {FiveOneEat.business.events.LookupCheckInRequest} request
|
|
15
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* await client.business.events.checkIn.lookup({
|
|
19
|
+
* event: "event"
|
|
20
|
+
* })
|
|
21
|
+
*/
|
|
22
|
+
lookup(request: FiveOneEat.business.events.LookupCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
23
|
+
private __lookup;
|
|
24
|
+
/**
|
|
25
|
+
* @param {FiveOneEat.business.events.ScanCheckInRequest} request
|
|
26
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* await client.business.events.checkIn.scan({
|
|
30
|
+
* event: "event"
|
|
31
|
+
* })
|
|
32
|
+
*/
|
|
33
|
+
scan(request: FiveOneEat.business.events.ScanCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
34
|
+
private __scan;
|
|
35
|
+
/**
|
|
36
|
+
* @param {FiveOneEat.business.events.StatsCheckInRequest} request
|
|
37
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.business.events.checkIn.stats({
|
|
41
|
+
* event: "event"
|
|
42
|
+
* })
|
|
43
|
+
*/
|
|
44
|
+
stats(request: FiveOneEat.business.events.StatsCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
45
|
+
private __stats;
|
|
46
|
+
/**
|
|
47
|
+
* @param {FiveOneEat.business.events.RecentCheckInRequest} request
|
|
48
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* await client.business.events.checkIn.recent({
|
|
52
|
+
* event: "event"
|
|
53
|
+
* })
|
|
54
|
+
*/
|
|
55
|
+
recent(request: FiveOneEat.business.events.RecentCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
56
|
+
private __recent;
|
|
57
|
+
}
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.CheckInClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../../../../../core/index.js"));
|
|
50
|
+
const environments = __importStar(require("../../../../../../../../environments.js"));
|
|
51
|
+
const handleNonStatusCodeError_js_1 = require("../../../../../../../../errors/handleNonStatusCodeError.js");
|
|
52
|
+
const errors = __importStar(require("../../../../../../../../errors/index.js"));
|
|
53
|
+
class CheckInClient {
|
|
54
|
+
constructor(options = {}) {
|
|
55
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @param {FiveOneEat.business.events.LookupCheckInRequest} request
|
|
59
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* await client.business.events.checkIn.lookup({
|
|
63
|
+
* event: "event"
|
|
64
|
+
* })
|
|
65
|
+
*/
|
|
66
|
+
lookup(request, requestOptions) {
|
|
67
|
+
return core.HttpResponsePromise.fromPromise(this.__lookup(request, requestOptions));
|
|
68
|
+
}
|
|
69
|
+
__lookup(request, requestOptions) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
72
|
+
const { event } = request;
|
|
73
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
74
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
75
|
+
const _response = yield core.fetcher({
|
|
76
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `business/events/${core.url.encodePathParam(event)}/check-in/lookup`),
|
|
77
|
+
method: "POST",
|
|
78
|
+
headers: _headers,
|
|
79
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
80
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
81
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
82
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
83
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
84
|
+
logging: this._options.logging,
|
|
85
|
+
});
|
|
86
|
+
if (_response.ok) {
|
|
87
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
88
|
+
}
|
|
89
|
+
if (_response.error.reason === "status-code") {
|
|
90
|
+
throw new errors.FiveOneEatError({
|
|
91
|
+
statusCode: _response.error.statusCode,
|
|
92
|
+
body: _response.error.body,
|
|
93
|
+
rawResponse: _response.rawResponse,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/events/{event}/check-in/lookup");
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @param {FiveOneEat.business.events.ScanCheckInRequest} request
|
|
101
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* await client.business.events.checkIn.scan({
|
|
105
|
+
* event: "event"
|
|
106
|
+
* })
|
|
107
|
+
*/
|
|
108
|
+
scan(request, requestOptions) {
|
|
109
|
+
return core.HttpResponsePromise.fromPromise(this.__scan(request, requestOptions));
|
|
110
|
+
}
|
|
111
|
+
__scan(request, requestOptions) {
|
|
112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
114
|
+
const { event } = request;
|
|
115
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
116
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
117
|
+
const _response = yield core.fetcher({
|
|
118
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `business/events/${core.url.encodePathParam(event)}/check-in/scan`),
|
|
119
|
+
method: "POST",
|
|
120
|
+
headers: _headers,
|
|
121
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
122
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
123
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
124
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
125
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
126
|
+
logging: this._options.logging,
|
|
127
|
+
});
|
|
128
|
+
if (_response.ok) {
|
|
129
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
130
|
+
}
|
|
131
|
+
if (_response.error.reason === "status-code") {
|
|
132
|
+
throw new errors.FiveOneEatError({
|
|
133
|
+
statusCode: _response.error.statusCode,
|
|
134
|
+
body: _response.error.body,
|
|
135
|
+
rawResponse: _response.rawResponse,
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/events/{event}/check-in/scan");
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @param {FiveOneEat.business.events.StatsCheckInRequest} request
|
|
143
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* await client.business.events.checkIn.stats({
|
|
147
|
+
* event: "event"
|
|
148
|
+
* })
|
|
149
|
+
*/
|
|
150
|
+
stats(request, requestOptions) {
|
|
151
|
+
return core.HttpResponsePromise.fromPromise(this.__stats(request, requestOptions));
|
|
152
|
+
}
|
|
153
|
+
__stats(request, requestOptions) {
|
|
154
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
155
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
156
|
+
const { event } = request;
|
|
157
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
158
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
159
|
+
const _response = yield core.fetcher({
|
|
160
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `business/events/${core.url.encodePathParam(event)}/check-in/stats`),
|
|
161
|
+
method: "GET",
|
|
162
|
+
headers: _headers,
|
|
163
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
164
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
165
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
166
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
167
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
168
|
+
logging: this._options.logging,
|
|
169
|
+
});
|
|
170
|
+
if (_response.ok) {
|
|
171
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
172
|
+
}
|
|
173
|
+
if (_response.error.reason === "status-code") {
|
|
174
|
+
throw new errors.FiveOneEatError({
|
|
175
|
+
statusCode: _response.error.statusCode,
|
|
176
|
+
body: _response.error.body,
|
|
177
|
+
rawResponse: _response.rawResponse,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/events/{event}/check-in/stats");
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* @param {FiveOneEat.business.events.RecentCheckInRequest} request
|
|
185
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* await client.business.events.checkIn.recent({
|
|
189
|
+
* event: "event"
|
|
190
|
+
* })
|
|
191
|
+
*/
|
|
192
|
+
recent(request, requestOptions) {
|
|
193
|
+
return core.HttpResponsePromise.fromPromise(this.__recent(request, requestOptions));
|
|
194
|
+
}
|
|
195
|
+
__recent(request, requestOptions) {
|
|
196
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
197
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
198
|
+
const { event } = request;
|
|
199
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
200
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
201
|
+
const _response = yield core.fetcher({
|
|
202
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `business/events/${core.url.encodePathParam(event)}/check-in/recent`),
|
|
203
|
+
method: "GET",
|
|
204
|
+
headers: _headers,
|
|
205
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
206
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
207
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
208
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
209
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
210
|
+
logging: this._options.logging,
|
|
211
|
+
});
|
|
212
|
+
if (_response.ok) {
|
|
213
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
214
|
+
}
|
|
215
|
+
if (_response.error.reason === "status-code") {
|
|
216
|
+
throw new errors.FiveOneEatError({
|
|
217
|
+
statusCode: _response.error.statusCode,
|
|
218
|
+
body: _response.error.body,
|
|
219
|
+
rawResponse: _response.rawResponse,
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/events/{event}/check-in/recent");
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
exports.CheckInClient = CheckInClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { LookupCheckInRequest } from "./LookupCheckInRequest.js";
|
|
2
|
+
export type { RecentCheckInRequest } from "./RecentCheckInRequest.js";
|
|
3
|
+
export type { ScanCheckInRequest } from "./ScanCheckInRequest.js";
|
|
4
|
+
export type { StatsCheckInRequest } from "./StatsCheckInRequest.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.CheckInClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "CheckInClient", { enumerable: true, get: function () { return Client_js_1.CheckInClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ticketTypes = exports.orders = void 0;
|
|
39
|
+
exports.ticketTypes = exports.orders = exports.checkIn = void 0;
|
|
40
|
+
__exportStar(require("./checkIn/client/requests/index.js"), exports);
|
|
41
|
+
exports.checkIn = __importStar(require("./checkIn/index.js"));
|
|
40
42
|
__exportStar(require("./orders/client/requests/index.js"), exports);
|
|
41
43
|
exports.orders = __importStar(require("./orders/index.js"));
|
|
42
44
|
__exportStar(require("./orders/types/index.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.35";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "0.0.
|
|
10
|
-
"User-Agent": "@51eat/sdk/0.0.
|
|
9
|
+
"X-Fern-SDK-Version": "0.0.35",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.35",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
|
|
|
2
2
|
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
3
|
import * as core from "../../../../../../core/index.mjs";
|
|
4
4
|
import * as FiveOneEat from "../../../../../index.mjs";
|
|
5
|
+
import { CheckInClient } from "../resources/checkIn/client/Client.mjs";
|
|
5
6
|
import { OrdersClient } from "../resources/orders/client/Client.mjs";
|
|
6
7
|
import { TicketTypesClient } from "../resources/ticketTypes/client/Client.mjs";
|
|
7
8
|
export declare namespace EventsClient {
|
|
@@ -13,9 +14,11 @@ export declare class EventsClient {
|
|
|
13
14
|
protected readonly _options: NormalizedClientOptionsWithAuth<EventsClient.Options>;
|
|
14
15
|
protected _ticketTypes: TicketTypesClient | undefined;
|
|
15
16
|
protected _orders: OrdersClient | undefined;
|
|
17
|
+
protected _checkIn: CheckInClient | undefined;
|
|
16
18
|
constructor(options?: EventsClient.Options);
|
|
17
19
|
get ticketTypes(): TicketTypesClient;
|
|
18
20
|
get orders(): OrdersClient;
|
|
21
|
+
get checkIn(): CheckInClient;
|
|
19
22
|
/**
|
|
20
23
|
* Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
|
|
21
24
|
*
|
|
@@ -26,6 +26,7 @@ import * as environments from "../../../../../../environments.mjs";
|
|
|
26
26
|
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
27
27
|
import * as errors from "../../../../../../errors/index.mjs";
|
|
28
28
|
import * as FiveOneEat from "../../../../../index.mjs";
|
|
29
|
+
import { CheckInClient } from "../resources/checkIn/client/Client.mjs";
|
|
29
30
|
import { OrdersClient } from "../resources/orders/client/Client.mjs";
|
|
30
31
|
import { TicketTypesClient } from "../resources/ticketTypes/client/Client.mjs";
|
|
31
32
|
export class EventsClient {
|
|
@@ -40,6 +41,10 @@ export class EventsClient {
|
|
|
40
41
|
var _a;
|
|
41
42
|
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new OrdersClient(this._options)));
|
|
42
43
|
}
|
|
44
|
+
get checkIn() {
|
|
45
|
+
var _a;
|
|
46
|
+
return ((_a = this._checkIn) !== null && _a !== void 0 ? _a : (this._checkIn = new CheckInClient(this._options)));
|
|
47
|
+
}
|
|
43
48
|
/**
|
|
44
49
|
* Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
|
|
45
50
|
*
|
package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../../../../../core/index.mjs";
|
|
4
|
+
import type * as FiveOneEat from "../../../../../../../index.mjs";
|
|
5
|
+
export declare namespace CheckInClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CheckInClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CheckInClient.Options>;
|
|
12
|
+
constructor(options?: CheckInClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {FiveOneEat.business.events.LookupCheckInRequest} request
|
|
15
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* await client.business.events.checkIn.lookup({
|
|
19
|
+
* event: "event"
|
|
20
|
+
* })
|
|
21
|
+
*/
|
|
22
|
+
lookup(request: FiveOneEat.business.events.LookupCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
23
|
+
private __lookup;
|
|
24
|
+
/**
|
|
25
|
+
* @param {FiveOneEat.business.events.ScanCheckInRequest} request
|
|
26
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* await client.business.events.checkIn.scan({
|
|
30
|
+
* event: "event"
|
|
31
|
+
* })
|
|
32
|
+
*/
|
|
33
|
+
scan(request: FiveOneEat.business.events.ScanCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
34
|
+
private __scan;
|
|
35
|
+
/**
|
|
36
|
+
* @param {FiveOneEat.business.events.StatsCheckInRequest} request
|
|
37
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.business.events.checkIn.stats({
|
|
41
|
+
* event: "event"
|
|
42
|
+
* })
|
|
43
|
+
*/
|
|
44
|
+
stats(request: FiveOneEat.business.events.StatsCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
45
|
+
private __stats;
|
|
46
|
+
/**
|
|
47
|
+
* @param {FiveOneEat.business.events.RecentCheckInRequest} request
|
|
48
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* await client.business.events.checkIn.recent({
|
|
52
|
+
* event: "event"
|
|
53
|
+
* })
|
|
54
|
+
*/
|
|
55
|
+
recent(request: FiveOneEat.business.events.RecentCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
56
|
+
private __recent;
|
|
57
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
import { normalizeClientOptionsWithAuth, } from "../../../../../../../../BaseClient.mjs";
|
|
12
|
+
import { mergeHeaders } from "../../../../../../../../core/headers.mjs";
|
|
13
|
+
import * as core from "../../../../../../../../core/index.mjs";
|
|
14
|
+
import * as environments from "../../../../../../../../environments.mjs";
|
|
15
|
+
import { handleNonStatusCodeError } from "../../../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
|
+
import * as errors from "../../../../../../../../errors/index.mjs";
|
|
17
|
+
export class CheckInClient {
|
|
18
|
+
constructor(options = {}) {
|
|
19
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @param {FiveOneEat.business.events.LookupCheckInRequest} request
|
|
23
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* await client.business.events.checkIn.lookup({
|
|
27
|
+
* event: "event"
|
|
28
|
+
* })
|
|
29
|
+
*/
|
|
30
|
+
lookup(request, requestOptions) {
|
|
31
|
+
return core.HttpResponsePromise.fromPromise(this.__lookup(request, requestOptions));
|
|
32
|
+
}
|
|
33
|
+
__lookup(request, requestOptions) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
36
|
+
const { event } = request;
|
|
37
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
38
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
39
|
+
const _response = yield core.fetcher({
|
|
40
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `business/events/${core.url.encodePathParam(event)}/check-in/lookup`),
|
|
41
|
+
method: "POST",
|
|
42
|
+
headers: _headers,
|
|
43
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
44
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
45
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
46
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
47
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
48
|
+
logging: this._options.logging,
|
|
49
|
+
});
|
|
50
|
+
if (_response.ok) {
|
|
51
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
52
|
+
}
|
|
53
|
+
if (_response.error.reason === "status-code") {
|
|
54
|
+
throw new errors.FiveOneEatError({
|
|
55
|
+
statusCode: _response.error.statusCode,
|
|
56
|
+
body: _response.error.body,
|
|
57
|
+
rawResponse: _response.rawResponse,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/business/events/{event}/check-in/lookup");
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @param {FiveOneEat.business.events.ScanCheckInRequest} request
|
|
65
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.business.events.checkIn.scan({
|
|
69
|
+
* event: "event"
|
|
70
|
+
* })
|
|
71
|
+
*/
|
|
72
|
+
scan(request, requestOptions) {
|
|
73
|
+
return core.HttpResponsePromise.fromPromise(this.__scan(request, requestOptions));
|
|
74
|
+
}
|
|
75
|
+
__scan(request, requestOptions) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
78
|
+
const { event } = request;
|
|
79
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
80
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
81
|
+
const _response = yield core.fetcher({
|
|
82
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `business/events/${core.url.encodePathParam(event)}/check-in/scan`),
|
|
83
|
+
method: "POST",
|
|
84
|
+
headers: _headers,
|
|
85
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
86
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
87
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
88
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
89
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
90
|
+
logging: this._options.logging,
|
|
91
|
+
});
|
|
92
|
+
if (_response.ok) {
|
|
93
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
94
|
+
}
|
|
95
|
+
if (_response.error.reason === "status-code") {
|
|
96
|
+
throw new errors.FiveOneEatError({
|
|
97
|
+
statusCode: _response.error.statusCode,
|
|
98
|
+
body: _response.error.body,
|
|
99
|
+
rawResponse: _response.rawResponse,
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/business/events/{event}/check-in/scan");
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @param {FiveOneEat.business.events.StatsCheckInRequest} request
|
|
107
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* await client.business.events.checkIn.stats({
|
|
111
|
+
* event: "event"
|
|
112
|
+
* })
|
|
113
|
+
*/
|
|
114
|
+
stats(request, requestOptions) {
|
|
115
|
+
return core.HttpResponsePromise.fromPromise(this.__stats(request, requestOptions));
|
|
116
|
+
}
|
|
117
|
+
__stats(request, requestOptions) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
120
|
+
const { event } = request;
|
|
121
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
122
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
123
|
+
const _response = yield core.fetcher({
|
|
124
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `business/events/${core.url.encodePathParam(event)}/check-in/stats`),
|
|
125
|
+
method: "GET",
|
|
126
|
+
headers: _headers,
|
|
127
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
128
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
129
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
130
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
131
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
132
|
+
logging: this._options.logging,
|
|
133
|
+
});
|
|
134
|
+
if (_response.ok) {
|
|
135
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
136
|
+
}
|
|
137
|
+
if (_response.error.reason === "status-code") {
|
|
138
|
+
throw new errors.FiveOneEatError({
|
|
139
|
+
statusCode: _response.error.statusCode,
|
|
140
|
+
body: _response.error.body,
|
|
141
|
+
rawResponse: _response.rawResponse,
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/business/events/{event}/check-in/stats");
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @param {FiveOneEat.business.events.RecentCheckInRequest} request
|
|
149
|
+
* @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* await client.business.events.checkIn.recent({
|
|
153
|
+
* event: "event"
|
|
154
|
+
* })
|
|
155
|
+
*/
|
|
156
|
+
recent(request, requestOptions) {
|
|
157
|
+
return core.HttpResponsePromise.fromPromise(this.__recent(request, requestOptions));
|
|
158
|
+
}
|
|
159
|
+
__recent(request, requestOptions) {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
162
|
+
const { event } = request;
|
|
163
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
164
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
165
|
+
const _response = yield core.fetcher({
|
|
166
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `business/events/${core.url.encodePathParam(event)}/check-in/recent`),
|
|
167
|
+
method: "GET",
|
|
168
|
+
headers: _headers,
|
|
169
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
170
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
171
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
172
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
173
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
174
|
+
logging: this._options.logging,
|
|
175
|
+
});
|
|
176
|
+
if (_response.ok) {
|
|
177
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
178
|
+
}
|
|
179
|
+
if (_response.error.reason === "status-code") {
|
|
180
|
+
throw new errors.FiveOneEatError({
|
|
181
|
+
statusCode: _response.error.statusCode,
|
|
182
|
+
body: _response.error.body,
|
|
183
|
+
rawResponse: _response.rawResponse,
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/business/events/{event}/check-in/recent");
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { LookupCheckInRequest } from "./LookupCheckInRequest.mjs";
|
|
2
|
+
export type { RecentCheckInRequest } from "./RecentCheckInRequest.mjs";
|
|
3
|
+
export type { ScanCheckInRequest } from "./ScanCheckInRequest.mjs";
|
|
4
|
+
export type { StatsCheckInRequest } from "./StatsCheckInRequest.mjs";
|
package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.35";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.35";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -275,6 +275,17 @@
|
|
|
275
275
|
},
|
|
276
276
|
"default": "./dist/cjs/api/resources/business/resources/events/resources/orders/exports.js"
|
|
277
277
|
},
|
|
278
|
+
"./business/events/checkIn": {
|
|
279
|
+
"import": {
|
|
280
|
+
"types": "./dist/esm/api/resources/business/resources/events/resources/checkIn/exports.d.mts",
|
|
281
|
+
"default": "./dist/esm/api/resources/business/resources/events/resources/checkIn/exports.mjs"
|
|
282
|
+
},
|
|
283
|
+
"require": {
|
|
284
|
+
"types": "./dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.d.ts",
|
|
285
|
+
"default": "./dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.js"
|
|
286
|
+
},
|
|
287
|
+
"default": "./dist/cjs/api/resources/business/resources/events/resources/checkIn/exports.js"
|
|
288
|
+
},
|
|
278
289
|
"./business/menus/groups": {
|
|
279
290
|
"import": {
|
|
280
291
|
"types": "./dist/esm/api/resources/business/resources/menus/resources/groups/exports.d.mts",
|
package/reference.md
CHANGED
|
@@ -4174,6 +4174,211 @@ await client.business.events.orders.get({
|
|
|
4174
4174
|
</dl>
|
|
4175
4175
|
|
|
4176
4176
|
|
|
4177
|
+
</dd>
|
|
4178
|
+
</dl>
|
|
4179
|
+
</details>
|
|
4180
|
+
|
|
4181
|
+
## Business Events CheckIn
|
|
4182
|
+
<details><summary><code>client.business.events.checkIn.<a href="/src/api/resources/business/resources/events/resources/checkIn/client/Client.ts">lookup</a>({ ...params }) -> void</code></summary>
|
|
4183
|
+
<dl>
|
|
4184
|
+
<dd>
|
|
4185
|
+
|
|
4186
|
+
#### 🔌 Usage
|
|
4187
|
+
|
|
4188
|
+
<dl>
|
|
4189
|
+
<dd>
|
|
4190
|
+
|
|
4191
|
+
<dl>
|
|
4192
|
+
<dd>
|
|
4193
|
+
|
|
4194
|
+
```typescript
|
|
4195
|
+
await client.business.events.checkIn.lookup({
|
|
4196
|
+
event: "event"
|
|
4197
|
+
});
|
|
4198
|
+
|
|
4199
|
+
```
|
|
4200
|
+
</dd>
|
|
4201
|
+
</dl>
|
|
4202
|
+
</dd>
|
|
4203
|
+
</dl>
|
|
4204
|
+
|
|
4205
|
+
#### ⚙️ Parameters
|
|
4206
|
+
|
|
4207
|
+
<dl>
|
|
4208
|
+
<dd>
|
|
4209
|
+
|
|
4210
|
+
<dl>
|
|
4211
|
+
<dd>
|
|
4212
|
+
|
|
4213
|
+
**request:** `FiveOneEat.business.events.LookupCheckInRequest`
|
|
4214
|
+
|
|
4215
|
+
</dd>
|
|
4216
|
+
</dl>
|
|
4217
|
+
|
|
4218
|
+
<dl>
|
|
4219
|
+
<dd>
|
|
4220
|
+
|
|
4221
|
+
**requestOptions:** `CheckInClient.RequestOptions`
|
|
4222
|
+
|
|
4223
|
+
</dd>
|
|
4224
|
+
</dl>
|
|
4225
|
+
</dd>
|
|
4226
|
+
</dl>
|
|
4227
|
+
|
|
4228
|
+
|
|
4229
|
+
</dd>
|
|
4230
|
+
</dl>
|
|
4231
|
+
</details>
|
|
4232
|
+
|
|
4233
|
+
<details><summary><code>client.business.events.checkIn.<a href="/src/api/resources/business/resources/events/resources/checkIn/client/Client.ts">scan</a>({ ...params }) -> void</code></summary>
|
|
4234
|
+
<dl>
|
|
4235
|
+
<dd>
|
|
4236
|
+
|
|
4237
|
+
#### 🔌 Usage
|
|
4238
|
+
|
|
4239
|
+
<dl>
|
|
4240
|
+
<dd>
|
|
4241
|
+
|
|
4242
|
+
<dl>
|
|
4243
|
+
<dd>
|
|
4244
|
+
|
|
4245
|
+
```typescript
|
|
4246
|
+
await client.business.events.checkIn.scan({
|
|
4247
|
+
event: "event"
|
|
4248
|
+
});
|
|
4249
|
+
|
|
4250
|
+
```
|
|
4251
|
+
</dd>
|
|
4252
|
+
</dl>
|
|
4253
|
+
</dd>
|
|
4254
|
+
</dl>
|
|
4255
|
+
|
|
4256
|
+
#### ⚙️ Parameters
|
|
4257
|
+
|
|
4258
|
+
<dl>
|
|
4259
|
+
<dd>
|
|
4260
|
+
|
|
4261
|
+
<dl>
|
|
4262
|
+
<dd>
|
|
4263
|
+
|
|
4264
|
+
**request:** `FiveOneEat.business.events.ScanCheckInRequest`
|
|
4265
|
+
|
|
4266
|
+
</dd>
|
|
4267
|
+
</dl>
|
|
4268
|
+
|
|
4269
|
+
<dl>
|
|
4270
|
+
<dd>
|
|
4271
|
+
|
|
4272
|
+
**requestOptions:** `CheckInClient.RequestOptions`
|
|
4273
|
+
|
|
4274
|
+
</dd>
|
|
4275
|
+
</dl>
|
|
4276
|
+
</dd>
|
|
4277
|
+
</dl>
|
|
4278
|
+
|
|
4279
|
+
|
|
4280
|
+
</dd>
|
|
4281
|
+
</dl>
|
|
4282
|
+
</details>
|
|
4283
|
+
|
|
4284
|
+
<details><summary><code>client.business.events.checkIn.<a href="/src/api/resources/business/resources/events/resources/checkIn/client/Client.ts">stats</a>({ ...params }) -> void</code></summary>
|
|
4285
|
+
<dl>
|
|
4286
|
+
<dd>
|
|
4287
|
+
|
|
4288
|
+
#### 🔌 Usage
|
|
4289
|
+
|
|
4290
|
+
<dl>
|
|
4291
|
+
<dd>
|
|
4292
|
+
|
|
4293
|
+
<dl>
|
|
4294
|
+
<dd>
|
|
4295
|
+
|
|
4296
|
+
```typescript
|
|
4297
|
+
await client.business.events.checkIn.stats({
|
|
4298
|
+
event: "event"
|
|
4299
|
+
});
|
|
4300
|
+
|
|
4301
|
+
```
|
|
4302
|
+
</dd>
|
|
4303
|
+
</dl>
|
|
4304
|
+
</dd>
|
|
4305
|
+
</dl>
|
|
4306
|
+
|
|
4307
|
+
#### ⚙️ Parameters
|
|
4308
|
+
|
|
4309
|
+
<dl>
|
|
4310
|
+
<dd>
|
|
4311
|
+
|
|
4312
|
+
<dl>
|
|
4313
|
+
<dd>
|
|
4314
|
+
|
|
4315
|
+
**request:** `FiveOneEat.business.events.StatsCheckInRequest`
|
|
4316
|
+
|
|
4317
|
+
</dd>
|
|
4318
|
+
</dl>
|
|
4319
|
+
|
|
4320
|
+
<dl>
|
|
4321
|
+
<dd>
|
|
4322
|
+
|
|
4323
|
+
**requestOptions:** `CheckInClient.RequestOptions`
|
|
4324
|
+
|
|
4325
|
+
</dd>
|
|
4326
|
+
</dl>
|
|
4327
|
+
</dd>
|
|
4328
|
+
</dl>
|
|
4329
|
+
|
|
4330
|
+
|
|
4331
|
+
</dd>
|
|
4332
|
+
</dl>
|
|
4333
|
+
</details>
|
|
4334
|
+
|
|
4335
|
+
<details><summary><code>client.business.events.checkIn.<a href="/src/api/resources/business/resources/events/resources/checkIn/client/Client.ts">recent</a>({ ...params }) -> void</code></summary>
|
|
4336
|
+
<dl>
|
|
4337
|
+
<dd>
|
|
4338
|
+
|
|
4339
|
+
#### 🔌 Usage
|
|
4340
|
+
|
|
4341
|
+
<dl>
|
|
4342
|
+
<dd>
|
|
4343
|
+
|
|
4344
|
+
<dl>
|
|
4345
|
+
<dd>
|
|
4346
|
+
|
|
4347
|
+
```typescript
|
|
4348
|
+
await client.business.events.checkIn.recent({
|
|
4349
|
+
event: "event"
|
|
4350
|
+
});
|
|
4351
|
+
|
|
4352
|
+
```
|
|
4353
|
+
</dd>
|
|
4354
|
+
</dl>
|
|
4355
|
+
</dd>
|
|
4356
|
+
</dl>
|
|
4357
|
+
|
|
4358
|
+
#### ⚙️ Parameters
|
|
4359
|
+
|
|
4360
|
+
<dl>
|
|
4361
|
+
<dd>
|
|
4362
|
+
|
|
4363
|
+
<dl>
|
|
4364
|
+
<dd>
|
|
4365
|
+
|
|
4366
|
+
**request:** `FiveOneEat.business.events.RecentCheckInRequest`
|
|
4367
|
+
|
|
4368
|
+
</dd>
|
|
4369
|
+
</dl>
|
|
4370
|
+
|
|
4371
|
+
<dl>
|
|
4372
|
+
<dd>
|
|
4373
|
+
|
|
4374
|
+
**requestOptions:** `CheckInClient.RequestOptions`
|
|
4375
|
+
|
|
4376
|
+
</dd>
|
|
4377
|
+
</dl>
|
|
4378
|
+
</dd>
|
|
4379
|
+
</dl>
|
|
4380
|
+
|
|
4381
|
+
|
|
4177
4382
|
</dd>
|
|
4178
4383
|
</dl>
|
|
4179
4384
|
</details>
|