@uptiqai/integrations-sdk 1.23.0 → 1.25.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 +2142 -210
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +942 -4
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +230 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +439 -2
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +192 -2
- 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.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = exports.Stripe = exports.SocureRiskos = exports.Slack = void 0;
|
|
17
|
+
exports.Plaid = exports.Pandadoc = exports.Openai = exports.Notion = exports.Middesk = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.MicrosoftOAuth = exports.MicrosoftExcel365 = 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.Crunchbase = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.Confluence = exports.AzureKms = exports.AzureBlobStorage = exports.AwsS3 = exports.AwsKms = exports.Apollo = exports.Anthropic = exports.AlphaVantage = exports.Alloy = exports.Abrigo = void 0;
|
|
18
|
+
exports.Zendesk = 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 = void 0;
|
|
19
19
|
const generated_api_1 = require("./generated-api");
|
|
20
20
|
/**
|
|
21
21
|
* UPTIQ Integrations SDK
|
|
@@ -515,6 +515,72 @@ class Anthropic {
|
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
exports.Anthropic = Anthropic;
|
|
518
|
+
/**
|
|
519
|
+
* Apollo integration module
|
|
520
|
+
*/
|
|
521
|
+
class Apollo {
|
|
522
|
+
constructor() {
|
|
523
|
+
// Get the generated API methods
|
|
524
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
525
|
+
}
|
|
526
|
+
/** Set Apollo.io API key for a user */
|
|
527
|
+
setUserCredentials(body) {
|
|
528
|
+
return this.api.apolloSetUserCredentials(body);
|
|
529
|
+
}
|
|
530
|
+
/** Search prospects */
|
|
531
|
+
searchProspects(body) {
|
|
532
|
+
return this.api.apolloSearchProspects(body);
|
|
533
|
+
}
|
|
534
|
+
/** Search contacts */
|
|
535
|
+
searchContacts(body) {
|
|
536
|
+
return this.api.apolloSearchContacts(body);
|
|
537
|
+
}
|
|
538
|
+
/** Enrich a contact */
|
|
539
|
+
enrichContact(body) {
|
|
540
|
+
return this.api.apolloEnrichContact(body);
|
|
541
|
+
}
|
|
542
|
+
/** Bulk enrich contacts */
|
|
543
|
+
bulkEnrichContacts(body) {
|
|
544
|
+
return this.api.apolloBulkEnrichContacts(body);
|
|
545
|
+
}
|
|
546
|
+
/** Add contacts to a sequence */
|
|
547
|
+
addContactsToSequence(body) {
|
|
548
|
+
return this.api.apolloAddContactsToSequence(body);
|
|
549
|
+
}
|
|
550
|
+
/** Activate a sequence */
|
|
551
|
+
activateSequence(body) {
|
|
552
|
+
return this.api.apolloActivateSequence(body);
|
|
553
|
+
}
|
|
554
|
+
/** Remove contacts from a sequence */
|
|
555
|
+
removeContactsFromSequence(body) {
|
|
556
|
+
return this.api.apolloRemoveContactsFromSequence(body);
|
|
557
|
+
}
|
|
558
|
+
/** Search sequences */
|
|
559
|
+
searchSequences(body) {
|
|
560
|
+
return this.api.apolloSearchSequences(body);
|
|
561
|
+
}
|
|
562
|
+
/** Search outreach emails */
|
|
563
|
+
searchEmails(body) {
|
|
564
|
+
return this.api.apolloSearchEmails(body);
|
|
565
|
+
}
|
|
566
|
+
/** Create a contact */
|
|
567
|
+
createContact(body) {
|
|
568
|
+
return this.api.apolloCreateContact(body);
|
|
569
|
+
}
|
|
570
|
+
/** Update a contact */
|
|
571
|
+
updateContact(body) {
|
|
572
|
+
return this.api.apolloUpdateContact(body);
|
|
573
|
+
}
|
|
574
|
+
/** Bulk create contacts */
|
|
575
|
+
bulkCreateContacts(body) {
|
|
576
|
+
return this.api.apolloBulkCreateContacts(body);
|
|
577
|
+
}
|
|
578
|
+
/** List labels */
|
|
579
|
+
listLabels(body) {
|
|
580
|
+
return this.api.apolloListLabels(body);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
exports.Apollo = Apollo;
|
|
518
584
|
/**
|
|
519
585
|
* AwsKms integration module
|
|
520
586
|
*/
|
|
@@ -670,6 +736,111 @@ class AzureKms {
|
|
|
670
736
|
}
|
|
671
737
|
}
|
|
672
738
|
exports.AzureKms = AzureKms;
|
|
739
|
+
/**
|
|
740
|
+
* Confluence integration module
|
|
741
|
+
*/
|
|
742
|
+
class Confluence {
|
|
743
|
+
constructor() {
|
|
744
|
+
// Get the generated API methods
|
|
745
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
746
|
+
}
|
|
747
|
+
/** Initiate Confluence OAuth flow */
|
|
748
|
+
oauthInitiate(body) {
|
|
749
|
+
return this.api.confluenceOauthInitiate(body);
|
|
750
|
+
}
|
|
751
|
+
/** Set Confluence OAuth app credentials for a user */
|
|
752
|
+
setUserCredentials(body) {
|
|
753
|
+
return this.api.confluenceSetUserCredentials(body);
|
|
754
|
+
}
|
|
755
|
+
oauthCallback(...args) {
|
|
756
|
+
return this.api.confluenceOauthCallback(...args);
|
|
757
|
+
}
|
|
758
|
+
/** List pages */
|
|
759
|
+
listPages(body) {
|
|
760
|
+
return this.api.confluenceListPages(body);
|
|
761
|
+
}
|
|
762
|
+
/** Get a page */
|
|
763
|
+
getPage(body) {
|
|
764
|
+
return this.api.confluenceGetPage(body);
|
|
765
|
+
}
|
|
766
|
+
/** List pages in a space */
|
|
767
|
+
listSpacePages(body) {
|
|
768
|
+
return this.api.confluenceListSpacePages(body);
|
|
769
|
+
}
|
|
770
|
+
/** Create a page */
|
|
771
|
+
createPage(body) {
|
|
772
|
+
return this.api.confluenceCreatePage(body);
|
|
773
|
+
}
|
|
774
|
+
/** Update a page */
|
|
775
|
+
updatePage(body) {
|
|
776
|
+
return this.api.confluenceUpdatePage(body);
|
|
777
|
+
}
|
|
778
|
+
/** Delete a page */
|
|
779
|
+
deletePage(body) {
|
|
780
|
+
return this.api.confluenceDeletePage(body);
|
|
781
|
+
}
|
|
782
|
+
/** List spaces */
|
|
783
|
+
listSpaces(body) {
|
|
784
|
+
return this.api.confluenceListSpaces(body);
|
|
785
|
+
}
|
|
786
|
+
/** Get a space */
|
|
787
|
+
getSpace(body) {
|
|
788
|
+
return this.api.confluenceGetSpace(body);
|
|
789
|
+
}
|
|
790
|
+
/** Create a space */
|
|
791
|
+
createSpace(body) {
|
|
792
|
+
return this.api.confluenceCreateSpace(body);
|
|
793
|
+
}
|
|
794
|
+
/** Update a space */
|
|
795
|
+
updateSpace(body) {
|
|
796
|
+
return this.api.confluenceUpdateSpace(body);
|
|
797
|
+
}
|
|
798
|
+
/** Delete a space */
|
|
799
|
+
deleteSpace(body) {
|
|
800
|
+
return this.api.confluenceDeleteSpace(body);
|
|
801
|
+
}
|
|
802
|
+
/** Search content */
|
|
803
|
+
searchContent(body) {
|
|
804
|
+
return this.api.confluenceSearchContent(body);
|
|
805
|
+
}
|
|
806
|
+
/** Search users */
|
|
807
|
+
searchUsers(body) {
|
|
808
|
+
return this.api.confluenceSearchUsers(body);
|
|
809
|
+
}
|
|
810
|
+
/** Get space permissions */
|
|
811
|
+
getSpacePermissions(body) {
|
|
812
|
+
return this.api.confluenceGetSpacePermissions(body);
|
|
813
|
+
}
|
|
814
|
+
/** Add a space permission */
|
|
815
|
+
addSpacePermission(body) {
|
|
816
|
+
return this.api.confluenceAddSpacePermission(body);
|
|
817
|
+
}
|
|
818
|
+
/** Remove a space permission */
|
|
819
|
+
removeSpacePermission(body) {
|
|
820
|
+
return this.api.confluenceRemoveSpacePermission(body);
|
|
821
|
+
}
|
|
822
|
+
/** Get page restrictions */
|
|
823
|
+
getPageRestrictions(body) {
|
|
824
|
+
return this.api.confluenceGetPageRestrictions(body);
|
|
825
|
+
}
|
|
826
|
+
/** Replace page restrictions */
|
|
827
|
+
updatePageRestrictions(body) {
|
|
828
|
+
return this.api.confluenceUpdatePageRestrictions(body);
|
|
829
|
+
}
|
|
830
|
+
/** Add page restrictions */
|
|
831
|
+
addPageRestrictions(body) {
|
|
832
|
+
return this.api.confluenceAddPageRestrictions(body);
|
|
833
|
+
}
|
|
834
|
+
/** Grant page access to a user */
|
|
835
|
+
addPageUserRestriction(body) {
|
|
836
|
+
return this.api.confluenceAddPageUserRestriction(body);
|
|
837
|
+
}
|
|
838
|
+
/** Grant page access to a group */
|
|
839
|
+
addPageGroupRestriction(body) {
|
|
840
|
+
return this.api.confluenceAddPageGroupRestriction(body);
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
exports.Confluence = Confluence;
|
|
673
844
|
/**
|
|
674
845
|
* CreditsafeCompliance integration module
|
|
675
846
|
*/
|
|
@@ -2284,6 +2455,52 @@ class GoogleOAuth {
|
|
|
2284
2455
|
}
|
|
2285
2456
|
}
|
|
2286
2457
|
exports.GoogleOAuth = GoogleOAuth;
|
|
2458
|
+
/**
|
|
2459
|
+
* GooglePlaces integration module
|
|
2460
|
+
*/
|
|
2461
|
+
class GooglePlaces {
|
|
2462
|
+
constructor() {
|
|
2463
|
+
// Get the generated API methods
|
|
2464
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2465
|
+
}
|
|
2466
|
+
/** Set Google Places API key for a user */
|
|
2467
|
+
setUserCredentials(body) {
|
|
2468
|
+
return this.api.googlePlacesSetUserCredentials(body);
|
|
2469
|
+
}
|
|
2470
|
+
/** Search places by text */
|
|
2471
|
+
searchText(body) {
|
|
2472
|
+
return this.api.googlePlacesSearchText(body);
|
|
2473
|
+
}
|
|
2474
|
+
/** Search places near a location */
|
|
2475
|
+
searchNearby(body) {
|
|
2476
|
+
return this.api.googlePlacesSearchNearby(body);
|
|
2477
|
+
}
|
|
2478
|
+
/** Get place details */
|
|
2479
|
+
getPlaceDetails(body) {
|
|
2480
|
+
return this.api.googlePlacesGetPlaceDetails(body);
|
|
2481
|
+
}
|
|
2482
|
+
/** Autocomplete address */
|
|
2483
|
+
autocomplete(body) {
|
|
2484
|
+
return this.api.googlePlacesAutocomplete(body);
|
|
2485
|
+
}
|
|
2486
|
+
/** Get place photo */
|
|
2487
|
+
getPhoto(body) {
|
|
2488
|
+
return this.api.googlePlacesGetPhoto(body);
|
|
2489
|
+
}
|
|
2490
|
+
/** Geocode an address */
|
|
2491
|
+
geocode(body) {
|
|
2492
|
+
return this.api.googlePlacesGeocode(body);
|
|
2493
|
+
}
|
|
2494
|
+
/** Reverse geocode coordinates */
|
|
2495
|
+
reverseGeocode(body) {
|
|
2496
|
+
return this.api.googlePlacesReverseGeocode(body);
|
|
2497
|
+
}
|
|
2498
|
+
/** Calculate distance matrix */
|
|
2499
|
+
calculateDistance(body) {
|
|
2500
|
+
return this.api.googlePlacesCalculateDistance(body);
|
|
2501
|
+
}
|
|
2502
|
+
}
|
|
2503
|
+
exports.GooglePlaces = GooglePlaces;
|
|
2287
2504
|
/**
|
|
2288
2505
|
* GoogleSheets integration module
|
|
2289
2506
|
*/
|
|
@@ -2939,6 +3156,88 @@ class MicrosoftSharepoint {
|
|
|
2939
3156
|
}
|
|
2940
3157
|
}
|
|
2941
3158
|
exports.MicrosoftSharepoint = MicrosoftSharepoint;
|
|
3159
|
+
/**
|
|
3160
|
+
* Middesk integration module
|
|
3161
|
+
*/
|
|
3162
|
+
class Middesk {
|
|
3163
|
+
constructor() {
|
|
3164
|
+
// Get the generated API methods
|
|
3165
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3166
|
+
}
|
|
3167
|
+
/** Store per-user Middesk credentials */
|
|
3168
|
+
setUserCredentials(body) {
|
|
3169
|
+
return this.api.middeskSetUserCredentials(body);
|
|
3170
|
+
}
|
|
3171
|
+
/** Submit a business for verification */
|
|
3172
|
+
createBusiness(body) {
|
|
3173
|
+
return this.api.middeskCreateBusiness(body);
|
|
3174
|
+
}
|
|
3175
|
+
/** Retrieve a business */
|
|
3176
|
+
getBusiness(body) {
|
|
3177
|
+
return this.api.middeskGetBusiness(body);
|
|
3178
|
+
}
|
|
3179
|
+
/** List businesses */
|
|
3180
|
+
listBusinesses(body) {
|
|
3181
|
+
return this.api.middeskListBusinesses(body);
|
|
3182
|
+
}
|
|
3183
|
+
/** Update a business record */
|
|
3184
|
+
updateBusiness(body) {
|
|
3185
|
+
return this.api.middeskUpdateBusiness(body);
|
|
3186
|
+
}
|
|
3187
|
+
/** Download verification report as PDF */
|
|
3188
|
+
getBusinessPdf(body) {
|
|
3189
|
+
return this.api.middeskGetBusinessPdf(body);
|
|
3190
|
+
}
|
|
3191
|
+
/** Create an order against a business */
|
|
3192
|
+
createOrder(body) {
|
|
3193
|
+
return this.api.middeskCreateOrder(body);
|
|
3194
|
+
}
|
|
3195
|
+
/** Retrieve an order */
|
|
3196
|
+
getOrder(body) {
|
|
3197
|
+
return this.api.middeskGetOrder(body);
|
|
3198
|
+
}
|
|
3199
|
+
/** List orders for a business */
|
|
3200
|
+
listOrders(body) {
|
|
3201
|
+
return this.api.middeskListOrders(body);
|
|
3202
|
+
}
|
|
3203
|
+
/** Enable monitoring on a business */
|
|
3204
|
+
createMonitor(body) {
|
|
3205
|
+
return this.api.middeskCreateMonitor(body);
|
|
3206
|
+
}
|
|
3207
|
+
/** Get monitoring state for a business */
|
|
3208
|
+
getMonitor(body) {
|
|
3209
|
+
return this.api.middeskGetMonitor(body);
|
|
3210
|
+
}
|
|
3211
|
+
/** Update monitoring config */
|
|
3212
|
+
updateMonitor(body) {
|
|
3213
|
+
return this.api.middeskUpdateMonitor(body);
|
|
3214
|
+
}
|
|
3215
|
+
/** Disable monitoring on a business */
|
|
3216
|
+
deleteMonitor(body) {
|
|
3217
|
+
return this.api.middeskDeleteMonitor(body);
|
|
3218
|
+
}
|
|
3219
|
+
/** Create a risk signal */
|
|
3220
|
+
createSignal(body) {
|
|
3221
|
+
return this.api.middeskCreateSignal(body);
|
|
3222
|
+
}
|
|
3223
|
+
/** Retrieve a signal */
|
|
3224
|
+
getSignal(body) {
|
|
3225
|
+
return this.api.middeskGetSignal(body);
|
|
3226
|
+
}
|
|
3227
|
+
/** List signals */
|
|
3228
|
+
listSignals(body) {
|
|
3229
|
+
return this.api.middeskListSignals(body);
|
|
3230
|
+
}
|
|
3231
|
+
/** Retrieve a document */
|
|
3232
|
+
getDocument(body) {
|
|
3233
|
+
return this.api.middeskGetDocument(body);
|
|
3234
|
+
}
|
|
3235
|
+
/** Get a temporary download URL for a document */
|
|
3236
|
+
getDocumentDownloadUrl(body) {
|
|
3237
|
+
return this.api.middeskGetDocumentDownloadUrl(body);
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
exports.Middesk = Middesk;
|
|
2942
3241
|
/**
|
|
2943
3242
|
* Notion integration module
|
|
2944
3243
|
*/
|
|
@@ -3018,6 +3317,71 @@ class Openai {
|
|
|
3018
3317
|
}
|
|
3019
3318
|
}
|
|
3020
3319
|
exports.Openai = Openai;
|
|
3320
|
+
/**
|
|
3321
|
+
* Pandadoc integration module
|
|
3322
|
+
*/
|
|
3323
|
+
class Pandadoc {
|
|
3324
|
+
constructor() {
|
|
3325
|
+
// Get the generated API methods
|
|
3326
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3327
|
+
}
|
|
3328
|
+
/** Initiate PandaDoc OAuth flow */
|
|
3329
|
+
oauthInitiate(body) {
|
|
3330
|
+
return this.api.pandadocOauthInitiate(body);
|
|
3331
|
+
}
|
|
3332
|
+
/** Set PandaDoc OAuth app credentials for a user */
|
|
3333
|
+
setUserCredentials(body) {
|
|
3334
|
+
return this.api.pandadocSetUserCredentials(body);
|
|
3335
|
+
}
|
|
3336
|
+
oauthCallback(...args) {
|
|
3337
|
+
return this.api.pandadocOauthCallback(...args);
|
|
3338
|
+
}
|
|
3339
|
+
/** Create a PandaDoc document */
|
|
3340
|
+
createDocument(body) {
|
|
3341
|
+
return this.api.pandadocCreateDocument(body);
|
|
3342
|
+
}
|
|
3343
|
+
/** Create a PandaDoc document from an uploaded file */
|
|
3344
|
+
createDocumentFromUpload(body) {
|
|
3345
|
+
return this.api.pandadocCreateDocumentFromUpload(body);
|
|
3346
|
+
}
|
|
3347
|
+
/** Send a PandaDoc document for signature */
|
|
3348
|
+
sendDocument(body) {
|
|
3349
|
+
return this.api.pandadocSendDocument(body);
|
|
3350
|
+
}
|
|
3351
|
+
/** Get PandaDoc document status */
|
|
3352
|
+
getDocumentStatus(body) {
|
|
3353
|
+
return this.api.pandadocGetDocumentStatus(body);
|
|
3354
|
+
}
|
|
3355
|
+
/** Download a completed PandaDoc document */
|
|
3356
|
+
downloadDocument(body) {
|
|
3357
|
+
return this.api.pandadocDownloadDocument(body);
|
|
3358
|
+
}
|
|
3359
|
+
/** List PandaDoc templates */
|
|
3360
|
+
listTemplates(body) {
|
|
3361
|
+
return this.api.pandadocListTemplates(body);
|
|
3362
|
+
}
|
|
3363
|
+
/** Create a PandaDoc template from a file */
|
|
3364
|
+
createTemplateFromFile(body) {
|
|
3365
|
+
return this.api.pandadocCreateTemplateFromFile(body);
|
|
3366
|
+
}
|
|
3367
|
+
/** Update a PandaDoc template */
|
|
3368
|
+
updateTemplate(body) {
|
|
3369
|
+
return this.api.pandadocUpdateTemplate(body);
|
|
3370
|
+
}
|
|
3371
|
+
/** Create a PandaDoc template editing session */
|
|
3372
|
+
createTemplateEditingSession(body) {
|
|
3373
|
+
return this.api.pandadocCreateTemplateEditingSession(body);
|
|
3374
|
+
}
|
|
3375
|
+
/** Delete a PandaDoc template */
|
|
3376
|
+
deleteTemplate(body) {
|
|
3377
|
+
return this.api.pandadocDeleteTemplate(body);
|
|
3378
|
+
}
|
|
3379
|
+
/** Update a PandaDoc pricing table */
|
|
3380
|
+
updateQuote(body) {
|
|
3381
|
+
return this.api.pandadocUpdateQuote(body);
|
|
3382
|
+
}
|
|
3383
|
+
}
|
|
3384
|
+
exports.Pandadoc = Pandadoc;
|
|
3021
3385
|
/**
|
|
3022
3386
|
* Plaid integration module
|
|
3023
3387
|
*/
|
|
@@ -4615,6 +4979,79 @@ class Wealthbox {
|
|
|
4615
4979
|
}
|
|
4616
4980
|
}
|
|
4617
4981
|
exports.Wealthbox = Wealthbox;
|
|
4982
|
+
/**
|
|
4983
|
+
* Zendesk integration module
|
|
4984
|
+
*/
|
|
4985
|
+
class Zendesk {
|
|
4986
|
+
constructor() {
|
|
4987
|
+
// Get the generated API methods
|
|
4988
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
4989
|
+
}
|
|
4990
|
+
/** Initiate Zendesk OAuth flow */
|
|
4991
|
+
oauthInitiate(body) {
|
|
4992
|
+
return this.api.zendeskOauthInitiate(body);
|
|
4993
|
+
}
|
|
4994
|
+
/** Store Zendesk per-user credentials */
|
|
4995
|
+
setUserCredentials(body) {
|
|
4996
|
+
return this.api.zendeskSetUserCredentials(body);
|
|
4997
|
+
}
|
|
4998
|
+
oauthCallback(...args) {
|
|
4999
|
+
return this.api.zendeskOauthCallback(...args);
|
|
5000
|
+
}
|
|
5001
|
+
/** Create a ticket */
|
|
5002
|
+
createTicket(body) {
|
|
5003
|
+
return this.api.zendeskCreateTicket(body);
|
|
5004
|
+
}
|
|
5005
|
+
/** Update a ticket */
|
|
5006
|
+
updateTicket(body) {
|
|
5007
|
+
return this.api.zendeskUpdateTicket(body);
|
|
5008
|
+
}
|
|
5009
|
+
/** Get a ticket */
|
|
5010
|
+
getTicket(body) {
|
|
5011
|
+
return this.api.zendeskGetTicket(body);
|
|
5012
|
+
}
|
|
5013
|
+
/** Get ticket comments */
|
|
5014
|
+
getTicketComments(body) {
|
|
5015
|
+
return this.api.zendeskGetTicketComments(body);
|
|
5016
|
+
}
|
|
5017
|
+
/** Get ticket audits */
|
|
5018
|
+
getTicketAudits(body) {
|
|
5019
|
+
return this.api.zendeskGetTicketAudits(body);
|
|
5020
|
+
}
|
|
5021
|
+
/** Preview macro on ticket */
|
|
5022
|
+
previewMacro(body) {
|
|
5023
|
+
return this.api.zendeskPreviewMacro(body);
|
|
5024
|
+
}
|
|
5025
|
+
/** Apply macro to ticket */
|
|
5026
|
+
applyMacro(body) {
|
|
5027
|
+
return this.api.zendeskApplyMacro(body);
|
|
5028
|
+
}
|
|
5029
|
+
/** List macros */
|
|
5030
|
+
listMacros(body) {
|
|
5031
|
+
return this.api.zendeskListMacros(body);
|
|
5032
|
+
}
|
|
5033
|
+
/** Get a macro */
|
|
5034
|
+
getMacro(body) {
|
|
5035
|
+
return this.api.zendeskGetMacro(body);
|
|
5036
|
+
}
|
|
5037
|
+
/** Get SLA policies */
|
|
5038
|
+
getSlaPolicies(body) {
|
|
5039
|
+
return this.api.zendeskGetSlaPolicies(body);
|
|
5040
|
+
}
|
|
5041
|
+
/** Get ticket SLA status */
|
|
5042
|
+
getTicketSla(body) {
|
|
5043
|
+
return this.api.zendeskGetTicketSla(body);
|
|
5044
|
+
}
|
|
5045
|
+
/** Search Help Center articles */
|
|
5046
|
+
searchArticles(body) {
|
|
5047
|
+
return this.api.zendeskSearchArticles(body);
|
|
5048
|
+
}
|
|
5049
|
+
/** Get a Help Center article */
|
|
5050
|
+
getArticle(body) {
|
|
5051
|
+
return this.api.zendeskGetArticle(body);
|
|
5052
|
+
}
|
|
5053
|
+
}
|
|
5054
|
+
exports.Zendesk = Zendesk;
|
|
4618
5055
|
// Re-export all types from generated API
|
|
4619
5056
|
__exportStar(require("./generated-api"), exports);
|
|
4620
5057
|
//# sourceMappingURL=index.js.map
|