samsar-js 0.48.38 → 0.48.39

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/dist/index.d.ts CHANGED
@@ -2640,6 +2640,10 @@ export declare class SamsarClient {
2640
2640
  * Validate the configured Samsar API key, or a supplied key, against /external/api_key/validate.
2641
2641
  */
2642
2642
  validateSamsarApiKey(apiKey?: string, options?: SamsarRequestOptions): Promise<SamsarResult<SamsarApiKeyValidationResponse>>;
2643
+ /**
2644
+ * Validate a Samsar Processor API key and return account/credit metadata.
2645
+ */
2646
+ validateProcessorApiKey(apiKey?: string, options?: SamsarRequestOptions): Promise<SamsarResult<SamsarApiKeyValidationResponse>>;
2643
2647
  /**
2644
2648
  * Validate the configured Samsar API key, or a supplied key, against /v2/external/api_key/validate.
2645
2649
  */
package/dist/index.js CHANGED
@@ -2227,6 +2227,12 @@ export class SamsarClient {
2227
2227
  async validateSamsarApiKey(apiKey, options) {
2228
2228
  return this.validateV2ExternalSamsarApiKey(apiKey, options);
2229
2229
  }
2230
+ /**
2231
+ * Validate a Samsar Processor API key and return account/credit metadata.
2232
+ */
2233
+ async validateProcessorApiKey(apiKey, options) {
2234
+ return this.validateSamsarApiKey(apiKey, options);
2235
+ }
2230
2236
  /**
2231
2237
  * Validate the configured Samsar API key, or a supplied key, against /v2/external/api_key/validate.
2232
2238
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "samsar-js",
3
- "version": "0.48.38",
3
+ "version": "0.48.39",
4
4
  "description": "TypeScript client for the Samsar Processor API routes.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",