@homespot-sdk/core 0.0.347 → 0.0.348
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/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +166 -0
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +183 -0
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +3 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +13 -1
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +3 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +30 -18
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +99 -18
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +293 -71
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +145 -23
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -2915,6 +2915,7 @@ export const BucketSchema = {
|
|
|
2915
2915
|
type: 'number',
|
|
2916
2916
|
},
|
|
2917
2917
|
},
|
|
2918
|
+
required: ['commission', 'count', 'value'],
|
|
2918
2919
|
};
|
|
2919
2920
|
export const PipelineCommissionResponseSchema = {
|
|
2920
2921
|
type: 'object',
|
|
@@ -2940,6 +2941,186 @@ export const PipelineCommissionResponseSchema = {
|
|
|
2940
2941
|
$ref: '#/components/schemas/Bucket',
|
|
2941
2942
|
},
|
|
2942
2943
|
},
|
|
2944
|
+
required: ['from', 'lost', 'pending', 'to', 'total', 'won'],
|
|
2945
|
+
};
|
|
2946
|
+
export const BoardStatsResponseSchema = {
|
|
2947
|
+
type: 'object',
|
|
2948
|
+
properties: {
|
|
2949
|
+
boardId: {
|
|
2950
|
+
type: 'string',
|
|
2951
|
+
format: 'uuid',
|
|
2952
|
+
},
|
|
2953
|
+
boardName: {
|
|
2954
|
+
type: 'string',
|
|
2955
|
+
},
|
|
2956
|
+
from: {
|
|
2957
|
+
type: 'string',
|
|
2958
|
+
format: 'date',
|
|
2959
|
+
},
|
|
2960
|
+
to: {
|
|
2961
|
+
type: 'string',
|
|
2962
|
+
format: 'date',
|
|
2963
|
+
},
|
|
2964
|
+
granularity: {
|
|
2965
|
+
type: 'string',
|
|
2966
|
+
enum: ['DAY', 'WEEK', 'MONTH'],
|
|
2967
|
+
},
|
|
2968
|
+
buckets: {
|
|
2969
|
+
type: 'array',
|
|
2970
|
+
items: {
|
|
2971
|
+
type: 'string',
|
|
2972
|
+
format: 'date',
|
|
2973
|
+
},
|
|
2974
|
+
},
|
|
2975
|
+
outcomes: {
|
|
2976
|
+
$ref: '#/components/schemas/Outcomes',
|
|
2977
|
+
},
|
|
2978
|
+
stages: {
|
|
2979
|
+
type: 'array',
|
|
2980
|
+
items: {
|
|
2981
|
+
$ref: '#/components/schemas/StageStats',
|
|
2982
|
+
},
|
|
2983
|
+
},
|
|
2984
|
+
},
|
|
2985
|
+
required: [
|
|
2986
|
+
'boardId',
|
|
2987
|
+
'boardName',
|
|
2988
|
+
'buckets',
|
|
2989
|
+
'from',
|
|
2990
|
+
'granularity',
|
|
2991
|
+
'outcomes',
|
|
2992
|
+
'stages',
|
|
2993
|
+
'to',
|
|
2994
|
+
],
|
|
2995
|
+
};
|
|
2996
|
+
export const OutcomeBucketSchema = {
|
|
2997
|
+
type: 'object',
|
|
2998
|
+
properties: {
|
|
2999
|
+
count: {
|
|
3000
|
+
type: 'integer',
|
|
3001
|
+
format: 'int64',
|
|
3002
|
+
},
|
|
3003
|
+
share: {
|
|
3004
|
+
type: 'number',
|
|
3005
|
+
format: 'double',
|
|
3006
|
+
},
|
|
3007
|
+
value: {
|
|
3008
|
+
type: 'number',
|
|
3009
|
+
},
|
|
3010
|
+
commission: {
|
|
3011
|
+
type: 'number',
|
|
3012
|
+
},
|
|
3013
|
+
spark: {
|
|
3014
|
+
type: 'array',
|
|
3015
|
+
items: {
|
|
3016
|
+
type: 'integer',
|
|
3017
|
+
format: 'int64',
|
|
3018
|
+
},
|
|
3019
|
+
},
|
|
3020
|
+
},
|
|
3021
|
+
required: ['commission', 'count', 'share', 'spark', 'value'],
|
|
3022
|
+
};
|
|
3023
|
+
export const OutcomesSchema = {
|
|
3024
|
+
type: 'object',
|
|
3025
|
+
properties: {
|
|
3026
|
+
won: {
|
|
3027
|
+
$ref: '#/components/schemas/OutcomeBucket',
|
|
3028
|
+
},
|
|
3029
|
+
lost: {
|
|
3030
|
+
$ref: '#/components/schemas/OutcomeBucket',
|
|
3031
|
+
},
|
|
3032
|
+
pending: {
|
|
3033
|
+
$ref: '#/components/schemas/OutcomeBucket',
|
|
3034
|
+
},
|
|
3035
|
+
total: {
|
|
3036
|
+
$ref: '#/components/schemas/OutcomeBucket',
|
|
3037
|
+
},
|
|
3038
|
+
},
|
|
3039
|
+
required: ['lost', 'pending', 'total', 'won'],
|
|
3040
|
+
};
|
|
3041
|
+
export const StageStatsSchema = {
|
|
3042
|
+
type: 'object',
|
|
3043
|
+
properties: {
|
|
3044
|
+
stageId: {
|
|
3045
|
+
type: 'string',
|
|
3046
|
+
format: 'uuid',
|
|
3047
|
+
},
|
|
3048
|
+
name: {
|
|
3049
|
+
type: 'string',
|
|
3050
|
+
},
|
|
3051
|
+
color: {
|
|
3052
|
+
type: 'string',
|
|
3053
|
+
},
|
|
3054
|
+
position: {
|
|
3055
|
+
type: 'integer',
|
|
3056
|
+
format: 'int32',
|
|
3057
|
+
},
|
|
3058
|
+
openCount: {
|
|
3059
|
+
type: 'integer',
|
|
3060
|
+
format: 'int64',
|
|
3061
|
+
},
|
|
3062
|
+
value: {
|
|
3063
|
+
type: 'number',
|
|
3064
|
+
},
|
|
3065
|
+
commission: {
|
|
3066
|
+
type: 'number',
|
|
3067
|
+
},
|
|
3068
|
+
avgAgeSeconds: {
|
|
3069
|
+
type: 'integer',
|
|
3070
|
+
format: 'int64',
|
|
3071
|
+
},
|
|
3072
|
+
},
|
|
3073
|
+
required: [
|
|
3074
|
+
'color',
|
|
3075
|
+
'commission',
|
|
3076
|
+
'name',
|
|
3077
|
+
'openCount',
|
|
3078
|
+
'position',
|
|
3079
|
+
'stageId',
|
|
3080
|
+
'value',
|
|
3081
|
+
],
|
|
3082
|
+
};
|
|
3083
|
+
export const ContactSegmentsResponseSchema = {
|
|
3084
|
+
type: 'object',
|
|
3085
|
+
properties: {
|
|
3086
|
+
from: {
|
|
3087
|
+
type: 'string',
|
|
3088
|
+
format: 'date',
|
|
3089
|
+
},
|
|
3090
|
+
to: {
|
|
3091
|
+
type: 'string',
|
|
3092
|
+
format: 'date',
|
|
3093
|
+
},
|
|
3094
|
+
segments: {
|
|
3095
|
+
type: 'array',
|
|
3096
|
+
items: {
|
|
3097
|
+
$ref: '#/components/schemas/Segment',
|
|
3098
|
+
},
|
|
3099
|
+
},
|
|
3100
|
+
total: {
|
|
3101
|
+
type: 'integer',
|
|
3102
|
+
format: 'int64',
|
|
3103
|
+
},
|
|
3104
|
+
},
|
|
3105
|
+
required: ['from', 'segments', 'to', 'total'],
|
|
3106
|
+
};
|
|
3107
|
+
export const SegmentSchema = {
|
|
3108
|
+
type: 'object',
|
|
3109
|
+
properties: {
|
|
3110
|
+
kind: {
|
|
3111
|
+
type: 'string',
|
|
3112
|
+
enum: ['LISTER_ONLY', 'SEEKER_ONLY', 'BOTH', 'NEITHER'],
|
|
3113
|
+
},
|
|
3114
|
+
count: {
|
|
3115
|
+
type: 'integer',
|
|
3116
|
+
format: 'int64',
|
|
3117
|
+
},
|
|
3118
|
+
share: {
|
|
3119
|
+
type: 'number',
|
|
3120
|
+
format: 'double',
|
|
3121
|
+
},
|
|
3122
|
+
},
|
|
3123
|
+
required: ['count', 'kind', 'share'],
|
|
2943
3124
|
};
|
|
2944
3125
|
export const ChannelSeriesSchema = {
|
|
2945
3126
|
type: 'object',
|
|
@@ -2969,6 +3150,7 @@ export const ChannelSeriesSchema = {
|
|
|
2969
3150
|
format: 'int64',
|
|
2970
3151
|
},
|
|
2971
3152
|
},
|
|
3153
|
+
required: ['channel', 'points', 'total'],
|
|
2972
3154
|
};
|
|
2973
3155
|
export const ContactAcquisitionResponseSchema = {
|
|
2974
3156
|
type: 'object',
|
|
@@ -3003,6 +3185,7 @@ export const ContactAcquisitionResponseSchema = {
|
|
|
3003
3185
|
format: 'int64',
|
|
3004
3186
|
},
|
|
3005
3187
|
},
|
|
3188
|
+
required: ['buckets', 'from', 'granularity', 'series', 'to', 'total'],
|
|
3006
3189
|
};
|
|
3007
3190
|
export const PageMetadataSchema = {
|
|
3008
3191
|
type: 'object',
|