rflib-plugin 0.21.2 → 0.21.3
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/oclif.lock +3 -3
- package/oclif.manifest.json +99 -99
- package/package.json +1 -1
package/oclif.lock
CHANGED
|
@@ -4625,9 +4625,9 @@ jiti@^2.6.1:
|
|
|
4625
4625
|
integrity sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==
|
|
4626
4626
|
|
|
4627
4627
|
joi@^18.2.3:
|
|
4628
|
-
version "18.2.
|
|
4629
|
-
resolved "https://registry.yarnpkg.com/joi/-/joi-18.2.
|
|
4630
|
-
integrity sha512
|
|
4628
|
+
version "18.2.9"
|
|
4629
|
+
resolved "https://registry.yarnpkg.com/joi/-/joi-18.2.9.tgz#8f489aebefab85cfa9979ea4471e3eea022787b1"
|
|
4630
|
+
integrity sha512-2mD929bUVKUhOLQQEVhlf6EZ0Mlo0DeRb5MO7cViR9AXLtBauuccEtB1py9Ocxpo/P7ucnh442iY/iOwrh3IQw==
|
|
4631
4631
|
dependencies:
|
|
4632
4632
|
"@hapi/address" "^5.1.1"
|
|
4633
4633
|
"@hapi/formula" "^3.0.2"
|
package/oclif.manifest.json
CHANGED
|
@@ -93,13 +93,14 @@
|
|
|
93
93
|
"upgrade:packages:rflib"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
-
"rflib:debug:
|
|
96
|
+
"rflib:debug:applicationevents:get": {
|
|
97
97
|
"aliases": [],
|
|
98
98
|
"args": {},
|
|
99
|
-
"description": "Retrieves
|
|
99
|
+
"description": "Retrieves rflib_Application_Event__c records from the target org via the Salesforce REST API.\nApplication Events are business-level events used to track feature adoption, user actions, and domain-specific milestones.\nResults are ordered by Occurred_On__c descending (most recent first).\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent read access to rflib_Application_Event__c).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
|
|
100
100
|
"examples": [
|
|
101
|
-
"Get
|
|
102
|
-
"Get
|
|
101
|
+
"Get all application events from the default org:\n$ sf rflib debug applicationevents get --target-org myOrg",
|
|
102
|
+
"Get events filtered by name and date range:\n$ sf rflib debug applicationevents get --target-org myOrg --event-name \"order-%\" --start-date 2024-01-01T00:00:00Z",
|
|
103
|
+
"Get events related to a specific record with a custom limit:\n$ sf rflib debug applicationevents get --target-org myOrg --related-record-id 0017000000XXXXXX --record-limit 50"
|
|
103
104
|
],
|
|
104
105
|
"flags": {
|
|
105
106
|
"json": {
|
|
@@ -128,20 +129,47 @@
|
|
|
128
129
|
"multiple": false,
|
|
129
130
|
"type": "option"
|
|
130
131
|
},
|
|
132
|
+
"event-name": {
|
|
133
|
+
"char": "e",
|
|
134
|
+
"description": "Filter Application Events by their Event_Name__c field. Use the % character as a wildcard for partial matches, for example \"order-%\".",
|
|
135
|
+
"name": "event-name",
|
|
136
|
+
"summary": "Filter by event name. Use % as a wildcard.",
|
|
137
|
+
"hasDynamicHelp": false,
|
|
138
|
+
"multiple": false,
|
|
139
|
+
"type": "option"
|
|
140
|
+
},
|
|
131
141
|
"start-date": {
|
|
132
142
|
"char": "s",
|
|
133
|
-
"description": "Only return
|
|
143
|
+
"description": "Only return events where Occurred_On__c is on or after this date. Must be in ISO 8601 format, e.g. 2024-01-01T00:00:00Z.",
|
|
134
144
|
"name": "start-date",
|
|
135
|
-
"summary": "
|
|
145
|
+
"summary": "Filter events on or after this ISO 8601 date.",
|
|
136
146
|
"hasDynamicHelp": false,
|
|
137
147
|
"multiple": false,
|
|
138
148
|
"type": "option"
|
|
139
149
|
},
|
|
140
150
|
"end-date": {
|
|
141
151
|
"char": "d",
|
|
142
|
-
"description": "Only return
|
|
152
|
+
"description": "Only return events where Occurred_On__c is on or before this date. Must be in ISO 8601 format, e.g. 2024-12-31T23:59:59Z.",
|
|
143
153
|
"name": "end-date",
|
|
144
|
-
"summary": "
|
|
154
|
+
"summary": "Filter events on or before this ISO 8601 date.",
|
|
155
|
+
"hasDynamicHelp": false,
|
|
156
|
+
"multiple": false,
|
|
157
|
+
"type": "option"
|
|
158
|
+
},
|
|
159
|
+
"related-record-id": {
|
|
160
|
+
"char": "r",
|
|
161
|
+
"description": "Only return events associated with this specific record ID.",
|
|
162
|
+
"name": "related-record-id",
|
|
163
|
+
"summary": "Filter by Related_Record_ID__c (exact match).",
|
|
164
|
+
"hasDynamicHelp": false,
|
|
165
|
+
"multiple": false,
|
|
166
|
+
"type": "option"
|
|
167
|
+
},
|
|
168
|
+
"record-limit": {
|
|
169
|
+
"char": "l",
|
|
170
|
+
"description": "Controls how many Application Event records are returned. Defaults to 200. Maximum allowed value is 2000.",
|
|
171
|
+
"name": "record-limit",
|
|
172
|
+
"summary": "Maximum number of records to return (default 200, max 2000).",
|
|
145
173
|
"hasDynamicHelp": false,
|
|
146
174
|
"multiple": false,
|
|
147
175
|
"type": "option"
|
|
@@ -149,12 +177,12 @@
|
|
|
149
177
|
},
|
|
150
178
|
"hasDynamicHelp": true,
|
|
151
179
|
"hiddenAliases": [],
|
|
152
|
-
"id": "rflib:debug:
|
|
180
|
+
"id": "rflib:debug:applicationevents:get",
|
|
153
181
|
"pluginAlias": "rflib-plugin",
|
|
154
182
|
"pluginName": "rflib-plugin",
|
|
155
183
|
"pluginType": "core",
|
|
156
184
|
"strict": true,
|
|
157
|
-
"summary": "Query RFLIB
|
|
185
|
+
"summary": "Query RFLIB Application Events from a Salesforce org.",
|
|
158
186
|
"enableJsonFlag": true,
|
|
159
187
|
"isESM": true,
|
|
160
188
|
"relativePath": [
|
|
@@ -162,45 +190,44 @@
|
|
|
162
190
|
"commands",
|
|
163
191
|
"rflib",
|
|
164
192
|
"debug",
|
|
165
|
-
"
|
|
193
|
+
"applicationevents",
|
|
166
194
|
"get.js"
|
|
167
195
|
],
|
|
168
196
|
"aliasPermutations": [],
|
|
169
197
|
"permutations": [
|
|
170
|
-
"rflib:debug:
|
|
171
|
-
"debug:rflib:
|
|
172
|
-
"debug:
|
|
173
|
-
"debug:
|
|
174
|
-
"rflib:
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"rflib:
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"rflib:debug:get:
|
|
183
|
-
"debug:rflib:get:
|
|
184
|
-
"debug:get:rflib:
|
|
185
|
-
"debug:get:
|
|
186
|
-
"rflib:get:debug:
|
|
187
|
-
"get:rflib:debug:
|
|
188
|
-
"get:debug:rflib:
|
|
189
|
-
"get:debug:
|
|
190
|
-
"rflib:get:
|
|
191
|
-
"get:rflib:
|
|
192
|
-
"get:
|
|
193
|
-
"get:
|
|
198
|
+
"rflib:debug:applicationevents:get",
|
|
199
|
+
"debug:rflib:applicationevents:get",
|
|
200
|
+
"debug:applicationevents:rflib:get",
|
|
201
|
+
"debug:applicationevents:get:rflib",
|
|
202
|
+
"rflib:applicationevents:debug:get",
|
|
203
|
+
"applicationevents:rflib:debug:get",
|
|
204
|
+
"applicationevents:debug:rflib:get",
|
|
205
|
+
"applicationevents:debug:get:rflib",
|
|
206
|
+
"rflib:applicationevents:get:debug",
|
|
207
|
+
"applicationevents:rflib:get:debug",
|
|
208
|
+
"applicationevents:get:rflib:debug",
|
|
209
|
+
"applicationevents:get:debug:rflib",
|
|
210
|
+
"rflib:debug:get:applicationevents",
|
|
211
|
+
"debug:rflib:get:applicationevents",
|
|
212
|
+
"debug:get:rflib:applicationevents",
|
|
213
|
+
"debug:get:applicationevents:rflib",
|
|
214
|
+
"rflib:get:debug:applicationevents",
|
|
215
|
+
"get:rflib:debug:applicationevents",
|
|
216
|
+
"get:debug:rflib:applicationevents",
|
|
217
|
+
"get:debug:applicationevents:rflib",
|
|
218
|
+
"rflib:get:applicationevents:debug",
|
|
219
|
+
"get:rflib:applicationevents:debug",
|
|
220
|
+
"get:applicationevents:rflib:debug",
|
|
221
|
+
"get:applicationevents:debug:rflib"
|
|
194
222
|
]
|
|
195
223
|
},
|
|
196
|
-
"rflib:debug:
|
|
224
|
+
"rflib:debug:logarchives:get": {
|
|
197
225
|
"aliases": [],
|
|
198
226
|
"args": {},
|
|
199
|
-
"description": "Retrieves
|
|
227
|
+
"description": "Retrieves rflib_Logs_Archive__b records from the target org's big object store via the Salesforce REST API.\nEach log record contains log level, context, request ID, and full log messages in the format: [timestamp]|[LEVEL]|[TRACE_ID]|[CONTEXT]|[MESSAGE].\n\nRequires the RFLIB base package to be installed in the target org and the running user to be assigned the rflib_Ops_Center_Access permission set (or have equivalent read access to rflib_Logs_Archive__b).\nFor installation instructions, visit: https://github.com/j-fischer/rflib",
|
|
200
228
|
"examples": [
|
|
201
|
-
"Get
|
|
202
|
-
"Get
|
|
203
|
-
"Get events related to a specific record with a custom limit:\n$ sf rflib debug applicationevents get --target-org myOrg --related-record-id 0017000000XXXXXX --record-limit 50"
|
|
229
|
+
"Get log archives from the last 24 hours:\n$ sf rflib debug logarchives get --target-org myOrg",
|
|
230
|
+
"Get log archives for a specific date range:\n$ sf rflib debug logarchives get --target-org myOrg --start-date 2024-01-01T00:00:00Z --end-date 2024-01-02T00:00:00Z"
|
|
204
231
|
],
|
|
205
232
|
"flags": {
|
|
206
233
|
"json": {
|
|
@@ -229,47 +256,20 @@
|
|
|
229
256
|
"multiple": false,
|
|
230
257
|
"type": "option"
|
|
231
258
|
},
|
|
232
|
-
"event-name": {
|
|
233
|
-
"char": "e",
|
|
234
|
-
"description": "Filter Application Events by their Event_Name__c field. Use the % character as a wildcard for partial matches, for example \"order-%\".",
|
|
235
|
-
"name": "event-name",
|
|
236
|
-
"summary": "Filter by event name. Use % as a wildcard.",
|
|
237
|
-
"hasDynamicHelp": false,
|
|
238
|
-
"multiple": false,
|
|
239
|
-
"type": "option"
|
|
240
|
-
},
|
|
241
259
|
"start-date": {
|
|
242
260
|
"char": "s",
|
|
243
|
-
"description": "Only return
|
|
261
|
+
"description": "Only return log archives created on or after this date. Must be in ISO 8601 format, e.g. 2024-01-01T00:00:00Z. Defaults to 24 hours ago if omitted.",
|
|
244
262
|
"name": "start-date",
|
|
245
|
-
"summary": "
|
|
263
|
+
"summary": "Start of the date range in ISO 8601 format. Defaults to 24 hours ago.",
|
|
246
264
|
"hasDynamicHelp": false,
|
|
247
265
|
"multiple": false,
|
|
248
266
|
"type": "option"
|
|
249
267
|
},
|
|
250
268
|
"end-date": {
|
|
251
269
|
"char": "d",
|
|
252
|
-
"description": "Only return
|
|
270
|
+
"description": "Only return log archives created on or before this date. Must be in ISO 8601 format, e.g. 2024-12-31T23:59:59Z. Defaults to the current time if omitted.",
|
|
253
271
|
"name": "end-date",
|
|
254
|
-
"summary": "
|
|
255
|
-
"hasDynamicHelp": false,
|
|
256
|
-
"multiple": false,
|
|
257
|
-
"type": "option"
|
|
258
|
-
},
|
|
259
|
-
"related-record-id": {
|
|
260
|
-
"char": "r",
|
|
261
|
-
"description": "Only return events associated with this specific record ID.",
|
|
262
|
-
"name": "related-record-id",
|
|
263
|
-
"summary": "Filter by Related_Record_ID__c (exact match).",
|
|
264
|
-
"hasDynamicHelp": false,
|
|
265
|
-
"multiple": false,
|
|
266
|
-
"type": "option"
|
|
267
|
-
},
|
|
268
|
-
"record-limit": {
|
|
269
|
-
"char": "l",
|
|
270
|
-
"description": "Controls how many Application Event records are returned. Defaults to 200. Maximum allowed value is 2000.",
|
|
271
|
-
"name": "record-limit",
|
|
272
|
-
"summary": "Maximum number of records to return (default 200, max 2000).",
|
|
272
|
+
"summary": "End of the date range in ISO 8601 format. Defaults to now.",
|
|
273
273
|
"hasDynamicHelp": false,
|
|
274
274
|
"multiple": false,
|
|
275
275
|
"type": "option"
|
|
@@ -277,12 +277,12 @@
|
|
|
277
277
|
},
|
|
278
278
|
"hasDynamicHelp": true,
|
|
279
279
|
"hiddenAliases": [],
|
|
280
|
-
"id": "rflib:debug:
|
|
280
|
+
"id": "rflib:debug:logarchives:get",
|
|
281
281
|
"pluginAlias": "rflib-plugin",
|
|
282
282
|
"pluginName": "rflib-plugin",
|
|
283
283
|
"pluginType": "core",
|
|
284
284
|
"strict": true,
|
|
285
|
-
"summary": "Query RFLIB
|
|
285
|
+
"summary": "Query RFLIB log archives from a Salesforce org.",
|
|
286
286
|
"enableJsonFlag": true,
|
|
287
287
|
"isESM": true,
|
|
288
288
|
"relativePath": [
|
|
@@ -290,35 +290,35 @@
|
|
|
290
290
|
"commands",
|
|
291
291
|
"rflib",
|
|
292
292
|
"debug",
|
|
293
|
-
"
|
|
293
|
+
"logarchives",
|
|
294
294
|
"get.js"
|
|
295
295
|
],
|
|
296
296
|
"aliasPermutations": [],
|
|
297
297
|
"permutations": [
|
|
298
|
-
"rflib:debug:
|
|
299
|
-
"debug:rflib:
|
|
300
|
-
"debug:
|
|
301
|
-
"debug:
|
|
302
|
-
"rflib:
|
|
303
|
-
"
|
|
304
|
-
"
|
|
305
|
-
"
|
|
306
|
-
"rflib:
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
"
|
|
310
|
-
"rflib:debug:get:
|
|
311
|
-
"debug:rflib:get:
|
|
312
|
-
"debug:get:rflib:
|
|
313
|
-
"debug:get:
|
|
314
|
-
"rflib:get:debug:
|
|
315
|
-
"get:rflib:debug:
|
|
316
|
-
"get:debug:rflib:
|
|
317
|
-
"get:debug:
|
|
318
|
-
"rflib:get:
|
|
319
|
-
"get:rflib:
|
|
320
|
-
"get:
|
|
321
|
-
"get:
|
|
298
|
+
"rflib:debug:logarchives:get",
|
|
299
|
+
"debug:rflib:logarchives:get",
|
|
300
|
+
"debug:logarchives:rflib:get",
|
|
301
|
+
"debug:logarchives:get:rflib",
|
|
302
|
+
"rflib:logarchives:debug:get",
|
|
303
|
+
"logarchives:rflib:debug:get",
|
|
304
|
+
"logarchives:debug:rflib:get",
|
|
305
|
+
"logarchives:debug:get:rflib",
|
|
306
|
+
"rflib:logarchives:get:debug",
|
|
307
|
+
"logarchives:rflib:get:debug",
|
|
308
|
+
"logarchives:get:rflib:debug",
|
|
309
|
+
"logarchives:get:debug:rflib",
|
|
310
|
+
"rflib:debug:get:logarchives",
|
|
311
|
+
"debug:rflib:get:logarchives",
|
|
312
|
+
"debug:get:rflib:logarchives",
|
|
313
|
+
"debug:get:logarchives:rflib",
|
|
314
|
+
"rflib:get:debug:logarchives",
|
|
315
|
+
"get:rflib:debug:logarchives",
|
|
316
|
+
"get:debug:rflib:logarchives",
|
|
317
|
+
"get:debug:logarchives:rflib",
|
|
318
|
+
"rflib:get:logarchives:debug",
|
|
319
|
+
"get:rflib:logarchives:debug",
|
|
320
|
+
"get:logarchives:rflib:debug",
|
|
321
|
+
"get:logarchives:debug:rflib"
|
|
322
322
|
]
|
|
323
323
|
},
|
|
324
324
|
"rflib:debug:loggersettings:get": {
|
|
@@ -1202,5 +1202,5 @@
|
|
|
1202
1202
|
]
|
|
1203
1203
|
}
|
|
1204
1204
|
},
|
|
1205
|
-
"version": "0.21.
|
|
1205
|
+
"version": "0.21.3"
|
|
1206
1206
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rflib-plugin",
|
|
3
3
|
"description": "Utility commands to help with the adoption of the RFLIB open-source library for Salesforce.",
|
|
4
|
-
"version": "0.21.
|
|
4
|
+
"version": "0.21.3",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@oclif/core": "^4.14.0",
|
|
7
7
|
"@salesforce/core": "^8.32.6",
|