@dereekb/zoho 13.26.0 → 13.27.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/zoho",
3
- "version": "13.26.0",
3
+ "version": "13.27.1",
4
4
  "bin": {
5
5
  "zoho-cli": "cli/index.js"
6
6
  },
@@ -23,13 +23,13 @@
23
23
  }
24
24
  },
25
25
  "peerDependencies": {
26
- "@dereekb/date": "13.26.0",
27
- "@dereekb/dbx-cli": "13.26.0",
28
- "@dereekb/firebase": "13.26.0",
29
- "@dereekb/model": "13.26.0",
30
- "@dereekb/nestjs": "13.26.0",
31
- "@dereekb/rxjs": "13.26.0",
32
- "@dereekb/util": "13.26.0",
26
+ "@dereekb/date": "13.27.1",
27
+ "@dereekb/dbx-cli": "13.27.1",
28
+ "@dereekb/firebase": "13.27.1",
29
+ "@dereekb/model": "13.27.1",
30
+ "@dereekb/nestjs": "13.27.1",
31
+ "@dereekb/rxjs": "13.27.1",
32
+ "@dereekb/util": "13.27.1",
33
33
  "@nestjs/common": "^11.1.19",
34
34
  "@nestjs/config": "^4.0.4",
35
35
  "express": "^5.2.1",
@@ -7,6 +7,16 @@ export declare const ZOHO_SIGN_SERVICE_NAME: ZohoApiServiceName | ZohoServiceAcc
7
7
  export type ZohoSignApiUrl = ZohoApiUrl;
8
8
  export type ZohoSignApiUrlKey = ZohoApiUrlKey;
9
9
  export type ZohoSignConfigApiUrlInput = ZohoSignApiUrlKey | ZohoSignApiUrl;
10
+ /**
11
+ * Full Zoho Sign sandbox API URL. The sandbox does NOT enforce an https `host` origin on embedded
12
+ * signing requests.
13
+ */
14
+ export declare const ZOHO_SIGN_SANDBOX_API_URL: ZohoSignApiUrl;
15
+ /**
16
+ * Full Zoho Sign production API URL. The production endpoint enforces an https `host` origin on
17
+ * embedded signing requests, rejecting a non-https host with error 3006 ("Url has invalid scheme").
18
+ */
19
+ export declare const ZOHO_SIGN_PRODUCTION_API_URL: ZohoSignApiUrl;
10
20
  /**
11
21
  * Resolves an environment key or passthrough URL to the full Zoho Sign API URL.
12
22
  *
@@ -14,6 +24,16 @@ export type ZohoSignConfigApiUrlInput = ZohoSignApiUrlKey | ZohoSignApiUrl;
14
24
  * @returns The resolved Zoho Sign API URL.
15
25
  */
16
26
  export declare function zohoSignConfigApiUrl(input: ZohoSignConfigApiUrlInput): ZohoApiUrl;
27
+ /**
28
+ * Returns whether the given Zoho Sign API URL (an environment key or full URL) targets an endpoint
29
+ * that enforces an https `host` origin on embedded signing requests. Every production data center
30
+ * enforces it (rejecting a non-https host with error 3006, "Url has invalid scheme"); only the
31
+ * sandbox tolerates a non-https host.
32
+ *
33
+ * @param input - An environment key ('sandbox' or 'production') or a full API URL.
34
+ * @returns True unless the resolved URL is the Zoho Sign sandbox.
35
+ */
36
+ export declare function zohoSignApiUrlRequiresHttpsHost(input: ZohoSignConfigApiUrlInput): boolean;
17
37
  export type ZohoSignConfig = ZohoConfig;
18
38
  export interface ZohoSignFetchFactoryParams {
19
39
  readonly apiUrl: ZohoSignApiUrl;