@epilot/app-client 0.13.1 → 0.13.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
@@ -1744,10 +1744,24 @@ declare namespace Components {
1744
1744
  [key: string]: any;
1745
1745
  };
1746
1746
  /**
1747
- * Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
1747
+ * Deprecated. Use `resolved.result` instead. Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
1748
1748
  */
1749
1749
  result?: string;
1750
1750
  };
1751
+ resolved?: {
1752
+ /**
1753
+ * Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
1754
+ */
1755
+ result?: string;
1756
+ /**
1757
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1758
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1759
+ *
1760
+ * example:
1761
+ * error.message
1762
+ */
1763
+ errorMessagePath?: string;
1764
+ };
1751
1765
  /**
1752
1766
  * Mode of contract assignment. See hook description for mode details.
1753
1767
  */
@@ -2129,10 +2143,24 @@ declare namespace Components {
2129
2143
  [key: string]: any;
2130
2144
  };
2131
2145
  /**
2132
- * Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
2146
+ * Deprecated. Use `resolved.result` instead. Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
2133
2147
  */
2134
2148
  result: string;
2135
2149
  };
2150
+ resolved?: {
2151
+ /**
2152
+ * Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
2153
+ */
2154
+ result?: string;
2155
+ /**
2156
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2157
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2158
+ *
2159
+ * example:
2160
+ * error.message
2161
+ */
2162
+ errorMessagePath?: string;
2163
+ };
2136
2164
  /**
2137
2165
  * Deprecated. Prefer `secure_proxy` instead.
2138
2166
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.