@opens/gateways 1.16.23 → 1.16.24

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.mjs CHANGED
@@ -957,6 +957,16 @@ var IntegrationsGateway = class {
957
957
  );
958
958
  return data;
959
959
  }
960
+ /**
961
+ * Submits an app using the supplied context.
962
+ * @param appId - The app identifier.
963
+ * @param context - The JSON context submitted to the app.
964
+ * @returns The response produced by the app submission.
965
+ */
966
+ async submitApp({ appId, context }) {
967
+ const { data } = await this.httpClient.post(`${this.baseUrl}/apps/${appId}/submit`, { context });
968
+ return data;
969
+ }
960
970
  /**
961
971
  * Retrieves all integration partners configured for a company.
962
972
  * @param companyId - The company identifier.