@remit/api-openapi-types 0.0.114 → 0.0.115

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 +28 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.114",
3
+ "version": "0.0.115",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -2900,6 +2900,10 @@ recap, #1278). A distinct model, deliberately NOT a Filter: it carries no
2900
2900
  rule.
2901
2901
  */
2902
2902
  export interface OrganizeInput {
2903
+ /**
2904
+ * Start the pass at this position: the nextPosition of a finished job, to continue its selection. Send the predicate and action, or the filterId, that job ran.
2905
+ */
2906
+ startPosition?: string;
2903
2907
  /**
2904
2908
  * Back-apply this standing filter instead of the predicate in this body. The server reads the filter's persisted predicate and action, runs the pass over the inbox, and skips a move another active filter outranks, as index time does. The predicate and action fields of this body are ignored when it is set.
2905
2909
  */
@@ -3019,6 +3023,18 @@ standing to persist.
3019
3023
  * Number of matches the action was successfully applied to
3020
3024
  */
3021
3025
  appliedCount: number;
3026
+ /**
3027
+ * Where in the selection this job starts: the store position the job it continues stopped at, or empty to start at the newest message.
3028
+ */
3029
+ startPosition: string;
3030
+ /**
3031
+ * Where in the selection the next job continues, or empty when no message after this batch still matches.
3032
+ */
3033
+ nextPosition: string;
3034
+ /**
3035
+ * Number of messages after this batch that still match the selection, set when the pass completes. A job is capped, so a selection larger than the cap continues in a new job started at this job's nextPosition. Exact for a folder sweep; an upper bound for a rule, whose remaining rows are still refined by the rule.
3036
+ */
3037
+ remainingCount: number;
3022
3038
  /**
3023
3039
  * Number of matches whose action apply failed
3024
3040
  */
@@ -3088,6 +3104,14 @@ standing to persist.
3088
3104
  * Number of matches the action was successfully applied to
3089
3105
  */
3090
3106
  appliedCount: number;
3107
+ /**
3108
+ * Where in the selection the next job continues, or empty when no message after this batch still matches.
3109
+ */
3110
+ nextPosition: string;
3111
+ /**
3112
+ * Number of messages after this batch that still match the selection, set when the pass completes. A job is capped, so a selection larger than the cap continues in a new job started at this job's nextPosition. Exact for a folder sweep; an upper bound for a rule, whose remaining rows are still refined by the rule.
3113
+ */
3114
+ remainingCount: number;
3091
3115
  /**
3092
3116
  * Number of matches whose action apply failed
3093
3117
  */
@@ -9437,7 +9461,7 @@ export interface OperationMethods {
9437
9461
  config?: AxiosRequestConfig
9438
9462
  ): OperationResponse<Paths.DeleteLabel.Responses.$204>;
9439
9463
  /**
9440
- * OrganizeOperations_createOrganizeJob - Start a one-time "all like these" back-apply: match the corpus against the given predicate and apply the action to every match, in one pass. Returns immediately with an organizeJobId; poll GET /accounts/{accountId}/organize/{organizeJobId} for state and counts. Never creates a Filter row (RFC 034 recap).
9464
+ * OrganizeOperations_createOrganizeJob - Start a one-time "all like these" back-apply: match the corpus against the given predicate and apply the action to every match, in one pass of at most 500 messages. Returns immediately with an organizeJobId; poll GET /accounts/{accountId}/organize/{organizeJobId} for state, counts, remainingCount and the nextPosition that continues the selection. Never creates a Filter row (RFC 034 recap).
9441
9465
  */
9442
9466
  'OrganizeOperations_createOrganizeJob'(
9443
9467
  parameters?: Parameters<Paths.CreateOrganizeJob.PathParameters> | null,
@@ -9453,7 +9477,7 @@ export interface OperationMethods {
9453
9477
  config?: AxiosRequestConfig
9454
9478
  ): OperationResponse<Paths.PreviewOrganize.Responses.$200>;
9455
9479
  /**
9456
- * OrganizeJobDetailOperations_getOrganizeJob - Get the status of a back-apply job, including matched/applied/failed counts. Terminal states are Complete and Failed.
9480
+ * OrganizeJobDetailOperations_getOrganizeJob - Get the status of a back-apply job, including matched/applied/failed counts, how many messages still match after this batch, and the nextPosition that continues the selection. Terminal states are Complete and Failed.
9457
9481
  */
9458
9482
  'OrganizeJobDetailOperations_getOrganizeJob'(
9459
9483
  parameters?: Parameters<Paths.GetOrganizeJob.PathParameters> | null,
@@ -10405,7 +10429,7 @@ export interface PathsDictionary {
10405
10429
  };
10406
10430
  ['/accounts/{accountId}/organize']: {
10407
10431
  /**
10408
- * OrganizeOperations_createOrganizeJob - Start a one-time "all like these" back-apply: match the corpus against the given predicate and apply the action to every match, in one pass. Returns immediately with an organizeJobId; poll GET /accounts/{accountId}/organize/{organizeJobId} for state and counts. Never creates a Filter row (RFC 034 recap).
10432
+ * OrganizeOperations_createOrganizeJob - Start a one-time "all like these" back-apply: match the corpus against the given predicate and apply the action to every match, in one pass of at most 500 messages. Returns immediately with an organizeJobId; poll GET /accounts/{accountId}/organize/{organizeJobId} for state, counts, remainingCount and the nextPosition that continues the selection. Never creates a Filter row (RFC 034 recap).
10409
10433
  */
10410
10434
  'post'(
10411
10435
  parameters?: Parameters<Paths.CreateOrganizeJob.PathParameters> | null,
@@ -10425,7 +10449,7 @@ export interface PathsDictionary {
10425
10449
  };
10426
10450
  ['/accounts/{accountId}/organize/{organizeJobId}']: {
10427
10451
  /**
10428
- * OrganizeJobDetailOperations_getOrganizeJob - Get the status of a back-apply job, including matched/applied/failed counts. Terminal states are Complete and Failed.
10452
+ * OrganizeJobDetailOperations_getOrganizeJob - Get the status of a back-apply job, including matched/applied/failed counts, how many messages still match after this batch, and the nextPosition that continues the selection. Terminal states are Complete and Failed.
10429
10453
  */
10430
10454
  'get'(
10431
10455
  parameters?: Parameters<Paths.GetOrganizeJob.PathParameters> | null,