@kl1/contracts 1.3.99 → 1.4.0
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/api-contracts/src/contact/index.d.ts +1 -1
- package/dist/api-contracts/src/contract.d.ts +1 -1
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -3818,7 +3818,7 @@ var contactContract = initContract11().router(
|
|
3818
3818
|
{
|
3819
3819
|
create: {
|
3820
3820
|
method: "POST",
|
3821
|
-
path: "",
|
3821
|
+
path: "cs/contact",
|
3822
3822
|
body: ContactContractValidationSchema.create.request,
|
3823
3823
|
responses: {
|
3824
3824
|
201: DefaultSuccessResponseSchema.extend({
|
@@ -3841,7 +3841,7 @@ var contactContract = initContract11().router(
|
|
3841
3841
|
},
|
3842
3842
|
getAll: {
|
3843
3843
|
method: "GET",
|
3844
|
-
path: "",
|
3844
|
+
path: "ccs/api/v1/contact",
|
3845
3845
|
query: ContactContractValidationSchema.getAll.request,
|
3846
3846
|
responses: {
|
3847
3847
|
200: DefaultSuccessResponseSchema.extend(
|
@@ -3864,7 +3864,7 @@ var contactContract = initContract11().router(
|
|
3864
3864
|
},
|
3865
3865
|
filterContacts: {
|
3866
3866
|
method: "GET",
|
3867
|
-
path: "/filter/list",
|
3867
|
+
path: "cs/contact/filter/list",
|
3868
3868
|
query: ContactContractValidationSchema.filterContacts.request,
|
3869
3869
|
responses: {
|
3870
3870
|
200: DefaultSuccessResponseSchema.extend(
|
@@ -3887,7 +3887,7 @@ var contactContract = initContract11().router(
|
|
3887
3887
|
},
|
3888
3888
|
update: {
|
3889
3889
|
method: "PATCH",
|
3890
|
-
path: "/:id",
|
3890
|
+
path: "cs/contact/:id",
|
3891
3891
|
pathParams: ContactContractValidationSchema.getById.request,
|
3892
3892
|
responses: {
|
3893
3893
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -3911,7 +3911,7 @@ var contactContract = initContract11().router(
|
|
3911
3911
|
},
|
3912
3912
|
delete: {
|
3913
3913
|
method: "DELETE",
|
3914
|
-
path: "/:id",
|
3914
|
+
path: "cs/contact/:id",
|
3915
3915
|
pathParams: ContactContractValidationSchema.delete.request,
|
3916
3916
|
responses: {
|
3917
3917
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -3935,7 +3935,7 @@ var contactContract = initContract11().router(
|
|
3935
3935
|
},
|
3936
3936
|
createContactByPhone: {
|
3937
3937
|
method: "POST",
|
3938
|
-
path: "/phone",
|
3938
|
+
path: "cs/contact/phone",
|
3939
3939
|
responses: {
|
3940
3940
|
201: DefaultSuccessResponseSchema.extend({
|
3941
3941
|
data: ContactContractValidationSchema.createContactByPhone.response
|
@@ -3958,7 +3958,7 @@ var contactContract = initContract11().router(
|
|
3958
3958
|
},
|
3959
3959
|
createContactPlatform: {
|
3960
3960
|
method: "POST",
|
3961
|
-
path: "/platform-contact",
|
3961
|
+
path: "cs/contact/platform-contact",
|
3962
3962
|
responses: {
|
3963
3963
|
200: DefaultSuccessResponseSchema.extend({
|
3964
3964
|
data: ContactContractValidationSchema.createContactPlatform.response
|
@@ -3984,7 +3984,7 @@ var contactContract = initContract11().router(
|
|
3984
3984
|
},
|
3985
3985
|
updateFromOngoingCall: {
|
3986
3986
|
method: "PATCH",
|
3987
|
-
path: "/:id/ongoing",
|
3987
|
+
path: "cs/contact/:id/ongoing",
|
3988
3988
|
responses: {
|
3989
3989
|
201: DefaultSuccessResponseSchema.extend({
|
3990
3990
|
data: ContactContractValidationSchema.updateFromOngoingCall.response
|
@@ -4007,7 +4007,7 @@ var contactContract = initContract11().router(
|
|
4007
4007
|
},
|
4008
4008
|
merge: {
|
4009
4009
|
method: "POST",
|
4010
|
-
path: "/merge",
|
4010
|
+
path: "cs/contact/merge",
|
4011
4011
|
responses: {
|
4012
4012
|
200: DefaultSuccessResponseSchema.extend({
|
4013
4013
|
data: ContactContractValidationSchema.merge.response
|
@@ -4030,7 +4030,7 @@ var contactContract = initContract11().router(
|
|
4030
4030
|
},
|
4031
4031
|
checkContactPhone: {
|
4032
4032
|
method: "POST",
|
4033
|
-
path: "/check/phone",
|
4033
|
+
path: "cs/contact/check/phone",
|
4034
4034
|
responses: {
|
4035
4035
|
200: DefaultSuccessResponseSchema.extend({
|
4036
4036
|
existed: ContactContractValidationSchema.checkContactPhone.response
|
@@ -4053,7 +4053,7 @@ var contactContract = initContract11().router(
|
|
4053
4053
|
},
|
4054
4054
|
checkContactEmail: {
|
4055
4055
|
method: "POST",
|
4056
|
-
path: "/check/email",
|
4056
|
+
path: "cs/contact/check/email",
|
4057
4057
|
responses: {
|
4058
4058
|
200: DefaultSuccessResponseSchema.extend({
|
4059
4059
|
existed: ContactContractValidationSchema.checkContactEmail.response
|
@@ -4076,7 +4076,7 @@ var contactContract = initContract11().router(
|
|
4076
4076
|
},
|
4077
4077
|
createContactAttachmentRecords: {
|
4078
4078
|
method: "POST",
|
4079
|
-
path: "/attachments",
|
4079
|
+
path: "cs/contact/attachments",
|
4080
4080
|
body: ContactContractValidationSchema.addAttachments.request,
|
4081
4081
|
responses: {
|
4082
4082
|
201: DefaultSuccessResponseSchema.extend({
|
@@ -4099,7 +4099,7 @@ var contactContract = initContract11().router(
|
|
4099
4099
|
},
|
4100
4100
|
getById: {
|
4101
4101
|
method: "GET",
|
4102
|
-
path: "/:id",
|
4102
|
+
path: "cs/contact/:id",
|
4103
4103
|
pathParams: ContactContractValidationSchema.getById.request,
|
4104
4104
|
responses: {
|
4105
4105
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -4122,7 +4122,7 @@ var contactContract = initContract11().router(
|
|
4122
4122
|
},
|
4123
4123
|
getExportContacts: {
|
4124
4124
|
method: "GET",
|
4125
|
-
path: "/export",
|
4125
|
+
path: "cs/contact/export",
|
4126
4126
|
query: ContactContractValidationSchema.getAll.request.extend({
|
4127
4127
|
fileExtension: ExportFileExtensionSchema
|
4128
4128
|
}),
|
@@ -4137,8 +4137,8 @@ var contactContract = initContract11().router(
|
|
4137
4137
|
}
|
4138
4138
|
},
|
4139
4139
|
{
|
4140
|
-
baseHeaders: DefaultHeaderSchema
|
4141
|
-
pathPrefix:
|
4140
|
+
baseHeaders: DefaultHeaderSchema
|
4141
|
+
// pathPrefix: 'cs/contact',
|
4142
4142
|
}
|
4143
4143
|
);
|
4144
4144
|
|