@uptiqai/integrations-sdk 1.18.0 → 1.20.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/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.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Salesforce = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.Notion = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.MicrosoftExcel365 = exports.Mailchimp = exports.Jira = exports.Hubspot = exports.GoogleSlides = exports.GoogleSheets = exports.GoogleOAuth = 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.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.AzureBlobStorage = exports.AwsS3 = exports.Anthropic = exports.AlphaVantage = exports.Alloy = exports.Abrigo = void 0;
18
- exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = void 0;
17
+ exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Shopify = exports.Salesforce = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.Notion = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.MicrosoftExcel365 = exports.Mailchimp = exports.Jira = exports.Hubspot = exports.GoogleSlides = exports.GoogleSheets = 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.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.AzureKms = exports.AzureBlobStorage = exports.AwsS3 = exports.AwsKms = exports.Anthropic = exports.AlphaVantage = exports.Alloy = exports.Abrigo = void 0;
18
+ exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = void 0;
19
19
  const generated_api_1 = require("./generated-api");
20
20
  /**
21
21
  * UPTIQ Integrations SDK
@@ -515,6 +515,28 @@ class Anthropic {
515
515
  }
516
516
  }
517
517
  exports.Anthropic = Anthropic;
518
+ /**
519
+ * AwsKms integration module
520
+ */
521
+ class AwsKms {
522
+ constructor() {
523
+ // Get the generated API methods
524
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
525
+ }
526
+ /** Store per-user AWS KMS credentials */
527
+ awsKmsSetUserCredentials(body) {
528
+ return this.api.awsKmsSetUserCredentials(body);
529
+ }
530
+ /** Encrypt plaintext with the configured KMS key */
531
+ awsKmsEncrypt(body) {
532
+ return this.api.awsKmsEncrypt(body);
533
+ }
534
+ /** Decrypt ciphertext previously produced by AWS KMS */
535
+ awsKmsDecrypt(body) {
536
+ return this.api.awsKmsDecrypt(body);
537
+ }
538
+ }
539
+ exports.AwsKms = AwsKms;
518
540
  /**
519
541
  * AwsS3 integration module
520
542
  */
@@ -626,6 +648,28 @@ class AzureBlobStorage {
626
648
  }
627
649
  }
628
650
  exports.AzureBlobStorage = AzureBlobStorage;
651
+ /**
652
+ * AzureKms integration module
653
+ */
654
+ class AzureKms {
655
+ constructor() {
656
+ // Get the generated API methods
657
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
658
+ }
659
+ /** Store per-user Azure Key Vault credentials */
660
+ azureKmsSetUserCredentials(body) {
661
+ return this.api.azureKmsSetUserCredentials(body);
662
+ }
663
+ /** Encrypt plaintext with the configured Key Vault key */
664
+ azureKmsEncrypt(body) {
665
+ return this.api.azureKmsEncrypt(body);
666
+ }
667
+ /** Decrypt ciphertext previously produced by Azure Key Vault */
668
+ azureKmsDecrypt(body) {
669
+ return this.api.azureKmsDecrypt(body);
670
+ }
671
+ }
672
+ exports.AzureKms = AzureKms;
629
673
  /**
630
674
  * CreditsafeCompliance integration module
631
675
  */
@@ -2091,6 +2135,28 @@ class GoogleGenerativeAIImage {
2091
2135
  }
2092
2136
  }
2093
2137
  exports.GoogleGenerativeAIImage = GoogleGenerativeAIImage;
2138
+ /**
2139
+ * GoogleKms integration module
2140
+ */
2141
+ class GoogleKms {
2142
+ constructor() {
2143
+ // Get the generated API methods
2144
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
2145
+ }
2146
+ /** Store per-user Google Cloud KMS credentials */
2147
+ googleKmsSetUserCredentials(body) {
2148
+ return this.api.googleKmsSetUserCredentials(body);
2149
+ }
2150
+ /** Encrypt plaintext with the configured KMS key */
2151
+ googleKmsEncrypt(body) {
2152
+ return this.api.googleKmsEncrypt(body);
2153
+ }
2154
+ /** Decrypt ciphertext previously produced by Google Cloud KMS */
2155
+ googleKmsDecrypt(body) {
2156
+ return this.api.googleKmsDecrypt(body);
2157
+ }
2158
+ }
2159
+ exports.GoogleKms = GoogleKms;
2094
2160
  /**
2095
2161
  * GoogleOAuth integration module
2096
2162
  */
@@ -3338,6 +3404,123 @@ class Salesforce {
3338
3404
  }
3339
3405
  }
3340
3406
  exports.Salesforce = Salesforce;
3407
+ /**
3408
+ * Shopify integration module
3409
+ */
3410
+ class Shopify {
3411
+ constructor() {
3412
+ // Get the generated API methods
3413
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
3414
+ }
3415
+ /** Initiate Shopify OAuth flow */
3416
+ oauthInitiate(body) {
3417
+ return this.api.shopifyOauthInitiate(body);
3418
+ }
3419
+ /** Store Shopify per-user OAuth app credentials and shop handle */
3420
+ setUserCredentials(body) {
3421
+ return this.api.shopifySetUserCredentials(body);
3422
+ }
3423
+ oauthCallback(...args) {
3424
+ return this.api.shopifyOauthCallback(...args);
3425
+ }
3426
+ /** List products */
3427
+ listProducts(body) {
3428
+ return this.api.shopifyListProducts(body);
3429
+ }
3430
+ /** Get a product */
3431
+ getProduct(body) {
3432
+ return this.api.shopifyGetProduct(body);
3433
+ }
3434
+ /** Create a product */
3435
+ createProduct(body) {
3436
+ return this.api.shopifyCreateProduct(body);
3437
+ }
3438
+ /** Update a product */
3439
+ updateProduct(body) {
3440
+ return this.api.shopifyUpdateProduct(body);
3441
+ }
3442
+ /** Delete a product */
3443
+ deleteProduct(body) {
3444
+ return this.api.shopifyDeleteProduct(body);
3445
+ }
3446
+ /** Bulk create product variants */
3447
+ bulkCreateProductVariants(body) {
3448
+ return this.api.shopifyBulkCreateProductVariants(body);
3449
+ }
3450
+ /** Bulk update product variants */
3451
+ bulkUpdateProductVariants(body) {
3452
+ return this.api.shopifyBulkUpdateProductVariants(body);
3453
+ }
3454
+ /** List orders */
3455
+ listOrders(body) {
3456
+ return this.api.shopifyListOrders(body);
3457
+ }
3458
+ /** Get an order */
3459
+ getOrder(body) {
3460
+ return this.api.shopifyGetOrder(body);
3461
+ }
3462
+ /** List customers */
3463
+ listCustomers(body) {
3464
+ return this.api.shopifyListCustomers(body);
3465
+ }
3466
+ /** Get a customer */
3467
+ getCustomer(body) {
3468
+ return this.api.shopifyGetCustomer(body);
3469
+ }
3470
+ /** Create a customer */
3471
+ createCustomer(body) {
3472
+ return this.api.shopifyCreateCustomer(body);
3473
+ }
3474
+ /** Update a customer */
3475
+ updateCustomer(body) {
3476
+ return this.api.shopifyUpdateCustomer(body);
3477
+ }
3478
+ /** List inventory items */
3479
+ listInventoryItems(body) {
3480
+ return this.api.shopifyListInventoryItems(body);
3481
+ }
3482
+ /** Get inventory level at a location */
3483
+ getInventoryLevel(body) {
3484
+ return this.api.shopifyGetInventoryLevel(body);
3485
+ }
3486
+ /** List locations */
3487
+ listLocations(body) {
3488
+ return this.api.shopifyListLocations(body);
3489
+ }
3490
+ /** Adjust inventory quantities (delta) */
3491
+ adjustInventoryQuantities(body) {
3492
+ return this.api.shopifyAdjustInventoryQuantities(body);
3493
+ }
3494
+ /** Set inventory quantities (absolute) */
3495
+ setInventoryQuantities(body) {
3496
+ return this.api.shopifySetInventoryQuantities(body);
3497
+ }
3498
+ /** List fulfillment orders for an order */
3499
+ listFulfillmentOrders(body) {
3500
+ return this.api.shopifyListFulfillmentOrders(body);
3501
+ }
3502
+ /** Create a fulfillment */
3503
+ createFulfillment(body) {
3504
+ return this.api.shopifyCreateFulfillment(body);
3505
+ }
3506
+ /** Update fulfillment tracking */
3507
+ updateFulfillmentTracking(body) {
3508
+ return this.api.shopifyUpdateFulfillmentTracking(body);
3509
+ }
3510
+ /** Cancel a fulfillment */
3511
+ cancelFulfillment(body) {
3512
+ return this.api.shopifyCancelFulfillment(body);
3513
+ }
3514
+ /** Run a ShopifyQL analytics query */
3515
+ runShopifyqlQuery(body) {
3516
+ return this.api.shopifyRunShopifyqlQuery(body);
3517
+ }
3518
+ /** Get shop context (currency, timezone, plan) */
3519
+ getShop(body) {
3520
+ return this.api.shopifyGetShop(body);
3521
+ }
3522
+ }
3523
+ exports.Shopify = Shopify;
3341
3524
  /**
3342
3525
  * Slack integration module
3343
3526
  */