@outlit/tools 2.1.0 → 2.1.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/index.cjs +93 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -3
- package/dist/index.d.ts +61 -3
- package/dist/index.js +93 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -375,8 +375,37 @@ declare const publicToolContracts: {
|
|
|
375
375
|
readonly type: "null";
|
|
376
376
|
}];
|
|
377
377
|
};
|
|
378
|
+
readonly relationshipRole: {
|
|
379
|
+
readonly anyOf: readonly [{
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
}, {
|
|
382
|
+
readonly type: "null";
|
|
383
|
+
}];
|
|
384
|
+
};
|
|
385
|
+
readonly jobTitle: {
|
|
386
|
+
readonly anyOf: readonly [{
|
|
387
|
+
readonly type: "string";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "null";
|
|
390
|
+
}];
|
|
391
|
+
};
|
|
392
|
+
readonly department: {
|
|
393
|
+
readonly anyOf: readonly [{
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
}, {
|
|
396
|
+
readonly type: "null";
|
|
397
|
+
}];
|
|
398
|
+
};
|
|
399
|
+
readonly employmentStartDate: {
|
|
400
|
+
readonly anyOf: readonly [{
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
403
|
+
}, {
|
|
404
|
+
readonly type: "null";
|
|
405
|
+
}];
|
|
406
|
+
};
|
|
378
407
|
};
|
|
379
|
-
readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity"];
|
|
408
|
+
readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
|
|
380
409
|
readonly additionalProperties: false;
|
|
381
410
|
};
|
|
382
411
|
};
|
|
@@ -692,8 +721,37 @@ declare const publicToolContracts: {
|
|
|
692
721
|
readonly type: "null";
|
|
693
722
|
}];
|
|
694
723
|
};
|
|
724
|
+
readonly relationshipRole: {
|
|
725
|
+
readonly anyOf: readonly [{
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "null";
|
|
729
|
+
}];
|
|
730
|
+
};
|
|
731
|
+
readonly jobTitle: {
|
|
732
|
+
readonly anyOf: readonly [{
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
}, {
|
|
735
|
+
readonly type: "null";
|
|
736
|
+
}];
|
|
737
|
+
};
|
|
738
|
+
readonly department: {
|
|
739
|
+
readonly anyOf: readonly [{
|
|
740
|
+
readonly type: "string";
|
|
741
|
+
}, {
|
|
742
|
+
readonly type: "null";
|
|
743
|
+
}];
|
|
744
|
+
};
|
|
745
|
+
readonly employmentStartDate: {
|
|
746
|
+
readonly anyOf: readonly [{
|
|
747
|
+
readonly type: "string";
|
|
748
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
749
|
+
}, {
|
|
750
|
+
readonly type: "null";
|
|
751
|
+
}];
|
|
752
|
+
};
|
|
695
753
|
};
|
|
696
|
-
readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt"];
|
|
754
|
+
readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
|
|
697
755
|
readonly additionalProperties: false;
|
|
698
756
|
};
|
|
699
757
|
};
|
|
@@ -8942,7 +9000,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
|
|
|
8942
9000
|
declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
|
|
8943
9001
|
declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
|
|
8944
9002
|
declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
|
|
8945
|
-
declare const sdkConsumerContractHash: "
|
|
9003
|
+
declare const sdkConsumerContractHash: "fabc5dbceb5a7c624482b138ea6cb89622f315526a44bb43068c8c66fea3fbc3";
|
|
8946
9004
|
|
|
8947
9005
|
type JsonSchema = Readonly<Record<string, unknown>>;
|
|
8948
9006
|
type PublicToolName = (typeof publicToolNames)[number];
|
package/dist/index.d.ts
CHANGED
|
@@ -375,8 +375,37 @@ declare const publicToolContracts: {
|
|
|
375
375
|
readonly type: "null";
|
|
376
376
|
}];
|
|
377
377
|
};
|
|
378
|
+
readonly relationshipRole: {
|
|
379
|
+
readonly anyOf: readonly [{
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
}, {
|
|
382
|
+
readonly type: "null";
|
|
383
|
+
}];
|
|
384
|
+
};
|
|
385
|
+
readonly jobTitle: {
|
|
386
|
+
readonly anyOf: readonly [{
|
|
387
|
+
readonly type: "string";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "null";
|
|
390
|
+
}];
|
|
391
|
+
};
|
|
392
|
+
readonly department: {
|
|
393
|
+
readonly anyOf: readonly [{
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
}, {
|
|
396
|
+
readonly type: "null";
|
|
397
|
+
}];
|
|
398
|
+
};
|
|
399
|
+
readonly employmentStartDate: {
|
|
400
|
+
readonly anyOf: readonly [{
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
403
|
+
}, {
|
|
404
|
+
readonly type: "null";
|
|
405
|
+
}];
|
|
406
|
+
};
|
|
378
407
|
};
|
|
379
|
-
readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity"];
|
|
408
|
+
readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
|
|
380
409
|
readonly additionalProperties: false;
|
|
381
410
|
};
|
|
382
411
|
};
|
|
@@ -692,8 +721,37 @@ declare const publicToolContracts: {
|
|
|
692
721
|
readonly type: "null";
|
|
693
722
|
}];
|
|
694
723
|
};
|
|
724
|
+
readonly relationshipRole: {
|
|
725
|
+
readonly anyOf: readonly [{
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "null";
|
|
729
|
+
}];
|
|
730
|
+
};
|
|
731
|
+
readonly jobTitle: {
|
|
732
|
+
readonly anyOf: readonly [{
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
}, {
|
|
735
|
+
readonly type: "null";
|
|
736
|
+
}];
|
|
737
|
+
};
|
|
738
|
+
readonly department: {
|
|
739
|
+
readonly anyOf: readonly [{
|
|
740
|
+
readonly type: "string";
|
|
741
|
+
}, {
|
|
742
|
+
readonly type: "null";
|
|
743
|
+
}];
|
|
744
|
+
};
|
|
745
|
+
readonly employmentStartDate: {
|
|
746
|
+
readonly anyOf: readonly [{
|
|
747
|
+
readonly type: "string";
|
|
748
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
749
|
+
}, {
|
|
750
|
+
readonly type: "null";
|
|
751
|
+
}];
|
|
752
|
+
};
|
|
695
753
|
};
|
|
696
|
-
readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt"];
|
|
754
|
+
readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
|
|
697
755
|
readonly additionalProperties: false;
|
|
698
756
|
};
|
|
699
757
|
};
|
|
@@ -8942,7 +9000,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
|
|
|
8942
9000
|
declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
|
|
8943
9001
|
declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
|
|
8944
9002
|
declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
|
|
8945
|
-
declare const sdkConsumerContractHash: "
|
|
9003
|
+
declare const sdkConsumerContractHash: "fabc5dbceb5a7c624482b138ea6cb89622f315526a44bb43068c8c66fea3fbc3";
|
|
8946
9004
|
|
|
8947
9005
|
type JsonSchema = Readonly<Record<string, unknown>>;
|
|
8948
9006
|
type PublicToolName = (typeof publicToolNames)[number];
|
package/dist/index.js
CHANGED
|
@@ -546,6 +546,47 @@ var publicToolContracts = {
|
|
|
546
546
|
"type": "null"
|
|
547
547
|
}
|
|
548
548
|
]
|
|
549
|
+
},
|
|
550
|
+
"relationshipRole": {
|
|
551
|
+
"anyOf": [
|
|
552
|
+
{
|
|
553
|
+
"type": "string"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"type": "null"
|
|
557
|
+
}
|
|
558
|
+
]
|
|
559
|
+
},
|
|
560
|
+
"jobTitle": {
|
|
561
|
+
"anyOf": [
|
|
562
|
+
{
|
|
563
|
+
"type": "string"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"type": "null"
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
"department": {
|
|
571
|
+
"anyOf": [
|
|
572
|
+
{
|
|
573
|
+
"type": "string"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"type": "null"
|
|
577
|
+
}
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
"employmentStartDate": {
|
|
581
|
+
"anyOf": [
|
|
582
|
+
{
|
|
583
|
+
"type": "string",
|
|
584
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"type": "null"
|
|
588
|
+
}
|
|
589
|
+
]
|
|
549
590
|
}
|
|
550
591
|
},
|
|
551
592
|
"required": [
|
|
@@ -557,7 +598,11 @@ var publicToolContracts = {
|
|
|
557
598
|
"customerDomain",
|
|
558
599
|
"journeyStage",
|
|
559
600
|
"lastActivityAt",
|
|
560
|
-
"daysSinceActivity"
|
|
601
|
+
"daysSinceActivity",
|
|
602
|
+
"relationshipRole",
|
|
603
|
+
"jobTitle",
|
|
604
|
+
"department",
|
|
605
|
+
"employmentStartDate"
|
|
561
606
|
],
|
|
562
607
|
"additionalProperties": false
|
|
563
608
|
}
|
|
@@ -990,6 +1035,47 @@ var publicToolContracts = {
|
|
|
990
1035
|
"type": "null"
|
|
991
1036
|
}
|
|
992
1037
|
]
|
|
1038
|
+
},
|
|
1039
|
+
"relationshipRole": {
|
|
1040
|
+
"anyOf": [
|
|
1041
|
+
{
|
|
1042
|
+
"type": "string"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"type": "null"
|
|
1046
|
+
}
|
|
1047
|
+
]
|
|
1048
|
+
},
|
|
1049
|
+
"jobTitle": {
|
|
1050
|
+
"anyOf": [
|
|
1051
|
+
{
|
|
1052
|
+
"type": "string"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"type": "null"
|
|
1056
|
+
}
|
|
1057
|
+
]
|
|
1058
|
+
},
|
|
1059
|
+
"department": {
|
|
1060
|
+
"anyOf": [
|
|
1061
|
+
{
|
|
1062
|
+
"type": "string"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"type": "null"
|
|
1066
|
+
}
|
|
1067
|
+
]
|
|
1068
|
+
},
|
|
1069
|
+
"employmentStartDate": {
|
|
1070
|
+
"anyOf": [
|
|
1071
|
+
{
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"type": "null"
|
|
1077
|
+
}
|
|
1078
|
+
]
|
|
993
1079
|
}
|
|
994
1080
|
},
|
|
995
1081
|
"required": [
|
|
@@ -997,7 +1083,11 @@ var publicToolContracts = {
|
|
|
997
1083
|
"email",
|
|
998
1084
|
"name",
|
|
999
1085
|
"journeyStage",
|
|
1000
|
-
"lastActivityAt"
|
|
1086
|
+
"lastActivityAt",
|
|
1087
|
+
"relationshipRole",
|
|
1088
|
+
"jobTitle",
|
|
1089
|
+
"department",
|
|
1090
|
+
"employmentStartDate"
|
|
1001
1091
|
],
|
|
1002
1092
|
"additionalProperties": false
|
|
1003
1093
|
}
|
|
@@ -12365,7 +12455,7 @@ var schemaTables = [
|
|
|
12365
12455
|
"users",
|
|
12366
12456
|
"revenue"
|
|
12367
12457
|
];
|
|
12368
|
-
var sdkConsumerContractHash = "
|
|
12458
|
+
var sdkConsumerContractHash = "fabc5dbceb5a7c624482b138ea6cb89622f315526a44bb43068c8c66fea3fbc3";
|
|
12369
12459
|
|
|
12370
12460
|
// src/contracts.ts
|
|
12371
12461
|
var publicToolNameSet = new Set(publicToolNames);
|