@epilot/app-client 0.6.0-rc.1 → 0.6.0-rc.2

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/openapi.d.ts CHANGED
@@ -91,9 +91,17 @@ declare namespace Components {
91
91
  namespace Schemas {
92
92
  export interface AppBridgeSurfaceConfig {
93
93
  /**
94
- * URL of the uploaded App Bridge App
94
+ * URL of the uploaded App Bridge App. This is the entrypoint for the app
95
95
  */
96
96
  app_url: string;
97
+ /**
98
+ * URL of the uploaded zip file containing the app
99
+ */
100
+ zip_url?: string;
101
+ /**
102
+ * URL of the app in dev mode
103
+ */
104
+ override_url?: string;
97
105
  }
98
106
  export interface Audit {
99
107
  /**
@@ -162,6 +170,9 @@ declare namespace Components {
162
170
  * List of options for the app component
163
171
  */
164
172
  options?: /* Options for the component configuration */ Options[];
173
+ surfaces?: {
174
+ [key: string]: any;
175
+ };
165
176
  } & (JourneyBlockComponent | PortalExtensionComponent | CustomFlowActionComponent);
166
177
  export interface BaseComponentCommon {
167
178
  /**
@@ -198,6 +209,9 @@ declare namespace Components {
198
209
  * List of options for the app component
199
210
  */
200
211
  options?: /* Options for the component configuration */ Options[];
212
+ surfaces?: {
213
+ [key: string]: any;
214
+ };
201
215
  }
202
216
  export interface BaseCustomActionConfig {
203
217
  /**
@@ -874,7 +888,7 @@ declare namespace Components {
874
888
  /**
875
889
  * URL of the web component object in dev mode
876
890
  * example:
877
- * http://localhost:3000/bundle.js
891
+ * http://localhost:3000
878
892
  */
879
893
  override_url?: string;
880
894
  }
@@ -1157,6 +1171,11 @@ declare namespace Paths {
1157
1171
  appId: Parameters.AppId;
1158
1172
  }
1159
1173
  export interface RequestBody {
1174
+ /**
1175
+ * example:
1176
+ * dist.zip
1177
+ */
1178
+ filename?: string;
1160
1179
  }
1161
1180
  namespace Responses {
1162
1181
  export interface $200 {
package/dist/openapi.json CHANGED
@@ -342,7 +342,13 @@
342
342
  "application/json": {
343
343
  "schema": {
344
344
  "type": "object",
345
- "additionalProperties": false
345
+ "additionalProperties": false,
346
+ "properties": {
347
+ "filename": {
348
+ "type": "string",
349
+ "example": "dist.zip"
350
+ }
351
+ }
346
352
  }
347
353
  }
348
354
  }
@@ -1528,6 +1534,9 @@
1528
1534
  "$ref": "#/components/schemas/Options"
1529
1535
  },
1530
1536
  "description": "List of options for the app component"
1537
+ },
1538
+ "surfaces": {
1539
+ "type": "object"
1531
1540
  }
1532
1541
  }
1533
1542
  },
@@ -1815,7 +1824,7 @@
1815
1824
  "override_url": {
1816
1825
  "type": "string",
1817
1826
  "description": "URL of the web component object in dev mode",
1818
- "example": "http://localhost:3000/bundle.js"
1827
+ "example": "http://localhost:3000"
1819
1828
  }
1820
1829
  }
1821
1830
  },
@@ -1873,7 +1882,15 @@
1873
1882
  "properties": {
1874
1883
  "app_url": {
1875
1884
  "type": "string",
1876
- "description": "URL of the uploaded App Bridge App"
1885
+ "description": "URL of the uploaded App Bridge App. This is the entrypoint for the app"
1886
+ },
1887
+ "zip_url": {
1888
+ "type": "string",
1889
+ "description": "URL of the uploaded zip file containing the app"
1890
+ },
1891
+ "override_url": {
1892
+ "type": "string",
1893
+ "description": "URL of the app in dev mode"
1877
1894
  }
1878
1895
  },
1879
1896
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/app-client",
3
- "version": "0.6.0-rc.1",
3
+ "version": "0.6.0-rc.2",
4
4
  "description": "JavaScript client library for the epilot App API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",