@wisemen/wise-crm-web 0.2.5 → 1.0.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/BusinessDetailSidebarProvider-Dm6Dd7Nq.js +2899 -0
- package/dist/{BusinessDetailView-BZpocob4.js → BusinessDetailView-BHVUfCpV.js} +5 -5
- package/dist/{CrmDetailHeaderCard-Jo2OteBb.js → CrmDetailHeaderCard-CiVLyIuw.js} +39 -39
- package/dist/{CrmDetailView-DKHX-JEl.js → CrmDetailView-DaAuWeiB.js} +14 -14
- package/dist/{DealCommunicationTabView-ClflVxHJ.js → DealCommunicationTabView-xq_zOAsr.js} +2 -2
- package/dist/{DealDetailView-ChAFvBBK.js → DealDetailView-C54XpYN1.js} +124 -124
- package/dist/{DealExternalAttachment-ClwtFzpQ.js → DealExternalAttachment-Dp44vkgt.js} +1 -1
- package/dist/{DealSendMailDialog-SWWyaxq8.js → DealSendMailDialog-D11Tgd_A.js} +50 -50
- package/dist/{Error-CX6APxDX.js → Error-X0deDY-N.js} +510 -8
- package/dist/{IndividualDetailSidebarProvider-BJgxw1Jd.js → IndividualDetailSidebarProvider-BvjhFng9.js} +218 -218
- package/dist/{IndividualDetailView-CvGUCWPY.js → IndividualDetailView-Cq8iAwQv.js} +5 -5
- package/dist/{client-CpsHjr8V.js → client-S6BLV3Ct.js} +7 -12
- package/dist/composables/crmConfig.composable.d.ts +1 -0
- package/dist/index.js +375 -375
- package/dist/kbo-client/client/client.gen.d.ts +2 -0
- package/dist/kbo-client/client/index.d.ts +8 -0
- package/dist/kbo-client/client/types.gen.d.ts +117 -0
- package/dist/kbo-client/client/utils.gen.d.ts +33 -0
- package/dist/kbo-client/client.gen.d.ts +12 -0
- package/dist/kbo-client/core/auth.gen.d.ts +18 -0
- package/dist/kbo-client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/kbo-client/core/params.gen.d.ts +43 -0
- package/dist/kbo-client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/kbo-client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/kbo-client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/kbo-client/core/types.gen.d.ts +78 -0
- package/dist/kbo-client/core/utils.gen.d.ts +19 -0
- package/dist/kbo-client/index.d.ts +2 -0
- package/dist/kbo-client/sdk.gen.d.ts +72 -0
- package/dist/kbo-client/types.gen.d.ts +2089 -0
- package/dist/kbo-client/zod.gen.d.ts +5943 -0
- package/dist/libs/http.lib.d.ts +3 -1
- package/dist/libs/kboBaseUrl.lib.d.ts +1 -0
- package/dist/models/cbe/search/cbeEnterpriseSearchDto.model.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +2 -1
- package/dist/BusinessDetailSidebarProvider-CXG99iHk.js +0 -2077
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./Error-
|
|
2
|
-
import "./CrmDetailHeaderCard-
|
|
1
|
+
import "./Error-X0deDY-N.js";
|
|
2
|
+
import "./CrmDetailHeaderCard-CiVLyIuw.js";
|
|
3
3
|
import "./AppSkeletonLoader-BAhoOmFD.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as IndividualDetailSidebarProvider_default } from "./IndividualDetailSidebarProvider-
|
|
6
|
-
import { t as CrmDetailView_default } from "./CrmDetailView-
|
|
4
|
+
import { mt as EntityType } from "./client-S6BLV3Ct.js";
|
|
5
|
+
import { t as IndividualDetailSidebarProvider_default } from "./IndividualDetailSidebarProvider-BvjhFng9.js";
|
|
6
|
+
import { t as CrmDetailView_default } from "./CrmDetailView-DaAuWeiB.js";
|
|
7
7
|
import { createBlock, createVNode, defineComponent, openBlock, unref, withCtx } from "vue";
|
|
8
8
|
import { useRouteParams } from "@vueuse/router";
|
|
9
9
|
var IndividualDetailView_default = /* @__PURE__ */ defineComponent({
|
|
@@ -2149,10 +2149,12 @@ const zViewIndividualBillingInformationDetailResponse = z.object({
|
|
|
2149
2149
|
email: z.union([z.string(), z.null()]),
|
|
2150
2150
|
website: z.union([z.string(), z.null()]),
|
|
2151
2151
|
address: z.union([zAddressResponse, z.null()])
|
|
2152
|
-
})
|
|
2152
|
+
});
|
|
2153
|
+
z.object({
|
|
2153
2154
|
items: z.array(zSearchCbeEnterprisesView),
|
|
2154
2155
|
meta: zPaginatedOffsetResponseMeta
|
|
2155
|
-
})
|
|
2156
|
+
});
|
|
2157
|
+
const zSearchCbeEstablishmentsFilterQuery = z.object({ enterpriseNumber: z.optional(z.string()) }), zSearchCbeEstablishmentsView = z.object({
|
|
2156
2158
|
establishmentNumber: z.string(),
|
|
2157
2159
|
enterpriseNumber: z.string(),
|
|
2158
2160
|
startDate: z.union([z.string(), z.null()]),
|
|
@@ -3164,16 +3166,14 @@ z.object({
|
|
|
3164
3166
|
body: zImportCbeCodesCommand,
|
|
3165
3167
|
path: z.optional(z.never()),
|
|
3166
3168
|
query: z.optional(z.never())
|
|
3167
|
-
})
|
|
3168
|
-
const zSearchCbeEnterprisesV1Data = z.object({
|
|
3169
|
+
}), z.object({
|
|
3169
3170
|
body: z.optional(z.never()),
|
|
3170
3171
|
path: z.optional(z.never()),
|
|
3171
3172
|
query: z.object({
|
|
3172
3173
|
pagination: z.optional(zPaginatedOffsetQuery),
|
|
3173
3174
|
search: z.string()
|
|
3174
3175
|
})
|
|
3175
|
-
}),
|
|
3176
|
-
z.object({
|
|
3176
|
+
}), z.object({
|
|
3177
3177
|
body: zImportCbeEnterprisesCommand,
|
|
3178
3178
|
path: z.optional(z.never()),
|
|
3179
3179
|
query: z.optional(z.never())
|
|
@@ -4057,11 +4057,6 @@ const createConfig = (u = {}) => ({
|
|
|
4057
4057
|
"Content-Type": "application/json",
|
|
4058
4058
|
...u.headers
|
|
4059
4059
|
}
|
|
4060
|
-
}), searchCbeEnterprisesV1 = (u) => (u.client ?? client).get({
|
|
4061
|
-
requestValidator: async (u) => await zSearchCbeEnterprisesV1Data.parseAsync(u),
|
|
4062
|
-
responseValidator: async (u) => await zSearchCbeEnterprisesV1Response.parseAsync(u),
|
|
4063
|
-
url: "/api/v1/cbe/enterprises",
|
|
4064
|
-
...u
|
|
4065
4060
|
}), listBoardColumnsV1 = (u) => (u?.client ?? client).get({
|
|
4066
4061
|
requestValidator: async (u) => await zListBoardColumnsV1Data.parseAsync(u),
|
|
4067
4062
|
responseValidator: async (u) => await zListBoardColumnsV1Response.parseAsync(u),
|
|
@@ -4193,4 +4188,4 @@ const createConfig = (u = {}) => ({
|
|
|
4193
4188
|
...u.headers
|
|
4194
4189
|
}
|
|
4195
4190
|
});
|
|
4196
|
-
export {
|
|
4191
|
+
export { viewMailIndexV1 as $, updateMailTemplateV1 as A, viewBusinessStatisticsV1 as B, unlinkContactPersonFromIndividualV1 as C, updateDealV1 as D, updateDealContactPersonV1 as E, viewBusinessBillingInformationDetailV1 as F, viewDealNotesIndexV1 as G, viewDealContactPersonDetailV1 as H, viewBusinessContactPersonDetailV1 as I, viewIndividualContactPersonDetailV1 as J, viewIndividualActivityLogIndexV1 as K, viewBusinessDetailV1 as L, upsertBusinessBillingInformationV1 as M, upsertIndividualBillingInformationV1 as N, updateIndividualContactPersonV1 as O, viewBusinessActivityLogIndexV1 as P, viewIndividualStatisticsV1 as Q, viewBusinessIndexV1 as R, unlinkContactPersonFromDealV1 as S, updateBusinessV1 as T, viewDealDetailV1 as U, viewCustomFieldDefinitionIndexV1 as V, viewDealIndexV1 as W, viewIndividualIndexV1 as X, viewIndividualDetailV1 as Y, viewIndividualNotesIndexV1 as Z, makeDealContactPersonPrimaryV1 as _, MimeType as _t, createIndividualV1 as a, viewUserIndexV1 as at, transitionDealColumnV1 as b, createUserIndividualGrantV1 as c, BoardColumnTransitionTriggerType as ct, linkContactPersonToBusinessV1 as d, CountryCode as dt, viewMailTemplateDetailByKeyV1 as et, linkContactPersonToDealV1 as f, DealSource as ft, makeBusinessContactPersonPrimaryV1 as g, Locale as gt, listBoardColumnsV1 as h, GlobalSearchCollectionName as ht, createFileV1 as i, viewTenantConfigDetailV1 as it, updateNoteV1 as j, updateIndividualV1 as k, deleteNoteV1 as l, ClientStatus as lt, listBoardColumnTransitionsV1 as m, EntityType as mt, createBusinessV1 as n, viewMailTemplateIndexV1 as nt, createMailV1 as o, client as ot, linkContactPersonToIndividualV1 as p, EntityColor as pt, viewIndividualBillingInformationDetailV1 as q, createDealV1 as r, viewRecentEntitiesV1 as rt, createNoteV1 as s, BillingInformationRequirement as st, confirmFileUploadV2 as t, viewMailTemplateDetailV1 as tt, linkBusinessAsChildV1 as u, ClientType as ut, makeIndividualContactPersonPrimaryV1 as v, SdkContentLocale as vt, updateBusinessContactPersonV1 as w, unlinkContactPersonFromBusinessV1 as x, searchCollectionsV1 as y, viewBusinessNotesIndexV1 as z };
|
|
@@ -4,6 +4,7 @@ import type { CustomFieldDefinitionIndex } from '@/models/custom-field-definitio
|
|
|
4
4
|
import type { TenantConfig } from '@/models/tenant-config/tenantConfig.model.ts';
|
|
5
5
|
interface InitProps {
|
|
6
6
|
apiCrmBaseUrl: string;
|
|
7
|
+
environment: string;
|
|
7
8
|
getAccessToken: () => Promise<string>;
|
|
8
9
|
googleMapsApiKey: string;
|
|
9
10
|
locale: Locale;
|