@wisemen/wise-crm 0.0.28 → 0.0.30

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 (25) hide show
  1. package/dist/clients/wise-crm-service-user-client/wise-crm-service-user.client.d.ts +4 -1
  2. package/dist/clients/wise-crm-service-user-client/wise-crm-service-user.client.js +11 -0
  3. package/dist/clients/wise-crm-service-user-client/wise-crm-service-user.client.js.map +1 -1
  4. package/dist/types/business/index.d.ts +2 -0
  5. package/dist/types/business/index.js +2 -0
  6. package/dist/types/business/index.js.map +1 -1
  7. package/dist/types/business/link-business-contact-person.command.d.ts +7 -0
  8. package/dist/types/business/link-business-contact-person.command.js +2 -0
  9. package/dist/types/business/link-business-contact-person.command.js.map +1 -0
  10. package/dist/types/business/link-business-contact-person.response.d.ts +4 -0
  11. package/dist/types/business/link-business-contact-person.response.js +2 -0
  12. package/dist/types/business/link-business-contact-person.response.js.map +1 -0
  13. package/dist/types/individual/index.d.ts +2 -0
  14. package/dist/types/individual/index.js +2 -0
  15. package/dist/types/individual/index.js.map +1 -1
  16. package/dist/types/individual/link-individual-contact-person.command.d.ts +7 -0
  17. package/dist/types/individual/link-individual-contact-person.command.js +2 -0
  18. package/dist/types/individual/link-individual-contact-person.command.js.map +1 -0
  19. package/dist/types/individual/link-individual-contact-person.response.d.ts +4 -0
  20. package/dist/types/individual/link-individual-contact-person.response.js +2 -0
  21. package/dist/types/individual/link-individual-contact-person.response.js.map +1 -0
  22. package/dist/types/tenant/create-tenant.command.d.ts +1 -0
  23. package/dist/types/tenant/create-tenant.command.js +1 -0
  24. package/dist/types/tenant/create-tenant.command.js.map +1 -1
  25. package/package.json +3 -3
@@ -10,7 +10,7 @@ import { DealDetailResponse } from '#lib/types/deal/deal-detail.response.js';
10
10
  import { UpdateBusinessStatusCommand } from '#lib/types/business/update-business-status.command.js';
11
11
  import { ViewIndividualDetailResponse } from '#lib/types/individual/individual-detail.response.js';
12
12
  import { UpdateTenantBrandColorsCommand } from '#lib/types/tenant/update-tenant-brand-colors.command.js';
13
- import { BusinessDetailResponse, CreateBusinessResponse, CreateTenantCommand, UpdateTenantCommand } from '#lib/types/index.js';
13
+ import { BusinessDetailResponse, CreateBusinessResponse, CreateTenantCommand, UpdateTenantCommand, LinkBusinessContactPersonCommand, LinkBusinessContactPersonResponse, LinkIndividualContactPersonCommand, LinkIndividualContactPersonResponse } from '#lib/types/index.js';
14
14
  export interface WiseCrmServiceUserClientOptions {
15
15
  host: string;
16
16
  issuer: string;
@@ -34,6 +34,9 @@ export declare class WiseCrmServiceUserClient {
34
34
  updateTenant(tenantUuid: string, command: UpdateTenantCommand): Promise<void>;
35
35
  updateTenantBrandColors(tenantUuid: string, command: UpdateTenantBrandColorsCommand): Promise<void>;
36
36
  assignUserAsAdmin(tenantUuid: string, command: AssignUserAsAdminCommand): Promise<void>;
37
+ resyncUsersFromZitadel(tenantUuid: string): Promise<void>;
37
38
  transitionDeal(dealUuid: string, key: string): Promise<void>;
38
39
  getDealOrFail(dealUuid: string): Promise<DealDetailResponse>;
40
+ linkBusinessContactPerson(businessUuid: string, command: LinkBusinessContactPersonCommand): Promise<LinkBusinessContactPersonResponse>;
41
+ linkIndividualContactPerson(individualUuid: string, command: LinkIndividualContactPersonCommand): Promise<LinkIndividualContactPersonResponse>;
39
42
  }
@@ -72,6 +72,9 @@ let WiseCrmServiceUserClient = class WiseCrmServiceUserClient {
72
72
  async assignUserAsAdmin(tenantUuid, command) {
73
73
  await this.client.post(`/api/v1/tenants/${tenantUuid}/assign-user-as-admin`, command);
74
74
  }
75
+ async resyncUsersFromZitadel(tenantUuid) {
76
+ await this.client.post(`/api/v1/tenants/${tenantUuid}/resync-users-from-zitadel`);
77
+ }
75
78
  async transitionDeal(dealUuid, key) {
76
79
  await this.client.patch(`/api/v1/deals/${dealUuid}/column`, {
77
80
  boardColumnKey: key
@@ -81,6 +84,14 @@ let WiseCrmServiceUserClient = class WiseCrmServiceUserClient {
81
84
  const res = await this.client.get(`/api/v1/deals/${dealUuid}`);
82
85
  return res.data;
83
86
  }
87
+ async linkBusinessContactPerson(businessUuid, command) {
88
+ const res = await this.client.post(`/api/v1/businesses/${businessUuid}/contact-persons/link`, command);
89
+ return res.data;
90
+ }
91
+ async linkIndividualContactPerson(individualUuid, command) {
92
+ const res = await this.client.post(`/api/v1/individuals/${individualUuid}/contact-persons/link`, command);
93
+ return res.data;
94
+ }
84
95
  };
85
96
  WiseCrmServiceUserClient = __decorate([
86
97
  Injectable(),
@@ -1 +1 @@
1
- {"version":3,"file":"wise-crm-service-user.client.js","sourceRoot":"","sources":["../../../lib/clients/wise-crm-service-user-client/wise-crm-service-user.client.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAuB7C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAClB,OAAO,CAAQ;IACf,UAAU,CAAmB;IAE7B,MAAM,CAAe;IAEtC,YAAa,OAAwC;QACnD,IAAI,CAAC,OAAO,GAAG,GAAG,OAAO,CAAC,IAAI,EAAE,CAAA;QAEhC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;SACF,CAAC,CAAA;QAEF,IAAI,CAAC,UAAU,GAAG,IAAI,iBAAiB,CACrC,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,cAAc,EACtB,OAAO,CAAC,SAAS,CAClB,CAAA;QAED,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;YACrD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA;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M,IAAI,CAAC,MAAM,CAAC,GAAG,CAAqB,iBAAiB,QAAQ,EAAE,CAAC,CAAA;QAClF,OAAO,GAAG,CAAC,IAAI,CAAA;IACjB,CAAC;CACF,CAAA;AAtHY,wBAAwB;IADpC,UAAU,EAAE;;GACA,wBAAwB,CAsHpC"}
1
+ {"version":3,"file":"wise-crm-service-user.client.js","sourceRoot":"","sources":["../../../lib/clients/wise-crm-service-user-client/wise-crm-service-user.client.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAuB7C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAClB,OAAO,CAAQ;IACf,UAAU,CAAmB;IAE7B,MAAM,CAAe;IAEtC,YAAa,OAAwC;QACnD,IAAI,CAAC,OAAO,GAAG,GAAG,OAAO,CAAC,IAAI,EAAE,CAAA;QAEhC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;SACF,CAAC,CAAA;QAEF,IAAI,CAAC,UAAU,GAAG,IAAI,iBAAiB,CACrC,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,cAAc,EACtB,OAAO,CAAC,SAAS,CAClB,CAAA;QAED,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;YACrD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA;YAE9C,OAAO,CAAC,OAAO,CAAC,aAAa,GAAG,UAAU,KAAK,EAAE,CAAA;YAEjD,OAAO,OAAO,CAAA;QAChB,CAAC,CAAC,CAAA;IACJ,CAAC;IAEM,KAA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AAI,CAAC,MAAM,CAAC,GAAG,CAAqB,iBAAiB,QAAQ,EAAE,CAAC,CAAA;QAClF,OAAO,GAAG,CAAC,IAAI,CAAA;IACjB,CAAC;IAEM,KAAK,CAAC,yBAAyB,CACpC,YAAoB,EACpB,OAAyC;QAEzC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAChC,sBAAsB,YAAY,uBAAuB,EACzD,OAAO,CACR,CAAA;QACD,OAAO,GAAG,CAAC,IAAI,CAAA;IACjB,CAAC;IAEM,KAAK,CAAC,2BAA2B,CACtC,cAAsB,EACtB,OAA2C;QAE3C,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAChC,uBAAuB,cAAc,uBAAuB,EAC5D,OAAO,CACR,CAAA;QACD,OAAO,GAAG,CAAC,IAAI,CAAA;IACjB,CAAC;CACF,CAAA;AAhJY,wBAAwB;IADpC,UAAU,EAAE;;GACA,wBAAwB,CAgJpC"}
@@ -6,5 +6,7 @@ export * from './business-index.response.js';
6
6
  export * from './child-parent-business.response.js';
7
7
  export * from './create-business.command.js';
8
8
  export * from './create-business.response.js';
9
+ export * from './link-business-contact-person.command.js';
10
+ export * from './link-business-contact-person.response.js';
9
11
  export * from './update-business.command.js';
10
12
  export * from './update-business-status.command.js';
@@ -6,6 +6,8 @@ export * from './business-index.response.js';
6
6
  export * from './child-parent-business.response.js';
7
7
  export * from './create-business.command.js';
8
8
  export * from './create-business.response.js';
9
+ export * from './link-business-contact-person.command.js';
10
+ export * from './link-business-contact-person.response.js';
9
11
  export * from './update-business.command.js';
10
12
  export * from './update-business-status.command.js';
11
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/types/business/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,uCAAuC,CAAA;AACrD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2BAA2B,CAAA;AACzC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qCAAqC,CAAA;AACnD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qCAAqC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/types/business/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,uCAAuC,CAAA;AACrD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2BAA2B,CAAA;AACzC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qCAAqC,CAAA;AACnD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2CAA2C,CAAA;AACzD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qCAAqC,CAAA"}
@@ -0,0 +1,7 @@
1
+ export interface LinkBusinessContactPersonCommand {
2
+ contactPersonUuid: string;
3
+ position: string | null;
4
+ email: string | null;
5
+ phone: string | null;
6
+ mobilePhone: string | null;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=link-business-contact-person.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-business-contact-person.command.js","sourceRoot":"","sources":["../../../lib/types/business/link-business-contact-person.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface LinkBusinessContactPersonResponse {
2
+ businessUuid: string;
3
+ contactPersonUuid: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=link-business-contact-person.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-business-contact-person.response.js","sourceRoot":"","sources":["../../../lib/types/business/link-business-contact-person.response.ts"],"names":[],"mappings":""}
@@ -2,6 +2,8 @@ export * from './individual-billing-information.response.js';
2
2
  export * from './individual-contact-person.response.js';
3
3
  export * from './individual-detail.response.js';
4
4
  export * from './individual-linked-business.response.js';
5
+ export * from './link-individual-contact-person.command.js';
6
+ export * from './link-individual-contact-person.response.js';
5
7
  export * from './update-individual.command.js';
6
8
  export * from './update-individual-status.command.js';
7
9
  export * from './create-individual.command.js';
@@ -2,6 +2,8 @@ export * from './individual-billing-information.response.js';
2
2
  export * from './individual-contact-person.response.js';
3
3
  export * from './individual-detail.response.js';
4
4
  export * from './individual-linked-business.response.js';
5
+ export * from './link-individual-contact-person.command.js';
6
+ export * from './link-individual-contact-person.response.js';
5
7
  export * from './update-individual.command.js';
6
8
  export * from './update-individual-status.command.js';
7
9
  export * from './create-individual.command.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/types/individual/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAA;AAC5D,cAAc,yCAAyC,CAAA;AACvD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0CAA0C,CAAA;AACxD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,uCAAuC,CAAA;AACrD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,iCAAiC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/types/individual/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAA;AAC5D,cAAc,yCAAyC,CAAA;AACvD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0CAA0C,CAAA;AACxD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,gCAAgC,CAAA;AAC9C,cAAc,uCAAuC,CAAA;AACrD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,iCAAiC,CAAA"}
@@ -0,0 +1,7 @@
1
+ export interface LinkIndividualContactPersonCommand {
2
+ contactPersonUuid: string;
3
+ position: string | null;
4
+ email: string | null;
5
+ phone: string | null;
6
+ mobilePhone: string | null;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=link-individual-contact-person.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-individual-contact-person.command.js","sourceRoot":"","sources":["../../../lib/types/individual/link-individual-contact-person.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface LinkIndividualContactPersonResponse {
2
+ individualUuid: string;
3
+ contactPersonUuid: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=link-individual-contact-person.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-individual-contact-person.response.js","sourceRoot":"","sources":["../../../lib/types/individual/link-individual-contact-person.response.ts"],"names":[],"mappings":""}
@@ -26,6 +26,7 @@ export declare class CreateTenantCommand {
26
26
  czOidcIssuer: string;
27
27
  czOidcAudience: string;
28
28
  czOidcOrganizationId: string;
29
+ zitadelApiToken: string | null;
29
30
  czNativeClientId: string;
30
31
  brandColors: BrandColorsCommand;
31
32
  businessConfig: BusinessConfigCommand;
@@ -22,6 +22,7 @@ export class CreateTenantCommand {
22
22
  czOidcIssuer;
23
23
  czOidcAudience;
24
24
  czOidcOrganizationId;
25
+ zitadelApiToken;
25
26
  czNativeClientId;
26
27
  brandColors;
27
28
  businessConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"create-tenant.command.js","sourceRoot":"","sources":["../../../lib/types/tenant/create-tenant.command.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,uBAAuB;IAClC,IAAI,CAAmB;IACvB,WAAW,CAAa;IACxB,6BAA6B,CAA+B;CAC7D;AAED,MAAM,OAAO,qBAAqB;IAChC,IAAI,CAAmB;IACvB,WAAW,CAAa;IACxB,cAAc,CAAS;IACvB,yBAAyB,CAAS;IAClC,6BAA6B,CAA+B;CAC7D;AAED,MAAM,OAAO,mBAAmB;IAC9B,IAAI,CAAQ;IACZ,IAAI,CAAQ;IACZ,MAAM,CAAe;IACrB,OAAO,CAAe;IACtB,UAAU,CAAQ;IAClB,YAAY,CAAQ;IACpB,kBAAkB,CAAQ;IAC1B,cAAc,CAAQ;IACtB,YAAY,CAAQ;IACpB,cAAc,CAAQ;IACtB,oBAAoB,CAAQ;IAC5B,gBAAgB,CAAQ;IACxB,WAAW,CAAoB;IAC/B,cAAc,CAAuB;IACrC,gBAAgB,CAAyB;CAC1C"}
1
+ {"version":3,"file":"create-tenant.command.js","sourceRoot":"","sources":["../../../lib/types/tenant/create-tenant.command.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,uBAAuB;IAClC,IAAI,CAAmB;IACvB,WAAW,CAAa;IACxB,6BAA6B,CAA+B;CAC7D;AAED,MAAM,OAAO,qBAAqB;IAChC,IAAI,CAAmB;IACvB,WAAW,CAAa;IACxB,cAAc,CAAS;IACvB,yBAAyB,CAAS;IAClC,6BAA6B,CAA+B;CAC7D;AAED,MAAM,OAAO,mBAAmB;IAC9B,IAAI,CAAQ;IACZ,IAAI,CAAQ;IACZ,MAAM,CAAe;IACrB,OAAO,CAAe;IACtB,UAAU,CAAQ;IAClB,YAAY,CAAQ;IACpB,kBAAkB,CAAQ;IAC1B,cAAc,CAAQ;IACtB,YAAY,CAAQ;IACpB,cAAc,CAAQ;IACtB,oBAAoB,CAAQ;IAC5B,eAAe,CAAe;IAC9B,gBAAgB,CAAQ;IACxB,WAAW,CAAoB;IAC/B,cAAc,CAAuB;IACrC,gBAAgB,CAAyB;CAC1C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wisemen/wise-crm",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@nestjs/common": "^11.1.12",
25
- "@wisemen/address": "0.2.6",
25
+ "@wisemen/address": "0.2.9",
26
26
  "@wisemen/coordinates": "0.0.17",
27
27
  "@wisemen/eslint-config-nestjs": "^0.2.7",
28
28
  "@wisemen/pagination": "^0.0.11",
29
29
  "@wisemen/vies": "^0.0.12",
30
- "axios": "^1.13.3",
30
+ "axios": "^1.15.2",
31
31
  "dayjs": "^1.11.19",
32
32
  "eslint": "9.39.2",
33
33
  "eslint-plugin-import-typescript": "^0.0.4",