@uptiqai/integrations-sdk 1.27.0 → 1.29.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/generated-api.d.ts +876 -0
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +534 -2
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +126 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +245 -3
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +112 -0
- package/dist/response-type-map.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
exports.Zendesk = exports.Xero = exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Shopify = exports.Semrush = exports.Salesforce = exports.Resend = exports.Redtail = exports.Recurly = exports.Plaid = exports.Pandadoc = exports.Openai = exports.Notion = void 0;
|
|
17
|
+
exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.MicrosoftOAuth = exports.MicrosoftExcel365 = exports.MicrosoftDynamics365 = exports.Mailchimp = exports.Jira = exports.Instantly = exports.Hubspot = exports.GoogleSlides = exports.GoogleSheets = exports.GooglePlaces = exports.GoogleOAuth = exports.GoogleKms = exports.GoogleGenerativeAIImage = exports.GoogleGenerativeAI = exports.GoogleDrive = exports.GoogleDocs = exports.GoogleCloudStorage = exports.GoogleCalendar = exports.GoogleAnalytics = exports.Gmail = exports.Gitlab = exports.FirefliesAi = exports.Firecrawl = exports.Fathom = exports.ExperianBusiness = exports.Elevenlabs = exports.DunAndBradstreet = exports.Doola = exports.Docusign = exports.Discord = exports.Databricks = exports.Crunchbase = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.Confluence = exports.Calendly = exports.AzureKms = exports.AzureBlobStorage = exports.AwsS3 = exports.AwsKms = exports.Apollo = exports.Anthropic = exports.AlphaVantage = exports.Alloy = exports.Airtable = exports.Abrigo = void 0;
|
|
18
|
+
exports.Zendesk = exports.Xero = exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Shopify = exports.Semrush = exports.Salesforce = exports.Resend = exports.Redtail = exports.Recurly = exports.Plaid = exports.Pandadoc = exports.Openai = exports.Notion = exports.Middesk = exports.MicrosoftTeams = void 0;
|
|
19
19
|
const generated_api_1 = require("./generated-api");
|
|
20
20
|
/**
|
|
21
21
|
* UPTIQ Integrations SDK
|
|
@@ -2915,6 +2915,100 @@ class Hubspot {
|
|
|
2915
2915
|
}
|
|
2916
2916
|
}
|
|
2917
2917
|
exports.Hubspot = Hubspot;
|
|
2918
|
+
/**
|
|
2919
|
+
* Instantly integration module
|
|
2920
|
+
*/
|
|
2921
|
+
class Instantly {
|
|
2922
|
+
constructor() {
|
|
2923
|
+
// Get the generated API methods
|
|
2924
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2925
|
+
}
|
|
2926
|
+
/** Set Instantly.ai API key for a user */
|
|
2927
|
+
setUserCredentials(body) {
|
|
2928
|
+
return this.api.instantlySetUserCredentials(body);
|
|
2929
|
+
}
|
|
2930
|
+
/** Create a campaign */
|
|
2931
|
+
createCampaign(body) {
|
|
2932
|
+
return this.api.instantlyCreateCampaign(body);
|
|
2933
|
+
}
|
|
2934
|
+
/** Get campaigns */
|
|
2935
|
+
getCampaigns(body) {
|
|
2936
|
+
return this.api.instantlyGetCampaigns(body);
|
|
2937
|
+
}
|
|
2938
|
+
/** Update a campaign */
|
|
2939
|
+
updateCampaign(body) {
|
|
2940
|
+
return this.api.instantlyUpdateCampaign(body);
|
|
2941
|
+
}
|
|
2942
|
+
/** Activate a campaign */
|
|
2943
|
+
activateCampaign(body) {
|
|
2944
|
+
return this.api.instantlyActivateCampaign(body);
|
|
2945
|
+
}
|
|
2946
|
+
/** Pause a campaign */
|
|
2947
|
+
pauseCampaign(body) {
|
|
2948
|
+
return this.api.instantlyPauseCampaign(body);
|
|
2949
|
+
}
|
|
2950
|
+
/** Create a lead */
|
|
2951
|
+
createLead(body) {
|
|
2952
|
+
return this.api.instantlyCreateLead(body);
|
|
2953
|
+
}
|
|
2954
|
+
/** Bulk create leads */
|
|
2955
|
+
bulkCreateLeads(body) {
|
|
2956
|
+
return this.api.instantlyBulkCreateLeads(body);
|
|
2957
|
+
}
|
|
2958
|
+
/** Move leads */
|
|
2959
|
+
moveLeads(body) {
|
|
2960
|
+
return this.api.instantlyMoveLeads(body);
|
|
2961
|
+
}
|
|
2962
|
+
/** Merge leads */
|
|
2963
|
+
mergeLeads(body) {
|
|
2964
|
+
return this.api.instantlyMergeLeads(body);
|
|
2965
|
+
}
|
|
2966
|
+
/** Update lead interest status */
|
|
2967
|
+
updateLeadInterestStatus(body) {
|
|
2968
|
+
return this.api.instantlyUpdateLeadInterestStatus(body);
|
|
2969
|
+
}
|
|
2970
|
+
/** Create a sender account */
|
|
2971
|
+
createAccount(body) {
|
|
2972
|
+
return this.api.instantlyCreateAccount(body);
|
|
2973
|
+
}
|
|
2974
|
+
/** Get sender accounts */
|
|
2975
|
+
getAccounts(body) {
|
|
2976
|
+
return this.api.instantlyGetAccounts(body);
|
|
2977
|
+
}
|
|
2978
|
+
/** Pause a sender account */
|
|
2979
|
+
pauseAccount(body) {
|
|
2980
|
+
return this.api.instantlyPauseAccount(body);
|
|
2981
|
+
}
|
|
2982
|
+
/** Enable warmup */
|
|
2983
|
+
enableWarmup(body) {
|
|
2984
|
+
return this.api.instantlyEnableWarmup(body);
|
|
2985
|
+
}
|
|
2986
|
+
/** Get warmup analytics */
|
|
2987
|
+
getWarmupAnalytics(body) {
|
|
2988
|
+
return this.api.instantlyGetWarmupAnalytics(body);
|
|
2989
|
+
}
|
|
2990
|
+
/** Get campaign analytics overview */
|
|
2991
|
+
getCampaignAnalyticsOverview(body) {
|
|
2992
|
+
return this.api.instantlyGetCampaignAnalyticsOverview(body);
|
|
2993
|
+
}
|
|
2994
|
+
/** Get daily campaign analytics */
|
|
2995
|
+
getCampaignAnalyticsDaily(body) {
|
|
2996
|
+
return this.api.instantlyGetCampaignAnalyticsDaily(body);
|
|
2997
|
+
}
|
|
2998
|
+
/** Get per-step campaign analytics */
|
|
2999
|
+
getCampaignAnalyticsSteps(body) {
|
|
3000
|
+
return this.api.instantlyGetCampaignAnalyticsSteps(body);
|
|
3001
|
+
}
|
|
3002
|
+
/** Verify an email */
|
|
3003
|
+
verifyEmail(body) {
|
|
3004
|
+
return this.api.instantlyVerifyEmail(body);
|
|
3005
|
+
}
|
|
3006
|
+
/** Get email verification status */
|
|
3007
|
+
getEmailVerificationStatus(body) {
|
|
3008
|
+
return this.api.instantlyGetEmailVerificationStatus(body);
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
exports.Instantly = Instantly;
|
|
2918
3012
|
/**
|
|
2919
3013
|
* Jira integration module
|
|
2920
3014
|
*/
|
|
@@ -3105,6 +3199,130 @@ class Mailchimp {
|
|
|
3105
3199
|
}
|
|
3106
3200
|
}
|
|
3107
3201
|
exports.Mailchimp = Mailchimp;
|
|
3202
|
+
/**
|
|
3203
|
+
* MicrosoftDynamics365 integration module
|
|
3204
|
+
*/
|
|
3205
|
+
class MicrosoftDynamics365 {
|
|
3206
|
+
constructor() {
|
|
3207
|
+
// Get the generated API methods
|
|
3208
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3209
|
+
}
|
|
3210
|
+
/** Initiate Microsoft Dynamics 365 OAuth flow */
|
|
3211
|
+
oauthInitiate(body) {
|
|
3212
|
+
return this.api.microsoftDynamics365OauthInitiate(body);
|
|
3213
|
+
}
|
|
3214
|
+
/** Set Microsoft Dynamics 365 OAuth app credentials for a user */
|
|
3215
|
+
setUserCredentials(body) {
|
|
3216
|
+
return this.api.microsoftDynamics365SetUserCredentials(body);
|
|
3217
|
+
}
|
|
3218
|
+
oauthCallback(...args) {
|
|
3219
|
+
return this.api.microsoftDynamics365OauthCallback(...args);
|
|
3220
|
+
}
|
|
3221
|
+
webhook(...args) {
|
|
3222
|
+
return this.api.microsoftDynamics365Webhook(...args);
|
|
3223
|
+
}
|
|
3224
|
+
/** Create an Account */
|
|
3225
|
+
createAccount(body) {
|
|
3226
|
+
return this.api.microsoftDynamics365CreateAccount(body);
|
|
3227
|
+
}
|
|
3228
|
+
/** Retrieve an Account */
|
|
3229
|
+
getAccount(body) {
|
|
3230
|
+
return this.api.microsoftDynamics365GetAccount(body);
|
|
3231
|
+
}
|
|
3232
|
+
/** Update an Account */
|
|
3233
|
+
updateAccount(body) {
|
|
3234
|
+
return this.api.microsoftDynamics365UpdateAccount(body);
|
|
3235
|
+
}
|
|
3236
|
+
/** Delete an Account */
|
|
3237
|
+
deleteAccount(body) {
|
|
3238
|
+
return this.api.microsoftDynamics365DeleteAccount(body);
|
|
3239
|
+
}
|
|
3240
|
+
/** Create a Contact */
|
|
3241
|
+
createContact(body) {
|
|
3242
|
+
return this.api.microsoftDynamics365CreateContact(body);
|
|
3243
|
+
}
|
|
3244
|
+
/** Retrieve a Contact */
|
|
3245
|
+
getContact(body) {
|
|
3246
|
+
return this.api.microsoftDynamics365GetContact(body);
|
|
3247
|
+
}
|
|
3248
|
+
/** Update a Contact */
|
|
3249
|
+
updateContact(body) {
|
|
3250
|
+
return this.api.microsoftDynamics365UpdateContact(body);
|
|
3251
|
+
}
|
|
3252
|
+
/** Delete a Contact */
|
|
3253
|
+
deleteContact(body) {
|
|
3254
|
+
return this.api.microsoftDynamics365DeleteContact(body);
|
|
3255
|
+
}
|
|
3256
|
+
/** Create a Lead */
|
|
3257
|
+
createLead(body) {
|
|
3258
|
+
return this.api.microsoftDynamics365CreateLead(body);
|
|
3259
|
+
}
|
|
3260
|
+
/** Retrieve a Lead */
|
|
3261
|
+
getLead(body) {
|
|
3262
|
+
return this.api.microsoftDynamics365GetLead(body);
|
|
3263
|
+
}
|
|
3264
|
+
/** Update a Lead */
|
|
3265
|
+
updateLead(body) {
|
|
3266
|
+
return this.api.microsoftDynamics365UpdateLead(body);
|
|
3267
|
+
}
|
|
3268
|
+
/** Delete a Lead */
|
|
3269
|
+
deleteLead(body) {
|
|
3270
|
+
return this.api.microsoftDynamics365DeleteLead(body);
|
|
3271
|
+
}
|
|
3272
|
+
/** Create an Opportunity */
|
|
3273
|
+
createOpportunity(body) {
|
|
3274
|
+
return this.api.microsoftDynamics365CreateOpportunity(body);
|
|
3275
|
+
}
|
|
3276
|
+
/** Retrieve an Opportunity */
|
|
3277
|
+
getOpportunity(body) {
|
|
3278
|
+
return this.api.microsoftDynamics365GetOpportunity(body);
|
|
3279
|
+
}
|
|
3280
|
+
/** Update an Opportunity */
|
|
3281
|
+
updateOpportunity(body) {
|
|
3282
|
+
return this.api.microsoftDynamics365UpdateOpportunity(body);
|
|
3283
|
+
}
|
|
3284
|
+
/** Delete an Opportunity */
|
|
3285
|
+
deleteOpportunity(body) {
|
|
3286
|
+
return this.api.microsoftDynamics365DeleteOpportunity(body);
|
|
3287
|
+
}
|
|
3288
|
+
/** Create a Case */
|
|
3289
|
+
createIncident(body) {
|
|
3290
|
+
return this.api.microsoftDynamics365CreateIncident(body);
|
|
3291
|
+
}
|
|
3292
|
+
/** Retrieve a Case */
|
|
3293
|
+
getIncident(body) {
|
|
3294
|
+
return this.api.microsoftDynamics365GetIncident(body);
|
|
3295
|
+
}
|
|
3296
|
+
/** Update a Case */
|
|
3297
|
+
updateIncident(body) {
|
|
3298
|
+
return this.api.microsoftDynamics365UpdateIncident(body);
|
|
3299
|
+
}
|
|
3300
|
+
/** Delete a Case */
|
|
3301
|
+
deleteIncident(body) {
|
|
3302
|
+
return this.api.microsoftDynamics365DeleteIncident(body);
|
|
3303
|
+
}
|
|
3304
|
+
/** List/query records on any entity set */
|
|
3305
|
+
listRecords(body) {
|
|
3306
|
+
return this.api.microsoftDynamics365ListRecords(body);
|
|
3307
|
+
}
|
|
3308
|
+
/** Get activities / engagement history for a record */
|
|
3309
|
+
getActivities(body) {
|
|
3310
|
+
return this.api.microsoftDynamics365GetActivities(body);
|
|
3311
|
+
}
|
|
3312
|
+
/** Create a follow-up Task */
|
|
3313
|
+
createTask(body) {
|
|
3314
|
+
return this.api.microsoftDynamics365CreateTask(body);
|
|
3315
|
+
}
|
|
3316
|
+
/** Incremental sync via change tracking */
|
|
3317
|
+
changeTrackingSync(body) {
|
|
3318
|
+
return this.api.microsoftDynamics365ChangeTrackingSync(body);
|
|
3319
|
+
}
|
|
3320
|
+
/** Execute a $batch request */
|
|
3321
|
+
batch(body) {
|
|
3322
|
+
return this.api.microsoftDynamics365Batch(body);
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
exports.MicrosoftDynamics365 = MicrosoftDynamics365;
|
|
3108
3326
|
/**
|
|
3109
3327
|
* MicrosoftExcel365 integration module
|
|
3110
3328
|
*/
|
|
@@ -3549,7 +3767,7 @@ class Notion {
|
|
|
3549
3767
|
createPage(body) {
|
|
3550
3768
|
return this.api.notionCreatePage(body);
|
|
3551
3769
|
}
|
|
3552
|
-
/** Retrieve a page */
|
|
3770
|
+
/** Retrieve a page with content */
|
|
3553
3771
|
getPage(body) {
|
|
3554
3772
|
return this.api.notionGetPage(body);
|
|
3555
3773
|
}
|
|
@@ -3557,10 +3775,26 @@ class Notion {
|
|
|
3557
3775
|
updatePage(body) {
|
|
3558
3776
|
return this.api.notionUpdatePage(body);
|
|
3559
3777
|
}
|
|
3778
|
+
/** Update page content */
|
|
3779
|
+
updatePageContent(body) {
|
|
3780
|
+
return this.api.notionUpdatePageContent(body);
|
|
3781
|
+
}
|
|
3782
|
+
/** Retrieve a database */
|
|
3783
|
+
getDatabase(body) {
|
|
3784
|
+
return this.api.notionGetDatabase(body);
|
|
3785
|
+
}
|
|
3786
|
+
/** Retrieve a data source */
|
|
3787
|
+
getDataSource(body) {
|
|
3788
|
+
return this.api.notionGetDataSource(body);
|
|
3789
|
+
}
|
|
3560
3790
|
/** Query a data source */
|
|
3561
3791
|
queryDataSource(body) {
|
|
3562
3792
|
return this.api.notionQueryDataSource(body);
|
|
3563
3793
|
}
|
|
3794
|
+
/** List data source templates */
|
|
3795
|
+
listTemplates(body) {
|
|
3796
|
+
return this.api.notionListTemplates(body);
|
|
3797
|
+
}
|
|
3564
3798
|
/** Append block children */
|
|
3565
3799
|
appendBlockChildren(body) {
|
|
3566
3800
|
return this.api.notionAppendBlockChildren(body);
|
|
@@ -3569,6 +3803,14 @@ class Notion {
|
|
|
3569
3803
|
getBlockChildren(body) {
|
|
3570
3804
|
return this.api.notionGetBlockChildren(body);
|
|
3571
3805
|
}
|
|
3806
|
+
/** List comments */
|
|
3807
|
+
listComments(body) {
|
|
3808
|
+
return this.api.notionListComments(body);
|
|
3809
|
+
}
|
|
3810
|
+
/** Create a comment */
|
|
3811
|
+
createComment(body) {
|
|
3812
|
+
return this.api.notionCreateComment(body);
|
|
3813
|
+
}
|
|
3572
3814
|
/** List workspace users */
|
|
3573
3815
|
listUsers(body) {
|
|
3574
3816
|
return this.api.notionListUsers(body);
|