@rusaint/react-native 0.12.0 → 0.13.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.
Files changed (43) hide show
  1. package/RusaintReactNative.podspec +44 -0
  2. package/android/CMakeLists.txt +3 -4
  3. package/android/build.gradle +1 -0
  4. package/android/src/main/jniLibs/arm64-v8a/librusaint_ffi.a +0 -0
  5. package/android/src/main/jniLibs/armeabi-v7a/librusaint_ffi.a +0 -0
  6. package/android/src/main/jniLibs/x86/librusaint_ffi.a +0 -0
  7. package/android/src/main/jniLibs/x86_64/librusaint_ffi.a +0 -0
  8. package/build/RusaintReactNative.xcframework/Info.plist +4 -4
  9. package/build/RusaintReactNative.xcframework/_CodeSignature/CodeDirectory +0 -0
  10. package/build/RusaintReactNative.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  11. package/build/RusaintReactNative.xcframework/_CodeSignature/CodeResources +6 -6
  12. package/build/RusaintReactNative.xcframework/_CodeSignature/CodeSignature +0 -0
  13. package/build/RusaintReactNative.xcframework/ios-arm64/librusaint_ffi.a +0 -0
  14. package/build/RusaintReactNative.xcframework/ios-arm64-simulator/librusaint_ffi.a +0 -0
  15. package/lib/commonjs/generated/rusaint.js +39 -35
  16. package/lib/commonjs/generated/rusaint.js.map +1 -1
  17. package/lib/commonjs/generated/rusaint_ffi.js +598 -559
  18. package/lib/commonjs/generated/rusaint_ffi.js.map +1 -1
  19. package/lib/commonjs/index.js +11 -1
  20. package/lib/commonjs/index.js.map +1 -1
  21. package/lib/module/generated/rusaint.js +39 -35
  22. package/lib/module/generated/rusaint.js.map +1 -1
  23. package/lib/module/generated/rusaint_ffi.js +598 -559
  24. package/lib/module/generated/rusaint_ffi.js.map +1 -1
  25. package/lib/module/index.js +7 -0
  26. package/lib/module/index.js.map +1 -1
  27. package/lib/typescript/commonjs/src/generated/rusaint.d.ts +1 -1
  28. package/lib/typescript/commonjs/src/generated/rusaint.d.ts.map +1 -1
  29. package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts +89 -1
  30. package/lib/typescript/commonjs/src/generated/rusaint_ffi.d.ts.map +1 -1
  31. package/lib/typescript/commonjs/src/index.d.ts +1 -0
  32. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  33. package/lib/typescript/module/src/generated/rusaint.d.ts +1 -1
  34. package/lib/typescript/module/src/generated/rusaint.d.ts.map +1 -1
  35. package/lib/typescript/module/src/generated/rusaint_ffi.d.ts +89 -1
  36. package/lib/typescript/module/src/generated/rusaint_ffi.d.ts.map +1 -1
  37. package/lib/typescript/module/src/index.d.ts +1 -0
  38. package/lib/typescript/module/src/index.d.ts.map +1 -1
  39. package/package.json +19 -19
  40. package/rusaint-react-native.podspec +1 -1
  41. package/src/generated/rusaint.ts +68 -64
  42. package/src/generated/rusaint_ffi.ts +1186 -1133
  43. package/src/index.tsx +7 -0
@@ -112,7 +112,7 @@ const {
112
112
  FfiConverterTypeStudentTransferRecords,
113
113
  FfiConverterTypeStudentWorkInformation,
114
114
  } = uniffiRusaintModule.converters;
115
- const uniffiCaller = new UniffiRustCaller();
115
+ const uniffiCaller = new UniffiRustCaller(() => ({ code: 0 }));
116
116
 
117
117
  const uniffiIsDebug =
118
118
  // @ts-ignore -- The process global might not be defined
@@ -430,67 +430,69 @@ export class ChapelApplication
430
430
  }
431
431
 
432
432
  const uniffiTypeChapelApplicationObjectFactory: UniffiObjectFactory<ChapelApplicationInterface> =
433
- {
434
- create(pointer: UnsafeMutableRawPointer): ChapelApplicationInterface {
435
- const instance = Object.create(ChapelApplication.prototype);
436
- instance[pointerLiteralSymbol] = pointer;
437
- instance[destructorGuardSymbol] = this.bless(pointer);
438
- instance[uniffiTypeNameSymbol] = 'ChapelApplication';
439
- return instance;
440
- },
441
-
442
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
443
- return uniffiCaller.rustCall(
444
- /*caller:*/ (status) =>
445
- nativeModule().ubrn_uniffi_internal_fn_method_chapelapplication_ffi__bless_pointer(
446
- p,
447
- status
448
- ),
449
- /*liftString:*/ FfiConverterString.lift
450
- );
451
- },
433
+ (() => {
434
+ return {
435
+ create(pointer: UnsafeMutableRawPointer): ChapelApplicationInterface {
436
+ const instance = Object.create(ChapelApplication.prototype);
437
+ instance[pointerLiteralSymbol] = pointer;
438
+ instance[destructorGuardSymbol] = this.bless(pointer);
439
+ instance[uniffiTypeNameSymbol] = 'ChapelApplication';
440
+ return instance;
441
+ },
452
442
 
453
- unbless(ptr: UniffiRustArcPtr) {
454
- ptr.markDestroyed();
455
- },
443
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
444
+ return uniffiCaller.rustCall(
445
+ /*caller:*/ (status) =>
446
+ nativeModule().ubrn_uniffi_internal_fn_method_chapelapplication_ffi__bless_pointer(
447
+ p,
448
+ status
449
+ ),
450
+ /*liftString:*/ FfiConverterString.lift
451
+ );
452
+ },
456
453
 
457
- pointer(obj: ChapelApplicationInterface): UnsafeMutableRawPointer {
458
- if ((obj as any)[destructorGuardSymbol] === undefined) {
459
- throw new UniffiInternalError.UnexpectedNullPointer();
460
- }
461
- return (obj as any)[pointerLiteralSymbol];
462
- },
463
-
464
- clonePointer(obj: ChapelApplicationInterface): UnsafeMutableRawPointer {
465
- const pointer = this.pointer(obj);
466
- return uniffiCaller.rustCall(
467
- /*caller:*/ (callStatus) =>
468
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_chapelapplication(
469
- pointer,
470
- callStatus
471
- ),
472
- /*liftString:*/ FfiConverterString.lift
473
- );
474
- },
454
+ unbless(ptr: UniffiRustArcPtr) {
455
+ ptr.markDestroyed();
456
+ },
475
457
 
476
- freePointer(pointer: UnsafeMutableRawPointer): void {
477
- uniffiCaller.rustCall(
478
- /*caller:*/ (callStatus) =>
479
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_chapelapplication(
480
- pointer,
481
- callStatus
482
- ),
483
- /*liftString:*/ FfiConverterString.lift
484
- );
485
- },
458
+ pointer(obj: ChapelApplicationInterface): UnsafeMutableRawPointer {
459
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
460
+ throw new UniffiInternalError.UnexpectedNullPointer();
461
+ }
462
+ return (obj as any)[pointerLiteralSymbol];
463
+ },
486
464
 
487
- isConcreteType(obj: any): obj is ChapelApplicationInterface {
488
- return (
489
- obj[destructorGuardSymbol] &&
490
- obj[uniffiTypeNameSymbol] === 'ChapelApplication'
491
- );
492
- },
493
- };
465
+ clonePointer(obj: ChapelApplicationInterface): UnsafeMutableRawPointer {
466
+ const pointer = this.pointer(obj);
467
+ return uniffiCaller.rustCall(
468
+ /*caller:*/ (callStatus) =>
469
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_chapelapplication(
470
+ pointer,
471
+ callStatus
472
+ ),
473
+ /*liftString:*/ FfiConverterString.lift
474
+ );
475
+ },
476
+
477
+ freePointer(pointer: UnsafeMutableRawPointer): void {
478
+ uniffiCaller.rustCall(
479
+ /*caller:*/ (callStatus) =>
480
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_chapelapplication(
481
+ pointer,
482
+ callStatus
483
+ ),
484
+ /*liftString:*/ FfiConverterString.lift
485
+ );
486
+ },
487
+
488
+ isConcreteType(obj: any): obj is ChapelApplicationInterface {
489
+ return (
490
+ obj[destructorGuardSymbol] &&
491
+ obj[uniffiTypeNameSymbol] === 'ChapelApplication'
492
+ );
493
+ },
494
+ };
495
+ })();
494
496
  // FfiConverter for ChapelApplicationInterface
495
497
  const FfiConverterTypeChapelApplication = new FfiConverterObject(
496
498
  uniffiTypeChapelApplicationObjectFactory
@@ -599,71 +601,73 @@ export class ChapelApplicationBuilder
599
601
  }
600
602
 
601
603
  const uniffiTypeChapelApplicationBuilderObjectFactory: UniffiObjectFactory<ChapelApplicationBuilderInterface> =
602
- {
603
- create(
604
- pointer: UnsafeMutableRawPointer
605
- ): ChapelApplicationBuilderInterface {
606
- const instance = Object.create(ChapelApplicationBuilder.prototype);
607
- instance[pointerLiteralSymbol] = pointer;
608
- instance[destructorGuardSymbol] = this.bless(pointer);
609
- instance[uniffiTypeNameSymbol] = 'ChapelApplicationBuilder';
610
- return instance;
611
- },
612
-
613
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
614
- return uniffiCaller.rustCall(
615
- /*caller:*/ (status) =>
616
- nativeModule().ubrn_uniffi_internal_fn_method_chapelapplicationbuilder_ffi__bless_pointer(
617
- p,
618
- status
619
- ),
620
- /*liftString:*/ FfiConverterString.lift
621
- );
622
- },
604
+ (() => {
605
+ return {
606
+ create(
607
+ pointer: UnsafeMutableRawPointer
608
+ ): ChapelApplicationBuilderInterface {
609
+ const instance = Object.create(ChapelApplicationBuilder.prototype);
610
+ instance[pointerLiteralSymbol] = pointer;
611
+ instance[destructorGuardSymbol] = this.bless(pointer);
612
+ instance[uniffiTypeNameSymbol] = 'ChapelApplicationBuilder';
613
+ return instance;
614
+ },
623
615
 
624
- unbless(ptr: UniffiRustArcPtr) {
625
- ptr.markDestroyed();
626
- },
616
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
617
+ return uniffiCaller.rustCall(
618
+ /*caller:*/ (status) =>
619
+ nativeModule().ubrn_uniffi_internal_fn_method_chapelapplicationbuilder_ffi__bless_pointer(
620
+ p,
621
+ status
622
+ ),
623
+ /*liftString:*/ FfiConverterString.lift
624
+ );
625
+ },
627
626
 
628
- pointer(obj: ChapelApplicationBuilderInterface): UnsafeMutableRawPointer {
629
- if ((obj as any)[destructorGuardSymbol] === undefined) {
630
- throw new UniffiInternalError.UnexpectedNullPointer();
631
- }
632
- return (obj as any)[pointerLiteralSymbol];
633
- },
634
-
635
- clonePointer(
636
- obj: ChapelApplicationBuilderInterface
637
- ): UnsafeMutableRawPointer {
638
- const pointer = this.pointer(obj);
639
- return uniffiCaller.rustCall(
640
- /*caller:*/ (callStatus) =>
641
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_chapelapplicationbuilder(
642
- pointer,
643
- callStatus
644
- ),
645
- /*liftString:*/ FfiConverterString.lift
646
- );
647
- },
627
+ unbless(ptr: UniffiRustArcPtr) {
628
+ ptr.markDestroyed();
629
+ },
648
630
 
649
- freePointer(pointer: UnsafeMutableRawPointer): void {
650
- uniffiCaller.rustCall(
651
- /*caller:*/ (callStatus) =>
652
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_chapelapplicationbuilder(
653
- pointer,
654
- callStatus
655
- ),
656
- /*liftString:*/ FfiConverterString.lift
657
- );
658
- },
631
+ pointer(obj: ChapelApplicationBuilderInterface): UnsafeMutableRawPointer {
632
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
633
+ throw new UniffiInternalError.UnexpectedNullPointer();
634
+ }
635
+ return (obj as any)[pointerLiteralSymbol];
636
+ },
659
637
 
660
- isConcreteType(obj: any): obj is ChapelApplicationBuilderInterface {
661
- return (
662
- obj[destructorGuardSymbol] &&
663
- obj[uniffiTypeNameSymbol] === 'ChapelApplicationBuilder'
664
- );
665
- },
666
- };
638
+ clonePointer(
639
+ obj: ChapelApplicationBuilderInterface
640
+ ): UnsafeMutableRawPointer {
641
+ const pointer = this.pointer(obj);
642
+ return uniffiCaller.rustCall(
643
+ /*caller:*/ (callStatus) =>
644
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_chapelapplicationbuilder(
645
+ pointer,
646
+ callStatus
647
+ ),
648
+ /*liftString:*/ FfiConverterString.lift
649
+ );
650
+ },
651
+
652
+ freePointer(pointer: UnsafeMutableRawPointer): void {
653
+ uniffiCaller.rustCall(
654
+ /*caller:*/ (callStatus) =>
655
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_chapelapplicationbuilder(
656
+ pointer,
657
+ callStatus
658
+ ),
659
+ /*liftString:*/ FfiConverterString.lift
660
+ );
661
+ },
662
+
663
+ isConcreteType(obj: any): obj is ChapelApplicationBuilderInterface {
664
+ return (
665
+ obj[destructorGuardSymbol] &&
666
+ obj[uniffiTypeNameSymbol] === 'ChapelApplicationBuilder'
667
+ );
668
+ },
669
+ };
670
+ })();
667
671
  // FfiConverter for ChapelApplicationBuilderInterface
668
672
  const FfiConverterTypeChapelApplicationBuilder = new FfiConverterObject(
669
673
  uniffiTypeChapelApplicationBuilderObjectFactory
@@ -1030,69 +1034,73 @@ export class CourseGradesApplication
1030
1034
  }
1031
1035
 
1032
1036
  const uniffiTypeCourseGradesApplicationObjectFactory: UniffiObjectFactory<CourseGradesApplicationInterface> =
1033
- {
1034
- create(pointer: UnsafeMutableRawPointer): CourseGradesApplicationInterface {
1035
- const instance = Object.create(CourseGradesApplication.prototype);
1036
- instance[pointerLiteralSymbol] = pointer;
1037
- instance[destructorGuardSymbol] = this.bless(pointer);
1038
- instance[uniffiTypeNameSymbol] = 'CourseGradesApplication';
1039
- return instance;
1040
- },
1041
-
1042
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
1043
- return uniffiCaller.rustCall(
1044
- /*caller:*/ (status) =>
1045
- nativeModule().ubrn_uniffi_internal_fn_method_coursegradesapplication_ffi__bless_pointer(
1046
- p,
1047
- status
1048
- ),
1049
- /*liftString:*/ FfiConverterString.lift
1050
- );
1051
- },
1037
+ (() => {
1038
+ return {
1039
+ create(
1040
+ pointer: UnsafeMutableRawPointer
1041
+ ): CourseGradesApplicationInterface {
1042
+ const instance = Object.create(CourseGradesApplication.prototype);
1043
+ instance[pointerLiteralSymbol] = pointer;
1044
+ instance[destructorGuardSymbol] = this.bless(pointer);
1045
+ instance[uniffiTypeNameSymbol] = 'CourseGradesApplication';
1046
+ return instance;
1047
+ },
1048
+
1049
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
1050
+ return uniffiCaller.rustCall(
1051
+ /*caller:*/ (status) =>
1052
+ nativeModule().ubrn_uniffi_internal_fn_method_coursegradesapplication_ffi__bless_pointer(
1053
+ p,
1054
+ status
1055
+ ),
1056
+ /*liftString:*/ FfiConverterString.lift
1057
+ );
1058
+ },
1052
1059
 
1053
- unbless(ptr: UniffiRustArcPtr) {
1054
- ptr.markDestroyed();
1055
- },
1060
+ unbless(ptr: UniffiRustArcPtr) {
1061
+ ptr.markDestroyed();
1062
+ },
1056
1063
 
1057
- pointer(obj: CourseGradesApplicationInterface): UnsafeMutableRawPointer {
1058
- if ((obj as any)[destructorGuardSymbol] === undefined) {
1059
- throw new UniffiInternalError.UnexpectedNullPointer();
1060
- }
1061
- return (obj as any)[pointerLiteralSymbol];
1062
- },
1063
-
1064
- clonePointer(
1065
- obj: CourseGradesApplicationInterface
1066
- ): UnsafeMutableRawPointer {
1067
- const pointer = this.pointer(obj);
1068
- return uniffiCaller.rustCall(
1069
- /*caller:*/ (callStatus) =>
1070
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_coursegradesapplication(
1071
- pointer,
1072
- callStatus
1073
- ),
1074
- /*liftString:*/ FfiConverterString.lift
1075
- );
1076
- },
1064
+ pointer(obj: CourseGradesApplicationInterface): UnsafeMutableRawPointer {
1065
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
1066
+ throw new UniffiInternalError.UnexpectedNullPointer();
1067
+ }
1068
+ return (obj as any)[pointerLiteralSymbol];
1069
+ },
1077
1070
 
1078
- freePointer(pointer: UnsafeMutableRawPointer): void {
1079
- uniffiCaller.rustCall(
1080
- /*caller:*/ (callStatus) =>
1081
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_coursegradesapplication(
1082
- pointer,
1083
- callStatus
1084
- ),
1085
- /*liftString:*/ FfiConverterString.lift
1086
- );
1087
- },
1071
+ clonePointer(
1072
+ obj: CourseGradesApplicationInterface
1073
+ ): UnsafeMutableRawPointer {
1074
+ const pointer = this.pointer(obj);
1075
+ return uniffiCaller.rustCall(
1076
+ /*caller:*/ (callStatus) =>
1077
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_coursegradesapplication(
1078
+ pointer,
1079
+ callStatus
1080
+ ),
1081
+ /*liftString:*/ FfiConverterString.lift
1082
+ );
1083
+ },
1088
1084
 
1089
- isConcreteType(obj: any): obj is CourseGradesApplicationInterface {
1090
- return (
1091
- obj[destructorGuardSymbol] &&
1092
- obj[uniffiTypeNameSymbol] === 'CourseGradesApplication'
1093
- );
1094
- },
1095
- };
1085
+ freePointer(pointer: UnsafeMutableRawPointer): void {
1086
+ uniffiCaller.rustCall(
1087
+ /*caller:*/ (callStatus) =>
1088
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_coursegradesapplication(
1089
+ pointer,
1090
+ callStatus
1091
+ ),
1092
+ /*liftString:*/ FfiConverterString.lift
1093
+ );
1094
+ },
1095
+
1096
+ isConcreteType(obj: any): obj is CourseGradesApplicationInterface {
1097
+ return (
1098
+ obj[destructorGuardSymbol] &&
1099
+ obj[uniffiTypeNameSymbol] === 'CourseGradesApplication'
1100
+ );
1101
+ },
1102
+ };
1103
+ })();
1096
1104
  // FfiConverter for CourseGradesApplicationInterface
1097
1105
  const FfiConverterTypeCourseGradesApplication = new FfiConverterObject(
1098
1106
  uniffiTypeCourseGradesApplicationObjectFactory
@@ -1207,73 +1215,77 @@ export class CourseGradesApplicationBuilder
1207
1215
  }
1208
1216
 
1209
1217
  const uniffiTypeCourseGradesApplicationBuilderObjectFactory: UniffiObjectFactory<CourseGradesApplicationBuilderInterface> =
1210
- {
1211
- create(
1212
- pointer: UnsafeMutableRawPointer
1213
- ): CourseGradesApplicationBuilderInterface {
1214
- const instance = Object.create(CourseGradesApplicationBuilder.prototype);
1215
- instance[pointerLiteralSymbol] = pointer;
1216
- instance[destructorGuardSymbol] = this.bless(pointer);
1217
- instance[uniffiTypeNameSymbol] = 'CourseGradesApplicationBuilder';
1218
- return instance;
1219
- },
1220
-
1221
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
1222
- return uniffiCaller.rustCall(
1223
- /*caller:*/ (status) =>
1224
- nativeModule().ubrn_uniffi_internal_fn_method_coursegradesapplicationbuilder_ffi__bless_pointer(
1225
- p,
1226
- status
1227
- ),
1228
- /*liftString:*/ FfiConverterString.lift
1229
- );
1230
- },
1218
+ (() => {
1219
+ return {
1220
+ create(
1221
+ pointer: UnsafeMutableRawPointer
1222
+ ): CourseGradesApplicationBuilderInterface {
1223
+ const instance = Object.create(
1224
+ CourseGradesApplicationBuilder.prototype
1225
+ );
1226
+ instance[pointerLiteralSymbol] = pointer;
1227
+ instance[destructorGuardSymbol] = this.bless(pointer);
1228
+ instance[uniffiTypeNameSymbol] = 'CourseGradesApplicationBuilder';
1229
+ return instance;
1230
+ },
1231
+
1232
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
1233
+ return uniffiCaller.rustCall(
1234
+ /*caller:*/ (status) =>
1235
+ nativeModule().ubrn_uniffi_internal_fn_method_coursegradesapplicationbuilder_ffi__bless_pointer(
1236
+ p,
1237
+ status
1238
+ ),
1239
+ /*liftString:*/ FfiConverterString.lift
1240
+ );
1241
+ },
1231
1242
 
1232
- unbless(ptr: UniffiRustArcPtr) {
1233
- ptr.markDestroyed();
1234
- },
1243
+ unbless(ptr: UniffiRustArcPtr) {
1244
+ ptr.markDestroyed();
1245
+ },
1235
1246
 
1236
- pointer(
1237
- obj: CourseGradesApplicationBuilderInterface
1238
- ): UnsafeMutableRawPointer {
1239
- if ((obj as any)[destructorGuardSymbol] === undefined) {
1240
- throw new UniffiInternalError.UnexpectedNullPointer();
1241
- }
1242
- return (obj as any)[pointerLiteralSymbol];
1243
- },
1244
-
1245
- clonePointer(
1246
- obj: CourseGradesApplicationBuilderInterface
1247
- ): UnsafeMutableRawPointer {
1248
- const pointer = this.pointer(obj);
1249
- return uniffiCaller.rustCall(
1250
- /*caller:*/ (callStatus) =>
1251
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_coursegradesapplicationbuilder(
1252
- pointer,
1253
- callStatus
1254
- ),
1255
- /*liftString:*/ FfiConverterString.lift
1256
- );
1257
- },
1247
+ pointer(
1248
+ obj: CourseGradesApplicationBuilderInterface
1249
+ ): UnsafeMutableRawPointer {
1250
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
1251
+ throw new UniffiInternalError.UnexpectedNullPointer();
1252
+ }
1253
+ return (obj as any)[pointerLiteralSymbol];
1254
+ },
1258
1255
 
1259
- freePointer(pointer: UnsafeMutableRawPointer): void {
1260
- uniffiCaller.rustCall(
1261
- /*caller:*/ (callStatus) =>
1262
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_coursegradesapplicationbuilder(
1263
- pointer,
1264
- callStatus
1265
- ),
1266
- /*liftString:*/ FfiConverterString.lift
1267
- );
1268
- },
1256
+ clonePointer(
1257
+ obj: CourseGradesApplicationBuilderInterface
1258
+ ): UnsafeMutableRawPointer {
1259
+ const pointer = this.pointer(obj);
1260
+ return uniffiCaller.rustCall(
1261
+ /*caller:*/ (callStatus) =>
1262
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_coursegradesapplicationbuilder(
1263
+ pointer,
1264
+ callStatus
1265
+ ),
1266
+ /*liftString:*/ FfiConverterString.lift
1267
+ );
1268
+ },
1269
1269
 
1270
- isConcreteType(obj: any): obj is CourseGradesApplicationBuilderInterface {
1271
- return (
1272
- obj[destructorGuardSymbol] &&
1273
- obj[uniffiTypeNameSymbol] === 'CourseGradesApplicationBuilder'
1274
- );
1275
- },
1276
- };
1270
+ freePointer(pointer: UnsafeMutableRawPointer): void {
1271
+ uniffiCaller.rustCall(
1272
+ /*caller:*/ (callStatus) =>
1273
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_coursegradesapplicationbuilder(
1274
+ pointer,
1275
+ callStatus
1276
+ ),
1277
+ /*liftString:*/ FfiConverterString.lift
1278
+ );
1279
+ },
1280
+
1281
+ isConcreteType(obj: any): obj is CourseGradesApplicationBuilderInterface {
1282
+ return (
1283
+ obj[destructorGuardSymbol] &&
1284
+ obj[uniffiTypeNameSymbol] === 'CourseGradesApplicationBuilder'
1285
+ );
1286
+ },
1287
+ };
1288
+ })();
1277
1289
  // FfiConverter for CourseGradesApplicationBuilderInterface
1278
1290
  const FfiConverterTypeCourseGradesApplicationBuilder = new FfiConverterObject(
1279
1291
  uniffiTypeCourseGradesApplicationBuilderObjectFactory
@@ -1958,71 +1970,75 @@ export class CourseScheduleApplication
1958
1970
  }
1959
1971
 
1960
1972
  const uniffiTypeCourseScheduleApplicationObjectFactory: UniffiObjectFactory<CourseScheduleApplicationInterface> =
1961
- {
1962
- create(
1963
- pointer: UnsafeMutableRawPointer
1964
- ): CourseScheduleApplicationInterface {
1965
- const instance = Object.create(CourseScheduleApplication.prototype);
1966
- instance[pointerLiteralSymbol] = pointer;
1967
- instance[destructorGuardSymbol] = this.bless(pointer);
1968
- instance[uniffiTypeNameSymbol] = 'CourseScheduleApplication';
1969
- return instance;
1970
- },
1971
-
1972
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
1973
- return uniffiCaller.rustCall(
1974
- /*caller:*/ (status) =>
1975
- nativeModule().ubrn_uniffi_internal_fn_method_coursescheduleapplication_ffi__bless_pointer(
1976
- p,
1977
- status
1978
- ),
1979
- /*liftString:*/ FfiConverterString.lift
1980
- );
1981
- },
1973
+ (() => {
1974
+ return {
1975
+ create(
1976
+ pointer: UnsafeMutableRawPointer
1977
+ ): CourseScheduleApplicationInterface {
1978
+ const instance = Object.create(CourseScheduleApplication.prototype);
1979
+ instance[pointerLiteralSymbol] = pointer;
1980
+ instance[destructorGuardSymbol] = this.bless(pointer);
1981
+ instance[uniffiTypeNameSymbol] = 'CourseScheduleApplication';
1982
+ return instance;
1983
+ },
1982
1984
 
1983
- unbless(ptr: UniffiRustArcPtr) {
1984
- ptr.markDestroyed();
1985
- },
1985
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
1986
+ return uniffiCaller.rustCall(
1987
+ /*caller:*/ (status) =>
1988
+ nativeModule().ubrn_uniffi_internal_fn_method_coursescheduleapplication_ffi__bless_pointer(
1989
+ p,
1990
+ status
1991
+ ),
1992
+ /*liftString:*/ FfiConverterString.lift
1993
+ );
1994
+ },
1986
1995
 
1987
- pointer(obj: CourseScheduleApplicationInterface): UnsafeMutableRawPointer {
1988
- if ((obj as any)[destructorGuardSymbol] === undefined) {
1989
- throw new UniffiInternalError.UnexpectedNullPointer();
1990
- }
1991
- return (obj as any)[pointerLiteralSymbol];
1992
- },
1993
-
1994
- clonePointer(
1995
- obj: CourseScheduleApplicationInterface
1996
- ): UnsafeMutableRawPointer {
1997
- const pointer = this.pointer(obj);
1998
- return uniffiCaller.rustCall(
1999
- /*caller:*/ (callStatus) =>
2000
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_coursescheduleapplication(
2001
- pointer,
2002
- callStatus
2003
- ),
2004
- /*liftString:*/ FfiConverterString.lift
2005
- );
2006
- },
1996
+ unbless(ptr: UniffiRustArcPtr) {
1997
+ ptr.markDestroyed();
1998
+ },
2007
1999
 
2008
- freePointer(pointer: UnsafeMutableRawPointer): void {
2009
- uniffiCaller.rustCall(
2010
- /*caller:*/ (callStatus) =>
2011
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_coursescheduleapplication(
2012
- pointer,
2013
- callStatus
2014
- ),
2015
- /*liftString:*/ FfiConverterString.lift
2016
- );
2017
- },
2000
+ pointer(
2001
+ obj: CourseScheduleApplicationInterface
2002
+ ): UnsafeMutableRawPointer {
2003
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
2004
+ throw new UniffiInternalError.UnexpectedNullPointer();
2005
+ }
2006
+ return (obj as any)[pointerLiteralSymbol];
2007
+ },
2018
2008
 
2019
- isConcreteType(obj: any): obj is CourseScheduleApplicationInterface {
2020
- return (
2021
- obj[destructorGuardSymbol] &&
2022
- obj[uniffiTypeNameSymbol] === 'CourseScheduleApplication'
2023
- );
2024
- },
2025
- };
2009
+ clonePointer(
2010
+ obj: CourseScheduleApplicationInterface
2011
+ ): UnsafeMutableRawPointer {
2012
+ const pointer = this.pointer(obj);
2013
+ return uniffiCaller.rustCall(
2014
+ /*caller:*/ (callStatus) =>
2015
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_coursescheduleapplication(
2016
+ pointer,
2017
+ callStatus
2018
+ ),
2019
+ /*liftString:*/ FfiConverterString.lift
2020
+ );
2021
+ },
2022
+
2023
+ freePointer(pointer: UnsafeMutableRawPointer): void {
2024
+ uniffiCaller.rustCall(
2025
+ /*caller:*/ (callStatus) =>
2026
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_coursescheduleapplication(
2027
+ pointer,
2028
+ callStatus
2029
+ ),
2030
+ /*liftString:*/ FfiConverterString.lift
2031
+ );
2032
+ },
2033
+
2034
+ isConcreteType(obj: any): obj is CourseScheduleApplicationInterface {
2035
+ return (
2036
+ obj[destructorGuardSymbol] &&
2037
+ obj[uniffiTypeNameSymbol] === 'CourseScheduleApplication'
2038
+ );
2039
+ },
2040
+ };
2041
+ })();
2026
2042
  // FfiConverter for CourseScheduleApplicationInterface
2027
2043
  const FfiConverterTypeCourseScheduleApplication = new FfiConverterObject(
2028
2044
  uniffiTypeCourseScheduleApplicationObjectFactory
@@ -2137,75 +2153,79 @@ export class CourseScheduleApplicationBuilder
2137
2153
  }
2138
2154
 
2139
2155
  const uniffiTypeCourseScheduleApplicationBuilderObjectFactory: UniffiObjectFactory<CourseScheduleApplicationBuilderInterface> =
2140
- {
2141
- create(
2142
- pointer: UnsafeMutableRawPointer
2143
- ): CourseScheduleApplicationBuilderInterface {
2144
- const instance = Object.create(
2145
- CourseScheduleApplicationBuilder.prototype
2146
- );
2147
- instance[pointerLiteralSymbol] = pointer;
2148
- instance[destructorGuardSymbol] = this.bless(pointer);
2149
- instance[uniffiTypeNameSymbol] = 'CourseScheduleApplicationBuilder';
2150
- return instance;
2151
- },
2152
-
2153
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2154
- return uniffiCaller.rustCall(
2155
- /*caller:*/ (status) =>
2156
- nativeModule().ubrn_uniffi_internal_fn_method_coursescheduleapplicationbuilder_ffi__bless_pointer(
2157
- p,
2158
- status
2159
- ),
2160
- /*liftString:*/ FfiConverterString.lift
2161
- );
2162
- },
2156
+ (() => {
2157
+ return {
2158
+ create(
2159
+ pointer: UnsafeMutableRawPointer
2160
+ ): CourseScheduleApplicationBuilderInterface {
2161
+ const instance = Object.create(
2162
+ CourseScheduleApplicationBuilder.prototype
2163
+ );
2164
+ instance[pointerLiteralSymbol] = pointer;
2165
+ instance[destructorGuardSymbol] = this.bless(pointer);
2166
+ instance[uniffiTypeNameSymbol] = 'CourseScheduleApplicationBuilder';
2167
+ return instance;
2168
+ },
2163
2169
 
2164
- unbless(ptr: UniffiRustArcPtr) {
2165
- ptr.markDestroyed();
2166
- },
2170
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2171
+ return uniffiCaller.rustCall(
2172
+ /*caller:*/ (status) =>
2173
+ nativeModule().ubrn_uniffi_internal_fn_method_coursescheduleapplicationbuilder_ffi__bless_pointer(
2174
+ p,
2175
+ status
2176
+ ),
2177
+ /*liftString:*/ FfiConverterString.lift
2178
+ );
2179
+ },
2167
2180
 
2168
- pointer(
2169
- obj: CourseScheduleApplicationBuilderInterface
2170
- ): UnsafeMutableRawPointer {
2171
- if ((obj as any)[destructorGuardSymbol] === undefined) {
2172
- throw new UniffiInternalError.UnexpectedNullPointer();
2173
- }
2174
- return (obj as any)[pointerLiteralSymbol];
2175
- },
2176
-
2177
- clonePointer(
2178
- obj: CourseScheduleApplicationBuilderInterface
2179
- ): UnsafeMutableRawPointer {
2180
- const pointer = this.pointer(obj);
2181
- return uniffiCaller.rustCall(
2182
- /*caller:*/ (callStatus) =>
2183
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_coursescheduleapplicationbuilder(
2184
- pointer,
2185
- callStatus
2186
- ),
2187
- /*liftString:*/ FfiConverterString.lift
2188
- );
2189
- },
2181
+ unbless(ptr: UniffiRustArcPtr) {
2182
+ ptr.markDestroyed();
2183
+ },
2190
2184
 
2191
- freePointer(pointer: UnsafeMutableRawPointer): void {
2192
- uniffiCaller.rustCall(
2193
- /*caller:*/ (callStatus) =>
2194
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_coursescheduleapplicationbuilder(
2195
- pointer,
2196
- callStatus
2197
- ),
2198
- /*liftString:*/ FfiConverterString.lift
2199
- );
2200
- },
2185
+ pointer(
2186
+ obj: CourseScheduleApplicationBuilderInterface
2187
+ ): UnsafeMutableRawPointer {
2188
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
2189
+ throw new UniffiInternalError.UnexpectedNullPointer();
2190
+ }
2191
+ return (obj as any)[pointerLiteralSymbol];
2192
+ },
2201
2193
 
2202
- isConcreteType(obj: any): obj is CourseScheduleApplicationBuilderInterface {
2203
- return (
2204
- obj[destructorGuardSymbol] &&
2205
- obj[uniffiTypeNameSymbol] === 'CourseScheduleApplicationBuilder'
2206
- );
2207
- },
2208
- };
2194
+ clonePointer(
2195
+ obj: CourseScheduleApplicationBuilderInterface
2196
+ ): UnsafeMutableRawPointer {
2197
+ const pointer = this.pointer(obj);
2198
+ return uniffiCaller.rustCall(
2199
+ /*caller:*/ (callStatus) =>
2200
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_coursescheduleapplicationbuilder(
2201
+ pointer,
2202
+ callStatus
2203
+ ),
2204
+ /*liftString:*/ FfiConverterString.lift
2205
+ );
2206
+ },
2207
+
2208
+ freePointer(pointer: UnsafeMutableRawPointer): void {
2209
+ uniffiCaller.rustCall(
2210
+ /*caller:*/ (callStatus) =>
2211
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_coursescheduleapplicationbuilder(
2212
+ pointer,
2213
+ callStatus
2214
+ ),
2215
+ /*liftString:*/ FfiConverterString.lift
2216
+ );
2217
+ },
2218
+
2219
+ isConcreteType(
2220
+ obj: any
2221
+ ): obj is CourseScheduleApplicationBuilderInterface {
2222
+ return (
2223
+ obj[destructorGuardSymbol] &&
2224
+ obj[uniffiTypeNameSymbol] === 'CourseScheduleApplicationBuilder'
2225
+ );
2226
+ },
2227
+ };
2228
+ })();
2209
2229
  // FfiConverter for CourseScheduleApplicationBuilderInterface
2210
2230
  const FfiConverterTypeCourseScheduleApplicationBuilder = new FfiConverterObject(
2211
2231
  uniffiTypeCourseScheduleApplicationBuilderObjectFactory
@@ -2355,77 +2375,79 @@ export class GraduationRequirementsApplication
2355
2375
  }
2356
2376
 
2357
2377
  const uniffiTypeGraduationRequirementsApplicationObjectFactory: UniffiObjectFactory<GraduationRequirementsApplicationInterface> =
2358
- {
2359
- create(
2360
- pointer: UnsafeMutableRawPointer
2361
- ): GraduationRequirementsApplicationInterface {
2362
- const instance = Object.create(
2363
- GraduationRequirementsApplication.prototype
2364
- );
2365
- instance[pointerLiteralSymbol] = pointer;
2366
- instance[destructorGuardSymbol] = this.bless(pointer);
2367
- instance[uniffiTypeNameSymbol] = 'GraduationRequirementsApplication';
2368
- return instance;
2369
- },
2370
-
2371
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2372
- return uniffiCaller.rustCall(
2373
- /*caller:*/ (status) =>
2374
- nativeModule().ubrn_uniffi_internal_fn_method_graduationrequirementsapplication_ffi__bless_pointer(
2375
- p,
2376
- status
2377
- ),
2378
- /*liftString:*/ FfiConverterString.lift
2379
- );
2380
- },
2378
+ (() => {
2379
+ return {
2380
+ create(
2381
+ pointer: UnsafeMutableRawPointer
2382
+ ): GraduationRequirementsApplicationInterface {
2383
+ const instance = Object.create(
2384
+ GraduationRequirementsApplication.prototype
2385
+ );
2386
+ instance[pointerLiteralSymbol] = pointer;
2387
+ instance[destructorGuardSymbol] = this.bless(pointer);
2388
+ instance[uniffiTypeNameSymbol] = 'GraduationRequirementsApplication';
2389
+ return instance;
2390
+ },
2381
2391
 
2382
- unbless(ptr: UniffiRustArcPtr) {
2383
- ptr.markDestroyed();
2384
- },
2392
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2393
+ return uniffiCaller.rustCall(
2394
+ /*caller:*/ (status) =>
2395
+ nativeModule().ubrn_uniffi_internal_fn_method_graduationrequirementsapplication_ffi__bless_pointer(
2396
+ p,
2397
+ status
2398
+ ),
2399
+ /*liftString:*/ FfiConverterString.lift
2400
+ );
2401
+ },
2385
2402
 
2386
- pointer(
2387
- obj: GraduationRequirementsApplicationInterface
2388
- ): UnsafeMutableRawPointer {
2389
- if ((obj as any)[destructorGuardSymbol] === undefined) {
2390
- throw new UniffiInternalError.UnexpectedNullPointer();
2391
- }
2392
- return (obj as any)[pointerLiteralSymbol];
2393
- },
2394
-
2395
- clonePointer(
2396
- obj: GraduationRequirementsApplicationInterface
2397
- ): UnsafeMutableRawPointer {
2398
- const pointer = this.pointer(obj);
2399
- return uniffiCaller.rustCall(
2400
- /*caller:*/ (callStatus) =>
2401
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_graduationrequirementsapplication(
2402
- pointer,
2403
- callStatus
2404
- ),
2405
- /*liftString:*/ FfiConverterString.lift
2406
- );
2407
- },
2403
+ unbless(ptr: UniffiRustArcPtr) {
2404
+ ptr.markDestroyed();
2405
+ },
2408
2406
 
2409
- freePointer(pointer: UnsafeMutableRawPointer): void {
2410
- uniffiCaller.rustCall(
2411
- /*caller:*/ (callStatus) =>
2412
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_graduationrequirementsapplication(
2413
- pointer,
2414
- callStatus
2415
- ),
2416
- /*liftString:*/ FfiConverterString.lift
2417
- );
2418
- },
2407
+ pointer(
2408
+ obj: GraduationRequirementsApplicationInterface
2409
+ ): UnsafeMutableRawPointer {
2410
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
2411
+ throw new UniffiInternalError.UnexpectedNullPointer();
2412
+ }
2413
+ return (obj as any)[pointerLiteralSymbol];
2414
+ },
2419
2415
 
2420
- isConcreteType(
2421
- obj: any
2422
- ): obj is GraduationRequirementsApplicationInterface {
2423
- return (
2424
- obj[destructorGuardSymbol] &&
2425
- obj[uniffiTypeNameSymbol] === 'GraduationRequirementsApplication'
2426
- );
2427
- },
2428
- };
2416
+ clonePointer(
2417
+ obj: GraduationRequirementsApplicationInterface
2418
+ ): UnsafeMutableRawPointer {
2419
+ const pointer = this.pointer(obj);
2420
+ return uniffiCaller.rustCall(
2421
+ /*caller:*/ (callStatus) =>
2422
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_graduationrequirementsapplication(
2423
+ pointer,
2424
+ callStatus
2425
+ ),
2426
+ /*liftString:*/ FfiConverterString.lift
2427
+ );
2428
+ },
2429
+
2430
+ freePointer(pointer: UnsafeMutableRawPointer): void {
2431
+ uniffiCaller.rustCall(
2432
+ /*caller:*/ (callStatus) =>
2433
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_graduationrequirementsapplication(
2434
+ pointer,
2435
+ callStatus
2436
+ ),
2437
+ /*liftString:*/ FfiConverterString.lift
2438
+ );
2439
+ },
2440
+
2441
+ isConcreteType(
2442
+ obj: any
2443
+ ): obj is GraduationRequirementsApplicationInterface {
2444
+ return (
2445
+ obj[destructorGuardSymbol] &&
2446
+ obj[uniffiTypeNameSymbol] === 'GraduationRequirementsApplication'
2447
+ );
2448
+ },
2449
+ };
2450
+ })();
2429
2451
  // FfiConverter for GraduationRequirementsApplicationInterface
2430
2452
  const FfiConverterTypeGraduationRequirementsApplication =
2431
2453
  new FfiConverterObject(
@@ -2547,78 +2569,81 @@ export class GraduationRequirementsApplicationBuilder
2547
2569
  }
2548
2570
 
2549
2571
  const uniffiTypeGraduationRequirementsApplicationBuilderObjectFactory: UniffiObjectFactory<GraduationRequirementsApplicationBuilderInterface> =
2550
- {
2551
- create(
2552
- pointer: UnsafeMutableRawPointer
2553
- ): GraduationRequirementsApplicationBuilderInterface {
2554
- const instance = Object.create(
2555
- GraduationRequirementsApplicationBuilder.prototype
2556
- );
2557
- instance[pointerLiteralSymbol] = pointer;
2558
- instance[destructorGuardSymbol] = this.bless(pointer);
2559
- instance[uniffiTypeNameSymbol] =
2560
- 'GraduationRequirementsApplicationBuilder';
2561
- return instance;
2562
- },
2563
-
2564
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2565
- return uniffiCaller.rustCall(
2566
- /*caller:*/ (status) =>
2567
- nativeModule().ubrn_uniffi_internal_fn_method_graduationrequirementsapplicationbuilder_ffi__bless_pointer(
2568
- p,
2569
- status
2570
- ),
2571
- /*liftString:*/ FfiConverterString.lift
2572
- );
2573
- },
2572
+ (() => {
2573
+ return {
2574
+ create(
2575
+ pointer: UnsafeMutableRawPointer
2576
+ ): GraduationRequirementsApplicationBuilderInterface {
2577
+ const instance = Object.create(
2578
+ GraduationRequirementsApplicationBuilder.prototype
2579
+ );
2580
+ instance[pointerLiteralSymbol] = pointer;
2581
+ instance[destructorGuardSymbol] = this.bless(pointer);
2582
+ instance[uniffiTypeNameSymbol] =
2583
+ 'GraduationRequirementsApplicationBuilder';
2584
+ return instance;
2585
+ },
2574
2586
 
2575
- unbless(ptr: UniffiRustArcPtr) {
2576
- ptr.markDestroyed();
2577
- },
2587
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2588
+ return uniffiCaller.rustCall(
2589
+ /*caller:*/ (status) =>
2590
+ nativeModule().ubrn_uniffi_internal_fn_method_graduationrequirementsapplicationbuilder_ffi__bless_pointer(
2591
+ p,
2592
+ status
2593
+ ),
2594
+ /*liftString:*/ FfiConverterString.lift
2595
+ );
2596
+ },
2578
2597
 
2579
- pointer(
2580
- obj: GraduationRequirementsApplicationBuilderInterface
2581
- ): UnsafeMutableRawPointer {
2582
- if ((obj as any)[destructorGuardSymbol] === undefined) {
2583
- throw new UniffiInternalError.UnexpectedNullPointer();
2584
- }
2585
- return (obj as any)[pointerLiteralSymbol];
2586
- },
2587
-
2588
- clonePointer(
2589
- obj: GraduationRequirementsApplicationBuilderInterface
2590
- ): UnsafeMutableRawPointer {
2591
- const pointer = this.pointer(obj);
2592
- return uniffiCaller.rustCall(
2593
- /*caller:*/ (callStatus) =>
2594
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_graduationrequirementsapplicationbuilder(
2595
- pointer,
2596
- callStatus
2597
- ),
2598
- /*liftString:*/ FfiConverterString.lift
2599
- );
2600
- },
2598
+ unbless(ptr: UniffiRustArcPtr) {
2599
+ ptr.markDestroyed();
2600
+ },
2601
2601
 
2602
- freePointer(pointer: UnsafeMutableRawPointer): void {
2603
- uniffiCaller.rustCall(
2604
- /*caller:*/ (callStatus) =>
2605
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_graduationrequirementsapplicationbuilder(
2606
- pointer,
2607
- callStatus
2608
- ),
2609
- /*liftString:*/ FfiConverterString.lift
2610
- );
2611
- },
2602
+ pointer(
2603
+ obj: GraduationRequirementsApplicationBuilderInterface
2604
+ ): UnsafeMutableRawPointer {
2605
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
2606
+ throw new UniffiInternalError.UnexpectedNullPointer();
2607
+ }
2608
+ return (obj as any)[pointerLiteralSymbol];
2609
+ },
2612
2610
 
2613
- isConcreteType(
2614
- obj: any
2615
- ): obj is GraduationRequirementsApplicationBuilderInterface {
2616
- return (
2617
- obj[destructorGuardSymbol] &&
2618
- obj[uniffiTypeNameSymbol] === 'GraduationRequirementsApplicationBuilder'
2619
- );
2620
- },
2621
- };
2611
+ clonePointer(
2612
+ obj: GraduationRequirementsApplicationBuilderInterface
2613
+ ): UnsafeMutableRawPointer {
2614
+ const pointer = this.pointer(obj);
2615
+ return uniffiCaller.rustCall(
2616
+ /*caller:*/ (callStatus) =>
2617
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_graduationrequirementsapplicationbuilder(
2618
+ pointer,
2619
+ callStatus
2620
+ ),
2621
+ /*liftString:*/ FfiConverterString.lift
2622
+ );
2623
+ },
2624
+
2625
+ freePointer(pointer: UnsafeMutableRawPointer): void {
2626
+ uniffiCaller.rustCall(
2627
+ /*caller:*/ (callStatus) =>
2628
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_graduationrequirementsapplicationbuilder(
2629
+ pointer,
2630
+ callStatus
2631
+ ),
2632
+ /*liftString:*/ FfiConverterString.lift
2633
+ );
2634
+ },
2635
+
2636
+ isConcreteType(
2637
+ obj: any
2638
+ ): obj is GraduationRequirementsApplicationBuilderInterface {
2639
+ return (
2640
+ obj[destructorGuardSymbol] &&
2641
+ obj[uniffiTypeNameSymbol] ===
2642
+ 'GraduationRequirementsApplicationBuilder'
2643
+ );
2644
+ },
2645
+ };
2646
+ })();
2622
2647
  // FfiConverter for GraduationRequirementsApplicationBuilderInterface
2623
2648
  const FfiConverterTypeGraduationRequirementsApplicationBuilder =
2624
2649
  new FfiConverterObject(
@@ -2784,73 +2809,75 @@ export class LectureAssessmentApplication
2784
2809
  }
2785
2810
 
2786
2811
  const uniffiTypeLectureAssessmentApplicationObjectFactory: UniffiObjectFactory<LectureAssessmentApplicationInterface> =
2787
- {
2788
- create(
2789
- pointer: UnsafeMutableRawPointer
2790
- ): LectureAssessmentApplicationInterface {
2791
- const instance = Object.create(LectureAssessmentApplication.prototype);
2792
- instance[pointerLiteralSymbol] = pointer;
2793
- instance[destructorGuardSymbol] = this.bless(pointer);
2794
- instance[uniffiTypeNameSymbol] = 'LectureAssessmentApplication';
2795
- return instance;
2796
- },
2797
-
2798
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2799
- return uniffiCaller.rustCall(
2800
- /*caller:*/ (status) =>
2801
- nativeModule().ubrn_uniffi_internal_fn_method_lectureassessmentapplication_ffi__bless_pointer(
2802
- p,
2803
- status
2804
- ),
2805
- /*liftString:*/ FfiConverterString.lift
2806
- );
2807
- },
2812
+ (() => {
2813
+ return {
2814
+ create(
2815
+ pointer: UnsafeMutableRawPointer
2816
+ ): LectureAssessmentApplicationInterface {
2817
+ const instance = Object.create(LectureAssessmentApplication.prototype);
2818
+ instance[pointerLiteralSymbol] = pointer;
2819
+ instance[destructorGuardSymbol] = this.bless(pointer);
2820
+ instance[uniffiTypeNameSymbol] = 'LectureAssessmentApplication';
2821
+ return instance;
2822
+ },
2808
2823
 
2809
- unbless(ptr: UniffiRustArcPtr) {
2810
- ptr.markDestroyed();
2811
- },
2824
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2825
+ return uniffiCaller.rustCall(
2826
+ /*caller:*/ (status) =>
2827
+ nativeModule().ubrn_uniffi_internal_fn_method_lectureassessmentapplication_ffi__bless_pointer(
2828
+ p,
2829
+ status
2830
+ ),
2831
+ /*liftString:*/ FfiConverterString.lift
2832
+ );
2833
+ },
2812
2834
 
2813
- pointer(
2814
- obj: LectureAssessmentApplicationInterface
2815
- ): UnsafeMutableRawPointer {
2816
- if ((obj as any)[destructorGuardSymbol] === undefined) {
2817
- throw new UniffiInternalError.UnexpectedNullPointer();
2818
- }
2819
- return (obj as any)[pointerLiteralSymbol];
2820
- },
2821
-
2822
- clonePointer(
2823
- obj: LectureAssessmentApplicationInterface
2824
- ): UnsafeMutableRawPointer {
2825
- const pointer = this.pointer(obj);
2826
- return uniffiCaller.rustCall(
2827
- /*caller:*/ (callStatus) =>
2828
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_lectureassessmentapplication(
2829
- pointer,
2830
- callStatus
2831
- ),
2832
- /*liftString:*/ FfiConverterString.lift
2833
- );
2834
- },
2835
+ unbless(ptr: UniffiRustArcPtr) {
2836
+ ptr.markDestroyed();
2837
+ },
2835
2838
 
2836
- freePointer(pointer: UnsafeMutableRawPointer): void {
2837
- uniffiCaller.rustCall(
2838
- /*caller:*/ (callStatus) =>
2839
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_lectureassessmentapplication(
2840
- pointer,
2841
- callStatus
2842
- ),
2843
- /*liftString:*/ FfiConverterString.lift
2844
- );
2845
- },
2839
+ pointer(
2840
+ obj: LectureAssessmentApplicationInterface
2841
+ ): UnsafeMutableRawPointer {
2842
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
2843
+ throw new UniffiInternalError.UnexpectedNullPointer();
2844
+ }
2845
+ return (obj as any)[pointerLiteralSymbol];
2846
+ },
2846
2847
 
2847
- isConcreteType(obj: any): obj is LectureAssessmentApplicationInterface {
2848
- return (
2849
- obj[destructorGuardSymbol] &&
2850
- obj[uniffiTypeNameSymbol] === 'LectureAssessmentApplication'
2851
- );
2852
- },
2853
- };
2848
+ clonePointer(
2849
+ obj: LectureAssessmentApplicationInterface
2850
+ ): UnsafeMutableRawPointer {
2851
+ const pointer = this.pointer(obj);
2852
+ return uniffiCaller.rustCall(
2853
+ /*caller:*/ (callStatus) =>
2854
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_lectureassessmentapplication(
2855
+ pointer,
2856
+ callStatus
2857
+ ),
2858
+ /*liftString:*/ FfiConverterString.lift
2859
+ );
2860
+ },
2861
+
2862
+ freePointer(pointer: UnsafeMutableRawPointer): void {
2863
+ uniffiCaller.rustCall(
2864
+ /*caller:*/ (callStatus) =>
2865
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_lectureassessmentapplication(
2866
+ pointer,
2867
+ callStatus
2868
+ ),
2869
+ /*liftString:*/ FfiConverterString.lift
2870
+ );
2871
+ },
2872
+
2873
+ isConcreteType(obj: any): obj is LectureAssessmentApplicationInterface {
2874
+ return (
2875
+ obj[destructorGuardSymbol] &&
2876
+ obj[uniffiTypeNameSymbol] === 'LectureAssessmentApplication'
2877
+ );
2878
+ },
2879
+ };
2880
+ })();
2854
2881
  // FfiConverter for LectureAssessmentApplicationInterface
2855
2882
  const FfiConverterTypeLectureAssessmentApplication = new FfiConverterObject(
2856
2883
  uniffiTypeLectureAssessmentApplicationObjectFactory
@@ -2967,77 +2994,79 @@ export class LectureAssessmentApplicationBuilder
2967
2994
  }
2968
2995
 
2969
2996
  const uniffiTypeLectureAssessmentApplicationBuilderObjectFactory: UniffiObjectFactory<LectureAssessmentApplicationBuilderInterface> =
2970
- {
2971
- create(
2972
- pointer: UnsafeMutableRawPointer
2973
- ): LectureAssessmentApplicationBuilderInterface {
2974
- const instance = Object.create(
2975
- LectureAssessmentApplicationBuilder.prototype
2976
- );
2977
- instance[pointerLiteralSymbol] = pointer;
2978
- instance[destructorGuardSymbol] = this.bless(pointer);
2979
- instance[uniffiTypeNameSymbol] = 'LectureAssessmentApplicationBuilder';
2980
- return instance;
2981
- },
2982
-
2983
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
2984
- return uniffiCaller.rustCall(
2985
- /*caller:*/ (status) =>
2986
- nativeModule().ubrn_uniffi_internal_fn_method_lectureassessmentapplicationbuilder_ffi__bless_pointer(
2987
- p,
2988
- status
2989
- ),
2990
- /*liftString:*/ FfiConverterString.lift
2991
- );
2992
- },
2997
+ (() => {
2998
+ return {
2999
+ create(
3000
+ pointer: UnsafeMutableRawPointer
3001
+ ): LectureAssessmentApplicationBuilderInterface {
3002
+ const instance = Object.create(
3003
+ LectureAssessmentApplicationBuilder.prototype
3004
+ );
3005
+ instance[pointerLiteralSymbol] = pointer;
3006
+ instance[destructorGuardSymbol] = this.bless(pointer);
3007
+ instance[uniffiTypeNameSymbol] = 'LectureAssessmentApplicationBuilder';
3008
+ return instance;
3009
+ },
2993
3010
 
2994
- unbless(ptr: UniffiRustArcPtr) {
2995
- ptr.markDestroyed();
2996
- },
3011
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3012
+ return uniffiCaller.rustCall(
3013
+ /*caller:*/ (status) =>
3014
+ nativeModule().ubrn_uniffi_internal_fn_method_lectureassessmentapplicationbuilder_ffi__bless_pointer(
3015
+ p,
3016
+ status
3017
+ ),
3018
+ /*liftString:*/ FfiConverterString.lift
3019
+ );
3020
+ },
2997
3021
 
2998
- pointer(
2999
- obj: LectureAssessmentApplicationBuilderInterface
3000
- ): UnsafeMutableRawPointer {
3001
- if ((obj as any)[destructorGuardSymbol] === undefined) {
3002
- throw new UniffiInternalError.UnexpectedNullPointer();
3003
- }
3004
- return (obj as any)[pointerLiteralSymbol];
3005
- },
3006
-
3007
- clonePointer(
3008
- obj: LectureAssessmentApplicationBuilderInterface
3009
- ): UnsafeMutableRawPointer {
3010
- const pointer = this.pointer(obj);
3011
- return uniffiCaller.rustCall(
3012
- /*caller:*/ (callStatus) =>
3013
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_lectureassessmentapplicationbuilder(
3014
- pointer,
3015
- callStatus
3016
- ),
3017
- /*liftString:*/ FfiConverterString.lift
3018
- );
3019
- },
3022
+ unbless(ptr: UniffiRustArcPtr) {
3023
+ ptr.markDestroyed();
3024
+ },
3020
3025
 
3021
- freePointer(pointer: UnsafeMutableRawPointer): void {
3022
- uniffiCaller.rustCall(
3023
- /*caller:*/ (callStatus) =>
3024
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_lectureassessmentapplicationbuilder(
3025
- pointer,
3026
- callStatus
3027
- ),
3028
- /*liftString:*/ FfiConverterString.lift
3029
- );
3030
- },
3026
+ pointer(
3027
+ obj: LectureAssessmentApplicationBuilderInterface
3028
+ ): UnsafeMutableRawPointer {
3029
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
3030
+ throw new UniffiInternalError.UnexpectedNullPointer();
3031
+ }
3032
+ return (obj as any)[pointerLiteralSymbol];
3033
+ },
3031
3034
 
3032
- isConcreteType(
3033
- obj: any
3034
- ): obj is LectureAssessmentApplicationBuilderInterface {
3035
- return (
3036
- obj[destructorGuardSymbol] &&
3037
- obj[uniffiTypeNameSymbol] === 'LectureAssessmentApplicationBuilder'
3038
- );
3039
- },
3040
- };
3035
+ clonePointer(
3036
+ obj: LectureAssessmentApplicationBuilderInterface
3037
+ ): UnsafeMutableRawPointer {
3038
+ const pointer = this.pointer(obj);
3039
+ return uniffiCaller.rustCall(
3040
+ /*caller:*/ (callStatus) =>
3041
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_lectureassessmentapplicationbuilder(
3042
+ pointer,
3043
+ callStatus
3044
+ ),
3045
+ /*liftString:*/ FfiConverterString.lift
3046
+ );
3047
+ },
3048
+
3049
+ freePointer(pointer: UnsafeMutableRawPointer): void {
3050
+ uniffiCaller.rustCall(
3051
+ /*caller:*/ (callStatus) =>
3052
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_lectureassessmentapplicationbuilder(
3053
+ pointer,
3054
+ callStatus
3055
+ ),
3056
+ /*liftString:*/ FfiConverterString.lift
3057
+ );
3058
+ },
3059
+
3060
+ isConcreteType(
3061
+ obj: any
3062
+ ): obj is LectureAssessmentApplicationBuilderInterface {
3063
+ return (
3064
+ obj[destructorGuardSymbol] &&
3065
+ obj[uniffiTypeNameSymbol] === 'LectureAssessmentApplicationBuilder'
3066
+ );
3067
+ },
3068
+ };
3069
+ })();
3041
3070
  // FfiConverter for LectureAssessmentApplicationBuilderInterface
3042
3071
  const FfiConverterTypeLectureAssessmentApplicationBuilder =
3043
3072
  new FfiConverterObject(
@@ -3196,77 +3225,79 @@ export class PersonalCourseScheduleApplication
3196
3225
  }
3197
3226
 
3198
3227
  const uniffiTypePersonalCourseScheduleApplicationObjectFactory: UniffiObjectFactory<PersonalCourseScheduleApplicationInterface> =
3199
- {
3200
- create(
3201
- pointer: UnsafeMutableRawPointer
3202
- ): PersonalCourseScheduleApplicationInterface {
3203
- const instance = Object.create(
3204
- PersonalCourseScheduleApplication.prototype
3205
- );
3206
- instance[pointerLiteralSymbol] = pointer;
3207
- instance[destructorGuardSymbol] = this.bless(pointer);
3208
- instance[uniffiTypeNameSymbol] = 'PersonalCourseScheduleApplication';
3209
- return instance;
3210
- },
3211
-
3212
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3213
- return uniffiCaller.rustCall(
3214
- /*caller:*/ (status) =>
3215
- nativeModule().ubrn_uniffi_internal_fn_method_personalcoursescheduleapplication_ffi__bless_pointer(
3216
- p,
3217
- status
3218
- ),
3219
- /*liftString:*/ FfiConverterString.lift
3220
- );
3221
- },
3228
+ (() => {
3229
+ return {
3230
+ create(
3231
+ pointer: UnsafeMutableRawPointer
3232
+ ): PersonalCourseScheduleApplicationInterface {
3233
+ const instance = Object.create(
3234
+ PersonalCourseScheduleApplication.prototype
3235
+ );
3236
+ instance[pointerLiteralSymbol] = pointer;
3237
+ instance[destructorGuardSymbol] = this.bless(pointer);
3238
+ instance[uniffiTypeNameSymbol] = 'PersonalCourseScheduleApplication';
3239
+ return instance;
3240
+ },
3222
3241
 
3223
- unbless(ptr: UniffiRustArcPtr) {
3224
- ptr.markDestroyed();
3225
- },
3242
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3243
+ return uniffiCaller.rustCall(
3244
+ /*caller:*/ (status) =>
3245
+ nativeModule().ubrn_uniffi_internal_fn_method_personalcoursescheduleapplication_ffi__bless_pointer(
3246
+ p,
3247
+ status
3248
+ ),
3249
+ /*liftString:*/ FfiConverterString.lift
3250
+ );
3251
+ },
3226
3252
 
3227
- pointer(
3228
- obj: PersonalCourseScheduleApplicationInterface
3229
- ): UnsafeMutableRawPointer {
3230
- if ((obj as any)[destructorGuardSymbol] === undefined) {
3231
- throw new UniffiInternalError.UnexpectedNullPointer();
3232
- }
3233
- return (obj as any)[pointerLiteralSymbol];
3234
- },
3235
-
3236
- clonePointer(
3237
- obj: PersonalCourseScheduleApplicationInterface
3238
- ): UnsafeMutableRawPointer {
3239
- const pointer = this.pointer(obj);
3240
- return uniffiCaller.rustCall(
3241
- /*caller:*/ (callStatus) =>
3242
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_personalcoursescheduleapplication(
3243
- pointer,
3244
- callStatus
3245
- ),
3246
- /*liftString:*/ FfiConverterString.lift
3247
- );
3248
- },
3253
+ unbless(ptr: UniffiRustArcPtr) {
3254
+ ptr.markDestroyed();
3255
+ },
3249
3256
 
3250
- freePointer(pointer: UnsafeMutableRawPointer): void {
3251
- uniffiCaller.rustCall(
3252
- /*caller:*/ (callStatus) =>
3253
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_personalcoursescheduleapplication(
3254
- pointer,
3255
- callStatus
3256
- ),
3257
- /*liftString:*/ FfiConverterString.lift
3258
- );
3259
- },
3257
+ pointer(
3258
+ obj: PersonalCourseScheduleApplicationInterface
3259
+ ): UnsafeMutableRawPointer {
3260
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
3261
+ throw new UniffiInternalError.UnexpectedNullPointer();
3262
+ }
3263
+ return (obj as any)[pointerLiteralSymbol];
3264
+ },
3260
3265
 
3261
- isConcreteType(
3262
- obj: any
3263
- ): obj is PersonalCourseScheduleApplicationInterface {
3264
- return (
3265
- obj[destructorGuardSymbol] &&
3266
- obj[uniffiTypeNameSymbol] === 'PersonalCourseScheduleApplication'
3267
- );
3268
- },
3269
- };
3266
+ clonePointer(
3267
+ obj: PersonalCourseScheduleApplicationInterface
3268
+ ): UnsafeMutableRawPointer {
3269
+ const pointer = this.pointer(obj);
3270
+ return uniffiCaller.rustCall(
3271
+ /*caller:*/ (callStatus) =>
3272
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_personalcoursescheduleapplication(
3273
+ pointer,
3274
+ callStatus
3275
+ ),
3276
+ /*liftString:*/ FfiConverterString.lift
3277
+ );
3278
+ },
3279
+
3280
+ freePointer(pointer: UnsafeMutableRawPointer): void {
3281
+ uniffiCaller.rustCall(
3282
+ /*caller:*/ (callStatus) =>
3283
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_personalcoursescheduleapplication(
3284
+ pointer,
3285
+ callStatus
3286
+ ),
3287
+ /*liftString:*/ FfiConverterString.lift
3288
+ );
3289
+ },
3290
+
3291
+ isConcreteType(
3292
+ obj: any
3293
+ ): obj is PersonalCourseScheduleApplicationInterface {
3294
+ return (
3295
+ obj[destructorGuardSymbol] &&
3296
+ obj[uniffiTypeNameSymbol] === 'PersonalCourseScheduleApplication'
3297
+ );
3298
+ },
3299
+ };
3300
+ })();
3270
3301
  // FfiConverter for PersonalCourseScheduleApplicationInterface
3271
3302
  const FfiConverterTypePersonalCourseScheduleApplication =
3272
3303
  new FfiConverterObject(
@@ -3388,78 +3419,81 @@ export class PersonalCourseScheduleApplicationBuilder
3388
3419
  }
3389
3420
 
3390
3421
  const uniffiTypePersonalCourseScheduleApplicationBuilderObjectFactory: UniffiObjectFactory<PersonalCourseScheduleApplicationBuilderInterface> =
3391
- {
3392
- create(
3393
- pointer: UnsafeMutableRawPointer
3394
- ): PersonalCourseScheduleApplicationBuilderInterface {
3395
- const instance = Object.create(
3396
- PersonalCourseScheduleApplicationBuilder.prototype
3397
- );
3398
- instance[pointerLiteralSymbol] = pointer;
3399
- instance[destructorGuardSymbol] = this.bless(pointer);
3400
- instance[uniffiTypeNameSymbol] =
3401
- 'PersonalCourseScheduleApplicationBuilder';
3402
- return instance;
3403
- },
3404
-
3405
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3406
- return uniffiCaller.rustCall(
3407
- /*caller:*/ (status) =>
3408
- nativeModule().ubrn_uniffi_internal_fn_method_personalcoursescheduleapplicationbuilder_ffi__bless_pointer(
3409
- p,
3410
- status
3411
- ),
3412
- /*liftString:*/ FfiConverterString.lift
3413
- );
3414
- },
3422
+ (() => {
3423
+ return {
3424
+ create(
3425
+ pointer: UnsafeMutableRawPointer
3426
+ ): PersonalCourseScheduleApplicationBuilderInterface {
3427
+ const instance = Object.create(
3428
+ PersonalCourseScheduleApplicationBuilder.prototype
3429
+ );
3430
+ instance[pointerLiteralSymbol] = pointer;
3431
+ instance[destructorGuardSymbol] = this.bless(pointer);
3432
+ instance[uniffiTypeNameSymbol] =
3433
+ 'PersonalCourseScheduleApplicationBuilder';
3434
+ return instance;
3435
+ },
3415
3436
 
3416
- unbless(ptr: UniffiRustArcPtr) {
3417
- ptr.markDestroyed();
3418
- },
3437
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3438
+ return uniffiCaller.rustCall(
3439
+ /*caller:*/ (status) =>
3440
+ nativeModule().ubrn_uniffi_internal_fn_method_personalcoursescheduleapplicationbuilder_ffi__bless_pointer(
3441
+ p,
3442
+ status
3443
+ ),
3444
+ /*liftString:*/ FfiConverterString.lift
3445
+ );
3446
+ },
3419
3447
 
3420
- pointer(
3421
- obj: PersonalCourseScheduleApplicationBuilderInterface
3422
- ): UnsafeMutableRawPointer {
3423
- if ((obj as any)[destructorGuardSymbol] === undefined) {
3424
- throw new UniffiInternalError.UnexpectedNullPointer();
3425
- }
3426
- return (obj as any)[pointerLiteralSymbol];
3427
- },
3428
-
3429
- clonePointer(
3430
- obj: PersonalCourseScheduleApplicationBuilderInterface
3431
- ): UnsafeMutableRawPointer {
3432
- const pointer = this.pointer(obj);
3433
- return uniffiCaller.rustCall(
3434
- /*caller:*/ (callStatus) =>
3435
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_personalcoursescheduleapplicationbuilder(
3436
- pointer,
3437
- callStatus
3438
- ),
3439
- /*liftString:*/ FfiConverterString.lift
3440
- );
3441
- },
3448
+ unbless(ptr: UniffiRustArcPtr) {
3449
+ ptr.markDestroyed();
3450
+ },
3442
3451
 
3443
- freePointer(pointer: UnsafeMutableRawPointer): void {
3444
- uniffiCaller.rustCall(
3445
- /*caller:*/ (callStatus) =>
3446
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_personalcoursescheduleapplicationbuilder(
3447
- pointer,
3448
- callStatus
3449
- ),
3450
- /*liftString:*/ FfiConverterString.lift
3451
- );
3452
- },
3452
+ pointer(
3453
+ obj: PersonalCourseScheduleApplicationBuilderInterface
3454
+ ): UnsafeMutableRawPointer {
3455
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
3456
+ throw new UniffiInternalError.UnexpectedNullPointer();
3457
+ }
3458
+ return (obj as any)[pointerLiteralSymbol];
3459
+ },
3453
3460
 
3454
- isConcreteType(
3455
- obj: any
3456
- ): obj is PersonalCourseScheduleApplicationBuilderInterface {
3457
- return (
3458
- obj[destructorGuardSymbol] &&
3459
- obj[uniffiTypeNameSymbol] === 'PersonalCourseScheduleApplicationBuilder'
3460
- );
3461
- },
3462
- };
3461
+ clonePointer(
3462
+ obj: PersonalCourseScheduleApplicationBuilderInterface
3463
+ ): UnsafeMutableRawPointer {
3464
+ const pointer = this.pointer(obj);
3465
+ return uniffiCaller.rustCall(
3466
+ /*caller:*/ (callStatus) =>
3467
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_personalcoursescheduleapplicationbuilder(
3468
+ pointer,
3469
+ callStatus
3470
+ ),
3471
+ /*liftString:*/ FfiConverterString.lift
3472
+ );
3473
+ },
3474
+
3475
+ freePointer(pointer: UnsafeMutableRawPointer): void {
3476
+ uniffiCaller.rustCall(
3477
+ /*caller:*/ (callStatus) =>
3478
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_personalcoursescheduleapplicationbuilder(
3479
+ pointer,
3480
+ callStatus
3481
+ ),
3482
+ /*liftString:*/ FfiConverterString.lift
3483
+ );
3484
+ },
3485
+
3486
+ isConcreteType(
3487
+ obj: any
3488
+ ): obj is PersonalCourseScheduleApplicationBuilderInterface {
3489
+ return (
3490
+ obj[destructorGuardSymbol] &&
3491
+ obj[uniffiTypeNameSymbol] ===
3492
+ 'PersonalCourseScheduleApplicationBuilder'
3493
+ );
3494
+ },
3495
+ };
3496
+ })();
3463
3497
  // FfiConverter for PersonalCourseScheduleApplicationBuilderInterface
3464
3498
  const FfiConverterTypePersonalCourseScheduleApplicationBuilder =
3465
3499
  new FfiConverterObject(
@@ -3556,69 +3590,73 @@ export class ScholarshipsApplication
3556
3590
  }
3557
3591
 
3558
3592
  const uniffiTypeScholarshipsApplicationObjectFactory: UniffiObjectFactory<ScholarshipsApplicationInterface> =
3559
- {
3560
- create(pointer: UnsafeMutableRawPointer): ScholarshipsApplicationInterface {
3561
- const instance = Object.create(ScholarshipsApplication.prototype);
3562
- instance[pointerLiteralSymbol] = pointer;
3563
- instance[destructorGuardSymbol] = this.bless(pointer);
3564
- instance[uniffiTypeNameSymbol] = 'ScholarshipsApplication';
3565
- return instance;
3566
- },
3567
-
3568
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3569
- return uniffiCaller.rustCall(
3570
- /*caller:*/ (status) =>
3571
- nativeModule().ubrn_uniffi_internal_fn_method_scholarshipsapplication_ffi__bless_pointer(
3572
- p,
3573
- status
3574
- ),
3575
- /*liftString:*/ FfiConverterString.lift
3576
- );
3577
- },
3593
+ (() => {
3594
+ return {
3595
+ create(
3596
+ pointer: UnsafeMutableRawPointer
3597
+ ): ScholarshipsApplicationInterface {
3598
+ const instance = Object.create(ScholarshipsApplication.prototype);
3599
+ instance[pointerLiteralSymbol] = pointer;
3600
+ instance[destructorGuardSymbol] = this.bless(pointer);
3601
+ instance[uniffiTypeNameSymbol] = 'ScholarshipsApplication';
3602
+ return instance;
3603
+ },
3578
3604
 
3579
- unbless(ptr: UniffiRustArcPtr) {
3580
- ptr.markDestroyed();
3581
- },
3605
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3606
+ return uniffiCaller.rustCall(
3607
+ /*caller:*/ (status) =>
3608
+ nativeModule().ubrn_uniffi_internal_fn_method_scholarshipsapplication_ffi__bless_pointer(
3609
+ p,
3610
+ status
3611
+ ),
3612
+ /*liftString:*/ FfiConverterString.lift
3613
+ );
3614
+ },
3582
3615
 
3583
- pointer(obj: ScholarshipsApplicationInterface): UnsafeMutableRawPointer {
3584
- if ((obj as any)[destructorGuardSymbol] === undefined) {
3585
- throw new UniffiInternalError.UnexpectedNullPointer();
3586
- }
3587
- return (obj as any)[pointerLiteralSymbol];
3588
- },
3589
-
3590
- clonePointer(
3591
- obj: ScholarshipsApplicationInterface
3592
- ): UnsafeMutableRawPointer {
3593
- const pointer = this.pointer(obj);
3594
- return uniffiCaller.rustCall(
3595
- /*caller:*/ (callStatus) =>
3596
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_scholarshipsapplication(
3597
- pointer,
3598
- callStatus
3599
- ),
3600
- /*liftString:*/ FfiConverterString.lift
3601
- );
3602
- },
3616
+ unbless(ptr: UniffiRustArcPtr) {
3617
+ ptr.markDestroyed();
3618
+ },
3603
3619
 
3604
- freePointer(pointer: UnsafeMutableRawPointer): void {
3605
- uniffiCaller.rustCall(
3606
- /*caller:*/ (callStatus) =>
3607
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_scholarshipsapplication(
3608
- pointer,
3609
- callStatus
3610
- ),
3611
- /*liftString:*/ FfiConverterString.lift
3612
- );
3613
- },
3620
+ pointer(obj: ScholarshipsApplicationInterface): UnsafeMutableRawPointer {
3621
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
3622
+ throw new UniffiInternalError.UnexpectedNullPointer();
3623
+ }
3624
+ return (obj as any)[pointerLiteralSymbol];
3625
+ },
3614
3626
 
3615
- isConcreteType(obj: any): obj is ScholarshipsApplicationInterface {
3616
- return (
3617
- obj[destructorGuardSymbol] &&
3618
- obj[uniffiTypeNameSymbol] === 'ScholarshipsApplication'
3619
- );
3620
- },
3621
- };
3627
+ clonePointer(
3628
+ obj: ScholarshipsApplicationInterface
3629
+ ): UnsafeMutableRawPointer {
3630
+ const pointer = this.pointer(obj);
3631
+ return uniffiCaller.rustCall(
3632
+ /*caller:*/ (callStatus) =>
3633
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_scholarshipsapplication(
3634
+ pointer,
3635
+ callStatus
3636
+ ),
3637
+ /*liftString:*/ FfiConverterString.lift
3638
+ );
3639
+ },
3640
+
3641
+ freePointer(pointer: UnsafeMutableRawPointer): void {
3642
+ uniffiCaller.rustCall(
3643
+ /*caller:*/ (callStatus) =>
3644
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_scholarshipsapplication(
3645
+ pointer,
3646
+ callStatus
3647
+ ),
3648
+ /*liftString:*/ FfiConverterString.lift
3649
+ );
3650
+ },
3651
+
3652
+ isConcreteType(obj: any): obj is ScholarshipsApplicationInterface {
3653
+ return (
3654
+ obj[destructorGuardSymbol] &&
3655
+ obj[uniffiTypeNameSymbol] === 'ScholarshipsApplication'
3656
+ );
3657
+ },
3658
+ };
3659
+ })();
3622
3660
  // FfiConverter for ScholarshipsApplicationInterface
3623
3661
  const FfiConverterTypeScholarshipsApplication = new FfiConverterObject(
3624
3662
  uniffiTypeScholarshipsApplicationObjectFactory
@@ -3733,73 +3771,77 @@ export class ScholarshipsApplicationBuilder
3733
3771
  }
3734
3772
 
3735
3773
  const uniffiTypeScholarshipsApplicationBuilderObjectFactory: UniffiObjectFactory<ScholarshipsApplicationBuilderInterface> =
3736
- {
3737
- create(
3738
- pointer: UnsafeMutableRawPointer
3739
- ): ScholarshipsApplicationBuilderInterface {
3740
- const instance = Object.create(ScholarshipsApplicationBuilder.prototype);
3741
- instance[pointerLiteralSymbol] = pointer;
3742
- instance[destructorGuardSymbol] = this.bless(pointer);
3743
- instance[uniffiTypeNameSymbol] = 'ScholarshipsApplicationBuilder';
3744
- return instance;
3745
- },
3746
-
3747
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3748
- return uniffiCaller.rustCall(
3749
- /*caller:*/ (status) =>
3750
- nativeModule().ubrn_uniffi_internal_fn_method_scholarshipsapplicationbuilder_ffi__bless_pointer(
3751
- p,
3752
- status
3753
- ),
3754
- /*liftString:*/ FfiConverterString.lift
3755
- );
3756
- },
3774
+ (() => {
3775
+ return {
3776
+ create(
3777
+ pointer: UnsafeMutableRawPointer
3778
+ ): ScholarshipsApplicationBuilderInterface {
3779
+ const instance = Object.create(
3780
+ ScholarshipsApplicationBuilder.prototype
3781
+ );
3782
+ instance[pointerLiteralSymbol] = pointer;
3783
+ instance[destructorGuardSymbol] = this.bless(pointer);
3784
+ instance[uniffiTypeNameSymbol] = 'ScholarshipsApplicationBuilder';
3785
+ return instance;
3786
+ },
3757
3787
 
3758
- unbless(ptr: UniffiRustArcPtr) {
3759
- ptr.markDestroyed();
3760
- },
3788
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
3789
+ return uniffiCaller.rustCall(
3790
+ /*caller:*/ (status) =>
3791
+ nativeModule().ubrn_uniffi_internal_fn_method_scholarshipsapplicationbuilder_ffi__bless_pointer(
3792
+ p,
3793
+ status
3794
+ ),
3795
+ /*liftString:*/ FfiConverterString.lift
3796
+ );
3797
+ },
3761
3798
 
3762
- pointer(
3763
- obj: ScholarshipsApplicationBuilderInterface
3764
- ): UnsafeMutableRawPointer {
3765
- if ((obj as any)[destructorGuardSymbol] === undefined) {
3766
- throw new UniffiInternalError.UnexpectedNullPointer();
3767
- }
3768
- return (obj as any)[pointerLiteralSymbol];
3769
- },
3770
-
3771
- clonePointer(
3772
- obj: ScholarshipsApplicationBuilderInterface
3773
- ): UnsafeMutableRawPointer {
3774
- const pointer = this.pointer(obj);
3775
- return uniffiCaller.rustCall(
3776
- /*caller:*/ (callStatus) =>
3777
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_scholarshipsapplicationbuilder(
3778
- pointer,
3779
- callStatus
3780
- ),
3781
- /*liftString:*/ FfiConverterString.lift
3782
- );
3783
- },
3799
+ unbless(ptr: UniffiRustArcPtr) {
3800
+ ptr.markDestroyed();
3801
+ },
3784
3802
 
3785
- freePointer(pointer: UnsafeMutableRawPointer): void {
3786
- uniffiCaller.rustCall(
3787
- /*caller:*/ (callStatus) =>
3788
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_scholarshipsapplicationbuilder(
3789
- pointer,
3790
- callStatus
3791
- ),
3792
- /*liftString:*/ FfiConverterString.lift
3793
- );
3794
- },
3803
+ pointer(
3804
+ obj: ScholarshipsApplicationBuilderInterface
3805
+ ): UnsafeMutableRawPointer {
3806
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
3807
+ throw new UniffiInternalError.UnexpectedNullPointer();
3808
+ }
3809
+ return (obj as any)[pointerLiteralSymbol];
3810
+ },
3795
3811
 
3796
- isConcreteType(obj: any): obj is ScholarshipsApplicationBuilderInterface {
3797
- return (
3798
- obj[destructorGuardSymbol] &&
3799
- obj[uniffiTypeNameSymbol] === 'ScholarshipsApplicationBuilder'
3800
- );
3801
- },
3802
- };
3812
+ clonePointer(
3813
+ obj: ScholarshipsApplicationBuilderInterface
3814
+ ): UnsafeMutableRawPointer {
3815
+ const pointer = this.pointer(obj);
3816
+ return uniffiCaller.rustCall(
3817
+ /*caller:*/ (callStatus) =>
3818
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_scholarshipsapplicationbuilder(
3819
+ pointer,
3820
+ callStatus
3821
+ ),
3822
+ /*liftString:*/ FfiConverterString.lift
3823
+ );
3824
+ },
3825
+
3826
+ freePointer(pointer: UnsafeMutableRawPointer): void {
3827
+ uniffiCaller.rustCall(
3828
+ /*caller:*/ (callStatus) =>
3829
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_scholarshipsapplicationbuilder(
3830
+ pointer,
3831
+ callStatus
3832
+ ),
3833
+ /*liftString:*/ FfiConverterString.lift
3834
+ );
3835
+ },
3836
+
3837
+ isConcreteType(obj: any): obj is ScholarshipsApplicationBuilderInterface {
3838
+ return (
3839
+ obj[destructorGuardSymbol] &&
3840
+ obj[uniffiTypeNameSymbol] === 'ScholarshipsApplicationBuilder'
3841
+ );
3842
+ },
3843
+ };
3844
+ })();
3803
3845
  // FfiConverter for ScholarshipsApplicationBuilderInterface
3804
3846
  const FfiConverterTypeScholarshipsApplicationBuilder = new FfiConverterObject(
3805
3847
  uniffiTypeScholarshipsApplicationBuilderObjectFactory
@@ -4331,73 +4373,75 @@ export class StudentInformationApplication
4331
4373
  }
4332
4374
 
4333
4375
  const uniffiTypeStudentInformationApplicationObjectFactory: UniffiObjectFactory<StudentInformationApplicationInterface> =
4334
- {
4335
- create(
4336
- pointer: UnsafeMutableRawPointer
4337
- ): StudentInformationApplicationInterface {
4338
- const instance = Object.create(StudentInformationApplication.prototype);
4339
- instance[pointerLiteralSymbol] = pointer;
4340
- instance[destructorGuardSymbol] = this.bless(pointer);
4341
- instance[uniffiTypeNameSymbol] = 'StudentInformationApplication';
4342
- return instance;
4343
- },
4344
-
4345
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
4346
- return uniffiCaller.rustCall(
4347
- /*caller:*/ (status) =>
4348
- nativeModule().ubrn_uniffi_internal_fn_method_studentinformationapplication_ffi__bless_pointer(
4349
- p,
4350
- status
4351
- ),
4352
- /*liftString:*/ FfiConverterString.lift
4353
- );
4354
- },
4376
+ (() => {
4377
+ return {
4378
+ create(
4379
+ pointer: UnsafeMutableRawPointer
4380
+ ): StudentInformationApplicationInterface {
4381
+ const instance = Object.create(StudentInformationApplication.prototype);
4382
+ instance[pointerLiteralSymbol] = pointer;
4383
+ instance[destructorGuardSymbol] = this.bless(pointer);
4384
+ instance[uniffiTypeNameSymbol] = 'StudentInformationApplication';
4385
+ return instance;
4386
+ },
4355
4387
 
4356
- unbless(ptr: UniffiRustArcPtr) {
4357
- ptr.markDestroyed();
4358
- },
4388
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
4389
+ return uniffiCaller.rustCall(
4390
+ /*caller:*/ (status) =>
4391
+ nativeModule().ubrn_uniffi_internal_fn_method_studentinformationapplication_ffi__bless_pointer(
4392
+ p,
4393
+ status
4394
+ ),
4395
+ /*liftString:*/ FfiConverterString.lift
4396
+ );
4397
+ },
4359
4398
 
4360
- pointer(
4361
- obj: StudentInformationApplicationInterface
4362
- ): UnsafeMutableRawPointer {
4363
- if ((obj as any)[destructorGuardSymbol] === undefined) {
4364
- throw new UniffiInternalError.UnexpectedNullPointer();
4365
- }
4366
- return (obj as any)[pointerLiteralSymbol];
4367
- },
4368
-
4369
- clonePointer(
4370
- obj: StudentInformationApplicationInterface
4371
- ): UnsafeMutableRawPointer {
4372
- const pointer = this.pointer(obj);
4373
- return uniffiCaller.rustCall(
4374
- /*caller:*/ (callStatus) =>
4375
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_studentinformationapplication(
4376
- pointer,
4377
- callStatus
4378
- ),
4379
- /*liftString:*/ FfiConverterString.lift
4380
- );
4381
- },
4399
+ unbless(ptr: UniffiRustArcPtr) {
4400
+ ptr.markDestroyed();
4401
+ },
4382
4402
 
4383
- freePointer(pointer: UnsafeMutableRawPointer): void {
4384
- uniffiCaller.rustCall(
4385
- /*caller:*/ (callStatus) =>
4386
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_studentinformationapplication(
4387
- pointer,
4388
- callStatus
4389
- ),
4390
- /*liftString:*/ FfiConverterString.lift
4391
- );
4392
- },
4403
+ pointer(
4404
+ obj: StudentInformationApplicationInterface
4405
+ ): UnsafeMutableRawPointer {
4406
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
4407
+ throw new UniffiInternalError.UnexpectedNullPointer();
4408
+ }
4409
+ return (obj as any)[pointerLiteralSymbol];
4410
+ },
4393
4411
 
4394
- isConcreteType(obj: any): obj is StudentInformationApplicationInterface {
4395
- return (
4396
- obj[destructorGuardSymbol] &&
4397
- obj[uniffiTypeNameSymbol] === 'StudentInformationApplication'
4398
- );
4399
- },
4400
- };
4412
+ clonePointer(
4413
+ obj: StudentInformationApplicationInterface
4414
+ ): UnsafeMutableRawPointer {
4415
+ const pointer = this.pointer(obj);
4416
+ return uniffiCaller.rustCall(
4417
+ /*caller:*/ (callStatus) =>
4418
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_studentinformationapplication(
4419
+ pointer,
4420
+ callStatus
4421
+ ),
4422
+ /*liftString:*/ FfiConverterString.lift
4423
+ );
4424
+ },
4425
+
4426
+ freePointer(pointer: UnsafeMutableRawPointer): void {
4427
+ uniffiCaller.rustCall(
4428
+ /*caller:*/ (callStatus) =>
4429
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_studentinformationapplication(
4430
+ pointer,
4431
+ callStatus
4432
+ ),
4433
+ /*liftString:*/ FfiConverterString.lift
4434
+ );
4435
+ },
4436
+
4437
+ isConcreteType(obj: any): obj is StudentInformationApplicationInterface {
4438
+ return (
4439
+ obj[destructorGuardSymbol] &&
4440
+ obj[uniffiTypeNameSymbol] === 'StudentInformationApplication'
4441
+ );
4442
+ },
4443
+ };
4444
+ })();
4401
4445
  // FfiConverter for StudentInformationApplicationInterface
4402
4446
  const FfiConverterTypeStudentInformationApplication = new FfiConverterObject(
4403
4447
  uniffiTypeStudentInformationApplicationObjectFactory
@@ -4516,77 +4560,79 @@ export class StudentInformationApplicationBuilder
4516
4560
  }
4517
4561
 
4518
4562
  const uniffiTypeStudentInformationApplicationBuilderObjectFactory: UniffiObjectFactory<StudentInformationApplicationBuilderInterface> =
4519
- {
4520
- create(
4521
- pointer: UnsafeMutableRawPointer
4522
- ): StudentInformationApplicationBuilderInterface {
4523
- const instance = Object.create(
4524
- StudentInformationApplicationBuilder.prototype
4525
- );
4526
- instance[pointerLiteralSymbol] = pointer;
4527
- instance[destructorGuardSymbol] = this.bless(pointer);
4528
- instance[uniffiTypeNameSymbol] = 'StudentInformationApplicationBuilder';
4529
- return instance;
4530
- },
4531
-
4532
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
4533
- return uniffiCaller.rustCall(
4534
- /*caller:*/ (status) =>
4535
- nativeModule().ubrn_uniffi_internal_fn_method_studentinformationapplicationbuilder_ffi__bless_pointer(
4536
- p,
4537
- status
4538
- ),
4539
- /*liftString:*/ FfiConverterString.lift
4540
- );
4541
- },
4563
+ (() => {
4564
+ return {
4565
+ create(
4566
+ pointer: UnsafeMutableRawPointer
4567
+ ): StudentInformationApplicationBuilderInterface {
4568
+ const instance = Object.create(
4569
+ StudentInformationApplicationBuilder.prototype
4570
+ );
4571
+ instance[pointerLiteralSymbol] = pointer;
4572
+ instance[destructorGuardSymbol] = this.bless(pointer);
4573
+ instance[uniffiTypeNameSymbol] = 'StudentInformationApplicationBuilder';
4574
+ return instance;
4575
+ },
4542
4576
 
4543
- unbless(ptr: UniffiRustArcPtr) {
4544
- ptr.markDestroyed();
4545
- },
4577
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
4578
+ return uniffiCaller.rustCall(
4579
+ /*caller:*/ (status) =>
4580
+ nativeModule().ubrn_uniffi_internal_fn_method_studentinformationapplicationbuilder_ffi__bless_pointer(
4581
+ p,
4582
+ status
4583
+ ),
4584
+ /*liftString:*/ FfiConverterString.lift
4585
+ );
4586
+ },
4546
4587
 
4547
- pointer(
4548
- obj: StudentInformationApplicationBuilderInterface
4549
- ): UnsafeMutableRawPointer {
4550
- if ((obj as any)[destructorGuardSymbol] === undefined) {
4551
- throw new UniffiInternalError.UnexpectedNullPointer();
4552
- }
4553
- return (obj as any)[pointerLiteralSymbol];
4554
- },
4555
-
4556
- clonePointer(
4557
- obj: StudentInformationApplicationBuilderInterface
4558
- ): UnsafeMutableRawPointer {
4559
- const pointer = this.pointer(obj);
4560
- return uniffiCaller.rustCall(
4561
- /*caller:*/ (callStatus) =>
4562
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_studentinformationapplicationbuilder(
4563
- pointer,
4564
- callStatus
4565
- ),
4566
- /*liftString:*/ FfiConverterString.lift
4567
- );
4568
- },
4588
+ unbless(ptr: UniffiRustArcPtr) {
4589
+ ptr.markDestroyed();
4590
+ },
4569
4591
 
4570
- freePointer(pointer: UnsafeMutableRawPointer): void {
4571
- uniffiCaller.rustCall(
4572
- /*caller:*/ (callStatus) =>
4573
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_studentinformationapplicationbuilder(
4574
- pointer,
4575
- callStatus
4576
- ),
4577
- /*liftString:*/ FfiConverterString.lift
4578
- );
4579
- },
4592
+ pointer(
4593
+ obj: StudentInformationApplicationBuilderInterface
4594
+ ): UnsafeMutableRawPointer {
4595
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
4596
+ throw new UniffiInternalError.UnexpectedNullPointer();
4597
+ }
4598
+ return (obj as any)[pointerLiteralSymbol];
4599
+ },
4580
4600
 
4581
- isConcreteType(
4582
- obj: any
4583
- ): obj is StudentInformationApplicationBuilderInterface {
4584
- return (
4585
- obj[destructorGuardSymbol] &&
4586
- obj[uniffiTypeNameSymbol] === 'StudentInformationApplicationBuilder'
4587
- );
4588
- },
4589
- };
4601
+ clonePointer(
4602
+ obj: StudentInformationApplicationBuilderInterface
4603
+ ): UnsafeMutableRawPointer {
4604
+ const pointer = this.pointer(obj);
4605
+ return uniffiCaller.rustCall(
4606
+ /*caller:*/ (callStatus) =>
4607
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_studentinformationapplicationbuilder(
4608
+ pointer,
4609
+ callStatus
4610
+ ),
4611
+ /*liftString:*/ FfiConverterString.lift
4612
+ );
4613
+ },
4614
+
4615
+ freePointer(pointer: UnsafeMutableRawPointer): void {
4616
+ uniffiCaller.rustCall(
4617
+ /*caller:*/ (callStatus) =>
4618
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_studentinformationapplicationbuilder(
4619
+ pointer,
4620
+ callStatus
4621
+ ),
4622
+ /*liftString:*/ FfiConverterString.lift
4623
+ );
4624
+ },
4625
+
4626
+ isConcreteType(
4627
+ obj: any
4628
+ ): obj is StudentInformationApplicationBuilderInterface {
4629
+ return (
4630
+ obj[destructorGuardSymbol] &&
4631
+ obj[uniffiTypeNameSymbol] === 'StudentInformationApplicationBuilder'
4632
+ );
4633
+ },
4634
+ };
4635
+ })();
4590
4636
  // FfiConverter for StudentInformationApplicationBuilderInterface
4591
4637
  const FfiConverterTypeStudentInformationApplicationBuilder =
4592
4638
  new FfiConverterObject(
@@ -4637,67 +4683,69 @@ export class USaintSession
4637
4683
  }
4638
4684
 
4639
4685
  const uniffiTypeUSaintSessionObjectFactory: UniffiObjectFactory<USaintSessionInterface> =
4640
- {
4641
- create(pointer: UnsafeMutableRawPointer): USaintSessionInterface {
4642
- const instance = Object.create(USaintSession.prototype);
4643
- instance[pointerLiteralSymbol] = pointer;
4644
- instance[destructorGuardSymbol] = this.bless(pointer);
4645
- instance[uniffiTypeNameSymbol] = 'USaintSession';
4646
- return instance;
4647
- },
4648
-
4649
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
4650
- return uniffiCaller.rustCall(
4651
- /*caller:*/ (status) =>
4652
- nativeModule().ubrn_uniffi_internal_fn_method_usaintsession_ffi__bless_pointer(
4653
- p,
4654
- status
4655
- ),
4656
- /*liftString:*/ FfiConverterString.lift
4657
- );
4658
- },
4686
+ (() => {
4687
+ return {
4688
+ create(pointer: UnsafeMutableRawPointer): USaintSessionInterface {
4689
+ const instance = Object.create(USaintSession.prototype);
4690
+ instance[pointerLiteralSymbol] = pointer;
4691
+ instance[destructorGuardSymbol] = this.bless(pointer);
4692
+ instance[uniffiTypeNameSymbol] = 'USaintSession';
4693
+ return instance;
4694
+ },
4695
+
4696
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
4697
+ return uniffiCaller.rustCall(
4698
+ /*caller:*/ (status) =>
4699
+ nativeModule().ubrn_uniffi_internal_fn_method_usaintsession_ffi__bless_pointer(
4700
+ p,
4701
+ status
4702
+ ),
4703
+ /*liftString:*/ FfiConverterString.lift
4704
+ );
4705
+ },
4659
4706
 
4660
- unbless(ptr: UniffiRustArcPtr) {
4661
- ptr.markDestroyed();
4662
- },
4707
+ unbless(ptr: UniffiRustArcPtr) {
4708
+ ptr.markDestroyed();
4709
+ },
4663
4710
 
4664
- pointer(obj: USaintSessionInterface): UnsafeMutableRawPointer {
4665
- if ((obj as any)[destructorGuardSymbol] === undefined) {
4666
- throw new UniffiInternalError.UnexpectedNullPointer();
4667
- }
4668
- return (obj as any)[pointerLiteralSymbol];
4669
- },
4670
-
4671
- clonePointer(obj: USaintSessionInterface): UnsafeMutableRawPointer {
4672
- const pointer = this.pointer(obj);
4673
- return uniffiCaller.rustCall(
4674
- /*caller:*/ (callStatus) =>
4675
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_usaintsession(
4676
- pointer,
4677
- callStatus
4678
- ),
4679
- /*liftString:*/ FfiConverterString.lift
4680
- );
4681
- },
4711
+ pointer(obj: USaintSessionInterface): UnsafeMutableRawPointer {
4712
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
4713
+ throw new UniffiInternalError.UnexpectedNullPointer();
4714
+ }
4715
+ return (obj as any)[pointerLiteralSymbol];
4716
+ },
4682
4717
 
4683
- freePointer(pointer: UnsafeMutableRawPointer): void {
4684
- uniffiCaller.rustCall(
4685
- /*caller:*/ (callStatus) =>
4686
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_usaintsession(
4687
- pointer,
4688
- callStatus
4689
- ),
4690
- /*liftString:*/ FfiConverterString.lift
4691
- );
4692
- },
4718
+ clonePointer(obj: USaintSessionInterface): UnsafeMutableRawPointer {
4719
+ const pointer = this.pointer(obj);
4720
+ return uniffiCaller.rustCall(
4721
+ /*caller:*/ (callStatus) =>
4722
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_usaintsession(
4723
+ pointer,
4724
+ callStatus
4725
+ ),
4726
+ /*liftString:*/ FfiConverterString.lift
4727
+ );
4728
+ },
4693
4729
 
4694
- isConcreteType(obj: any): obj is USaintSessionInterface {
4695
- return (
4696
- obj[destructorGuardSymbol] &&
4697
- obj[uniffiTypeNameSymbol] === 'USaintSession'
4698
- );
4699
- },
4700
- };
4730
+ freePointer(pointer: UnsafeMutableRawPointer): void {
4731
+ uniffiCaller.rustCall(
4732
+ /*caller:*/ (callStatus) =>
4733
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_usaintsession(
4734
+ pointer,
4735
+ callStatus
4736
+ ),
4737
+ /*liftString:*/ FfiConverterString.lift
4738
+ );
4739
+ },
4740
+
4741
+ isConcreteType(obj: any): obj is USaintSessionInterface {
4742
+ return (
4743
+ obj[destructorGuardSymbol] &&
4744
+ obj[uniffiTypeNameSymbol] === 'USaintSession'
4745
+ );
4746
+ },
4747
+ };
4748
+ })();
4701
4749
  // FfiConverter for USaintSessionInterface
4702
4750
  const FfiConverterTypeUSaintSession = new FfiConverterObject(
4703
4751
  uniffiTypeUSaintSessionObjectFactory
@@ -4913,67 +4961,71 @@ export class USaintSessionBuilder
4913
4961
  }
4914
4962
 
4915
4963
  const uniffiTypeUSaintSessionBuilderObjectFactory: UniffiObjectFactory<USaintSessionBuilderInterface> =
4916
- {
4917
- create(pointer: UnsafeMutableRawPointer): USaintSessionBuilderInterface {
4918
- const instance = Object.create(USaintSessionBuilder.prototype);
4919
- instance[pointerLiteralSymbol] = pointer;
4920
- instance[destructorGuardSymbol] = this.bless(pointer);
4921
- instance[uniffiTypeNameSymbol] = 'USaintSessionBuilder';
4922
- return instance;
4923
- },
4924
-
4925
- bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
4926
- return uniffiCaller.rustCall(
4927
- /*caller:*/ (status) =>
4928
- nativeModule().ubrn_uniffi_internal_fn_method_usaintsessionbuilder_ffi__bless_pointer(
4929
- p,
4930
- status
4931
- ),
4932
- /*liftString:*/ FfiConverterString.lift
4933
- );
4934
- },
4964
+ (() => {
4965
+ return {
4966
+ create(pointer: UnsafeMutableRawPointer): USaintSessionBuilderInterface {
4967
+ const instance = Object.create(USaintSessionBuilder.prototype);
4968
+ instance[pointerLiteralSymbol] = pointer;
4969
+ instance[destructorGuardSymbol] = this.bless(pointer);
4970
+ instance[uniffiTypeNameSymbol] = 'USaintSessionBuilder';
4971
+ return instance;
4972
+ },
4935
4973
 
4936
- unbless(ptr: UniffiRustArcPtr) {
4937
- ptr.markDestroyed();
4938
- },
4974
+ bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr {
4975
+ return uniffiCaller.rustCall(
4976
+ /*caller:*/ (status) =>
4977
+ nativeModule().ubrn_uniffi_internal_fn_method_usaintsessionbuilder_ffi__bless_pointer(
4978
+ p,
4979
+ status
4980
+ ),
4981
+ /*liftString:*/ FfiConverterString.lift
4982
+ );
4983
+ },
4939
4984
 
4940
- pointer(obj: USaintSessionBuilderInterface): UnsafeMutableRawPointer {
4941
- if ((obj as any)[destructorGuardSymbol] === undefined) {
4942
- throw new UniffiInternalError.UnexpectedNullPointer();
4943
- }
4944
- return (obj as any)[pointerLiteralSymbol];
4945
- },
4946
-
4947
- clonePointer(obj: USaintSessionBuilderInterface): UnsafeMutableRawPointer {
4948
- const pointer = this.pointer(obj);
4949
- return uniffiCaller.rustCall(
4950
- /*caller:*/ (callStatus) =>
4951
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_usaintsessionbuilder(
4952
- pointer,
4953
- callStatus
4954
- ),
4955
- /*liftString:*/ FfiConverterString.lift
4956
- );
4957
- },
4985
+ unbless(ptr: UniffiRustArcPtr) {
4986
+ ptr.markDestroyed();
4987
+ },
4958
4988
 
4959
- freePointer(pointer: UnsafeMutableRawPointer): void {
4960
- uniffiCaller.rustCall(
4961
- /*caller:*/ (callStatus) =>
4962
- nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_usaintsessionbuilder(
4963
- pointer,
4964
- callStatus
4965
- ),
4966
- /*liftString:*/ FfiConverterString.lift
4967
- );
4968
- },
4989
+ pointer(obj: USaintSessionBuilderInterface): UnsafeMutableRawPointer {
4990
+ if ((obj as any)[destructorGuardSymbol] === undefined) {
4991
+ throw new UniffiInternalError.UnexpectedNullPointer();
4992
+ }
4993
+ return (obj as any)[pointerLiteralSymbol];
4994
+ },
4969
4995
 
4970
- isConcreteType(obj: any): obj is USaintSessionBuilderInterface {
4971
- return (
4972
- obj[destructorGuardSymbol] &&
4973
- obj[uniffiTypeNameSymbol] === 'USaintSessionBuilder'
4974
- );
4975
- },
4976
- };
4996
+ clonePointer(
4997
+ obj: USaintSessionBuilderInterface
4998
+ ): UnsafeMutableRawPointer {
4999
+ const pointer = this.pointer(obj);
5000
+ return uniffiCaller.rustCall(
5001
+ /*caller:*/ (callStatus) =>
5002
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_clone_usaintsessionbuilder(
5003
+ pointer,
5004
+ callStatus
5005
+ ),
5006
+ /*liftString:*/ FfiConverterString.lift
5007
+ );
5008
+ },
5009
+
5010
+ freePointer(pointer: UnsafeMutableRawPointer): void {
5011
+ uniffiCaller.rustCall(
5012
+ /*caller:*/ (callStatus) =>
5013
+ nativeModule().ubrn_uniffi_rusaint_ffi_fn_free_usaintsessionbuilder(
5014
+ pointer,
5015
+ callStatus
5016
+ ),
5017
+ /*liftString:*/ FfiConverterString.lift
5018
+ );
5019
+ },
5020
+
5021
+ isConcreteType(obj: any): obj is USaintSessionBuilderInterface {
5022
+ return (
5023
+ obj[destructorGuardSymbol] &&
5024
+ obj[uniffiTypeNameSymbol] === 'USaintSessionBuilder'
5025
+ );
5026
+ },
5027
+ };
5028
+ })();
4977
5029
  // FfiConverter for USaintSessionBuilderInterface
4978
5030
  const FfiConverterTypeUSaintSessionBuilder = new FfiConverterObject(
4979
5031
  uniffiTypeUSaintSessionBuilderObjectFactory
@@ -5508,6 +5560,7 @@ export default Object.freeze({
5508
5560
  FfiConverterTypeLectureAssessmentApplicationBuilder,
5509
5561
  FfiConverterTypePersonalCourseScheduleApplication,
5510
5562
  FfiConverterTypePersonalCourseScheduleApplicationBuilder,
5563
+ FfiConverterTypeRusaintError,
5511
5564
  FfiConverterTypeScholarshipsApplication,
5512
5565
  FfiConverterTypeScholarshipsApplicationBuilder,
5513
5566
  FfiConverterTypeStudentInformationApplication,