@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,33 @@
|
|
|
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 { ApiV1VendingItemsPostRequest } from '../models/index.js';
|
|
14
|
+
export interface ApiV1VendingItemsPostOperationRequest {
|
|
15
|
+
apiV1VendingItemsPostRequest: ApiV1VendingItemsPostRequest;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class VendingApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
*/
|
|
23
|
+
apiV1VendingItemsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
24
|
+
/**
|
|
25
|
+
*/
|
|
26
|
+
apiV1VendingItemsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
*/
|
|
29
|
+
apiV1VendingItemsPostRaw(requestParameters: ApiV1VendingItemsPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
30
|
+
/**
|
|
31
|
+
*/
|
|
32
|
+
apiV1VendingItemsPost(requestParameters: ApiV1VendingItemsPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ACM @ UIUC Core API
|
|
5
|
+
* 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\".**
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0.1
|
|
8
|
+
* Contact: infra@acm.illinois.edu
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime.js';
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export class VendingApi extends runtime.BaseAPI {
|
|
28
|
+
/**
|
|
29
|
+
*/
|
|
30
|
+
apiV1VendingItemsGetRaw(initOverrides) {
|
|
31
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
const queryParameters = {};
|
|
33
|
+
const headerParameters = {};
|
|
34
|
+
let urlPath = `/api/v1/vending/items`;
|
|
35
|
+
const response = yield this.request({
|
|
36
|
+
path: urlPath,
|
|
37
|
+
method: 'GET',
|
|
38
|
+
headers: headerParameters,
|
|
39
|
+
query: queryParameters,
|
|
40
|
+
}, initOverrides);
|
|
41
|
+
return new runtime.VoidApiResponse(response);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
*/
|
|
46
|
+
apiV1VendingItemsGet(initOverrides) {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
yield this.apiV1VendingItemsGetRaw(initOverrides);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*/
|
|
53
|
+
apiV1VendingItemsPostRaw(requestParameters, initOverrides) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
if (requestParameters['apiV1VendingItemsPostRequest'] == null) {
|
|
56
|
+
throw new runtime.RequiredError('apiV1VendingItemsPostRequest', 'Required parameter "apiV1VendingItemsPostRequest" was null or undefined when calling apiV1VendingItemsPost().');
|
|
57
|
+
}
|
|
58
|
+
const queryParameters = {};
|
|
59
|
+
const headerParameters = {};
|
|
60
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
61
|
+
let urlPath = `/api/v1/vending/items`;
|
|
62
|
+
const response = yield this.request({
|
|
63
|
+
path: urlPath,
|
|
64
|
+
method: 'POST',
|
|
65
|
+
headers: headerParameters,
|
|
66
|
+
query: queryParameters,
|
|
67
|
+
body: requestParameters['apiV1VendingItemsPostRequest'],
|
|
68
|
+
}, initOverrides);
|
|
69
|
+
return new runtime.VoidApiResponse(response);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
*/
|
|
74
|
+
apiV1VendingItemsPost(requestParameters, initOverrides) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
yield this.apiV1VendingItemsPostRaw(requestParameters, initOverrides);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './APIKeysApi.js';
|
|
2
|
+
export * from './EventsApi.js';
|
|
3
|
+
export * from './GenericApi.js';
|
|
4
|
+
export * from './IAMApi.js';
|
|
5
|
+
export * from './ICalendarIntegrationApi.js';
|
|
6
|
+
export * from './LinkryApi.js';
|
|
7
|
+
export * from './LoggingApi.js';
|
|
8
|
+
export * from './MembershipApi.js';
|
|
9
|
+
export * from './MobileWalletApi.js';
|
|
10
|
+
export * from './OrganizationsApi.js';
|
|
11
|
+
export * from './RSVPApi.js';
|
|
12
|
+
export * from './RoomRequestsApi.js';
|
|
13
|
+
export * from './StoreApi.js';
|
|
14
|
+
export * from './StripeApi.js';
|
|
15
|
+
export * from './VendingApi.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './APIKeysApi.js';
|
|
4
|
+
export * from './EventsApi.js';
|
|
5
|
+
export * from './GenericApi.js';
|
|
6
|
+
export * from './IAMApi.js';
|
|
7
|
+
export * from './ICalendarIntegrationApi.js';
|
|
8
|
+
export * from './LinkryApi.js';
|
|
9
|
+
export * from './LoggingApi.js';
|
|
10
|
+
export * from './MembershipApi.js';
|
|
11
|
+
export * from './MobileWalletApi.js';
|
|
12
|
+
export * from './OrganizationsApi.js';
|
|
13
|
+
export * from './RSVPApi.js';
|
|
14
|
+
export * from './RoomRequestsApi.js';
|
|
15
|
+
export * from './StoreApi.js';
|
|
16
|
+
export * from './StripeApi.js';
|
|
17
|
+
export * from './VendingApi.js';
|