@epilot/sdk 2.1.9 → 2.2.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/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-management.cjs +6 -6
- package/dist/apis/data-management.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +6 -6
- package/dist/apis/erp-integration.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/bin/cli.js +35 -11
- package/dist/{chunk-FXN6IHCZ.cjs → chunk-6TKKEGYU.cjs} +1 -1
- package/dist/{chunk-6D5AZZ2F.js → chunk-G33CBNJD.js} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/journey-KDR5EU3W.js +7 -0
- package/dist/journey-REBN4TGQ.cjs +7 -0
- package/dist/{journey.d-C4N4t1Rh.d.ts → journey.d-ClXO0xK8.d.cts} +20 -0
- package/dist/{journey.d-C4N4t1Rh.d.cts → journey.d-ClXO0xK8.d.ts} +20 -0
- package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
- package/docs/journey.md +21 -2
- package/package.json +1 -1
- package/definitions/access-token-runtime.json +0 -1
- package/definitions/access-token.json +0 -663
- package/definitions/address-runtime.json +0 -1
- package/definitions/address-suggestions-runtime.json +0 -1
- package/definitions/address-suggestions.json +0 -582
- package/definitions/address.json +0 -578
- package/definitions/ai-agents-runtime.json +0 -1
- package/definitions/ai-agents.json +0 -1711
- package/definitions/app-runtime.json +0 -1
- package/definitions/app.json +0 -4493
- package/definitions/audit-logs-runtime.json +0 -1
- package/definitions/audit-logs.json +0 -305
- package/definitions/automation-runtime.json +0 -1
- package/definitions/automation.json +0 -4815
- package/definitions/billing-runtime.json +0 -1
- package/definitions/billing.json +0 -837
- package/definitions/blueprint-manifest-runtime.json +0 -1
- package/definitions/blueprint-manifest.json +0 -3490
- package/definitions/consent-runtime.json +0 -1
- package/definitions/consent.json +0 -344
- package/definitions/customer-portal-runtime.json +0 -1
- package/definitions/customer-portal.json +0 -15676
- package/definitions/dashboard-runtime.json +0 -1
- package/definitions/dashboard.json +0 -484
- package/definitions/data-management-runtime.json +0 -1
- package/definitions/data-management.json +0 -972
- package/definitions/deduplication-runtime.json +0 -1
- package/definitions/deduplication.json +0 -183
- package/definitions/design-runtime.json +0 -1
- package/definitions/design.json +0 -1423
- package/definitions/document-runtime.json +0 -1
- package/definitions/document.json +0 -758
- package/definitions/email-settings-runtime.json +0 -1
- package/definitions/email-settings.json +0 -2748
- package/definitions/email-template-runtime.json +0 -1
- package/definitions/email-template.json +0 -1441
- package/definitions/entity-mapping-runtime.json +0 -1
- package/definitions/entity-mapping.json +0 -1642
- package/definitions/entity-runtime.json +0 -1
- package/definitions/entity.json +0 -10276
- package/definitions/environments-runtime.json +0 -1
- package/definitions/environments.json +0 -363
- package/definitions/erp-integration-runtime.json +0 -1
- package/definitions/erp-integration.json +0 -6304
- package/definitions/event-catalog-runtime.json +0 -1
- package/definitions/event-catalog.json +0 -1051
- package/definitions/file-runtime.json +0 -1
- package/definitions/file.json +0 -2842
- package/definitions/iban-runtime.json +0 -1
- package/definitions/iban.json +0 -132
- package/definitions/journey-runtime.json +0 -1
- package/definitions/journey.json +0 -2586
- package/definitions/kanban-runtime.json +0 -1
- package/definitions/kanban.json +0 -1505
- package/definitions/message-runtime.json +0 -1
- package/definitions/message.json +0 -2660
- package/definitions/metering-runtime.json +0 -1
- package/definitions/metering.json +0 -2321
- package/definitions/notes-runtime.json +0 -1
- package/definitions/notes.json +0 -1531
- package/definitions/notification-runtime.json +0 -1
- package/definitions/notification.json +0 -1425
- package/definitions/organization-runtime.json +0 -1
- package/definitions/organization.json +0 -1192
- package/definitions/partner-directory-runtime.json +0 -1
- package/definitions/partner-directory.json +0 -2284
- package/definitions/permissions-runtime.json +0 -1
- package/definitions/permissions.json +0 -1515
- package/definitions/pricing-runtime.json +0 -1
- package/definitions/pricing-tier-runtime.json +0 -1
- package/definitions/pricing-tier.json +0 -105
- package/definitions/pricing.json +0 -9884
- package/definitions/purpose-runtime.json +0 -1
- package/definitions/purpose.json +0 -524
- package/definitions/sandbox-runtime.json +0 -1
- package/definitions/sandbox.json +0 -453
- package/definitions/submission-runtime.json +0 -1
- package/definitions/submission.json +0 -313
- package/definitions/targeting-runtime.json +0 -1
- package/definitions/targeting.json +0 -1474
- package/definitions/template-variables-runtime.json +0 -1
- package/definitions/template-variables.json +0 -1408
- package/definitions/user-runtime.json +0 -1
- package/definitions/user.json +0 -2408
- package/definitions/validation-rules-runtime.json +0 -1
- package/definitions/validation-rules.json +0 -1491
- package/definitions/webhooks-runtime.json +0 -1
- package/definitions/webhooks.json +0 -1634
- package/definitions/workflow-definition-runtime.json +0 -1
- package/definitions/workflow-definition.json +0 -3417
- package/definitions/workflow-runtime.json +0 -1
- package/definitions/workflow.json +0 -4146
- package/dist/journey-7CKX67M7.js +0 -7
- package/dist/journey-EUZ6MVHG.cjs +0 -7
package/docs/journey.md
CHANGED
|
@@ -161,6 +161,7 @@ const { data } = await client.getJourney({
|
|
|
161
161
|
}
|
|
162
162
|
],
|
|
163
163
|
"journey_type": "Sales template (Premium)",
|
|
164
|
+
"protected": true,
|
|
164
165
|
"settings": {
|
|
165
166
|
"embedOptions": {
|
|
166
167
|
"mode": "full-screen",
|
|
@@ -209,6 +210,7 @@ const { data } = await client.getJourney({
|
|
|
209
210
|
"field2": "rule789"
|
|
210
211
|
}
|
|
211
212
|
},
|
|
213
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
212
214
|
"createdBy": "string",
|
|
213
215
|
"updatedBy": "string",
|
|
214
216
|
"__lastModifiedAt": "string",
|
|
@@ -352,6 +354,7 @@ const { data } = await client.createJourney(
|
|
|
352
354
|
}
|
|
353
355
|
],
|
|
354
356
|
journey_type: 'Sales template (Premium)',
|
|
357
|
+
protected: true,
|
|
355
358
|
settings: {
|
|
356
359
|
embedOptions: {
|
|
357
360
|
mode: 'full-screen',
|
|
@@ -400,6 +403,7 @@ const { data } = await client.createJourney(
|
|
|
400
403
|
field2: 'rule789'
|
|
401
404
|
}
|
|
402
405
|
},
|
|
406
|
+
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
403
407
|
createdBy: 'string',
|
|
404
408
|
updatedBy: 'string',
|
|
405
409
|
__lastModifiedAt: 'string'
|
|
@@ -463,6 +467,7 @@ const { data } = await client.createJourney(
|
|
|
463
467
|
}
|
|
464
468
|
],
|
|
465
469
|
"journey_type": "Sales template (Premium)",
|
|
470
|
+
"protected": true,
|
|
466
471
|
"settings": {
|
|
467
472
|
"embedOptions": {
|
|
468
473
|
"mode": "full-screen",
|
|
@@ -511,6 +516,7 @@ const { data } = await client.createJourney(
|
|
|
511
516
|
"field2": "rule789"
|
|
512
517
|
}
|
|
513
518
|
},
|
|
519
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
514
520
|
"createdBy": "string",
|
|
515
521
|
"updatedBy": "string",
|
|
516
522
|
"__lastModifiedAt": "string",
|
|
@@ -588,6 +594,7 @@ const { data } = await client.updateJourney(
|
|
|
588
594
|
}
|
|
589
595
|
],
|
|
590
596
|
journey_type: 'Sales template (Premium)',
|
|
597
|
+
protected: true,
|
|
591
598
|
settings: {
|
|
592
599
|
embedOptions: {
|
|
593
600
|
mode: 'full-screen',
|
|
@@ -636,6 +643,7 @@ const { data } = await client.updateJourney(
|
|
|
636
643
|
field2: 'rule789'
|
|
637
644
|
}
|
|
638
645
|
},
|
|
646
|
+
_manifest: ['123e4567-e89b-12d3-a456-426614174000'],
|
|
639
647
|
createdBy: 'string',
|
|
640
648
|
updatedBy: 'string',
|
|
641
649
|
__lastModifiedAt: 'string'
|
|
@@ -690,6 +698,7 @@ const { data } = await client.patchUpdateJourney(
|
|
|
690
698
|
{}
|
|
691
699
|
],
|
|
692
700
|
"journey_type": "Sales template (Premium)",
|
|
701
|
+
"protected": true,
|
|
693
702
|
"settings": {
|
|
694
703
|
"embedOptions": {},
|
|
695
704
|
"safeModeAutomation": true,
|
|
@@ -725,6 +734,7 @@ const { data } = await client.patchUpdateJourney(
|
|
|
725
734
|
"block1": "rule123",
|
|
726
735
|
"block2": {}
|
|
727
736
|
},
|
|
737
|
+
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
|
|
728
738
|
"createdBy": "string",
|
|
729
739
|
"updatedBy": "string",
|
|
730
740
|
"__lastModifiedAt": "string",
|
|
@@ -928,6 +938,7 @@ const { data } = await client.createJourneyV2(
|
|
|
928
938
|
}
|
|
929
939
|
],
|
|
930
940
|
journey_type: 'Sales template (Premium)',
|
|
941
|
+
protected: true,
|
|
931
942
|
settings: {
|
|
932
943
|
embedOptions: {
|
|
933
944
|
mode: 'full-screen',
|
|
@@ -1029,6 +1040,7 @@ const { data } = await client.createJourneyV2(
|
|
|
1029
1040
|
}
|
|
1030
1041
|
],
|
|
1031
1042
|
"journey_type": "Sales template (Premium)",
|
|
1043
|
+
"protected": true,
|
|
1032
1044
|
"settings": {
|
|
1033
1045
|
"embedOptions": {
|
|
1034
1046
|
"mode": "full-screen",
|
|
@@ -1138,6 +1150,7 @@ const { data } = await client.updateJourneyV2(
|
|
|
1138
1150
|
}
|
|
1139
1151
|
],
|
|
1140
1152
|
journey_type: 'Sales template (Premium)',
|
|
1153
|
+
protected: true,
|
|
1141
1154
|
settings: {
|
|
1142
1155
|
embedOptions: {
|
|
1143
1156
|
mode: 'full-screen',
|
|
@@ -1239,6 +1252,7 @@ const { data } = await client.updateJourneyV2(
|
|
|
1239
1252
|
}
|
|
1240
1253
|
],
|
|
1241
1254
|
"journey_type": "Sales template (Premium)",
|
|
1255
|
+
"protected": true,
|
|
1242
1256
|
"settings": {
|
|
1243
1257
|
"embedOptions": {
|
|
1244
1258
|
"mode": "full-screen",
|
|
@@ -1359,6 +1373,7 @@ const { data } = await client.patchUpdateJourneyV2(
|
|
|
1359
1373
|
}
|
|
1360
1374
|
],
|
|
1361
1375
|
"journey_type": "Sales template (Premium)",
|
|
1376
|
+
"protected": true,
|
|
1362
1377
|
"settings": {
|
|
1363
1378
|
"embedOptions": {
|
|
1364
1379
|
"mode": "full-screen",
|
|
@@ -1475,6 +1490,7 @@ const { data } = await client.getJourneyV2({
|
|
|
1475
1490
|
}
|
|
1476
1491
|
],
|
|
1477
1492
|
"journey_type": "Sales template (Premium)",
|
|
1493
|
+
"protected": true,
|
|
1478
1494
|
"settings": {
|
|
1479
1495
|
"embedOptions": {
|
|
1480
1496
|
"mode": "full-screen",
|
|
@@ -1656,6 +1672,7 @@ type JourneyResponse = {
|
|
|
1656
1672
|
shouldLoadEntity?: { ... }
|
|
1657
1673
|
}>
|
|
1658
1674
|
journey_type?: string
|
|
1675
|
+
protected?: boolean
|
|
1659
1676
|
settings?: {
|
|
1660
1677
|
embedOptions?: { ... }
|
|
1661
1678
|
safeModeAutomation?: { ... }
|
|
@@ -1688,6 +1705,7 @@ type JourneyResponse = {
|
|
|
1688
1705
|
thirdPartyCookies?: { ... }
|
|
1689
1706
|
}
|
|
1690
1707
|
validationRules?: Record<string, string | Record<string, string>>
|
|
1708
|
+
_manifest?: string // uuid[]
|
|
1691
1709
|
createdBy?: string
|
|
1692
1710
|
updatedBy?: string
|
|
1693
1711
|
__lastModifiedAt?: string
|
|
@@ -1793,6 +1811,7 @@ type JourneyCreationRequest = {
|
|
|
1793
1811
|
shouldLoadEntity?: boolean
|
|
1794
1812
|
}>
|
|
1795
1813
|
journey_type?: string
|
|
1814
|
+
protected?: boolean
|
|
1796
1815
|
settings?: {
|
|
1797
1816
|
embedOptions?: {
|
|
1798
1817
|
mode?: { ... }
|
|
@@ -1835,7 +1854,6 @@ type JourneyCreationRequest = {
|
|
|
1835
1854
|
thirdPartyCookies?: boolean
|
|
1836
1855
|
}
|
|
1837
1856
|
validationRules?: Record<string, string | Record<string, string>>
|
|
1838
|
-
createdBy?: string
|
|
1839
1857
|
// ...
|
|
1840
1858
|
}
|
|
1841
1859
|
```
|
|
@@ -1899,6 +1917,7 @@ type JourneyCreationRequestV2 = {
|
|
|
1899
1917
|
shouldLoadEntity?: boolean
|
|
1900
1918
|
}>
|
|
1901
1919
|
journey_type?: string
|
|
1920
|
+
protected?: boolean
|
|
1902
1921
|
settings?: {
|
|
1903
1922
|
embedOptions?: {
|
|
1904
1923
|
mode?: { ... }
|
|
@@ -2032,6 +2051,7 @@ type Journey = {
|
|
|
2032
2051
|
shouldLoadEntity?: boolean
|
|
2033
2052
|
}>
|
|
2034
2053
|
journey_type?: string
|
|
2054
|
+
protected?: boolean
|
|
2035
2055
|
settings?: {
|
|
2036
2056
|
embedOptions?: {
|
|
2037
2057
|
mode?: { ... }
|
|
@@ -2074,7 +2094,6 @@ type Journey = {
|
|
|
2074
2094
|
thirdPartyCookies?: boolean
|
|
2075
2095
|
}
|
|
2076
2096
|
validationRules?: Record<string, string | Record<string, string>>
|
|
2077
|
-
createdBy?: string
|
|
2078
2097
|
// ...
|
|
2079
2098
|
}
|
|
2080
2099
|
```
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"s":"https://access-token.sls.epilot.io","o":[["createAccessToken","post","/v1/access-tokens",null,1],["listAccessTokens","get","/v1/access-tokens",[["token_type","q"]]],["revokeAccessToken","delete","/v1/access-tokens/{id}",[["id","p",true]]],["getAccessTokenJwks","get","/v1/access-tokens/.well-known/jwks.json"],["getAccessTokenOIDC","get","/v1/access-tokens/.well-known/openid-configuration"],["getPublicTokenJwks","get","/v1/access-tokens/public/.well-known/jwks.json"],["getPublicTokenOIDC","get","/v1/access-tokens/public/.well-known/openid-configuration"]],"v":"3.0.3"}
|