@deepintel-ltd/farmpro-contracts 1.5.13 → 1.5.15

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 (33) hide show
  1. package/dist/index.d.ts +5 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +4 -0
  4. package/dist/routes/agents.routes.d.ts +623 -0
  5. package/dist/routes/agents.routes.d.ts.map +1 -1
  6. package/dist/routes/agents.routes.js +18 -1
  7. package/dist/routes/auth.routes.d.ts +509 -0
  8. package/dist/routes/auth.routes.d.ts.map +1 -1
  9. package/dist/routes/auth.routes.js +26 -2
  10. package/dist/routes/field-monitoring.routes.d.ts +18 -18
  11. package/dist/routes/index.d.ts +6 -0
  12. package/dist/routes/index.d.ts.map +1 -1
  13. package/dist/routes/index.js +4 -0
  14. package/dist/routes/payments.routes.d.ts +1851 -0
  15. package/dist/routes/payments.routes.d.ts.map +1 -0
  16. package/dist/routes/payments.routes.js +91 -0
  17. package/dist/routes/subscriptions.routes.d.ts +3151 -0
  18. package/dist/routes/subscriptions.routes.d.ts.map +1 -0
  19. package/dist/routes/subscriptions.routes.js +155 -0
  20. package/dist/schemas/agents.schemas.d.ts +916 -0
  21. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  22. package/dist/schemas/agents.schemas.js +34 -0
  23. package/dist/schemas/auth.schemas.d.ts +306 -0
  24. package/dist/schemas/auth.schemas.d.ts.map +1 -1
  25. package/dist/schemas/auth.schemas.js +26 -0
  26. package/dist/schemas/field-monitoring.schemas.d.ts +18 -18
  27. package/dist/schemas/payments.schemas.d.ts +822 -0
  28. package/dist/schemas/payments.schemas.d.ts.map +1 -0
  29. package/dist/schemas/payments.schemas.js +105 -0
  30. package/dist/schemas/subscriptions.schemas.d.ts +1344 -0
  31. package/dist/schemas/subscriptions.schemas.d.ts.map +1 -0
  32. package/dist/schemas/subscriptions.schemas.js +150 -0
  33. package/package.json +1 -1
@@ -514,14 +514,17 @@ export declare const authRouter: {
514
514
  name: z.ZodString;
515
515
  email: z.ZodString;
516
516
  password: z.ZodString;
517
+ phone: z.ZodOptional<z.ZodString>;
517
518
  }, "strip", z.ZodTypeAny, {
518
519
  email: string;
519
520
  password: string;
520
521
  name: string;
522
+ phone?: string | undefined;
521
523
  }, {
522
524
  email: string;
523
525
  password: string;
524
526
  name: string;
527
+ phone?: string | undefined;
525
528
  }>;
526
529
  }, "strip", z.ZodTypeAny, {
527
530
  type: "users";
@@ -529,6 +532,7 @@ export declare const authRouter: {
529
532
  email: string;
530
533
  password: string;
531
534
  name: string;
535
+ phone?: string | undefined;
532
536
  };
533
537
  }, {
534
538
  type: "users";
@@ -536,6 +540,7 @@ export declare const authRouter: {
536
540
  email: string;
537
541
  password: string;
538
542
  name: string;
543
+ phone?: string | undefined;
539
544
  };
540
545
  }>;
541
546
  }, "strip", z.ZodTypeAny, {
@@ -545,6 +550,7 @@ export declare const authRouter: {
545
550
  email: string;
546
551
  password: string;
547
552
  name: string;
553
+ phone?: string | undefined;
548
554
  };
549
555
  };
550
556
  }, {
@@ -554,6 +560,7 @@ export declare const authRouter: {
554
560
  email: string;
555
561
  password: string;
556
562
  name: string;
563
+ phone?: string | undefined;
557
564
  };
558
565
  };
559
566
  }>;
@@ -3832,5 +3839,507 @@ export declare const authRouter: {
3832
3839
  }>;
3833
3840
  };
3834
3841
  };
3842
+ completeOnboarding: {
3843
+ summary: "Complete user onboarding";
3844
+ description: "Mark onboarding as complete and optionally add phone number";
3845
+ method: "POST";
3846
+ body: z.ZodObject<{
3847
+ data: z.ZodObject<{
3848
+ type: z.ZodLiteral<"onboarding">;
3849
+ attributes: z.ZodObject<{
3850
+ phone: z.ZodOptional<z.ZodString>;
3851
+ skipOnboarding: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3852
+ }, "strip", z.ZodTypeAny, {
3853
+ skipOnboarding: boolean;
3854
+ phone?: string | undefined;
3855
+ }, {
3856
+ phone?: string | undefined;
3857
+ skipOnboarding?: boolean | undefined;
3858
+ }>;
3859
+ }, "strip", z.ZodTypeAny, {
3860
+ type: "onboarding";
3861
+ attributes: {
3862
+ skipOnboarding: boolean;
3863
+ phone?: string | undefined;
3864
+ };
3865
+ }, {
3866
+ type: "onboarding";
3867
+ attributes: {
3868
+ phone?: string | undefined;
3869
+ skipOnboarding?: boolean | undefined;
3870
+ };
3871
+ }>;
3872
+ }, "strip", z.ZodTypeAny, {
3873
+ data: {
3874
+ type: "onboarding";
3875
+ attributes: {
3876
+ skipOnboarding: boolean;
3877
+ phone?: string | undefined;
3878
+ };
3879
+ };
3880
+ }, {
3881
+ data: {
3882
+ type: "onboarding";
3883
+ attributes: {
3884
+ phone?: string | undefined;
3885
+ skipOnboarding?: boolean | undefined;
3886
+ };
3887
+ };
3888
+ }>;
3889
+ path: "/auth/onboarding/complete";
3890
+ responses: {
3891
+ 200: z.ZodObject<{
3892
+ meta: z.ZodObject<{
3893
+ message: z.ZodString;
3894
+ }, "strip", z.ZodTypeAny, {
3895
+ message: string;
3896
+ }, {
3897
+ message: string;
3898
+ }>;
3899
+ }, "strip", z.ZodTypeAny, {
3900
+ meta: {
3901
+ message: string;
3902
+ };
3903
+ }, {
3904
+ meta: {
3905
+ message: string;
3906
+ };
3907
+ }>;
3908
+ 400: z.ZodObject<{
3909
+ errors: z.ZodArray<z.ZodObject<{
3910
+ id: z.ZodOptional<z.ZodString>;
3911
+ links: z.ZodOptional<z.ZodObject<{
3912
+ about: z.ZodOptional<z.ZodString>;
3913
+ }, "strip", z.ZodTypeAny, {
3914
+ about?: string | undefined;
3915
+ }, {
3916
+ about?: string | undefined;
3917
+ }>>;
3918
+ status: z.ZodOptional<z.ZodString>;
3919
+ code: z.ZodOptional<z.ZodString>;
3920
+ title: z.ZodOptional<z.ZodString>;
3921
+ detail: z.ZodOptional<z.ZodString>;
3922
+ source: z.ZodOptional<z.ZodObject<{
3923
+ pointer: z.ZodOptional<z.ZodString>;
3924
+ parameter: z.ZodOptional<z.ZodString>;
3925
+ }, "strip", z.ZodTypeAny, {
3926
+ pointer?: string | undefined;
3927
+ parameter?: string | undefined;
3928
+ }, {
3929
+ pointer?: string | undefined;
3930
+ parameter?: string | undefined;
3931
+ }>>;
3932
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3933
+ }, "strip", z.ZodTypeAny, {
3934
+ status?: string | undefined;
3935
+ code?: string | undefined;
3936
+ id?: string | undefined;
3937
+ links?: {
3938
+ about?: string | undefined;
3939
+ } | undefined;
3940
+ meta?: Record<string, unknown> | undefined;
3941
+ title?: string | undefined;
3942
+ detail?: string | undefined;
3943
+ source?: {
3944
+ pointer?: string | undefined;
3945
+ parameter?: string | undefined;
3946
+ } | undefined;
3947
+ }, {
3948
+ status?: string | undefined;
3949
+ code?: string | undefined;
3950
+ id?: string | undefined;
3951
+ links?: {
3952
+ about?: string | undefined;
3953
+ } | undefined;
3954
+ meta?: Record<string, unknown> | undefined;
3955
+ title?: string | undefined;
3956
+ detail?: string | undefined;
3957
+ source?: {
3958
+ pointer?: string | undefined;
3959
+ parameter?: string | undefined;
3960
+ } | undefined;
3961
+ }>, "many">;
3962
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3963
+ }, "strip", z.ZodTypeAny, {
3964
+ errors: {
3965
+ status?: string | undefined;
3966
+ code?: string | undefined;
3967
+ id?: string | undefined;
3968
+ links?: {
3969
+ about?: string | undefined;
3970
+ } | undefined;
3971
+ meta?: Record<string, unknown> | undefined;
3972
+ title?: string | undefined;
3973
+ detail?: string | undefined;
3974
+ source?: {
3975
+ pointer?: string | undefined;
3976
+ parameter?: string | undefined;
3977
+ } | undefined;
3978
+ }[];
3979
+ meta?: Record<string, unknown> | undefined;
3980
+ }, {
3981
+ errors: {
3982
+ status?: string | undefined;
3983
+ code?: string | undefined;
3984
+ id?: string | undefined;
3985
+ links?: {
3986
+ about?: string | undefined;
3987
+ } | undefined;
3988
+ meta?: Record<string, unknown> | undefined;
3989
+ title?: string | undefined;
3990
+ detail?: string | undefined;
3991
+ source?: {
3992
+ pointer?: string | undefined;
3993
+ parameter?: string | undefined;
3994
+ } | undefined;
3995
+ }[];
3996
+ meta?: Record<string, unknown> | undefined;
3997
+ }>;
3998
+ 422: z.ZodObject<{
3999
+ errors: z.ZodArray<z.ZodObject<{
4000
+ id: z.ZodOptional<z.ZodString>;
4001
+ links: z.ZodOptional<z.ZodObject<{
4002
+ about: z.ZodOptional<z.ZodString>;
4003
+ }, "strip", z.ZodTypeAny, {
4004
+ about?: string | undefined;
4005
+ }, {
4006
+ about?: string | undefined;
4007
+ }>>;
4008
+ status: z.ZodOptional<z.ZodString>;
4009
+ code: z.ZodOptional<z.ZodString>;
4010
+ title: z.ZodOptional<z.ZodString>;
4011
+ detail: z.ZodOptional<z.ZodString>;
4012
+ source: z.ZodOptional<z.ZodObject<{
4013
+ pointer: z.ZodOptional<z.ZodString>;
4014
+ parameter: z.ZodOptional<z.ZodString>;
4015
+ }, "strip", z.ZodTypeAny, {
4016
+ pointer?: string | undefined;
4017
+ parameter?: string | undefined;
4018
+ }, {
4019
+ pointer?: string | undefined;
4020
+ parameter?: string | undefined;
4021
+ }>>;
4022
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4023
+ }, "strip", z.ZodTypeAny, {
4024
+ status?: string | undefined;
4025
+ code?: string | undefined;
4026
+ id?: string | undefined;
4027
+ links?: {
4028
+ about?: string | undefined;
4029
+ } | undefined;
4030
+ meta?: Record<string, unknown> | undefined;
4031
+ title?: string | undefined;
4032
+ detail?: string | undefined;
4033
+ source?: {
4034
+ pointer?: string | undefined;
4035
+ parameter?: string | undefined;
4036
+ } | undefined;
4037
+ }, {
4038
+ status?: string | undefined;
4039
+ code?: string | undefined;
4040
+ id?: string | undefined;
4041
+ links?: {
4042
+ about?: string | undefined;
4043
+ } | undefined;
4044
+ meta?: Record<string, unknown> | undefined;
4045
+ title?: string | undefined;
4046
+ detail?: string | undefined;
4047
+ source?: {
4048
+ pointer?: string | undefined;
4049
+ parameter?: string | undefined;
4050
+ } | undefined;
4051
+ }>, "many">;
4052
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4053
+ }, "strip", z.ZodTypeAny, {
4054
+ errors: {
4055
+ status?: string | undefined;
4056
+ code?: string | undefined;
4057
+ id?: string | undefined;
4058
+ links?: {
4059
+ about?: string | undefined;
4060
+ } | undefined;
4061
+ meta?: Record<string, unknown> | undefined;
4062
+ title?: string | undefined;
4063
+ detail?: string | undefined;
4064
+ source?: {
4065
+ pointer?: string | undefined;
4066
+ parameter?: string | undefined;
4067
+ } | undefined;
4068
+ }[];
4069
+ meta?: Record<string, unknown> | undefined;
4070
+ }, {
4071
+ errors: {
4072
+ status?: string | undefined;
4073
+ code?: string | undefined;
4074
+ id?: string | undefined;
4075
+ links?: {
4076
+ about?: string | undefined;
4077
+ } | undefined;
4078
+ meta?: Record<string, unknown> | undefined;
4079
+ title?: string | undefined;
4080
+ detail?: string | undefined;
4081
+ source?: {
4082
+ pointer?: string | undefined;
4083
+ parameter?: string | undefined;
4084
+ } | undefined;
4085
+ }[];
4086
+ meta?: Record<string, unknown> | undefined;
4087
+ }>;
4088
+ };
4089
+ };
4090
+ getOnboardingStatus: {
4091
+ summary: "Get user onboarding status";
4092
+ description: "Returns current onboarding completion status";
4093
+ method: "GET";
4094
+ path: "/auth/onboarding/status";
4095
+ responses: {
4096
+ 200: z.ZodObject<{
4097
+ data: z.ZodObject<{
4098
+ type: z.ZodLiteral<string>;
4099
+ id: z.ZodString;
4100
+ attributes: z.ZodObject<{
4101
+ onboardingCompleted: z.ZodBoolean;
4102
+ onboardingSkipped: z.ZodBoolean;
4103
+ emailVerified: z.ZodBoolean;
4104
+ hasPhone: z.ZodBoolean;
4105
+ hasFarm: z.ZodBoolean;
4106
+ hasActiveSubscription: z.ZodOptional<z.ZodBoolean>;
4107
+ currentSubscriptionTier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4108
+ canUpgrade: z.ZodOptional<z.ZodBoolean>;
4109
+ recommendedTier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4110
+ }, "strip", z.ZodTypeAny, {
4111
+ onboardingCompleted: boolean;
4112
+ onboardingSkipped: boolean;
4113
+ emailVerified: boolean;
4114
+ hasPhone: boolean;
4115
+ hasFarm: boolean;
4116
+ hasActiveSubscription?: boolean | undefined;
4117
+ currentSubscriptionTier?: string | null | undefined;
4118
+ canUpgrade?: boolean | undefined;
4119
+ recommendedTier?: string | null | undefined;
4120
+ }, {
4121
+ onboardingCompleted: boolean;
4122
+ onboardingSkipped: boolean;
4123
+ emailVerified: boolean;
4124
+ hasPhone: boolean;
4125
+ hasFarm: boolean;
4126
+ hasActiveSubscription?: boolean | undefined;
4127
+ currentSubscriptionTier?: string | null | undefined;
4128
+ canUpgrade?: boolean | undefined;
4129
+ recommendedTier?: string | null | undefined;
4130
+ }>;
4131
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4132
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4133
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4134
+ }, "strip", z.ZodTypeAny, {
4135
+ type: string;
4136
+ id: string;
4137
+ attributes: {
4138
+ onboardingCompleted: boolean;
4139
+ onboardingSkipped: boolean;
4140
+ emailVerified: boolean;
4141
+ hasPhone: boolean;
4142
+ hasFarm: boolean;
4143
+ hasActiveSubscription?: boolean | undefined;
4144
+ currentSubscriptionTier?: string | null | undefined;
4145
+ canUpgrade?: boolean | undefined;
4146
+ recommendedTier?: string | null | undefined;
4147
+ };
4148
+ relationships?: Record<string, unknown> | undefined;
4149
+ links?: Record<string, string> | undefined;
4150
+ meta?: Record<string, unknown> | undefined;
4151
+ }, {
4152
+ type: string;
4153
+ id: string;
4154
+ attributes: {
4155
+ onboardingCompleted: boolean;
4156
+ onboardingSkipped: boolean;
4157
+ emailVerified: boolean;
4158
+ hasPhone: boolean;
4159
+ hasFarm: boolean;
4160
+ hasActiveSubscription?: boolean | undefined;
4161
+ currentSubscriptionTier?: string | null | undefined;
4162
+ canUpgrade?: boolean | undefined;
4163
+ recommendedTier?: string | null | undefined;
4164
+ };
4165
+ relationships?: Record<string, unknown> | undefined;
4166
+ links?: Record<string, string> | undefined;
4167
+ meta?: Record<string, unknown> | undefined;
4168
+ }>;
4169
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
4170
+ type: z.ZodString;
4171
+ id: z.ZodString;
4172
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4173
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4174
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4175
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4176
+ }, "strip", z.ZodTypeAny, {
4177
+ type: string;
4178
+ id: string;
4179
+ attributes?: Record<string, unknown> | undefined;
4180
+ relationships?: Record<string, unknown> | undefined;
4181
+ links?: Record<string, string> | undefined;
4182
+ meta?: Record<string, unknown> | undefined;
4183
+ }, {
4184
+ type: string;
4185
+ id: string;
4186
+ attributes?: Record<string, unknown> | undefined;
4187
+ relationships?: Record<string, unknown> | undefined;
4188
+ links?: Record<string, string> | undefined;
4189
+ meta?: Record<string, unknown> | undefined;
4190
+ }>, "many">>;
4191
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4192
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4193
+ }, "strip", z.ZodTypeAny, {
4194
+ data: {
4195
+ type: string;
4196
+ id: string;
4197
+ attributes: {
4198
+ onboardingCompleted: boolean;
4199
+ onboardingSkipped: boolean;
4200
+ emailVerified: boolean;
4201
+ hasPhone: boolean;
4202
+ hasFarm: boolean;
4203
+ hasActiveSubscription?: boolean | undefined;
4204
+ currentSubscriptionTier?: string | null | undefined;
4205
+ canUpgrade?: boolean | undefined;
4206
+ recommendedTier?: string | null | undefined;
4207
+ };
4208
+ relationships?: Record<string, unknown> | undefined;
4209
+ links?: Record<string, string> | undefined;
4210
+ meta?: Record<string, unknown> | undefined;
4211
+ };
4212
+ links?: Record<string, string> | undefined;
4213
+ meta?: Record<string, unknown> | undefined;
4214
+ included?: {
4215
+ type: string;
4216
+ id: string;
4217
+ attributes?: Record<string, unknown> | undefined;
4218
+ relationships?: Record<string, unknown> | undefined;
4219
+ links?: Record<string, string> | undefined;
4220
+ meta?: Record<string, unknown> | undefined;
4221
+ }[] | undefined;
4222
+ }, {
4223
+ data: {
4224
+ type: string;
4225
+ id: string;
4226
+ attributes: {
4227
+ onboardingCompleted: boolean;
4228
+ onboardingSkipped: boolean;
4229
+ emailVerified: boolean;
4230
+ hasPhone: boolean;
4231
+ hasFarm: boolean;
4232
+ hasActiveSubscription?: boolean | undefined;
4233
+ currentSubscriptionTier?: string | null | undefined;
4234
+ canUpgrade?: boolean | undefined;
4235
+ recommendedTier?: string | null | undefined;
4236
+ };
4237
+ relationships?: Record<string, unknown> | undefined;
4238
+ links?: Record<string, string> | undefined;
4239
+ meta?: Record<string, unknown> | undefined;
4240
+ };
4241
+ links?: Record<string, string> | undefined;
4242
+ meta?: Record<string, unknown> | undefined;
4243
+ included?: {
4244
+ type: string;
4245
+ id: string;
4246
+ attributes?: Record<string, unknown> | undefined;
4247
+ relationships?: Record<string, unknown> | undefined;
4248
+ links?: Record<string, string> | undefined;
4249
+ meta?: Record<string, unknown> | undefined;
4250
+ }[] | undefined;
4251
+ }>;
4252
+ 401: z.ZodObject<{
4253
+ errors: z.ZodArray<z.ZodObject<{
4254
+ id: z.ZodOptional<z.ZodString>;
4255
+ links: z.ZodOptional<z.ZodObject<{
4256
+ about: z.ZodOptional<z.ZodString>;
4257
+ }, "strip", z.ZodTypeAny, {
4258
+ about?: string | undefined;
4259
+ }, {
4260
+ about?: string | undefined;
4261
+ }>>;
4262
+ status: z.ZodOptional<z.ZodString>;
4263
+ code: z.ZodOptional<z.ZodString>;
4264
+ title: z.ZodOptional<z.ZodString>;
4265
+ detail: z.ZodOptional<z.ZodString>;
4266
+ source: z.ZodOptional<z.ZodObject<{
4267
+ pointer: z.ZodOptional<z.ZodString>;
4268
+ parameter: z.ZodOptional<z.ZodString>;
4269
+ }, "strip", z.ZodTypeAny, {
4270
+ pointer?: string | undefined;
4271
+ parameter?: string | undefined;
4272
+ }, {
4273
+ pointer?: string | undefined;
4274
+ parameter?: string | undefined;
4275
+ }>>;
4276
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4277
+ }, "strip", z.ZodTypeAny, {
4278
+ status?: string | undefined;
4279
+ code?: string | undefined;
4280
+ id?: string | undefined;
4281
+ links?: {
4282
+ about?: string | undefined;
4283
+ } | undefined;
4284
+ meta?: Record<string, unknown> | undefined;
4285
+ title?: string | undefined;
4286
+ detail?: string | undefined;
4287
+ source?: {
4288
+ pointer?: string | undefined;
4289
+ parameter?: string | undefined;
4290
+ } | undefined;
4291
+ }, {
4292
+ status?: string | undefined;
4293
+ code?: string | undefined;
4294
+ id?: string | undefined;
4295
+ links?: {
4296
+ about?: string | undefined;
4297
+ } | undefined;
4298
+ meta?: Record<string, unknown> | undefined;
4299
+ title?: string | undefined;
4300
+ detail?: string | undefined;
4301
+ source?: {
4302
+ pointer?: string | undefined;
4303
+ parameter?: string | undefined;
4304
+ } | undefined;
4305
+ }>, "many">;
4306
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4307
+ }, "strip", z.ZodTypeAny, {
4308
+ errors: {
4309
+ status?: string | undefined;
4310
+ code?: string | undefined;
4311
+ id?: string | undefined;
4312
+ links?: {
4313
+ about?: string | undefined;
4314
+ } | undefined;
4315
+ meta?: Record<string, unknown> | undefined;
4316
+ title?: string | undefined;
4317
+ detail?: string | undefined;
4318
+ source?: {
4319
+ pointer?: string | undefined;
4320
+ parameter?: string | undefined;
4321
+ } | undefined;
4322
+ }[];
4323
+ meta?: Record<string, unknown> | undefined;
4324
+ }, {
4325
+ errors: {
4326
+ status?: string | undefined;
4327
+ code?: string | undefined;
4328
+ id?: string | undefined;
4329
+ links?: {
4330
+ about?: string | undefined;
4331
+ } | undefined;
4332
+ meta?: Record<string, unknown> | undefined;
4333
+ title?: string | undefined;
4334
+ detail?: string | undefined;
4335
+ source?: {
4336
+ pointer?: string | undefined;
4337
+ parameter?: string | undefined;
4338
+ } | undefined;
4339
+ }[];
4340
+ meta?: Record<string, unknown> | undefined;
4341
+ }>;
4342
+ };
4343
+ };
3835
4344
  };
3836
4345
  //# sourceMappingURL=auth.routes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth.routes.d.ts","sourceRoot":"","sources":["../../src/routes/auth.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyLrB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
- import { loginSchema, signupSchema, googleAuthInitiateSchema, googleAuthCallbackSchema, refreshTokenSchema, requestPasswordResetSchema, resetPasswordSchema, changePasswordSchema, verifyEmailSchema, resendVerificationSchema, logoutSchema, authResponseSchema, googleAuthInitiateResponseSchema, refreshTokenResponseSchema, passwordResetResponseSchema, logoutResponseSchema, emailVerificationResponseSchema, } from '../schemas/auth.schemas';
4
- import { jsonApiErrorResponseSchema } from '../schemas/common.schemas';
3
+ import { loginSchema, signupSchema, googleAuthInitiateSchema, googleAuthCallbackSchema, refreshTokenSchema, requestPasswordResetSchema, resetPasswordSchema, changePasswordSchema, verifyEmailSchema, resendVerificationSchema, logoutSchema, completeOnboardingSchema, authResponseSchema, googleAuthInitiateResponseSchema, refreshTokenResponseSchema, passwordResetResponseSchema, logoutResponseSchema, emailVerificationResponseSchema, onboardingStatusResponseSchema, } from '../schemas/auth.schemas';
4
+ import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema } from '../schemas/common.schemas';
5
5
  const c = initContract();
6
6
  export const authRouter = c.router({
7
7
  // Login with email/password
@@ -152,4 +152,28 @@ export const authRouter = c.router({
152
152
  summary: 'Resend verification email',
153
153
  description: 'Resend email verification link',
154
154
  },
155
+ // Complete onboarding
156
+ completeOnboarding: {
157
+ method: 'POST',
158
+ path: '/auth/onboarding/complete',
159
+ body: z.object({ data: completeOnboardingSchema }),
160
+ responses: {
161
+ 200: jsonApiSuccessResponseSchema,
162
+ 400: jsonApiErrorResponseSchema,
163
+ 422: jsonApiErrorResponseSchema,
164
+ },
165
+ summary: 'Complete user onboarding',
166
+ description: 'Mark onboarding as complete and optionally add phone number',
167
+ },
168
+ // Get onboarding status
169
+ getOnboardingStatus: {
170
+ method: 'GET',
171
+ path: '/auth/onboarding/status',
172
+ responses: {
173
+ 200: onboardingStatusResponseSchema,
174
+ 401: jsonApiErrorResponseSchema,
175
+ },
176
+ summary: 'Get user onboarding status',
177
+ description: 'Returns current onboarding completion status',
178
+ },
155
179
  });
@@ -2200,6 +2200,15 @@ export declare const fieldMonitoringRouter: {
2200
2200
  confidence?: number | undefined;
2201
2201
  }[] | undefined;
2202
2202
  };
2203
+ properties: {
2204
+ texture: {
2205
+ sand: number;
2206
+ silt: number;
2207
+ clay: number;
2208
+ classification: string;
2209
+ };
2210
+ bulkDensity: number;
2211
+ };
2203
2212
  quality: {
2204
2213
  overall: "critical" | "poor" | "fair" | "good" | "excellent";
2205
2214
  score: number;
@@ -2287,15 +2296,6 @@ export declare const fieldMonitoringRouter: {
2287
2296
  sourceId?: string | undefined;
2288
2297
  };
2289
2298
  };
2290
- properties: {
2291
- texture: {
2292
- sand: number;
2293
- silt: number;
2294
- clay: number;
2295
- classification: string;
2296
- };
2297
- bulkDensity: number;
2298
- };
2299
2299
  dataSources: Record<string, {
2300
2300
  date: string;
2301
2301
  source: "manual" | "regional_api" | "global_api" | "predicted";
@@ -2386,6 +2386,15 @@ export declare const fieldMonitoringRouter: {
2386
2386
  confidence?: number | undefined;
2387
2387
  }[] | undefined;
2388
2388
  };
2389
+ properties: {
2390
+ texture: {
2391
+ sand: number;
2392
+ silt: number;
2393
+ clay: number;
2394
+ classification: string;
2395
+ };
2396
+ bulkDensity: number;
2397
+ };
2389
2398
  quality: {
2390
2399
  overall: "critical" | "poor" | "fair" | "good" | "excellent";
2391
2400
  score: number;
@@ -2473,15 +2482,6 @@ export declare const fieldMonitoringRouter: {
2473
2482
  sourceId?: string | undefined;
2474
2483
  };
2475
2484
  };
2476
- properties: {
2477
- texture: {
2478
- sand: number;
2479
- silt: number;
2480
- clay: number;
2481
- classification: string;
2482
- };
2483
- bulkDensity: number;
2484
- };
2485
2485
  dataSources: Record<string, {
2486
2486
  date: string;
2487
2487
  source: "manual" | "regional_api" | "global_api" | "predicted";