@acm-uiuc/core-client 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +127 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +277 -0
- package/dist/apis/APIKeysApi.d.ts +54 -0
- package/dist/apis/APIKeysApi.js +143 -0
- package/dist/apis/EventsApi.d.ts +86 -0
- package/dist/apis/EventsApi.js +250 -0
- package/dist/apis/GenericApi.d.ts +88 -0
- package/dist/apis/GenericApi.js +249 -0
- package/dist/apis/IAMApi.d.ts +108 -0
- package/dist/apis/IAMApi.js +327 -0
- package/dist/apis/ICalendarIntegrationApi.d.ts +29 -0
- package/dist/apis/ICalendarIntegrationApi.js +61 -0
- package/dist/apis/LinkryApi.d.ts +100 -0
- package/dist/apis/LinkryApi.js +330 -0
- package/dist/apis/LoggingApi.d.ts +51 -0
- package/dist/apis/LoggingApi.js +103 -0
- package/dist/apis/MembershipApi.d.ts +107 -0
- package/dist/apis/MembershipApi.js +330 -0
- package/dist/apis/MobileWalletApi.d.ts +28 -0
- package/dist/apis/MobileWalletApi.js +64 -0
- package/dist/apis/OrganizationsApi.d.ts +65 -0
- package/dist/apis/OrganizationsApi.js +192 -0
- package/dist/apis/RSVPApi.d.ts +109 -0
- package/dist/apis/RSVPApi.js +345 -0
- package/dist/apis/RoomRequestsApi.d.ts +102 -0
- package/dist/apis/RoomRequestsApi.js +279 -0
- package/dist/apis/StoreApi.d.ts +141 -0
- package/dist/apis/StoreApi.js +449 -0
- package/dist/apis/StripeApi.d.ts +54 -0
- package/dist/apis/StripeApi.js +152 -0
- package/dist/apis/VendingApi.d.ts +33 -0
- package/dist/apis/VendingApi.js +83 -0
- package/dist/apis/index.d.ts +15 -0
- package/dist/apis/index.js +33 -0
- package/dist/esm/apis/APIKeysApi.d.ts +54 -0
- package/dist/esm/apis/APIKeysApi.js +139 -0
- package/dist/esm/apis/EventsApi.d.ts +86 -0
- package/dist/esm/apis/EventsApi.js +246 -0
- package/dist/esm/apis/GenericApi.d.ts +88 -0
- package/dist/esm/apis/GenericApi.js +245 -0
- package/dist/esm/apis/IAMApi.d.ts +108 -0
- package/dist/esm/apis/IAMApi.js +323 -0
- package/dist/esm/apis/ICalendarIntegrationApi.d.ts +29 -0
- package/dist/esm/apis/ICalendarIntegrationApi.js +57 -0
- package/dist/esm/apis/LinkryApi.d.ts +100 -0
- package/dist/esm/apis/LinkryApi.js +326 -0
- package/dist/esm/apis/LoggingApi.d.ts +51 -0
- package/dist/esm/apis/LoggingApi.js +99 -0
- package/dist/esm/apis/MembershipApi.d.ts +107 -0
- package/dist/esm/apis/MembershipApi.js +326 -0
- package/dist/esm/apis/MobileWalletApi.d.ts +28 -0
- package/dist/esm/apis/MobileWalletApi.js +60 -0
- package/dist/esm/apis/OrganizationsApi.d.ts +65 -0
- package/dist/esm/apis/OrganizationsApi.js +188 -0
- package/dist/esm/apis/RSVPApi.d.ts +109 -0
- package/dist/esm/apis/RSVPApi.js +341 -0
- package/dist/esm/apis/RoomRequestsApi.d.ts +102 -0
- package/dist/esm/apis/RoomRequestsApi.js +275 -0
- package/dist/esm/apis/StoreApi.d.ts +141 -0
- package/dist/esm/apis/StoreApi.js +445 -0
- package/dist/esm/apis/StripeApi.d.ts +54 -0
- package/dist/esm/apis/StripeApi.js +148 -0
- package/dist/esm/apis/VendingApi.d.ts +33 -0
- package/dist/esm/apis/VendingApi.js +79 -0
- package/dist/esm/apis/index.d.ts +15 -0
- package/dist/esm/apis/index.js +17 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/index.d.ts +3567 -0
- package/dist/esm/models/index.js +539 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +327 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/index.d.ts +3567 -0
- package/dist/models/index.js +543 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +342 -0
- package/package.json +23 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ACM @ UIUC Core API
|
|
3
|
+
* The ACM @ UIUC Core API provides services for managing chapter operations. ## Usage The primary consumer of the Core API is the Management Portal, which allows members to manage the chapter. Others may call the API with an API key; please contact us to obtain one. This API also integrates into the ACM website and other suborganization to provide calendar services. Calendar clients call the iCal endpoints (available through [ical.acm.illinois.edu](https://ical.acm.illinois.edu)) for calendar services. ## Contact <hr /> If you are an ACM @ UIUC member, please join the Infra Committee Discord for support. Otherwise, email [infra@acm.illinois.edu](mailto:infra@acm.illinois.edu) for support. **For all security concerns, please email [infra@acm.illinois.edu](mailto:infra@acm.illinois.edu) with the subject \"Security Concern\".**
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
* Contact: infra@acm.illinois.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { ApiV1RoomRequestsPostRequest, ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response, ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response, ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest } from '../models/index.js';
|
|
14
|
+
export interface ApiV1RoomRequestsPostOperationRequest {
|
|
15
|
+
apiV1RoomRequestsPostRequest: ApiV1RoomRequestsPostRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface ApiV1RoomRequestsSemesterIdGetRequest {
|
|
18
|
+
semesterId: string;
|
|
19
|
+
select?: Array<string>;
|
|
20
|
+
}
|
|
21
|
+
export interface ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRequest {
|
|
22
|
+
requestId: string;
|
|
23
|
+
semesterId: string;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
status: ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetStatusEnum;
|
|
26
|
+
}
|
|
27
|
+
export interface ApiV1RoomRequestsSemesterIdRequestIdGetRequest {
|
|
28
|
+
requestId: string;
|
|
29
|
+
semesterId: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ApiV1RoomRequestsSemesterIdRequestIdStatusPostOperationRequest {
|
|
32
|
+
requestId: string;
|
|
33
|
+
semesterId: string;
|
|
34
|
+
apiV1RoomRequestsSemesterIdRequestIdStatusPostRequest: ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequest;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare class RoomRequestsApi extends runtime.BaseAPI {
|
|
40
|
+
/**
|
|
41
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>)
|
|
42
|
+
* Create a room request.
|
|
43
|
+
*/
|
|
44
|
+
apiV1RoomRequestsPostRaw(requestParameters: ApiV1RoomRequestsPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
45
|
+
/**
|
|
46
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>)
|
|
47
|
+
* Create a room request.
|
|
48
|
+
*/
|
|
49
|
+
apiV1RoomRequestsPost(requestParameters: ApiV1RoomRequestsPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
50
|
+
/**
|
|
51
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
52
|
+
* Get room requests for a specific semester.
|
|
53
|
+
*/
|
|
54
|
+
apiV1RoomRequestsSemesterIdGetRaw(requestParameters: ApiV1RoomRequestsSemesterIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
55
|
+
/**
|
|
56
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
57
|
+
* Get room requests for a specific semester.
|
|
58
|
+
*/
|
|
59
|
+
apiV1RoomRequestsSemesterIdGet(requestParameters: ApiV1RoomRequestsSemesterIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
62
|
+
* Get attachment download URL for a specific room request update.
|
|
63
|
+
*/
|
|
64
|
+
apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRaw(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response>>;
|
|
65
|
+
/**
|
|
66
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
67
|
+
* Get attachment download URL for a specific room request update.
|
|
68
|
+
*/
|
|
69
|
+
apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet200Response>;
|
|
70
|
+
/**
|
|
71
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
72
|
+
* Get specific room request data.
|
|
73
|
+
*/
|
|
74
|
+
apiV1RoomRequestsSemesterIdRequestIdGetRaw(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
75
|
+
/**
|
|
76
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
77
|
+
* Get specific room request data.
|
|
78
|
+
*/
|
|
79
|
+
apiV1RoomRequestsSemesterIdRequestIdGet(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Updater (<code>update:roomRequest</code>)
|
|
82
|
+
* Create status update for a room request.
|
|
83
|
+
*/
|
|
84
|
+
apiV1RoomRequestsSemesterIdRequestIdStatusPostRaw(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdStatusPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response>>;
|
|
85
|
+
/**
|
|
86
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Updater (<code>update:roomRequest</code>)
|
|
87
|
+
* Create status update for a room request.
|
|
88
|
+
*/
|
|
89
|
+
apiV1RoomRequestsSemesterIdRequestIdStatusPost(requestParameters: ApiV1RoomRequestsSemesterIdRequestIdStatusPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1RoomRequestsSemesterIdRequestIdStatusPost201Response>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export declare const ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetStatusEnum: {
|
|
95
|
+
readonly Created: "created";
|
|
96
|
+
readonly MoreInformationNeeded: "more_information_needed";
|
|
97
|
+
readonly RejectedByAcm: "rejected_by_acm";
|
|
98
|
+
readonly Submitted: "submitted";
|
|
99
|
+
readonly Approved: "approved";
|
|
100
|
+
readonly RejectedByUiuc: "rejected_by_uiuc";
|
|
101
|
+
};
|
|
102
|
+
export type ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetStatusEnum = typeof ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetStatusEnum[keyof typeof ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetStatusEnum];
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ACM @ UIUC Core API
|
|
6
|
+
* The ACM @ UIUC Core API provides services for managing chapter operations. ## Usage The primary consumer of the Core API is the Management Portal, which allows members to manage the chapter. Others may call the API with an API key; please contact us to obtain one. This API also integrates into the ACM website and other suborganization to provide calendar services. Calendar clients call the iCal endpoints (available through [ical.acm.illinois.edu](https://ical.acm.illinois.edu)) for calendar services. ## Contact <hr /> If you are an ACM @ UIUC member, please join the Infra Committee Discord for support. Otherwise, email [infra@acm.illinois.edu](mailto:infra@acm.illinois.edu) for support. **For all security concerns, please email [infra@acm.illinois.edu](mailto:infra@acm.illinois.edu) with the subject \"Security Concern\".**
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.1
|
|
9
|
+
* Contact: infra@acm.illinois.edu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetStatusEnum = exports.RoomRequestsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime.js");
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
class RoomRequestsApi extends runtime.BaseAPI {
|
|
31
|
+
/**
|
|
32
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>)
|
|
33
|
+
* Create a room request.
|
|
34
|
+
*/
|
|
35
|
+
apiV1RoomRequestsPostRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['apiV1RoomRequestsPostRequest'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('apiV1RoomRequestsPostRequest', 'Required parameter "apiV1RoomRequestsPostRequest" was null or undefined when calling apiV1RoomRequestsPost().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
43
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
44
|
+
const token = this.configuration.accessToken;
|
|
45
|
+
const tokenString = yield token("httpBearer", []);
|
|
46
|
+
if (tokenString) {
|
|
47
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
51
|
+
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
52
|
+
}
|
|
53
|
+
let urlPath = `/api/v1/roomRequests`;
|
|
54
|
+
const response = yield this.request({
|
|
55
|
+
path: urlPath,
|
|
56
|
+
method: 'POST',
|
|
57
|
+
headers: headerParameters,
|
|
58
|
+
query: queryParameters,
|
|
59
|
+
body: requestParameters['apiV1RoomRequestsPostRequest'],
|
|
60
|
+
}, initOverrides);
|
|
61
|
+
return new runtime.VoidApiResponse(response);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>)
|
|
66
|
+
* Create a room request.
|
|
67
|
+
*/
|
|
68
|
+
apiV1RoomRequestsPost(requestParameters, initOverrides) {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
yield this.apiV1RoomRequestsPostRaw(requestParameters, initOverrides);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
75
|
+
* Get room requests for a specific semester.
|
|
76
|
+
*/
|
|
77
|
+
apiV1RoomRequestsSemesterIdGetRaw(requestParameters, initOverrides) {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
if (requestParameters['semesterId'] == null) {
|
|
80
|
+
throw new runtime.RequiredError('semesterId', 'Required parameter "semesterId" was null or undefined when calling apiV1RoomRequestsSemesterIdGet().');
|
|
81
|
+
}
|
|
82
|
+
const queryParameters = {};
|
|
83
|
+
if (requestParameters['select'] != null) {
|
|
84
|
+
queryParameters['select'] = requestParameters['select'];
|
|
85
|
+
}
|
|
86
|
+
const headerParameters = {};
|
|
87
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
88
|
+
const token = this.configuration.accessToken;
|
|
89
|
+
const tokenString = yield token("httpBearer", []);
|
|
90
|
+
if (tokenString) {
|
|
91
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
95
|
+
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
96
|
+
}
|
|
97
|
+
let urlPath = `/api/v1/roomRequests/{semesterId}`;
|
|
98
|
+
urlPath = urlPath.replace(`{${"semesterId"}}`, encodeURIComponent(String(requestParameters['semesterId'])));
|
|
99
|
+
const response = yield this.request({
|
|
100
|
+
path: urlPath,
|
|
101
|
+
method: 'GET',
|
|
102
|
+
headers: headerParameters,
|
|
103
|
+
query: queryParameters,
|
|
104
|
+
}, initOverrides);
|
|
105
|
+
return new runtime.VoidApiResponse(response);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
110
|
+
* Get room requests for a specific semester.
|
|
111
|
+
*/
|
|
112
|
+
apiV1RoomRequestsSemesterIdGet(requestParameters, initOverrides) {
|
|
113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
yield this.apiV1RoomRequestsSemesterIdGetRaw(requestParameters, initOverrides);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
119
|
+
* Get attachment download URL for a specific room request update.
|
|
120
|
+
*/
|
|
121
|
+
apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRaw(requestParameters, initOverrides) {
|
|
122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
+
if (requestParameters['requestId'] == null) {
|
|
124
|
+
throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet().');
|
|
125
|
+
}
|
|
126
|
+
if (requestParameters['semesterId'] == null) {
|
|
127
|
+
throw new runtime.RequiredError('semesterId', 'Required parameter "semesterId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet().');
|
|
128
|
+
}
|
|
129
|
+
if (requestParameters['createdAt'] == null) {
|
|
130
|
+
throw new runtime.RequiredError('createdAt', 'Required parameter "createdAt" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet().');
|
|
131
|
+
}
|
|
132
|
+
if (requestParameters['status'] == null) {
|
|
133
|
+
throw new runtime.RequiredError('status', 'Required parameter "status" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet().');
|
|
134
|
+
}
|
|
135
|
+
const queryParameters = {};
|
|
136
|
+
const headerParameters = {};
|
|
137
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
138
|
+
const token = this.configuration.accessToken;
|
|
139
|
+
const tokenString = yield token("httpBearer", []);
|
|
140
|
+
if (tokenString) {
|
|
141
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
145
|
+
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
146
|
+
}
|
|
147
|
+
let urlPath = `/api/v1/roomRequests/{semesterId}/{requestId}/attachmentDownloadUrl/{createdAt}/{status}`;
|
|
148
|
+
urlPath = urlPath.replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters['requestId'])));
|
|
149
|
+
urlPath = urlPath.replace(`{${"semesterId"}}`, encodeURIComponent(String(requestParameters['semesterId'])));
|
|
150
|
+
urlPath = urlPath.replace(`{${"createdAt"}}`, encodeURIComponent(String(requestParameters['createdAt'])));
|
|
151
|
+
urlPath = urlPath.replace(`{${"status"}}`, encodeURIComponent(String(requestParameters['status'])));
|
|
152
|
+
const response = yield this.request({
|
|
153
|
+
path: urlPath,
|
|
154
|
+
method: 'GET',
|
|
155
|
+
headers: headerParameters,
|
|
156
|
+
query: queryParameters,
|
|
157
|
+
}, initOverrides);
|
|
158
|
+
return new runtime.JSONApiResponse(response);
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
163
|
+
* Get attachment download URL for a specific room request update.
|
|
164
|
+
*/
|
|
165
|
+
apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGet(requestParameters, initOverrides) {
|
|
166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
const response = yield this.apiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetRaw(requestParameters, initOverrides);
|
|
168
|
+
return yield response.value();
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
173
|
+
* Get specific room request data.
|
|
174
|
+
*/
|
|
175
|
+
apiV1RoomRequestsSemesterIdRequestIdGetRaw(requestParameters, initOverrides) {
|
|
176
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
177
|
+
if (requestParameters['requestId'] == null) {
|
|
178
|
+
throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdGet().');
|
|
179
|
+
}
|
|
180
|
+
if (requestParameters['semesterId'] == null) {
|
|
181
|
+
throw new runtime.RequiredError('semesterId', 'Required parameter "semesterId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdGet().');
|
|
182
|
+
}
|
|
183
|
+
const queryParameters = {};
|
|
184
|
+
const headerParameters = {};
|
|
185
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
186
|
+
const token = this.configuration.accessToken;
|
|
187
|
+
const tokenString = yield token("httpBearer", []);
|
|
188
|
+
if (tokenString) {
|
|
189
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
193
|
+
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
194
|
+
}
|
|
195
|
+
let urlPath = `/api/v1/roomRequests/{semesterId}/{requestId}`;
|
|
196
|
+
urlPath = urlPath.replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters['requestId'])));
|
|
197
|
+
urlPath = urlPath.replace(`{${"semesterId"}}`, encodeURIComponent(String(requestParameters['semesterId'])));
|
|
198
|
+
const response = yield this.request({
|
|
199
|
+
path: urlPath,
|
|
200
|
+
method: 'GET',
|
|
201
|
+
headers: headerParameters,
|
|
202
|
+
query: queryParameters,
|
|
203
|
+
}, initOverrides);
|
|
204
|
+
return new runtime.VoidApiResponse(response);
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Creator (<code>create:roomRequest</code>) * All Room Request Viewer (<code>viewAll:roomRequest</code>)
|
|
209
|
+
* Get specific room request data.
|
|
210
|
+
*/
|
|
211
|
+
apiV1RoomRequestsSemesterIdRequestIdGet(requestParameters, initOverrides) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
yield this.apiV1RoomRequestsSemesterIdRequestIdGetRaw(requestParameters, initOverrides);
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Updater (<code>update:roomRequest</code>)
|
|
218
|
+
* Create status update for a room request.
|
|
219
|
+
*/
|
|
220
|
+
apiV1RoomRequestsSemesterIdRequestIdStatusPostRaw(requestParameters, initOverrides) {
|
|
221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
222
|
+
if (requestParameters['requestId'] == null) {
|
|
223
|
+
throw new runtime.RequiredError('requestId', 'Required parameter "requestId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdStatusPost().');
|
|
224
|
+
}
|
|
225
|
+
if (requestParameters['semesterId'] == null) {
|
|
226
|
+
throw new runtime.RequiredError('semesterId', 'Required parameter "semesterId" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdStatusPost().');
|
|
227
|
+
}
|
|
228
|
+
if (requestParameters['apiV1RoomRequestsSemesterIdRequestIdStatusPostRequest'] == null) {
|
|
229
|
+
throw new runtime.RequiredError('apiV1RoomRequestsSemesterIdRequestIdStatusPostRequest', 'Required parameter "apiV1RoomRequestsSemesterIdRequestIdStatusPostRequest" was null or undefined when calling apiV1RoomRequestsSemesterIdRequestIdStatusPost().');
|
|
230
|
+
}
|
|
231
|
+
const queryParameters = {};
|
|
232
|
+
const headerParameters = {};
|
|
233
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
234
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
235
|
+
const token = this.configuration.accessToken;
|
|
236
|
+
const tokenString = yield token("httpBearer", []);
|
|
237
|
+
if (tokenString) {
|
|
238
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
242
|
+
headerParameters["X-Api-Key"] = yield this.configuration.apiKey("X-Api-Key"); // apiKeyHeader authentication
|
|
243
|
+
}
|
|
244
|
+
let urlPath = `/api/v1/roomRequests/{semesterId}/{requestId}/status`;
|
|
245
|
+
urlPath = urlPath.replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters['requestId'])));
|
|
246
|
+
urlPath = urlPath.replace(`{${"semesterId"}}`, encodeURIComponent(String(requestParameters['semesterId'])));
|
|
247
|
+
const response = yield this.request({
|
|
248
|
+
path: urlPath,
|
|
249
|
+
method: 'POST',
|
|
250
|
+
headers: headerParameters,
|
|
251
|
+
query: queryParameters,
|
|
252
|
+
body: requestParameters['apiV1RoomRequestsSemesterIdRequestIdStatusPostRequest'],
|
|
253
|
+
}, initOverrides);
|
|
254
|
+
return new runtime.JSONApiResponse(response);
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* #### Authorization <hr /> Requires any of the following roles: * Room Request Updater (<code>update:roomRequest</code>)
|
|
259
|
+
* Create status update for a room request.
|
|
260
|
+
*/
|
|
261
|
+
apiV1RoomRequestsSemesterIdRequestIdStatusPost(requestParameters, initOverrides) {
|
|
262
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
263
|
+
const response = yield this.apiV1RoomRequestsSemesterIdRequestIdStatusPostRaw(requestParameters, initOverrides);
|
|
264
|
+
return yield response.value();
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
exports.RoomRequestsApi = RoomRequestsApi;
|
|
269
|
+
/**
|
|
270
|
+
* @export
|
|
271
|
+
*/
|
|
272
|
+
exports.ApiV1RoomRequestsSemesterIdRequestIdAttachmentDownloadUrlCreatedAtStatusGetStatusEnum = {
|
|
273
|
+
Created: 'created',
|
|
274
|
+
MoreInformationNeeded: 'more_information_needed',
|
|
275
|
+
RejectedByAcm: 'rejected_by_acm',
|
|
276
|
+
Submitted: 'submitted',
|
|
277
|
+
Approved: 'approved',
|
|
278
|
+
RejectedByUiuc: 'rejected_by_uiuc'
|
|
279
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ACM @ UIUC Core API
|
|
3
|
+
* The ACM @ UIUC Core API provides services for managing chapter operations. ## Usage The primary consumer of the Core API is the Management Portal, which allows members to manage the chapter. Others may call the API with an API key; please contact us to obtain one. This API also integrates into the ACM website and other suborganization to provide calendar services. Calendar clients call the iCal endpoints (available through [ical.acm.illinois.edu](https://ical.acm.illinois.edu)) for calendar services. ## Contact <hr /> If you are an ACM @ UIUC member, please join the Infra Committee Discord for support. Otherwise, email [infra@acm.illinois.edu](mailto:infra@acm.illinois.edu) for support. **For all security concerns, please email [infra@acm.illinois.edu](mailto:infra@acm.illinois.edu) with the subject \"Security Concern\".**
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
* Contact: infra@acm.illinois.edu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { ApiV1StoreAdminOrderOrderIdGet200Response, ApiV1StoreAdminOrdersOrderIdFulfillPostRequest, ApiV1StoreAdminOrdersOrderIdRefundPostRequest, ApiV1StoreAdminOrdersProductIdGet200Response, ApiV1StoreAdminProductsGet200Response, ApiV1StoreAdminProductsPost201Response, ApiV1StoreAdminProductsPostRequest, ApiV1StoreAdminProductsProductIdPatchRequest, ApiV1StoreCheckoutPost201Response, ApiV1StoreCheckoutPostRequest, ApiV1StoreProductsGet200Response, ApiV1StoreProductsProductIdGet200Response } from '../models/index.js';
|
|
14
|
+
export interface ApiV1StoreAdminOrderOrderIdGetRequest {
|
|
15
|
+
orderId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ApiV1StoreAdminOrdersOrderIdFulfillPostOperationRequest {
|
|
18
|
+
orderId: string;
|
|
19
|
+
apiV1StoreAdminOrdersOrderIdFulfillPostRequest: ApiV1StoreAdminOrdersOrderIdFulfillPostRequest;
|
|
20
|
+
}
|
|
21
|
+
export interface ApiV1StoreAdminOrdersOrderIdRefundPostOperationRequest {
|
|
22
|
+
orderId: string | null;
|
|
23
|
+
apiV1StoreAdminOrdersOrderIdRefundPostRequest: ApiV1StoreAdminOrdersOrderIdRefundPostRequest;
|
|
24
|
+
}
|
|
25
|
+
export interface ApiV1StoreAdminOrdersProductIdGetRequest {
|
|
26
|
+
productId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ApiV1StoreAdminProductsPostOperationRequest {
|
|
29
|
+
apiV1StoreAdminProductsPostRequest: ApiV1StoreAdminProductsPostRequest;
|
|
30
|
+
}
|
|
31
|
+
export interface ApiV1StoreAdminProductsProductIdPatchOperationRequest {
|
|
32
|
+
productId: string;
|
|
33
|
+
apiV1StoreAdminProductsProductIdPatchRequest: ApiV1StoreAdminProductsProductIdPatchRequest;
|
|
34
|
+
}
|
|
35
|
+
export interface ApiV1StoreCheckoutPostOperationRequest {
|
|
36
|
+
xTurnstileResponse: string;
|
|
37
|
+
apiV1StoreCheckoutPostRequest: ApiV1StoreCheckoutPostRequest;
|
|
38
|
+
xUiucToken?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ApiV1StoreProductsProductIdGetRequest {
|
|
41
|
+
productId: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
export declare class StoreApi extends runtime.BaseAPI {
|
|
47
|
+
/**
|
|
48
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
49
|
+
* Get order details for management.
|
|
50
|
+
*/
|
|
51
|
+
apiV1StoreAdminOrderOrderIdGetRaw(requestParameters: ApiV1StoreAdminOrderOrderIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreAdminOrderOrderIdGet200Response>>;
|
|
52
|
+
/**
|
|
53
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
54
|
+
* Get order details for management.
|
|
55
|
+
*/
|
|
56
|
+
apiV1StoreAdminOrderOrderIdGet(requestParameters: ApiV1StoreAdminOrderOrderIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminOrderOrderIdGet200Response>;
|
|
57
|
+
/**
|
|
58
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
59
|
+
* Fulfill an order\'s line items.
|
|
60
|
+
*/
|
|
61
|
+
apiV1StoreAdminOrdersOrderIdFulfillPostRaw(requestParameters: ApiV1StoreAdminOrdersOrderIdFulfillPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
|
|
62
|
+
/**
|
|
63
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
64
|
+
* Fulfill an order\'s line items.
|
|
65
|
+
*/
|
|
66
|
+
apiV1StoreAdminOrdersOrderIdFulfillPost(requestParameters: ApiV1StoreAdminOrdersOrderIdFulfillPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
67
|
+
/**
|
|
68
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
69
|
+
* Refund an order.
|
|
70
|
+
*/
|
|
71
|
+
apiV1StoreAdminOrdersOrderIdRefundPostRaw(requestParameters: ApiV1StoreAdminOrdersOrderIdRefundPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
|
|
72
|
+
/**
|
|
73
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
74
|
+
* Refund an order.
|
|
75
|
+
*/
|
|
76
|
+
apiV1StoreAdminOrdersOrderIdRefundPost(requestParameters: ApiV1StoreAdminOrdersOrderIdRefundPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
77
|
+
/**
|
|
78
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
79
|
+
* List all orders/line items for a given product.
|
|
80
|
+
*/
|
|
81
|
+
apiV1StoreAdminOrdersProductIdGetRaw(requestParameters: ApiV1StoreAdminOrdersProductIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreAdminOrdersProductIdGet200Response>>;
|
|
82
|
+
/**
|
|
83
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>) * Store Fulfillment (<code>fulfill:store</code>)
|
|
84
|
+
* List all orders/line items for a given product.
|
|
85
|
+
*/
|
|
86
|
+
apiV1StoreAdminOrdersProductIdGet(requestParameters: ApiV1StoreAdminOrdersProductIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminOrdersProductIdGet200Response>;
|
|
87
|
+
/**
|
|
88
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
89
|
+
* List all products (including inactive) for management.
|
|
90
|
+
*/
|
|
91
|
+
apiV1StoreAdminProductsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreAdminProductsGet200Response>>;
|
|
92
|
+
/**
|
|
93
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
94
|
+
* List all products (including inactive) for management.
|
|
95
|
+
*/
|
|
96
|
+
apiV1StoreAdminProductsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminProductsGet200Response>;
|
|
97
|
+
/**
|
|
98
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
99
|
+
* Create a new product with variants.
|
|
100
|
+
*/
|
|
101
|
+
apiV1StoreAdminProductsPostRaw(requestParameters: ApiV1StoreAdminProductsPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreAdminProductsPost201Response>>;
|
|
102
|
+
/**
|
|
103
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
104
|
+
* Create a new product with variants.
|
|
105
|
+
*/
|
|
106
|
+
apiV1StoreAdminProductsPost(requestParameters: ApiV1StoreAdminProductsPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreAdminProductsPost201Response>;
|
|
107
|
+
/**
|
|
108
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
109
|
+
* Modify the metadata for a given product.
|
|
110
|
+
*/
|
|
111
|
+
apiV1StoreAdminProductsProductIdPatchRaw(requestParameters: ApiV1StoreAdminProductsProductIdPatchOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
|
|
112
|
+
/**
|
|
113
|
+
* #### Authorization <hr /> Requires any of the following roles: * Store Manager (<code>manage:store</code>)
|
|
114
|
+
* Modify the metadata for a given product.
|
|
115
|
+
*/
|
|
116
|
+
apiV1StoreAdminProductsProductIdPatch(requestParameters: ApiV1StoreAdminProductsProductIdPatchOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
117
|
+
/**
|
|
118
|
+
* Create a checkout session for purchasing items.
|
|
119
|
+
*/
|
|
120
|
+
apiV1StoreCheckoutPostRaw(requestParameters: ApiV1StoreCheckoutPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreCheckoutPost201Response>>;
|
|
121
|
+
/**
|
|
122
|
+
* Create a checkout session for purchasing items.
|
|
123
|
+
*/
|
|
124
|
+
apiV1StoreCheckoutPost(requestParameters: ApiV1StoreCheckoutPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreCheckoutPost201Response>;
|
|
125
|
+
/**
|
|
126
|
+
* List all available products in the store.
|
|
127
|
+
*/
|
|
128
|
+
apiV1StoreProductsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreProductsGet200Response>>;
|
|
129
|
+
/**
|
|
130
|
+
* List all available products in the store.
|
|
131
|
+
*/
|
|
132
|
+
apiV1StoreProductsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreProductsGet200Response>;
|
|
133
|
+
/**
|
|
134
|
+
* Get details of a specific product.
|
|
135
|
+
*/
|
|
136
|
+
apiV1StoreProductsProductIdGetRaw(requestParameters: ApiV1StoreProductsProductIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1StoreProductsProductIdGet200Response>>;
|
|
137
|
+
/**
|
|
138
|
+
* Get details of a specific product.
|
|
139
|
+
*/
|
|
140
|
+
apiV1StoreProductsProductIdGet(requestParameters: ApiV1StoreProductsProductIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1StoreProductsProductIdGet200Response>;
|
|
141
|
+
}
|