@uptiqai/integrations-sdk 1.26.0 → 1.28.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 +1381 -91
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +767 -4
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +169 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +326 -2
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +144 -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.Plaid = exports.Pandadoc = void 0;
|
|
17
|
+
exports.MicrosoftTeams = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.MicrosoftOAuth = exports.MicrosoftExcel365 = exports.MicrosoftDynamics365 = exports.Mailchimp = exports.Jira = 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 = void 0;
|
|
19
19
|
const generated_api_1 = require("./generated-api");
|
|
20
20
|
/**
|
|
21
21
|
* UPTIQ Integrations SDK
|
|
@@ -797,6 +797,67 @@ class AzureKms {
|
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
799
|
exports.AzureKms = AzureKms;
|
|
800
|
+
/**
|
|
801
|
+
* Calendly integration module
|
|
802
|
+
*/
|
|
803
|
+
class Calendly {
|
|
804
|
+
constructor() {
|
|
805
|
+
// Get the generated API methods
|
|
806
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
807
|
+
}
|
|
808
|
+
/** Initiate Calendly OAuth flow */
|
|
809
|
+
oauthInitiate(body) {
|
|
810
|
+
return this.api.calendlyOauthInitiate(body);
|
|
811
|
+
}
|
|
812
|
+
/** Set Calendly OAuth app credentials for a user */
|
|
813
|
+
setUserCredentials(body) {
|
|
814
|
+
return this.api.calendlySetUserCredentials(body);
|
|
815
|
+
}
|
|
816
|
+
oauthCallback(...args) {
|
|
817
|
+
return this.api.calendlyOauthCallback(...args);
|
|
818
|
+
}
|
|
819
|
+
/** List event types */
|
|
820
|
+
getEventTypes(body) {
|
|
821
|
+
return this.api.calendlyGetEventTypes(body);
|
|
822
|
+
}
|
|
823
|
+
/** Create an event type */
|
|
824
|
+
createEventType(body) {
|
|
825
|
+
return this.api.calendlyCreateEventType(body);
|
|
826
|
+
}
|
|
827
|
+
/** Update an event type */
|
|
828
|
+
updateEventType(body) {
|
|
829
|
+
return this.api.calendlyUpdateEventType(body);
|
|
830
|
+
}
|
|
831
|
+
/** Get event type available times */
|
|
832
|
+
getEventTypeAvailableTimes(body) {
|
|
833
|
+
return this.api.calendlyGetEventTypeAvailableTimes(body);
|
|
834
|
+
}
|
|
835
|
+
/** List user availability schedules */
|
|
836
|
+
getUserAvailabilitySchedules(body) {
|
|
837
|
+
return this.api.calendlyGetUserAvailabilitySchedules(body);
|
|
838
|
+
}
|
|
839
|
+
/** Create a booking */
|
|
840
|
+
createBooking(body) {
|
|
841
|
+
return this.api.calendlyCreateBooking(body);
|
|
842
|
+
}
|
|
843
|
+
/** Cancel a booking */
|
|
844
|
+
cancelBooking(body) {
|
|
845
|
+
return this.api.calendlyCancelBooking(body);
|
|
846
|
+
}
|
|
847
|
+
/** List scheduled events */
|
|
848
|
+
getScheduledEvents(body) {
|
|
849
|
+
return this.api.calendlyGetScheduledEvents(body);
|
|
850
|
+
}
|
|
851
|
+
/** List scheduled event invitees */
|
|
852
|
+
getScheduledEventInvitees(body) {
|
|
853
|
+
return this.api.calendlyGetScheduledEventInvitees(body);
|
|
854
|
+
}
|
|
855
|
+
/** Mark an invitee as a no-show */
|
|
856
|
+
createInviteeNoShow(body) {
|
|
857
|
+
return this.api.calendlyCreateInviteeNoShow(body);
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
exports.Calendly = Calendly;
|
|
800
861
|
/**
|
|
801
862
|
* Confluence integration module
|
|
802
863
|
*/
|
|
@@ -3044,6 +3105,130 @@ class Mailchimp {
|
|
|
3044
3105
|
}
|
|
3045
3106
|
}
|
|
3046
3107
|
exports.Mailchimp = Mailchimp;
|
|
3108
|
+
/**
|
|
3109
|
+
* MicrosoftDynamics365 integration module
|
|
3110
|
+
*/
|
|
3111
|
+
class MicrosoftDynamics365 {
|
|
3112
|
+
constructor() {
|
|
3113
|
+
// Get the generated API methods
|
|
3114
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3115
|
+
}
|
|
3116
|
+
/** Initiate Microsoft Dynamics 365 OAuth flow */
|
|
3117
|
+
oauthInitiate(body) {
|
|
3118
|
+
return this.api.microsoftDynamics365OauthInitiate(body);
|
|
3119
|
+
}
|
|
3120
|
+
/** Set Microsoft Dynamics 365 OAuth app credentials for a user */
|
|
3121
|
+
setUserCredentials(body) {
|
|
3122
|
+
return this.api.microsoftDynamics365SetUserCredentials(body);
|
|
3123
|
+
}
|
|
3124
|
+
oauthCallback(...args) {
|
|
3125
|
+
return this.api.microsoftDynamics365OauthCallback(...args);
|
|
3126
|
+
}
|
|
3127
|
+
webhook(...args) {
|
|
3128
|
+
return this.api.microsoftDynamics365Webhook(...args);
|
|
3129
|
+
}
|
|
3130
|
+
/** Create an Account */
|
|
3131
|
+
createAccount(body) {
|
|
3132
|
+
return this.api.microsoftDynamics365CreateAccount(body);
|
|
3133
|
+
}
|
|
3134
|
+
/** Retrieve an Account */
|
|
3135
|
+
getAccount(body) {
|
|
3136
|
+
return this.api.microsoftDynamics365GetAccount(body);
|
|
3137
|
+
}
|
|
3138
|
+
/** Update an Account */
|
|
3139
|
+
updateAccount(body) {
|
|
3140
|
+
return this.api.microsoftDynamics365UpdateAccount(body);
|
|
3141
|
+
}
|
|
3142
|
+
/** Delete an Account */
|
|
3143
|
+
deleteAccount(body) {
|
|
3144
|
+
return this.api.microsoftDynamics365DeleteAccount(body);
|
|
3145
|
+
}
|
|
3146
|
+
/** Create a Contact */
|
|
3147
|
+
createContact(body) {
|
|
3148
|
+
return this.api.microsoftDynamics365CreateContact(body);
|
|
3149
|
+
}
|
|
3150
|
+
/** Retrieve a Contact */
|
|
3151
|
+
getContact(body) {
|
|
3152
|
+
return this.api.microsoftDynamics365GetContact(body);
|
|
3153
|
+
}
|
|
3154
|
+
/** Update a Contact */
|
|
3155
|
+
updateContact(body) {
|
|
3156
|
+
return this.api.microsoftDynamics365UpdateContact(body);
|
|
3157
|
+
}
|
|
3158
|
+
/** Delete a Contact */
|
|
3159
|
+
deleteContact(body) {
|
|
3160
|
+
return this.api.microsoftDynamics365DeleteContact(body);
|
|
3161
|
+
}
|
|
3162
|
+
/** Create a Lead */
|
|
3163
|
+
createLead(body) {
|
|
3164
|
+
return this.api.microsoftDynamics365CreateLead(body);
|
|
3165
|
+
}
|
|
3166
|
+
/** Retrieve a Lead */
|
|
3167
|
+
getLead(body) {
|
|
3168
|
+
return this.api.microsoftDynamics365GetLead(body);
|
|
3169
|
+
}
|
|
3170
|
+
/** Update a Lead */
|
|
3171
|
+
updateLead(body) {
|
|
3172
|
+
return this.api.microsoftDynamics365UpdateLead(body);
|
|
3173
|
+
}
|
|
3174
|
+
/** Delete a Lead */
|
|
3175
|
+
deleteLead(body) {
|
|
3176
|
+
return this.api.microsoftDynamics365DeleteLead(body);
|
|
3177
|
+
}
|
|
3178
|
+
/** Create an Opportunity */
|
|
3179
|
+
createOpportunity(body) {
|
|
3180
|
+
return this.api.microsoftDynamics365CreateOpportunity(body);
|
|
3181
|
+
}
|
|
3182
|
+
/** Retrieve an Opportunity */
|
|
3183
|
+
getOpportunity(body) {
|
|
3184
|
+
return this.api.microsoftDynamics365GetOpportunity(body);
|
|
3185
|
+
}
|
|
3186
|
+
/** Update an Opportunity */
|
|
3187
|
+
updateOpportunity(body) {
|
|
3188
|
+
return this.api.microsoftDynamics365UpdateOpportunity(body);
|
|
3189
|
+
}
|
|
3190
|
+
/** Delete an Opportunity */
|
|
3191
|
+
deleteOpportunity(body) {
|
|
3192
|
+
return this.api.microsoftDynamics365DeleteOpportunity(body);
|
|
3193
|
+
}
|
|
3194
|
+
/** Create a Case */
|
|
3195
|
+
createIncident(body) {
|
|
3196
|
+
return this.api.microsoftDynamics365CreateIncident(body);
|
|
3197
|
+
}
|
|
3198
|
+
/** Retrieve a Case */
|
|
3199
|
+
getIncident(body) {
|
|
3200
|
+
return this.api.microsoftDynamics365GetIncident(body);
|
|
3201
|
+
}
|
|
3202
|
+
/** Update a Case */
|
|
3203
|
+
updateIncident(body) {
|
|
3204
|
+
return this.api.microsoftDynamics365UpdateIncident(body);
|
|
3205
|
+
}
|
|
3206
|
+
/** Delete a Case */
|
|
3207
|
+
deleteIncident(body) {
|
|
3208
|
+
return this.api.microsoftDynamics365DeleteIncident(body);
|
|
3209
|
+
}
|
|
3210
|
+
/** List/query records on any entity set */
|
|
3211
|
+
listRecords(body) {
|
|
3212
|
+
return this.api.microsoftDynamics365ListRecords(body);
|
|
3213
|
+
}
|
|
3214
|
+
/** Get activities / engagement history for a record */
|
|
3215
|
+
getActivities(body) {
|
|
3216
|
+
return this.api.microsoftDynamics365GetActivities(body);
|
|
3217
|
+
}
|
|
3218
|
+
/** Create a follow-up Task */
|
|
3219
|
+
createTask(body) {
|
|
3220
|
+
return this.api.microsoftDynamics365CreateTask(body);
|
|
3221
|
+
}
|
|
3222
|
+
/** Incremental sync via change tracking */
|
|
3223
|
+
changeTrackingSync(body) {
|
|
3224
|
+
return this.api.microsoftDynamics365ChangeTrackingSync(body);
|
|
3225
|
+
}
|
|
3226
|
+
/** Execute a $batch request */
|
|
3227
|
+
batch(body) {
|
|
3228
|
+
return this.api.microsoftDynamics365Batch(body);
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3231
|
+
exports.MicrosoftDynamics365 = MicrosoftDynamics365;
|
|
3047
3232
|
/**
|
|
3048
3233
|
* MicrosoftExcel365 integration module
|
|
3049
3234
|
*/
|
|
@@ -3322,6 +3507,63 @@ class MicrosoftSharepoint {
|
|
|
3322
3507
|
}
|
|
3323
3508
|
}
|
|
3324
3509
|
exports.MicrosoftSharepoint = MicrosoftSharepoint;
|
|
3510
|
+
/**
|
|
3511
|
+
* MicrosoftTeams integration module
|
|
3512
|
+
*/
|
|
3513
|
+
class MicrosoftTeams {
|
|
3514
|
+
constructor() {
|
|
3515
|
+
// Get the generated API methods
|
|
3516
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3517
|
+
}
|
|
3518
|
+
/** Set Microsoft Teams OAuth app credentials for a user */
|
|
3519
|
+
setUserCredentials(body) {
|
|
3520
|
+
return this.api.microsoftTeamsSetUserCredentials(body);
|
|
3521
|
+
}
|
|
3522
|
+
/** Initiate Microsoft Teams Graph OAuth flow */
|
|
3523
|
+
oauthInitiate(body) {
|
|
3524
|
+
return this.api.microsoftTeamsOauthInitiate(body);
|
|
3525
|
+
}
|
|
3526
|
+
oauthCallback(...args) {
|
|
3527
|
+
return this.api.microsoftTeamsOauthCallback(...args);
|
|
3528
|
+
}
|
|
3529
|
+
/** List joined teams */
|
|
3530
|
+
teamsList(body) {
|
|
3531
|
+
return this.api.microsoftTeamsTeamsList(body);
|
|
3532
|
+
}
|
|
3533
|
+
/** List channels */
|
|
3534
|
+
channelsList(body) {
|
|
3535
|
+
return this.api.microsoftTeamsChannelsList(body);
|
|
3536
|
+
}
|
|
3537
|
+
/** Send a channel message */
|
|
3538
|
+
channelMessageSend(body) {
|
|
3539
|
+
return this.api.microsoftTeamsChannelMessageSend(body);
|
|
3540
|
+
}
|
|
3541
|
+
/** List channel messages */
|
|
3542
|
+
channelMessagesList(body) {
|
|
3543
|
+
return this.api.microsoftTeamsChannelMessagesList(body);
|
|
3544
|
+
}
|
|
3545
|
+
/** Create a chat */
|
|
3546
|
+
chatsCreate(body) {
|
|
3547
|
+
return this.api.microsoftTeamsChatsCreate(body);
|
|
3548
|
+
}
|
|
3549
|
+
/** Send a chat message */
|
|
3550
|
+
chatMessageSend(body) {
|
|
3551
|
+
return this.api.microsoftTeamsChatMessageSend(body);
|
|
3552
|
+
}
|
|
3553
|
+
/** List chat messages */
|
|
3554
|
+
chatMessagesList(body) {
|
|
3555
|
+
return this.api.microsoftTeamsChatMessagesList(body);
|
|
3556
|
+
}
|
|
3557
|
+
/** Create an online meeting */
|
|
3558
|
+
onlineMeetingCreate(body) {
|
|
3559
|
+
return this.api.microsoftTeamsOnlineMeetingCreate(body);
|
|
3560
|
+
}
|
|
3561
|
+
/** Get an online meeting */
|
|
3562
|
+
onlineMeetingGet(body) {
|
|
3563
|
+
return this.api.microsoftTeamsOnlineMeetingGet(body);
|
|
3564
|
+
}
|
|
3565
|
+
}
|
|
3566
|
+
exports.MicrosoftTeams = MicrosoftTeams;
|
|
3325
3567
|
/**
|
|
3326
3568
|
* Middesk integration module
|
|
3327
3569
|
*/
|
|
@@ -3637,6 +3879,88 @@ class Plaid {
|
|
|
3637
3879
|
}
|
|
3638
3880
|
}
|
|
3639
3881
|
exports.Plaid = Plaid;
|
|
3882
|
+
/**
|
|
3883
|
+
* Recurly integration module
|
|
3884
|
+
*/
|
|
3885
|
+
class Recurly {
|
|
3886
|
+
constructor() {
|
|
3887
|
+
// Get the generated API methods
|
|
3888
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3889
|
+
}
|
|
3890
|
+
/** Set Recurly private API key for a user */
|
|
3891
|
+
setUserCredentials(body) {
|
|
3892
|
+
return this.api.recurlySetUserCredentials(body);
|
|
3893
|
+
}
|
|
3894
|
+
/** Create a subscription */
|
|
3895
|
+
createSubscription(body) {
|
|
3896
|
+
return this.api.recurlyCreateSubscription(body);
|
|
3897
|
+
}
|
|
3898
|
+
/** Amend (upgrade/downgrade) a subscription */
|
|
3899
|
+
amendSubscription(body) {
|
|
3900
|
+
return this.api.recurlyAmendSubscription(body);
|
|
3901
|
+
}
|
|
3902
|
+
/** Cancel a subscription */
|
|
3903
|
+
cancelSubscription(body) {
|
|
3904
|
+
return this.api.recurlyCancelSubscription(body);
|
|
3905
|
+
}
|
|
3906
|
+
/** Pause a subscription */
|
|
3907
|
+
pauseSubscription(body) {
|
|
3908
|
+
return this.api.recurlyPauseSubscription(body);
|
|
3909
|
+
}
|
|
3910
|
+
/** Resume a subscription */
|
|
3911
|
+
resumeSubscription(body) {
|
|
3912
|
+
return this.api.recurlyResumeSubscription(body);
|
|
3913
|
+
}
|
|
3914
|
+
/** Create a purchase */
|
|
3915
|
+
createPurchase(body) {
|
|
3916
|
+
return this.api.recurlyCreatePurchase(body);
|
|
3917
|
+
}
|
|
3918
|
+
/** Collect an invoice */
|
|
3919
|
+
collectInvoice(body) {
|
|
3920
|
+
return this.api.recurlyCollectInvoice(body);
|
|
3921
|
+
}
|
|
3922
|
+
/** Create a plan */
|
|
3923
|
+
createPlan(body) {
|
|
3924
|
+
return this.api.recurlyCreatePlan(body);
|
|
3925
|
+
}
|
|
3926
|
+
/** Update a plan */
|
|
3927
|
+
updatePlan(body) {
|
|
3928
|
+
return this.api.recurlyUpdatePlan(body);
|
|
3929
|
+
}
|
|
3930
|
+
/** Create a plan add-on */
|
|
3931
|
+
createPlanAddOn(body) {
|
|
3932
|
+
return this.api.recurlyCreatePlanAddOn(body);
|
|
3933
|
+
}
|
|
3934
|
+
/** Update a plan add-on */
|
|
3935
|
+
updatePlanAddOn(body) {
|
|
3936
|
+
return this.api.recurlyUpdatePlanAddOn(body);
|
|
3937
|
+
}
|
|
3938
|
+
/** Remove a plan add-on */
|
|
3939
|
+
removePlanAddOn(body) {
|
|
3940
|
+
return this.api.recurlyRemovePlanAddOn(body);
|
|
3941
|
+
}
|
|
3942
|
+
/** Assign a dunning campaign to a plan */
|
|
3943
|
+
assignDunningCampaign(body) {
|
|
3944
|
+
return this.api.recurlyAssignDunningCampaign(body);
|
|
3945
|
+
}
|
|
3946
|
+
/** Get an invoice */
|
|
3947
|
+
getInvoice(body) {
|
|
3948
|
+
return this.api.recurlyGetInvoice(body);
|
|
3949
|
+
}
|
|
3950
|
+
/** List invoices for an account */
|
|
3951
|
+
listAccountInvoices(body) {
|
|
3952
|
+
return this.api.recurlyListAccountInvoices(body);
|
|
3953
|
+
}
|
|
3954
|
+
/** Generate an invoice */
|
|
3955
|
+
generateInvoice(body) {
|
|
3956
|
+
return this.api.recurlyGenerateInvoice(body);
|
|
3957
|
+
}
|
|
3958
|
+
/** Download an invoice PDF */
|
|
3959
|
+
getInvoicePdf(body) {
|
|
3960
|
+
return this.api.recurlyGetInvoicePdf(body);
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
exports.Recurly = Recurly;
|
|
3640
3964
|
/**
|
|
3641
3965
|
* Redtail integration module
|
|
3642
3966
|
*/
|