@23blocks/block-crm 3.1.1 → 3.1.2

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/index.esm.js CHANGED
@@ -2328,6 +2328,15 @@ const crmBlockMetadata = {
2328
2328
  ]
2329
2329
  };
2330
2330
 
2331
+ /**
2332
+ * Parse document category from API response
2333
+ */ function parseDocumentCategory$1(value) {
2334
+ const category = parseString(value);
2335
+ if (category === 'license' || category === 'certification' || category === 'insurance' || category === 'credential') {
2336
+ return category;
2337
+ }
2338
+ return undefined;
2339
+ }
2331
2340
  const accountDocumentMapper = {
2332
2341
  type: 'account_document',
2333
2342
  map (resource) {
@@ -2346,9 +2355,59 @@ const accountDocumentMapper = {
2346
2355
  enabled: parseBoolean(attrs['enabled']),
2347
2356
  payload: attrs['payload'],
2348
2357
  createdAt: parseDate(attrs['created_at']),
2349
- updatedAt: parseDate(attrs['updated_at'])
2358
+ updatedAt: parseDate(attrs['updated_at']),
2359
+ // Category fields
2360
+ categoryName: parseDocumentCategory$1(attrs['category_name']),
2361
+ categoryUniqueId: parseString(attrs['category_unique_id']),
2362
+ // Expiration tracking fields
2363
+ isExpirable: attrs['is_expirable'] !== undefined ? parseBoolean(attrs['is_expirable']) : undefined,
2364
+ expiresAt: parseDate(attrs['expires_at']),
2365
+ issuedAt: parseDate(attrs['issued_at']),
2366
+ issuedBy: parseString(attrs['issued_by']),
2367
+ metadata: attrs['metadata']
2368
+ };
2369
+ }
2370
+ };
2371
+
2372
+ /**
2373
+ * Parse document category from API response
2374
+ */ function parseDocumentCategory(value) {
2375
+ const category = parseString(value);
2376
+ if (category === 'license' || category === 'certification' || category === 'insurance' || category === 'credential') {
2377
+ return category;
2378
+ }
2379
+ return undefined;
2380
+ }
2381
+ const contactDocumentMapper = {
2382
+ type: 'contact_document',
2383
+ map (resource) {
2384
+ const attrs = resource.attributes || {};
2385
+ return {
2386
+ id: resource.id,
2387
+ uniqueId: parseString(attrs['unique_id']) || resource.id,
2388
+ contactUniqueId: parseString(attrs['contact_unique_id']) || '',
2389
+ name: parseString(attrs['name']) || '',
2390
+ originalName: parseString(attrs['original_name']),
2391
+ description: parseString(attrs['description']),
2392
+ fileType: parseString(attrs['file_type']),
2393
+ fileSize: parseOptionalNumber(attrs['file_size']),
2394
+ url: parseString(attrs['url']),
2395
+ status: parseStatus(attrs['status']),
2396
+ enabled: parseBoolean(attrs['enabled']),
2397
+ payload: attrs['payload'],
2398
+ createdAt: parseDate(attrs['created_at']),
2399
+ updatedAt: parseDate(attrs['updated_at']),
2400
+ // Category fields
2401
+ categoryName: parseDocumentCategory(attrs['category_name']),
2402
+ categoryUniqueId: parseString(attrs['category_unique_id']),
2403
+ // Expiration tracking fields
2404
+ isExpirable: attrs['is_expirable'] !== undefined ? parseBoolean(attrs['is_expirable']) : undefined,
2405
+ expiresAt: parseDate(attrs['expires_at']),
2406
+ issuedAt: parseDate(attrs['issued_at']),
2407
+ issuedBy: parseString(attrs['issued_by']),
2408
+ metadata: attrs['metadata']
2350
2409
  };
2351
2410
  }
2352
2411
  };
2353
2412
 
2354
- export { accountCategoryMapper, accountDetailMapper, accountDocumentMapper, accountMapper, busyBlockMapper, calendarAccountMapper, categoryMapper, contactEventMapper, contactMapper, contactProfileMapper, createAccountsService, createBillingReportsService, createBusyBlocksService, createCalendarAccountsService, createCalendarSyncService, createCategoriesService, createCommunicationsService, createContactEventsService, createContactsService, createCrmBlock, createCrmMailTemplatesService, createCrmUsersService, createIcsTokensService, createLeadFollowsService, createLeadsService, createMeetingBillingsService, createMeetingParticipantsService, createMeetingsService, createOpportunitiesService, createQuotesService, createReferralsService, createSubscribersService, createTouchesService, createZoomHostsService, createZoomMeetingsService, crmBlockMetadata, crmMailTemplateMapper, crmUserMapper, icsTokenMapper, leadFollowMapper, leadMapper, meetingBillingMapper, meetingMapper, meetingParticipantMapper, opportunityMapper, parseBoolean, parseDate, parseNumber, parseOptionalNumber, parseStatus, parseString, parseStringArray, quoteMapper, referralMapper, subscriberMapper, touchMapper, zoomHostMapper, zoomMeetingMapper };
2413
+ export { accountCategoryMapper, accountDetailMapper, accountDocumentMapper, accountMapper, busyBlockMapper, calendarAccountMapper, categoryMapper, contactDocumentMapper, contactEventMapper, contactMapper, contactProfileMapper, createAccountsService, createBillingReportsService, createBusyBlocksService, createCalendarAccountsService, createCalendarSyncService, createCategoriesService, createCommunicationsService, createContactEventsService, createContactsService, createCrmBlock, createCrmMailTemplatesService, createCrmUsersService, createIcsTokensService, createLeadFollowsService, createLeadsService, createMeetingBillingsService, createMeetingParticipantsService, createMeetingsService, createOpportunitiesService, createQuotesService, createReferralsService, createSubscribersService, createTouchesService, createZoomHostsService, createZoomMeetingsService, crmBlockMetadata, crmMailTemplateMapper, crmUserMapper, icsTokenMapper, leadFollowMapper, leadMapper, meetingBillingMapper, meetingMapper, meetingParticipantMapper, opportunityMapper, parseBoolean, parseDate, parseNumber, parseOptionalNumber, parseStatus, parseString, parseStringArray, quoteMapper, referralMapper, subscriberMapper, touchMapper, zoomHostMapper, zoomMeetingMapper };
@@ -1 +1 @@
1
- {"version":3,"file":"account-document.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/account-document.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAGjE,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,eAAe,CAqBhE,CAAC"}
1
+ {"version":3,"file":"account-document.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/account-document.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAoB,MAAM,2BAA2B,CAAC;AAcnF,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,eAAe,CA8BhE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { JsonApiMapper } from '@23blocks/jsonapi-codec';
2
+ import type { ContactDocument } from '../types/contact-document';
3
+ export declare const contactDocumentMapper: JsonApiMapper<ContactDocument>;
4
+ //# sourceMappingURL=contact-document.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact-document.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/contact-document.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAejE,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,eAAe,CA8BhE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * from './account.mapper';
2
2
  export * from './account-document.mapper';
3
3
  export * from './contact.mapper';
4
+ export * from './contact-document.mapper';
4
5
  export * from './contact-event.mapper';
5
6
  export * from './lead.mapper';
6
7
  export * from './lead-follow.mapper';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
@@ -1,4 +1,11 @@
1
1
  import type { IdentityCore, EntityStatus } from '@23blocks/contracts';
2
+ /**
3
+ * Document category types
4
+ */
5
+ export type DocumentCategory = 'license' | 'certification' | 'insurance' | 'credential';
6
+ /**
7
+ * Document attached to an account
8
+ */
2
9
  export interface AccountDocument extends IdentityCore {
3
10
  accountUniqueId: string;
4
11
  name: string;
@@ -10,6 +17,20 @@ export interface AccountDocument extends IdentityCore {
10
17
  status: EntityStatus;
11
18
  enabled: boolean;
12
19
  payload?: Record<string, unknown>;
20
+ /** Document type category: 'license', 'certification', 'insurance', 'credential' */
21
+ categoryName?: DocumentCategory;
22
+ /** Link to Category record */
23
+ categoryUniqueId?: string;
24
+ /** Whether document can expire (default: false) */
25
+ isExpirable?: boolean;
26
+ /** Expiration date */
27
+ expiresAt?: Date;
28
+ /** Issue date */
29
+ issuedAt?: Date;
30
+ /** Issuing authority name */
31
+ issuedBy?: string;
32
+ /** Flexible metadata for additional data */
33
+ metadata?: Record<string, unknown>;
13
34
  }
14
35
  export interface AddAccountDocumentRequest {
15
36
  name: string;
@@ -19,6 +40,18 @@ export interface AddAccountDocumentRequest {
19
40
  fileSize?: number;
20
41
  url: string;
21
42
  payload?: Record<string, unknown>;
43
+ categoryName?: DocumentCategory;
44
+ categoryUniqueId?: string;
45
+ /** Whether document can expire (default: false) */
46
+ isExpirable?: boolean;
47
+ /** Expiration date (ISO 8601) */
48
+ expiresAt?: string;
49
+ /** Issue date (ISO 8601) */
50
+ issuedAt?: string;
51
+ /** Issuing authority name */
52
+ issuedBy?: string;
53
+ /** Flexible metadata for additional data */
54
+ metadata?: Record<string, unknown>;
22
55
  }
23
56
  export interface PresignDocumentRequest {
24
57
  filename: string;
@@ -1 +1 @@
1
- {"version":3,"file":"account-document.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/account-document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEtE,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAGD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpD;AAED,MAAM,WAAW,yBAAyB;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"account-document.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/account-document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,gBA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,CAAC,EAAE,MAAM,CAAC;IAG1B,mDAAmD;IACnD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpD;AAED,MAAM,WAAW,yBAAyB;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,53 @@
1
+ import type { IdentityCore, EntityStatus } from '@23blocks/contracts';
2
+ import type { DocumentCategory } from './account-document';
3
+ /**
4
+ * Document attached to a contact
5
+ */
6
+ export interface ContactDocument extends IdentityCore {
7
+ contactUniqueId: string;
8
+ name: string;
9
+ originalName?: string;
10
+ description?: string;
11
+ fileType?: string;
12
+ fileSize?: number;
13
+ url?: string;
14
+ status: EntityStatus;
15
+ enabled: boolean;
16
+ payload?: Record<string, unknown>;
17
+ /** Document type category: 'license', 'certification', 'insurance', 'credential' */
18
+ categoryName?: DocumentCategory;
19
+ /** Link to Category record */
20
+ categoryUniqueId?: string;
21
+ /** Whether document can expire (default: false) */
22
+ isExpirable?: boolean;
23
+ /** Expiration date */
24
+ expiresAt?: Date;
25
+ /** Issue date */
26
+ issuedAt?: Date;
27
+ /** Issuing authority name */
28
+ issuedBy?: string;
29
+ /** Flexible metadata for additional data */
30
+ metadata?: Record<string, unknown>;
31
+ }
32
+ export interface AddContactDocumentRequest {
33
+ name: string;
34
+ originalName?: string;
35
+ description?: string;
36
+ fileType?: string;
37
+ fileSize?: number;
38
+ url: string;
39
+ payload?: Record<string, unknown>;
40
+ categoryName?: DocumentCategory;
41
+ categoryUniqueId?: string;
42
+ /** Whether document can expire (default: false) */
43
+ isExpirable?: boolean;
44
+ /** Expiration date (ISO 8601) */
45
+ expiresAt?: string;
46
+ /** Issue date (ISO 8601) */
47
+ issuedAt?: string;
48
+ /** Issuing authority name */
49
+ issuedBy?: string;
50
+ /** Flexible metadata for additional data */
51
+ metadata?: Record<string, unknown>;
52
+ }
53
+ //# sourceMappingURL=contact-document.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact-document.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/contact-document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,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B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC"}
@@ -1,6 +1,7 @@
1
1
  export * from './account';
2
2
  export * from './account-document';
3
3
  export * from './contact';
4
+ export * from './contact-document';
4
5
  export * from './contact-event';
5
6
  export * from './lead';
6
7
  export * from './lead-follow';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@23blocks/block-crm",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "CRM block for 23blocks SDK - accounts, contacts, leads, opportunities, meetings",
5
5
  "license": "MIT",
6
6
  "author": "23blocks <hello@23blocks.com>",