@gravity-rail/sdk 0.34.1 → 0.36.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/{chat-interaction-SVa5dCEM.d.cts → chat-interaction-Ck1oMOr5.d.ts} +63 -3
- package/dist/{chat-interaction-cAFv3O2a.d.ts → chat-interaction-DqQu8Ad1.d.cts} +63 -3
- package/dist/{chunk-F3DHHYCJ.js → chunk-R3C63RZJ.js} +24 -1
- package/dist/chunk-R3C63RZJ.js.map +1 -0
- package/dist/helpers.d.cts +3 -3
- package/dist/helpers.d.ts +3 -3
- package/dist/index.cjs +23 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/internal.cjs +23 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +37 -6
- package/dist/internal.d.ts +37 -6
- package/dist/internal.js +1 -1
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-DY4l_agA.d.cts → revision-state-Tn2V0-zt.d.cts} +2 -2
- package/dist/{revision-state-DS8Uf2P2.d.ts → revision-state-V5RIhte0.d.ts} +2 -2
- package/dist/schemas.d.cts +2 -2
- package/dist/schemas.d.ts +2 -2
- package/dist/{tasks-Co5om-p9.d.cts → tasks-BH_i_pVb.d.cts} +2 -0
- package/dist/{tasks-Co5om-p9.d.ts → tasks-BH_i_pVb.d.ts} +2 -0
- package/package.json +1 -1
- package/dist/chunk-F3DHHYCJ.js.map +0 -1
package/dist/helpers.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { fr as GravityRailClient } from './chat-interaction-
|
|
2
|
-
export { bM as ChatInteractionController } from './chat-interaction-
|
|
3
|
-
import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-
|
|
1
|
+
import { fr as GravityRailClient } from './chat-interaction-DqQu8Ad1.cjs';
|
|
2
|
+
export { bM as ChatInteractionController } from './chat-interaction-DqQu8Ad1.cjs';
|
|
3
|
+
import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-BH_i_pVb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
interface OutboundPhoneNumberOption {
|
package/dist/helpers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { fr as GravityRailClient } from './chat-interaction-
|
|
2
|
-
export { bM as ChatInteractionController } from './chat-interaction-
|
|
3
|
-
import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-
|
|
1
|
+
import { fr as GravityRailClient } from './chat-interaction-Ck1oMOr5.js';
|
|
2
|
+
export { bM as ChatInteractionController } from './chat-interaction-Ck1oMOr5.js';
|
|
3
|
+
import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-BH_i_pVb.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
interface OutboundPhoneNumberOption {
|
package/dist/index.cjs
CHANGED
|
@@ -8988,6 +8988,12 @@ var TrackedLinksApi = class extends BaseApiClient {
|
|
|
8988
8988
|
|
|
8989
8989
|
// src/api/journeys.ts
|
|
8990
8990
|
var JourneysApi = class extends BaseApiClient {
|
|
8991
|
+
async putJourneyDraft(wid, journeyId, data) {
|
|
8992
|
+
return this.fetch(`w/${wid}/journeys/${journeyId}/draft`, {
|
|
8993
|
+
method: "PUT",
|
|
8994
|
+
body: JSON.stringify(data)
|
|
8995
|
+
});
|
|
8996
|
+
}
|
|
8991
8997
|
/**
|
|
8992
8998
|
* List journeys, optionally including archived, paginated.
|
|
8993
8999
|
*
|
|
@@ -9077,6 +9083,13 @@ var JourneysApi = class extends BaseApiClient {
|
|
|
9077
9083
|
async getJourneyFilterOptions(wid) {
|
|
9078
9084
|
return this.fetch(`w/${wid}/journeys/filter-options`);
|
|
9079
9085
|
}
|
|
9086
|
+
/** Copy a supported legacy definition into a separate draft V2 Journey. */
|
|
9087
|
+
async cloneJourneyAsV2(wid, id) {
|
|
9088
|
+
return this.fetch(`w/${wid}/journeys/${id}/clone-v2`, {
|
|
9089
|
+
method: "POST",
|
|
9090
|
+
body: JSON.stringify({})
|
|
9091
|
+
});
|
|
9092
|
+
}
|
|
9080
9093
|
/** Create a new journey. Returns the READ projection (`JourneyRead`). */
|
|
9081
9094
|
async createJourney(wid, data) {
|
|
9082
9095
|
return this.fetch(`w/${wid}/journeys`, {
|
|
@@ -11554,6 +11567,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11554
11567
|
"createFolder",
|
|
11555
11568
|
"createGoal",
|
|
11556
11569
|
"createInbox",
|
|
11570
|
+
"cloneJourneyAsV2",
|
|
11557
11571
|
"createJourney",
|
|
11558
11572
|
"createJourneyNote",
|
|
11559
11573
|
"createMcpServer",
|
|
@@ -12147,6 +12161,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12147
12161
|
"previewWorkspaceImportZip",
|
|
12148
12162
|
"provisionClientWorkspace",
|
|
12149
12163
|
"publishWorkflowRevision",
|
|
12164
|
+
"putJourneyDraft",
|
|
12150
12165
|
"putJourneyV2Definition",
|
|
12151
12166
|
"rateMessage",
|
|
12152
12167
|
"getChatFeedback",
|
|
@@ -13357,6 +13372,8 @@ function bindOrgMethods(target, org) {
|
|
|
13357
13372
|
target.enableOrgDomainSite = org.enableOrgDomainSite.bind(org);
|
|
13358
13373
|
target.getOrgDomainSite = org.getOrgDomainSite.bind(org);
|
|
13359
13374
|
target.preflightOrgDomainSite = org.preflightOrgDomainSite.bind(org);
|
|
13375
|
+
target.createOrgDomainSiteChildHost = org.createOrgDomainSiteChildHost.bind(org);
|
|
13376
|
+
target.listOrgDomainSiteChildHosts = org.listOrgDomainSiteChildHosts.bind(org);
|
|
13360
13377
|
target.verifyOrgDomainSite = org.verifyOrgDomainSite.bind(org);
|
|
13361
13378
|
target.disableOrgDomainSite = org.disableOrgDomainSite.bind(org);
|
|
13362
13379
|
target.getBusinessProfile = org.getBusinessProfile.bind(org);
|
|
@@ -13399,10 +13416,12 @@ function bindJourneysMethods(target, journeys) {
|
|
|
13399
13416
|
target.getJourneys = journeys.getJourneys.bind(journeys);
|
|
13400
13417
|
target.getJourney = journeys.getJourney.bind(journeys);
|
|
13401
13418
|
target.getJourneyAuthoring = journeys.getJourneyAuthoring.bind(journeys);
|
|
13419
|
+
target.putJourneyDraft = journeys.putJourneyDraft.bind(journeys);
|
|
13402
13420
|
target.putJourneyV2Definition = journeys.putJourneyV2Definition.bind(journeys);
|
|
13403
13421
|
target.getJourneyV2Validation = journeys.getJourneyV2Validation.bind(journeys);
|
|
13404
13422
|
target.getJourneyFilterOptions = journeys.getJourneyFilterOptions.bind(journeys);
|
|
13405
13423
|
target.getJourneyHealth = journeys.getJourneyHealth.bind(journeys);
|
|
13424
|
+
target.cloneJourneyAsV2 = journeys.cloneJourneyAsV2.bind(journeys);
|
|
13406
13425
|
target.createJourney = journeys.createJourney.bind(journeys);
|
|
13407
13426
|
target.updateJourney = journeys.updateJourney.bind(journeys);
|
|
13408
13427
|
target.archiveJourney = journeys.archiveJourney.bind(journeys);
|
|
@@ -13826,10 +13845,12 @@ var GravityRailClient = class {
|
|
|
13826
13845
|
getJourneys;
|
|
13827
13846
|
getJourney;
|
|
13828
13847
|
getJourneyAuthoring;
|
|
13848
|
+
putJourneyDraft;
|
|
13829
13849
|
putJourneyV2Definition;
|
|
13830
13850
|
getJourneyV2Validation;
|
|
13831
13851
|
getJourneyFilterOptions;
|
|
13832
13852
|
getJourneyHealth;
|
|
13853
|
+
cloneJourneyAsV2;
|
|
13833
13854
|
createJourney;
|
|
13834
13855
|
updateJourney;
|
|
13835
13856
|
archiveJourney;
|
|
@@ -13974,6 +13995,8 @@ var GravityRailClient = class {
|
|
|
13974
13995
|
enableOrgDomainSite;
|
|
13975
13996
|
getOrgDomainSite;
|
|
13976
13997
|
preflightOrgDomainSite;
|
|
13998
|
+
createOrgDomainSiteChildHost;
|
|
13999
|
+
listOrgDomainSiteChildHosts;
|
|
13977
14000
|
verifyOrgDomainSite;
|
|
13978
14001
|
disableOrgDomainSite;
|
|
13979
14002
|
getBusinessProfile;
|