skapi-js 1.5.2-beta.0 → 1.5.2-beta.10
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/skapi.browser.mjs +5 -5
- package/dist/skapi.browser.mjs.map +1 -1
- package/dist/skapi.cjs +6 -6
- package/dist/skapi.cjs.map +1 -1
- package/dist/skapi.d.mts +16 -0
- package/dist/skapi.d.ts +16 -0
- package/dist/skapi.js +5 -5
- package/dist/skapi.js.map +1 -1
- package/dist/skapi.mjs +6 -6
- package/dist/skapi.mjs.map +1 -1
- package/package.json +1 -1
package/dist/skapi.d.mts
CHANGED
|
@@ -838,6 +838,7 @@ declare class Skapi {
|
|
|
838
838
|
clientSecretRequest(params: {
|
|
839
839
|
url: string;
|
|
840
840
|
clientSecretName: string;
|
|
841
|
+
poll?: boolean | number;
|
|
841
842
|
method: 'GET' | 'POST' | 'DELETE' | 'PUT';
|
|
842
843
|
headers?: {
|
|
843
844
|
[key: string]: string;
|
|
@@ -849,6 +850,21 @@ declare class Skapi {
|
|
|
849
850
|
[key: string]: string;
|
|
850
851
|
};
|
|
851
852
|
}): Promise<any>;
|
|
853
|
+
/**
|
|
854
|
+
* Retrieves the history of client secret requests for a given URL and method.
|
|
855
|
+
* @param params Request parameters.
|
|
856
|
+
* @param fetchOptions Pagination and fetch behavior options.
|
|
857
|
+
* @returns A promise that resolves to Promise<any[]>.
|
|
858
|
+
*/
|
|
859
|
+
clientSecretRequestHistory(params: {
|
|
860
|
+
url: string;
|
|
861
|
+
method: 'GET' | 'POST' | 'DELETE' | 'PUT';
|
|
862
|
+
}, fetchOptions?: FetchOptions): DatabaseResponse<{
|
|
863
|
+
response_body: any;
|
|
864
|
+
error: any;
|
|
865
|
+
updated: number;
|
|
866
|
+
request_body: any;
|
|
867
|
+
}[]>;
|
|
852
868
|
/**
|
|
853
869
|
* Consumes a one-time ticket and executes the ticketed request payload.
|
|
854
870
|
* @param params Request parameters.
|
package/dist/skapi.d.ts
CHANGED
|
@@ -838,6 +838,7 @@ declare class Skapi {
|
|
|
838
838
|
clientSecretRequest(params: {
|
|
839
839
|
url: string;
|
|
840
840
|
clientSecretName: string;
|
|
841
|
+
poll?: boolean | number;
|
|
841
842
|
method: 'GET' | 'POST' | 'DELETE' | 'PUT';
|
|
842
843
|
headers?: {
|
|
843
844
|
[key: string]: string;
|
|
@@ -849,6 +850,21 @@ declare class Skapi {
|
|
|
849
850
|
[key: string]: string;
|
|
850
851
|
};
|
|
851
852
|
}): Promise<any>;
|
|
853
|
+
/**
|
|
854
|
+
* Retrieves the history of client secret requests for a given URL and method.
|
|
855
|
+
* @param params Request parameters.
|
|
856
|
+
* @param fetchOptions Pagination and fetch behavior options.
|
|
857
|
+
* @returns A promise that resolves to Promise<any[]>.
|
|
858
|
+
*/
|
|
859
|
+
clientSecretRequestHistory(params: {
|
|
860
|
+
url: string;
|
|
861
|
+
method: 'GET' | 'POST' | 'DELETE' | 'PUT';
|
|
862
|
+
}, fetchOptions?: FetchOptions): DatabaseResponse<{
|
|
863
|
+
response_body: any;
|
|
864
|
+
error: any;
|
|
865
|
+
updated: number;
|
|
866
|
+
request_body: any;
|
|
867
|
+
}[]>;
|
|
852
868
|
/**
|
|
853
869
|
* Consumes a one-time ticket and executes the ticketed request payload.
|
|
854
870
|
* @param params Request parameters.
|