@homespot-sdk/validators 0.0.630 → 0.0.632

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -378,6 +378,99 @@ export declare const api: import("@zodios/core").ZodiosInstance<[{
378
378
  schema: z.ZodString;
379
379
  }];
380
380
  response: z.ZodVoid;
381
+ }, {
382
+ method: "post";
383
+ path: "/agency/:agencyId";
384
+ alias: "correctRegistrationDetails";
385
+ requestFormat: "json";
386
+ parameters: [{
387
+ name: "body";
388
+ type: "Body";
389
+ schema: z.ZodObject<{
390
+ name: z.ZodString;
391
+ email: z.ZodString;
392
+ seats: z.ZodNumber;
393
+ subDomain: z.ZodString;
394
+ phone: z.ZodString;
395
+ address: z.ZodObject<{
396
+ country: z.ZodString;
397
+ city: z.ZodString;
398
+ district: z.ZodString;
399
+ subdistrict: z.ZodString;
400
+ street: z.ZodString;
401
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
402
+ country: z.ZodString;
403
+ city: z.ZodString;
404
+ district: z.ZodString;
405
+ subdistrict: z.ZodString;
406
+ street: z.ZodString;
407
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
408
+ country: z.ZodString;
409
+ city: z.ZodString;
410
+ district: z.ZodString;
411
+ subdistrict: z.ZodString;
412
+ street: z.ZodString;
413
+ }, z.ZodTypeAny, "passthrough">>;
414
+ yearSince: z.ZodNumber;
415
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
416
+ name: z.ZodString;
417
+ email: z.ZodString;
418
+ seats: z.ZodNumber;
419
+ subDomain: z.ZodString;
420
+ phone: z.ZodString;
421
+ address: z.ZodObject<{
422
+ country: z.ZodString;
423
+ city: z.ZodString;
424
+ district: z.ZodString;
425
+ subdistrict: z.ZodString;
426
+ street: z.ZodString;
427
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
428
+ country: z.ZodString;
429
+ city: z.ZodString;
430
+ district: z.ZodString;
431
+ subdistrict: z.ZodString;
432
+ street: z.ZodString;
433
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
434
+ country: z.ZodString;
435
+ city: z.ZodString;
436
+ district: z.ZodString;
437
+ subdistrict: z.ZodString;
438
+ street: z.ZodString;
439
+ }, z.ZodTypeAny, "passthrough">>;
440
+ yearSince: z.ZodNumber;
441
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
442
+ name: z.ZodString;
443
+ email: z.ZodString;
444
+ seats: z.ZodNumber;
445
+ subDomain: z.ZodString;
446
+ phone: z.ZodString;
447
+ address: z.ZodObject<{
448
+ country: z.ZodString;
449
+ city: z.ZodString;
450
+ district: z.ZodString;
451
+ subdistrict: z.ZodString;
452
+ street: z.ZodString;
453
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
454
+ country: z.ZodString;
455
+ city: z.ZodString;
456
+ district: z.ZodString;
457
+ subdistrict: z.ZodString;
458
+ street: z.ZodString;
459
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
460
+ country: z.ZodString;
461
+ city: z.ZodString;
462
+ district: z.ZodString;
463
+ subdistrict: z.ZodString;
464
+ street: z.ZodString;
465
+ }, z.ZodTypeAny, "passthrough">>;
466
+ yearSince: z.ZodNumber;
467
+ }, z.ZodTypeAny, "passthrough">>;
468
+ }, {
469
+ name: "agencyId";
470
+ type: "Path";
471
+ schema: z.ZodString;
472
+ }];
473
+ response: z.ZodVoid;
381
474
  }, {
382
475
  method: "post";
383
476
  path: "/agency/:agencyId/activate";
@@ -748,6 +841,99 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
748
841
  schema: z.ZodString;
749
842
  }];
750
843
  response: z.ZodVoid;
844
+ }, {
845
+ method: "post";
846
+ path: "/agency/:agencyId";
847
+ alias: "correctRegistrationDetails";
848
+ requestFormat: "json";
849
+ parameters: [{
850
+ name: "body";
851
+ type: "Body";
852
+ schema: z.ZodObject<{
853
+ name: z.ZodString;
854
+ email: z.ZodString;
855
+ seats: z.ZodNumber;
856
+ subDomain: z.ZodString;
857
+ phone: z.ZodString;
858
+ address: z.ZodObject<{
859
+ country: z.ZodString;
860
+ city: z.ZodString;
861
+ district: z.ZodString;
862
+ subdistrict: z.ZodString;
863
+ street: z.ZodString;
864
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
865
+ country: z.ZodString;
866
+ city: z.ZodString;
867
+ district: z.ZodString;
868
+ subdistrict: z.ZodString;
869
+ street: z.ZodString;
870
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
871
+ country: z.ZodString;
872
+ city: z.ZodString;
873
+ district: z.ZodString;
874
+ subdistrict: z.ZodString;
875
+ street: z.ZodString;
876
+ }, z.ZodTypeAny, "passthrough">>;
877
+ yearSince: z.ZodNumber;
878
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
879
+ name: z.ZodString;
880
+ email: z.ZodString;
881
+ seats: z.ZodNumber;
882
+ subDomain: z.ZodString;
883
+ phone: z.ZodString;
884
+ address: z.ZodObject<{
885
+ country: z.ZodString;
886
+ city: z.ZodString;
887
+ district: z.ZodString;
888
+ subdistrict: z.ZodString;
889
+ street: z.ZodString;
890
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
891
+ country: z.ZodString;
892
+ city: z.ZodString;
893
+ district: z.ZodString;
894
+ subdistrict: z.ZodString;
895
+ street: z.ZodString;
896
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
897
+ country: z.ZodString;
898
+ city: z.ZodString;
899
+ district: z.ZodString;
900
+ subdistrict: z.ZodString;
901
+ street: z.ZodString;
902
+ }, z.ZodTypeAny, "passthrough">>;
903
+ yearSince: z.ZodNumber;
904
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
905
+ name: z.ZodString;
906
+ email: z.ZodString;
907
+ seats: z.ZodNumber;
908
+ subDomain: z.ZodString;
909
+ phone: z.ZodString;
910
+ address: z.ZodObject<{
911
+ country: z.ZodString;
912
+ city: z.ZodString;
913
+ district: z.ZodString;
914
+ subdistrict: z.ZodString;
915
+ street: z.ZodString;
916
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
917
+ country: z.ZodString;
918
+ city: z.ZodString;
919
+ district: z.ZodString;
920
+ subdistrict: z.ZodString;
921
+ street: z.ZodString;
922
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
923
+ country: z.ZodString;
924
+ city: z.ZodString;
925
+ district: z.ZodString;
926
+ subdistrict: z.ZodString;
927
+ street: z.ZodString;
928
+ }, z.ZodTypeAny, "passthrough">>;
929
+ yearSince: z.ZodNumber;
930
+ }, z.ZodTypeAny, "passthrough">>;
931
+ }, {
932
+ name: "agencyId";
933
+ type: "Path";
934
+ schema: z.ZodString;
935
+ }];
936
+ response: z.ZodVoid;
751
937
  }, {
752
938
  method: "post";
753
939
  path: "/agency/:agencyId/activate";
package/dist/index.js CHANGED
@@ -132,6 +132,25 @@ const endpoints = (0, core_1.makeApi)([
132
132
  ],
133
133
  response: zod_1.z.void(),
134
134
  },
135
+ {
136
+ method: 'post',
137
+ path: '/agency/:agencyId',
138
+ alias: 'correctRegistrationDetails',
139
+ requestFormat: 'json',
140
+ parameters: [
141
+ {
142
+ name: 'body',
143
+ type: 'Body',
144
+ schema: CreateAgencyRequest,
145
+ },
146
+ {
147
+ name: 'agencyId',
148
+ type: 'Path',
149
+ schema: zod_1.z.string().uuid(),
150
+ },
151
+ ],
152
+ response: zod_1.z.void(),
153
+ },
135
154
  {
136
155
  method: 'post',
137
156
  path: '/agency/:agencyId/activate',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homespot-sdk/validators",
3
- "version": "0.0.630",
3
+ "version": "0.0.632",
4
4
  "main": "dist/index.js",
5
5
  "types": "src/index.ts",
6
6
  "files": [
package/src/index.ts CHANGED
@@ -133,6 +133,25 @@ const endpoints = makeApi([
133
133
  ],
134
134
  response: z.void(),
135
135
  },
136
+ {
137
+ method: 'post',
138
+ path: '/agency/:agencyId',
139
+ alias: 'correctRegistrationDetails',
140
+ requestFormat: 'json',
141
+ parameters: [
142
+ {
143
+ name: 'body',
144
+ type: 'Body',
145
+ schema: CreateAgencyRequest,
146
+ },
147
+ {
148
+ name: 'agencyId',
149
+ type: 'Path',
150
+ schema: z.string().uuid(),
151
+ },
152
+ ],
153
+ response: z.void(),
154
+ },
136
155
  {
137
156
  method: 'post',
138
157
  path: '/agency/:agencyId/activate',