@homespot-sdk/core 0.0.345 → 0.0.346

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 (61) hide show
  1. package/dist/property/schemas.gen.d.ts +4 -0
  2. package/dist/property/schemas.gen.d.ts.map +1 -1
  3. package/dist/property/schemas.gen.js +4 -0
  4. package/dist/property/schemas.gen.js.map +1 -1
  5. package/dist/property/types.gen.d.ts +1 -0
  6. package/dist/property/types.gen.d.ts.map +1 -1
  7. package/dist/property/zod.gen.d.ts +3 -0
  8. package/dist/property/zod.gen.d.ts.map +1 -1
  9. package/dist/property/zod.gen.js +8 -0
  10. package/dist/property/zod.gen.js.map +1 -1
  11. package/dist/registration/schemas.gen.d.ts +4 -0
  12. package/dist/registration/schemas.gen.d.ts.map +1 -1
  13. package/dist/registration/schemas.gen.js +4 -0
  14. package/dist/registration/schemas.gen.js.map +1 -1
  15. package/dist/registration/types.gen.d.ts +1 -0
  16. package/dist/registration/types.gen.d.ts.map +1 -1
  17. package/dist/registration/zod.gen.d.ts +3 -0
  18. package/dist/registration/zod.gen.d.ts.map +1 -1
  19. package/dist/registration/zod.gen.js +8 -0
  20. package/dist/registration/zod.gen.js.map +1 -1
  21. package/dist/rem/index.d.ts +2 -2
  22. package/dist/rem/index.d.ts.map +1 -1
  23. package/dist/rem/index.js +1 -1
  24. package/dist/rem/index.js.map +1 -1
  25. package/dist/rem/schemas.gen.d.ts +49 -142
  26. package/dist/rem/schemas.gen.d.ts.map +1 -1
  27. package/dist/rem/schemas.gen.js +60 -161
  28. package/dist/rem/schemas.gen.js.map +1 -1
  29. package/dist/rem/sdk.gen.d.ts +4 -9
  30. package/dist/rem/sdk.gen.d.ts.map +1 -1
  31. package/dist/rem/sdk.gen.js +14 -48
  32. package/dist/rem/sdk.gen.js.map +1 -1
  33. package/dist/rem/transformers.gen.d.ts +2 -3
  34. package/dist/rem/transformers.gen.d.ts.map +1 -1
  35. package/dist/rem/transformers.gen.js +4 -15
  36. package/dist/rem/transformers.gen.js.map +1 -1
  37. package/dist/rem/types.gen.d.ts +63 -173
  38. package/dist/rem/types.gen.d.ts.map +1 -1
  39. package/dist/rem/zod.gen.d.ts +187 -289
  40. package/dist/rem/zod.gen.d.ts.map +1 -1
  41. package/dist/rem/zod.gen.js +98 -170
  42. package/dist/rem/zod.gen.js.map +1 -1
  43. package/dist/utils/index.d.ts +2 -2
  44. package/dist/utils/index.d.ts.map +1 -1
  45. package/dist/utils/index.js +1 -1
  46. package/dist/utils/index.js.map +1 -1
  47. package/dist/utils/schemas.gen.d.ts +27 -0
  48. package/dist/utils/schemas.gen.d.ts.map +1 -1
  49. package/dist/utils/schemas.gen.js +27 -0
  50. package/dist/utils/schemas.gen.js.map +1 -1
  51. package/dist/utils/sdk.gen.d.ts +2 -2
  52. package/dist/utils/sdk.gen.d.ts.map +1 -1
  53. package/dist/utils/sdk.gen.js +1 -4
  54. package/dist/utils/sdk.gen.js.map +1 -1
  55. package/dist/utils/types.gen.d.ts +26 -12
  56. package/dist/utils/types.gen.d.ts.map +1 -1
  57. package/dist/utils/zod.gen.d.ts +27 -8
  58. package/dist/utils/zod.gen.d.ts.map +1 -1
  59. package/dist/utils/zod.gen.js +70 -7
  60. package/dist/utils/zod.gen.js.map +1 -1
  61. package/package.json +1 -1
@@ -513,6 +513,10 @@ export const LocationTargetRequestSchema = {
513
513
  type: 'integer',
514
514
  format: 'int64',
515
515
  },
516
+ parentId: {
517
+ type: 'integer',
518
+ format: 'int64',
519
+ },
516
520
  type: {
517
521
  type: 'string',
518
522
  enum: ['REGION', 'DISTRICT', 'SUBDISTRICT', 'STREET'],
@@ -681,15 +685,6 @@ export const RecolorStageRequestSchema = {
681
685
  },
682
686
  required: ['color'],
683
687
  };
684
- export const DeactivateStageRequestSchema = {
685
- type: 'object',
686
- properties: {
687
- migrateToStageId: {
688
- type: 'string',
689
- format: 'uuid',
690
- },
691
- },
692
- };
693
688
  export const ReorderStagesRequestSchema = {
694
689
  type: 'object',
695
690
  properties: {
@@ -703,21 +698,6 @@ export const ReorderStagesRequestSchema = {
703
698
  },
704
699
  required: ['stageIds'],
705
700
  };
706
- export const SetTaskSettingsRequestSchema = {
707
- type: 'object',
708
- properties: {
709
- defaultBoardId: {
710
- type: 'string',
711
- format: 'uuid',
712
- },
713
- defaultStageId: {
714
- type: 'string',
715
- format: 'uuid',
716
- description: 'Active stage of the default board; null = entry stage at use time',
717
- },
718
- },
719
- required: ['defaultBoardId'],
720
- };
721
701
  export const AddressRequestSchema = {
722
702
  type: 'object',
723
703
  properties: {
@@ -2308,7 +2288,6 @@ export const TaskDetailResponseSchema = {
2308
2288
  },
2309
2289
  rank: {
2310
2290
  type: 'string',
2311
- description: 'Fractional index within the stage',
2312
2291
  },
2313
2292
  stageEnteredAt: {
2314
2293
  type: 'string',
@@ -2574,9 +2553,6 @@ export const BoardCardsResponseSchema = {
2574
2553
  type: 'string',
2575
2554
  enum: ['OWNER', 'SEEKER'],
2576
2555
  },
2577
- archived: {
2578
- type: 'boolean',
2579
- },
2580
2556
  members: {
2581
2557
  type: 'array',
2582
2558
  items: {
@@ -2590,7 +2566,7 @@ export const BoardCardsResponseSchema = {
2590
2566
  },
2591
2567
  },
2592
2568
  },
2593
- required: ['archived', 'boardId', 'columns', 'members', 'name'],
2569
+ required: ['boardId', 'columns', 'members', 'name'],
2594
2570
  };
2595
2571
  export const ColumnSchema = {
2596
2572
  type: 'object',
@@ -2654,6 +2630,13 @@ export const TaskCardResponseSchema = {
2654
2630
  type: 'string',
2655
2631
  format: 'uuid',
2656
2632
  },
2633
+ stageId: {
2634
+ type: 'string',
2635
+ format: 'uuid',
2636
+ },
2637
+ stageName: {
2638
+ type: 'string',
2639
+ },
2657
2640
  title: {
2658
2641
  type: 'string',
2659
2642
  },
@@ -2723,7 +2706,6 @@ export const TaskCardResponseSchema = {
2723
2706
  },
2724
2707
  rank: {
2725
2708
  type: 'string',
2726
- description: "Fractional index within the stage. Cards arrive in this order; holding every neighbour's key is what lets the client compute a drop target locally and render the reorder before the PATCH returns.",
2727
2709
  },
2728
2710
  stageEnteredAt: {
2729
2711
  type: 'string',
@@ -2748,6 +2730,28 @@ export const TaskCardResponseSchema = {
2748
2730
  type: 'string',
2749
2731
  format: 'date',
2750
2732
  },
2733
+ outcome: {
2734
+ type: 'string',
2735
+ enum: ['WON', 'LOST'],
2736
+ },
2737
+ lostReason: {
2738
+ type: 'string',
2739
+ enum: [
2740
+ 'NOT_WORKING_WITH_AGENTS',
2741
+ 'NOT_RESPONDING',
2742
+ 'ALREADY_SOLD',
2743
+ 'COULD_NOT_NEGOTIATE_PRICE',
2744
+ 'CHOSE_ANOTHER_AGENCY',
2745
+ 'CHANGED_PLANS',
2746
+ 'OUT_OF_BUDGET',
2747
+ 'SPAM',
2748
+ 'OTHER',
2749
+ ],
2750
+ },
2751
+ closedAt: {
2752
+ type: 'string',
2753
+ format: 'date-time',
2754
+ },
2751
2755
  },
2752
2756
  required: [
2753
2757
  'commentCount',
@@ -2760,6 +2764,8 @@ export const TaskCardResponseSchema = {
2760
2764
  'priority',
2761
2765
  'rank',
2762
2766
  'stageEnteredAt',
2767
+ 'stageId',
2768
+ 'stageName',
2763
2769
  'taskId',
2764
2770
  'title',
2765
2771
  'totalTodos',
@@ -2895,105 +2901,6 @@ export const StageCardsResponseSchema = {
2895
2901
  },
2896
2902
  required: ['data', 'members'],
2897
2903
  };
2898
- export const ClosedTaskResponseSchema = {
2899
- type: 'object',
2900
- properties: {
2901
- taskId: {
2902
- type: 'string',
2903
- format: 'uuid',
2904
- },
2905
- title: {
2906
- type: 'string',
2907
- },
2908
- value: {
2909
- type: 'number',
2910
- },
2911
- ownerId: {
2912
- type: 'string',
2913
- format: 'uuid',
2914
- },
2915
- primaryContactId: {
2916
- type: 'integer',
2917
- format: 'int64',
2918
- },
2919
- primaryContact: {
2920
- oneOf: [
2921
- {
2922
- $ref: '#/components/schemas/ContactPersonalDetailsRestricted',
2923
- },
2924
- {
2925
- $ref: '#/components/schemas/ContactPersonalDetailsVisible',
2926
- },
2927
- ],
2928
- },
2929
- contactAssignedTo: {
2930
- type: 'string',
2931
- format: 'uuid',
2932
- },
2933
- outcome: {
2934
- type: 'string',
2935
- enum: ['WON', 'LOST'],
2936
- },
2937
- lostReason: {
2938
- type: 'string',
2939
- enum: [
2940
- 'NOT_WORKING_WITH_AGENTS',
2941
- 'NOT_RESPONDING',
2942
- 'ALREADY_SOLD',
2943
- 'COULD_NOT_NEGOTIATE_PRICE',
2944
- 'CHOSE_ANOTHER_AGENCY',
2945
- 'CHANGED_PLANS',
2946
- 'OUT_OF_BUDGET',
2947
- 'SPAM',
2948
- 'OTHER',
2949
- ],
2950
- },
2951
- closedAt: {
2952
- type: 'string',
2953
- format: 'date-time',
2954
- },
2955
- stageName: {
2956
- type: 'string',
2957
- description: 'Stage the task closed from',
2958
- },
2959
- },
2960
- required: ['closedAt', 'outcome', 'stageName', 'taskId', 'title'],
2961
- };
2962
- export const PageMetadataSchema = {
2963
- type: 'object',
2964
- properties: {
2965
- size: {
2966
- type: 'integer',
2967
- format: 'int64',
2968
- },
2969
- number: {
2970
- type: 'integer',
2971
- format: 'int64',
2972
- },
2973
- totalElements: {
2974
- type: 'integer',
2975
- format: 'int64',
2976
- },
2977
- totalPages: {
2978
- type: 'integer',
2979
- format: 'int64',
2980
- },
2981
- },
2982
- };
2983
- export const PagedModelClosedTaskResponseSchema = {
2984
- type: 'object',
2985
- properties: {
2986
- content: {
2987
- type: 'array',
2988
- items: {
2989
- $ref: '#/components/schemas/ClosedTaskResponse',
2990
- },
2991
- },
2992
- page: {
2993
- $ref: '#/components/schemas/PageMetadata',
2994
- },
2995
- },
2996
- };
2997
2904
  export const BoardWinRateSchema = {
2998
2905
  type: 'object',
2999
2906
  properties: {
@@ -3752,6 +3659,27 @@ export const StatsEnvelopeDemandStatsSchema = {
3752
3659
  },
3753
3660
  required: ['computedAt', 'data', 'period'],
3754
3661
  };
3662
+ export const PageMetadataSchema = {
3663
+ type: 'object',
3664
+ properties: {
3665
+ size: {
3666
+ type: 'integer',
3667
+ format: 'int64',
3668
+ },
3669
+ number: {
3670
+ type: 'integer',
3671
+ format: 'int64',
3672
+ },
3673
+ totalElements: {
3674
+ type: 'integer',
3675
+ format: 'int64',
3676
+ },
3677
+ totalPages: {
3678
+ type: 'integer',
3679
+ format: 'int64',
3680
+ },
3681
+ },
3682
+ };
3755
3683
  export const PagedModelRoleResponseSchema = {
3756
3684
  type: 'object',
3757
3685
  properties: {
@@ -6568,9 +6496,6 @@ export const BoardSummaryResponseSchema = {
6568
6496
  name: {
6569
6497
  type: 'string',
6570
6498
  },
6571
- archived: {
6572
- type: 'boolean',
6573
- },
6574
6499
  stages: {
6575
6500
  type: 'array',
6576
6501
  items: {
@@ -6578,7 +6503,7 @@ export const BoardSummaryResponseSchema = {
6578
6503
  },
6579
6504
  },
6580
6505
  },
6581
- required: ['archived', 'boardId', 'name', 'stages'],
6506
+ required: ['boardId', 'name', 'stages'],
6582
6507
  };
6583
6508
  export const StageSummaryResponseSchema = {
6584
6509
  type: 'object',
@@ -6614,9 +6539,6 @@ export const BoardResponseSchema = {
6614
6539
  name: {
6615
6540
  type: 'string',
6616
6541
  },
6617
- archived: {
6618
- type: 'boolean',
6619
- },
6620
6542
  stages: {
6621
6543
  type: 'array',
6622
6544
  items: {
@@ -6628,7 +6550,7 @@ export const BoardResponseSchema = {
6628
6550
  format: 'date-time',
6629
6551
  },
6630
6552
  },
6631
- required: ['archived', 'boardId', 'createdAt', 'name', 'stages'],
6553
+ required: ['boardId', 'createdAt', 'name', 'stages'],
6632
6554
  };
6633
6555
  export const StageResponseSchema = {
6634
6556
  type: 'object',
@@ -6647,9 +6569,6 @@ export const StageResponseSchema = {
6647
6569
  type: 'integer',
6648
6570
  format: 'int32',
6649
6571
  },
6650
- active: {
6651
- type: 'boolean',
6652
- },
6653
6572
  todoTemplates: {
6654
6573
  type: 'array',
6655
6574
  items: {
@@ -6657,14 +6576,7 @@ export const StageResponseSchema = {
6657
6576
  },
6658
6577
  },
6659
6578
  },
6660
- required: [
6661
- 'active',
6662
- 'color',
6663
- 'name',
6664
- 'position',
6665
- 'stageId',
6666
- 'todoTemplates',
6667
- ],
6579
+ required: ['color', 'name', 'position', 'stageId', 'todoTemplates'],
6668
6580
  };
6669
6581
  export const TodoTemplateResponseSchema = {
6670
6582
  type: 'object',
@@ -6683,19 +6595,6 @@ export const TodoTemplateResponseSchema = {
6683
6595
  },
6684
6596
  required: ['position', 'templateId', 'title'],
6685
6597
  };
6686
- export const TaskSettingsResponseSchema = {
6687
- type: 'object',
6688
- properties: {
6689
- defaultBoardId: {
6690
- type: 'string',
6691
- format: 'uuid',
6692
- },
6693
- defaultStageId: {
6694
- type: 'string',
6695
- format: 'uuid',
6696
- },
6697
- },
6698
- };
6699
6598
  export const AddressViewResponseSchema = {
6700
6599
  type: 'object',
6701
6600
  properties: {