levelfour 1.3.1 → 1.5.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/api/resources/anthropic/client/Client.d.mts +62 -0
- package/dist/api/resources/anthropic/client/Client.d.ts +62 -0
- package/dist/api/resources/anthropic/client/Client.js +325 -0
- package/dist/api/resources/anthropic/client/Client.mjs +325 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.mts +19 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.ts +19 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.d.mts +13 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.d.ts +13 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.js +17 -0
- package/dist/api/resources/anthropic/client/requests/GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.mjs +1 -0
- package/dist/api/resources/anthropic/client/requests/index.d.mts +2 -0
- package/dist/api/resources/anthropic/client/requests/index.d.ts +2 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.d.mts +6 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.d.ts +6 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.js +32 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.mjs +8 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.d.mts +5 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.d.ts +5 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.js +32 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.mjs +8 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.d.mts +6 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.d.ts +6 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.js +33 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.mjs +9 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat.d.mts +5 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat.d.ts +5 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat.js +32 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat.mjs +8 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.mts +11 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.ts +11 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.js +38 -0
- package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.mjs +14 -0
- package/dist/api/resources/anthropic/types/index.d.mts +5 -0
- package/dist/api/resources/anthropic/types/index.d.ts +5 -0
- package/dist/api/resources/anthropic/types/index.js +10 -0
- package/dist/api/resources/anthropic/types/index.mjs +5 -0
- package/dist/api/types/ClaudeTeamDowngradeRule.d.mts +7 -0
- package/dist/api/types/ClaudeTeamDowngradeRule.d.ts +7 -0
- package/dist/api/types/ClaudeTeamDowngradeRule.js +17 -0
- package/dist/api/types/ClaudeTeamDowngradeRule.mjs +1 -0
- package/dist/api/types/ClaudeTeamMonth.d.mts +6 -0
- package/dist/api/types/ClaudeTeamMonth.d.ts +6 -0
- package/dist/api/types/ClaudeTeamMonth.js +17 -0
- package/dist/api/types/ClaudeTeamMonth.mjs +1 -0
- package/dist/api/types/ClaudeTeamPeopleData.d.mts +6 -0
- package/dist/api/types/ClaudeTeamPeopleData.d.ts +6 -0
- package/dist/api/types/ClaudeTeamPeopleData.js +17 -0
- package/dist/api/types/ClaudeTeamPeopleData.mjs +1 -0
- package/dist/api/types/ClaudeTeamPeopleResponse.d.mts +6 -0
- package/dist/api/types/ClaudeTeamPeopleResponse.d.ts +6 -0
- package/dist/api/types/ClaudeTeamPeopleResponse.js +17 -0
- package/dist/api/types/ClaudeTeamPeopleResponse.mjs +1 -0
- package/dist/api/types/ClaudeTeamPerson.d.mts +38 -0
- package/dist/api/types/ClaudeTeamPerson.d.ts +38 -0
- package/dist/api/types/ClaudeTeamPerson.js +40 -0
- package/dist/api/types/ClaudeTeamPerson.mjs +16 -0
- package/dist/api/types/ClaudeTeamRemoveRule.d.mts +7 -0
- package/dist/api/types/ClaudeTeamRemoveRule.d.ts +7 -0
- package/dist/api/types/ClaudeTeamRemoveRule.js +17 -0
- package/dist/api/types/ClaudeTeamRemoveRule.mjs +1 -0
- package/dist/api/types/ClaudeTeamRules.d.mts +6 -0
- package/dist/api/types/ClaudeTeamRules.d.ts +6 -0
- package/dist/api/types/ClaudeTeamRules.js +17 -0
- package/dist/api/types/ClaudeTeamRules.mjs +1 -0
- package/dist/api/types/ClaudeTeamSeats.d.mts +5 -0
- package/dist/api/types/ClaudeTeamSeats.d.ts +5 -0
- package/dist/api/types/ClaudeTeamSeats.js +17 -0
- package/dist/api/types/ClaudeTeamSeats.mjs +1 -0
- package/dist/api/types/ClaudeTeamSettingsData.d.mts +18 -0
- package/dist/api/types/ClaudeTeamSettingsData.d.ts +18 -0
- package/dist/api/types/ClaudeTeamSettingsData.js +35 -0
- package/dist/api/types/ClaudeTeamSettingsData.mjs +11 -0
- package/dist/api/types/ClaudeTeamSettingsResponse.d.mts +6 -0
- package/dist/api/types/ClaudeTeamSettingsResponse.d.ts +6 -0
- package/dist/api/types/ClaudeTeamSettingsResponse.js +17 -0
- package/dist/api/types/ClaudeTeamSettingsResponse.mjs +1 -0
- package/dist/api/types/ClaudeTeamSummaryData.d.mts +43 -0
- package/dist/api/types/ClaudeTeamSummaryData.d.ts +43 -0
- package/dist/api/types/ClaudeTeamSummaryData.js +39 -0
- package/dist/api/types/ClaudeTeamSummaryData.mjs +15 -0
- package/dist/api/types/ClaudeTeamSummaryResponse.d.mts +6 -0
- package/dist/api/types/ClaudeTeamSummaryResponse.d.ts +6 -0
- package/dist/api/types/ClaudeTeamSummaryResponse.js +17 -0
- package/dist/api/types/ClaudeTeamSummaryResponse.mjs +1 -0
- package/dist/api/types/ClaudeTeamUpgradeRule.d.mts +7 -0
- package/dist/api/types/ClaudeTeamUpgradeRule.d.ts +7 -0
- package/dist/api/types/ClaudeTeamUpgradeRule.js +17 -0
- package/dist/api/types/ClaudeTeamUpgradeRule.mjs +1 -0
- package/dist/api/types/DatadogRenewalData.d.mts +2 -0
- package/dist/api/types/DatadogRenewalData.d.ts +2 -0
- package/dist/api/types/DatadogRenewalPlanDatabase.d.mts +7 -0
- package/dist/api/types/DatadogRenewalPlanDatabase.d.ts +7 -0
- package/dist/api/types/DatadogRenewalPlanDatabase.js +17 -0
- package/dist/api/types/DatadogRenewalPlanDatabase.mjs +1 -0
- package/dist/api/types/DatadogRenewalPlanDatabaseMonitoring.d.mts +2 -0
- package/dist/api/types/DatadogRenewalPlanDatabaseMonitoring.d.ts +2 -0
- package/dist/api/types/DatadogRenewalPlanPoint.d.mts +7 -0
- package/dist/api/types/DatadogRenewalPlanPoint.d.ts +7 -0
- package/dist/api/types/DatadogRenewalPlanPointMonth.d.mts +5 -0
- package/dist/api/types/DatadogRenewalPlanPointMonth.d.ts +5 -0
- package/dist/api/types/DatadogRenewalPlanPointMonth.js +17 -0
- package/dist/api/types/DatadogRenewalPlanPointMonth.mjs +1 -0
- package/dist/api/types/FlowReconciliation.d.mts +5 -5
- package/dist/api/types/FlowReconciliation.d.ts +5 -5
- package/dist/api/types/NetworkDestinations.d.mts +2 -1
- package/dist/api/types/NetworkDestinations.d.ts +2 -1
- package/dist/api/types/StartUploadRequest.d.mts +4 -0
- package/dist/api/types/StartUploadRequest.d.ts +4 -0
- package/dist/api/types/VirtualTagKeyOption.d.mts +2 -0
- package/dist/api/types/VirtualTagKeyOption.d.ts +2 -0
- package/dist/api/types/WorkloadPair.d.mts +5 -8
- package/dist/api/types/WorkloadPair.d.ts +5 -8
- package/dist/api/types/WorkloadPairEnd.d.mts +6 -0
- package/dist/api/types/WorkloadPairEnd.d.ts +6 -0
- package/dist/api/types/WorkloadPairEnd.js +17 -0
- package/dist/api/types/WorkloadPairEnd.mjs +1 -0
- package/dist/api/types/ZonePair.d.mts +1 -1
- package/dist/api/types/ZonePair.d.ts +1 -1
- package/dist/api/types/index.d.mts +16 -0
- package/dist/api/types/index.d.ts +16 -0
- package/dist/api/types/index.js +32 -0
- package/dist/api/types/index.mjs +16 -0
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -1220,6 +1220,331 @@ class AnthropicClient {
|
|
|
1220
1220
|
"/api/v1/providers/anthropic/usage/adoption"
|
|
1221
1221
|
);
|
|
1222
1222
|
}
|
|
1223
|
+
/**
|
|
1224
|
+
* What a Claude Team plan cost in the range, seats and extra usage apart, from the Members lists and spend reports uploaded for it, and how that moved against the range of the same length before. seats is the latest Members list. savings_found adds up what the seat changes /team/people recommends save a month. monthly is the last six months through the end of the range. Before the first upload, has_members and has_spend are false and every figure is zero.
|
|
1225
|
+
*
|
|
1226
|
+
* @param {LevelFour.GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest} request
|
|
1227
|
+
* @param {AnthropicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1228
|
+
*
|
|
1229
|
+
* @throws {@link LevelFour.BadRequestError}
|
|
1230
|
+
* @throws {@link LevelFour.UnauthorizedError}
|
|
1231
|
+
* @throws {@link LevelFour.ForbiddenError}
|
|
1232
|
+
* @throws {@link LevelFour.NotFoundError}
|
|
1233
|
+
* @throws {@link LevelFour.ConflictError}
|
|
1234
|
+
* @throws {@link LevelFour.UnprocessableEntityError}
|
|
1235
|
+
* @throws {@link LevelFour.TooManyRequestsError}
|
|
1236
|
+
* @throws {@link LevelFour.InternalServerError}
|
|
1237
|
+
*
|
|
1238
|
+
* @example
|
|
1239
|
+
* await client.anthropic.getTeamSummary({
|
|
1240
|
+
* start: "start",
|
|
1241
|
+
* end: "end"
|
|
1242
|
+
* })
|
|
1243
|
+
*/
|
|
1244
|
+
getTeamSummary(request, requestOptions) {
|
|
1245
|
+
return core.HttpResponsePromise.fromPromise(this.__getTeamSummary(request, requestOptions));
|
|
1246
|
+
}
|
|
1247
|
+
async __getTeamSummary(request, requestOptions) {
|
|
1248
|
+
const { start, end } = request;
|
|
1249
|
+
const _queryParams = {
|
|
1250
|
+
start,
|
|
1251
|
+
end
|
|
1252
|
+
};
|
|
1253
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1254
|
+
const _headers = mergeHeaders(
|
|
1255
|
+
_authRequest.headers,
|
|
1256
|
+
this._options?.headers,
|
|
1257
|
+
requestOptions?.headers
|
|
1258
|
+
);
|
|
1259
|
+
const _response = await core.fetcher({
|
|
1260
|
+
url: core.url.join(
|
|
1261
|
+
await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
|
|
1262
|
+
"api/v1/providers/anthropic/team/summary"
|
|
1263
|
+
),
|
|
1264
|
+
method: "GET",
|
|
1265
|
+
headers: _headers,
|
|
1266
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
1267
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
1268
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1269
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1270
|
+
fetchFn: this._options?.fetch,
|
|
1271
|
+
logging: this._options.logging
|
|
1272
|
+
});
|
|
1273
|
+
if (_response.ok) {
|
|
1274
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1275
|
+
}
|
|
1276
|
+
if (_response.error.reason === "status-code") {
|
|
1277
|
+
switch (_response.error.statusCode) {
|
|
1278
|
+
case 400:
|
|
1279
|
+
throw new LevelFour.BadRequestError(
|
|
1280
|
+
_response.error.body,
|
|
1281
|
+
_response.rawResponse
|
|
1282
|
+
);
|
|
1283
|
+
case 401:
|
|
1284
|
+
throw new LevelFour.UnauthorizedError(
|
|
1285
|
+
_response.error.body,
|
|
1286
|
+
_response.rawResponse
|
|
1287
|
+
);
|
|
1288
|
+
case 403:
|
|
1289
|
+
throw new LevelFour.ForbiddenError(
|
|
1290
|
+
_response.error.body,
|
|
1291
|
+
_response.rawResponse
|
|
1292
|
+
);
|
|
1293
|
+
case 404:
|
|
1294
|
+
throw new LevelFour.NotFoundError(
|
|
1295
|
+
_response.error.body,
|
|
1296
|
+
_response.rawResponse
|
|
1297
|
+
);
|
|
1298
|
+
case 409:
|
|
1299
|
+
throw new LevelFour.ConflictError(
|
|
1300
|
+
_response.error.body,
|
|
1301
|
+
_response.rawResponse
|
|
1302
|
+
);
|
|
1303
|
+
case 422:
|
|
1304
|
+
throw new LevelFour.UnprocessableEntityError(
|
|
1305
|
+
_response.error.body,
|
|
1306
|
+
_response.rawResponse
|
|
1307
|
+
);
|
|
1308
|
+
case 429:
|
|
1309
|
+
throw new LevelFour.TooManyRequestsError(
|
|
1310
|
+
_response.error.body,
|
|
1311
|
+
_response.rawResponse
|
|
1312
|
+
);
|
|
1313
|
+
case 500:
|
|
1314
|
+
throw new LevelFour.InternalServerError(
|
|
1315
|
+
_response.error.body,
|
|
1316
|
+
_response.rawResponse
|
|
1317
|
+
);
|
|
1318
|
+
default:
|
|
1319
|
+
throw new errors.LevelFourError({
|
|
1320
|
+
statusCode: _response.error.statusCode,
|
|
1321
|
+
body: _response.error.body,
|
|
1322
|
+
rawResponse: _response.rawResponse
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
return handleNonStatusCodeError(
|
|
1327
|
+
_response.error,
|
|
1328
|
+
_response.rawResponse,
|
|
1329
|
+
"GET",
|
|
1330
|
+
"/api/v1/providers/anthropic/team/summary"
|
|
1331
|
+
);
|
|
1332
|
+
}
|
|
1333
|
+
/**
|
|
1334
|
+
* One row per person the latest Members list names, the spend reports count or Claude Code reported, over the 7 and 30 days that end on the last day the spend reports cover. Tokens count every product the spend report names, and a product telemetry also counts is taken at whichever counted more. recommendation is the one rule a seat meets: remove for a seat unused for more than two weeks in a row, upgrade for a Standard seat whose extra usage in 30 days passed what Premium costs above it, downgrade for a Premium seat used less than the weekly token threshold in /team/settings. rules counts each rule over everyone, whatever the filters keep. A spend report that holds overage alone hides Chat inside the allowance: on one, downgrade reads Claude Code and Cowork telemetry for the people who report it, and remove is not available. The largest saving comes first. format=csv answers every row the filters keep. The answer names people, so it is sent with Cache-Control: no-store.
|
|
1335
|
+
*
|
|
1336
|
+
* @param {LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest} request
|
|
1337
|
+
* @param {AnthropicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1338
|
+
*
|
|
1339
|
+
* @throws {@link LevelFour.BadRequestError}
|
|
1340
|
+
* @throws {@link LevelFour.UnauthorizedError}
|
|
1341
|
+
* @throws {@link LevelFour.ForbiddenError}
|
|
1342
|
+
* @throws {@link LevelFour.NotFoundError}
|
|
1343
|
+
* @throws {@link LevelFour.ConflictError}
|
|
1344
|
+
* @throws {@link LevelFour.UnprocessableEntityError}
|
|
1345
|
+
* @throws {@link LevelFour.TooManyRequestsError}
|
|
1346
|
+
* @throws {@link LevelFour.InternalServerError}
|
|
1347
|
+
*
|
|
1348
|
+
* @example
|
|
1349
|
+
* await client.anthropic.getTeamPeople()
|
|
1350
|
+
*/
|
|
1351
|
+
getTeamPeople(request = {}, requestOptions) {
|
|
1352
|
+
return core.HttpResponsePromise.fromPromise(this.__getTeamPeople(request, requestOptions));
|
|
1353
|
+
}
|
|
1354
|
+
async __getTeamPeople(request = {}, requestOptions) {
|
|
1355
|
+
const { page, page_size: pageSize, search, seat, product, recommendation, sort, order, format } = request;
|
|
1356
|
+
const _queryParams = {
|
|
1357
|
+
page,
|
|
1358
|
+
page_size: pageSize,
|
|
1359
|
+
search,
|
|
1360
|
+
seat: seat !== void 0 ? seat : void 0,
|
|
1361
|
+
product,
|
|
1362
|
+
recommendation: recommendation !== void 0 ? recommendation : void 0,
|
|
1363
|
+
sort: sort != null ? sort : void 0,
|
|
1364
|
+
order: order != null ? order : void 0,
|
|
1365
|
+
format: format != null ? format : void 0
|
|
1366
|
+
};
|
|
1367
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1368
|
+
const _headers = mergeHeaders(
|
|
1369
|
+
_authRequest.headers,
|
|
1370
|
+
this._options?.headers,
|
|
1371
|
+
requestOptions?.headers
|
|
1372
|
+
);
|
|
1373
|
+
const _response = await core.fetcher({
|
|
1374
|
+
url: core.url.join(
|
|
1375
|
+
await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
|
|
1376
|
+
"api/v1/providers/anthropic/team/people"
|
|
1377
|
+
),
|
|
1378
|
+
method: "GET",
|
|
1379
|
+
headers: _headers,
|
|
1380
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
1381
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
1382
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1383
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1384
|
+
fetchFn: this._options?.fetch,
|
|
1385
|
+
logging: this._options.logging
|
|
1386
|
+
});
|
|
1387
|
+
if (_response.ok) {
|
|
1388
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1389
|
+
}
|
|
1390
|
+
if (_response.error.reason === "status-code") {
|
|
1391
|
+
switch (_response.error.statusCode) {
|
|
1392
|
+
case 400:
|
|
1393
|
+
throw new LevelFour.BadRequestError(
|
|
1394
|
+
_response.error.body,
|
|
1395
|
+
_response.rawResponse
|
|
1396
|
+
);
|
|
1397
|
+
case 401:
|
|
1398
|
+
throw new LevelFour.UnauthorizedError(
|
|
1399
|
+
_response.error.body,
|
|
1400
|
+
_response.rawResponse
|
|
1401
|
+
);
|
|
1402
|
+
case 403:
|
|
1403
|
+
throw new LevelFour.ForbiddenError(
|
|
1404
|
+
_response.error.body,
|
|
1405
|
+
_response.rawResponse
|
|
1406
|
+
);
|
|
1407
|
+
case 404:
|
|
1408
|
+
throw new LevelFour.NotFoundError(
|
|
1409
|
+
_response.error.body,
|
|
1410
|
+
_response.rawResponse
|
|
1411
|
+
);
|
|
1412
|
+
case 409:
|
|
1413
|
+
throw new LevelFour.ConflictError(
|
|
1414
|
+
_response.error.body,
|
|
1415
|
+
_response.rawResponse
|
|
1416
|
+
);
|
|
1417
|
+
case 422:
|
|
1418
|
+
throw new LevelFour.UnprocessableEntityError(
|
|
1419
|
+
_response.error.body,
|
|
1420
|
+
_response.rawResponse
|
|
1421
|
+
);
|
|
1422
|
+
case 429:
|
|
1423
|
+
throw new LevelFour.TooManyRequestsError(
|
|
1424
|
+
_response.error.body,
|
|
1425
|
+
_response.rawResponse
|
|
1426
|
+
);
|
|
1427
|
+
case 500:
|
|
1428
|
+
throw new LevelFour.InternalServerError(
|
|
1429
|
+
_response.error.body,
|
|
1430
|
+
_response.rawResponse
|
|
1431
|
+
);
|
|
1432
|
+
default:
|
|
1433
|
+
throw new errors.LevelFourError({
|
|
1434
|
+
statusCode: _response.error.statusCode,
|
|
1435
|
+
body: _response.error.body,
|
|
1436
|
+
rawResponse: _response.rawResponse
|
|
1437
|
+
});
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
return handleNonStatusCodeError(
|
|
1441
|
+
_response.error,
|
|
1442
|
+
_response.rawResponse,
|
|
1443
|
+
"GET",
|
|
1444
|
+
"/api/v1/providers/anthropic/team/people"
|
|
1445
|
+
);
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* The billing cycle, the price of each seat per month, the day the plan renews and the weekly token threshold below which a Premium seat is worth a look at Standard. Until someone sets them, Anthropic's US list prices on monthly billing and 200,000 tokens a week.
|
|
1449
|
+
*
|
|
1450
|
+
* @param {AnthropicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1451
|
+
*
|
|
1452
|
+
* @throws {@link LevelFour.BadRequestError}
|
|
1453
|
+
* @throws {@link LevelFour.UnauthorizedError}
|
|
1454
|
+
* @throws {@link LevelFour.ForbiddenError}
|
|
1455
|
+
* @throws {@link LevelFour.NotFoundError}
|
|
1456
|
+
* @throws {@link LevelFour.ConflictError}
|
|
1457
|
+
* @throws {@link LevelFour.UnprocessableEntityError}
|
|
1458
|
+
* @throws {@link LevelFour.TooManyRequestsError}
|
|
1459
|
+
* @throws {@link LevelFour.InternalServerError}
|
|
1460
|
+
*
|
|
1461
|
+
* @example
|
|
1462
|
+
* await client.anthropic.getTeamSettings()
|
|
1463
|
+
*/
|
|
1464
|
+
getTeamSettings(requestOptions) {
|
|
1465
|
+
return core.HttpResponsePromise.fromPromise(this.__getTeamSettings(requestOptions));
|
|
1466
|
+
}
|
|
1467
|
+
async __getTeamSettings(requestOptions) {
|
|
1468
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1469
|
+
const _headers = mergeHeaders(
|
|
1470
|
+
_authRequest.headers,
|
|
1471
|
+
this._options?.headers,
|
|
1472
|
+
requestOptions?.headers
|
|
1473
|
+
);
|
|
1474
|
+
const _response = await core.fetcher({
|
|
1475
|
+
url: core.url.join(
|
|
1476
|
+
await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
|
|
1477
|
+
"api/v1/providers/anthropic/team/settings"
|
|
1478
|
+
),
|
|
1479
|
+
method: "GET",
|
|
1480
|
+
headers: _headers,
|
|
1481
|
+
queryParameters: requestOptions?.queryParams,
|
|
1482
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
1483
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1484
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1485
|
+
fetchFn: this._options?.fetch,
|
|
1486
|
+
logging: this._options.logging
|
|
1487
|
+
});
|
|
1488
|
+
if (_response.ok) {
|
|
1489
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1490
|
+
}
|
|
1491
|
+
if (_response.error.reason === "status-code") {
|
|
1492
|
+
switch (_response.error.statusCode) {
|
|
1493
|
+
case 400:
|
|
1494
|
+
throw new LevelFour.BadRequestError(
|
|
1495
|
+
_response.error.body,
|
|
1496
|
+
_response.rawResponse
|
|
1497
|
+
);
|
|
1498
|
+
case 401:
|
|
1499
|
+
throw new LevelFour.UnauthorizedError(
|
|
1500
|
+
_response.error.body,
|
|
1501
|
+
_response.rawResponse
|
|
1502
|
+
);
|
|
1503
|
+
case 403:
|
|
1504
|
+
throw new LevelFour.ForbiddenError(
|
|
1505
|
+
_response.error.body,
|
|
1506
|
+
_response.rawResponse
|
|
1507
|
+
);
|
|
1508
|
+
case 404:
|
|
1509
|
+
throw new LevelFour.NotFoundError(
|
|
1510
|
+
_response.error.body,
|
|
1511
|
+
_response.rawResponse
|
|
1512
|
+
);
|
|
1513
|
+
case 409:
|
|
1514
|
+
throw new LevelFour.ConflictError(
|
|
1515
|
+
_response.error.body,
|
|
1516
|
+
_response.rawResponse
|
|
1517
|
+
);
|
|
1518
|
+
case 422:
|
|
1519
|
+
throw new LevelFour.UnprocessableEntityError(
|
|
1520
|
+
_response.error.body,
|
|
1521
|
+
_response.rawResponse
|
|
1522
|
+
);
|
|
1523
|
+
case 429:
|
|
1524
|
+
throw new LevelFour.TooManyRequestsError(
|
|
1525
|
+
_response.error.body,
|
|
1526
|
+
_response.rawResponse
|
|
1527
|
+
);
|
|
1528
|
+
case 500:
|
|
1529
|
+
throw new LevelFour.InternalServerError(
|
|
1530
|
+
_response.error.body,
|
|
1531
|
+
_response.rawResponse
|
|
1532
|
+
);
|
|
1533
|
+
default:
|
|
1534
|
+
throw new errors.LevelFourError({
|
|
1535
|
+
statusCode: _response.error.statusCode,
|
|
1536
|
+
body: _response.error.body,
|
|
1537
|
+
rawResponse: _response.rawResponse
|
|
1538
|
+
});
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
return handleNonStatusCodeError(
|
|
1542
|
+
_response.error,
|
|
1543
|
+
_response.rawResponse,
|
|
1544
|
+
"GET",
|
|
1545
|
+
"/api/v1/providers/anthropic/team/settings"
|
|
1546
|
+
);
|
|
1547
|
+
}
|
|
1223
1548
|
}
|
|
1224
1549
|
export {
|
|
1225
1550
|
AnthropicClient
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as LevelFour from "../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest {
|
|
7
|
+
page?: number;
|
|
8
|
+
page_size?: number;
|
|
9
|
+
/** Keep the people whose email or name holds this */
|
|
10
|
+
search?: string;
|
|
11
|
+
seat?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat | null;
|
|
12
|
+
/** Keep the people whose main product this is */
|
|
13
|
+
product?: string | null;
|
|
14
|
+
recommendation?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation | null;
|
|
15
|
+
sort?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort;
|
|
16
|
+
order?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder;
|
|
17
|
+
/** csv answers every row the filters keep */
|
|
18
|
+
format?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as LevelFour from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest {
|
|
7
|
+
page?: number;
|
|
8
|
+
page_size?: number;
|
|
9
|
+
/** Keep the people whose email or name holds this */
|
|
10
|
+
search?: string;
|
|
11
|
+
seat?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat | null;
|
|
12
|
+
/** Keep the people whose main product this is */
|
|
13
|
+
product?: string | null;
|
|
14
|
+
recommendation?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation | null;
|
|
15
|
+
sort?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort;
|
|
16
|
+
order?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder;
|
|
17
|
+
/** csv answers every row the filters keep */
|
|
18
|
+
format?: LevelFour.GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat;
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest_exports);
|
|
17
|
+
//# sourceMappingURL=GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.mjs.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* start: "start",
|
|
5
|
+
* end: "end"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest {
|
|
9
|
+
/** First day, ISO 8601 (YYYY-MM-DD or a datetime) */
|
|
10
|
+
start: string;
|
|
11
|
+
/** Last day, ISO 8601 (YYYY-MM-DD or a datetime), included */
|
|
12
|
+
end: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* start: "start",
|
|
5
|
+
* end: "end"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest {
|
|
9
|
+
/** First day, ISO 8601 (YYYY-MM-DD or a datetime) */
|
|
10
|
+
start: string;
|
|
11
|
+
/** Last day, ISO 8601 (YYYY-MM-DD or a datetime), included */
|
|
12
|
+
end: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest_exports);
|
|
17
|
+
//# sourceMappingURL=GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.mjs.map
|
|
@@ -3,6 +3,8 @@ export type { GetActivityDailyApiV1ProvidersAnthropicActivityDailyGetRequest } f
|
|
|
3
3
|
export type { GetActivityFleetApiV1ProvidersAnthropicActivityFleetGetRequest } from "./GetActivityFleetApiV1ProvidersAnthropicActivityFleetGetRequest.mjs";
|
|
4
4
|
export type { GetActivityPeopleApiV1ProvidersAnthropicActivityPeopleGetRequest } from "./GetActivityPeopleApiV1ProvidersAnthropicActivityPeopleGetRequest.mjs";
|
|
5
5
|
export type { GetListPriceApiV1ProvidersAnthropicCostsListPriceGetRequest } from "./GetListPriceApiV1ProvidersAnthropicCostsListPriceGetRequest.mjs";
|
|
6
|
+
export type { GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest } from "./GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.mjs";
|
|
7
|
+
export type { GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest } from "./GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.mjs";
|
|
6
8
|
export type { GetUsageAdoptionApiV1ProvidersAnthropicUsageAdoptionGetRequest } from "./GetUsageAdoptionApiV1ProvidersAnthropicUsageAdoptionGetRequest.mjs";
|
|
7
9
|
export type { GetUsageApiV1ProvidersAnthropicUsageGetRequest } from "./GetUsageApiV1ProvidersAnthropicUsageGetRequest.mjs";
|
|
8
10
|
export type { GetUsageBreakdownApiV1ProvidersAnthropicUsageBreakdownGetRequest } from "./GetUsageBreakdownApiV1ProvidersAnthropicUsageBreakdownGetRequest.mjs";
|
|
@@ -3,6 +3,8 @@ export type { GetActivityDailyApiV1ProvidersAnthropicActivityDailyGetRequest } f
|
|
|
3
3
|
export type { GetActivityFleetApiV1ProvidersAnthropicActivityFleetGetRequest } from "./GetActivityFleetApiV1ProvidersAnthropicActivityFleetGetRequest.js";
|
|
4
4
|
export type { GetActivityPeopleApiV1ProvidersAnthropicActivityPeopleGetRequest } from "./GetActivityPeopleApiV1ProvidersAnthropicActivityPeopleGetRequest.js";
|
|
5
5
|
export type { GetListPriceApiV1ProvidersAnthropicCostsListPriceGetRequest } from "./GetListPriceApiV1ProvidersAnthropicCostsListPriceGetRequest.js";
|
|
6
|
+
export type { GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest } from "./GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.js";
|
|
7
|
+
export type { GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest } from "./GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.js";
|
|
6
8
|
export type { GetUsageAdoptionApiV1ProvidersAnthropicUsageAdoptionGetRequest } from "./GetUsageAdoptionApiV1ProvidersAnthropicUsageAdoptionGetRequest.js";
|
|
7
9
|
export type { GetUsageApiV1ProvidersAnthropicUsageGetRequest } from "./GetUsageApiV1ProvidersAnthropicUsageGetRequest.js";
|
|
8
10
|
export type { GetUsageBreakdownApiV1ProvidersAnthropicUsageBreakdownGetRequest } from "./GetUsageBreakdownApiV1ProvidersAnthropicUsageBreakdownGetRequest.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** csv answers every row the filters keep */
|
|
2
|
+
export declare const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat: {
|
|
3
|
+
readonly Json: "json";
|
|
4
|
+
readonly Csv: "csv";
|
|
5
|
+
};
|
|
6
|
+
export type GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat = (typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat)[keyof typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** csv answers every row the filters keep */
|
|
2
|
+
export declare const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat: {
|
|
3
|
+
readonly Json: "json";
|
|
4
|
+
readonly Csv: "csv";
|
|
5
|
+
};
|
|
6
|
+
export type GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat = (typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat)[keyof typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat_exports = {};
|
|
20
|
+
__export(GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat_exports, {
|
|
21
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat: () => GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat_exports);
|
|
24
|
+
const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat = {
|
|
25
|
+
Json: "json",
|
|
26
|
+
Csv: "csv"
|
|
27
|
+
};
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat = {
|
|
2
|
+
Json: "json",
|
|
3
|
+
Csv: "csv"
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.mjs.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder: {
|
|
2
|
+
readonly Asc: "asc";
|
|
3
|
+
readonly Desc: "desc";
|
|
4
|
+
};
|
|
5
|
+
export type GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder = (typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder)[keyof typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder: {
|
|
2
|
+
readonly Asc: "asc";
|
|
3
|
+
readonly Desc: "desc";
|
|
4
|
+
};
|
|
5
|
+
export type GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder = (typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder)[keyof typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder_exports = {};
|
|
20
|
+
__export(GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder_exports, {
|
|
21
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder: () => GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder_exports);
|
|
24
|
+
const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder = {
|
|
25
|
+
Asc: "asc",
|
|
26
|
+
Desc: "desc"
|
|
27
|
+
};
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder = {
|
|
2
|
+
Asc: "asc",
|
|
3
|
+
Desc: "desc"
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.mjs.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation: {
|
|
2
|
+
readonly Upgrade: "upgrade";
|
|
3
|
+
readonly Downgrade: "downgrade";
|
|
4
|
+
readonly Remove: "remove";
|
|
5
|
+
};
|
|
6
|
+
export type GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation = (typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation)[keyof typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation: {
|
|
2
|
+
readonly Upgrade: "upgrade";
|
|
3
|
+
readonly Downgrade: "downgrade";
|
|
4
|
+
readonly Remove: "remove";
|
|
5
|
+
};
|
|
6
|
+
export type GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation = (typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation)[keyof typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation_exports = {};
|
|
20
|
+
__export(GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation_exports, {
|
|
21
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation: () => GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation_exports);
|
|
24
|
+
const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation = {
|
|
25
|
+
Upgrade: "upgrade",
|
|
26
|
+
Downgrade: "downgrade",
|
|
27
|
+
Remove: "remove"
|
|
28
|
+
};
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation = {
|
|
2
|
+
Upgrade: "upgrade",
|
|
3
|
+
Downgrade: "downgrade",
|
|
4
|
+
Remove: "remove"
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.mjs.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat: {
|
|
2
|
+
readonly Standard: "Standard";
|
|
3
|
+
readonly Premium: "Premium";
|
|
4
|
+
};
|
|
5
|
+
export type GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat = (typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat)[keyof typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat: {
|
|
2
|
+
readonly Standard: "Standard";
|
|
3
|
+
readonly Premium: "Premium";
|
|
4
|
+
};
|
|
5
|
+
export type GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat = (typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat)[keyof typeof GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat];
|