@sweepbright/api-client 0.32.1 → 0.33.0-hotfix.1
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/oauth-manager/TokensRepository_Redis.d.ts +2 -2
- package/dist/oauth-manager/TokensRepository_Redis.js.map +1 -1
- package/dist/oauth-manager/factories/createOAuthManager.js +23 -3
- package/dist/oauth-manager/factories/createOAuthManager.js.map +1 -1
- package/dist/schemas/officeSchema.d.ts +26 -26
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Redis } from 'ioredis';
|
|
1
|
+
import { Cluster, Redis } from 'ioredis';
|
|
2
2
|
import { CanCheckConnection } from './CanCheckConnection';
|
|
3
3
|
import { LockAcquireOptions, LockId, LockReleaseOptions, Logger, TokensRepository } from './interfaces';
|
|
4
4
|
export declare class TokensRepository_Redis implements TokensRepository, CanCheckConnection {
|
|
5
5
|
private readonly redis;
|
|
6
6
|
private readonly log;
|
|
7
|
-
constructor(redis: Redis, log: Logger);
|
|
7
|
+
constructor(redis: Redis | Cluster, log: Logger);
|
|
8
8
|
private connectionChecked;
|
|
9
9
|
private connected;
|
|
10
10
|
isConnected(): Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokensRepository_Redis.js","sourceRoot":"","sources":["../../src/oauth-manager/TokensRepository_Redis.ts"],"names":[],"mappings":";;;AAEA,+BAA0B;AAU1B,MAAM,0BAA0B,GAAG,IAAI,CAAC;AACxC,MAAM,gCAAgC,GAAG,IAAI,CAAC;AAE9C,MAAa,sBAAsB;IAGjC,
|
|
1
|
+
{"version":3,"file":"TokensRepository_Redis.js","sourceRoot":"","sources":["../../src/oauth-manager/TokensRepository_Redis.ts"],"names":[],"mappings":";;;AAEA,+BAA0B;AAU1B,MAAM,0BAA0B,GAAG,IAAI,CAAC;AACxC,MAAM,gCAAgC,GAAG,IAAI,CAAC;AAE9C,MAAa,sBAAsB;IAGjC,Y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gB,CAAC,CAAC;QAEjC,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;QACtE,IAAI,cAAc,KAAK,MAAM,EAAE;YAC7B,MAAM,IAAI,KAAK,CACb,4DAA4D,CAC7D,CAAC;SACH;QAED,IAAI;YACF,IAAI,kBAAkB,EAAE;gBACtB,MAAM,EACJ,MAAM,EAAE,EAAE,WAAW,EAAE,EACvB,SAAS,EACT,WAAW,GACZ,GAAG,OAAO,CAAC;gBAEZ,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,CAClB,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,EAC/B,WAAW,EACX,gCAAgC,EAChC,SAAS,CAAC,OAAO,EAAE,GAAG,WAAW,CAAC,OAAO,EAAE,CAC5C,CAAC;aACH;SACF;gBAAS;YACR,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;YAC/C,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;SACjC;IACH,CAAC;CACF;AA5HD,wDA4HC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createOAuthManager = void 0;
|
|
4
4
|
const assert_1 = require("assert");
|
|
5
|
+
const url_1 = require("url");
|
|
5
6
|
const ioredis_1 = require("ioredis");
|
|
6
7
|
const envHosts_1 = require("../../common/envHosts");
|
|
7
8
|
const AuthenticationService_PrivateAPI_1 = require("../AuthenticationService_PrivateAPI");
|
|
@@ -13,9 +14,28 @@ function createTokenStorage(opt, logger) {
|
|
|
13
14
|
let tokensRepository;
|
|
14
15
|
switch (opt.storage) {
|
|
15
16
|
case 'redis': {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
const url = (0, url_1.parse)(opt.redisURL);
|
|
18
|
+
const useTLS = url.protocol === 'rediss:';
|
|
19
|
+
const redis = new ioredis_1.Redis.Cluster([
|
|
20
|
+
{
|
|
21
|
+
host: url.hostname ?? (0, assert_1.fail)('no hostname'),
|
|
22
|
+
port: Number(url.port) ?? (0, assert_1.fail)('no port'),
|
|
23
|
+
},
|
|
24
|
+
], {
|
|
25
|
+
clusterRetryStrategy: (times) => {
|
|
26
|
+
if (times > 2) {
|
|
27
|
+
return 0;
|
|
28
|
+
}
|
|
29
|
+
return 1000;
|
|
30
|
+
},
|
|
31
|
+
// recommended for ioredis + ElastiCache
|
|
32
|
+
dnsLookup(hostname, callback) {
|
|
33
|
+
callback(null, hostname);
|
|
34
|
+
},
|
|
35
|
+
redisOptions: {
|
|
36
|
+
tls: useTLS ? {} : undefined,
|
|
37
|
+
commandTimeout: 1000,
|
|
38
|
+
},
|
|
19
39
|
});
|
|
20
40
|
tokensRepository = new TokensRepository_RedisWithMemoryFallback_1.TokensRepository_RedisWithMemoryFallback(new TokensRepository_Redis_1.TokensRepository_Redis(redis, logger), new TokensRepository_Memory_1.TokensRepository_Memory(logger), logger);
|
|
21
41
|
break;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOAuthManager.js","sourceRoot":"","sources":["../../../src/oauth-manager/factories/createOAuthManager.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AAClC,qCAAgC;AAChC,oDAAiD;AAEjD,0FAAuF;AACvF,wEAAqE;AACrE,wEAAqE;AACrE,sEAAmE;AACnE,0GAAuG;AAoBvG,SAAS,kBAAkB,CAAC,GAA8B,EAAE,MAAc;IACxE,IAAI,gBAAkC,CAAC;IAEvC,QAAQ,GAAG,CAAC,OAAO,EAAE;QACnB,KAAK,OAAO,CAAC,CAAC;YACZ,MAAM,KAAK,GAAG,IAAI,eAAK,CAAC,GAAG,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"createOAuthManager.js","sourceRoot":"","sources":["../../../src/oauth-manager/factories/createO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CACP,CAAC;YACF,MAAM;SACP;QACD,KAAK,QAAQ,CAAC,CAAC;YACb,gBAAgB,GAAG,IAAI,iDAAuB,CAAC,MAAM,CAAC,CAAC;YACvD,MAAM;SACP;QACD;YACE,IAAA,aAAI,EAAC,iBAAiB,CAAC,CAAC;KAC3B;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAED,SAAgB,kBAAkB,CAChC,GAA8B;IAE9B,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,EAAE,GAAG,GAAG,CAAC;IAClD,MAAM,OAAO,GAAG,mBAAQ,CAAC,GAAG,CAAC,CAAC;IAC9B,IAAA,WAAE,EAAC,OAAO,EAAE,2BAA2B,CAAC,CAAC;IAEzC,OAAO,IAAI,iDAAuB,CAChC,kBAAkB,CAAC,GAAG,EAAE,MAAM,CAAC,EAC/B,IAAI,mEAAgC,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,EAC7D,MAAM,CACP,CAAC;AACJ,CAAC;AAZD,gDAYC"}
|
|
@@ -1806,11 +1806,11 @@ export declare const companySchema: z.ZodObject<{
|
|
|
1806
1806
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
1807
1807
|
};
|
|
1808
1808
|
};
|
|
1809
|
+
name: string;
|
|
1809
1810
|
intercom_app_id: string;
|
|
1810
1811
|
id: string;
|
|
1811
1812
|
created_at: string;
|
|
1812
1813
|
locale: string;
|
|
1813
|
-
name: string;
|
|
1814
1814
|
member_count: number;
|
|
1815
1815
|
member_allowed: number;
|
|
1816
1816
|
contacts_count: number;
|
|
@@ -1962,11 +1962,11 @@ export declare const companySchema: z.ZodObject<{
|
|
|
1962
1962
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
1963
1963
|
};
|
|
1964
1964
|
};
|
|
1965
|
+
name: string;
|
|
1965
1966
|
intercom_app_id: string;
|
|
1966
1967
|
id: string;
|
|
1967
1968
|
created_at: string;
|
|
1968
1969
|
locale: string;
|
|
1969
|
-
name: string;
|
|
1970
1970
|
member_count: number;
|
|
1971
1971
|
member_allowed: number;
|
|
1972
1972
|
contacts_count: number;
|
|
@@ -2824,11 +2824,11 @@ export declare const companyDataSchema: z.ZodObject<{
|
|
|
2824
2824
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
2825
2825
|
};
|
|
2826
2826
|
};
|
|
2827
|
+
name: string;
|
|
2827
2828
|
intercom_app_id: string;
|
|
2828
2829
|
id: string;
|
|
2829
2830
|
created_at: string;
|
|
2830
2831
|
locale: string;
|
|
2831
|
-
name: string;
|
|
2832
2832
|
member_count: number;
|
|
2833
2833
|
member_allowed: number;
|
|
2834
2834
|
contacts_count: number;
|
|
@@ -2980,11 +2980,11 @@ export declare const companyDataSchema: z.ZodObject<{
|
|
|
2980
2980
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
2981
2981
|
};
|
|
2982
2982
|
};
|
|
2983
|
+
name: string;
|
|
2983
2984
|
intercom_app_id: string;
|
|
2984
2985
|
id: string;
|
|
2985
2986
|
created_at: string;
|
|
2986
2987
|
locale: string;
|
|
2987
|
-
name: string;
|
|
2988
2988
|
member_count: number;
|
|
2989
2989
|
member_allowed: number;
|
|
2990
2990
|
contacts_count: number;
|
|
@@ -3138,11 +3138,11 @@ export declare const companyDataSchema: z.ZodObject<{
|
|
|
3138
3138
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
3139
3139
|
};
|
|
3140
3140
|
};
|
|
3141
|
+
name: string;
|
|
3141
3142
|
intercom_app_id: string;
|
|
3142
3143
|
id: string;
|
|
3143
3144
|
created_at: string;
|
|
3144
3145
|
locale: string;
|
|
3145
|
-
name: string;
|
|
3146
3146
|
member_count: number;
|
|
3147
3147
|
member_allowed: number;
|
|
3148
3148
|
contacts_count: number;
|
|
@@ -3296,11 +3296,11 @@ export declare const companyDataSchema: z.ZodObject<{
|
|
|
3296
3296
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
3297
3297
|
};
|
|
3298
3298
|
};
|
|
3299
|
+
name: string;
|
|
3299
3300
|
intercom_app_id: string;
|
|
3300
3301
|
id: string;
|
|
3301
3302
|
created_at: string;
|
|
3302
3303
|
locale: string;
|
|
3303
|
-
name: string;
|
|
3304
3304
|
member_count: number;
|
|
3305
3305
|
member_allowed: number;
|
|
3306
3306
|
contacts_count: number;
|
|
@@ -4164,11 +4164,11 @@ export declare const officeSchema: z.ZodObject<{
|
|
|
4164
4164
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
4165
4165
|
};
|
|
4166
4166
|
};
|
|
4167
|
+
name: string;
|
|
4167
4168
|
intercom_app_id: string;
|
|
4168
4169
|
id: string;
|
|
4169
4170
|
created_at: string;
|
|
4170
4171
|
locale: string;
|
|
4171
|
-
name: string;
|
|
4172
4172
|
member_count: number;
|
|
4173
4173
|
member_allowed: number;
|
|
4174
4174
|
contacts_count: number;
|
|
@@ -4320,11 +4320,11 @@ export declare const officeSchema: z.ZodObject<{
|
|
|
4320
4320
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
4321
4321
|
};
|
|
4322
4322
|
};
|
|
4323
|
+
name: string;
|
|
4323
4324
|
intercom_app_id: string;
|
|
4324
4325
|
id: string;
|
|
4325
4326
|
created_at: string;
|
|
4326
4327
|
locale: string;
|
|
4327
|
-
name: string;
|
|
4328
4328
|
member_count: number;
|
|
4329
4329
|
member_allowed: number;
|
|
4330
4330
|
contacts_count: number;
|
|
@@ -4478,11 +4478,11 @@ export declare const officeSchema: z.ZodObject<{
|
|
|
4478
4478
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
4479
4479
|
};
|
|
4480
4480
|
};
|
|
4481
|
+
name: string;
|
|
4481
4482
|
intercom_app_id: string;
|
|
4482
4483
|
id: string;
|
|
4483
4484
|
created_at: string;
|
|
4484
4485
|
locale: string;
|
|
4485
|
-
name: string;
|
|
4486
4486
|
member_count: number;
|
|
4487
4487
|
member_allowed: number;
|
|
4488
4488
|
contacts_count: number;
|
|
@@ -4636,11 +4636,11 @@ export declare const officeSchema: z.ZodObject<{
|
|
|
4636
4636
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
4637
4637
|
};
|
|
4638
4638
|
};
|
|
4639
|
+
name: string;
|
|
4639
4640
|
intercom_app_id: string;
|
|
4640
4641
|
id: string;
|
|
4641
4642
|
created_at: string;
|
|
4642
4643
|
locale: string;
|
|
4643
|
-
name: string;
|
|
4644
4644
|
member_count: number;
|
|
4645
4645
|
member_allowed: number;
|
|
4646
4646
|
contacts_count: number;
|
|
@@ -4818,8 +4818,8 @@ export declare const officeSchema: z.ZodObject<{
|
|
|
4818
4818
|
};
|
|
4819
4819
|
}>>>;
|
|
4820
4820
|
}, "strip", z.ZodTypeAny, {
|
|
4821
|
-
id: string;
|
|
4822
4821
|
name: string;
|
|
4822
|
+
id: string;
|
|
4823
4823
|
contacts_count: number;
|
|
4824
4824
|
properties_count: number;
|
|
4825
4825
|
company?: {
|
|
@@ -4952,11 +4952,11 @@ export declare const officeSchema: z.ZodObject<{
|
|
|
4952
4952
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
4953
4953
|
};
|
|
4954
4954
|
};
|
|
4955
|
+
name: string;
|
|
4955
4956
|
intercom_app_id: string;
|
|
4956
4957
|
id: string;
|
|
4957
4958
|
created_at: string;
|
|
4958
4959
|
locale: string;
|
|
4959
|
-
name: string;
|
|
4960
4960
|
member_count: number;
|
|
4961
4961
|
member_allowed: number;
|
|
4962
4962
|
contacts_count: number;
|
|
@@ -5008,8 +5008,8 @@ export declare const officeSchema: z.ZodObject<{
|
|
|
5008
5008
|
};
|
|
5009
5009
|
} | null | undefined;
|
|
5010
5010
|
}, {
|
|
5011
|
-
id: string;
|
|
5012
5011
|
name: string;
|
|
5012
|
+
id: string;
|
|
5013
5013
|
contacts_count: number;
|
|
5014
5014
|
properties_count: number;
|
|
5015
5015
|
company?: {
|
|
@@ -5142,11 +5142,11 @@ export declare const officeSchema: z.ZodObject<{
|
|
|
5142
5142
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
5143
5143
|
};
|
|
5144
5144
|
};
|
|
5145
|
+
name: string;
|
|
5145
5146
|
intercom_app_id: string;
|
|
5146
5147
|
id: string;
|
|
5147
5148
|
created_at: string;
|
|
5148
5149
|
locale: string;
|
|
5149
|
-
name: string;
|
|
5150
5150
|
member_count: number;
|
|
5151
5151
|
member_allowed: number;
|
|
5152
5152
|
contacts_count: number;
|
|
@@ -6038,11 +6038,11 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
6038
6038
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
6039
6039
|
};
|
|
6040
6040
|
};
|
|
6041
|
+
name: string;
|
|
6041
6042
|
intercom_app_id: string;
|
|
6042
6043
|
id: string;
|
|
6043
6044
|
created_at: string;
|
|
6044
6045
|
locale: string;
|
|
6045
|
-
name: string;
|
|
6046
6046
|
member_count: number;
|
|
6047
6047
|
member_allowed: number;
|
|
6048
6048
|
contacts_count: number;
|
|
@@ -6194,11 +6194,11 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
6194
6194
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
6195
6195
|
};
|
|
6196
6196
|
};
|
|
6197
|
+
name: string;
|
|
6197
6198
|
intercom_app_id: string;
|
|
6198
6199
|
id: string;
|
|
6199
6200
|
created_at: string;
|
|
6200
6201
|
locale: string;
|
|
6201
|
-
name: string;
|
|
6202
6202
|
member_count: number;
|
|
6203
6203
|
member_allowed: number;
|
|
6204
6204
|
contacts_count: number;
|
|
@@ -6352,11 +6352,11 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
6352
6352
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
6353
6353
|
};
|
|
6354
6354
|
};
|
|
6355
|
+
name: string;
|
|
6355
6356
|
intercom_app_id: string;
|
|
6356
6357
|
id: string;
|
|
6357
6358
|
created_at: string;
|
|
6358
6359
|
locale: string;
|
|
6359
|
-
name: string;
|
|
6360
6360
|
member_count: number;
|
|
6361
6361
|
member_allowed: number;
|
|
6362
6362
|
contacts_count: number;
|
|
@@ -6510,11 +6510,11 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
6510
6510
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
6511
6511
|
};
|
|
6512
6512
|
};
|
|
6513
|
+
name: string;
|
|
6513
6514
|
intercom_app_id: string;
|
|
6514
6515
|
id: string;
|
|
6515
6516
|
created_at: string;
|
|
6516
6517
|
locale: string;
|
|
6517
|
-
name: string;
|
|
6518
6518
|
member_count: number;
|
|
6519
6519
|
member_allowed: number;
|
|
6520
6520
|
contacts_count: number;
|
|
@@ -6692,8 +6692,8 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
6692
6692
|
};
|
|
6693
6693
|
}>>>;
|
|
6694
6694
|
}, "strip", z.ZodTypeAny, {
|
|
6695
|
-
id: string;
|
|
6696
6695
|
name: string;
|
|
6696
|
+
id: string;
|
|
6697
6697
|
contacts_count: number;
|
|
6698
6698
|
properties_count: number;
|
|
6699
6699
|
company?: {
|
|
@@ -6826,11 +6826,11 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
6826
6826
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
6827
6827
|
};
|
|
6828
6828
|
};
|
|
6829
|
+
name: string;
|
|
6829
6830
|
intercom_app_id: string;
|
|
6830
6831
|
id: string;
|
|
6831
6832
|
created_at: string;
|
|
6832
6833
|
locale: string;
|
|
6833
|
-
name: string;
|
|
6834
6834
|
member_count: number;
|
|
6835
6835
|
member_allowed: number;
|
|
6836
6836
|
contacts_count: number;
|
|
@@ -6882,8 +6882,8 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
6882
6882
|
};
|
|
6883
6883
|
} | null | undefined;
|
|
6884
6884
|
}, {
|
|
6885
|
-
id: string;
|
|
6886
6885
|
name: string;
|
|
6886
|
+
id: string;
|
|
6887
6887
|
contacts_count: number;
|
|
6888
6888
|
properties_count: number;
|
|
6889
6889
|
company?: {
|
|
@@ -7016,11 +7016,11 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
7016
7016
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
7017
7017
|
};
|
|
7018
7018
|
};
|
|
7019
|
+
name: string;
|
|
7019
7020
|
intercom_app_id: string;
|
|
7020
7021
|
id: string;
|
|
7021
7022
|
created_at: string;
|
|
7022
7023
|
locale: string;
|
|
7023
|
-
name: string;
|
|
7024
7024
|
member_count: number;
|
|
7025
7025
|
member_allowed: number;
|
|
7026
7026
|
contacts_count: number;
|
|
@@ -7074,8 +7074,8 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
7074
7074
|
}>;
|
|
7075
7075
|
}, "strip", z.ZodTypeAny, {
|
|
7076
7076
|
data: {
|
|
7077
|
-
id: string;
|
|
7078
7077
|
name: string;
|
|
7078
|
+
id: string;
|
|
7079
7079
|
contacts_count: number;
|
|
7080
7080
|
properties_count: number;
|
|
7081
7081
|
company?: {
|
|
@@ -7208,11 +7208,11 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
7208
7208
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
7209
7209
|
};
|
|
7210
7210
|
};
|
|
7211
|
+
name: string;
|
|
7211
7212
|
intercom_app_id: string;
|
|
7212
7213
|
id: string;
|
|
7213
7214
|
created_at: string;
|
|
7214
7215
|
locale: string;
|
|
7215
|
-
name: string;
|
|
7216
7216
|
member_count: number;
|
|
7217
7217
|
member_allowed: number;
|
|
7218
7218
|
contacts_count: number;
|
|
@@ -7266,8 +7266,8 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
7266
7266
|
};
|
|
7267
7267
|
}, {
|
|
7268
7268
|
data: {
|
|
7269
|
-
id: string;
|
|
7270
7269
|
name: string;
|
|
7270
|
+
id: string;
|
|
7271
7271
|
contacts_count: number;
|
|
7272
7272
|
properties_count: number;
|
|
7273
7273
|
company?: {
|
|
@@ -7400,11 +7400,11 @@ export declare const officeDataSchema: z.ZodObject<{
|
|
|
7400
7400
|
unassigned_leads_admin_id?: number | null | undefined;
|
|
7401
7401
|
};
|
|
7402
7402
|
};
|
|
7403
|
+
name: string;
|
|
7403
7404
|
intercom_app_id: string;
|
|
7404
7405
|
id: string;
|
|
7405
7406
|
created_at: string;
|
|
7406
7407
|
locale: string;
|
|
7407
|
-
name: string;
|
|
7408
7408
|
member_count: number;
|
|
7409
7409
|
member_allowed: number;
|
|
7410
7410
|
contacts_count: number;
|
package/package.json
CHANGED