@boltic/cli 1.0.33 → 1.0.34

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.
Files changed (2) hide show
  1. package/api/integration.js +14 -14
  2. package/package.json +1 -1
@@ -34,7 +34,7 @@ const getIntegrationGroups = async (apiUrl, accountId, token, session) => {
34
34
  try {
35
35
  const axiosOptions = {
36
36
  method: "get",
37
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integration-groups`,
37
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integration-groups`,
38
38
  params: {
39
39
  page: 1,
40
40
  per_page: 999,
@@ -67,7 +67,7 @@ const listAllIntegrations = async (apiUrl, token, accountId, session) => {
67
67
  try {
68
68
  const axiosOptions = {
69
69
  method: "get",
70
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integrations`,
70
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integrations`,
71
71
  params: {
72
72
  page: 1,
73
73
  per_page: 999,
@@ -106,7 +106,7 @@ const saveIntegration = async (
106
106
  try {
107
107
  const response = await axios({
108
108
  method: "post",
109
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integrations`,
109
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integrations`,
110
110
  data: integration,
111
111
  headers: {
112
112
  "Content-Type": "application/json",
@@ -134,7 +134,7 @@ const editIntegration = async (apiUrl, token, accountId, session, payload) => {
134
134
  try {
135
135
  const response = await axios({
136
136
  method: "post",
137
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integrations/${id}/edit`,
137
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integrations/${id}/edit`,
138
138
  data: payload,
139
139
  headers: {
140
140
  "Content-Type": "application/json",
@@ -169,7 +169,7 @@ const updateIntegration = async (
169
169
  const { id, ...rest } = integration;
170
170
  const response = await axios({
171
171
  method: "patch",
172
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integrations/${id}`,
172
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integrations/${id}`,
173
173
  data: rest,
174
174
  headers: {
175
175
  "Content-Type": "application/json",
@@ -203,7 +203,7 @@ const getIntegrationById = async (
203
203
  try {
204
204
  const response = await axios({
205
205
  method: "get",
206
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integrations/${integrationId}`,
206
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integrations/${integrationId}`,
207
207
  headers: {
208
208
  "Content-Type": "application/json",
209
209
  Authorization: `Bearer ${token}`,
@@ -236,7 +236,7 @@ const getAuthenticationByIntegrationId = async (
236
236
  try {
237
237
  const response = await axios({
238
238
  method: "get",
239
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}integrations/${integrationId}/authentication`,
239
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}integrations/${integrationId}/authentication`,
240
240
  headers: {
241
241
  "Content-Type": "application/json",
242
242
  Authorization: `Bearer ${token}`,
@@ -269,7 +269,7 @@ const getWebhooksByIntegrationId = async (
269
269
  try {
270
270
  const response = await axios({
271
271
  method: "get",
272
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}integrations/${integrationId}/webhooks`,
272
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}integrations/${integrationId}/webhooks`,
273
273
  headers: {
274
274
  "Content-Type": "application/json",
275
275
  Authorization: `Bearer ${token}`,
@@ -301,7 +301,7 @@ const getConfigurationByIntegrationId = async (
301
301
  try {
302
302
  const response = await axios({
303
303
  method: "get",
304
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}integrations/${integrationId}/configuration`,
304
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}integrations/${integrationId}/configuration`,
305
305
  headers: {
306
306
  "Content-Type": "application/json",
307
307
  Authorization: `Bearer ${token}`,
@@ -333,7 +333,7 @@ const syncIntegration = async (
333
333
  try {
334
334
  const response = await axios({
335
335
  method: "post",
336
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integrations/${integration.integration_id}/deploy`,
336
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integrations/${integration.integration_id}/deploy`,
337
337
  data: integration,
338
338
  headers: {
339
339
  "Content-Type": "application/json",
@@ -366,7 +366,7 @@ const sendIntegrationForReview = async (
366
366
  try {
367
367
  const response = await axios({
368
368
  method: "post",
369
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integration-reviews`,
369
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integration-reviews`,
370
370
  data: integration,
371
371
  headers: {
372
372
  "Content-Type": "application/json",
@@ -395,7 +395,7 @@ const purgeCache = async (apiUrl, token, accountId, session, integration) => {
395
395
  try {
396
396
  const response = await axios({
397
397
  method: "post",
398
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integrations/${integration_id}/cache`,
398
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integrations/${integration_id}/cache`,
399
399
  data: {},
400
400
  headers: {
401
401
  "Content-Type": "application/json",
@@ -422,7 +422,7 @@ const pullIntegration = async (apiUrl, token, accountId, session, id) => {
422
422
  try {
423
423
  const response = await axios({
424
424
  method: "get",
425
- url: `${apiUrl}/service/panel/temporal/v1.0/${accountId}/integrations/${id}/pull`,
425
+ url: `${apiUrl}/service/panel/automation/v1.0/${accountId}/integrations/${id}/pull`,
426
426
  headers: {
427
427
  "Content-Type": "application/json",
428
428
  Authorization: `Bearer ${token}`,
@@ -462,7 +462,7 @@ const uploadFileToCloud = async (
462
462
  form.append("files", fs.createReadStream(filePath));
463
463
 
464
464
  const response = await axios.post(
465
- `${apiUrl}/service/panel/temporal/v1.0/${accountId}/utility/upload`,
465
+ `${apiUrl}/service/panel/automation/v1.0/${accountId}/utility/upload`,
466
466
  form,
467
467
  {
468
468
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boltic/cli",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "A powerful CLI tool for managing Boltic Workflow integrations - create, sync, test, and publish integrations with ease",
5
5
  "main": "index.js",
6
6
  "bin": {