@adspireai/adspire-node-sdk 1.0.370 → 1.0.371

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.
@@ -644,6 +644,28 @@ export type CampaignUpdateRequest = {
644
644
  */
645
645
  status?: CampaignStatus | null;
646
646
  };
647
+ export type ConnectorInstallationInstallRequest = {
648
+ /**
649
+ * Connector definition slug
650
+ */
651
+ connector_type: string;
652
+ store_url?: string | null;
653
+ shop?: string | null;
654
+ config?: {
655
+ [key: string]: unknown;
656
+ } | null;
657
+ };
658
+ export type ConnectorInstallationInstallResponse = {
659
+ installation_id?: string;
660
+ /**
661
+ * Connector-side install id
662
+ */
663
+ hash?: string;
664
+ /**
665
+ * Redirect the user here to finish OAuth
666
+ */
667
+ auth_url?: string | null;
668
+ };
647
669
  export type ConnectorInstallationStoreRequest = {
648
670
  /**
649
671
  * Connector ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adspireai/adspire-node-sdk",
3
- "version": "1.0.370",
3
+ "version": "1.0.371",
4
4
  "description": "Official Node.js SDK for AdspireAI API",
5
5
  "main": "dist-public/index.js",
6
6
  "types": "dist-public/index.d.ts",