@remit/api-openapi-types 0.0.36 → 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 +40 -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;
|
|
@@ -4879,6 +4897,7 @@ declare namespace Paths {
|
|
|
4879
4897
|
export type RequestBody = Components.Schemas.CreateFilterInput;
|
|
4880
4898
|
namespace Responses {
|
|
4881
4899
|
export type $200 = void;
|
|
4900
|
+
export type $400 = void;
|
|
4882
4901
|
}
|
|
4883
4902
|
}
|
|
4884
4903
|
namespace GetFilter {
|
|
@@ -4962,6 +4981,7 @@ declare namespace Paths {
|
|
|
4962
4981
|
export type RequestBody = Components.Schemas.OrganizeInput;
|
|
4963
4982
|
namespace Responses {
|
|
4964
4983
|
export type $202 = void;
|
|
4984
|
+
export type $400 = void;
|
|
4965
4985
|
}
|
|
4966
4986
|
}
|
|
4967
4987
|
namespace PreviewOrganize {
|
|
@@ -4971,6 +4991,7 @@ declare namespace Paths {
|
|
|
4971
4991
|
export type RequestBody = Components.Schemas.OrganizeInput;
|
|
4972
4992
|
namespace Responses {
|
|
4973
4993
|
export type $200 = void;
|
|
4994
|
+
export type $400 = void;
|
|
4974
4995
|
}
|
|
4975
4996
|
}
|
|
4976
4997
|
namespace GetOrganizeJob {
|
|
@@ -5330,6 +5351,14 @@ export interface OperationMethods {
|
|
|
5330
5351
|
data?: any,
|
|
5331
5352
|
config?: AxiosRequestConfig
|
|
5332
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>;
|
|
5333
5362
|
/**
|
|
5334
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).
|
|
5335
5364
|
*/
|
|
@@ -5857,6 +5886,16 @@ export interface PathsDictionary {
|
|
|
5857
5886
|
config?: AxiosRequestConfig
|
|
5858
5887
|
): OperationResponse<Paths.GetConfig.Responses.$200>;
|
|
5859
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
|
+
};
|
|
5860
5899
|
['/system/update']: {
|
|
5861
5900
|
/**
|
|
5862
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).
|
|
@@ -6438,6 +6477,7 @@ export type AccountResponse = Components.Schemas.AccountResponse;
|
|
|
6438
6477
|
export type AddressFlagBase = Components.Schemas.AddressFlagBase;
|
|
6439
6478
|
export type MutedFlag = Components.Schemas.MutedFlag;
|
|
6440
6479
|
export type FolderAppointment = Components.Schemas.FolderAppointment;
|
|
6480
|
+
export type ConfigExportResponse = Components.Schemas.ConfigExportResponse;
|
|
6441
6481
|
export type SystemUpdateResponse = Components.Schemas.SystemUpdateResponse;
|
|
6442
6482
|
export type SystemUpdateCheck = Components.Schemas.SystemUpdateCheck;
|
|
6443
6483
|
export type SystemUpdateRun = Components.Schemas.SystemUpdateRun;
|