merchi_sdk_js 0.18.1 → 0.19.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/domain.js +18 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.18.1",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
package/src/domain.js CHANGED
@@ -72,7 +72,6 @@ export function Domain() {
72
72
  addPropertyTo(this, 'showDomainToAccessibleEntitiesOnly')
73
73
  addPropertyTo(this, 'enableNotifications');
74
74
  addPropertyTo(this, 'assignToAgent');
75
- addPropertyTo(this, 'jobAgentPolicy');
76
75
  addPropertyTo(this, 'merchiAgentUser', User);
77
76
  addPropertyTo(this, 'enableEmailNotifications');
78
77
  addPropertyTo(this, 'enableSmsNotifications');
@@ -263,6 +262,19 @@ export function Domain() {
263
262
  * @property {string} [googleAdsQuoteConversionLabel]
264
263
  */
265
264
 
265
+ /**
266
+ * Public BYO connection status (never includes encrypted tokens).
267
+ * @typedef {Object} StorefrontV2ByoStatus
268
+ * @property {'platform'|'byo'} infrastructureMode
269
+ * @property {boolean} githubAppConfigured
270
+ * @property {boolean} vercelOauthConfigured
271
+ * @property {boolean} githubConnected
272
+ * @property {boolean} vercelConnected
273
+ * @property {string|null} [githubAccountLogin]
274
+ * @property {string|null} [githubInstallationId]
275
+ * @property {string|null} [vercelTeamId]
276
+ */
277
+
266
278
  /**
267
279
  * @typedef {Object} StorefrontV2Config
268
280
  * @property {number} [id]
@@ -278,6 +290,11 @@ export function Domain() {
278
290
  * @property {string|null} [repoOwner]
279
291
  * @property {string|null} [repoName]
280
292
  * @property {string|null} [vercelProjectId]
293
+ * @property {string|null} [vercelTeamId]
294
+ * @property {'platform'|'byo'|string|null} [infrastructureMode]
295
+ * @property {string|null} [githubInstallationId]
296
+ * @property {string|null} [githubAccountLogin]
297
+ * @property {StorefrontV2ByoStatus|null} [byo]
281
298
  * @property {string|null} [lastSuccessfulCommitSha]
282
299
  * @property {StorefrontGoogleIntegrations|null} [googleIntegrations]
283
300
  * @property {Array<string>} [approvedStarterTemplates]