@remit/api-openapi-types 0.0.37 → 0.0.38
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 +37 -0
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1191,6 +1191,19 @@ never from a raw content-type line — parameters carry `name=` and
|
|
|
1191
1191
|
*/
|
|
1192
1192
|
staleAppointmentPath?: String512;
|
|
1193
1193
|
}
|
|
1194
|
+
/**
|
|
1195
|
+
* A configuration export: one versioned document carrying every user decision this instance holds, and no credential.
|
|
1196
|
+
*/
|
|
1197
|
+
export interface ConfigExportResponse {
|
|
1198
|
+
/**
|
|
1199
|
+
* Schema version of the document below
|
|
1200
|
+
*/
|
|
1201
|
+
schemaVersion: number;
|
|
1202
|
+
/**
|
|
1203
|
+
* The config document. Opaque here; the JSON Schema for `schemaVersion` is its contract.
|
|
1204
|
+
*/
|
|
1205
|
+
document: Record;
|
|
1206
|
+
}
|
|
1194
1207
|
/**
|
|
1195
1208
|
* The self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. One read serves every interface state. The check block and the run block are independent by construction (RFC 037 D7).
|
|
1196
1209
|
*/
|
|
@@ -4789,6 +4802,11 @@ declare namespace Paths {
|
|
|
4789
4802
|
export type $200 = void;
|
|
4790
4803
|
}
|
|
4791
4804
|
}
|
|
4805
|
+
namespace ExportConfig {
|
|
4806
|
+
namespace Responses {
|
|
4807
|
+
export type $200 = void;
|
|
4808
|
+
}
|
|
4809
|
+
}
|
|
4792
4810
|
namespace GetSystemUpdate {
|
|
4793
4811
|
export interface QueryParameters {
|
|
4794
4812
|
refresh?: boolean;
|
|
@@ -5333,6 +5351,14 @@ export interface OperationMethods {
|
|
|
5333
5351
|
data?: any,
|
|
5334
5352
|
config?: AxiosRequestConfig
|
|
5335
5353
|
): OperationResponse<Paths.GetConfig.Responses.$200>;
|
|
5354
|
+
/**
|
|
5355
|
+
* exportConfig - Export every configured setting for the caller as one versioned JSON document. Contains no credentials: no IMAP/SMTP password and no OAuth token, encrypted or otherwise, and the credential fields are structurally absent rather than blank. The document's own shape is not defined here - it is defined by the published JSON Schema for its `schemaVersion` (build/config-schema/reader-config.v<N>.schema.json), so a file keeps validating independent of this API's models.
|
|
5356
|
+
*/
|
|
5357
|
+
'exportConfig'(
|
|
5358
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5359
|
+
data?: any,
|
|
5360
|
+
config?: AxiosRequestConfig
|
|
5361
|
+
): OperationResponse<Paths.ExportConfig.Responses.$200>;
|
|
5336
5362
|
/**
|
|
5337
5363
|
* 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).
|
|
5338
5364
|
*/
|
|
@@ -5860,6 +5886,16 @@ export interface PathsDictionary {
|
|
|
5860
5886
|
config?: AxiosRequestConfig
|
|
5861
5887
|
): OperationResponse<Paths.GetConfig.Responses.$200>;
|
|
5862
5888
|
};
|
|
5889
|
+
['/config/export']: {
|
|
5890
|
+
/**
|
|
5891
|
+
* exportConfig - Export every configured setting for the caller as one versioned JSON document. Contains no credentials: no IMAP/SMTP password and no OAuth token, encrypted or otherwise, and the credential fields are structurally absent rather than blank. The document's own shape is not defined here - it is defined by the published JSON Schema for its `schemaVersion` (build/config-schema/reader-config.v<N>.schema.json), so a file keeps validating independent of this API's models.
|
|
5892
|
+
*/
|
|
5893
|
+
'get'(
|
|
5894
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5895
|
+
data?: any,
|
|
5896
|
+
config?: AxiosRequestConfig
|
|
5897
|
+
): OperationResponse<Paths.ExportConfig.Responses.$200>;
|
|
5898
|
+
};
|
|
5863
5899
|
['/system/update']: {
|
|
5864
5900
|
/**
|
|
5865
5901
|
* 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).
|
|
@@ -6441,6 +6477,7 @@ export type AccountResponse = Components.Schemas.AccountResponse;
|
|
|
6441
6477
|
export type AddressFlagBase = Components.Schemas.AddressFlagBase;
|
|
6442
6478
|
export type MutedFlag = Components.Schemas.MutedFlag;
|
|
6443
6479
|
export type FolderAppointment = Components.Schemas.FolderAppointment;
|
|
6480
|
+
export type ConfigExportResponse = Components.Schemas.ConfigExportResponse;
|
|
6444
6481
|
export type SystemUpdateResponse = Components.Schemas.SystemUpdateResponse;
|
|
6445
6482
|
export type SystemUpdateCheck = Components.Schemas.SystemUpdateCheck;
|
|
6446
6483
|
export type SystemUpdateRun = Components.Schemas.SystemUpdateRun;
|