@acm-uiuc/core-client 0.0.1 → 4.1.9
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 +0 -102
- package/README.md +7 -8
- package/dist/apis/APIKeysApi.d.ts +1 -1
- package/dist/apis/APIKeysApi.js +1 -1
- package/dist/apis/EventsApi.d.ts +1 -1
- package/dist/apis/EventsApi.js +1 -1
- package/dist/apis/GenericApi.d.ts +4 -4
- package/dist/apis/GenericApi.js +4 -3
- package/dist/apis/IAMApi.d.ts +1 -1
- package/dist/apis/IAMApi.js +1 -1
- package/dist/apis/ICalendarIntegrationApi.d.ts +1 -1
- package/dist/apis/ICalendarIntegrationApi.js +1 -1
- package/dist/apis/LinkryApi.d.ts +1 -1
- package/dist/apis/LinkryApi.js +1 -1
- package/dist/apis/LoggingApi.d.ts +1 -1
- package/dist/apis/LoggingApi.js +1 -1
- package/dist/apis/MembershipApi.d.ts +1 -1
- package/dist/apis/MembershipApi.js +1 -1
- package/dist/apis/MobileWalletApi.d.ts +1 -1
- package/dist/apis/MobileWalletApi.js +1 -1
- package/dist/apis/OrganizationsApi.d.ts +1 -1
- package/dist/apis/OrganizationsApi.js +1 -1
- package/dist/apis/RSVPApi.d.ts +1 -1
- package/dist/apis/RSVPApi.js +1 -1
- package/dist/apis/RoomRequestsApi.d.ts +1 -1
- package/dist/apis/RoomRequestsApi.js +1 -1
- package/dist/apis/StoreApi.d.ts +1 -1
- package/dist/apis/StoreApi.js +1 -1
- package/dist/apis/StripeApi.d.ts +1 -1
- package/dist/apis/StripeApi.js +1 -1
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/esm/apis/APIKeysApi.d.ts +1 -1
- package/dist/esm/apis/APIKeysApi.js +1 -1
- package/dist/esm/apis/EventsApi.d.ts +1 -1
- package/dist/esm/apis/EventsApi.js +1 -1
- package/dist/esm/apis/GenericApi.d.ts +4 -4
- package/dist/esm/apis/GenericApi.js +4 -3
- package/dist/esm/apis/IAMApi.d.ts +1 -1
- package/dist/esm/apis/IAMApi.js +1 -1
- package/dist/esm/apis/ICalendarIntegrationApi.d.ts +1 -1
- package/dist/esm/apis/ICalendarIntegrationApi.js +1 -1
- package/dist/esm/apis/LinkryApi.d.ts +1 -1
- package/dist/esm/apis/LinkryApi.js +1 -1
- package/dist/esm/apis/LoggingApi.d.ts +1 -1
- package/dist/esm/apis/LoggingApi.js +1 -1
- package/dist/esm/apis/MembershipApi.d.ts +1 -1
- package/dist/esm/apis/MembershipApi.js +1 -1
- package/dist/esm/apis/MobileWalletApi.d.ts +1 -1
- package/dist/esm/apis/MobileWalletApi.js +1 -1
- package/dist/esm/apis/OrganizationsApi.d.ts +1 -1
- package/dist/esm/apis/OrganizationsApi.js +1 -1
- package/dist/esm/apis/RSVPApi.d.ts +1 -1
- package/dist/esm/apis/RSVPApi.js +1 -1
- package/dist/esm/apis/RoomRequestsApi.d.ts +1 -1
- package/dist/esm/apis/RoomRequestsApi.js +1 -1
- package/dist/esm/apis/StoreApi.d.ts +1 -1
- package/dist/esm/apis/StoreApi.js +1 -1
- package/dist/esm/apis/StripeApi.d.ts +1 -1
- package/dist/esm/apis/StripeApi.js +1 -1
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -1
- package/dist/esm/models/index.d.ts +82 -25
- package/dist/esm/models/index.js +36 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +2 -2
- package/dist/models/index.d.ts +82 -25
- package/dist/models/index.js +38 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/package.json +1 -1
- package/dist/apis/VendingApi.d.ts +0 -33
- package/dist/apis/VendingApi.js +0 -83
- package/dist/esm/apis/VendingApi.d.ts +0 -33
- package/dist/esm/apis/VendingApi.js +0 -79
package/dist/models/index.d.ts
CHANGED
|
@@ -1236,6 +1236,88 @@ export declare const ApiV1OrganizationsOrgIdMetaPostRequestLinksInnerTypeEnum: {
|
|
|
1236
1236
|
readonly Other: "OTHER";
|
|
1237
1237
|
};
|
|
1238
1238
|
export type ApiV1OrganizationsOrgIdMetaPostRequestLinksInnerTypeEnum = typeof ApiV1OrganizationsOrgIdMetaPostRequestLinksInnerTypeEnum[keyof typeof ApiV1OrganizationsOrgIdMetaPostRequestLinksInnerTypeEnum];
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @export
|
|
1242
|
+
* @interface ApiV1ProtectedGet200Response
|
|
1243
|
+
*/
|
|
1244
|
+
export interface ApiV1ProtectedGet200Response {
|
|
1245
|
+
/**
|
|
1246
|
+
*
|
|
1247
|
+
* @type {string}
|
|
1248
|
+
* @memberof ApiV1ProtectedGet200Response
|
|
1249
|
+
*/
|
|
1250
|
+
username: string | null;
|
|
1251
|
+
/**
|
|
1252
|
+
* A list of application roles the user has.
|
|
1253
|
+
* @type {Array<string>}
|
|
1254
|
+
* @memberof ApiV1ProtectedGet200Response
|
|
1255
|
+
*/
|
|
1256
|
+
roles: Array<ApiV1ProtectedGet200ResponseRolesEnum>;
|
|
1257
|
+
/**
|
|
1258
|
+
* A list of roles that the user has in various ACM sub-organizations.
|
|
1259
|
+
* @type {Array<ApiV1ProtectedGet200ResponseOrgRolesInner>}
|
|
1260
|
+
* @memberof ApiV1ProtectedGet200Response
|
|
1261
|
+
*/
|
|
1262
|
+
orgRoles: Array<ApiV1ProtectedGet200ResponseOrgRolesInner>;
|
|
1263
|
+
}
|
|
1264
|
+
/**
|
|
1265
|
+
* @export
|
|
1266
|
+
*/
|
|
1267
|
+
export declare const ApiV1ProtectedGet200ResponseRolesEnum: {
|
|
1268
|
+
readonly ManageEvents: "manage:events";
|
|
1269
|
+
readonly ManageRsvps: "manage:rsvps";
|
|
1270
|
+
readonly ViewRsvps: "view:rsvps";
|
|
1271
|
+
readonly ScanTickets: "scan:tickets";
|
|
1272
|
+
readonly ManageTickets: "manage:tickets";
|
|
1273
|
+
readonly AdminIam: "admin:iam";
|
|
1274
|
+
readonly InviteIam: "invite:iam";
|
|
1275
|
+
readonly ManageLinks: "manage:links";
|
|
1276
|
+
readonly AdminLinks: "admin:links";
|
|
1277
|
+
readonly CreateStripeLink: "create:stripeLink";
|
|
1278
|
+
readonly BypassOla: "bypass:ola";
|
|
1279
|
+
readonly ViewAllRoomRequest: "viewAll:roomRequest";
|
|
1280
|
+
readonly CreateRoomRequest: "create:roomRequest";
|
|
1281
|
+
readonly UpdateRoomRequest: "update:roomRequest";
|
|
1282
|
+
readonly ViewAuditLog: "view:auditLog";
|
|
1283
|
+
readonly ManageOrgApiKey: "manage:orgApiKey";
|
|
1284
|
+
readonly ViewInternalMembershipList: "view:internalMembershipList";
|
|
1285
|
+
readonly ViewExternalMembershipList: "view:externalMembershipList";
|
|
1286
|
+
readonly ManageExternalMembershipList: "manage:externalMembershipList";
|
|
1287
|
+
readonly ManageOrgDefinitions: "manage:orgDefinitions";
|
|
1288
|
+
readonly ViewUserInfo: "view:userInfo";
|
|
1289
|
+
readonly ManageStore: "manage:store";
|
|
1290
|
+
readonly FulfillStore: "fulfill:store";
|
|
1291
|
+
readonly MetaRoleManageSomeOrg: "__metaRole:manage:someOrg";
|
|
1292
|
+
};
|
|
1293
|
+
export type ApiV1ProtectedGet200ResponseRolesEnum = typeof ApiV1ProtectedGet200ResponseRolesEnum[keyof typeof ApiV1ProtectedGet200ResponseRolesEnum];
|
|
1294
|
+
/**
|
|
1295
|
+
*
|
|
1296
|
+
* @export
|
|
1297
|
+
* @interface ApiV1ProtectedGet200ResponseOrgRolesInner
|
|
1298
|
+
*/
|
|
1299
|
+
export interface ApiV1ProtectedGet200ResponseOrgRolesInner {
|
|
1300
|
+
/**
|
|
1301
|
+
*
|
|
1302
|
+
* @type {OrgUniqueId}
|
|
1303
|
+
* @memberof ApiV1ProtectedGet200ResponseOrgRolesInner
|
|
1304
|
+
*/
|
|
1305
|
+
org: OrgUniqueId;
|
|
1306
|
+
/**
|
|
1307
|
+
*
|
|
1308
|
+
* @type {string}
|
|
1309
|
+
* @memberof ApiV1ProtectedGet200ResponseOrgRolesInner
|
|
1310
|
+
*/
|
|
1311
|
+
role: ApiV1ProtectedGet200ResponseOrgRolesInnerRoleEnum;
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
* @export
|
|
1315
|
+
*/
|
|
1316
|
+
export declare const ApiV1ProtectedGet200ResponseOrgRolesInnerRoleEnum: {
|
|
1317
|
+
readonly Lead: "LEAD";
|
|
1318
|
+
readonly Member: "MEMBER";
|
|
1319
|
+
};
|
|
1320
|
+
export type ApiV1ProtectedGet200ResponseOrgRolesInnerRoleEnum = typeof ApiV1ProtectedGet200ResponseOrgRolesInnerRoleEnum[keyof typeof ApiV1ProtectedGet200ResponseOrgRolesInnerRoleEnum];
|
|
1239
1321
|
/**
|
|
1240
1322
|
*
|
|
1241
1323
|
* @export
|
|
@@ -2794,31 +2876,6 @@ export interface ApiV1UsersFindUserByUinPostRequest {
|
|
|
2794
2876
|
*/
|
|
2795
2877
|
uin: string;
|
|
2796
2878
|
}
|
|
2797
|
-
/**
|
|
2798
|
-
*
|
|
2799
|
-
* @export
|
|
2800
|
-
* @interface ApiV1VendingItemsPostRequest
|
|
2801
|
-
*/
|
|
2802
|
-
export interface ApiV1VendingItemsPostRequest {
|
|
2803
|
-
/**
|
|
2804
|
-
*
|
|
2805
|
-
* @type {string}
|
|
2806
|
-
* @memberof ApiV1VendingItemsPostRequest
|
|
2807
|
-
*/
|
|
2808
|
-
name: string | null;
|
|
2809
|
-
/**
|
|
2810
|
-
*
|
|
2811
|
-
* @type {string}
|
|
2812
|
-
* @memberof ApiV1VendingItemsPostRequest
|
|
2813
|
-
*/
|
|
2814
|
-
imageUrl: string;
|
|
2815
|
-
/**
|
|
2816
|
-
*
|
|
2817
|
-
* @type {number}
|
|
2818
|
-
* @memberof ApiV1VendingItemsPostRequest
|
|
2819
|
-
*/
|
|
2820
|
-
price: number;
|
|
2821
|
-
}
|
|
2822
2879
|
/**
|
|
2823
2880
|
*
|
|
2824
2881
|
* @export
|
package/dist/models/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
6
|
-
exports.ValidationErrorErrorEnum = exports.RsvpConfigRsvpQuestionsInnerOneOf2TypeEnum = exports.RsvpConfigRsvpQuestionsInnerOneOf1TypeEnum = exports.RsvpConfigRsvpQuestionsInnerOneOfTypeEnum = exports.RsvpConfigOutputRsvpQuestionsInnerOneOf2TypeEnum = void 0;
|
|
5
|
+
exports.ResourceConflictErrorIdEnum = exports.ResourceConflictErrorNameEnum = exports.ResourceConflictErrorErrorEnum = exports.RateLimitExceededErrorMessageEnum = exports.RateLimitExceededErrorIdEnum = exports.RateLimitExceededErrorNameEnum = exports.RateLimitExceededErrorErrorEnum = exports.OrgUniqueId = exports.NotFoundErrorIdEnum = exports.NotFoundErrorNameEnum = exports.NotFoundErrorErrorEnum = exports.NotAuthorizedErrorIdEnum = exports.NotAuthorizedErrorNameEnum = exports.NotAuthorizedErrorErrorEnum = exports.NotAuthenticatedErrorIdEnum = exports.NotAuthenticatedErrorNameEnum = exports.NotAuthenticatedErrorErrorEnum = exports.ApiV1StoreProductsProductIdGet200ResponseLimitConfigurationLimitTypeEnum = exports.ApiV1StoreProductsProductIdGet200ResponseInventoryModeEnum = exports.ApiV1StoreProductsGet200ResponseProductsInnerLimitConfigurationLimitTypeEnum = exports.ApiV1StoreProductsGet200ResponseProductsInnerInventoryModeEnum = exports.ApiV1StoreAdminProductsPostRequestLimitConfigurationLimitTypeEnum = exports.ApiV1StoreAdminProductsPostRequestInventoryModeEnum = exports.ApiV1StoreAdminProductsGet200ResponseProductsInnerInventoryModeEnum = exports.ApiV1StoreAdminOrdersProductIdGet200ResponseItemsInnerStatusEnum = exports.ApiV1StoreAdminOrderOrderIdGet200ResponseLineItemsInnerStatusEnum = exports.ApiV1StoreAdminOrderOrderIdGet200ResponseStatusEnum = exports.ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestAttachmentInfoContentTypeEnum = exports.ApiV1RoomRequestsSemesterIdRequestIdStatusPostRequestStatusEnum = exports.ApiV1RoomRequestsPostRequestLocationTypeEnum = exports.ApiV1RoomRequestsPostRequestRecurrencePatternEnum = exports.ApiV1RoomRequestsPostRequestThemeEnum = exports.ApiV1ProtectedGet200ResponseOrgRolesInnerRoleEnum = exports.ApiV1ProtectedGet200ResponseRolesEnum = exports.ApiV1OrganizationsOrgIdMetaPostRequestLinksInnerTypeEnum = exports.ApiV1OrganizationsOrgIdGet200ResponseLinksInnerTypeEnum = exports.ApiV1OrganizationsOrgIdGet200ResponseTypeEnum = exports.ApiV1OrganizationsOrgIdGet200ResponseNameEnum = exports.ApiV1OrganizationsGet200ResponseInnerLinksInnerTypeEnum = exports.ApiV1OrganizationsGet200ResponseInnerTypeEnum = exports.ApiV1OrganizationsGet200ResponseInnerNameEnum = exports.ApiV1EventsPostRequestRepeatsEnum = exports.ApiV1EventsIdPatchRequestRepeatsEnum = exports.ApiV1EventsIdGet200ResponseRepeatsEnum = exports.ApiV1EventsGet200ResponseInnerRepeatsEnum = exports.ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfParamsHostEnum = exports.ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOf1NameEnum = exports.ApiV1ApiKeyOrgPostRequestRestrictionsInnerOneOfNameEnum = exports.ApiV1ApiKeyOrgPostRequestRolesEnum = exports.AcmOrganization = void 0;
|
|
6
|
+
exports.ValidationErrorErrorEnum = exports.RsvpConfigRsvpQuestionsInnerOneOf2TypeEnum = exports.RsvpConfigRsvpQuestionsInnerOneOf1TypeEnum = exports.RsvpConfigRsvpQuestionsInnerOneOfTypeEnum = exports.RsvpConfigOutputRsvpQuestionsInnerOneOf2TypeEnum = exports.RsvpConfigOutputRsvpQuestionsInnerOneOf1TypeEnum = exports.RsvpConfigOutputRsvpQuestionsInnerOneOfTypeEnum = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* ACM Organization
|
|
9
9
|
* @export
|
|
@@ -241,6 +241,42 @@ exports.ApiV1OrganizationsOrgIdMetaPostRequestLinksInnerTypeEnum = {
|
|
|
241
241
|
Instagram: 'INSTAGRAM',
|
|
242
242
|
Other: 'OTHER'
|
|
243
243
|
};
|
|
244
|
+
/**
|
|
245
|
+
* @export
|
|
246
|
+
*/
|
|
247
|
+
exports.ApiV1ProtectedGet200ResponseRolesEnum = {
|
|
248
|
+
ManageEvents: 'manage:events',
|
|
249
|
+
ManageRsvps: 'manage:rsvps',
|
|
250
|
+
ViewRsvps: 'view:rsvps',
|
|
251
|
+
ScanTickets: 'scan:tickets',
|
|
252
|
+
ManageTickets: 'manage:tickets',
|
|
253
|
+
AdminIam: 'admin:iam',
|
|
254
|
+
InviteIam: 'invite:iam',
|
|
255
|
+
ManageLinks: 'manage:links',
|
|
256
|
+
AdminLinks: 'admin:links',
|
|
257
|
+
CreateStripeLink: 'create:stripeLink',
|
|
258
|
+
BypassOla: 'bypass:ola',
|
|
259
|
+
ViewAllRoomRequest: 'viewAll:roomRequest',
|
|
260
|
+
CreateRoomRequest: 'create:roomRequest',
|
|
261
|
+
UpdateRoomRequest: 'update:roomRequest',
|
|
262
|
+
ViewAuditLog: 'view:auditLog',
|
|
263
|
+
ManageOrgApiKey: 'manage:orgApiKey',
|
|
264
|
+
ViewInternalMembershipList: 'view:internalMembershipList',
|
|
265
|
+
ViewExternalMembershipList: 'view:externalMembershipList',
|
|
266
|
+
ManageExternalMembershipList: 'manage:externalMembershipList',
|
|
267
|
+
ManageOrgDefinitions: 'manage:orgDefinitions',
|
|
268
|
+
ViewUserInfo: 'view:userInfo',
|
|
269
|
+
ManageStore: 'manage:store',
|
|
270
|
+
FulfillStore: 'fulfill:store',
|
|
271
|
+
MetaRoleManageSomeOrg: '__metaRole:manage:someOrg'
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* @export
|
|
275
|
+
*/
|
|
276
|
+
exports.ApiV1ProtectedGet200ResponseOrgRolesInnerRoleEnum = {
|
|
277
|
+
Lead: 'LEAD',
|
|
278
|
+
Member: 'MEMBER'
|
|
279
|
+
};
|
|
244
280
|
/**
|
|
245
281
|
* @export
|
|
246
282
|
*/
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ACM @ UIUC Core API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.9
|
|
6
6
|
* Contact: infra@acm.illinois.edu
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ACM @ UIUC Core API
|
|
6
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
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.9
|
|
9
9
|
* Contact: infra@acm.illinois.edu
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = ex
|
|
|
26
26
|
exports.querystring = querystring;
|
|
27
27
|
exports.exists = exists;
|
|
28
28
|
exports.canConsumeForm = canConsumeForm;
|
|
29
|
-
exports.BASE_PATH = "https://core.
|
|
29
|
+
exports.BASE_PATH = "https://core.acm.illinois.edu".replace(/\/+$/, "");
|
|
30
30
|
class Configuration {
|
|
31
31
|
constructor(configuration = {}) {
|
|
32
32
|
this.configuration = configuration;
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/apis/VendingApi.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
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.VendingApi = void 0;
|
|
26
|
-
const runtime = require("../runtime.js");
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
class VendingApi extends runtime.BaseAPI {
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
apiV1VendingItemsGetRaw(initOverrides) {
|
|
34
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
const queryParameters = {};
|
|
36
|
-
const headerParameters = {};
|
|
37
|
-
let urlPath = `/api/v1/vending/items`;
|
|
38
|
-
const response = yield this.request({
|
|
39
|
-
path: urlPath,
|
|
40
|
-
method: 'GET',
|
|
41
|
-
headers: headerParameters,
|
|
42
|
-
query: queryParameters,
|
|
43
|
-
}, initOverrides);
|
|
44
|
-
return new runtime.VoidApiResponse(response);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
*/
|
|
49
|
-
apiV1VendingItemsGet(initOverrides) {
|
|
50
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
-
yield this.apiV1VendingItemsGetRaw(initOverrides);
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
*/
|
|
56
|
-
apiV1VendingItemsPostRaw(requestParameters, initOverrides) {
|
|
57
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
-
if (requestParameters['apiV1VendingItemsPostRequest'] == null) {
|
|
59
|
-
throw new runtime.RequiredError('apiV1VendingItemsPostRequest', 'Required parameter "apiV1VendingItemsPostRequest" was null or undefined when calling apiV1VendingItemsPost().');
|
|
60
|
-
}
|
|
61
|
-
const queryParameters = {};
|
|
62
|
-
const headerParameters = {};
|
|
63
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
64
|
-
let urlPath = `/api/v1/vending/items`;
|
|
65
|
-
const response = yield this.request({
|
|
66
|
-
path: urlPath,
|
|
67
|
-
method: 'POST',
|
|
68
|
-
headers: headerParameters,
|
|
69
|
-
query: queryParameters,
|
|
70
|
-
body: requestParameters['apiV1VendingItemsPostRequest'],
|
|
71
|
-
}, initOverrides);
|
|
72
|
-
return new runtime.VoidApiResponse(response);
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
|
-
apiV1VendingItemsPost(requestParameters, initOverrides) {
|
|
78
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
yield this.apiV1VendingItemsPostRaw(requestParameters, initOverrides);
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.VendingApi = VendingApi;
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
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
|
-
}
|