rflib-plugin 0.21.8 → 0.21.9

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 CHANGED
@@ -3593,9 +3593,9 @@ fast-string-width@^3.0.2:
3593
3593
  fast-string-truncated-width "^3.0.2"
3594
3594
 
3595
3595
  fast-uri@^3.0.1:
3596
- version "3.1.7"
3597
- resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.7.tgz#743157d957f3cbb4c65310e033dc2ad4ad7dc60a"
3598
- integrity sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==
3596
+ version "3.1.9"
3597
+ resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.9.tgz#f1deba822b1d6ac79da2f860e872a63470cff203"
3598
+ integrity sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==
3599
3599
 
3600
3600
  fast-wrap-ansi@^0.2.0:
3601
3601
  version "0.2.2"
@@ -93,14 +93,13 @@
93
93
  "upgrade:packages:rflib"
94
94
  ]
95
95
  },
96
- "rflib:debug:applicationevents:get": {
96
+ "rflib:debug:logarchives:get": {
97
97
  "aliases": [],
98
98
  "args": {},
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",
99
+ "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",
100
100
  "examples": [
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"
101
+ "Get log archives from the last 24 hours:\n$ sf rflib debug logarchives get --target-org myOrg",
102
+ "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"
104
103
  ],
105
104
  "flags": {
106
105
  "json": {
@@ -129,47 +128,20 @@
129
128
  "multiple": false,
130
129
  "type": "option"
131
130
  },
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
- },
141
131
  "start-date": {
142
132
  "char": "s",
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.",
133
+ "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.",
144
134
  "name": "start-date",
145
- "summary": "Filter events on or after this ISO 8601 date.",
135
+ "summary": "Start of the date range in ISO 8601 format. Defaults to 24 hours ago.",
146
136
  "hasDynamicHelp": false,
147
137
  "multiple": false,
148
138
  "type": "option"
149
139
  },
150
140
  "end-date": {
151
141
  "char": "d",
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.",
142
+ "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.",
153
143
  "name": "end-date",
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).",
144
+ "summary": "End of the date range in ISO 8601 format. Defaults to now.",
173
145
  "hasDynamicHelp": false,
174
146
  "multiple": false,
175
147
  "type": "option"
@@ -177,12 +149,12 @@
177
149
  },
178
150
  "hasDynamicHelp": true,
179
151
  "hiddenAliases": [],
180
- "id": "rflib:debug:applicationevents:get",
152
+ "id": "rflib:debug:logarchives:get",
181
153
  "pluginAlias": "rflib-plugin",
182
154
  "pluginName": "rflib-plugin",
183
155
  "pluginType": "core",
184
156
  "strict": true,
185
- "summary": "Query RFLIB Application Events from a Salesforce org.",
157
+ "summary": "Query RFLIB log archives from a Salesforce org.",
186
158
  "enableJsonFlag": true,
187
159
  "isESM": true,
188
160
  "relativePath": [
@@ -190,44 +162,45 @@
190
162
  "commands",
191
163
  "rflib",
192
164
  "debug",
193
- "applicationevents",
165
+ "logarchives",
194
166
  "get.js"
195
167
  ],
196
168
  "aliasPermutations": [],
197
169
  "permutations": [
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"
170
+ "rflib:debug:logarchives:get",
171
+ "debug:rflib:logarchives:get",
172
+ "debug:logarchives:rflib:get",
173
+ "debug:logarchives:get:rflib",
174
+ "rflib:logarchives:debug:get",
175
+ "logarchives:rflib:debug:get",
176
+ "logarchives:debug:rflib:get",
177
+ "logarchives:debug:get:rflib",
178
+ "rflib:logarchives:get:debug",
179
+ "logarchives:rflib:get:debug",
180
+ "logarchives:get:rflib:debug",
181
+ "logarchives:get:debug:rflib",
182
+ "rflib:debug:get:logarchives",
183
+ "debug:rflib:get:logarchives",
184
+ "debug:get:rflib:logarchives",
185
+ "debug:get:logarchives:rflib",
186
+ "rflib:get:debug:logarchives",
187
+ "get:rflib:debug:logarchives",
188
+ "get:debug:rflib:logarchives",
189
+ "get:debug:logarchives:rflib",
190
+ "rflib:get:logarchives:debug",
191
+ "get:rflib:logarchives:debug",
192
+ "get:logarchives:rflib:debug",
193
+ "get:logarchives:debug:rflib"
222
194
  ]
223
195
  },
224
- "rflib:debug:logarchives:get": {
196
+ "rflib:debug:applicationevents:get": {
225
197
  "aliases": [],
226
198
  "args": {},
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",
199
+ "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",
228
200
  "examples": [
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"
201
+ "Get all application events from the default org:\n$ sf rflib debug applicationevents get --target-org myOrg",
202
+ "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",
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"
231
204
  ],
232
205
  "flags": {
233
206
  "json": {
@@ -256,20 +229,47 @@
256
229
  "multiple": false,
257
230
  "type": "option"
258
231
  },
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
+ },
259
241
  "start-date": {
260
242
  "char": "s",
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.",
243
+ "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.",
262
244
  "name": "start-date",
263
- "summary": "Start of the date range in ISO 8601 format. Defaults to 24 hours ago.",
245
+ "summary": "Filter events on or after this ISO 8601 date.",
264
246
  "hasDynamicHelp": false,
265
247
  "multiple": false,
266
248
  "type": "option"
267
249
  },
268
250
  "end-date": {
269
251
  "char": "d",
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.",
252
+ "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.",
271
253
  "name": "end-date",
272
- "summary": "End of the date range in ISO 8601 format. Defaults to now.",
254
+ "summary": "Filter events on or before this ISO 8601 date.",
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).",
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:logarchives:get",
280
+ "id": "rflib:debug:applicationevents:get",
281
281
  "pluginAlias": "rflib-plugin",
282
282
  "pluginName": "rflib-plugin",
283
283
  "pluginType": "core",
284
284
  "strict": true,
285
- "summary": "Query RFLIB log archives from a Salesforce org.",
285
+ "summary": "Query RFLIB Application Events 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
- "logarchives",
293
+ "applicationevents",
294
294
  "get.js"
295
295
  ],
296
296
  "aliasPermutations": [],
297
297
  "permutations": [
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"
298
+ "rflib:debug:applicationevents:get",
299
+ "debug:rflib:applicationevents:get",
300
+ "debug:applicationevents:rflib:get",
301
+ "debug:applicationevents:get:rflib",
302
+ "rflib:applicationevents:debug:get",
303
+ "applicationevents:rflib:debug:get",
304
+ "applicationevents:debug:rflib:get",
305
+ "applicationevents:debug:get:rflib",
306
+ "rflib:applicationevents:get:debug",
307
+ "applicationevents:rflib:get:debug",
308
+ "applicationevents:get:rflib:debug",
309
+ "applicationevents:get:debug:rflib",
310
+ "rflib:debug:get:applicationevents",
311
+ "debug:rflib:get:applicationevents",
312
+ "debug:get:rflib:applicationevents",
313
+ "debug:get:applicationevents:rflib",
314
+ "rflib:get:debug:applicationevents",
315
+ "get:rflib:debug:applicationevents",
316
+ "get:debug:rflib:applicationevents",
317
+ "get:debug:applicationevents:rflib",
318
+ "rflib:get:applicationevents:debug",
319
+ "get:rflib:applicationevents:debug",
320
+ "get:applicationevents:rflib:debug",
321
+ "get:applicationevents: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.8"
1205
+ "version": "0.21.9"
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.8",
4
+ "version": "0.21.9",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4.14.0",
7
7
  "@salesforce/core": "^8.32.6",