@remit/api-openapi-types 0.0.34 → 0.0.35

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/types.d.ts +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -4786,6 +4786,9 @@ declare namespace Paths {
4786
4786
  }
4787
4787
  }
4788
4788
  namespace GetSystemUpdate {
4789
+ export interface QueryParameters {
4790
+ refresh?: boolean;
4791
+ }
4789
4792
  namespace Responses {
4790
4793
  export type $200 = void;
4791
4794
  }
@@ -5324,10 +5327,10 @@ export interface OperationMethods {
5324
5327
  config?: AxiosRequestConfig
5325
5328
  ): OperationResponse<Paths.GetConfig.Responses.$200>;
5326
5329
  /**
5327
- * getSystemUpdate - Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
5330
+ * getSystemUpdate - Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. With `refresh=true`, records a check request on the control volume for the updater to pick up and answers with the stored state as it stands; the caller watches `check.lastCheckedAt` for the updater's answer. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
5328
5331
  */
5329
5332
  'getSystemUpdate'(
5330
- parameters?: Parameters<UnknownParamsObject> | null,
5333
+ parameters?: Parameters<Paths.GetSystemUpdate.QueryParameters> | null,
5331
5334
  data?: any,
5332
5335
  config?: AxiosRequestConfig
5333
5336
  ): OperationResponse<Paths.GetSystemUpdate.Responses.$200>;
@@ -5852,10 +5855,10 @@ export interface PathsDictionary {
5852
5855
  };
5853
5856
  ['/system/update']: {
5854
5857
  /**
5855
- * getSystemUpdate - Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
5858
+ * getSystemUpdate - Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. With `refresh=true`, records a check request on the control volume for the updater to pick up and answers with the stored state as it stands; the caller watches `check.lastCheckedAt` for the updater's answer. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
5856
5859
  */
5857
5860
  'get'(
5858
- parameters?: Parameters<UnknownParamsObject> | null,
5861
+ parameters?: Parameters<Paths.GetSystemUpdate.QueryParameters> | null,
5859
5862
  data?: any,
5860
5863
  config?: AxiosRequestConfig
5861
5864
  ): OperationResponse<Paths.GetSystemUpdate.Responses.$200>;