@remit/api-openapi-types 0.0.34 → 0.0.36
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/package.json +1 -1
- package/types.d.ts +11 -4
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -2077,6 +2077,10 @@ standing to persist.
|
|
|
2077
2077
|
* Number of mailboxes whose initial message sync has completed
|
|
2078
2078
|
*/
|
|
2079
2079
|
mailboxCountSynced?: number;
|
|
2080
|
+
/**
|
|
2081
|
+
* When the account's most recent sync round started, stamped once per round by the worker. A client that triggered a sync compares this against the reading it took before triggering, so it confirms only on a round of its own rather than one already in flight.
|
|
2082
|
+
*/
|
|
2083
|
+
lastSyncAt?: number;
|
|
2080
2084
|
/**
|
|
2081
2085
|
* Per-mailbox sync progress
|
|
2082
2086
|
*/
|
|
@@ -4786,6 +4790,9 @@ declare namespace Paths {
|
|
|
4786
4790
|
}
|
|
4787
4791
|
}
|
|
4788
4792
|
namespace GetSystemUpdate {
|
|
4793
|
+
export interface QueryParameters {
|
|
4794
|
+
refresh?: boolean;
|
|
4795
|
+
}
|
|
4789
4796
|
namespace Responses {
|
|
4790
4797
|
export type $200 = void;
|
|
4791
4798
|
}
|
|
@@ -5324,10 +5331,10 @@ export interface OperationMethods {
|
|
|
5324
5331
|
config?: AxiosRequestConfig
|
|
5325
5332
|
): OperationResponse<Paths.GetConfig.Responses.$200>;
|
|
5326
5333
|
/**
|
|
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).
|
|
5334
|
+
* 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
5335
|
*/
|
|
5329
5336
|
'getSystemUpdate'(
|
|
5330
|
-
parameters?: Parameters<
|
|
5337
|
+
parameters?: Parameters<Paths.GetSystemUpdate.QueryParameters> | null,
|
|
5331
5338
|
data?: any,
|
|
5332
5339
|
config?: AxiosRequestConfig
|
|
5333
5340
|
): OperationResponse<Paths.GetSystemUpdate.Responses.$200>;
|
|
@@ -5852,10 +5859,10 @@ export interface PathsDictionary {
|
|
|
5852
5859
|
};
|
|
5853
5860
|
['/system/update']: {
|
|
5854
5861
|
/**
|
|
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).
|
|
5862
|
+
* 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
5863
|
*/
|
|
5857
5864
|
'get'(
|
|
5858
|
-
parameters?: Parameters<
|
|
5865
|
+
parameters?: Parameters<Paths.GetSystemUpdate.QueryParameters> | null,
|
|
5859
5866
|
data?: any,
|
|
5860
5867
|
config?: AxiosRequestConfig
|
|
5861
5868
|
): OperationResponse<Paths.GetSystemUpdate.Responses.$200>;
|