@1claw/sdk 0.26.0 → 0.27.0
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/generated/api-types.d.ts +69 -0
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/resources/platform.d.ts +3 -1
- package/dist/resources/platform.d.ts.map +1 -1
- package/dist/resources/platform.js +4 -0
- package/dist/resources/platform.js.map +1 -1
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +54 -54
|
@@ -2937,6 +2937,75 @@ export interface paths {
|
|
|
2937
2937
|
patch?: never;
|
|
2938
2938
|
trace?: never;
|
|
2939
2939
|
};
|
|
2940
|
+
"/v1/platform/connections/{connectionId}/reissue-claim": {
|
|
2941
|
+
parameters: {
|
|
2942
|
+
query?: never;
|
|
2943
|
+
header?: never;
|
|
2944
|
+
path?: never;
|
|
2945
|
+
cookie?: never;
|
|
2946
|
+
};
|
|
2947
|
+
get?: never;
|
|
2948
|
+
put?: never;
|
|
2949
|
+
/**
|
|
2950
|
+
* Reissue a claim URL
|
|
2951
|
+
* @description Mints a fresh 10-minute claim token for an already-bootstrapped connection without re-provisioning resources. Use when the original claim URL has expired.
|
|
2952
|
+
*/
|
|
2953
|
+
post: {
|
|
2954
|
+
parameters: {
|
|
2955
|
+
query?: never;
|
|
2956
|
+
header?: never;
|
|
2957
|
+
path: {
|
|
2958
|
+
connectionId: string;
|
|
2959
|
+
};
|
|
2960
|
+
cookie?: never;
|
|
2961
|
+
};
|
|
2962
|
+
requestBody?: {
|
|
2963
|
+
content: {
|
|
2964
|
+
"application/json": {
|
|
2965
|
+
/** @description Optional redirect URL after claim */
|
|
2966
|
+
return_to?: string;
|
|
2967
|
+
};
|
|
2968
|
+
};
|
|
2969
|
+
};
|
|
2970
|
+
responses: {
|
|
2971
|
+
/** @description New claim URL issued */
|
|
2972
|
+
200: {
|
|
2973
|
+
headers: {
|
|
2974
|
+
[name: string]: unknown;
|
|
2975
|
+
};
|
|
2976
|
+
content: {
|
|
2977
|
+
"application/json": {
|
|
2978
|
+
claim_url?: string;
|
|
2979
|
+
claim_token?: string;
|
|
2980
|
+
/** @description Seconds until expiry (600 = 10 min) */
|
|
2981
|
+
expires_in?: number;
|
|
2982
|
+
/** Format: uuid */
|
|
2983
|
+
connection_id?: string;
|
|
2984
|
+
};
|
|
2985
|
+
};
|
|
2986
|
+
};
|
|
2987
|
+
/** @description Connection not yet bootstrapped */
|
|
2988
|
+
400: {
|
|
2989
|
+
headers: {
|
|
2990
|
+
[name: string]: unknown;
|
|
2991
|
+
};
|
|
2992
|
+
content?: never;
|
|
2993
|
+
};
|
|
2994
|
+
/** @description Connection not found */
|
|
2995
|
+
404: {
|
|
2996
|
+
headers: {
|
|
2997
|
+
[name: string]: unknown;
|
|
2998
|
+
};
|
|
2999
|
+
content?: never;
|
|
3000
|
+
};
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
3003
|
+
delete?: never;
|
|
3004
|
+
options?: never;
|
|
3005
|
+
head?: never;
|
|
3006
|
+
patch?: never;
|
|
3007
|
+
trace?: never;
|
|
3008
|
+
};
|
|
2940
3009
|
"/v1/platform/apps/{appId}/audit": {
|
|
2941
3010
|
parameters: {
|
|
2942
3011
|
query?: never;
|