@rusaint/react-native 0.10.0-dev.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 +20 -0
- package/README.md +15 -0
- package/android/CMakeLists.txt +78 -0
- package/android/build.gradle +143 -0
- package/android/cpp-adapter.cpp +63 -0
- package/android/generated/java/dev/eatsteak/rusaint/reactnative/NativeReactNativeSpec.java +41 -0
- package/android/generated/jni/CMakeLists.txt +36 -0
- package/android/generated/jni/RNReactNativeSpec-generated.cpp +38 -0
- package/android/generated/jni/RNReactNativeSpec.h +31 -0
- package/android/generated/jni/react/renderer/components/RNReactNativeSpec/RNReactNativeSpecJSI-generated.cpp +32 -0
- package/android/generated/jni/react/renderer/components/RNReactNativeSpec/RNReactNativeSpecJSI.h +80 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +5 -0
- package/android/src/main/java/dev/eatsteak/rusaint/reactnative/ReactNativeModule.kt +43 -0
- package/android/src/main/java/dev/eatsteak/rusaint/reactnative/ReactNativePackage.kt +34 -0
- package/android/src/main/jniLibs/arm64-v8a/librusaint_ffi.a +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/librusaint_ffi.a +0 -0
- package/android/src/main/jniLibs/x86/librusaint_ffi.a +0 -0
- package/android/src/main/jniLibs/x86_64/librusaint_ffi.a +0 -0
- package/build/RusaintReactNativeFramework.xcframework/Info.plist +43 -0
- package/build/RusaintReactNativeFramework.xcframework/ios-arm64/librusaint_ffi.a +0 -0
- package/build/RusaintReactNativeFramework.xcframework/ios-arm64-simulator/librusaint_ffi.a +0 -0
- package/cpp/generated/rusaint.cpp +2485 -0
- package/cpp/generated/rusaint.hpp +168 -0
- package/cpp/generated/rusaint_ffi.cpp +7397 -0
- package/cpp/generated/rusaint_ffi.hpp +873 -0
- package/cpp/rusaint-react-native.cpp +18 -0
- package/cpp/rusaint-react-native.h +15 -0
- package/ios/ReactNative.h +16 -0
- package/ios/ReactNative.mm +66 -0
- package/ios/generated/RNReactNativeSpec/RNReactNativeSpec-generated.mm +46 -0
- package/ios/generated/RNReactNativeSpec/RNReactNativeSpec.h +63 -0
- package/ios/generated/RNReactNativeSpecJSI-generated.cpp +32 -0
- package/ios/generated/RNReactNativeSpecJSI.h +80 -0
- package/lib/commonjs/NativeReactNative.ts +10 -0
- package/lib/commonjs/generated/rusaint-ffi.js +44 -0
- package/lib/commonjs/generated/rusaint-ffi.js.map +1 -0
- package/lib/commonjs/generated/rusaint.js +3232 -0
- package/lib/commonjs/generated/rusaint.js.map +1 -0
- package/lib/commonjs/generated/rusaint_ffi-ffi.js +44 -0
- package/lib/commonjs/generated/rusaint_ffi-ffi.js.map +1 -0
- package/lib/commonjs/generated/rusaint_ffi.js +2493 -0
- package/lib/commonjs/generated/rusaint_ffi.js.map +1 -0
- package/lib/commonjs/index.js +68 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/module/NativeReactNative.ts +10 -0
- package/lib/module/generated/rusaint-ffi.js +43 -0
- package/lib/module/generated/rusaint-ffi.js.map +1 -0
- package/lib/module/generated/rusaint.js +3226 -0
- package/lib/module/generated/rusaint.js.map +1 -0
- package/lib/module/generated/rusaint_ffi-ffi.js +43 -0
- package/lib/module/generated/rusaint_ffi-ffi.js.map +1 -0
- package/lib/module/generated/rusaint_ffi.js +2469 -0
- package/lib/module/generated/rusaint_ffi.js.map +1 -0
- package/lib/module/index.js +40 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/commonjs/src/NativeReactNative.d.ts +8 -0
- package/lib/typescript/commonjs/src/NativeReactNative.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/generated/rusaint-ffi.d.ts +109 -0
- package/lib/typescript/commonjs/src/generated/rusaint-ffi.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/generated/rusaint.d.ts +2330 -0
- package/lib/typescript/commonjs/src/generated/rusaint.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts +300 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts +1111 -0
- package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +10 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/package.json +185 -0
- package/react-native.config.js +12 -0
- package/rusaint-react-native.podspec +44 -0
- package/src/NativeReactNative.ts +10 -0
- package/src/generated/rusaint-ffi.ts +276 -0
- package/src/generated/rusaint.ts +4867 -0
- package/src/generated/rusaint_ffi-ffi.ts +832 -0
- package/src/generated/rusaint_ffi.ts +5519 -0
- package/src/index.tsx +38 -0
|
@@ -0,0 +1,2493 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.YearSemester = exports.USaintSessionBuilder = exports.USaintSession = exports.StudentInformationApplicationBuilder = exports.StudentInformationApplication = exports.ScholarshipsApplicationBuilder = exports.ScholarshipsApplication = exports.RusaintError_Tags = exports.RusaintError = exports.PersonalCourseScheduleApplicationBuilder = exports.PersonalCourseScheduleApplication = exports.LectureAssessmentApplicationBuilder = exports.LectureAssessmentApplication = exports.GraduationRequirementsApplicationBuilder = exports.GraduationRequirementsApplication = exports.CourseScheduleApplicationBuilder = exports.CourseScheduleApplication = exports.CourseGradesApplicationBuilder = exports.CourseGradesApplication = exports.ChapelApplicationBuilder = exports.ChapelApplication = void 0;
|
|
7
|
+
var _rusaint_ffiFfi = _interopRequireDefault(require("./rusaint_ffi-ffi.js"));
|
|
8
|
+
var _uniffiBindgenReactNative = require("uniffi-bindgen-react-native");
|
|
9
|
+
var _rusaint = _interopRequireDefault(require("./rusaint.js"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
|
|
12
|
+
// Trust me, you don't want to mess with it!
|
|
13
|
+
|
|
14
|
+
// Get converters from the other files, if any.
|
|
15
|
+
|
|
16
|
+
const {
|
|
17
|
+
FfiConverterTypeChapelInformation,
|
|
18
|
+
FfiConverterTypeClassGrade,
|
|
19
|
+
FfiConverterTypeCourseType,
|
|
20
|
+
FfiConverterTypeGradeSummary,
|
|
21
|
+
FfiConverterTypeGraduationRequirements,
|
|
22
|
+
FfiConverterTypeGraduationStudent,
|
|
23
|
+
FfiConverterTypeLecture,
|
|
24
|
+
FfiConverterTypeLectureAssessmentResult,
|
|
25
|
+
FfiConverterTypeLectureCategory,
|
|
26
|
+
FfiConverterTypePersonalCourseSchedule,
|
|
27
|
+
FfiConverterTypeScholarship,
|
|
28
|
+
FfiConverterTypeSemesterGrade,
|
|
29
|
+
FfiConverterTypeSemesterType,
|
|
30
|
+
FfiConverterTypeStudentAcademicRecords,
|
|
31
|
+
FfiConverterTypeStudentBankAccount,
|
|
32
|
+
FfiConverterTypeStudentFamily,
|
|
33
|
+
FfiConverterTypeStudentGraduation,
|
|
34
|
+
FfiConverterTypeStudentInformation,
|
|
35
|
+
FfiConverterTypeStudentQualification,
|
|
36
|
+
FfiConverterTypeStudentReligion,
|
|
37
|
+
FfiConverterTypeStudentResearchBankAccount,
|
|
38
|
+
FfiConverterTypeStudentTransferRecords,
|
|
39
|
+
FfiConverterTypeStudentWorkInformation
|
|
40
|
+
} = _rusaint.default.converters;
|
|
41
|
+
const uniffiCaller = new _uniffiBindgenReactNative.UniffiRustCaller();
|
|
42
|
+
const uniffiIsDebug =
|
|
43
|
+
// @ts-ignore -- The process global might not be defined
|
|
44
|
+
typeof process !== 'object' ||
|
|
45
|
+
// @ts-ignore -- The process global might not be defined
|
|
46
|
+
process?.env?.NODE_ENV !== 'production' || false;
|
|
47
|
+
// Public interface members begin here.
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Generated factory for {@link YearSemester} record objects.
|
|
51
|
+
*/
|
|
52
|
+
const YearSemester = exports.YearSemester = (() => {
|
|
53
|
+
const defaults = () => ({});
|
|
54
|
+
const create = (() => {
|
|
55
|
+
return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
|
|
56
|
+
})();
|
|
57
|
+
return Object.freeze({
|
|
58
|
+
/**
|
|
59
|
+
* Create a frozen instance of {@link YearSemester}, with defaults specified
|
|
60
|
+
* in Rust, in the {@link rusaint_ffi} crate.
|
|
61
|
+
*/
|
|
62
|
+
create,
|
|
63
|
+
/**
|
|
64
|
+
* Create a frozen instance of {@link YearSemester}, with defaults specified
|
|
65
|
+
* in Rust, in the {@link rusaint_ffi} crate.
|
|
66
|
+
*/
|
|
67
|
+
new: create,
|
|
68
|
+
/**
|
|
69
|
+
* Defaults specified in the {@link rusaint_ffi} crate.
|
|
70
|
+
*/
|
|
71
|
+
defaults: () => Object.freeze(defaults())
|
|
72
|
+
});
|
|
73
|
+
})();
|
|
74
|
+
const FfiConverterTypeYearSemester = (() => {
|
|
75
|
+
class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
76
|
+
read(from) {
|
|
77
|
+
return {
|
|
78
|
+
year: _uniffiBindgenReactNative.FfiConverterUInt32.read(from),
|
|
79
|
+
semester: FfiConverterTypeSemesterType.read(from)
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
write(value, into) {
|
|
83
|
+
_uniffiBindgenReactNative.FfiConverterUInt32.write(value.year, into);
|
|
84
|
+
FfiConverterTypeSemesterType.write(value.semester, into);
|
|
85
|
+
}
|
|
86
|
+
allocationSize(value) {
|
|
87
|
+
return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.year) + FfiConverterTypeSemesterType.allocationSize(value.semester);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return new FFIConverter();
|
|
91
|
+
})();
|
|
92
|
+
const stringConverter = {
|
|
93
|
+
stringToBytes: s => uniffiCaller.rustCall(status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer(s, status)),
|
|
94
|
+
bytesToString: ab => uniffiCaller.rustCall(status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string(ab, status)),
|
|
95
|
+
stringByteLength: s => uniffiCaller.rustCall(status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length(s, status))
|
|
96
|
+
};
|
|
97
|
+
const FfiConverterString = (0, _uniffiBindgenReactNative.uniffiCreateFfiConverterString)(stringConverter);
|
|
98
|
+
|
|
99
|
+
// Flat error type: RusaintError
|
|
100
|
+
let RusaintError_Tags = exports.RusaintError_Tags = /*#__PURE__*/function (RusaintError_Tags) {
|
|
101
|
+
RusaintError_Tags["General"] = "General";
|
|
102
|
+
return RusaintError_Tags;
|
|
103
|
+
}({});
|
|
104
|
+
/**
|
|
105
|
+
* Rusaint에서 반환하는 기본 오류
|
|
106
|
+
*/
|
|
107
|
+
const RusaintError = exports.RusaintError = (() => {
|
|
108
|
+
class General extends _uniffiBindgenReactNative.UniffiError {
|
|
109
|
+
/**
|
|
110
|
+
* @private
|
|
111
|
+
* This field is private and should not be used.
|
|
112
|
+
*/
|
|
113
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'RusaintError';
|
|
114
|
+
/**
|
|
115
|
+
* @private
|
|
116
|
+
* This field is private and should not be used.
|
|
117
|
+
*/
|
|
118
|
+
[_uniffiBindgenReactNative.variantOrdinalSymbol] = 1;
|
|
119
|
+
tag = RusaintError_Tags.General;
|
|
120
|
+
constructor(message) {
|
|
121
|
+
super('RusaintError', 'General', message);
|
|
122
|
+
}
|
|
123
|
+
static instanceOf(e) {
|
|
124
|
+
return instanceOf(e) && e[_uniffiBindgenReactNative.variantOrdinalSymbol] === 1;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Utility function which does not rely on instanceof.
|
|
129
|
+
function instanceOf(e) {
|
|
130
|
+
return e[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'RusaintError';
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
General,
|
|
134
|
+
instanceOf
|
|
135
|
+
};
|
|
136
|
+
})();
|
|
137
|
+
|
|
138
|
+
// Union type for RusaintError error type.
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Rusaint에서 반환하는 기본 오류
|
|
142
|
+
*/
|
|
143
|
+
|
|
144
|
+
const FfiConverterTypeRusaintError = (() => {
|
|
145
|
+
const intConverter = _uniffiBindgenReactNative.FfiConverterInt32;
|
|
146
|
+
class FfiConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
|
|
147
|
+
read(from) {
|
|
148
|
+
switch (intConverter.read(from)) {
|
|
149
|
+
case 1:
|
|
150
|
+
return new RusaintError.General(FfiConverterString.read(from));
|
|
151
|
+
default:
|
|
152
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
write(value, into) {
|
|
156
|
+
const obj = value;
|
|
157
|
+
const index = obj[_uniffiBindgenReactNative.variantOrdinalSymbol];
|
|
158
|
+
intConverter.write(index, into);
|
|
159
|
+
}
|
|
160
|
+
allocationSize(value) {
|
|
161
|
+
return intConverter.allocationSize(0);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return new FfiConverter();
|
|
165
|
+
})();
|
|
166
|
+
|
|
167
|
+
// FfiConverter for Map<string, /*f32*/number>
|
|
168
|
+
const FfiConverterMapStringFloat32 = new _uniffiBindgenReactNative.FfiConverterMap(FfiConverterString, _uniffiBindgenReactNative.FfiConverterFloat32);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* [채플정보조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW3681)
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* [채플정보조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW3681)
|
|
176
|
+
*/
|
|
177
|
+
class ChapelApplication extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
178
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ChapelApplication';
|
|
179
|
+
// No primary constructor declared for this class.
|
|
180
|
+
constructor(pointer) {
|
|
181
|
+
super();
|
|
182
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
183
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeChapelApplicationObjectFactory.bless(pointer);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* 현재 페이지에 선택된 년도와 학기를 가져옵니다. 최초 로드 시 현재 학기를 가져올 가능성이 있습니다.
|
|
188
|
+
* 하지만 이 애플리케이션의 다른 함수를 호출하여 한번 정보를 가져왔다면 마지막으로 가져온 정보의 학기가 반환되므로 주의하여야 하며, 신뢰할 수 있는 현재 학기의 원천으로 사용되어서는 안됩니다.
|
|
189
|
+
*/
|
|
190
|
+
async getSelectedSemester(asyncOpts_) /*throws*/{
|
|
191
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
192
|
+
try {
|
|
193
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
194
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_chapelapplication_get_selected_semester(uniffiTypeChapelApplicationObjectFactory.clonePointer(this));
|
|
195
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeYearSemester.lift.bind(FfiConverterTypeYearSemester), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
196
|
+
} catch (__error) {
|
|
197
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
198
|
+
__error.stack = __stack;
|
|
199
|
+
}
|
|
200
|
+
throw __error;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* 해당 학기의 채플 정보를 가져옵니다.
|
|
206
|
+
*/
|
|
207
|
+
async information(year, semester, asyncOpts_) /*throws*/{
|
|
208
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
209
|
+
try {
|
|
210
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
211
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_chapelapplication_information(uniffiTypeChapelApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
212
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeChapelInformation.lift.bind(FfiConverterTypeChapelInformation), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
213
|
+
} catch (__error) {
|
|
214
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
215
|
+
__error.stack = __stack;
|
|
216
|
+
}
|
|
217
|
+
throw __error;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
223
|
+
*/
|
|
224
|
+
uniffiDestroy() {
|
|
225
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
226
|
+
if (ptr !== undefined) {
|
|
227
|
+
const pointer = uniffiTypeChapelApplicationObjectFactory.pointer(this);
|
|
228
|
+
uniffiTypeChapelApplicationObjectFactory.freePointer(pointer);
|
|
229
|
+
uniffiTypeChapelApplicationObjectFactory.unbless(ptr);
|
|
230
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
static instanceOf(obj) {
|
|
234
|
+
return uniffiTypeChapelApplicationObjectFactory.isConcreteType(obj);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
exports.ChapelApplication = ChapelApplication;
|
|
238
|
+
const uniffiTypeChapelApplicationObjectFactory = {
|
|
239
|
+
create(pointer) {
|
|
240
|
+
const instance = Object.create(ChapelApplication.prototype);
|
|
241
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
242
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
243
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ChapelApplication';
|
|
244
|
+
return instance;
|
|
245
|
+
},
|
|
246
|
+
bless(p) {
|
|
247
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_chapelapplication_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
248
|
+
},
|
|
249
|
+
unbless(ptr) {
|
|
250
|
+
ptr.markDestroyed();
|
|
251
|
+
},
|
|
252
|
+
pointer(obj) {
|
|
253
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
254
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
255
|
+
}
|
|
256
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
257
|
+
},
|
|
258
|
+
clonePointer(obj) {
|
|
259
|
+
const pointer = this.pointer(obj);
|
|
260
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_chapelapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
261
|
+
},
|
|
262
|
+
freePointer(pointer) {
|
|
263
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_chapelapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
264
|
+
},
|
|
265
|
+
isConcreteType(obj) {
|
|
266
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'ChapelApplication';
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
// FfiConverter for ChapelApplicationInterface
|
|
270
|
+
const FfiConverterTypeChapelApplication = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeChapelApplicationObjectFactory);
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* [`ChapelApplication`] 생성을 위한 빌더
|
|
274
|
+
*/
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* [`ChapelApplication`] 생성을 위한 빌더
|
|
278
|
+
*/
|
|
279
|
+
class ChapelApplicationBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
280
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ChapelApplicationBuilder';
|
|
281
|
+
/**
|
|
282
|
+
* 새로운 [`ChapelApplicationBuilder`]를 만듭니다.
|
|
283
|
+
*/
|
|
284
|
+
constructor() {
|
|
285
|
+
super();
|
|
286
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
287
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_chapelapplicationbuilder_new(callStatus);
|
|
288
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
289
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
290
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeChapelApplicationBuilderObjectFactory.bless(pointer);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* 세션과 함께 [`ChapelApplication`]을 만듭니다.
|
|
295
|
+
*/
|
|
296
|
+
async build(session, asyncOpts_) /*throws*/{
|
|
297
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
298
|
+
try {
|
|
299
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
300
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_chapelapplicationbuilder_build(uniffiTypeChapelApplicationBuilderObjectFactory.clonePointer(this), FfiConverterTypeUSaintSession.lower(session));
|
|
301
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeChapelApplication.lift.bind(FfiConverterTypeChapelApplication), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
302
|
+
} catch (__error) {
|
|
303
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
304
|
+
__error.stack = __stack;
|
|
305
|
+
}
|
|
306
|
+
throw __error;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
312
|
+
*/
|
|
313
|
+
uniffiDestroy() {
|
|
314
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
315
|
+
if (ptr !== undefined) {
|
|
316
|
+
const pointer = uniffiTypeChapelApplicationBuilderObjectFactory.pointer(this);
|
|
317
|
+
uniffiTypeChapelApplicationBuilderObjectFactory.freePointer(pointer);
|
|
318
|
+
uniffiTypeChapelApplicationBuilderObjectFactory.unbless(ptr);
|
|
319
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
static instanceOf(obj) {
|
|
323
|
+
return uniffiTypeChapelApplicationBuilderObjectFactory.isConcreteType(obj);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
exports.ChapelApplicationBuilder = ChapelApplicationBuilder;
|
|
327
|
+
const uniffiTypeChapelApplicationBuilderObjectFactory = {
|
|
328
|
+
create(pointer) {
|
|
329
|
+
const instance = Object.create(ChapelApplicationBuilder.prototype);
|
|
330
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
331
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
332
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ChapelApplicationBuilder';
|
|
333
|
+
return instance;
|
|
334
|
+
},
|
|
335
|
+
bless(p) {
|
|
336
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_chapelapplicationbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
337
|
+
},
|
|
338
|
+
unbless(ptr) {
|
|
339
|
+
ptr.markDestroyed();
|
|
340
|
+
},
|
|
341
|
+
pointer(obj) {
|
|
342
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
343
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
344
|
+
}
|
|
345
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
346
|
+
},
|
|
347
|
+
clonePointer(obj) {
|
|
348
|
+
const pointer = this.pointer(obj);
|
|
349
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_chapelapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
350
|
+
},
|
|
351
|
+
freePointer(pointer) {
|
|
352
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_chapelapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
353
|
+
},
|
|
354
|
+
isConcreteType(obj) {
|
|
355
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'ChapelApplicationBuilder';
|
|
356
|
+
}
|
|
357
|
+
};
|
|
358
|
+
// FfiConverter for ChapelApplicationBuilderInterface
|
|
359
|
+
const FfiConverterTypeChapelApplicationBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeChapelApplicationBuilderObjectFactory);
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* [학생 성적 조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMB3W0017)
|
|
363
|
+
*/
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* [학생 성적 조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMB3W0017)
|
|
367
|
+
*/
|
|
368
|
+
class CourseGradesApplication extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
369
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'CourseGradesApplication';
|
|
370
|
+
// No primary constructor declared for this class.
|
|
371
|
+
constructor(pointer) {
|
|
372
|
+
super();
|
|
373
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
374
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeCourseGradesApplicationObjectFactory.bless(pointer);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* 전체 학기의 증명 평점 정보를 가져옵니다.
|
|
379
|
+
*/
|
|
380
|
+
async certificatedSummary(courseType, asyncOpts_) /*throws*/{
|
|
381
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
382
|
+
try {
|
|
383
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
384
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplication_certificated_summary(uniffiTypeCourseGradesApplicationObjectFactory.clonePointer(this), FfiConverterTypeCourseType.lower(courseType));
|
|
385
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeGradeSummary.lift.bind(FfiConverterTypeGradeSummary), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
386
|
+
} catch (__error) {
|
|
387
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
388
|
+
__error.stack = __stack;
|
|
389
|
+
}
|
|
390
|
+
throw __error;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* 주어진 수업의 상세 성적 정보를 가져옵니다.
|
|
396
|
+
*/
|
|
397
|
+
async classDetail(courseType, year, semester, code, asyncOpts_) /*throws*/{
|
|
398
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
399
|
+
try {
|
|
400
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
401
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplication_class_detail(uniffiTypeCourseGradesApplicationObjectFactory.clonePointer(this), FfiConverterTypeCourseType.lower(courseType), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester), FfiConverterString.lower(code));
|
|
402
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterMapStringFloat32.lift.bind(FfiConverterMapStringFloat32), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
403
|
+
} catch (__error) {
|
|
404
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
405
|
+
__error.stack = __stack;
|
|
406
|
+
}
|
|
407
|
+
throw __error;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* 주어진 학기의 수업별 성적을 가져옵니다. `include_details`가 `true`인 경우 수업의 상세 성적도 가져옵니다.
|
|
413
|
+
* 수업의 상세 성적까지 가져올 경우 상세 성적이 있는 수업의 수 만큼 서버에 요청을 보내므로 반드시 상세 성적도 한번에 가져와야 할 때에만 사용하십시오.
|
|
414
|
+
*
|
|
415
|
+
* 수업 성적을 가져온 이후 상세 성적 또한 가져오려면 `[class_detail()]`함수를 이용하십시오.
|
|
416
|
+
*/
|
|
417
|
+
async classes(courseType, year, semester, includeDetails, asyncOpts_) /*throws*/{
|
|
418
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
419
|
+
try {
|
|
420
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
421
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplication_classes(uniffiTypeCourseGradesApplicationObjectFactory.clonePointer(this), FfiConverterTypeCourseType.lower(courseType), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester), _uniffiBindgenReactNative.FfiConverterBool.lower(includeDetails));
|
|
422
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayTypeClassGrade.lift.bind(FfiConverterArrayTypeClassGrade), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
423
|
+
} catch (__error) {
|
|
424
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
425
|
+
__error.stack = __stack;
|
|
426
|
+
}
|
|
427
|
+
throw __error;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* 현재 페이지에 선택된 년도와 학기를 가져옵니다. 최초 로드 시 현재 학기를 가져올 가능성이 있습니다.
|
|
433
|
+
* 하지만 이 애플리케이션의 다른 함수를 호출하여 한번 정보를 가져왔다면 마지막으로 가져온 정보의 학기가 반환되므로 주의하여야 하며, 신뢰할 수 있는 현재 학기의 원천으로 사용되어서는 안됩니다.
|
|
434
|
+
*/
|
|
435
|
+
async getSelectedSemester(asyncOpts_) /*throws*/{
|
|
436
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
437
|
+
try {
|
|
438
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
439
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplication_get_selected_semester(uniffiTypeCourseGradesApplicationObjectFactory.clonePointer(this));
|
|
440
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeYearSemester.lift.bind(FfiConverterTypeYearSemester), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
441
|
+
} catch (__error) {
|
|
442
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
443
|
+
__error.stack = __stack;
|
|
444
|
+
}
|
|
445
|
+
throw __error;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* 전체 학기의 학적부 평점 정보를 가져옵니다.
|
|
451
|
+
*/
|
|
452
|
+
async recordedSummary(courseType, asyncOpts_) /*throws*/{
|
|
453
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
454
|
+
try {
|
|
455
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
456
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplication_recorded_summary(uniffiTypeCourseGradesApplicationObjectFactory.clonePointer(this), FfiConverterTypeCourseType.lower(courseType));
|
|
457
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeGradeSummary.lift.bind(FfiConverterTypeGradeSummary), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
458
|
+
} catch (__error) {
|
|
459
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
460
|
+
__error.stack = __stack;
|
|
461
|
+
}
|
|
462
|
+
throw __error;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* 학기별 평점 정보를 가져옵니다.
|
|
468
|
+
*/
|
|
469
|
+
async semesters(courseType, asyncOpts_) /*throws*/{
|
|
470
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
471
|
+
try {
|
|
472
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
473
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplication_semesters(uniffiTypeCourseGradesApplicationObjectFactory.clonePointer(this), FfiConverterTypeCourseType.lower(courseType));
|
|
474
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayTypeSemesterGrade.lift.bind(FfiConverterArrayTypeSemesterGrade), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
475
|
+
} catch (__error) {
|
|
476
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
477
|
+
__error.stack = __stack;
|
|
478
|
+
}
|
|
479
|
+
throw __error;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
485
|
+
*/
|
|
486
|
+
uniffiDestroy() {
|
|
487
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
488
|
+
if (ptr !== undefined) {
|
|
489
|
+
const pointer = uniffiTypeCourseGradesApplicationObjectFactory.pointer(this);
|
|
490
|
+
uniffiTypeCourseGradesApplicationObjectFactory.freePointer(pointer);
|
|
491
|
+
uniffiTypeCourseGradesApplicationObjectFactory.unbless(ptr);
|
|
492
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
static instanceOf(obj) {
|
|
496
|
+
return uniffiTypeCourseGradesApplicationObjectFactory.isConcreteType(obj);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
exports.CourseGradesApplication = CourseGradesApplication;
|
|
500
|
+
const uniffiTypeCourseGradesApplicationObjectFactory = {
|
|
501
|
+
create(pointer) {
|
|
502
|
+
const instance = Object.create(CourseGradesApplication.prototype);
|
|
503
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
504
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
505
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'CourseGradesApplication';
|
|
506
|
+
return instance;
|
|
507
|
+
},
|
|
508
|
+
bless(p) {
|
|
509
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_coursegradesapplication_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
510
|
+
},
|
|
511
|
+
unbless(ptr) {
|
|
512
|
+
ptr.markDestroyed();
|
|
513
|
+
},
|
|
514
|
+
pointer(obj) {
|
|
515
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
516
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
517
|
+
}
|
|
518
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
519
|
+
},
|
|
520
|
+
clonePointer(obj) {
|
|
521
|
+
const pointer = this.pointer(obj);
|
|
522
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_coursegradesapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
523
|
+
},
|
|
524
|
+
freePointer(pointer) {
|
|
525
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_coursegradesapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
526
|
+
},
|
|
527
|
+
isConcreteType(obj) {
|
|
528
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'CourseGradesApplication';
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
// FfiConverter for CourseGradesApplicationInterface
|
|
532
|
+
const FfiConverterTypeCourseGradesApplication = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeCourseGradesApplicationObjectFactory);
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* [`CourseGradesApplication`] 생성을 위한 빌더
|
|
536
|
+
*/
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* [`CourseGradesApplication`] 생성을 위한 빌더
|
|
540
|
+
*/
|
|
541
|
+
class CourseGradesApplicationBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
542
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'CourseGradesApplicationBuilder';
|
|
543
|
+
/**
|
|
544
|
+
* 새로운 [`CourseGradesApplicationBuilder`]를 만듭니다.
|
|
545
|
+
*/
|
|
546
|
+
constructor() {
|
|
547
|
+
super();
|
|
548
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
549
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_coursegradesapplicationbuilder_new(callStatus);
|
|
550
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
551
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
552
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeCourseGradesApplicationBuilderObjectFactory.bless(pointer);
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* 세션과 함께 [`CourseGradesApplication`]을 만듭니다.
|
|
557
|
+
*/
|
|
558
|
+
async build(session, asyncOpts_) /*throws*/{
|
|
559
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
560
|
+
try {
|
|
561
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
562
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplicationbuilder_build(uniffiTypeCourseGradesApplicationBuilderObjectFactory.clonePointer(this), FfiConverterTypeUSaintSession.lower(session));
|
|
563
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeCourseGradesApplication.lift.bind(FfiConverterTypeCourseGradesApplication), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
564
|
+
} catch (__error) {
|
|
565
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
566
|
+
__error.stack = __stack;
|
|
567
|
+
}
|
|
568
|
+
throw __error;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
574
|
+
*/
|
|
575
|
+
uniffiDestroy() {
|
|
576
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
577
|
+
if (ptr !== undefined) {
|
|
578
|
+
const pointer = uniffiTypeCourseGradesApplicationBuilderObjectFactory.pointer(this);
|
|
579
|
+
uniffiTypeCourseGradesApplicationBuilderObjectFactory.freePointer(pointer);
|
|
580
|
+
uniffiTypeCourseGradesApplicationBuilderObjectFactory.unbless(ptr);
|
|
581
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
static instanceOf(obj) {
|
|
585
|
+
return uniffiTypeCourseGradesApplicationBuilderObjectFactory.isConcreteType(obj);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
exports.CourseGradesApplicationBuilder = CourseGradesApplicationBuilder;
|
|
589
|
+
const uniffiTypeCourseGradesApplicationBuilderObjectFactory = {
|
|
590
|
+
create(pointer) {
|
|
591
|
+
const instance = Object.create(CourseGradesApplicationBuilder.prototype);
|
|
592
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
593
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
594
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'CourseGradesApplicationBuilder';
|
|
595
|
+
return instance;
|
|
596
|
+
},
|
|
597
|
+
bless(p) {
|
|
598
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_coursegradesapplicationbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
599
|
+
},
|
|
600
|
+
unbless(ptr) {
|
|
601
|
+
ptr.markDestroyed();
|
|
602
|
+
},
|
|
603
|
+
pointer(obj) {
|
|
604
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
605
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
606
|
+
}
|
|
607
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
608
|
+
},
|
|
609
|
+
clonePointer(obj) {
|
|
610
|
+
const pointer = this.pointer(obj);
|
|
611
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_coursegradesapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
612
|
+
},
|
|
613
|
+
freePointer(pointer) {
|
|
614
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_coursegradesapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
615
|
+
},
|
|
616
|
+
isConcreteType(obj) {
|
|
617
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'CourseGradesApplicationBuilder';
|
|
618
|
+
}
|
|
619
|
+
};
|
|
620
|
+
// FfiConverter for CourseGradesApplicationBuilderInterface
|
|
621
|
+
const FfiConverterTypeCourseGradesApplicationBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeCourseGradesApplicationBuilderObjectFactory);
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* [강의시간표](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW2100)
|
|
625
|
+
*/
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* [강의시간표](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW2100)
|
|
629
|
+
*/
|
|
630
|
+
class CourseScheduleApplication extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
631
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'CourseScheduleApplication';
|
|
632
|
+
// No primary constructor declared for this class.
|
|
633
|
+
constructor(pointer) {
|
|
634
|
+
super();
|
|
635
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
636
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeCourseScheduleApplicationObjectFactory.bless(pointer);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* 선택한 학기의 채플 과목 분류 목록을 가져옵니다.
|
|
641
|
+
*/
|
|
642
|
+
async chapelCategories(year, semester, asyncOpts_) /*throws*/{
|
|
643
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
644
|
+
try {
|
|
645
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
646
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_chapel_categories(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
647
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
648
|
+
} catch (__error) {
|
|
649
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
650
|
+
__error.stack = __stack;
|
|
651
|
+
}
|
|
652
|
+
throw __error;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* 선택한 학기 기준 단과대 목록을 가져옵니다.
|
|
658
|
+
*/
|
|
659
|
+
async collages(year, semester, asyncOpts_) /*throws*/{
|
|
660
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
661
|
+
try {
|
|
662
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
663
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_collages(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
664
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
665
|
+
} catch (__error) {
|
|
666
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
667
|
+
__error.stack = __stack;
|
|
668
|
+
}
|
|
669
|
+
throw __error;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* 선택한 학기의 연계전공 목록을 가져옵니다.
|
|
675
|
+
*/
|
|
676
|
+
async connectedMajors(year, semester, asyncOpts_) /*throws*/{
|
|
677
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
678
|
+
try {
|
|
679
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
680
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_connected_majors(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
681
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
682
|
+
} catch (__error) {
|
|
683
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
684
|
+
__error.stack = __stack;
|
|
685
|
+
}
|
|
686
|
+
throw __error;
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* 선택한 학기 기준 주어진 단과대의 학과(부) 목록을 가져옵니다.
|
|
692
|
+
*/
|
|
693
|
+
async departments(year, semester, collage, asyncOpts_) /*throws*/{
|
|
694
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
695
|
+
try {
|
|
696
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
697
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_departments(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester), FfiConverterString.lower(collage));
|
|
698
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
699
|
+
} catch (__error) {
|
|
700
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
701
|
+
__error.stack = __stack;
|
|
702
|
+
}
|
|
703
|
+
throw __error;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* 학기, 학년도, 강의 분류를 통해 강의를 찾습니다.
|
|
709
|
+
*/
|
|
710
|
+
async findLectures(year, semester, lectureCategory, asyncOpts_) /*throws*/{
|
|
711
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
712
|
+
try {
|
|
713
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
714
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_find_lectures(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester), FfiConverterTypeLectureCategory.lower(lectureCategory));
|
|
715
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayTypeLecture.lift.bind(FfiConverterArrayTypeLecture), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
716
|
+
} catch (__error) {
|
|
717
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
718
|
+
__error.stack = __stack;
|
|
719
|
+
}
|
|
720
|
+
throw __error;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* 현재 페이지에 선택된 년도와 학기를 가져옵니다. 최초 로드 시 현재 학기를 가져올 가능성이 있습니다.
|
|
726
|
+
* 하지만 이 애플리케이션의 다른 함수를 호출하여 한번 정보를 가져왔다면 마지막으로 가져온 정보의 학기가 반환되므로 주의하여야 하며, 신뢰할 수 있는 현재 학기의 원천으로 사용되어서는 안됩니다.
|
|
727
|
+
*/
|
|
728
|
+
async getSelectedSemester(asyncOpts_) /*throws*/{
|
|
729
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
730
|
+
try {
|
|
731
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
732
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_get_selected_semester(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this));
|
|
733
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeYearSemester.lift.bind(FfiConverterTypeYearSemester), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
734
|
+
} catch (__error) {
|
|
735
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
736
|
+
__error.stack = __stack;
|
|
737
|
+
}
|
|
738
|
+
throw __error;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* 선택한 학기의 대학원 단과대학 목록을 가져옵니다.
|
|
744
|
+
*/
|
|
745
|
+
async graduatedCollages(year, semester, asyncOpts_) /*throws*/{
|
|
746
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
747
|
+
try {
|
|
748
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
749
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_graduated_collages(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
750
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
751
|
+
} catch (__error) {
|
|
752
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
753
|
+
__error.stack = __stack;
|
|
754
|
+
}
|
|
755
|
+
throw __error;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* 선택한 학기의 주어진 대학원 단과대의 학과 목록을 가져옵니다.
|
|
761
|
+
*/
|
|
762
|
+
async graduatedDepartments(year, semester, collage, asyncOpts_) /*throws*/{
|
|
763
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
764
|
+
try {
|
|
765
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
766
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_graduated_departments(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester), FfiConverterString.lower(collage));
|
|
767
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
768
|
+
} catch (__error) {
|
|
769
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
770
|
+
__error.stack = __stack;
|
|
771
|
+
}
|
|
772
|
+
throw __error;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* 선택한 학과(부)의 전공 목록을 가져옵니다.
|
|
778
|
+
*/
|
|
779
|
+
async majors(year, semester, collage, department, asyncOpts_) /*throws*/{
|
|
780
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
781
|
+
try {
|
|
782
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
783
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_majors(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester), FfiConverterString.lower(collage), FfiConverterString.lower(department));
|
|
784
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
785
|
+
} catch (__error) {
|
|
786
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
787
|
+
__error.stack = __stack;
|
|
788
|
+
}
|
|
789
|
+
throw __error;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* 선택한 학기의 교양선택 분야 목록을 가져옵니다.
|
|
795
|
+
*/
|
|
796
|
+
async optionalElectiveCategories(year, semester, asyncOpts_) /*throws*/{
|
|
797
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
798
|
+
try {
|
|
799
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
800
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_optional_elective_categories(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
801
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
802
|
+
} catch (__error) {
|
|
803
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
804
|
+
__error.stack = __stack;
|
|
805
|
+
}
|
|
806
|
+
throw __error;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* 선택한 학기의 교양필수 과목명 목록을 가져옵니다.
|
|
812
|
+
*/
|
|
813
|
+
async requiredElectives(year, semester, asyncOpts_) /*throws*/{
|
|
814
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
815
|
+
try {
|
|
816
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
817
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_required_electives(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
818
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
819
|
+
} catch (__error) {
|
|
820
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
821
|
+
__error.stack = __stack;
|
|
822
|
+
}
|
|
823
|
+
throw __error;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* 선택한 학기의 융합전공 목록을 가져옵니다.
|
|
829
|
+
*/
|
|
830
|
+
async unitedMajors(year, semester, asyncOpts_) /*throws*/{
|
|
831
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
832
|
+
try {
|
|
833
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
834
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_united_majors(uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
835
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
836
|
+
} catch (__error) {
|
|
837
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
838
|
+
__error.stack = __stack;
|
|
839
|
+
}
|
|
840
|
+
throw __error;
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
846
|
+
*/
|
|
847
|
+
uniffiDestroy() {
|
|
848
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
849
|
+
if (ptr !== undefined) {
|
|
850
|
+
const pointer = uniffiTypeCourseScheduleApplicationObjectFactory.pointer(this);
|
|
851
|
+
uniffiTypeCourseScheduleApplicationObjectFactory.freePointer(pointer);
|
|
852
|
+
uniffiTypeCourseScheduleApplicationObjectFactory.unbless(ptr);
|
|
853
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
static instanceOf(obj) {
|
|
857
|
+
return uniffiTypeCourseScheduleApplicationObjectFactory.isConcreteType(obj);
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
exports.CourseScheduleApplication = CourseScheduleApplication;
|
|
861
|
+
const uniffiTypeCourseScheduleApplicationObjectFactory = {
|
|
862
|
+
create(pointer) {
|
|
863
|
+
const instance = Object.create(CourseScheduleApplication.prototype);
|
|
864
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
865
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
866
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'CourseScheduleApplication';
|
|
867
|
+
return instance;
|
|
868
|
+
},
|
|
869
|
+
bless(p) {
|
|
870
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_coursescheduleapplication_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
871
|
+
},
|
|
872
|
+
unbless(ptr) {
|
|
873
|
+
ptr.markDestroyed();
|
|
874
|
+
},
|
|
875
|
+
pointer(obj) {
|
|
876
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
877
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
878
|
+
}
|
|
879
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
880
|
+
},
|
|
881
|
+
clonePointer(obj) {
|
|
882
|
+
const pointer = this.pointer(obj);
|
|
883
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_coursescheduleapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
884
|
+
},
|
|
885
|
+
freePointer(pointer) {
|
|
886
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_coursescheduleapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
887
|
+
},
|
|
888
|
+
isConcreteType(obj) {
|
|
889
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'CourseScheduleApplication';
|
|
890
|
+
}
|
|
891
|
+
};
|
|
892
|
+
// FfiConverter for CourseScheduleApplicationInterface
|
|
893
|
+
const FfiConverterTypeCourseScheduleApplication = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeCourseScheduleApplicationObjectFactory);
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* [`CourseScheduleApplication`] 생성을 위한 빌더
|
|
897
|
+
*/
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* [`CourseScheduleApplication`] 생성을 위한 빌더
|
|
901
|
+
*/
|
|
902
|
+
class CourseScheduleApplicationBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
903
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'CourseScheduleApplicationBuilder';
|
|
904
|
+
/**
|
|
905
|
+
* 새로운 [`CourseScheduleApplicationBuilder`]를 만듭니다.
|
|
906
|
+
*/
|
|
907
|
+
constructor() {
|
|
908
|
+
super();
|
|
909
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
910
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_coursescheduleapplicationbuilder_new(callStatus);
|
|
911
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
912
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
913
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeCourseScheduleApplicationBuilderObjectFactory.bless(pointer);
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* 세션과 함께 [`CourseScheduleApplication`]을 만듭니다.
|
|
918
|
+
*/
|
|
919
|
+
async build(session, asyncOpts_) /*throws*/{
|
|
920
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
921
|
+
try {
|
|
922
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
923
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplicationbuilder_build(uniffiTypeCourseScheduleApplicationBuilderObjectFactory.clonePointer(this), FfiConverterTypeUSaintSession.lower(session));
|
|
924
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeCourseScheduleApplication.lift.bind(FfiConverterTypeCourseScheduleApplication), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
925
|
+
} catch (__error) {
|
|
926
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
927
|
+
__error.stack = __stack;
|
|
928
|
+
}
|
|
929
|
+
throw __error;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
935
|
+
*/
|
|
936
|
+
uniffiDestroy() {
|
|
937
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
938
|
+
if (ptr !== undefined) {
|
|
939
|
+
const pointer = uniffiTypeCourseScheduleApplicationBuilderObjectFactory.pointer(this);
|
|
940
|
+
uniffiTypeCourseScheduleApplicationBuilderObjectFactory.freePointer(pointer);
|
|
941
|
+
uniffiTypeCourseScheduleApplicationBuilderObjectFactory.unbless(ptr);
|
|
942
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
static instanceOf(obj) {
|
|
946
|
+
return uniffiTypeCourseScheduleApplicationBuilderObjectFactory.isConcreteType(obj);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
exports.CourseScheduleApplicationBuilder = CourseScheduleApplicationBuilder;
|
|
950
|
+
const uniffiTypeCourseScheduleApplicationBuilderObjectFactory = {
|
|
951
|
+
create(pointer) {
|
|
952
|
+
const instance = Object.create(CourseScheduleApplicationBuilder.prototype);
|
|
953
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
954
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
955
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'CourseScheduleApplicationBuilder';
|
|
956
|
+
return instance;
|
|
957
|
+
},
|
|
958
|
+
bless(p) {
|
|
959
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_coursescheduleapplicationbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
960
|
+
},
|
|
961
|
+
unbless(ptr) {
|
|
962
|
+
ptr.markDestroyed();
|
|
963
|
+
},
|
|
964
|
+
pointer(obj) {
|
|
965
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
966
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
967
|
+
}
|
|
968
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
969
|
+
},
|
|
970
|
+
clonePointer(obj) {
|
|
971
|
+
const pointer = this.pointer(obj);
|
|
972
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_coursescheduleapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
973
|
+
},
|
|
974
|
+
freePointer(pointer) {
|
|
975
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_coursescheduleapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
976
|
+
},
|
|
977
|
+
isConcreteType(obj) {
|
|
978
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'CourseScheduleApplicationBuilder';
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
// FfiConverter for CourseScheduleApplicationBuilderInterface
|
|
982
|
+
const FfiConverterTypeCourseScheduleApplicationBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeCourseScheduleApplicationBuilderObjectFactory);
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* [졸업사정표](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW8015)
|
|
986
|
+
*/
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* [졸업사정표](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW8015)
|
|
990
|
+
*/
|
|
991
|
+
class GraduationRequirementsApplication extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
992
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'GraduationRequirementsApplication';
|
|
993
|
+
// No primary constructor declared for this class.
|
|
994
|
+
constructor(pointer) {
|
|
995
|
+
super();
|
|
996
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
997
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeGraduationRequirementsApplicationObjectFactory.bless(pointer);
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* 졸업사정 결과와 졸업 필요 요건별 충족 여부와 세부 정보를 반환합니다.
|
|
1002
|
+
*/
|
|
1003
|
+
async requirements(asyncOpts_) /*throws*/{
|
|
1004
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1005
|
+
try {
|
|
1006
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1007
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_graduationrequirementsapplication_requirements(uniffiTypeGraduationRequirementsApplicationObjectFactory.clonePointer(this));
|
|
1008
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeGraduationRequirements.lift.bind(FfiConverterTypeGraduationRequirements), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1009
|
+
} catch (__error) {
|
|
1010
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1011
|
+
__error.stack = __stack;
|
|
1012
|
+
}
|
|
1013
|
+
throw __error;
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* 학생 정보를 반환합니다.
|
|
1019
|
+
*/
|
|
1020
|
+
async studentInfo(asyncOpts_) /*throws*/{
|
|
1021
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1022
|
+
try {
|
|
1023
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1024
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_graduationrequirementsapplication_student_info(uniffiTypeGraduationRequirementsApplicationObjectFactory.clonePointer(this));
|
|
1025
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeGraduationStudent.lift.bind(FfiConverterTypeGraduationStudent), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1026
|
+
} catch (__error) {
|
|
1027
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1028
|
+
__error.stack = __stack;
|
|
1029
|
+
}
|
|
1030
|
+
throw __error;
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1036
|
+
*/
|
|
1037
|
+
uniffiDestroy() {
|
|
1038
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1039
|
+
if (ptr !== undefined) {
|
|
1040
|
+
const pointer = uniffiTypeGraduationRequirementsApplicationObjectFactory.pointer(this);
|
|
1041
|
+
uniffiTypeGraduationRequirementsApplicationObjectFactory.freePointer(pointer);
|
|
1042
|
+
uniffiTypeGraduationRequirementsApplicationObjectFactory.unbless(ptr);
|
|
1043
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
static instanceOf(obj) {
|
|
1047
|
+
return uniffiTypeGraduationRequirementsApplicationObjectFactory.isConcreteType(obj);
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
exports.GraduationRequirementsApplication = GraduationRequirementsApplication;
|
|
1051
|
+
const uniffiTypeGraduationRequirementsApplicationObjectFactory = {
|
|
1052
|
+
create(pointer) {
|
|
1053
|
+
const instance = Object.create(GraduationRequirementsApplication.prototype);
|
|
1054
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1055
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1056
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'GraduationRequirementsApplication';
|
|
1057
|
+
return instance;
|
|
1058
|
+
},
|
|
1059
|
+
bless(p) {
|
|
1060
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_graduationrequirementsapplication_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1061
|
+
},
|
|
1062
|
+
unbless(ptr) {
|
|
1063
|
+
ptr.markDestroyed();
|
|
1064
|
+
},
|
|
1065
|
+
pointer(obj) {
|
|
1066
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1067
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1068
|
+
}
|
|
1069
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1070
|
+
},
|
|
1071
|
+
clonePointer(obj) {
|
|
1072
|
+
const pointer = this.pointer(obj);
|
|
1073
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_graduationrequirementsapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1074
|
+
},
|
|
1075
|
+
freePointer(pointer) {
|
|
1076
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_graduationrequirementsapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1077
|
+
},
|
|
1078
|
+
isConcreteType(obj) {
|
|
1079
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'GraduationRequirementsApplication';
|
|
1080
|
+
}
|
|
1081
|
+
};
|
|
1082
|
+
// FfiConverter for GraduationRequirementsApplicationInterface
|
|
1083
|
+
const FfiConverterTypeGraduationRequirementsApplication = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeGraduationRequirementsApplicationObjectFactory);
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* [`GraduationRequirementsApplication`] 생성을 위한 빌더
|
|
1087
|
+
*/
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* [`GraduationRequirementsApplication`] 생성을 위한 빌더
|
|
1091
|
+
*/
|
|
1092
|
+
class GraduationRequirementsApplicationBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1093
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'GraduationRequirementsApplicationBuilder';
|
|
1094
|
+
/**
|
|
1095
|
+
* 새로운 [`GraduationRequirementsApplicationBuilder`]를 만듭니다.
|
|
1096
|
+
*/
|
|
1097
|
+
constructor() {
|
|
1098
|
+
super();
|
|
1099
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
1100
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_graduationrequirementsapplicationbuilder_new(callStatus);
|
|
1101
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
1102
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1103
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory.bless(pointer);
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* 세션과 함께 [`GraduationRequirementsApplication`]을 만듭니다.
|
|
1108
|
+
*/
|
|
1109
|
+
async build(session, asyncOpts_) /*throws*/{
|
|
1110
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1111
|
+
try {
|
|
1112
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1113
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_graduationrequirementsapplicationbuilder_build(uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory.clonePointer(this), FfiConverterTypeUSaintSession.lower(session));
|
|
1114
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeGraduationRequirementsApplication.lift.bind(FfiConverterTypeGraduationRequirementsApplication), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1115
|
+
} catch (__error) {
|
|
1116
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1117
|
+
__error.stack = __stack;
|
|
1118
|
+
}
|
|
1119
|
+
throw __error;
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1125
|
+
*/
|
|
1126
|
+
uniffiDestroy() {
|
|
1127
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1128
|
+
if (ptr !== undefined) {
|
|
1129
|
+
const pointer = uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory.pointer(this);
|
|
1130
|
+
uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory.freePointer(pointer);
|
|
1131
|
+
uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory.unbless(ptr);
|
|
1132
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
static instanceOf(obj) {
|
|
1136
|
+
return uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory.isConcreteType(obj);
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
exports.GraduationRequirementsApplicationBuilder = GraduationRequirementsApplicationBuilder;
|
|
1140
|
+
const uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory = {
|
|
1141
|
+
create(pointer) {
|
|
1142
|
+
const instance = Object.create(GraduationRequirementsApplicationBuilder.prototype);
|
|
1143
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1144
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1145
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'GraduationRequirementsApplicationBuilder';
|
|
1146
|
+
return instance;
|
|
1147
|
+
},
|
|
1148
|
+
bless(p) {
|
|
1149
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_graduationrequirementsapplicationbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1150
|
+
},
|
|
1151
|
+
unbless(ptr) {
|
|
1152
|
+
ptr.markDestroyed();
|
|
1153
|
+
},
|
|
1154
|
+
pointer(obj) {
|
|
1155
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1156
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1157
|
+
}
|
|
1158
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1159
|
+
},
|
|
1160
|
+
clonePointer(obj) {
|
|
1161
|
+
const pointer = this.pointer(obj);
|
|
1162
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_graduationrequirementsapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1163
|
+
},
|
|
1164
|
+
freePointer(pointer) {
|
|
1165
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_graduationrequirementsapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1166
|
+
},
|
|
1167
|
+
isConcreteType(obj) {
|
|
1168
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'GraduationRequirementsApplicationBuilder';
|
|
1169
|
+
}
|
|
1170
|
+
};
|
|
1171
|
+
// FfiConverter for GraduationRequirementsApplicationBuilderInterface
|
|
1172
|
+
const FfiConverterTypeGraduationRequirementsApplicationBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory);
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* [강의평가조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMB2W1010)
|
|
1176
|
+
*/
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* [강의평가조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMB2W1010)
|
|
1180
|
+
*/
|
|
1181
|
+
class LectureAssessmentApplication extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1182
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureAssessmentApplication';
|
|
1183
|
+
// No primary constructor declared for this class.
|
|
1184
|
+
constructor(pointer) {
|
|
1185
|
+
super();
|
|
1186
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1187
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeLectureAssessmentApplicationObjectFactory.bless(pointer);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* 검색 조건에 맞는 강의평가 정보를 가져옵니다.
|
|
1192
|
+
*/
|
|
1193
|
+
async findAssessments(year, semester, lectureName = undefined, lectureCode = undefined, professorName = undefined, asyncOpts_) /*throws*/{
|
|
1194
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1195
|
+
try {
|
|
1196
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1197
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_lectureassessmentapplication_find_assessments(uniffiTypeLectureAssessmentApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester), FfiConverterOptionalString.lower(lectureName), FfiConverterOptionalUInt32.lower(lectureCode), FfiConverterOptionalString.lower(professorName));
|
|
1198
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayTypeLectureAssessmentResult.lift.bind(FfiConverterArrayTypeLectureAssessmentResult), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1199
|
+
} catch (__error) {
|
|
1200
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1201
|
+
__error.stack = __stack;
|
|
1202
|
+
}
|
|
1203
|
+
throw __error;
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* 현재 페이지에 선택된 년도와 학기를 가져옵니다. 최초 로드 시 현재 학기를 가져올 가능성이 있습니다.
|
|
1209
|
+
* 하지만 이 애플리케이션의 다른 함수를 호출하여 한번 정보를 가져왔다면 마지막으로 가져온 정보의 학기가 반환되므로 주의하여야 하며, 신뢰할 수 있는 현재 학기의 원천으로 사용되어서는 안됩니다.
|
|
1210
|
+
*/
|
|
1211
|
+
async getSelectedSemester(asyncOpts_) /*throws*/{
|
|
1212
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1213
|
+
try {
|
|
1214
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1215
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_lectureassessmentapplication_get_selected_semester(uniffiTypeLectureAssessmentApplicationObjectFactory.clonePointer(this));
|
|
1216
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeYearSemester.lift.bind(FfiConverterTypeYearSemester), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1217
|
+
} catch (__error) {
|
|
1218
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1219
|
+
__error.stack = __stack;
|
|
1220
|
+
}
|
|
1221
|
+
throw __error;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1227
|
+
*/
|
|
1228
|
+
uniffiDestroy() {
|
|
1229
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1230
|
+
if (ptr !== undefined) {
|
|
1231
|
+
const pointer = uniffiTypeLectureAssessmentApplicationObjectFactory.pointer(this);
|
|
1232
|
+
uniffiTypeLectureAssessmentApplicationObjectFactory.freePointer(pointer);
|
|
1233
|
+
uniffiTypeLectureAssessmentApplicationObjectFactory.unbless(ptr);
|
|
1234
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
static instanceOf(obj) {
|
|
1238
|
+
return uniffiTypeLectureAssessmentApplicationObjectFactory.isConcreteType(obj);
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
exports.LectureAssessmentApplication = LectureAssessmentApplication;
|
|
1242
|
+
const uniffiTypeLectureAssessmentApplicationObjectFactory = {
|
|
1243
|
+
create(pointer) {
|
|
1244
|
+
const instance = Object.create(LectureAssessmentApplication.prototype);
|
|
1245
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1246
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1247
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureAssessmentApplication';
|
|
1248
|
+
return instance;
|
|
1249
|
+
},
|
|
1250
|
+
bless(p) {
|
|
1251
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_lectureassessmentapplication_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1252
|
+
},
|
|
1253
|
+
unbless(ptr) {
|
|
1254
|
+
ptr.markDestroyed();
|
|
1255
|
+
},
|
|
1256
|
+
pointer(obj) {
|
|
1257
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1258
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1259
|
+
}
|
|
1260
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1261
|
+
},
|
|
1262
|
+
clonePointer(obj) {
|
|
1263
|
+
const pointer = this.pointer(obj);
|
|
1264
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_lectureassessmentapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1265
|
+
},
|
|
1266
|
+
freePointer(pointer) {
|
|
1267
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_lectureassessmentapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1268
|
+
},
|
|
1269
|
+
isConcreteType(obj) {
|
|
1270
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'LectureAssessmentApplication';
|
|
1271
|
+
}
|
|
1272
|
+
};
|
|
1273
|
+
// FfiConverter for LectureAssessmentApplicationInterface
|
|
1274
|
+
const FfiConverterTypeLectureAssessmentApplication = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeLectureAssessmentApplicationObjectFactory);
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* [`LectureAssessmentApplication`] 생성을 위한 빌더
|
|
1278
|
+
*/
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* [`LectureAssessmentApplication`] 생성을 위한 빌더
|
|
1282
|
+
*/
|
|
1283
|
+
class LectureAssessmentApplicationBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1284
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureAssessmentApplicationBuilder';
|
|
1285
|
+
/**
|
|
1286
|
+
* 새로운 [`LectureAssessmentApplicationBuilder`]를 만듭니다.
|
|
1287
|
+
*/
|
|
1288
|
+
constructor() {
|
|
1289
|
+
super();
|
|
1290
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
1291
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_lectureassessmentapplicationbuilder_new(callStatus);
|
|
1292
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
1293
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1294
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeLectureAssessmentApplicationBuilderObjectFactory.bless(pointer);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* 세션과 함께 [`LectureAssessmentApplication`]을 만듭니다.
|
|
1299
|
+
*/
|
|
1300
|
+
async build(session, asyncOpts_) /*throws*/{
|
|
1301
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1302
|
+
try {
|
|
1303
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1304
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_lectureassessmentapplicationbuilder_build(uniffiTypeLectureAssessmentApplicationBuilderObjectFactory.clonePointer(this), FfiConverterTypeUSaintSession.lower(session));
|
|
1305
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeLectureAssessmentApplication.lift.bind(FfiConverterTypeLectureAssessmentApplication), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1306
|
+
} catch (__error) {
|
|
1307
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1308
|
+
__error.stack = __stack;
|
|
1309
|
+
}
|
|
1310
|
+
throw __error;
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1316
|
+
*/
|
|
1317
|
+
uniffiDestroy() {
|
|
1318
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1319
|
+
if (ptr !== undefined) {
|
|
1320
|
+
const pointer = uniffiTypeLectureAssessmentApplicationBuilderObjectFactory.pointer(this);
|
|
1321
|
+
uniffiTypeLectureAssessmentApplicationBuilderObjectFactory.freePointer(pointer);
|
|
1322
|
+
uniffiTypeLectureAssessmentApplicationBuilderObjectFactory.unbless(ptr);
|
|
1323
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
static instanceOf(obj) {
|
|
1327
|
+
return uniffiTypeLectureAssessmentApplicationBuilderObjectFactory.isConcreteType(obj);
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
exports.LectureAssessmentApplicationBuilder = LectureAssessmentApplicationBuilder;
|
|
1331
|
+
const uniffiTypeLectureAssessmentApplicationBuilderObjectFactory = {
|
|
1332
|
+
create(pointer) {
|
|
1333
|
+
const instance = Object.create(LectureAssessmentApplicationBuilder.prototype);
|
|
1334
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1335
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1336
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'LectureAssessmentApplicationBuilder';
|
|
1337
|
+
return instance;
|
|
1338
|
+
},
|
|
1339
|
+
bless(p) {
|
|
1340
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_lectureassessmentapplicationbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1341
|
+
},
|
|
1342
|
+
unbless(ptr) {
|
|
1343
|
+
ptr.markDestroyed();
|
|
1344
|
+
},
|
|
1345
|
+
pointer(obj) {
|
|
1346
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1347
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1348
|
+
}
|
|
1349
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1350
|
+
},
|
|
1351
|
+
clonePointer(obj) {
|
|
1352
|
+
const pointer = this.pointer(obj);
|
|
1353
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_lectureassessmentapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1354
|
+
},
|
|
1355
|
+
freePointer(pointer) {
|
|
1356
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_lectureassessmentapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1357
|
+
},
|
|
1358
|
+
isConcreteType(obj) {
|
|
1359
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'LectureAssessmentApplicationBuilder';
|
|
1360
|
+
}
|
|
1361
|
+
};
|
|
1362
|
+
// FfiConverter for LectureAssessmentApplicationBuilderInterface
|
|
1363
|
+
const FfiConverterTypeLectureAssessmentApplicationBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeLectureAssessmentApplicationBuilderObjectFactory);
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* [개인수업시간표](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW2102)
|
|
1367
|
+
*/
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* [개인수업시간표](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW2102)
|
|
1371
|
+
*/
|
|
1372
|
+
class PersonalCourseScheduleApplication extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1373
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'PersonalCourseScheduleApplication';
|
|
1374
|
+
// No primary constructor declared for this class.
|
|
1375
|
+
constructor(pointer) {
|
|
1376
|
+
super();
|
|
1377
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1378
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypePersonalCourseScheduleApplicationObjectFactory.bless(pointer);
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* 현재 페이지에 선택된 년도와 학기를 가져옵니다. 최초 로드 시 현재 학기를 가져올 가능성이 있습니다.
|
|
1383
|
+
* 하지만 이 애플리케이션의 다른 함수를 호출하여 한번 정보를 가져왔다면 마지막으로 가져온 정보의 학기가 반환되므로 주의하여야 하며, 신뢰할 수 있는 현재 학기의 원천으로 사용되어서는 안됩니다.
|
|
1384
|
+
*/
|
|
1385
|
+
async getSelectedSemester(asyncOpts_) /*throws*/{
|
|
1386
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1387
|
+
try {
|
|
1388
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1389
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_personalcoursescheduleapplication_get_selected_semester(uniffiTypePersonalCourseScheduleApplicationObjectFactory.clonePointer(this));
|
|
1390
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeYearSemester.lift.bind(FfiConverterTypeYearSemester), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1391
|
+
} catch (__error) {
|
|
1392
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1393
|
+
__error.stack = __stack;
|
|
1394
|
+
}
|
|
1395
|
+
throw __error;
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* 해당 학기의 시간표 정보를 가져옵니다.
|
|
1401
|
+
*/
|
|
1402
|
+
async schedule(year, semester, asyncOpts_) /*throws*/{
|
|
1403
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1404
|
+
try {
|
|
1405
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1406
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_personalcoursescheduleapplication_schedule(uniffiTypePersonalCourseScheduleApplicationObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt32.lower(year), FfiConverterTypeSemesterType.lower(semester));
|
|
1407
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypePersonalCourseSchedule.lift.bind(FfiConverterTypePersonalCourseSchedule), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1408
|
+
} catch (__error) {
|
|
1409
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1410
|
+
__error.stack = __stack;
|
|
1411
|
+
}
|
|
1412
|
+
throw __error;
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1418
|
+
*/
|
|
1419
|
+
uniffiDestroy() {
|
|
1420
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1421
|
+
if (ptr !== undefined) {
|
|
1422
|
+
const pointer = uniffiTypePersonalCourseScheduleApplicationObjectFactory.pointer(this);
|
|
1423
|
+
uniffiTypePersonalCourseScheduleApplicationObjectFactory.freePointer(pointer);
|
|
1424
|
+
uniffiTypePersonalCourseScheduleApplicationObjectFactory.unbless(ptr);
|
|
1425
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
static instanceOf(obj) {
|
|
1429
|
+
return uniffiTypePersonalCourseScheduleApplicationObjectFactory.isConcreteType(obj);
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
exports.PersonalCourseScheduleApplication = PersonalCourseScheduleApplication;
|
|
1433
|
+
const uniffiTypePersonalCourseScheduleApplicationObjectFactory = {
|
|
1434
|
+
create(pointer) {
|
|
1435
|
+
const instance = Object.create(PersonalCourseScheduleApplication.prototype);
|
|
1436
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1437
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1438
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'PersonalCourseScheduleApplication';
|
|
1439
|
+
return instance;
|
|
1440
|
+
},
|
|
1441
|
+
bless(p) {
|
|
1442
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_personalcoursescheduleapplication_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1443
|
+
},
|
|
1444
|
+
unbless(ptr) {
|
|
1445
|
+
ptr.markDestroyed();
|
|
1446
|
+
},
|
|
1447
|
+
pointer(obj) {
|
|
1448
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1449
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1450
|
+
}
|
|
1451
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1452
|
+
},
|
|
1453
|
+
clonePointer(obj) {
|
|
1454
|
+
const pointer = this.pointer(obj);
|
|
1455
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_personalcoursescheduleapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1456
|
+
},
|
|
1457
|
+
freePointer(pointer) {
|
|
1458
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_personalcoursescheduleapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1459
|
+
},
|
|
1460
|
+
isConcreteType(obj) {
|
|
1461
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'PersonalCourseScheduleApplication';
|
|
1462
|
+
}
|
|
1463
|
+
};
|
|
1464
|
+
// FfiConverter for PersonalCourseScheduleApplicationInterface
|
|
1465
|
+
const FfiConverterTypePersonalCourseScheduleApplication = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypePersonalCourseScheduleApplicationObjectFactory);
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* [`PersonalCourseScheduleApplication`] 생성을 위한 빌더
|
|
1469
|
+
*/
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* [`PersonalCourseScheduleApplication`] 생성을 위한 빌더
|
|
1473
|
+
*/
|
|
1474
|
+
class PersonalCourseScheduleApplicationBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1475
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'PersonalCourseScheduleApplicationBuilder';
|
|
1476
|
+
/**
|
|
1477
|
+
* 새로운 [`PersonalCourseScheduleApplicationBuilder`]를 만듭니다.
|
|
1478
|
+
*/
|
|
1479
|
+
constructor() {
|
|
1480
|
+
super();
|
|
1481
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
1482
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_personalcoursescheduleapplicationbuilder_new(callStatus);
|
|
1483
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
1484
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1485
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory.bless(pointer);
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* 세션과 함께 [`PersonalCourseScheduleApplication`]을 만듭니다.
|
|
1490
|
+
*/
|
|
1491
|
+
async build(session, asyncOpts_) /*throws*/{
|
|
1492
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1493
|
+
try {
|
|
1494
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1495
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_personalcoursescheduleapplicationbuilder_build(uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory.clonePointer(this), FfiConverterTypeUSaintSession.lower(session));
|
|
1496
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypePersonalCourseScheduleApplication.lift.bind(FfiConverterTypePersonalCourseScheduleApplication), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1497
|
+
} catch (__error) {
|
|
1498
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1499
|
+
__error.stack = __stack;
|
|
1500
|
+
}
|
|
1501
|
+
throw __error;
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1507
|
+
*/
|
|
1508
|
+
uniffiDestroy() {
|
|
1509
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1510
|
+
if (ptr !== undefined) {
|
|
1511
|
+
const pointer = uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory.pointer(this);
|
|
1512
|
+
uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory.freePointer(pointer);
|
|
1513
|
+
uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory.unbless(ptr);
|
|
1514
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
static instanceOf(obj) {
|
|
1518
|
+
return uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory.isConcreteType(obj);
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
exports.PersonalCourseScheduleApplicationBuilder = PersonalCourseScheduleApplicationBuilder;
|
|
1522
|
+
const uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory = {
|
|
1523
|
+
create(pointer) {
|
|
1524
|
+
const instance = Object.create(PersonalCourseScheduleApplicationBuilder.prototype);
|
|
1525
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1526
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1527
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'PersonalCourseScheduleApplicationBuilder';
|
|
1528
|
+
return instance;
|
|
1529
|
+
},
|
|
1530
|
+
bless(p) {
|
|
1531
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_personalcoursescheduleapplicationbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1532
|
+
},
|
|
1533
|
+
unbless(ptr) {
|
|
1534
|
+
ptr.markDestroyed();
|
|
1535
|
+
},
|
|
1536
|
+
pointer(obj) {
|
|
1537
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1538
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1539
|
+
}
|
|
1540
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1541
|
+
},
|
|
1542
|
+
clonePointer(obj) {
|
|
1543
|
+
const pointer = this.pointer(obj);
|
|
1544
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_personalcoursescheduleapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1545
|
+
},
|
|
1546
|
+
freePointer(pointer) {
|
|
1547
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_personalcoursescheduleapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1548
|
+
},
|
|
1549
|
+
isConcreteType(obj) {
|
|
1550
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'PersonalCourseScheduleApplicationBuilder';
|
|
1551
|
+
}
|
|
1552
|
+
};
|
|
1553
|
+
// FfiConverter for PersonalCourseScheduleApplicationBuilderInterface
|
|
1554
|
+
const FfiConverterTypePersonalCourseScheduleApplicationBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory);
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* [장학금수혜내역조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW7530n)
|
|
1558
|
+
*/
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* [장학금수혜내역조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW7530n)
|
|
1562
|
+
*/
|
|
1563
|
+
class ScholarshipsApplication extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1564
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ScholarshipsApplication';
|
|
1565
|
+
// No primary constructor declared for this class.
|
|
1566
|
+
constructor(pointer) {
|
|
1567
|
+
super();
|
|
1568
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1569
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeScholarshipsApplicationObjectFactory.bless(pointer);
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* 장학금 수혜 내역을 가져옵니다.
|
|
1574
|
+
*/
|
|
1575
|
+
async scholarships(asyncOpts_) /*throws*/{
|
|
1576
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1577
|
+
try {
|
|
1578
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1579
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_scholarshipsapplication_scholarships(uniffiTypeScholarshipsApplicationObjectFactory.clonePointer(this));
|
|
1580
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterArrayTypeScholarship.lift.bind(FfiConverterArrayTypeScholarship), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1581
|
+
} catch (__error) {
|
|
1582
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1583
|
+
__error.stack = __stack;
|
|
1584
|
+
}
|
|
1585
|
+
throw __error;
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1591
|
+
*/
|
|
1592
|
+
uniffiDestroy() {
|
|
1593
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1594
|
+
if (ptr !== undefined) {
|
|
1595
|
+
const pointer = uniffiTypeScholarshipsApplicationObjectFactory.pointer(this);
|
|
1596
|
+
uniffiTypeScholarshipsApplicationObjectFactory.freePointer(pointer);
|
|
1597
|
+
uniffiTypeScholarshipsApplicationObjectFactory.unbless(ptr);
|
|
1598
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
static instanceOf(obj) {
|
|
1602
|
+
return uniffiTypeScholarshipsApplicationObjectFactory.isConcreteType(obj);
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
exports.ScholarshipsApplication = ScholarshipsApplication;
|
|
1606
|
+
const uniffiTypeScholarshipsApplicationObjectFactory = {
|
|
1607
|
+
create(pointer) {
|
|
1608
|
+
const instance = Object.create(ScholarshipsApplication.prototype);
|
|
1609
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1610
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1611
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ScholarshipsApplication';
|
|
1612
|
+
return instance;
|
|
1613
|
+
},
|
|
1614
|
+
bless(p) {
|
|
1615
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_scholarshipsapplication_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1616
|
+
},
|
|
1617
|
+
unbless(ptr) {
|
|
1618
|
+
ptr.markDestroyed();
|
|
1619
|
+
},
|
|
1620
|
+
pointer(obj) {
|
|
1621
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1622
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1623
|
+
}
|
|
1624
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1625
|
+
},
|
|
1626
|
+
clonePointer(obj) {
|
|
1627
|
+
const pointer = this.pointer(obj);
|
|
1628
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_scholarshipsapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1629
|
+
},
|
|
1630
|
+
freePointer(pointer) {
|
|
1631
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_scholarshipsapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1632
|
+
},
|
|
1633
|
+
isConcreteType(obj) {
|
|
1634
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'ScholarshipsApplication';
|
|
1635
|
+
}
|
|
1636
|
+
};
|
|
1637
|
+
// FfiConverter for ScholarshipsApplicationInterface
|
|
1638
|
+
const FfiConverterTypeScholarshipsApplication = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeScholarshipsApplicationObjectFactory);
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* [`ScholarshipsApplication`] 생성을 위한 빌더
|
|
1642
|
+
*/
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* [`ScholarshipsApplication`] 생성을 위한 빌더
|
|
1646
|
+
*/
|
|
1647
|
+
class ScholarshipsApplicationBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1648
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ScholarshipsApplicationBuilder';
|
|
1649
|
+
/**
|
|
1650
|
+
* 새로운 [`ScholarshipsApplicationBuilder`]를 만듭니다.
|
|
1651
|
+
*/
|
|
1652
|
+
constructor() {
|
|
1653
|
+
super();
|
|
1654
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
1655
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_scholarshipsapplicationbuilder_new(callStatus);
|
|
1656
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
1657
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1658
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeScholarshipsApplicationBuilderObjectFactory.bless(pointer);
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* 세션과 함께 [`ScholarshipsApplication`]을 만듭니다.
|
|
1663
|
+
*/
|
|
1664
|
+
async build(session, asyncOpts_) /*throws*/{
|
|
1665
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1666
|
+
try {
|
|
1667
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1668
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_scholarshipsapplicationbuilder_build(uniffiTypeScholarshipsApplicationBuilderObjectFactory.clonePointer(this), FfiConverterTypeUSaintSession.lower(session));
|
|
1669
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeScholarshipsApplication.lift.bind(FfiConverterTypeScholarshipsApplication), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1670
|
+
} catch (__error) {
|
|
1671
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1672
|
+
__error.stack = __stack;
|
|
1673
|
+
}
|
|
1674
|
+
throw __error;
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1680
|
+
*/
|
|
1681
|
+
uniffiDestroy() {
|
|
1682
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1683
|
+
if (ptr !== undefined) {
|
|
1684
|
+
const pointer = uniffiTypeScholarshipsApplicationBuilderObjectFactory.pointer(this);
|
|
1685
|
+
uniffiTypeScholarshipsApplicationBuilderObjectFactory.freePointer(pointer);
|
|
1686
|
+
uniffiTypeScholarshipsApplicationBuilderObjectFactory.unbless(ptr);
|
|
1687
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
static instanceOf(obj) {
|
|
1691
|
+
return uniffiTypeScholarshipsApplicationBuilderObjectFactory.isConcreteType(obj);
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
exports.ScholarshipsApplicationBuilder = ScholarshipsApplicationBuilder;
|
|
1695
|
+
const uniffiTypeScholarshipsApplicationBuilderObjectFactory = {
|
|
1696
|
+
create(pointer) {
|
|
1697
|
+
const instance = Object.create(ScholarshipsApplicationBuilder.prototype);
|
|
1698
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1699
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1700
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'ScholarshipsApplicationBuilder';
|
|
1701
|
+
return instance;
|
|
1702
|
+
},
|
|
1703
|
+
bless(p) {
|
|
1704
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_scholarshipsapplicationbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1705
|
+
},
|
|
1706
|
+
unbless(ptr) {
|
|
1707
|
+
ptr.markDestroyed();
|
|
1708
|
+
},
|
|
1709
|
+
pointer(obj) {
|
|
1710
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1711
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1712
|
+
}
|
|
1713
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1714
|
+
},
|
|
1715
|
+
clonePointer(obj) {
|
|
1716
|
+
const pointer = this.pointer(obj);
|
|
1717
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_scholarshipsapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1718
|
+
},
|
|
1719
|
+
freePointer(pointer) {
|
|
1720
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_scholarshipsapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1721
|
+
},
|
|
1722
|
+
isConcreteType(obj) {
|
|
1723
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'ScholarshipsApplicationBuilder';
|
|
1724
|
+
}
|
|
1725
|
+
};
|
|
1726
|
+
// FfiConverter for ScholarshipsApplicationBuilderInterface
|
|
1727
|
+
const FfiConverterTypeScholarshipsApplicationBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeScholarshipsApplicationBuilderObjectFactory);
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* [학생 정보 수정 및 조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW1001n)
|
|
1731
|
+
*/
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* [학생 정보 수정 및 조회](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW1001n)
|
|
1735
|
+
*/
|
|
1736
|
+
class StudentInformationApplication extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1737
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'StudentInformationApplication';
|
|
1738
|
+
// No primary constructor declared for this class.
|
|
1739
|
+
constructor(pointer) {
|
|
1740
|
+
super();
|
|
1741
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1742
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeStudentInformationApplicationObjectFactory.bless(pointer);
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* 학생의 학적상태 정보를 반환합니다.
|
|
1747
|
+
*/
|
|
1748
|
+
async academicRecord(asyncOpts_) /*throws*/{
|
|
1749
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1750
|
+
try {
|
|
1751
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1752
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_academic_record(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1753
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentAcademicRecords.lift.bind(FfiConverterTypeStudentAcademicRecords), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1754
|
+
} catch (__error) {
|
|
1755
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1756
|
+
__error.stack = __stack;
|
|
1757
|
+
}
|
|
1758
|
+
throw __error;
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* 학생의 은행계좌 정보를 반환합니다.
|
|
1764
|
+
*/
|
|
1765
|
+
async bankAccount(asyncOpts_) /*throws*/{
|
|
1766
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1767
|
+
try {
|
|
1768
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1769
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_bank_account(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1770
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentBankAccount.lift.bind(FfiConverterTypeStudentBankAccount), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1771
|
+
} catch (__error) {
|
|
1772
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1773
|
+
__error.stack = __stack;
|
|
1774
|
+
}
|
|
1775
|
+
throw __error;
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* 학생의 가족관계 정보를 반환합니다.
|
|
1781
|
+
*/
|
|
1782
|
+
async family(asyncOpts_) /*throws*/{
|
|
1783
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1784
|
+
try {
|
|
1785
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1786
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_family(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1787
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentFamily.lift.bind(FfiConverterTypeStudentFamily), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1788
|
+
} catch (__error) {
|
|
1789
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1790
|
+
__error.stack = __stack;
|
|
1791
|
+
}
|
|
1792
|
+
throw __error;
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* 일반 학생 정보를 반환합니다.
|
|
1798
|
+
*/
|
|
1799
|
+
async general(asyncOpts_) /*throws*/{
|
|
1800
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1801
|
+
try {
|
|
1802
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1803
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_general(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1804
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentInformation.lift.bind(FfiConverterTypeStudentInformation), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1805
|
+
} catch (__error) {
|
|
1806
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1807
|
+
__error.stack = __stack;
|
|
1808
|
+
}
|
|
1809
|
+
throw __error;
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* 학생의 졸업과 관련된 정보를 반환합니다.
|
|
1815
|
+
*/
|
|
1816
|
+
async graduation(asyncOpts_) /*throws*/{
|
|
1817
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1818
|
+
try {
|
|
1819
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1820
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_graduation(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1821
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentGraduation.lift.bind(FfiConverterTypeStudentGraduation), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1822
|
+
} catch (__error) {
|
|
1823
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1824
|
+
__error.stack = __stack;
|
|
1825
|
+
}
|
|
1826
|
+
throw __error;
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* 학생의 교직, 평생교육사, 7+1 프로그램 등 자격 관련 정보를 반환합니다.
|
|
1832
|
+
*/
|
|
1833
|
+
async qualifications(asyncOpts_) /*throws*/{
|
|
1834
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1835
|
+
try {
|
|
1836
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1837
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_qualifications(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1838
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentQualification.lift.bind(FfiConverterTypeStudentQualification), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1839
|
+
} catch (__error) {
|
|
1840
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1841
|
+
__error.stack = __stack;
|
|
1842
|
+
}
|
|
1843
|
+
throw __error;
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* 학생의 종교 정보를 반환합니다.
|
|
1849
|
+
*/
|
|
1850
|
+
async religion(asyncOpts_) /*throws*/{
|
|
1851
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1852
|
+
try {
|
|
1853
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1854
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_religion(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1855
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentReligion.lift.bind(FfiConverterTypeStudentReligion), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1856
|
+
} catch (__error) {
|
|
1857
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1858
|
+
__error.stack = __stack;
|
|
1859
|
+
}
|
|
1860
|
+
throw __error;
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* 학생의 연구비 입금 계좌를 반환합니다.
|
|
1866
|
+
*/
|
|
1867
|
+
async researchBankAccount(asyncOpts_) /*throws*/{
|
|
1868
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1869
|
+
try {
|
|
1870
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1871
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_research_bank_account(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1872
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentResearchBankAccount.lift.bind(FfiConverterTypeStudentResearchBankAccount), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1873
|
+
} catch (__error) {
|
|
1874
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1875
|
+
__error.stack = __stack;
|
|
1876
|
+
}
|
|
1877
|
+
throw __error;
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* 학생의 편입정보를 반환합니다.
|
|
1883
|
+
*/
|
|
1884
|
+
async transfer(asyncOpts_) /*throws*/{
|
|
1885
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1886
|
+
try {
|
|
1887
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1888
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_transfer(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1889
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentTransferRecords.lift.bind(FfiConverterTypeStudentTransferRecords), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1890
|
+
} catch (__error) {
|
|
1891
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1892
|
+
__error.stack = __stack;
|
|
1893
|
+
}
|
|
1894
|
+
throw __error;
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* 학생의 직장 정보를 반환합니다.
|
|
1900
|
+
*/
|
|
1901
|
+
async work(asyncOpts_) /*throws*/{
|
|
1902
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1903
|
+
try {
|
|
1904
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1905
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplication_work(uniffiTypeStudentInformationApplicationObjectFactory.clonePointer(this));
|
|
1906
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeStudentWorkInformation.lift.bind(FfiConverterTypeStudentWorkInformation), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1907
|
+
} catch (__error) {
|
|
1908
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1909
|
+
__error.stack = __stack;
|
|
1910
|
+
}
|
|
1911
|
+
throw __error;
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
1917
|
+
*/
|
|
1918
|
+
uniffiDestroy() {
|
|
1919
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1920
|
+
if (ptr !== undefined) {
|
|
1921
|
+
const pointer = uniffiTypeStudentInformationApplicationObjectFactory.pointer(this);
|
|
1922
|
+
uniffiTypeStudentInformationApplicationObjectFactory.freePointer(pointer);
|
|
1923
|
+
uniffiTypeStudentInformationApplicationObjectFactory.unbless(ptr);
|
|
1924
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
static instanceOf(obj) {
|
|
1928
|
+
return uniffiTypeStudentInformationApplicationObjectFactory.isConcreteType(obj);
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
exports.StudentInformationApplication = StudentInformationApplication;
|
|
1932
|
+
const uniffiTypeStudentInformationApplicationObjectFactory = {
|
|
1933
|
+
create(pointer) {
|
|
1934
|
+
const instance = Object.create(StudentInformationApplication.prototype);
|
|
1935
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1936
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
1937
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'StudentInformationApplication';
|
|
1938
|
+
return instance;
|
|
1939
|
+
},
|
|
1940
|
+
bless(p) {
|
|
1941
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_studentinformationapplication_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
1942
|
+
},
|
|
1943
|
+
unbless(ptr) {
|
|
1944
|
+
ptr.markDestroyed();
|
|
1945
|
+
},
|
|
1946
|
+
pointer(obj) {
|
|
1947
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
1948
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
1949
|
+
}
|
|
1950
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
1951
|
+
},
|
|
1952
|
+
clonePointer(obj) {
|
|
1953
|
+
const pointer = this.pointer(obj);
|
|
1954
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_studentinformationapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1955
|
+
},
|
|
1956
|
+
freePointer(pointer) {
|
|
1957
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_studentinformationapplication(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
1958
|
+
},
|
|
1959
|
+
isConcreteType(obj) {
|
|
1960
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'StudentInformationApplication';
|
|
1961
|
+
}
|
|
1962
|
+
};
|
|
1963
|
+
// FfiConverter for StudentInformationApplicationInterface
|
|
1964
|
+
const FfiConverterTypeStudentInformationApplication = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeStudentInformationApplicationObjectFactory);
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* [`StudentInformationApplication`] 생성을 위한 빌더
|
|
1968
|
+
*/
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* [`StudentInformationApplication`] 생성을 위한 빌더
|
|
1972
|
+
*/
|
|
1973
|
+
class StudentInformationApplicationBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
1974
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'StudentInformationApplicationBuilder';
|
|
1975
|
+
/**
|
|
1976
|
+
* 새로운 [`StudentInformationApplicationBuilder`]를 만듭니다.
|
|
1977
|
+
*/
|
|
1978
|
+
constructor() {
|
|
1979
|
+
super();
|
|
1980
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
1981
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_studentinformationapplicationbuilder_new(callStatus);
|
|
1982
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
1983
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
1984
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeStudentInformationApplicationBuilderObjectFactory.bless(pointer);
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* 세션과 함께 [`StudentInformationApplication`]을 만듭니다.
|
|
1989
|
+
*/
|
|
1990
|
+
async build(session, asyncOpts_) /*throws*/{
|
|
1991
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
1992
|
+
try {
|
|
1993
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
1994
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_studentinformationapplicationbuilder_build(uniffiTypeStudentInformationApplicationBuilderObjectFactory.clonePointer(this), FfiConverterTypeUSaintSession.lower(session));
|
|
1995
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeStudentInformationApplication.lift.bind(FfiConverterTypeStudentInformationApplication), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
1996
|
+
} catch (__error) {
|
|
1997
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
1998
|
+
__error.stack = __stack;
|
|
1999
|
+
}
|
|
2000
|
+
throw __error;
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
2006
|
+
*/
|
|
2007
|
+
uniffiDestroy() {
|
|
2008
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
2009
|
+
if (ptr !== undefined) {
|
|
2010
|
+
const pointer = uniffiTypeStudentInformationApplicationBuilderObjectFactory.pointer(this);
|
|
2011
|
+
uniffiTypeStudentInformationApplicationBuilderObjectFactory.freePointer(pointer);
|
|
2012
|
+
uniffiTypeStudentInformationApplicationBuilderObjectFactory.unbless(ptr);
|
|
2013
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
static instanceOf(obj) {
|
|
2017
|
+
return uniffiTypeStudentInformationApplicationBuilderObjectFactory.isConcreteType(obj);
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
exports.StudentInformationApplicationBuilder = StudentInformationApplicationBuilder;
|
|
2021
|
+
const uniffiTypeStudentInformationApplicationBuilderObjectFactory = {
|
|
2022
|
+
create(pointer) {
|
|
2023
|
+
const instance = Object.create(StudentInformationApplicationBuilder.prototype);
|
|
2024
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
2025
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
2026
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'StudentInformationApplicationBuilder';
|
|
2027
|
+
return instance;
|
|
2028
|
+
},
|
|
2029
|
+
bless(p) {
|
|
2030
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_studentinformationapplicationbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
2031
|
+
},
|
|
2032
|
+
unbless(ptr) {
|
|
2033
|
+
ptr.markDestroyed();
|
|
2034
|
+
},
|
|
2035
|
+
pointer(obj) {
|
|
2036
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
2037
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
2038
|
+
}
|
|
2039
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
2040
|
+
},
|
|
2041
|
+
clonePointer(obj) {
|
|
2042
|
+
const pointer = this.pointer(obj);
|
|
2043
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_studentinformationapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
2044
|
+
},
|
|
2045
|
+
freePointer(pointer) {
|
|
2046
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_studentinformationapplicationbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
2047
|
+
},
|
|
2048
|
+
isConcreteType(obj) {
|
|
2049
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'StudentInformationApplicationBuilder';
|
|
2050
|
+
}
|
|
2051
|
+
};
|
|
2052
|
+
// FfiConverter for StudentInformationApplicationBuilderInterface
|
|
2053
|
+
const FfiConverterTypeStudentInformationApplicationBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeStudentInformationApplicationBuilderObjectFactory);
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* u-saint에서 사용할 세션
|
|
2057
|
+
* [`USaintSessionBuilder`]를 이용해 생성합니다.
|
|
2058
|
+
*/
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* u-saint에서 사용할 세션
|
|
2062
|
+
* [`USaintSessionBuilder`]를 이용해 생성합니다.
|
|
2063
|
+
*/
|
|
2064
|
+
class USaintSession extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
2065
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'USaintSession';
|
|
2066
|
+
// No primary constructor declared for this class.
|
|
2067
|
+
constructor(pointer) {
|
|
2068
|
+
super();
|
|
2069
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
2070
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeUSaintSessionObjectFactory.bless(pointer);
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
2075
|
+
*/
|
|
2076
|
+
uniffiDestroy() {
|
|
2077
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
2078
|
+
if (ptr !== undefined) {
|
|
2079
|
+
const pointer = uniffiTypeUSaintSessionObjectFactory.pointer(this);
|
|
2080
|
+
uniffiTypeUSaintSessionObjectFactory.freePointer(pointer);
|
|
2081
|
+
uniffiTypeUSaintSessionObjectFactory.unbless(ptr);
|
|
2082
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
static instanceOf(obj) {
|
|
2086
|
+
return uniffiTypeUSaintSessionObjectFactory.isConcreteType(obj);
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
exports.USaintSession = USaintSession;
|
|
2090
|
+
const uniffiTypeUSaintSessionObjectFactory = {
|
|
2091
|
+
create(pointer) {
|
|
2092
|
+
const instance = Object.create(USaintSession.prototype);
|
|
2093
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
2094
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
2095
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'USaintSession';
|
|
2096
|
+
return instance;
|
|
2097
|
+
},
|
|
2098
|
+
bless(p) {
|
|
2099
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_usaintsession_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
2100
|
+
},
|
|
2101
|
+
unbless(ptr) {
|
|
2102
|
+
ptr.markDestroyed();
|
|
2103
|
+
},
|
|
2104
|
+
pointer(obj) {
|
|
2105
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
2106
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
2107
|
+
}
|
|
2108
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
2109
|
+
},
|
|
2110
|
+
clonePointer(obj) {
|
|
2111
|
+
const pointer = this.pointer(obj);
|
|
2112
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_usaintsession(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
2113
|
+
},
|
|
2114
|
+
freePointer(pointer) {
|
|
2115
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_usaintsession(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
2116
|
+
},
|
|
2117
|
+
isConcreteType(obj) {
|
|
2118
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'USaintSession';
|
|
2119
|
+
}
|
|
2120
|
+
};
|
|
2121
|
+
// FfiConverter for USaintSessionInterface
|
|
2122
|
+
const FfiConverterTypeUSaintSession = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeUSaintSessionObjectFactory);
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* [`USaintSession`]을 생성하기 위한 빌더
|
|
2126
|
+
*/
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* [`USaintSession`]을 생성하기 위한 빌더
|
|
2130
|
+
*/
|
|
2131
|
+
class USaintSessionBuilder extends _uniffiBindgenReactNative.UniffiAbstractObject {
|
|
2132
|
+
[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'USaintSessionBuilder';
|
|
2133
|
+
/**
|
|
2134
|
+
* 새로운 [`USaintSessionBuilder`]를 만듭니다.
|
|
2135
|
+
*/
|
|
2136
|
+
constructor() {
|
|
2137
|
+
super();
|
|
2138
|
+
const pointer = uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2139
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_constructor_usaintsessionbuilder_new(callStatus);
|
|
2140
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
2141
|
+
this[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
2142
|
+
this[_uniffiBindgenReactNative.destructorGuardSymbol] = uniffiTypeUSaintSessionBuilderObjectFactory.bless(pointer);
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* 익명 세션(비로그인)을 만듭니다.
|
|
2147
|
+
* ## Kotlin
|
|
2148
|
+
* ```kotlin
|
|
2149
|
+
* fun createAnonymousSession() {
|
|
2150
|
+
* val anonymous = USaintSessionBuilder().anonymous()
|
|
2151
|
+
* }
|
|
2152
|
+
* ```
|
|
2153
|
+
*/
|
|
2154
|
+
anonymous() {
|
|
2155
|
+
return FfiConverterTypeUSaintSession.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
|
|
2156
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_usaintsessionbuilder_anonymous(uniffiTypeUSaintSessionBuilderObjectFactory.clonePointer(this), callStatus);
|
|
2157
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
/**
|
|
2161
|
+
* ID, 비밀번호로 세션을 만듭니다.
|
|
2162
|
+
* ## Kotlin
|
|
2163
|
+
* ```kotlin
|
|
2164
|
+
* suspend fun createSessionWithPassword() {
|
|
2165
|
+
* val withPassword = USaintSessionBuilder().withPassword("20211561", "password") // suspend
|
|
2166
|
+
* }
|
|
2167
|
+
*/
|
|
2168
|
+
async withPassword(id, password, asyncOpts_) /*throws*/{
|
|
2169
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
2170
|
+
try {
|
|
2171
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
2172
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_usaintsessionbuilder_with_password(uniffiTypeUSaintSessionBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(id), FfiConverterString.lower(password));
|
|
2173
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeUSaintSession.lift.bind(FfiConverterTypeUSaintSession), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
2174
|
+
} catch (__error) {
|
|
2175
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
2176
|
+
__error.stack = __stack;
|
|
2177
|
+
}
|
|
2178
|
+
throw __error;
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* SSO 토큰으로 세션을 만듭니다.
|
|
2184
|
+
* ## Kotlin
|
|
2185
|
+
* ```kotlin
|
|
2186
|
+
* suspend fun createSessionWithSsoToken() {
|
|
2187
|
+
* val withToken = USaintSessionBuilder().withToken("<example sso token>") // suspend
|
|
2188
|
+
* }
|
|
2189
|
+
*/
|
|
2190
|
+
async withToken(id, token, asyncOpts_) /*throws*/{
|
|
2191
|
+
const __stack = uniffiIsDebug ? new Error().stack : undefined;
|
|
2192
|
+
try {
|
|
2193
|
+
return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
2194
|
+
return (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_method_usaintsessionbuilder_with_token(uniffiTypeUSaintSessionBuilderObjectFactory.clonePointer(this), FfiConverterString.lower(id), FfiConverterString.lower(token));
|
|
2195
|
+
}, /*pollFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_poll_pointer, /*cancelFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_cancel_pointer, /*completeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_complete_pointer, /*freeFunc:*/(0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_rust_future_free_pointer, /*liftFunc:*/FfiConverterTypeUSaintSession.lift.bind(FfiConverterTypeUSaintSession), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeRusaintError.lift.bind(FfiConverterTypeRusaintError));
|
|
2196
|
+
} catch (__error) {
|
|
2197
|
+
if (uniffiIsDebug && __error instanceof Error) {
|
|
2198
|
+
__error.stack = __stack;
|
|
2199
|
+
}
|
|
2200
|
+
throw __error;
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
2206
|
+
*/
|
|
2207
|
+
uniffiDestroy() {
|
|
2208
|
+
const ptr = this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
2209
|
+
if (ptr !== undefined) {
|
|
2210
|
+
const pointer = uniffiTypeUSaintSessionBuilderObjectFactory.pointer(this);
|
|
2211
|
+
uniffiTypeUSaintSessionBuilderObjectFactory.freePointer(pointer);
|
|
2212
|
+
uniffiTypeUSaintSessionBuilderObjectFactory.unbless(ptr);
|
|
2213
|
+
delete this[_uniffiBindgenReactNative.destructorGuardSymbol];
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
static instanceOf(obj) {
|
|
2217
|
+
return uniffiTypeUSaintSessionBuilderObjectFactory.isConcreteType(obj);
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
exports.USaintSessionBuilder = USaintSessionBuilder;
|
|
2221
|
+
const uniffiTypeUSaintSessionBuilderObjectFactory = {
|
|
2222
|
+
create(pointer) {
|
|
2223
|
+
const instance = Object.create(USaintSessionBuilder.prototype);
|
|
2224
|
+
instance[_uniffiBindgenReactNative.pointerLiteralSymbol] = pointer;
|
|
2225
|
+
instance[_uniffiBindgenReactNative.destructorGuardSymbol] = this.bless(pointer);
|
|
2226
|
+
instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'USaintSessionBuilder';
|
|
2227
|
+
return instance;
|
|
2228
|
+
},
|
|
2229
|
+
bless(p) {
|
|
2230
|
+
return uniffiCaller.rustCall(/*caller:*/status => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_internal_fn_method_usaintsessionbuilder_ffi__bless_pointer(p, status), /*liftString:*/FfiConverterString.lift);
|
|
2231
|
+
},
|
|
2232
|
+
unbless(ptr) {
|
|
2233
|
+
ptr.markDestroyed();
|
|
2234
|
+
},
|
|
2235
|
+
pointer(obj) {
|
|
2236
|
+
if (obj[_uniffiBindgenReactNative.destructorGuardSymbol] === undefined) {
|
|
2237
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();
|
|
2238
|
+
}
|
|
2239
|
+
return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];
|
|
2240
|
+
},
|
|
2241
|
+
clonePointer(obj) {
|
|
2242
|
+
const pointer = this.pointer(obj);
|
|
2243
|
+
return uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_clone_usaintsessionbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
2244
|
+
},
|
|
2245
|
+
freePointer(pointer) {
|
|
2246
|
+
uniffiCaller.rustCall(/*caller:*/callStatus => (0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_fn_free_usaintsessionbuilder(pointer, callStatus), /*liftString:*/FfiConverterString.lift);
|
|
2247
|
+
},
|
|
2248
|
+
isConcreteType(obj) {
|
|
2249
|
+
return obj[_uniffiBindgenReactNative.destructorGuardSymbol] && obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'USaintSessionBuilder';
|
|
2250
|
+
}
|
|
2251
|
+
};
|
|
2252
|
+
// FfiConverter for USaintSessionBuilderInterface
|
|
2253
|
+
const FfiConverterTypeUSaintSessionBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeUSaintSessionBuilderObjectFactory);
|
|
2254
|
+
|
|
2255
|
+
// FfiConverter for string | undefined
|
|
2256
|
+
const FfiConverterOptionalString = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterString);
|
|
2257
|
+
|
|
2258
|
+
// FfiConverter for /*u32*/number | undefined
|
|
2259
|
+
const FfiConverterOptionalUInt32 = new _uniffiBindgenReactNative.FfiConverterOptional(_uniffiBindgenReactNative.FfiConverterUInt32);
|
|
2260
|
+
|
|
2261
|
+
// FfiConverter for Array<ClassGrade>
|
|
2262
|
+
const FfiConverterArrayTypeClassGrade = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeClassGrade);
|
|
2263
|
+
|
|
2264
|
+
// FfiConverter for Array<Lecture>
|
|
2265
|
+
const FfiConverterArrayTypeLecture = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeLecture);
|
|
2266
|
+
|
|
2267
|
+
// FfiConverter for Array<LectureAssessmentResult>
|
|
2268
|
+
const FfiConverterArrayTypeLectureAssessmentResult = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeLectureAssessmentResult);
|
|
2269
|
+
|
|
2270
|
+
// FfiConverter for Array<Scholarship>
|
|
2271
|
+
const FfiConverterArrayTypeScholarship = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeScholarship);
|
|
2272
|
+
|
|
2273
|
+
// FfiConverter for Array<SemesterGrade>
|
|
2274
|
+
const FfiConverterArrayTypeSemesterGrade = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeSemesterGrade);
|
|
2275
|
+
|
|
2276
|
+
// FfiConverter for Array<string>
|
|
2277
|
+
const FfiConverterArrayString = new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterString);
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* This should be called before anything else.
|
|
2281
|
+
*
|
|
2282
|
+
* It is likely that this is being done for you by the library's `index.ts`.
|
|
2283
|
+
*
|
|
2284
|
+
* It checks versions of uniffi between when the Rust scaffolding was generated
|
|
2285
|
+
* and when the bindings were generated.
|
|
2286
|
+
*
|
|
2287
|
+
* It also initializes the machinery to enable Rust to talk back to Javascript.
|
|
2288
|
+
*/
|
|
2289
|
+
function uniffiEnsureInitialized() {
|
|
2290
|
+
// Get the bindings contract version from our ComponentInterface
|
|
2291
|
+
const bindingsContractVersion = 29;
|
|
2292
|
+
// Get the scaffolding contract version by calling the into the dylib
|
|
2293
|
+
const scaffoldingContractVersion = (0, _rusaint_ffiFfi.default)().ubrn_ffi_rusaint_ffi_uniffi_contract_version();
|
|
2294
|
+
if (bindingsContractVersion !== scaffoldingContractVersion) {
|
|
2295
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);
|
|
2296
|
+
}
|
|
2297
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_chapelapplication_get_selected_semester() !== 6133) {
|
|
2298
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_chapelapplication_get_selected_semester');
|
|
2299
|
+
}
|
|
2300
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_chapelapplication_information() !== 21740) {
|
|
2301
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_chapelapplication_information');
|
|
2302
|
+
}
|
|
2303
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_chapelapplicationbuilder_build() !== 32906) {
|
|
2304
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_chapelapplicationbuilder_build');
|
|
2305
|
+
}
|
|
2306
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_certificated_summary() !== 8880) {
|
|
2307
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursegradesapplication_certificated_summary');
|
|
2308
|
+
}
|
|
2309
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_class_detail() !== 3843) {
|
|
2310
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursegradesapplication_class_detail');
|
|
2311
|
+
}
|
|
2312
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_classes() !== 12879) {
|
|
2313
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursegradesapplication_classes');
|
|
2314
|
+
}
|
|
2315
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_get_selected_semester() !== 50223) {
|
|
2316
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursegradesapplication_get_selected_semester');
|
|
2317
|
+
}
|
|
2318
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_recorded_summary() !== 3787) {
|
|
2319
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursegradesapplication_recorded_summary');
|
|
2320
|
+
}
|
|
2321
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_semesters() !== 55958) {
|
|
2322
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursegradesapplication_semesters');
|
|
2323
|
+
}
|
|
2324
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplicationbuilder_build() !== 50139) {
|
|
2325
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursegradesapplicationbuilder_build');
|
|
2326
|
+
}
|
|
2327
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_chapel_categories() !== 21428) {
|
|
2328
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_chapel_categories');
|
|
2329
|
+
}
|
|
2330
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_collages() !== 50658) {
|
|
2331
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_collages');
|
|
2332
|
+
}
|
|
2333
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_connected_majors() !== 24954) {
|
|
2334
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_connected_majors');
|
|
2335
|
+
}
|
|
2336
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_departments() !== 10692) {
|
|
2337
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_departments');
|
|
2338
|
+
}
|
|
2339
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_find_lectures() !== 7590) {
|
|
2340
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_find_lectures');
|
|
2341
|
+
}
|
|
2342
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_get_selected_semester() !== 52870) {
|
|
2343
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_get_selected_semester');
|
|
2344
|
+
}
|
|
2345
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_graduated_collages() !== 29655) {
|
|
2346
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_graduated_collages');
|
|
2347
|
+
}
|
|
2348
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_graduated_departments() !== 42882) {
|
|
2349
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_graduated_departments');
|
|
2350
|
+
}
|
|
2351
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_majors() !== 356) {
|
|
2352
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_majors');
|
|
2353
|
+
}
|
|
2354
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_optional_elective_categories() !== 63165) {
|
|
2355
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_optional_elective_categories');
|
|
2356
|
+
}
|
|
2357
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_required_electives() !== 46039) {
|
|
2358
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_required_electives');
|
|
2359
|
+
}
|
|
2360
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_united_majors() !== 41228) {
|
|
2361
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_united_majors');
|
|
2362
|
+
}
|
|
2363
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplicationbuilder_build() !== 60808) {
|
|
2364
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_coursescheduleapplicationbuilder_build');
|
|
2365
|
+
}
|
|
2366
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplication_requirements() !== 63669) {
|
|
2367
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplication_requirements');
|
|
2368
|
+
}
|
|
2369
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplication_student_info() !== 6063) {
|
|
2370
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplication_student_info');
|
|
2371
|
+
}
|
|
2372
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplicationbuilder_build() !== 18426) {
|
|
2373
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplicationbuilder_build');
|
|
2374
|
+
}
|
|
2375
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_lectureassessmentapplication_find_assessments() !== 53523) {
|
|
2376
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_lectureassessmentapplication_find_assessments');
|
|
2377
|
+
}
|
|
2378
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_lectureassessmentapplication_get_selected_semester() !== 2234) {
|
|
2379
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_lectureassessmentapplication_get_selected_semester');
|
|
2380
|
+
}
|
|
2381
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_lectureassessmentapplicationbuilder_build() !== 52720) {
|
|
2382
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_lectureassessmentapplicationbuilder_build');
|
|
2383
|
+
}
|
|
2384
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplication_get_selected_semester() !== 26180) {
|
|
2385
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplication_get_selected_semester');
|
|
2386
|
+
}
|
|
2387
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplication_schedule() !== 58730) {
|
|
2388
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplication_schedule');
|
|
2389
|
+
}
|
|
2390
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplicationbuilder_build() !== 42578) {
|
|
2391
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplicationbuilder_build');
|
|
2392
|
+
}
|
|
2393
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_scholarshipsapplication_scholarships() !== 28486) {
|
|
2394
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_scholarshipsapplication_scholarships');
|
|
2395
|
+
}
|
|
2396
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_scholarshipsapplicationbuilder_build() !== 35090) {
|
|
2397
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_scholarshipsapplicationbuilder_build');
|
|
2398
|
+
}
|
|
2399
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_academic_record() !== 56142) {
|
|
2400
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_academic_record');
|
|
2401
|
+
}
|
|
2402
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_bank_account() !== 24141) {
|
|
2403
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_bank_account');
|
|
2404
|
+
}
|
|
2405
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_family() !== 32983) {
|
|
2406
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_family');
|
|
2407
|
+
}
|
|
2408
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_general() !== 64238) {
|
|
2409
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_general');
|
|
2410
|
+
}
|
|
2411
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_graduation() !== 31914) {
|
|
2412
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_graduation');
|
|
2413
|
+
}
|
|
2414
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_qualifications() !== 24889) {
|
|
2415
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_qualifications');
|
|
2416
|
+
}
|
|
2417
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_religion() !== 49903) {
|
|
2418
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_religion');
|
|
2419
|
+
}
|
|
2420
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_research_bank_account() !== 7706) {
|
|
2421
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_research_bank_account');
|
|
2422
|
+
}
|
|
2423
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_transfer() !== 46555) {
|
|
2424
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_transfer');
|
|
2425
|
+
}
|
|
2426
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplication_work() !== 4701) {
|
|
2427
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplication_work');
|
|
2428
|
+
}
|
|
2429
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_studentinformationapplicationbuilder_build() !== 12986) {
|
|
2430
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_studentinformationapplicationbuilder_build');
|
|
2431
|
+
}
|
|
2432
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_anonymous() !== 59232) {
|
|
2433
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_anonymous');
|
|
2434
|
+
}
|
|
2435
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_with_password() !== 35896) {
|
|
2436
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_with_password');
|
|
2437
|
+
}
|
|
2438
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_with_token() !== 48669) {
|
|
2439
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_with_token');
|
|
2440
|
+
}
|
|
2441
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_chapelapplicationbuilder_new() !== 52857) {
|
|
2442
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_chapelapplicationbuilder_new');
|
|
2443
|
+
}
|
|
2444
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_coursegradesapplicationbuilder_new() !== 45366) {
|
|
2445
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_coursegradesapplicationbuilder_new');
|
|
2446
|
+
}
|
|
2447
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_coursescheduleapplicationbuilder_new() !== 52419) {
|
|
2448
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_coursescheduleapplicationbuilder_new');
|
|
2449
|
+
}
|
|
2450
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_graduationrequirementsapplicationbuilder_new() !== 7670) {
|
|
2451
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_graduationrequirementsapplicationbuilder_new');
|
|
2452
|
+
}
|
|
2453
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_lectureassessmentapplicationbuilder_new() !== 61021) {
|
|
2454
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_lectureassessmentapplicationbuilder_new');
|
|
2455
|
+
}
|
|
2456
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_personalcoursescheduleapplicationbuilder_new() !== 46717) {
|
|
2457
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_personalcoursescheduleapplicationbuilder_new');
|
|
2458
|
+
}
|
|
2459
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_scholarshipsapplicationbuilder_new() !== 64614) {
|
|
2460
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_scholarshipsapplicationbuilder_new');
|
|
2461
|
+
}
|
|
2462
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_studentinformationapplicationbuilder_new() !== 5527) {
|
|
2463
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_studentinformationapplicationbuilder_new');
|
|
2464
|
+
}
|
|
2465
|
+
if ((0, _rusaint_ffiFfi.default)().ubrn_uniffi_rusaint_ffi_checksum_constructor_usaintsessionbuilder_new() !== 54500) {
|
|
2466
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_rusaint_ffi_checksum_constructor_usaintsessionbuilder_new');
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
var _default = exports.default = Object.freeze({
|
|
2470
|
+
initialize: uniffiEnsureInitialized,
|
|
2471
|
+
converters: {
|
|
2472
|
+
FfiConverterTypeChapelApplication,
|
|
2473
|
+
FfiConverterTypeChapelApplicationBuilder,
|
|
2474
|
+
FfiConverterTypeCourseGradesApplication,
|
|
2475
|
+
FfiConverterTypeCourseGradesApplicationBuilder,
|
|
2476
|
+
FfiConverterTypeCourseScheduleApplication,
|
|
2477
|
+
FfiConverterTypeCourseScheduleApplicationBuilder,
|
|
2478
|
+
FfiConverterTypeGraduationRequirementsApplication,
|
|
2479
|
+
FfiConverterTypeGraduationRequirementsApplicationBuilder,
|
|
2480
|
+
FfiConverterTypeLectureAssessmentApplication,
|
|
2481
|
+
FfiConverterTypeLectureAssessmentApplicationBuilder,
|
|
2482
|
+
FfiConverterTypePersonalCourseScheduleApplication,
|
|
2483
|
+
FfiConverterTypePersonalCourseScheduleApplicationBuilder,
|
|
2484
|
+
FfiConverterTypeScholarshipsApplication,
|
|
2485
|
+
FfiConverterTypeScholarshipsApplicationBuilder,
|
|
2486
|
+
FfiConverterTypeStudentInformationApplication,
|
|
2487
|
+
FfiConverterTypeStudentInformationApplicationBuilder,
|
|
2488
|
+
FfiConverterTypeUSaintSession,
|
|
2489
|
+
FfiConverterTypeUSaintSessionBuilder,
|
|
2490
|
+
FfiConverterTypeYearSemester
|
|
2491
|
+
}
|
|
2492
|
+
});
|
|
2493
|
+
//# sourceMappingURL=rusaint_ffi.js.map
|