@nycu-sdc/core-system-sdk 0.1.0
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/LICENSE +201 -0
- package/README.md +74 -0
- package/dist/index.d.ts +756 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +664 -0
- package/dist/model/authLoginGoogleParams.d.ts +17 -0
- package/dist/model/authLoginGoogleParams.d.ts.map +1 -0
- package/dist/model/authLoginGoogleParams.js +7 -0
- package/dist/model/authOAuthProviders.d.ts +11 -0
- package/dist/model/authOAuthProviders.d.ts.map +1 -0
- package/dist/model/authOAuthProviders.js +9 -0
- package/dist/model/authRefreshToken.d.ts +15 -0
- package/dist/model/authRefreshToken.d.ts.map +1 -0
- package/dist/model/authRefreshToken.js +7 -0
- package/dist/model/formsChoice.d.ts +17 -0
- package/dist/model/formsChoice.d.ts.map +1 -0
- package/dist/model/formsChoice.js +1 -0
- package/dist/model/formsChoiceOption.d.ts +14 -0
- package/dist/model/formsChoiceOption.d.ts.map +1 -0
- package/dist/model/formsChoiceOption.js +7 -0
- package/dist/model/formsForm.d.ts +34 -0
- package/dist/model/formsForm.d.ts.map +1 -0
- package/dist/model/formsForm.js +1 -0
- package/dist/model/formsFormRequest.d.ts +20 -0
- package/dist/model/formsFormRequest.d.ts.map +1 -0
- package/dist/model/formsFormRequest.js +7 -0
- package/dist/model/formsFormStatus.d.ts +15 -0
- package/dist/model/formsFormStatus.d.ts.map +1 -0
- package/dist/model/formsFormStatus.js +10 -0
- package/dist/model/formsQuestion.d.ts +35 -0
- package/dist/model/formsQuestion.d.ts.map +1 -0
- package/dist/model/formsQuestion.js +1 -0
- package/dist/model/formsQuestionRequest.d.ts +26 -0
- package/dist/model/formsQuestionRequest.d.ts.map +1 -0
- package/dist/model/formsQuestionRequest.js +1 -0
- package/dist/model/formsQuestionTypes.d.ts +18 -0
- package/dist/model/formsQuestionTypes.d.ts.map +1 -0
- package/dist/model/formsQuestionTypes.js +13 -0
- package/dist/model/formsRecipientSelectionRequest.d.ts +17 -0
- package/dist/model/formsRecipientSelectionRequest.d.ts.map +1 -0
- package/dist/model/formsRecipientSelectionRequest.js +1 -0
- package/dist/model/formsRecipientSelectionResponse.d.ts +14 -0
- package/dist/model/formsRecipientSelectionResponse.d.ts.map +1 -0
- package/dist/model/formsRecipientSelectionResponse.js +1 -0
- package/dist/model/formsRecipientUser.d.ts +15 -0
- package/dist/model/formsRecipientUser.d.ts.map +1 -0
- package/dist/model/formsRecipientUser.js +1 -0
- package/dist/model/inboxGetInboxMessages200.d.ts +16 -0
- package/dist/model/inboxGetInboxMessages200.d.ts.map +1 -0
- package/dist/model/inboxGetInboxMessages200.js +1 -0
- package/dist/model/inboxGetInboxMessagesParams.d.ts +17 -0
- package/dist/model/inboxGetInboxMessagesParams.d.ts.map +1 -0
- package/dist/model/inboxGetInboxMessagesParams.js +1 -0
- package/dist/model/inboxInboxFormMessage.d.ts +34 -0
- package/dist/model/inboxInboxFormMessage.d.ts.map +1 -0
- package/dist/model/inboxInboxFormMessage.js +1 -0
- package/dist/model/inboxInboxFormMessageType.d.ts +15 -0
- package/dist/model/inboxInboxFormMessageType.d.ts.map +1 -0
- package/dist/model/inboxInboxFormMessageType.js +10 -0
- package/dist/model/inboxUpdateInboxMessageFlagBody.d.ts +12 -0
- package/dist/model/inboxUpdateInboxMessageFlagBody.d.ts.map +1 -0
- package/dist/model/inboxUpdateInboxMessageFlagBody.js +7 -0
- package/dist/model/inboxUserInboxMessage.d.ts +24 -0
- package/dist/model/inboxUserInboxMessage.d.ts.map +1 -0
- package/dist/model/inboxUserInboxMessage.js +1 -0
- package/dist/model/inboxUserInboxMessageDetail.d.ts +27 -0
- package/dist/model/inboxUserInboxMessageDetail.d.ts.map +1 -0
- package/dist/model/inboxUserInboxMessageDetail.js +1 -0
- package/dist/model/inboxUserInboxMessageFilters.d.ts +18 -0
- package/dist/model/inboxUserInboxMessageFilters.d.ts.map +1 -0
- package/dist/model/inboxUserInboxMessageFilters.js +7 -0
- package/dist/model/index.d.ts +80 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model/index.js +79 -0
- package/dist/model/notFound.d.ts +16 -0
- package/dist/model/notFound.d.ts.map +1 -0
- package/dist/model/notFound.js +1 -0
- package/dist/model/notFoundStatus.d.ts +11 -0
- package/dist/model/notFoundStatus.d.ts.map +1 -0
- package/dist/model/notFoundStatus.js +9 -0
- package/dist/model/notFoundTitle.d.ts +11 -0
- package/dist/model/notFoundTitle.d.ts.map +1 -0
- package/dist/model/notFoundTitle.js +9 -0
- package/dist/model/notFoundType.d.ts +11 -0
- package/dist/model/notFoundType.d.ts.map +1 -0
- package/dist/model/notFoundType.js +9 -0
- package/dist/model/problemDetail.d.ts +20 -0
- package/dist/model/problemDetail.d.ts.map +1 -0
- package/dist/model/problemDetail.js +7 -0
- package/dist/model/responsesAnswerForQuestionResponse.d.ts +25 -0
- package/dist/model/responsesAnswerForQuestionResponse.d.ts.map +1 -0
- package/dist/model/responsesAnswerForQuestionResponse.js +1 -0
- package/dist/model/responsesAnswerRequest.d.ts +17 -0
- package/dist/model/responsesAnswerRequest.d.ts.map +1 -0
- package/dist/model/responsesAnswerRequest.js +1 -0
- package/dist/model/responsesAnswersForQuestionResponse.d.ts +18 -0
- package/dist/model/responsesAnswersForQuestionResponse.d.ts.map +1 -0
- package/dist/model/responsesAnswersForQuestionResponse.js +1 -0
- package/dist/model/responsesGetResponse.d.ts +26 -0
- package/dist/model/responsesGetResponse.d.ts.map +1 -0
- package/dist/model/responsesGetResponse.js +1 -0
- package/dist/model/responsesListResponse.d.ts +18 -0
- package/dist/model/responsesListResponse.d.ts.map +1 -0
- package/dist/model/responsesListResponse.js +1 -0
- package/dist/model/responsesQuestionAnswerForGetResponse.d.ts +17 -0
- package/dist/model/responsesQuestionAnswerForGetResponse.d.ts.map +1 -0
- package/dist/model/responsesQuestionAnswerForGetResponse.js +1 -0
- package/dist/model/responsesResponseJSON.d.ts +21 -0
- package/dist/model/responsesResponseJSON.d.ts.map +1 -0
- package/dist/model/responsesResponseJSON.js +1 -0
- package/dist/model/responsesSubmitRequest.d.ts +15 -0
- package/dist/model/responsesSubmitRequest.d.ts.map +1 -0
- package/dist/model/responsesSubmitRequest.js +1 -0
- package/dist/model/responsesSubmitResponse.d.ts +21 -0
- package/dist/model/responsesSubmitResponse.d.ts.map +1 -0
- package/dist/model/responsesSubmitResponse.js +1 -0
- package/dist/model/slugGetSlugHistory200.d.ts +13 -0
- package/dist/model/slugGetSlugHistory200.d.ts.map +1 -0
- package/dist/model/slugGetSlugHistory200.js +1 -0
- package/dist/model/slugHistory.d.ts +21 -0
- package/dist/model/slugHistory.d.ts.map +1 -0
- package/dist/model/slugHistory.js +1 -0
- package/dist/model/slugStatus.d.ts +17 -0
- package/dist/model/slugStatus.d.ts.map +1 -0
- package/dist/model/slugStatus.js +1 -0
- package/dist/model/unauthorized.d.ts +16 -0
- package/dist/model/unauthorized.d.ts.map +1 -0
- package/dist/model/unauthorized.js +1 -0
- package/dist/model/unauthorizedStatus.d.ts +11 -0
- package/dist/model/unauthorizedStatus.d.ts.map +1 -0
- package/dist/model/unauthorizedStatus.js +9 -0
- package/dist/model/unauthorizedTitle.d.ts +11 -0
- package/dist/model/unauthorizedTitle.d.ts.map +1 -0
- package/dist/model/unauthorizedTitle.js +9 -0
- package/dist/model/unauthorizedType.d.ts +11 -0
- package/dist/model/unauthorizedType.d.ts.map +1 -0
- package/dist/model/unauthorizedType.js +9 -0
- package/dist/model/unitBase.d.ts +26 -0
- package/dist/model/unitBase.d.ts.map +1 -0
- package/dist/model/unitBase.js +1 -0
- package/dist/model/unitBaseMetadata.d.ts +13 -0
- package/dist/model/unitBaseMetadata.d.ts.map +1 -0
- package/dist/model/unitBaseMetadata.js +7 -0
- package/dist/model/unitBaseRequest.d.ts +19 -0
- package/dist/model/unitBaseRequest.d.ts.map +1 -0
- package/dist/model/unitBaseRequest.js +1 -0
- package/dist/model/unitBaseRequestMetadata.d.ts +13 -0
- package/dist/model/unitBaseRequestMetadata.d.ts.map +1 -0
- package/dist/model/unitBaseRequestMetadata.js +7 -0
- package/dist/model/unitCreateOrgRequest.d.ts +17 -0
- package/dist/model/unitCreateOrgRequest.d.ts.map +1 -0
- package/dist/model/unitCreateOrgRequest.js +1 -0
- package/dist/model/unitCreateOrgRequestMetadata.d.ts +13 -0
- package/dist/model/unitCreateOrgRequestMetadata.d.ts.map +1 -0
- package/dist/model/unitCreateOrgRequestMetadata.js +7 -0
- package/dist/model/unitCreateUnitRequest.d.ts +16 -0
- package/dist/model/unitCreateUnitRequest.d.ts.map +1 -0
- package/dist/model/unitCreateUnitRequest.js +1 -0
- package/dist/model/unitCreateUnitRequestMetadata.d.ts +13 -0
- package/dist/model/unitCreateUnitRequestMetadata.d.ts.map +1 -0
- package/dist/model/unitCreateUnitRequestMetadata.js +7 -0
- package/dist/model/unitListOrgSubUnitIdsParams.d.ts +14 -0
- package/dist/model/unitListOrgSubUnitIdsParams.d.ts.map +1 -0
- package/dist/model/unitListOrgSubUnitIdsParams.js +1 -0
- package/dist/model/unitListOrgSubUnitsParams.d.ts +14 -0
- package/dist/model/unitListOrgSubUnitsParams.d.ts.map +1 -0
- package/dist/model/unitListOrgSubUnitsParams.js +1 -0
- package/dist/model/unitListUnitSubUnitIdsParams.d.ts +14 -0
- package/dist/model/unitListUnitSubUnitIdsParams.d.ts.map +1 -0
- package/dist/model/unitListUnitSubUnitIdsParams.js +1 -0
- package/dist/model/unitListUnitSubUnitsParams.d.ts +14 -0
- package/dist/model/unitListUnitSubUnitsParams.d.ts.map +1 -0
- package/dist/model/unitListUnitSubUnitsParams.js +1 -0
- package/dist/model/unitOrgMember.d.ts +17 -0
- package/dist/model/unitOrgMember.d.ts.map +1 -0
- package/dist/model/unitOrgMember.js +1 -0
- package/dist/model/unitOrgMemberRequest.d.ts +10 -0
- package/dist/model/unitOrgMemberRequest.d.ts.map +1 -0
- package/dist/model/unitOrgMemberRequest.js +7 -0
- package/dist/model/unitOrganization.d.ts +25 -0
- package/dist/model/unitOrganization.d.ts.map +1 -0
- package/dist/model/unitOrganization.js +1 -0
- package/dist/model/unitOrganizationMetadata.d.ts +13 -0
- package/dist/model/unitOrganizationMetadata.d.ts.map +1 -0
- package/dist/model/unitOrganizationMetadata.js +7 -0
- package/dist/model/unitParentChild.d.ts +19 -0
- package/dist/model/unitParentChild.d.ts.map +1 -0
- package/dist/model/unitParentChild.js +1 -0
- package/dist/model/unitParentChildRequest.d.ts +13 -0
- package/dist/model/unitParentChildRequest.d.ts.map +1 -0
- package/dist/model/unitParentChildRequest.js +1 -0
- package/dist/model/unitUnit.d.ts +23 -0
- package/dist/model/unitUnit.d.ts.map +1 -0
- package/dist/model/unitUnit.js +1 -0
- package/dist/model/unitUnitMember.d.ts +17 -0
- package/dist/model/unitUnitMember.d.ts.map +1 -0
- package/dist/model/unitUnitMember.js +1 -0
- package/dist/model/unitUnitMemberRequest.d.ts +10 -0
- package/dist/model/unitUnitMemberRequest.d.ts.map +1 -0
- package/dist/model/unitUnitMemberRequest.js +7 -0
- package/dist/model/unitUnitMetadata.d.ts +13 -0
- package/dist/model/unitUnitMetadata.d.ts.map +1 -0
- package/dist/model/unitUnitMetadata.js +7 -0
- package/dist/model/unitUpdateOrgRequest.d.ts +17 -0
- package/dist/model/unitUpdateOrgRequest.d.ts.map +1 -0
- package/dist/model/unitUpdateOrgRequest.js +1 -0
- package/dist/model/unitUpdateOrgRequestMetadata.d.ts +13 -0
- package/dist/model/unitUpdateOrgRequestMetadata.d.ts.map +1 -0
- package/dist/model/unitUpdateOrgRequestMetadata.js +7 -0
- package/dist/model/unitUpdateUnitRequest.d.ts +16 -0
- package/dist/model/unitUpdateUnitRequest.d.ts.map +1 -0
- package/dist/model/unitUpdateUnitRequest.js +1 -0
- package/dist/model/unitUpdateUnitRequestMetadata.d.ts +13 -0
- package/dist/model/unitUpdateUnitRequestMetadata.d.ts.map +1 -0
- package/dist/model/unitUpdateUnitRequestMetadata.js +7 -0
- package/dist/model/userRole.d.ts +11 -0
- package/dist/model/userRole.d.ts.map +1 -0
- package/dist/model/userRole.js +9 -0
- package/dist/model/userUser.d.ts +21 -0
- package/dist/model/userUser.d.ts.map +1 -0
- package/dist/model/userUser.js +1 -0
- package/dist/model/uuid.d.ts +8 -0
- package/dist/model/uuid.d.ts.map +1 -0
- package/dist/model/uuid.js +7 -0
- package/dist/model/versions.d.ts +11 -0
- package/dist/model/versions.d.ts.map +1 -0
- package/dist/model/versions.js +9 -0
- package/package.json +17 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { UnitUnitMetadata } from './unitUnitMetadata';
|
|
8
|
+
import type { Uuid } from './uuid';
|
|
9
|
+
export interface UnitUnit {
|
|
10
|
+
/** The unit's unique identifier. */
|
|
11
|
+
id: Uuid;
|
|
12
|
+
/** The name of the unit or organization */
|
|
13
|
+
name: string;
|
|
14
|
+
/** A brief description of the unit or organization */
|
|
15
|
+
description: string;
|
|
16
|
+
/** Metadata for the unit or organization, can include additional information like contact details, address, etc. */
|
|
17
|
+
metadata: UnitUnitMetadata;
|
|
18
|
+
/** The creation timestamp of the unit or organization */
|
|
19
|
+
createdAt: string;
|
|
20
|
+
/** The last updated timestamp of the unit or organization */
|
|
21
|
+
updatedAt: string;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=unitUnit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unitUnit.d.ts","sourceRoot":"","sources":["../../src/model/unitUnit.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,WAAW,QAAQ;IACvB,oCAAoC;IACpC,EAAE,EAAE,IAAI,CAAC;IACT,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,oHAAoH;IACpH,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { Uuid } from './uuid';
|
|
8
|
+
/**
|
|
9
|
+
* Model representing a member of a unit, linking unit and member by their unique identifiers
|
|
10
|
+
*/
|
|
11
|
+
export interface UnitUnitMember {
|
|
12
|
+
/** The unique identifier of the unit */
|
|
13
|
+
unitId: Uuid;
|
|
14
|
+
/** The unique identifier of the member */
|
|
15
|
+
memberId: Uuid;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=unitUnitMember.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unitUnitMember.d.ts","sourceRoot":"","sources":["../../src/model/unitUnitMember.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,wCAAwC;IACxC,MAAM,EAAE,IAAI,CAAC;IACb,0CAA0C;IAC1C,QAAQ,EAAE,IAAI,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unitUnitMemberRequest.d.ts","sourceRoot":"","sources":["../../src/model/unitUnitMemberRequest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Metadata for the unit or organization, can include additional information like contact details, address, etc.
|
|
9
|
+
*/
|
|
10
|
+
export type UnitUnitMetadata = {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=unitUnitMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unitUnitMetadata.d.ts","sourceRoot":"","sources":["../../src/model/unitUnitMetadata.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { UnitUpdateOrgRequestMetadata } from './unitUpdateOrgRequestMetadata';
|
|
8
|
+
export interface UnitUpdateOrgRequest {
|
|
9
|
+
/** The name of the unit or organization */
|
|
10
|
+
name: string;
|
|
11
|
+
/** A brief description of the unit or organization */
|
|
12
|
+
description: string;
|
|
13
|
+
/** Metadata for the unit or organization, can include additional information like contact details, address, etc. */
|
|
14
|
+
metadata: UnitUpdateOrgRequestMetadata;
|
|
15
|
+
slug: string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=unitUpdateOrgRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unitUpdateOrgRequest.d.ts","sourceRoot":"","sources":["../../src/model/unitUpdateOrgRequest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,oHAAoH;IACpH,QAAQ,EAAE,4BAA4B,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Metadata for the unit or organization, can include additional information like contact details, address, etc.
|
|
9
|
+
*/
|
|
10
|
+
export type UnitUpdateOrgRequestMetadata = {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=unitUpdateOrgRequestMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unitUpdateOrgRequestMetadata.d.ts","sourceRoot":"","sources":["../../src/model/unitUpdateOrgRequestMetadata.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { UnitUpdateUnitRequestMetadata } from './unitUpdateUnitRequestMetadata';
|
|
8
|
+
export interface UnitUpdateUnitRequest {
|
|
9
|
+
/** The name of the unit or organization */
|
|
10
|
+
name: string;
|
|
11
|
+
/** A brief description of the unit or organization */
|
|
12
|
+
description: string;
|
|
13
|
+
/** Metadata for the unit or organization, can include additional information like contact details, address, etc. */
|
|
14
|
+
metadata: UnitUpdateUnitRequestMetadata;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=unitUpdateUnitRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unitUpdateUnitRequest.d.ts","sourceRoot":"","sources":["../../src/model/unitUpdateUnitRequest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAErF,MAAM,WAAW,qBAAqB;IACpC,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,oHAAoH;IACpH,QAAQ,EAAE,6BAA6B,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Metadata for the unit or organization, can include additional information like contact details, address, etc.
|
|
9
|
+
*/
|
|
10
|
+
export type UnitUpdateUnitRequestMetadata = {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=unitUpdateUnitRequestMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unitUpdateUnitRequestMetadata.d.ts","sourceRoot":"","sources":["../../src/model/unitUpdateUnitRequestMetadata.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
export type UserRole = typeof UserRole[keyof typeof UserRole];
|
|
8
|
+
export declare const UserRole: {
|
|
9
|
+
readonly user: "user";
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=userRole.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userRole.d.ts","sourceRoot":"","sources":["../../src/model/userRole.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAG9D,eAAO,MAAM,QAAQ;;CAEX,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { UserRole } from './userRole';
|
|
8
|
+
import type { Uuid } from './uuid';
|
|
9
|
+
export interface UserUser {
|
|
10
|
+
/** The user's unique identifier. */
|
|
11
|
+
id: Uuid;
|
|
12
|
+
/** The user's username, can change, but must be unique across the system. */
|
|
13
|
+
username: string;
|
|
14
|
+
/** The user's name, usually the first and last name. */
|
|
15
|
+
name: string;
|
|
16
|
+
/** Avatar URL of the user. */
|
|
17
|
+
avatarUrl: string;
|
|
18
|
+
/** Global role of the user. */
|
|
19
|
+
roles: UserRole[];
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=userUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userUser.d.ts","sourceRoot":"","sources":["../../src/model/userUser.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,WAAW,QAAQ;IACvB,oCAAoC;IACpC,EAAE,EAAE,IAAI,CAAC;IACT,6EAA6E;IAC7E,QAAQ,EAAE,MAAM,CAAC;IACjB,wDAAwD;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../src/model/uuid.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.1.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Core System API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
export type Versions = typeof Versions[keyof typeof Versions];
|
|
8
|
+
export declare const Versions: {
|
|
9
|
+
readonly '100': "1.0.0";
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=versions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../src/model/versions.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAG9D,eAAO,MAAM,QAAQ;;CAEX,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nycu-sdc/core-system-sdk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Auto-generated SDK from TypeSpec / OpenAPI",
|
|
5
|
+
"private": false,
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc -p tsconfig.json"
|
|
16
|
+
}
|
|
17
|
+
}
|