@fiberai/sdk 0.0.59 → 0.0.61
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.cjs +13 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1111,8 +1111,20 @@ var createClient = (config = {}) => {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
};
|
|
1113
1113
|
|
|
1114
|
+
// src/client-config.ts
|
|
1115
|
+
var clientAttributionHeaders = {
|
|
1116
|
+
"x-client-type": "SDK",
|
|
1117
|
+
"x-client-name": `fiberai-ts/${"0.0.61"}`
|
|
1118
|
+
};
|
|
1119
|
+
function createClientConfig(config) {
|
|
1120
|
+
return {
|
|
1121
|
+
...config,
|
|
1122
|
+
headers: mergeHeaders(clientAttributionHeaders, config.headers)
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1114
1126
|
// src/generated/client.gen.ts
|
|
1115
|
-
var client = createClient(createConfig({ baseUrl: "https://api.fiber.ai" }));
|
|
1127
|
+
var client = createClient(createClientConfig(createConfig({ baseUrl: "https://api.fiber.ai" })));
|
|
1116
1128
|
|
|
1117
1129
|
// src/generated/sdk.gen.ts
|
|
1118
1130
|
var getOpenApi = (options) => (options?.client ?? client).get({ url: "/openapi.json", ...options });
|
package/dist/index.d.cts
CHANGED
|
@@ -154393,7 +154393,7 @@ declare const startBatchContactDetails: <ThrowOnError extends boolean = false>(o
|
|
|
154393
154393
|
/**
|
|
154394
154394
|
* Cancel batch contact details
|
|
154395
154395
|
*
|
|
154396
|
-
* Cancels a batch contact details job that is in progress.
|
|
154396
|
+
* Cancels a batch contact details job that is in progress. Profiles not yet delivered — queued or in-flight — are cancelled and refunded immediately at the requested bundle price. Profiles already delivered before the cancel are charged for and remain available via the poll endpoint.
|
|
154397
154397
|
*
|
|
154398
154398
|
* <span>⚡ <strong>Rate limit:</strong> 60 requests per 1 minute</span>
|
|
154399
154399
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -154393,7 +154393,7 @@ declare const startBatchContactDetails: <ThrowOnError extends boolean = false>(o
|
|
|
154393
154393
|
/**
|
|
154394
154394
|
* Cancel batch contact details
|
|
154395
154395
|
*
|
|
154396
|
-
* Cancels a batch contact details job that is in progress.
|
|
154396
|
+
* Cancels a batch contact details job that is in progress. Profiles not yet delivered — queued or in-flight — are cancelled and refunded immediately at the requested bundle price. Profiles already delivered before the cancel are charged for and remain available via the poll endpoint.
|
|
154397
154397
|
*
|
|
154398
154398
|
* <span>⚡ <strong>Rate limit:</strong> 60 requests per 1 minute</span>
|
|
154399
154399
|
*/
|
package/dist/index.js
CHANGED
|
@@ -825,8 +825,20 @@ var createClient = (config = {}) => {
|
|
|
825
825
|
};
|
|
826
826
|
};
|
|
827
827
|
|
|
828
|
+
// src/client-config.ts
|
|
829
|
+
var clientAttributionHeaders = {
|
|
830
|
+
"x-client-type": "SDK",
|
|
831
|
+
"x-client-name": `fiberai-ts/${"0.0.61"}`
|
|
832
|
+
};
|
|
833
|
+
function createClientConfig(config) {
|
|
834
|
+
return {
|
|
835
|
+
...config,
|
|
836
|
+
headers: mergeHeaders(clientAttributionHeaders, config.headers)
|
|
837
|
+
};
|
|
838
|
+
}
|
|
839
|
+
|
|
828
840
|
// src/generated/client.gen.ts
|
|
829
|
-
var client = createClient(createConfig({ baseUrl: "https://api.fiber.ai" }));
|
|
841
|
+
var client = createClient(createClientConfig(createConfig({ baseUrl: "https://api.fiber.ai" })));
|
|
830
842
|
|
|
831
843
|
// src/generated/sdk.gen.ts
|
|
832
844
|
var getOpenApi = (options) => (options?.client ?? client).get({ url: "/openapi.json", ...options });
|