@rusaint/react-native 0.13.3 → 0.13.5

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.
Files changed (27) hide show
  1. package/android/src/main/jniLibs/arm64-v8a/librusaint_ffi.so +0 -0
  2. package/android/src/main/jniLibs/armeabi-v7a/librusaint_ffi.so +0 -0
  3. package/build/RusaintReactNative.xcframework/_CodeSignature/CodeDirectory +0 -0
  4. package/build/RusaintReactNative.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  5. package/build/RusaintReactNative.xcframework/_CodeSignature/CodeResources +6 -6
  6. package/build/RusaintReactNative.xcframework/_CodeSignature/CodeSignature +0 -0
  7. package/build/RusaintReactNative.xcframework/ios-arm64/librusaint_ffi.a +0 -0
  8. package/build/RusaintReactNative.xcframework/ios-arm64-simulator/librusaint_ffi.a +0 -0
  9. package/cpp/generated/rusaint_ffi.cpp +359 -0
  10. package/cpp/generated/rusaint_ffi.hpp +20 -0
  11. package/lib/commonjs/generated/rusaint_ffi-ffi.js.map +1 -1
  12. package/lib/commonjs/generated/rusaint_ffi.js +184 -0
  13. package/lib/commonjs/generated/rusaint_ffi.js.map +1 -1
  14. package/lib/module/generated/rusaint_ffi-ffi.js.map +1 -1
  15. package/lib/module/generated/rusaint_ffi.js +184 -0
  16. package/lib/module/generated/rusaint_ffi.js.map +1 -1
  17. package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts +20 -0
  18. package/lib/typescript/commonjs/src/generated/rusaint_ffi-ffi.d.ts.map +1 -1
  19. package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts +112 -0
  20. package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts.map +1 -1
  21. package/lib/typescript/module/src/generated/rusaint_ffi-ffi.d.ts +20 -0
  22. package/lib/typescript/module/src/generated/rusaint_ffi-ffi.d.ts.map +1 -1
  23. package/lib/typescript/module/src/generated/rusaint_ffi.d.ts +112 -0
  24. package/lib/typescript/module/src/generated/rusaint_ffi.d.ts.map +1 -1
  25. package/package.json +1 -1
  26. package/src/generated/rusaint_ffi-ffi.ts +43 -0
  27. package/src/generated/rusaint_ffi.ts +457 -1
@@ -306,6 +306,14 @@ export interface ChapelApplicationInterface {
306
306
  semester: SemesterType,
307
307
  asyncOpts_?: { signal: AbortSignal }
308
308
  ) /*throws*/ : Promise<ChapelInformation>;
309
+ /**
310
+ * 최신 정보를 조회합니다. 새로고침 시 유용합니다.
311
+ */
312
+ lookup(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
313
+ /**
314
+ * 페이지를 새로고침합니다.
315
+ */
316
+ reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
309
317
  }
310
318
 
311
319
  /**
@@ -411,6 +419,78 @@ export class ChapelApplication
411
419
  }
412
420
  }
413
421
 
422
+ /**
423
+ * 최신 정보를 조회합니다. 새로고침 시 유용합니다.
424
+ */
425
+ public async lookup(asyncOpts_?: {
426
+ signal: AbortSignal;
427
+ }): Promise<void> /*throws*/ {
428
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
429
+ try {
430
+ return await uniffiRustCallAsync(
431
+ /*rustCaller:*/ uniffiCaller,
432
+ /*rustFutureFunc:*/ () => {
433
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_chapelapplication_lookup(
434
+ uniffiTypeChapelApplicationObjectFactory.clonePointer(this)
435
+ );
436
+ },
437
+ /*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
438
+ /*cancelFunc:*/ nativeModule()
439
+ .ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
440
+ /*completeFunc:*/ nativeModule()
441
+ .ubrn_ffi_rusaint_ffi_rust_future_complete_void,
442
+ /*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
443
+ /*liftFunc:*/ (_v) => {},
444
+ /*liftString:*/ FfiConverterString.lift,
445
+ /*asyncOpts:*/ asyncOpts_,
446
+ /*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
447
+ FfiConverterTypeRusaintError
448
+ )
449
+ );
450
+ } catch (__error: any) {
451
+ if (uniffiIsDebug && __error instanceof Error) {
452
+ __error.stack = __stack;
453
+ }
454
+ throw __error;
455
+ }
456
+ }
457
+
458
+ /**
459
+ * 페이지를 새로고침합니다.
460
+ */
461
+ public async reload(asyncOpts_?: {
462
+ signal: AbortSignal;
463
+ }): Promise<void> /*throws*/ {
464
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
465
+ try {
466
+ return await uniffiRustCallAsync(
467
+ /*rustCaller:*/ uniffiCaller,
468
+ /*rustFutureFunc:*/ () => {
469
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_chapelapplication_reload(
470
+ uniffiTypeChapelApplicationObjectFactory.clonePointer(this)
471
+ );
472
+ },
473
+ /*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
474
+ /*cancelFunc:*/ nativeModule()
475
+ .ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
476
+ /*completeFunc:*/ nativeModule()
477
+ .ubrn_ffi_rusaint_ffi_rust_future_complete_void,
478
+ /*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
479
+ /*liftFunc:*/ (_v) => {},
480
+ /*liftString:*/ FfiConverterString.lift,
481
+ /*asyncOpts:*/ asyncOpts_,
482
+ /*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
483
+ FfiConverterTypeRusaintError
484
+ )
485
+ );
486
+ } catch (__error: any) {
487
+ if (uniffiIsDebug && __error instanceof Error) {
488
+ __error.stack = __stack;
489
+ }
490
+ throw __error;
491
+ }
492
+ }
493
+
414
494
  /**
415
495
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
416
496
  */
@@ -714,6 +794,10 @@ export interface CourseGradesApplicationInterface {
714
794
  getSelectedSemester(asyncOpts_?: {
715
795
  signal: AbortSignal;
716
796
  }) /*throws*/ : Promise<YearSemester>;
797
+ /**
798
+ * 최신 정보를 조회합니다. 새로고침 시 유용합니다.
799
+ */
800
+ lookup(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
717
801
  /**
718
802
  * 전체 학기의 학적부 평점 정보를 가져옵니다.
719
803
  */
@@ -721,6 +805,10 @@ export interface CourseGradesApplicationInterface {
721
805
  courseType: CourseType,
722
806
  asyncOpts_?: { signal: AbortSignal }
723
807
  ) /*throws*/ : Promise<GradeSummary>;
808
+ /**
809
+ * 페이지를 새로고침합니다.
810
+ */
811
+ reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
724
812
  /**
725
813
  * 학기별 평점 정보를 가져옵니다.
726
814
  */
@@ -930,6 +1018,42 @@ export class CourseGradesApplication
930
1018
  }
931
1019
  }
932
1020
 
1021
+ /**
1022
+ * 최신 정보를 조회합니다. 새로고침 시 유용합니다.
1023
+ */
1024
+ public async lookup(asyncOpts_?: {
1025
+ signal: AbortSignal;
1026
+ }): Promise<void> /*throws*/ {
1027
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
1028
+ try {
1029
+ return await uniffiRustCallAsync(
1030
+ /*rustCaller:*/ uniffiCaller,
1031
+ /*rustFutureFunc:*/ () => {
1032
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplication_lookup(
1033
+ uniffiTypeCourseGradesApplicationObjectFactory.clonePointer(this)
1034
+ );
1035
+ },
1036
+ /*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
1037
+ /*cancelFunc:*/ nativeModule()
1038
+ .ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
1039
+ /*completeFunc:*/ nativeModule()
1040
+ .ubrn_ffi_rusaint_ffi_rust_future_complete_void,
1041
+ /*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
1042
+ /*liftFunc:*/ (_v) => {},
1043
+ /*liftString:*/ FfiConverterString.lift,
1044
+ /*asyncOpts:*/ asyncOpts_,
1045
+ /*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
1046
+ FfiConverterTypeRusaintError
1047
+ )
1048
+ );
1049
+ } catch (__error: any) {
1050
+ if (uniffiIsDebug && __error instanceof Error) {
1051
+ __error.stack = __stack;
1052
+ }
1053
+ throw __error;
1054
+ }
1055
+ }
1056
+
933
1057
  /**
934
1058
  * 전체 학기의 학적부 평점 정보를 가져옵니다.
935
1059
  */
@@ -972,6 +1096,42 @@ export class CourseGradesApplication
972
1096
  }
973
1097
  }
974
1098
 
1099
+ /**
1100
+ * 페이지를 새로고침합니다.
1101
+ */
1102
+ public async reload(asyncOpts_?: {
1103
+ signal: AbortSignal;
1104
+ }): Promise<void> /*throws*/ {
1105
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
1106
+ try {
1107
+ return await uniffiRustCallAsync(
1108
+ /*rustCaller:*/ uniffiCaller,
1109
+ /*rustFutureFunc:*/ () => {
1110
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_coursegradesapplication_reload(
1111
+ uniffiTypeCourseGradesApplicationObjectFactory.clonePointer(this)
1112
+ );
1113
+ },
1114
+ /*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
1115
+ /*cancelFunc:*/ nativeModule()
1116
+ .ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
1117
+ /*completeFunc:*/ nativeModule()
1118
+ .ubrn_ffi_rusaint_ffi_rust_future_complete_void,
1119
+ /*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
1120
+ /*liftFunc:*/ (_v) => {},
1121
+ /*liftString:*/ FfiConverterString.lift,
1122
+ /*asyncOpts:*/ asyncOpts_,
1123
+ /*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
1124
+ FfiConverterTypeRusaintError
1125
+ )
1126
+ );
1127
+ } catch (__error: any) {
1128
+ if (uniffiIsDebug && __error instanceof Error) {
1129
+ __error.stack = __stack;
1130
+ }
1131
+ throw __error;
1132
+ }
1133
+ }
1134
+
975
1135
  /**
976
1136
  * 학기별 평점 정보를 가져옵니다.
977
1137
  */
@@ -1379,6 +1539,10 @@ export interface CourseScheduleApplicationInterface {
1379
1539
  semester: SemesterType,
1380
1540
  asyncOpts_?: { signal: AbortSignal }
1381
1541
  ) /*throws*/ : Promise<Array<string>>;
1542
+ /**
1543
+ * 페이지를 새로고침합니다.
1544
+ */
1545
+ reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
1382
1546
  /**
1383
1547
  * 선택한 학기의 교양필수 과목명 목록을 가져옵니다.
1384
1548
  */
@@ -1862,6 +2026,42 @@ export class CourseScheduleApplication
1862
2026
  }
1863
2027
  }
1864
2028
 
2029
+ /**
2030
+ * 페이지를 새로고침합니다.
2031
+ */
2032
+ public async reload(asyncOpts_?: {
2033
+ signal: AbortSignal;
2034
+ }): Promise<void> /*throws*/ {
2035
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
2036
+ try {
2037
+ return await uniffiRustCallAsync(
2038
+ /*rustCaller:*/ uniffiCaller,
2039
+ /*rustFutureFunc:*/ () => {
2040
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_coursescheduleapplication_reload(
2041
+ uniffiTypeCourseScheduleApplicationObjectFactory.clonePointer(this)
2042
+ );
2043
+ },
2044
+ /*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
2045
+ /*cancelFunc:*/ nativeModule()
2046
+ .ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
2047
+ /*completeFunc:*/ nativeModule()
2048
+ .ubrn_ffi_rusaint_ffi_rust_future_complete_void,
2049
+ /*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
2050
+ /*liftFunc:*/ (_v) => {},
2051
+ /*liftString:*/ FfiConverterString.lift,
2052
+ /*asyncOpts:*/ asyncOpts_,
2053
+ /*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
2054
+ FfiConverterTypeRusaintError
2055
+ )
2056
+ );
2057
+ } catch (__error: any) {
2058
+ if (uniffiIsDebug && __error instanceof Error) {
2059
+ __error.stack = __stack;
2060
+ }
2061
+ throw __error;
2062
+ }
2063
+ }
2064
+
1865
2065
  /**
1866
2066
  * 선택한 학기의 교양필수 과목명 목록을 가져옵니다.
1867
2067
  */
@@ -2235,6 +2435,10 @@ const FfiConverterTypeCourseScheduleApplicationBuilder = new FfiConverterObject(
2235
2435
  * [졸업사정표](https://ecc.ssu.ac.kr/sap/bc/webdynpro/SAP/ZCMW8015)
2236
2436
  */
2237
2437
  export interface GraduationRequirementsApplicationInterface {
2438
+ /**
2439
+ * 페이지를 새로고침합니다.
2440
+ */
2441
+ reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
2238
2442
  /**
2239
2443
  * 졸업사정 결과와 졸업 필요 요건별 충족 여부와 세부 정보를 반환합니다.
2240
2444
  */
@@ -2267,6 +2471,44 @@ export class GraduationRequirementsApplication
2267
2471
  uniffiTypeGraduationRequirementsApplicationObjectFactory.bless(pointer);
2268
2472
  }
2269
2473
 
2474
+ /**
2475
+ * 페이지를 새로고침합니다.
2476
+ */
2477
+ public async reload(asyncOpts_?: {
2478
+ signal: AbortSignal;
2479
+ }): Promise<void> /*throws*/ {
2480
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
2481
+ try {
2482
+ return await uniffiRustCallAsync(
2483
+ /*rustCaller:*/ uniffiCaller,
2484
+ /*rustFutureFunc:*/ () => {
2485
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_graduationrequirementsapplication_reload(
2486
+ uniffiTypeGraduationRequirementsApplicationObjectFactory.clonePointer(
2487
+ this
2488
+ )
2489
+ );
2490
+ },
2491
+ /*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
2492
+ /*cancelFunc:*/ nativeModule()
2493
+ .ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
2494
+ /*completeFunc:*/ nativeModule()
2495
+ .ubrn_ffi_rusaint_ffi_rust_future_complete_void,
2496
+ /*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
2497
+ /*liftFunc:*/ (_v) => {},
2498
+ /*liftString:*/ FfiConverterString.lift,
2499
+ /*asyncOpts:*/ asyncOpts_,
2500
+ /*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
2501
+ FfiConverterTypeRusaintError
2502
+ )
2503
+ );
2504
+ } catch (__error: any) {
2505
+ if (uniffiIsDebug && __error instanceof Error) {
2506
+ __error.stack = __stack;
2507
+ }
2508
+ throw __error;
2509
+ }
2510
+ }
2511
+
2270
2512
  /**
2271
2513
  * 졸업사정 결과와 졸업 필요 요건별 충족 여부와 세부 정보를 반환합니다.
2272
2514
  */
@@ -2672,6 +2914,10 @@ export interface LectureAssessmentApplicationInterface {
2672
2914
  getSelectedSemester(asyncOpts_?: {
2673
2915
  signal: AbortSignal;
2674
2916
  }) /*throws*/ : Promise<YearSemester>;
2917
+ /**
2918
+ * 페이지를 새로고침합니다.
2919
+ */
2920
+ reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
2675
2921
  }
2676
2922
 
2677
2923
  /**
@@ -2787,6 +3033,44 @@ export class LectureAssessmentApplication
2787
3033
  }
2788
3034
  }
2789
3035
 
3036
+ /**
3037
+ * 페이지를 새로고침합니다.
3038
+ */
3039
+ public async reload(asyncOpts_?: {
3040
+ signal: AbortSignal;
3041
+ }): Promise<void> /*throws*/ {
3042
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
3043
+ try {
3044
+ return await uniffiRustCallAsync(
3045
+ /*rustCaller:*/ uniffiCaller,
3046
+ /*rustFutureFunc:*/ () => {
3047
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_lectureassessmentapplication_reload(
3048
+ uniffiTypeLectureAssessmentApplicationObjectFactory.clonePointer(
3049
+ this
3050
+ )
3051
+ );
3052
+ },
3053
+ /*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
3054
+ /*cancelFunc:*/ nativeModule()
3055
+ .ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
3056
+ /*completeFunc:*/ nativeModule()
3057
+ .ubrn_ffi_rusaint_ffi_rust_future_complete_void,
3058
+ /*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
3059
+ /*liftFunc:*/ (_v) => {},
3060
+ /*liftString:*/ FfiConverterString.lift,
3061
+ /*asyncOpts:*/ asyncOpts_,
3062
+ /*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
3063
+ FfiConverterTypeRusaintError
3064
+ )
3065
+ );
3066
+ } catch (__error: any) {
3067
+ if (uniffiIsDebug && __error instanceof Error) {
3068
+ __error.stack = __stack;
3069
+ }
3070
+ throw __error;
3071
+ }
3072
+ }
3073
+
2790
3074
  /**
2791
3075
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
2792
3076
  */
@@ -3084,6 +3368,10 @@ export interface PersonalCourseScheduleApplicationInterface {
3084
3368
  getSelectedSemester(asyncOpts_?: {
3085
3369
  signal: AbortSignal;
3086
3370
  }) /*throws*/ : Promise<YearSemester>;
3371
+ /**
3372
+ * 페이지를 새로고침합니다.
3373
+ */
3374
+ reload(asyncOpts_?: { signal: AbortSignal }) /*throws*/ : Promise<void>;
3087
3375
  /**
3088
3376
  * 해당 학기의 시간표 정보를 가져옵니다.
3089
3377
  */
@@ -3155,6 +3443,44 @@ export class PersonalCourseScheduleApplication
3155
3443
  }
3156
3444
  }
3157
3445
 
3446
+ /**
3447
+ * 페이지를 새로고침합니다.
3448
+ */
3449
+ public async reload(asyncOpts_?: {
3450
+ signal: AbortSignal;
3451
+ }): Promise<void> /*throws*/ {
3452
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
3453
+ try {
3454
+ return await uniffiRustCallAsync(
3455
+ /*rustCaller:*/ uniffiCaller,
3456
+ /*rustFutureFunc:*/ () => {
3457
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_personalcoursescheduleapplication_reload(
3458
+ uniffiTypePersonalCourseScheduleApplicationObjectFactory.clonePointer(
3459
+ this
3460
+ )
3461
+ );
3462
+ },
3463
+ /*pollFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_poll_void,
3464
+ /*cancelFunc:*/ nativeModule()
3465
+ .ubrn_ffi_rusaint_ffi_rust_future_cancel_void,
3466
+ /*completeFunc:*/ nativeModule()
3467
+ .ubrn_ffi_rusaint_ffi_rust_future_complete_void,
3468
+ /*freeFunc:*/ nativeModule().ubrn_ffi_rusaint_ffi_rust_future_free_void,
3469
+ /*liftFunc:*/ (_v) => {},
3470
+ /*liftString:*/ FfiConverterString.lift,
3471
+ /*asyncOpts:*/ asyncOpts_,
3472
+ /*errorHandler:*/ FfiConverterTypeRusaintError.lift.bind(
3473
+ FfiConverterTypeRusaintError
3474
+ )
3475
+ );
3476
+ } catch (__error: any) {
3477
+ if (uniffiIsDebug && __error instanceof Error) {
3478
+ __error.stack = __stack;
3479
+ }
3480
+ throw __error;
3481
+ }
3482
+ }
3483
+
3158
3484
  /**
3159
3485
  * 해당 학기의 시간표 정보를 가져옵니다.
3160
3486
  */
@@ -4643,7 +4969,12 @@ const FfiConverterTypeStudentInformationApplicationBuilder =
4643
4969
  * u-saint에서 사용할 세션
4644
4970
  * [`USaintSessionBuilder`]를 이용해 생성합니다.
4645
4971
  */
4646
- export interface USaintSessionInterface {}
4972
+ export interface USaintSessionInterface {
4973
+ /**
4974
+ * 세션을 json 형식으로 변환합니다.
4975
+ */
4976
+ toJson() /*throws*/ : string;
4977
+ }
4647
4978
 
4648
4979
  /**
4649
4980
  * u-saint에서 사용할 세션
@@ -4664,6 +4995,26 @@ export class USaintSession
4664
4995
  uniffiTypeUSaintSessionObjectFactory.bless(pointer);
4665
4996
  }
4666
4997
 
4998
+ /**
4999
+ * 세션을 json 형식으로 변환합니다.
5000
+ */
5001
+ public toJson(): string /*throws*/ {
5002
+ return FfiConverterString.lift(
5003
+ uniffiCaller.rustCallWithError(
5004
+ /*liftError:*/ FfiConverterTypeRusaintError.lift.bind(
5005
+ FfiConverterTypeRusaintError
5006
+ ),
5007
+ /*caller:*/ (callStatus) => {
5008
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_usaintsession_to_json(
5009
+ uniffiTypeUSaintSessionObjectFactory.clonePointer(this),
5010
+ callStatus
5011
+ );
5012
+ },
5013
+ /*liftString:*/ FfiConverterString.lift
5014
+ )
5015
+ );
5016
+ }
5017
+
4667
5018
  /**
4668
5019
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
4669
5020
  */
@@ -4765,6 +5116,10 @@ export interface USaintSessionBuilderInterface {
4765
5116
  * ```
4766
5117
  */
4767
5118
  anonymous(): USaintSessionInterface;
5119
+ /**
5120
+ * json 형식으로 저장된 세션을 읽어 세션을 생성합니다.
5121
+ */
5122
+ fromJson(json: string) /*throws*/ : USaintSessionInterface;
4768
5123
  /**
4769
5124
  * ID, 비밀번호로 세션을 만듭니다.
4770
5125
  * ## Kotlin
@@ -4844,6 +5199,27 @@ export class USaintSessionBuilder
4844
5199
  );
4845
5200
  }
4846
5201
 
5202
+ /**
5203
+ * json 형식으로 저장된 세션을 읽어 세션을 생성합니다.
5204
+ */
5205
+ public fromJson(json: string): USaintSessionInterface /*throws*/ {
5206
+ return FfiConverterTypeUSaintSession.lift(
5207
+ uniffiCaller.rustCallWithError(
5208
+ /*liftError:*/ FfiConverterTypeRusaintError.lift.bind(
5209
+ FfiConverterTypeRusaintError
5210
+ ),
5211
+ /*caller:*/ (callStatus) => {
5212
+ return nativeModule().ubrn_uniffi_rusaint_ffi_fn_method_usaintsessionbuilder_from_json(
5213
+ uniffiTypeUSaintSessionBuilderObjectFactory.clonePointer(this),
5214
+ FfiConverterString.lower(json),
5215
+ callStatus
5216
+ );
5217
+ },
5218
+ /*liftString:*/ FfiConverterString.lift
5219
+ )
5220
+ );
5221
+ }
5222
+
4847
5223
  /**
4848
5224
  * ID, 비밀번호로 세션을 만듭니다.
4849
5225
  * ## Kotlin
@@ -5103,6 +5479,22 @@ function uniffiEnsureInitialized() {
5103
5479
  'uniffi_rusaint_ffi_checksum_method_chapelapplication_information'
5104
5480
  );
5105
5481
  }
5482
+ if (
5483
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_chapelapplication_lookup() !==
5484
+ 38260
5485
+ ) {
5486
+ throw new UniffiInternalError.ApiChecksumMismatch(
5487
+ 'uniffi_rusaint_ffi_checksum_method_chapelapplication_lookup'
5488
+ );
5489
+ }
5490
+ if (
5491
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_chapelapplication_reload() !==
5492
+ 11169
5493
+ ) {
5494
+ throw new UniffiInternalError.ApiChecksumMismatch(
5495
+ 'uniffi_rusaint_ffi_checksum_method_chapelapplication_reload'
5496
+ );
5497
+ }
5106
5498
  if (
5107
5499
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_chapelapplicationbuilder_build() !==
5108
5500
  32906
@@ -5143,6 +5535,14 @@ function uniffiEnsureInitialized() {
5143
5535
  'uniffi_rusaint_ffi_checksum_method_coursegradesapplication_get_selected_semester'
5144
5536
  );
5145
5537
  }
5538
+ if (
5539
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_lookup() !==
5540
+ 14564
5541
+ ) {
5542
+ throw new UniffiInternalError.ApiChecksumMismatch(
5543
+ 'uniffi_rusaint_ffi_checksum_method_coursegradesapplication_lookup'
5544
+ );
5545
+ }
5146
5546
  if (
5147
5547
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_recorded_summary() !==
5148
5548
  3787
@@ -5151,6 +5551,14 @@ function uniffiEnsureInitialized() {
5151
5551
  'uniffi_rusaint_ffi_checksum_method_coursegradesapplication_recorded_summary'
5152
5552
  );
5153
5553
  }
5554
+ if (
5555
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_reload() !==
5556
+ 969
5557
+ ) {
5558
+ throw new UniffiInternalError.ApiChecksumMismatch(
5559
+ 'uniffi_rusaint_ffi_checksum_method_coursegradesapplication_reload'
5560
+ );
5561
+ }
5154
5562
  if (
5155
5563
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_coursegradesapplication_semesters() !==
5156
5564
  55958
@@ -5247,6 +5655,14 @@ function uniffiEnsureInitialized() {
5247
5655
  'uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_optional_elective_categories'
5248
5656
  );
5249
5657
  }
5658
+ if (
5659
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_reload() !==
5660
+ 33937
5661
+ ) {
5662
+ throw new UniffiInternalError.ApiChecksumMismatch(
5663
+ 'uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_reload'
5664
+ );
5665
+ }
5250
5666
  if (
5251
5667
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_coursescheduleapplication_required_electives() !==
5252
5668
  46039
@@ -5271,6 +5687,14 @@ function uniffiEnsureInitialized() {
5271
5687
  'uniffi_rusaint_ffi_checksum_method_coursescheduleapplicationbuilder_build'
5272
5688
  );
5273
5689
  }
5690
+ if (
5691
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplication_reload() !==
5692
+ 57908
5693
+ ) {
5694
+ throw new UniffiInternalError.ApiChecksumMismatch(
5695
+ 'uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplication_reload'
5696
+ );
5697
+ }
5274
5698
  if (
5275
5699
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_graduationrequirementsapplication_requirements() !==
5276
5700
  63669
@@ -5311,6 +5735,14 @@ function uniffiEnsureInitialized() {
5311
5735
  'uniffi_rusaint_ffi_checksum_method_lectureassessmentapplication_get_selected_semester'
5312
5736
  );
5313
5737
  }
5738
+ if (
5739
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_lectureassessmentapplication_reload() !==
5740
+ 59622
5741
+ ) {
5742
+ throw new UniffiInternalError.ApiChecksumMismatch(
5743
+ 'uniffi_rusaint_ffi_checksum_method_lectureassessmentapplication_reload'
5744
+ );
5745
+ }
5314
5746
  if (
5315
5747
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_lectureassessmentapplicationbuilder_build() !==
5316
5748
  52720
@@ -5327,6 +5759,14 @@ function uniffiEnsureInitialized() {
5327
5759
  'uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplication_get_selected_semester'
5328
5760
  );
5329
5761
  }
5762
+ if (
5763
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplication_reload() !==
5764
+ 8855
5765
+ ) {
5766
+ throw new UniffiInternalError.ApiChecksumMismatch(
5767
+ 'uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplication_reload'
5768
+ );
5769
+ }
5330
5770
  if (
5331
5771
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_personalcoursescheduleapplication_schedule() !==
5332
5772
  58730
@@ -5447,6 +5887,14 @@ function uniffiEnsureInitialized() {
5447
5887
  'uniffi_rusaint_ffi_checksum_method_studentinformationapplicationbuilder_build'
5448
5888
  );
5449
5889
  }
5890
+ if (
5891
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_usaintsession_to_json() !==
5892
+ 38077
5893
+ ) {
5894
+ throw new UniffiInternalError.ApiChecksumMismatch(
5895
+ 'uniffi_rusaint_ffi_checksum_method_usaintsession_to_json'
5896
+ );
5897
+ }
5450
5898
  if (
5451
5899
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_anonymous() !==
5452
5900
  59232
@@ -5455,6 +5903,14 @@ function uniffiEnsureInitialized() {
5455
5903
  'uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_anonymous'
5456
5904
  );
5457
5905
  }
5906
+ if (
5907
+ nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_from_json() !==
5908
+ 55018
5909
+ ) {
5910
+ throw new UniffiInternalError.ApiChecksumMismatch(
5911
+ 'uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_from_json'
5912
+ );
5913
+ }
5458
5914
  if (
5459
5915
  nativeModule().ubrn_uniffi_rusaint_ffi_checksum_method_usaintsessionbuilder_with_password() !==
5460
5916
  35896