merchi_sdk_ts 1.29.0 → 1.30.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -118,6 +118,20 @@ export interface StorefrontGoogleIntegrations {
118
118
  googleAdsQuoteConversionLabel?: string;
119
119
  }
120
120
 
121
+ export type StorefrontV2InfrastructureMode = 'platform' | 'byo';
122
+
123
+ /** Public BYO connection status (never includes encrypted tokens). */
124
+ export interface StorefrontV2ByoStatus {
125
+ infrastructureMode: StorefrontV2InfrastructureMode;
126
+ githubAppConfigured: boolean;
127
+ vercelOauthConfigured: boolean;
128
+ githubConnected: boolean;
129
+ vercelConnected: boolean;
130
+ githubAccountLogin?: string | null;
131
+ githubInstallationId?: string | null;
132
+ vercelTeamId?: string | null;
133
+ }
134
+
121
135
  export interface StorefrontV2Config {
122
136
  id?: number;
123
137
  domainId?: number;
@@ -132,6 +146,11 @@ export interface StorefrontV2Config {
132
146
  repoOwner?: string | null;
133
147
  repoName?: string | null;
134
148
  vercelProjectId?: string | null;
149
+ vercelTeamId?: string | null;
150
+ infrastructureMode?: StorefrontV2InfrastructureMode | string | null;
151
+ githubInstallationId?: string | null;
152
+ githubAccountLogin?: string | null;
153
+ byo?: StorefrontV2ByoStatus | null;
135
154
  lastSuccessfulCommitSha?: string | null;
136
155
  googleIntegrations?: StorefrontGoogleIntegrations | null;
137
156
  approvedStarterTemplates?: string[];