@homespot-sdk/core 0.0.356 → 0.0.358
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 +12 -49
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +20 -46
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +1 -4
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +0 -27
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +9 -66
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +46 -67
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +17 -48
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -729,28 +729,6 @@ export const AddressRequestSchema = {
|
|
|
729
729
|
},
|
|
730
730
|
required: ['city', 'country', 'district', 'street', 'subdistrict'],
|
|
731
731
|
};
|
|
732
|
-
export const AmendAgencyDetailsRequestSchema = {
|
|
733
|
-
type: 'object',
|
|
734
|
-
properties: {
|
|
735
|
-
name: {
|
|
736
|
-
type: 'string',
|
|
737
|
-
},
|
|
738
|
-
email: {
|
|
739
|
-
type: 'string',
|
|
740
|
-
format: 'email',
|
|
741
|
-
},
|
|
742
|
-
subdomain: {
|
|
743
|
-
type: 'string',
|
|
744
|
-
},
|
|
745
|
-
phone: {
|
|
746
|
-
type: 'string',
|
|
747
|
-
},
|
|
748
|
-
address: {
|
|
749
|
-
$ref: '#/components/schemas/AddressRequest',
|
|
750
|
-
},
|
|
751
|
-
},
|
|
752
|
-
required: ['address', 'email', 'name', 'phone', 'subdomain'],
|
|
753
|
-
};
|
|
754
732
|
export const UpdateAgencyInfoRequestSchema = {
|
|
755
733
|
type: 'object',
|
|
756
734
|
properties: {
|
|
@@ -842,28 +820,6 @@ export const UploadAcknowledgmentResponseSchema = {
|
|
|
842
820
|
},
|
|
843
821
|
required: ['fail', 'success'],
|
|
844
822
|
};
|
|
845
|
-
export const TransferFundsRequestSchema = {
|
|
846
|
-
type: 'object',
|
|
847
|
-
properties: {
|
|
848
|
-
transferTo: {
|
|
849
|
-
type: 'string',
|
|
850
|
-
format: 'uuid',
|
|
851
|
-
},
|
|
852
|
-
amount: {
|
|
853
|
-
type: 'number',
|
|
854
|
-
},
|
|
855
|
-
},
|
|
856
|
-
required: ['amount', 'transferTo'],
|
|
857
|
-
};
|
|
858
|
-
export const DepositFundsRequestSchema = {
|
|
859
|
-
type: 'object',
|
|
860
|
-
properties: {
|
|
861
|
-
amount: {
|
|
862
|
-
type: 'number',
|
|
863
|
-
},
|
|
864
|
-
},
|
|
865
|
-
required: ['amount'],
|
|
866
|
-
};
|
|
867
823
|
export const ConnectLinkResponseSchema = {
|
|
868
824
|
type: 'object',
|
|
869
825
|
properties: {
|
|
@@ -977,16 +933,20 @@ export const SubscribeRequestSchema = {
|
|
|
977
933
|
},
|
|
978
934
|
name: {
|
|
979
935
|
type: 'string',
|
|
936
|
+
minLength: 1,
|
|
980
937
|
},
|
|
981
938
|
email: {
|
|
982
939
|
type: 'string',
|
|
983
940
|
format: 'email',
|
|
941
|
+
minLength: 1,
|
|
984
942
|
},
|
|
985
943
|
phone: {
|
|
986
944
|
type: 'string',
|
|
945
|
+
minLength: 1,
|
|
987
946
|
},
|
|
988
947
|
subdomain: {
|
|
989
948
|
type: 'string',
|
|
949
|
+
minLength: 1,
|
|
990
950
|
},
|
|
991
951
|
address: {
|
|
992
952
|
$ref: '#/components/schemas/SubscriptionAddressRequest',
|
|
@@ -1038,6 +998,7 @@ export const SubscriptionCheckoutResponseSchema = {
|
|
|
1038
998
|
properties: {
|
|
1039
999
|
checkoutUrl: {
|
|
1040
1000
|
type: 'string',
|
|
1001
|
+
description: 'Null when payment is already confirmed; continue onboarding without paying again',
|
|
1041
1002
|
},
|
|
1042
1003
|
agencyId: {
|
|
1043
1004
|
type: 'string',
|
|
@@ -1047,6 +1008,18 @@ export const SubscriptionCheckoutResponseSchema = {
|
|
|
1047
1008
|
type: 'string',
|
|
1048
1009
|
format: 'uuid',
|
|
1049
1010
|
},
|
|
1011
|
+
status: {
|
|
1012
|
+
type: 'string',
|
|
1013
|
+
enum: [
|
|
1014
|
+
'PENDING',
|
|
1015
|
+
'TRIALING',
|
|
1016
|
+
'ACTIVE',
|
|
1017
|
+
'PAST_DUE',
|
|
1018
|
+
'CANCELLED',
|
|
1019
|
+
'EXPIRED',
|
|
1020
|
+
'SUPERSEDED',
|
|
1021
|
+
],
|
|
1022
|
+
},
|
|
1050
1023
|
},
|
|
1051
1024
|
};
|
|
1052
1025
|
export const ChangePlanRequestSchema = {
|
|
@@ -1068,12 +1041,10 @@ export const CheckoutRequestSchema = {
|
|
|
1068
1041
|
properties: {
|
|
1069
1042
|
plan: {
|
|
1070
1043
|
type: 'string',
|
|
1071
|
-
description: 'Required only when starting a new subscription',
|
|
1072
1044
|
enum: ['STARTER', 'PRO', 'ENTERPRISE'],
|
|
1073
1045
|
},
|
|
1074
1046
|
billingCycle: {
|
|
1075
1047
|
type: 'string',
|
|
1076
|
-
description: 'Required only when starting a new subscription',
|
|
1077
1048
|
enum: ['MONTHLY', 'ANNUAL'],
|
|
1078
1049
|
},
|
|
1079
1050
|
},
|
|
@@ -3056,6 +3027,7 @@ export const SubscriptionResponseSchema = {
|
|
|
3056
3027
|
'PAST_DUE',
|
|
3057
3028
|
'CANCELLED',
|
|
3058
3029
|
'EXPIRED',
|
|
3030
|
+
'SUPERSEDED',
|
|
3059
3031
|
],
|
|
3060
3032
|
},
|
|
3061
3033
|
live: {
|
|
@@ -3147,6 +3119,7 @@ export const PaymentResponseSchema = {
|
|
|
3147
3119
|
'TRIAL_STARTED',
|
|
3148
3120
|
'DUPLICATE',
|
|
3149
3121
|
'NOT_APPLIED_CANCELLED',
|
|
3122
|
+
'NOT_APPLIED_SUPERSEDED',
|
|
3150
3123
|
'REJECTED_AMOUNT',
|
|
3151
3124
|
'REJECTED_CURRENCY',
|
|
3152
3125
|
'IGNORED_TRANSACTION_TYPE',
|
|
@@ -4875,6 +4848,7 @@ export const SubscriptionEndingSchema = {
|
|
|
4875
4848
|
'PAST_DUE',
|
|
4876
4849
|
'CANCELLED',
|
|
4877
4850
|
'EXPIRED',
|
|
4851
|
+
'SUPERSEDED',
|
|
4878
4852
|
],
|
|
4879
4853
|
},
|
|
4880
4854
|
endsAt: {
|