@pushwoosh/rpc-v2-http-api-data 0.2.254 → 0.2.256
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/accounts_get_auth_info.d.ts +2 -0
- package/approvals.d.ts +35 -0
- package/data.js +64 -0
- package/package.json +1 -1
package/approvals.d.ts
CHANGED
|
@@ -115,3 +115,38 @@ export type GetContentVersionRequest = {
|
|
|
115
115
|
export type GetContentVersionResponse = {
|
|
116
116
|
version: ContentVersion;
|
|
117
117
|
};
|
|
118
|
+
export type BackfillContentVersionsRequest = {
|
|
119
|
+
/** Which content to sweep; required. */
|
|
120
|
+
ownerType: ContentOwnerType;
|
|
121
|
+
/** Resume point: only items with a strictly greater id are considered. */
|
|
122
|
+
afterId: number;
|
|
123
|
+
/** Items per call. 0 = 100, capped at 500. */
|
|
124
|
+
limit: number;
|
|
125
|
+
/** Report what would be written and write nothing. */
|
|
126
|
+
dryRun: boolean;
|
|
127
|
+
};
|
|
128
|
+
export type BackfillContentVersionsResponse = {
|
|
129
|
+
scanned: number;
|
|
130
|
+
/** Items that got a grandfathered version. A dry run writes nothing and counts into would_create. */
|
|
131
|
+
created: number;
|
|
132
|
+
/** Items that already held a version. */
|
|
133
|
+
skipped: number;
|
|
134
|
+
failed: number;
|
|
135
|
+
/** Last id considered; pass it as after_id to continue the sweep. */
|
|
136
|
+
lastId: number;
|
|
137
|
+
/** No items left after this page. */
|
|
138
|
+
done: boolean;
|
|
139
|
+
/** Items a dry run would have versioned — those that hold no version at all, not the whole page. */
|
|
140
|
+
wouldCreate: number;
|
|
141
|
+
/** Only the items the sweep could not read or write; the rest are counted, not listed. */
|
|
142
|
+
failures: BackfillContentVersionFailure[];
|
|
143
|
+
/**
|
|
144
|
+
* Items whose stored hash no longer matched the content and was rewritten; in a dry run,
|
|
145
|
+
* the items that would be rewritten.
|
|
146
|
+
*/
|
|
147
|
+
rehashed: number;
|
|
148
|
+
};
|
|
149
|
+
export type BackfillContentVersionFailure = {
|
|
150
|
+
ownerCode: string;
|
|
151
|
+
error: string;
|
|
152
|
+
};
|
package/data.js
CHANGED
|
@@ -2531,6 +2531,9 @@ export const data = {
|
|
|
2531
2531
|
},
|
|
2532
2532
|
"suspended": {
|
|
2533
2533
|
"type": "boolean"
|
|
2534
|
+
},
|
|
2535
|
+
"aceApproveMessages": {
|
|
2536
|
+
"type": "boolean"
|
|
2534
2537
|
}
|
|
2535
2538
|
}
|
|
2536
2539
|
},
|
|
@@ -7802,6 +7805,67 @@ export const data = {
|
|
|
7802
7805
|
}
|
|
7803
7806
|
}
|
|
7804
7807
|
},
|
|
7808
|
+
"pushwoosh.rpc_v2.approvals.BackfillContentVersionsRequest": {
|
|
7809
|
+
"type": "I",
|
|
7810
|
+
"fields": {
|
|
7811
|
+
"ownerType": {
|
|
7812
|
+
"type": "pushwoosh.rpc_v2.approvals.ContentOwnerType"
|
|
7813
|
+
},
|
|
7814
|
+
"afterId": {
|
|
7815
|
+
"type": "number"
|
|
7816
|
+
},
|
|
7817
|
+
"limit": {
|
|
7818
|
+
"type": "number"
|
|
7819
|
+
},
|
|
7820
|
+
"dryRun": {
|
|
7821
|
+
"type": "boolean"
|
|
7822
|
+
}
|
|
7823
|
+
}
|
|
7824
|
+
},
|
|
7825
|
+
"pushwoosh.rpc_v2.approvals.BackfillContentVersionsResponse": {
|
|
7826
|
+
"type": "I",
|
|
7827
|
+
"fields": {
|
|
7828
|
+
"scanned": {
|
|
7829
|
+
"type": "number"
|
|
7830
|
+
},
|
|
7831
|
+
"created": {
|
|
7832
|
+
"type": "number"
|
|
7833
|
+
},
|
|
7834
|
+
"skipped": {
|
|
7835
|
+
"type": "number"
|
|
7836
|
+
},
|
|
7837
|
+
"failed": {
|
|
7838
|
+
"type": "number"
|
|
7839
|
+
},
|
|
7840
|
+
"lastId": {
|
|
7841
|
+
"type": "number"
|
|
7842
|
+
},
|
|
7843
|
+
"done": {
|
|
7844
|
+
"type": "boolean"
|
|
7845
|
+
},
|
|
7846
|
+
"wouldCreate": {
|
|
7847
|
+
"type": "number"
|
|
7848
|
+
},
|
|
7849
|
+
"failures": {
|
|
7850
|
+
"type": "pushwoosh.rpc_v2.approvals.BackfillContentVersionFailure",
|
|
7851
|
+
"array": true
|
|
7852
|
+
},
|
|
7853
|
+
"rehashed": {
|
|
7854
|
+
"type": "number"
|
|
7855
|
+
}
|
|
7856
|
+
}
|
|
7857
|
+
},
|
|
7858
|
+
"pushwoosh.rpc_v2.approvals.BackfillContentVersionFailure": {
|
|
7859
|
+
"type": "I",
|
|
7860
|
+
"fields": {
|
|
7861
|
+
"ownerCode": {
|
|
7862
|
+
"type": "string"
|
|
7863
|
+
},
|
|
7864
|
+
"error": {
|
|
7865
|
+
"type": "string"
|
|
7866
|
+
}
|
|
7867
|
+
}
|
|
7868
|
+
},
|
|
7805
7869
|
"pushwoosh.rpc_v2.campaigns.CampaignsService": {
|
|
7806
7870
|
"type": "S",
|
|
7807
7871
|
"key": "campaigns",
|