@simpleapps-com/augur-api 2026.5.6 → 2026.6.2
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/{client-yZ3HRVgf.d.mts → client-rJXd07YM.d.mts} +236 -53
- package/dist/{client-yZ3HRVgf.d.ts → client-rJXd07YM.d.ts} +236 -53
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1303 -1068
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1302 -1068
- package/dist/index.mjs.map +1 -1
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -160,11 +160,11 @@ function buildUrlWithParams(url, params) {
|
|
|
160
160
|
return `${url}${separator}${queryString}`;
|
|
161
161
|
}
|
|
162
162
|
function headersToRecord(headers) {
|
|
163
|
-
const
|
|
163
|
+
const record29 = {};
|
|
164
164
|
headers.forEach((value, key) => {
|
|
165
|
-
|
|
165
|
+
record29[key] = value;
|
|
166
166
|
});
|
|
167
|
-
return
|
|
167
|
+
return record29;
|
|
168
168
|
}
|
|
169
169
|
var HTTPClient = class {
|
|
170
170
|
constructor(serviceName, config) {
|
|
@@ -1109,19 +1109,19 @@ Provided parameters: ${JSON.stringify(params, null, 2)}`;
|
|
|
1109
1109
|
* @returns ServiceDiscoveryMetadata containing service info and endpoint metadata
|
|
1110
1110
|
*/
|
|
1111
1111
|
getDiscoveryMetadata() {
|
|
1112
|
-
const
|
|
1112
|
+
const endpoints28 = [];
|
|
1113
1113
|
const methods = this.getAllMethods();
|
|
1114
1114
|
for (const methodName of methods) {
|
|
1115
1115
|
const metadata = this.extractMethodMetadata(methodName);
|
|
1116
1116
|
if (metadata && metadata.discoverable) {
|
|
1117
|
-
|
|
1117
|
+
endpoints28.push(metadata);
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
1120
1120
|
return {
|
|
1121
1121
|
serviceName: this.serviceName,
|
|
1122
1122
|
description: this.getServiceDescription(),
|
|
1123
1123
|
baseUrl: this.baseUrl,
|
|
1124
|
-
endpoints:
|
|
1124
|
+
endpoints: endpoints28
|
|
1125
1125
|
};
|
|
1126
1126
|
}
|
|
1127
1127
|
/**
|
|
@@ -1297,9 +1297,9 @@ var PassthroughResponseSchema = v3.looseObject({
|
|
|
1297
1297
|
totalResults: v3.number()
|
|
1298
1298
|
});
|
|
1299
1299
|
var PassthroughParamsSchema = v3.looseObject({});
|
|
1300
|
-
function buildEndpointTrie(
|
|
1300
|
+
function buildEndpointTrie(endpoints28) {
|
|
1301
1301
|
const root = { actions: /* @__PURE__ */ new Map(), children: /* @__PURE__ */ new Map() };
|
|
1302
|
-
for (const ep of
|
|
1302
|
+
for (const ep of endpoints28) {
|
|
1303
1303
|
const parts = ep.chain.split(".");
|
|
1304
1304
|
let node = root;
|
|
1305
1305
|
for (const part of parts) {
|
|
@@ -1315,8 +1315,8 @@ function buildEndpointTrie(endpoints27) {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
return root;
|
|
1317
1317
|
}
|
|
1318
|
-
function createServiceProxy(serviceName, executeRequest,
|
|
1319
|
-
const trie = buildEndpointTrie(
|
|
1318
|
+
function createServiceProxy(serviceName, executeRequest, endpoints28) {
|
|
1319
|
+
const trie = buildEndpointTrie(endpoints28);
|
|
1320
1320
|
return createNodeObject(serviceName, executeRequest, trie);
|
|
1321
1321
|
}
|
|
1322
1322
|
function createNodeObject(serviceName, executeRequest, node) {
|
|
@@ -1798,13 +1798,7 @@ var JoomlaClient = class extends BaseServiceClient {
|
|
|
1798
1798
|
constructor(http, baseUrl = "https://joomla.augur-api.com") {
|
|
1799
1799
|
super("joomla", http, baseUrl);
|
|
1800
1800
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
1801
|
-
|
|
1802
|
-
return this.executeRequest(config, params, pathParams);
|
|
1803
|
-
}
|
|
1804
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
1805
|
-
return this.executeRequest(config, params);
|
|
1806
|
-
}
|
|
1807
|
-
return this.executeRequest(config);
|
|
1801
|
+
return this.executeRequest(config, params, pathParams);
|
|
1808
1802
|
};
|
|
1809
1803
|
const proxy = createServiceProxy("joomla", boundExecuteRequest, endpoints);
|
|
1810
1804
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -2075,13 +2069,7 @@ var CommerceClient = class extends BaseServiceClient {
|
|
|
2075
2069
|
constructor(http, baseUrl = "https://commerce.augur-api.com") {
|
|
2076
2070
|
super("commerce", http, baseUrl);
|
|
2077
2071
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
2078
|
-
|
|
2079
|
-
return this.executeRequest(config, params, pathParams);
|
|
2080
|
-
}
|
|
2081
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
2082
|
-
return this.executeRequest(config, params);
|
|
2083
|
-
}
|
|
2084
|
-
return this.executeRequest(config);
|
|
2072
|
+
return this.executeRequest(config, params, pathParams);
|
|
2085
2073
|
};
|
|
2086
2074
|
const proxy = createServiceProxy(
|
|
2087
2075
|
"commerce",
|
|
@@ -2098,6 +2086,9 @@ var CommerceClient = class extends BaseServiceClient {
|
|
|
2098
2086
|
this.healthCheck = createHealthCheckResource2(boundExecuteRequest);
|
|
2099
2087
|
this.healthCheckData = createHealthCheckDataResource2(this.healthCheck);
|
|
2100
2088
|
}
|
|
2089
|
+
getServiceDescription() {
|
|
2090
|
+
return "Shopping cart and checkout engine managing cart state, checkout flow, and Prophet 21 order submission";
|
|
2091
|
+
}
|
|
2101
2092
|
};
|
|
2102
2093
|
|
|
2103
2094
|
// src/services/pricing/generated/schemas.ts
|
|
@@ -2527,13 +2518,7 @@ var PricingClient = class extends BaseServiceClient {
|
|
|
2527
2518
|
constructor(http, baseUrl = "https://pricing.augur-api.com") {
|
|
2528
2519
|
super("pricing", http, baseUrl);
|
|
2529
2520
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
2530
|
-
|
|
2531
|
-
return this.executeRequest(config, params, pathParams);
|
|
2532
|
-
}
|
|
2533
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
2534
|
-
return this.executeRequest(config, params);
|
|
2535
|
-
}
|
|
2536
|
-
return this.executeRequest(config);
|
|
2521
|
+
return this.executeRequest(config, params, pathParams);
|
|
2537
2522
|
};
|
|
2538
2523
|
const proxy = createServiceProxy("pricing", boundExecuteRequest, endpoints3);
|
|
2539
2524
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -3448,13 +3433,7 @@ var VMIClient = class extends BaseServiceClient {
|
|
|
3448
3433
|
constructor(http, baseUrl = "https://vmi.augur-api.com") {
|
|
3449
3434
|
super("vmi", http, baseUrl);
|
|
3450
3435
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
3451
|
-
|
|
3452
|
-
return this.executeRequest(config, params, pathParams);
|
|
3453
|
-
}
|
|
3454
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
3455
|
-
return this.executeRequest(config, params);
|
|
3456
|
-
}
|
|
3457
|
-
return this.executeRequest(config);
|
|
3436
|
+
return this.executeRequest(config, params, pathParams);
|
|
3458
3437
|
};
|
|
3459
3438
|
const proxy = createServiceProxy("vmi", boundExecuteRequest, endpoints4);
|
|
3460
3439
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -3475,6 +3454,9 @@ var VMIClient = class extends BaseServiceClient {
|
|
|
3475
3454
|
this.healthCheckData = createHealthCheckDataResource4(this.healthCheck);
|
|
3476
3455
|
this.pingData = createPingDataResource2(this.ping);
|
|
3477
3456
|
}
|
|
3457
|
+
getServiceDescription() {
|
|
3458
|
+
return "Vendor-managed inventory for distributor profiles, warehouse stock levels, restocking, and usage tracking";
|
|
3459
|
+
}
|
|
3478
3460
|
};
|
|
3479
3461
|
|
|
3480
3462
|
// src/services/open-search/generated/schemas.ts
|
|
@@ -3864,13 +3846,7 @@ var OpenSearchClient = class extends BaseServiceClient {
|
|
|
3864
3846
|
constructor(http, baseUrl = "https://open-search.augur-api.com") {
|
|
3865
3847
|
super("open-search", http, baseUrl);
|
|
3866
3848
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
3867
|
-
|
|
3868
|
-
return this.executeRequest(config, params, pathParams);
|
|
3869
|
-
}
|
|
3870
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
3871
|
-
return this.executeRequest(config, params);
|
|
3872
|
-
}
|
|
3873
|
-
return this.executeRequest(config);
|
|
3849
|
+
return this.executeRequest(config, params, pathParams);
|
|
3874
3850
|
};
|
|
3875
3851
|
const proxy = createServiceProxy(
|
|
3876
3852
|
"open-search",
|
|
@@ -3922,6 +3898,17 @@ var AttributesListParamsSchema = v11.looseObject({
|
|
|
3922
3898
|
q: v11.optional(v11.string()),
|
|
3923
3899
|
statusCd: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number)))
|
|
3924
3900
|
});
|
|
3901
|
+
var AttributesItemsListParamsSchema = v11.looseObject({
|
|
3902
|
+
...EdgeCacheParamsSchema.entries,
|
|
3903
|
+
attributeValueUid: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
|
|
3904
|
+
excludeValues: v11.optional(v11.string()),
|
|
3905
|
+
includeValues: v11.optional(v11.string()),
|
|
3906
|
+
limit: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
|
|
3907
|
+
offset: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
|
|
3908
|
+
orderBy: v11.optional(v11.string()),
|
|
3909
|
+
q: v11.optional(v11.string()),
|
|
3910
|
+
statusCd: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number)))
|
|
3911
|
+
});
|
|
3925
3912
|
var AttributesValuesListParamsSchema = v11.looseObject({
|
|
3926
3913
|
...EdgeCacheParamsSchema.entries,
|
|
3927
3914
|
limit: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
|
|
@@ -4244,6 +4231,21 @@ var AttributesDataSchema = v11.looseObject({
|
|
|
4244
4231
|
statusCd: v11.optional(v11.number()),
|
|
4245
4232
|
typeCd: v11.optional(v11.number())
|
|
4246
4233
|
});
|
|
4234
|
+
var AttributesItemsDataSchema = v11.looseObject({
|
|
4235
|
+
itemAttributeValueUid: v11.optional(v11.number()),
|
|
4236
|
+
invMastUid: v11.optional(v11.number()),
|
|
4237
|
+
attributeUid: v11.optional(v11.number()),
|
|
4238
|
+
attributeValue: v11.optional(v11.nullable(v11.string())),
|
|
4239
|
+
dateCreated: v11.optional(v11.string()),
|
|
4240
|
+
createdBy: v11.optional(v11.string()),
|
|
4241
|
+
dateLastModified: v11.optional(v11.string()),
|
|
4242
|
+
lastMaintainedBy: v11.optional(v11.string()),
|
|
4243
|
+
updateCd: v11.optional(v11.number()),
|
|
4244
|
+
processCd: v11.optional(v11.number()),
|
|
4245
|
+
statusCd: v11.optional(v11.number()),
|
|
4246
|
+
attributeValueUid: v11.optional(v11.number()),
|
|
4247
|
+
onlineCd: v11.optional(v11.number())
|
|
4248
|
+
});
|
|
4247
4249
|
var AttributesValuesDataSchema = v11.looseObject({
|
|
4248
4250
|
attributeValueUid: v11.optional(v11.number()),
|
|
4249
4251
|
attributeUid: v11.optional(v11.number()),
|
|
@@ -4336,21 +4338,6 @@ var InvLocDataSchema = v11.looseObject({
|
|
|
4336
4338
|
purchaseDiscountGroup: v11.optional(v11.nullable(v11.string())),
|
|
4337
4339
|
salesDiscountGroup: v11.optional(v11.nullable(v11.string()))
|
|
4338
4340
|
});
|
|
4339
|
-
var InvMastAttributesDataSchema = v11.looseObject({
|
|
4340
|
-
itemAttributeValueUid: v11.optional(v11.number()),
|
|
4341
|
-
invMastUid: v11.optional(v11.number()),
|
|
4342
|
-
attributeUid: v11.optional(v11.number()),
|
|
4343
|
-
attributeValue: v11.optional(v11.nullable(v11.string())),
|
|
4344
|
-
dateCreated: v11.optional(v11.string()),
|
|
4345
|
-
createdBy: v11.optional(v11.string()),
|
|
4346
|
-
dateLastModified: v11.optional(v11.string()),
|
|
4347
|
-
lastMaintainedBy: v11.optional(v11.string()),
|
|
4348
|
-
updateCd: v11.optional(v11.number()),
|
|
4349
|
-
processCd: v11.optional(v11.number()),
|
|
4350
|
-
statusCd: v11.optional(v11.number()),
|
|
4351
|
-
attributeValueUid: v11.optional(v11.number()),
|
|
4352
|
-
onlineCd: v11.optional(v11.number())
|
|
4353
|
-
});
|
|
4354
4341
|
var InvMastFaqDataSchema = v11.looseObject({
|
|
4355
4342
|
invMastFaqUid: v11.optional(v11.number()),
|
|
4356
4343
|
invMastUid: v11.optional(v11.number()),
|
|
@@ -4584,6 +4571,27 @@ var endpoints6 = [
|
|
|
4584
4571
|
responseSchema: PassthroughDataSchema6,
|
|
4585
4572
|
responseType: "passthrough"
|
|
4586
4573
|
},
|
|
4574
|
+
{
|
|
4575
|
+
method: "GET",
|
|
4576
|
+
path: "/attributes/{attributeUid}/items",
|
|
4577
|
+
chain: "attributes.items",
|
|
4578
|
+
action: "list",
|
|
4579
|
+
aliases: [],
|
|
4580
|
+
pathParams: ["attributeUid"],
|
|
4581
|
+
queryParams: [
|
|
4582
|
+
"attributeValueUid",
|
|
4583
|
+
"excludeValues",
|
|
4584
|
+
"includeValues",
|
|
4585
|
+
"limit",
|
|
4586
|
+
"offset",
|
|
4587
|
+
"orderBy",
|
|
4588
|
+
"q",
|
|
4589
|
+
"statusCd"
|
|
4590
|
+
],
|
|
4591
|
+
edgeCache: true,
|
|
4592
|
+
responseSchema: AttributesItemsDataSchema,
|
|
4593
|
+
responseType: "array"
|
|
4594
|
+
},
|
|
4587
4595
|
{
|
|
4588
4596
|
method: "GET",
|
|
4589
4597
|
path: "/attributes/{attributeUid}/values",
|
|
@@ -5053,7 +5061,7 @@ var endpoints6 = [
|
|
|
5053
5061
|
pathParams: ["invMastUid"],
|
|
5054
5062
|
queryParams: [],
|
|
5055
5063
|
edgeCache: false,
|
|
5056
|
-
responseSchema:
|
|
5064
|
+
responseSchema: AttributesItemsDataSchema,
|
|
5057
5065
|
responseType: "object"
|
|
5058
5066
|
},
|
|
5059
5067
|
{
|
|
@@ -5077,7 +5085,7 @@ var endpoints6 = [
|
|
|
5077
5085
|
pathParams: ["invMastUid", "attributeUid"],
|
|
5078
5086
|
queryParams: [],
|
|
5079
5087
|
edgeCache: false,
|
|
5080
|
-
responseSchema:
|
|
5088
|
+
responseSchema: AttributesItemsDataSchema,
|
|
5081
5089
|
responseType: "object"
|
|
5082
5090
|
},
|
|
5083
5091
|
{
|
|
@@ -5089,7 +5097,7 @@ var endpoints6 = [
|
|
|
5089
5097
|
pathParams: ["invMastUid", "attributeUid", "attributeValueUid"],
|
|
5090
5098
|
queryParams: [],
|
|
5091
5099
|
edgeCache: false,
|
|
5092
|
-
responseSchema:
|
|
5100
|
+
responseSchema: AttributesItemsDataSchema,
|
|
5093
5101
|
responseType: "object"
|
|
5094
5102
|
},
|
|
5095
5103
|
{
|
|
@@ -5820,13 +5828,7 @@ var ItemsClient = class extends BaseServiceClient {
|
|
|
5820
5828
|
constructor(http, baseUrl = "https://items.augur-api.com") {
|
|
5821
5829
|
super("items", http, baseUrl);
|
|
5822
5830
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
5823
|
-
|
|
5824
|
-
return this.executeRequest(config, params, pathParams);
|
|
5825
|
-
}
|
|
5826
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
5827
|
-
return this.executeRequest(config, params);
|
|
5828
|
-
}
|
|
5829
|
-
return this.executeRequest(config);
|
|
5831
|
+
return this.executeRequest(config, params, pathParams);
|
|
5830
5832
|
};
|
|
5831
5833
|
const proxy = createServiceProxy("items", boundExecuteRequest, endpoints6);
|
|
5832
5834
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -6292,13 +6294,7 @@ var LegacyClient = class extends BaseServiceClient {
|
|
|
6292
6294
|
constructor(http, baseUrl = "https://legacy.augur-api.com") {
|
|
6293
6295
|
super("legacy", http, baseUrl);
|
|
6294
6296
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
6295
|
-
|
|
6296
|
-
return this.executeRequest(config, params, pathParams);
|
|
6297
|
-
}
|
|
6298
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
6299
|
-
return this.executeRequest(config, params);
|
|
6300
|
-
}
|
|
6301
|
-
return this.executeRequest(config);
|
|
6297
|
+
return this.executeRequest(config, params, pathParams);
|
|
6302
6298
|
};
|
|
6303
6299
|
const proxy = createServiceProxy("legacy", boundExecuteRequest, endpoints7);
|
|
6304
6300
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -6936,13 +6932,7 @@ var NexusClient = class extends BaseServiceClient {
|
|
|
6936
6932
|
constructor(http, baseUrl = "https://nexus.augur-api.com") {
|
|
6937
6933
|
super("nexus", http, baseUrl);
|
|
6938
6934
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
6939
|
-
|
|
6940
|
-
return this.executeRequest(config, params, pathParams);
|
|
6941
|
-
}
|
|
6942
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
6943
|
-
return this.executeRequest(config, params);
|
|
6944
|
-
}
|
|
6945
|
-
return this.executeRequest(config);
|
|
6935
|
+
return this.executeRequest(config, params, pathParams);
|
|
6946
6936
|
};
|
|
6947
6937
|
const proxy = createServiceProxy("nexus", boundExecuteRequest, endpoints8);
|
|
6948
6938
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -6963,6 +6953,9 @@ var NexusClient = class extends BaseServiceClient {
|
|
|
6963
6953
|
this.healthCheckData = createHealthCheckDataResource8(this.healthCheck);
|
|
6964
6954
|
this.pingData = createPingDataResource5(this.ping);
|
|
6965
6955
|
}
|
|
6956
|
+
getServiceDescription() {
|
|
6957
|
+
return "Warehouse operations for bin transfers, receiving, and inter-location inventory movements from P21";
|
|
6958
|
+
}
|
|
6966
6959
|
};
|
|
6967
6960
|
|
|
6968
6961
|
// src/services/agr-site/generated/schemas.ts
|
|
@@ -7736,13 +7729,7 @@ var AgrSiteClient = class extends BaseServiceClient {
|
|
|
7736
7729
|
constructor(http, baseUrl = "https://agr-site.augur-api.com") {
|
|
7737
7730
|
super("agr-site", http, baseUrl);
|
|
7738
7731
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
7739
|
-
|
|
7740
|
-
return this.executeRequest(config, params, pathParams);
|
|
7741
|
-
}
|
|
7742
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
7743
|
-
return this.executeRequest(config, params);
|
|
7744
|
-
}
|
|
7745
|
-
return this.executeRequest(config);
|
|
7732
|
+
return this.executeRequest(config, params, pathParams);
|
|
7746
7733
|
};
|
|
7747
7734
|
const proxy = createServiceProxy("agr-site", boundExecuteRequest, endpoints9);
|
|
7748
7735
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -7807,6 +7794,7 @@ var CustomerAddressListParamsSchema = v17.looseObject({
|
|
|
7807
7794
|
});
|
|
7808
7795
|
var CustomerAddressesListParamsSchema = v17.looseObject({
|
|
7809
7796
|
...EdgeCacheParamsSchema.entries,
|
|
7797
|
+
emailAddress: v17.optional(v17.string()),
|
|
7810
7798
|
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7811
7799
|
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7812
7800
|
orderBy: v17.optional(v17.string()),
|
|
@@ -7833,6 +7821,9 @@ var CustomerOrdersListParamsSchema = v17.looseObject({
|
|
|
7833
7821
|
...EdgeCacheParamsSchema.entries,
|
|
7834
7822
|
cancelFlag: v17.optional(v17.string()),
|
|
7835
7823
|
contactId: v17.optional(v17.string()),
|
|
7824
|
+
createdFrom: v17.optional(v17.string()),
|
|
7825
|
+
createdOn: v17.optional(v17.string()),
|
|
7826
|
+
createdTo: v17.optional(v17.string()),
|
|
7836
7827
|
deleteFlag: v17.optional(v17.string()),
|
|
7837
7828
|
fullDocument: v17.optional(v17.string()),
|
|
7838
7829
|
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
@@ -7848,6 +7839,18 @@ var CustomerPurchasedItemsListParamsSchema = v17.looseObject({
|
|
|
7848
7839
|
});
|
|
7849
7840
|
var CustomerQuotesListParamsSchema = v17.looseObject({
|
|
7850
7841
|
...EdgeCacheParamsSchema.entries,
|
|
7842
|
+
createdFrom: v17.optional(v17.string()),
|
|
7843
|
+
createdOn: v17.optional(v17.string()),
|
|
7844
|
+
createdTo: v17.optional(v17.string()),
|
|
7845
|
+
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7846
|
+
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7847
|
+
orderBy: v17.optional(v17.string())
|
|
7848
|
+
});
|
|
7849
|
+
var CustomerRmasListParamsSchema = v17.looseObject({
|
|
7850
|
+
...EdgeCacheParamsSchema.entries,
|
|
7851
|
+
createdFrom: v17.optional(v17.string()),
|
|
7852
|
+
createdOn: v17.optional(v17.string()),
|
|
7853
|
+
createdTo: v17.optional(v17.string()),
|
|
7851
7854
|
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7852
7855
|
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7853
7856
|
orderBy: v17.optional(v17.string())
|
|
@@ -7879,7 +7882,11 @@ var CustomerAddressesDataSchema = v17.looseObject({
|
|
|
7879
7882
|
statusCd: v17.optional(v17.number()),
|
|
7880
7883
|
processCd: v17.optional(v17.number()),
|
|
7881
7884
|
dateCreated: v17.optional(v17.string()),
|
|
7882
|
-
dateLastModified: v17.optional(v17.string())
|
|
7885
|
+
dateLastModified: v17.optional(v17.string()),
|
|
7886
|
+
emailAddress: v17.optional(v17.nullable(v17.string())),
|
|
7887
|
+
name: v17.optional(v17.nullable(v17.string())),
|
|
7888
|
+
phoneNumberMain: v17.optional(v17.nullable(v17.string())),
|
|
7889
|
+
phoneNumberMobile: v17.optional(v17.nullable(v17.string()))
|
|
7883
7890
|
});
|
|
7884
7891
|
var CustomerTagsDataSchema = v17.looseObject({
|
|
7885
7892
|
customerTagsUid: v17.optional(v17.number()),
|
|
@@ -7998,7 +8005,7 @@ var endpoints10 = [
|
|
|
7998
8005
|
action: "list",
|
|
7999
8006
|
aliases: [],
|
|
8000
8007
|
pathParams: ["customerId"],
|
|
8001
|
-
queryParams: ["limit", "offset", "orderBy", "statusCd"],
|
|
8008
|
+
queryParams: ["emailAddress", "limit", "offset", "orderBy", "statusCd"],
|
|
8002
8009
|
edgeCache: true,
|
|
8003
8010
|
responseSchema: CustomerAddressesDataSchema,
|
|
8004
8011
|
responseType: "array"
|
|
@@ -8130,6 +8137,9 @@ var endpoints10 = [
|
|
|
8130
8137
|
queryParams: [
|
|
8131
8138
|
"cancelFlag",
|
|
8132
8139
|
"contactId",
|
|
8140
|
+
"createdFrom",
|
|
8141
|
+
"createdOn",
|
|
8142
|
+
"createdTo",
|
|
8133
8143
|
"deleteFlag",
|
|
8134
8144
|
"fullDocument",
|
|
8135
8145
|
"limit",
|
|
@@ -8172,7 +8182,7 @@ var endpoints10 = [
|
|
|
8172
8182
|
action: "list",
|
|
8173
8183
|
aliases: [],
|
|
8174
8184
|
pathParams: ["customerId"],
|
|
8175
|
-
queryParams: ["limit", "offset", "orderBy"],
|
|
8185
|
+
queryParams: ["createdFrom", "createdOn", "createdTo", "limit", "offset", "orderBy"],
|
|
8176
8186
|
edgeCache: true,
|
|
8177
8187
|
responseSchema: PassthroughDataSchema10,
|
|
8178
8188
|
responseType: "passthrough"
|
|
@@ -8189,6 +8199,30 @@ var endpoints10 = [
|
|
|
8189
8199
|
responseSchema: PassthroughDataSchema10,
|
|
8190
8200
|
responseType: "passthrough"
|
|
8191
8201
|
},
|
|
8202
|
+
{
|
|
8203
|
+
method: "GET",
|
|
8204
|
+
path: "/customer/{customerId}/rmas",
|
|
8205
|
+
chain: "customer.rmas",
|
|
8206
|
+
action: "list",
|
|
8207
|
+
aliases: [],
|
|
8208
|
+
pathParams: ["customerId"],
|
|
8209
|
+
queryParams: ["createdFrom", "createdOn", "createdTo", "limit", "offset", "orderBy"],
|
|
8210
|
+
edgeCache: true,
|
|
8211
|
+
responseSchema: PassthroughDataSchema10,
|
|
8212
|
+
responseType: "passthrough"
|
|
8213
|
+
},
|
|
8214
|
+
{
|
|
8215
|
+
method: "GET",
|
|
8216
|
+
path: "/customer/{customerId}/rmas/{rmaNo}",
|
|
8217
|
+
chain: "customer.rmas",
|
|
8218
|
+
action: "get",
|
|
8219
|
+
aliases: [],
|
|
8220
|
+
pathParams: ["customerId", "rmaNo"],
|
|
8221
|
+
queryParams: [],
|
|
8222
|
+
edgeCache: true,
|
|
8223
|
+
responseSchema: PassthroughDataSchema10,
|
|
8224
|
+
responseType: "passthrough"
|
|
8225
|
+
},
|
|
8192
8226
|
{
|
|
8193
8227
|
method: "GET",
|
|
8194
8228
|
path: "/customer/{customerId}/ship-to",
|
|
@@ -8336,13 +8370,7 @@ var CustomersClient = class extends BaseServiceClient {
|
|
|
8336
8370
|
constructor(http, baseUrl = "https://customers.augur-api.com") {
|
|
8337
8371
|
super("customers", http, baseUrl);
|
|
8338
8372
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
8339
|
-
|
|
8340
|
-
return this.executeRequest(config, params, pathParams);
|
|
8341
|
-
}
|
|
8342
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
8343
|
-
return this.executeRequest(config, params);
|
|
8344
|
-
}
|
|
8345
|
-
return this.executeRequest(config);
|
|
8373
|
+
return this.executeRequest(config, params, pathParams);
|
|
8346
8374
|
};
|
|
8347
8375
|
const proxy = createServiceProxy(
|
|
8348
8376
|
"customers",
|
|
@@ -8682,13 +8710,7 @@ var OrdersClient = class extends BaseServiceClient {
|
|
|
8682
8710
|
constructor(http, baseUrl = "https://orders.augur-api.com") {
|
|
8683
8711
|
super("orders", http, baseUrl);
|
|
8684
8712
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
8685
|
-
|
|
8686
|
-
return this.executeRequest(config, params, pathParams);
|
|
8687
|
-
}
|
|
8688
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
8689
|
-
return this.executeRequest(config, params);
|
|
8690
|
-
}
|
|
8691
|
-
return this.executeRequest(config);
|
|
8713
|
+
return this.executeRequest(config, params, pathParams);
|
|
8692
8714
|
};
|
|
8693
8715
|
const proxy = createServiceProxy("orders", boundExecuteRequest, endpoints11);
|
|
8694
8716
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -8943,13 +8965,7 @@ var P21PimClient = class extends BaseServiceClient {
|
|
|
8943
8965
|
constructor(http, baseUrl = "https://p21-pim.augur-api.com") {
|
|
8944
8966
|
super("p21-pim", http, baseUrl);
|
|
8945
8967
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
8946
|
-
|
|
8947
|
-
return this.executeRequest(config, params, pathParams);
|
|
8948
|
-
}
|
|
8949
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
8950
|
-
return this.executeRequest(config, params);
|
|
8951
|
-
}
|
|
8952
|
-
return this.executeRequest(config);
|
|
8968
|
+
return this.executeRequest(config, params, pathParams);
|
|
8953
8969
|
};
|
|
8954
8970
|
const proxy = createServiceProxy("p21-pim", boundExecuteRequest, endpoints12);
|
|
8955
8971
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -9303,13 +9319,7 @@ var PaymentsClient = class extends BaseServiceClient {
|
|
|
9303
9319
|
constructor(http, baseUrl = "https://payments.augur-api.com") {
|
|
9304
9320
|
super("payments", http, baseUrl);
|
|
9305
9321
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
9306
|
-
|
|
9307
|
-
return this.executeRequest(config, params, pathParams);
|
|
9308
|
-
}
|
|
9309
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
9310
|
-
return this.executeRequest(config, params);
|
|
9311
|
-
}
|
|
9312
|
-
return this.executeRequest(config);
|
|
9322
|
+
return this.executeRequest(config, params, pathParams);
|
|
9313
9323
|
};
|
|
9314
9324
|
const proxy = createServiceProxy(
|
|
9315
9325
|
"payments",
|
|
@@ -9330,6 +9340,9 @@ var PaymentsClient = class extends BaseServiceClient {
|
|
|
9330
9340
|
this.healthCheckData = createHealthCheckDataResource13(this.healthCheck);
|
|
9331
9341
|
this.pingData = createPingDataResource7(this.ping);
|
|
9332
9342
|
}
|
|
9343
|
+
getServiceDescription() {
|
|
9344
|
+
return "Unified payment processing gateway supporting Moneris, PayTrace, and Element card transactions";
|
|
9345
|
+
}
|
|
9333
9346
|
};
|
|
9334
9347
|
|
|
9335
9348
|
// src/services/agr-info/generated/schemas.ts
|
|
@@ -9682,13 +9695,7 @@ var AgrInfoClient = class extends BaseServiceClient {
|
|
|
9682
9695
|
constructor(http, baseUrl = "https://agr-info.augur-api.com") {
|
|
9683
9696
|
super("agr-info", http, baseUrl);
|
|
9684
9697
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
9685
|
-
|
|
9686
|
-
return this.executeRequest(config, params, pathParams);
|
|
9687
|
-
}
|
|
9688
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
9689
|
-
return this.executeRequest(config, params);
|
|
9690
|
-
}
|
|
9691
|
-
return this.executeRequest(config);
|
|
9698
|
+
return this.executeRequest(config, params, pathParams);
|
|
9692
9699
|
};
|
|
9693
9700
|
const proxy = createServiceProxy("agr-info", boundExecuteRequest, endpoints14);
|
|
9694
9701
|
const dataProxy = createDataProxy(proxy);
|
|
@@ -9716,6 +9723,291 @@ var AgrInfoClient = class extends BaseServiceClient {
|
|
|
9716
9723
|
}
|
|
9717
9724
|
};
|
|
9718
9725
|
|
|
9726
|
+
// src/services/agr-int/generated/schemas.ts
|
|
9727
|
+
import * as v22 from "valibot";
|
|
9728
|
+
var RolesListParamsSchema = v22.looseObject({
|
|
9729
|
+
...EdgeCacheParamsSchema.entries,
|
|
9730
|
+
limit: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
|
|
9731
|
+
offset: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
|
|
9732
|
+
orderBy: v22.optional(v22.string()),
|
|
9733
|
+
roleId: v22.optional(v22.string()),
|
|
9734
|
+
roleName: v22.optional(v22.string()),
|
|
9735
|
+
statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
|
|
9736
|
+
systemFlag: v22.optional(v22.string())
|
|
9737
|
+
});
|
|
9738
|
+
var UsersListParamsSchema = v22.looseObject({
|
|
9739
|
+
...EdgeCacheParamsSchema.entries,
|
|
9740
|
+
email: v22.optional(v22.string()),
|
|
9741
|
+
limit: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
|
|
9742
|
+
offset: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
|
|
9743
|
+
orderBy: v22.optional(v22.string()),
|
|
9744
|
+
phoneNumber: v22.optional(v22.string()),
|
|
9745
|
+
statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
|
|
9746
|
+
username: v22.optional(v22.string())
|
|
9747
|
+
});
|
|
9748
|
+
var UsersRolesListParamsSchema = v22.looseObject({
|
|
9749
|
+
...EdgeCacheParamsSchema.entries,
|
|
9750
|
+
limit: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
|
|
9751
|
+
offset: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
|
|
9752
|
+
orderBy: v22.optional(v22.string()),
|
|
9753
|
+
statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number)))
|
|
9754
|
+
});
|
|
9755
|
+
var RolesDataSchema = v22.looseObject({
|
|
9756
|
+
rolesUid: v22.optional(v22.number()),
|
|
9757
|
+
roleId: v22.optional(v22.string()),
|
|
9758
|
+
roleName: v22.optional(v22.string()),
|
|
9759
|
+
description: v22.optional(v22.nullable(v22.string())),
|
|
9760
|
+
systemFlag: v22.optional(v22.string()),
|
|
9761
|
+
dateCreated: v22.optional(v22.string()),
|
|
9762
|
+
dateLastModified: v22.optional(v22.string()),
|
|
9763
|
+
updateCd: v22.optional(v22.number()),
|
|
9764
|
+
statusCd: v22.optional(v22.number()),
|
|
9765
|
+
processCd: v22.optional(v22.number())
|
|
9766
|
+
});
|
|
9767
|
+
var UsersDataSchema = v22.looseObject({
|
|
9768
|
+
usersUid: v22.optional(v22.number()),
|
|
9769
|
+
username: v22.optional(v22.string()),
|
|
9770
|
+
password: v22.optional(v22.string()),
|
|
9771
|
+
name: v22.optional(v22.nullable(v22.string())),
|
|
9772
|
+
email: v22.optional(v22.string()),
|
|
9773
|
+
phoneNumber: v22.optional(v22.nullable(v22.string())),
|
|
9774
|
+
dateCreated: v22.optional(v22.string()),
|
|
9775
|
+
dateLastModified: v22.optional(v22.string()),
|
|
9776
|
+
updateCd: v22.optional(v22.number()),
|
|
9777
|
+
statusCd: v22.optional(v22.number()),
|
|
9778
|
+
processCd: v22.optional(v22.number())
|
|
9779
|
+
});
|
|
9780
|
+
var UsersVerifyDataSchema = v22.looseObject({
|
|
9781
|
+
usersUid: v22.optional(v22.number()),
|
|
9782
|
+
username: v22.optional(v22.string())
|
|
9783
|
+
});
|
|
9784
|
+
var UsersRolesDataSchema = v22.looseObject({
|
|
9785
|
+
usersXRolesUid: v22.optional(v22.number()),
|
|
9786
|
+
usersUid: v22.optional(v22.number()),
|
|
9787
|
+
rolesUid: v22.optional(v22.number()),
|
|
9788
|
+
dateCreated: v22.optional(v22.string()),
|
|
9789
|
+
dateLastModified: v22.optional(v22.string()),
|
|
9790
|
+
updateCd: v22.optional(v22.number()),
|
|
9791
|
+
statusCd: v22.optional(v22.number()),
|
|
9792
|
+
processCd: v22.optional(v22.number())
|
|
9793
|
+
});
|
|
9794
|
+
var PassthroughDataSchema15 = v22.record(v22.string(), v22.unknown());
|
|
9795
|
+
|
|
9796
|
+
// src/services/agr-int/generated/endpoints.ts
|
|
9797
|
+
var endpoints15 = [
|
|
9798
|
+
{
|
|
9799
|
+
method: "GET",
|
|
9800
|
+
path: "/roles",
|
|
9801
|
+
chain: "roles",
|
|
9802
|
+
action: "list",
|
|
9803
|
+
aliases: [],
|
|
9804
|
+
pathParams: [],
|
|
9805
|
+
queryParams: ["limit", "offset", "orderBy", "roleId", "roleName", "statusCd", "systemFlag"],
|
|
9806
|
+
edgeCache: true,
|
|
9807
|
+
responseSchema: RolesDataSchema,
|
|
9808
|
+
responseType: "array"
|
|
9809
|
+
},
|
|
9810
|
+
{
|
|
9811
|
+
method: "POST",
|
|
9812
|
+
path: "/roles",
|
|
9813
|
+
chain: "roles",
|
|
9814
|
+
action: "create",
|
|
9815
|
+
aliases: [],
|
|
9816
|
+
pathParams: [],
|
|
9817
|
+
queryParams: [],
|
|
9818
|
+
edgeCache: false,
|
|
9819
|
+
responseSchema: RolesDataSchema,
|
|
9820
|
+
responseType: "object"
|
|
9821
|
+
},
|
|
9822
|
+
{
|
|
9823
|
+
method: "GET",
|
|
9824
|
+
path: "/roles/{rolesUid}",
|
|
9825
|
+
chain: "roles",
|
|
9826
|
+
action: "get",
|
|
9827
|
+
aliases: [],
|
|
9828
|
+
pathParams: ["rolesUid"],
|
|
9829
|
+
queryParams: [],
|
|
9830
|
+
edgeCache: true,
|
|
9831
|
+
responseSchema: RolesDataSchema,
|
|
9832
|
+
responseType: "object"
|
|
9833
|
+
},
|
|
9834
|
+
{
|
|
9835
|
+
method: "PUT",
|
|
9836
|
+
path: "/roles/{rolesUid}",
|
|
9837
|
+
chain: "roles",
|
|
9838
|
+
action: "update",
|
|
9839
|
+
aliases: [],
|
|
9840
|
+
pathParams: ["rolesUid"],
|
|
9841
|
+
queryParams: [],
|
|
9842
|
+
edgeCache: false,
|
|
9843
|
+
responseSchema: RolesDataSchema,
|
|
9844
|
+
responseType: "object"
|
|
9845
|
+
},
|
|
9846
|
+
{
|
|
9847
|
+
method: "DELETE",
|
|
9848
|
+
path: "/roles/{rolesUid}",
|
|
9849
|
+
chain: "roles",
|
|
9850
|
+
action: "delete",
|
|
9851
|
+
aliases: [],
|
|
9852
|
+
pathParams: ["rolesUid"],
|
|
9853
|
+
queryParams: [],
|
|
9854
|
+
edgeCache: false,
|
|
9855
|
+
responseSchema: RolesDataSchema,
|
|
9856
|
+
responseType: "object"
|
|
9857
|
+
},
|
|
9858
|
+
{
|
|
9859
|
+
method: "GET",
|
|
9860
|
+
path: "/users",
|
|
9861
|
+
chain: "users",
|
|
9862
|
+
action: "list",
|
|
9863
|
+
aliases: [],
|
|
9864
|
+
pathParams: [],
|
|
9865
|
+
queryParams: ["email", "limit", "offset", "orderBy", "phoneNumber", "statusCd", "username"],
|
|
9866
|
+
edgeCache: true,
|
|
9867
|
+
responseSchema: UsersDataSchema,
|
|
9868
|
+
responseType: "array"
|
|
9869
|
+
},
|
|
9870
|
+
{
|
|
9871
|
+
method: "POST",
|
|
9872
|
+
path: "/users",
|
|
9873
|
+
chain: "users",
|
|
9874
|
+
action: "create",
|
|
9875
|
+
aliases: [],
|
|
9876
|
+
pathParams: [],
|
|
9877
|
+
queryParams: [],
|
|
9878
|
+
edgeCache: false,
|
|
9879
|
+
responseSchema: UsersDataSchema,
|
|
9880
|
+
responseType: "object"
|
|
9881
|
+
},
|
|
9882
|
+
{
|
|
9883
|
+
method: "POST",
|
|
9884
|
+
path: "/users/verify",
|
|
9885
|
+
chain: "users.verify",
|
|
9886
|
+
action: "create",
|
|
9887
|
+
aliases: [],
|
|
9888
|
+
pathParams: [],
|
|
9889
|
+
queryParams: [],
|
|
9890
|
+
edgeCache: false,
|
|
9891
|
+
responseSchema: UsersVerifyDataSchema,
|
|
9892
|
+
responseType: "object"
|
|
9893
|
+
},
|
|
9894
|
+
{
|
|
9895
|
+
method: "GET",
|
|
9896
|
+
path: "/users/{usersUid}",
|
|
9897
|
+
chain: "users",
|
|
9898
|
+
action: "get",
|
|
9899
|
+
aliases: [],
|
|
9900
|
+
pathParams: ["usersUid"],
|
|
9901
|
+
queryParams: [],
|
|
9902
|
+
edgeCache: true,
|
|
9903
|
+
responseSchema: UsersDataSchema,
|
|
9904
|
+
responseType: "object"
|
|
9905
|
+
},
|
|
9906
|
+
{
|
|
9907
|
+
method: "PUT",
|
|
9908
|
+
path: "/users/{usersUid}",
|
|
9909
|
+
chain: "users",
|
|
9910
|
+
action: "update",
|
|
9911
|
+
aliases: [],
|
|
9912
|
+
pathParams: ["usersUid"],
|
|
9913
|
+
queryParams: [],
|
|
9914
|
+
edgeCache: false,
|
|
9915
|
+
responseSchema: UsersDataSchema,
|
|
9916
|
+
responseType: "object"
|
|
9917
|
+
},
|
|
9918
|
+
{
|
|
9919
|
+
method: "DELETE",
|
|
9920
|
+
path: "/users/{usersUid}",
|
|
9921
|
+
chain: "users",
|
|
9922
|
+
action: "delete",
|
|
9923
|
+
aliases: [],
|
|
9924
|
+
pathParams: ["usersUid"],
|
|
9925
|
+
queryParams: [],
|
|
9926
|
+
edgeCache: false,
|
|
9927
|
+
responseSchema: UsersDataSchema,
|
|
9928
|
+
responseType: "object"
|
|
9929
|
+
},
|
|
9930
|
+
{
|
|
9931
|
+
method: "GET",
|
|
9932
|
+
path: "/users/{usersUid}/roles",
|
|
9933
|
+
chain: "users.roles",
|
|
9934
|
+
action: "list",
|
|
9935
|
+
aliases: [],
|
|
9936
|
+
pathParams: ["usersUid"],
|
|
9937
|
+
queryParams: ["limit", "offset", "orderBy", "statusCd"],
|
|
9938
|
+
edgeCache: true,
|
|
9939
|
+
responseSchema: UsersRolesDataSchema,
|
|
9940
|
+
responseType: "array"
|
|
9941
|
+
},
|
|
9942
|
+
{
|
|
9943
|
+
method: "POST",
|
|
9944
|
+
path: "/users/{usersUid}/roles",
|
|
9945
|
+
chain: "users.roles",
|
|
9946
|
+
action: "create",
|
|
9947
|
+
aliases: [],
|
|
9948
|
+
pathParams: ["usersUid"],
|
|
9949
|
+
queryParams: [],
|
|
9950
|
+
edgeCache: false,
|
|
9951
|
+
responseSchema: UsersRolesDataSchema,
|
|
9952
|
+
responseType: "object"
|
|
9953
|
+
},
|
|
9954
|
+
{
|
|
9955
|
+
method: "GET",
|
|
9956
|
+
path: "/users/{usersUid}/roles/{usersXRolesUid}",
|
|
9957
|
+
chain: "users.roles",
|
|
9958
|
+
action: "get",
|
|
9959
|
+
aliases: [],
|
|
9960
|
+
pathParams: ["usersUid", "usersXRolesUid"],
|
|
9961
|
+
queryParams: [],
|
|
9962
|
+
edgeCache: true,
|
|
9963
|
+
responseSchema: UsersRolesDataSchema,
|
|
9964
|
+
responseType: "object"
|
|
9965
|
+
},
|
|
9966
|
+
{
|
|
9967
|
+
method: "PUT",
|
|
9968
|
+
path: "/users/{usersUid}/roles/{usersXRolesUid}",
|
|
9969
|
+
chain: "users.roles",
|
|
9970
|
+
action: "update",
|
|
9971
|
+
aliases: [],
|
|
9972
|
+
pathParams: ["usersUid", "usersXRolesUid"],
|
|
9973
|
+
queryParams: [],
|
|
9974
|
+
edgeCache: false,
|
|
9975
|
+
responseSchema: UsersRolesDataSchema,
|
|
9976
|
+
responseType: "object"
|
|
9977
|
+
},
|
|
9978
|
+
{
|
|
9979
|
+
method: "DELETE",
|
|
9980
|
+
path: "/users/{usersUid}/roles/{usersXRolesUid}",
|
|
9981
|
+
chain: "users.roles",
|
|
9982
|
+
action: "delete",
|
|
9983
|
+
aliases: [],
|
|
9984
|
+
pathParams: ["usersUid", "usersXRolesUid"],
|
|
9985
|
+
queryParams: [],
|
|
9986
|
+
edgeCache: false,
|
|
9987
|
+
responseSchema: UsersRolesDataSchema,
|
|
9988
|
+
responseType: "object"
|
|
9989
|
+
}
|
|
9990
|
+
];
|
|
9991
|
+
|
|
9992
|
+
// src/services/agr-int/client.ts
|
|
9993
|
+
var AgrIntClient = class extends BaseServiceClient {
|
|
9994
|
+
constructor(http, baseUrl = "https://agr-int.augur-api.com") {
|
|
9995
|
+
super("agr-int", http, baseUrl);
|
|
9996
|
+
const boundExecuteRequest = (config, params, pathParams) => {
|
|
9997
|
+
return this.executeRequest(config, params, pathParams);
|
|
9998
|
+
};
|
|
9999
|
+
const proxy = createServiceProxy("agr-int", boundExecuteRequest, endpoints15);
|
|
10000
|
+
const dataProxy = createDataProxy(proxy);
|
|
10001
|
+
this.roles = proxy.roles;
|
|
10002
|
+
this.users = proxy.users;
|
|
10003
|
+
this.rolesData = dataProxy.roles;
|
|
10004
|
+
this.usersData = dataProxy.users;
|
|
10005
|
+
}
|
|
10006
|
+
getServiceDescription() {
|
|
10007
|
+
return "agr_int";
|
|
10008
|
+
}
|
|
10009
|
+
};
|
|
10010
|
+
|
|
9719
10011
|
// src/services/agr-work/resources/health-check.ts
|
|
9720
10012
|
function createHealthCheckResource15(executeRequest) {
|
|
9721
10013
|
return {
|
|
@@ -9875,13 +10167,7 @@ var AgrWorkClient = class extends BaseServiceClient {
|
|
|
9875
10167
|
constructor(http, baseUrl = "https://agr-work.augur-api.com") {
|
|
9876
10168
|
super("agr-work", http, baseUrl);
|
|
9877
10169
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
9878
|
-
|
|
9879
|
-
return this.executeRequest(config, params, pathParams);
|
|
9880
|
-
}
|
|
9881
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
9882
|
-
return this.executeRequest(config, params);
|
|
9883
|
-
}
|
|
9884
|
-
return this.executeRequest(config);
|
|
10170
|
+
return this.executeRequest(config, params, pathParams);
|
|
9885
10171
|
};
|
|
9886
10172
|
this.healthCheck = createHealthCheckResource15(boundExecuteRequest);
|
|
9887
10173
|
this.ping = createPingResource9(boundExecuteRequest);
|
|
@@ -9891,11 +10177,11 @@ var AgrWorkClient = class extends BaseServiceClient {
|
|
|
9891
10177
|
};
|
|
9892
10178
|
|
|
9893
10179
|
// src/services/avalara/generated/schemas.ts
|
|
9894
|
-
import * as
|
|
9895
|
-
var
|
|
10180
|
+
import * as v23 from "valibot";
|
|
10181
|
+
var PassthroughDataSchema16 = v23.record(v23.string(), v23.unknown());
|
|
9896
10182
|
|
|
9897
10183
|
// src/services/avalara/generated/endpoints.ts
|
|
9898
|
-
var
|
|
10184
|
+
var endpoints16 = [
|
|
9899
10185
|
{
|
|
9900
10186
|
method: "POST",
|
|
9901
10187
|
path: "/rates",
|
|
@@ -9905,7 +10191,7 @@ var endpoints15 = [
|
|
|
9905
10191
|
pathParams: [],
|
|
9906
10192
|
queryParams: [],
|
|
9907
10193
|
edgeCache: false,
|
|
9908
|
-
responseSchema:
|
|
10194
|
+
responseSchema: PassthroughDataSchema16,
|
|
9909
10195
|
responseType: "passthrough"
|
|
9910
10196
|
}
|
|
9911
10197
|
];
|
|
@@ -9976,15 +10262,9 @@ var AvalaraClient = class extends BaseServiceClient {
|
|
|
9976
10262
|
constructor(http, baseUrl = "https://avalara.augur-api.com") {
|
|
9977
10263
|
super("avalara", http, baseUrl);
|
|
9978
10264
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
9979
|
-
|
|
9980
|
-
return this.executeRequest(config, params, pathParams);
|
|
9981
|
-
}
|
|
9982
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
9983
|
-
return this.executeRequest(config, params);
|
|
9984
|
-
}
|
|
9985
|
-
return this.executeRequest(config);
|
|
10265
|
+
return this.executeRequest(config, params, pathParams);
|
|
9986
10266
|
};
|
|
9987
|
-
const proxy = createServiceProxy("avalara", boundExecuteRequest,
|
|
10267
|
+
const proxy = createServiceProxy("avalara", boundExecuteRequest, endpoints16);
|
|
9988
10268
|
const dataProxy = createDataProxy(proxy);
|
|
9989
10269
|
this.rates = proxy.rates;
|
|
9990
10270
|
this.ratesData = dataProxy.rates;
|
|
@@ -9994,11 +10274,11 @@ var AvalaraClient = class extends BaseServiceClient {
|
|
|
9994
10274
|
};
|
|
9995
10275
|
|
|
9996
10276
|
// src/services/brand-folder/generated/schemas.ts
|
|
9997
|
-
import * as
|
|
9998
|
-
var
|
|
10277
|
+
import * as v24 from "valibot";
|
|
10278
|
+
var PassthroughDataSchema17 = v24.record(v24.string(), v24.unknown());
|
|
9999
10279
|
|
|
10000
10280
|
// src/services/brand-folder/generated/endpoints.ts
|
|
10001
|
-
var
|
|
10281
|
+
var endpoints17 = [
|
|
10002
10282
|
{
|
|
10003
10283
|
method: "POST",
|
|
10004
10284
|
path: "/categories/focus",
|
|
@@ -10008,7 +10288,7 @@ var endpoints16 = [
|
|
|
10008
10288
|
pathParams: [],
|
|
10009
10289
|
queryParams: [],
|
|
10010
10290
|
edgeCache: false,
|
|
10011
|
-
responseSchema:
|
|
10291
|
+
responseSchema: PassthroughDataSchema17,
|
|
10012
10292
|
responseType: "passthrough"
|
|
10013
10293
|
}
|
|
10014
10294
|
];
|
|
@@ -10079,18 +10359,12 @@ var BrandFolderClient = class extends BaseServiceClient {
|
|
|
10079
10359
|
constructor(http, baseUrl = "https://brand-folder.augur-api.com") {
|
|
10080
10360
|
super("brand-folder", http, baseUrl);
|
|
10081
10361
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
10082
|
-
|
|
10083
|
-
return this.executeRequest(config, params, pathParams);
|
|
10084
|
-
}
|
|
10085
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
10086
|
-
return this.executeRequest(config, params);
|
|
10087
|
-
}
|
|
10088
|
-
return this.executeRequest(config);
|
|
10362
|
+
return this.executeRequest(config, params, pathParams);
|
|
10089
10363
|
};
|
|
10090
10364
|
const proxy = createServiceProxy(
|
|
10091
10365
|
"brand-folder",
|
|
10092
10366
|
boundExecuteRequest,
|
|
10093
|
-
|
|
10367
|
+
endpoints17
|
|
10094
10368
|
);
|
|
10095
10369
|
const dataProxy = createDataProxy(proxy);
|
|
10096
10370
|
this.categories = proxy.categories;
|
|
@@ -10104,15 +10378,15 @@ var BrandFolderClient = class extends BaseServiceClient {
|
|
|
10104
10378
|
};
|
|
10105
10379
|
|
|
10106
10380
|
// src/services/gregorovich/generated/schemas.ts
|
|
10107
|
-
import * as
|
|
10108
|
-
var ChatGptAskGetParamsSchema =
|
|
10381
|
+
import * as v25 from "valibot";
|
|
10382
|
+
var ChatGptAskGetParamsSchema = v25.looseObject({
|
|
10109
10383
|
...EdgeCacheParamsSchema.entries,
|
|
10110
|
-
question:
|
|
10384
|
+
question: v25.string()
|
|
10111
10385
|
});
|
|
10112
|
-
var
|
|
10386
|
+
var PassthroughDataSchema18 = v25.record(v25.string(), v25.unknown());
|
|
10113
10387
|
|
|
10114
10388
|
// src/services/gregorovich/generated/endpoints.ts
|
|
10115
|
-
var
|
|
10389
|
+
var endpoints18 = [
|
|
10116
10390
|
{
|
|
10117
10391
|
method: "GET",
|
|
10118
10392
|
path: "/chat-gpt/ask",
|
|
@@ -10122,7 +10396,7 @@ var endpoints17 = [
|
|
|
10122
10396
|
pathParams: [],
|
|
10123
10397
|
queryParams: ["question"],
|
|
10124
10398
|
edgeCache: true,
|
|
10125
|
-
responseSchema:
|
|
10399
|
+
responseSchema: PassthroughDataSchema18,
|
|
10126
10400
|
responseType: "passthrough"
|
|
10127
10401
|
},
|
|
10128
10402
|
{
|
|
@@ -10134,7 +10408,7 @@ var endpoints17 = [
|
|
|
10134
10408
|
pathParams: [],
|
|
10135
10409
|
queryParams: [],
|
|
10136
10410
|
edgeCache: true,
|
|
10137
|
-
responseSchema:
|
|
10411
|
+
responseSchema: PassthroughDataSchema18,
|
|
10138
10412
|
responseType: "passthrough"
|
|
10139
10413
|
},
|
|
10140
10414
|
{
|
|
@@ -10146,7 +10420,7 @@ var endpoints17 = [
|
|
|
10146
10420
|
pathParams: [],
|
|
10147
10421
|
queryParams: [],
|
|
10148
10422
|
edgeCache: false,
|
|
10149
|
-
responseSchema:
|
|
10423
|
+
responseSchema: PassthroughDataSchema18,
|
|
10150
10424
|
responseType: "passthrough"
|
|
10151
10425
|
}
|
|
10152
10426
|
];
|
|
@@ -10217,18 +10491,12 @@ var GregorovichClient = class extends BaseServiceClient {
|
|
|
10217
10491
|
constructor(http, baseUrl = "https://gregorovich.augur-api.com") {
|
|
10218
10492
|
super("gregorovich", http, baseUrl);
|
|
10219
10493
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
10220
|
-
|
|
10221
|
-
return this.executeRequest(config, params, pathParams);
|
|
10222
|
-
}
|
|
10223
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
10224
|
-
return this.executeRequest(config, params);
|
|
10225
|
-
}
|
|
10226
|
-
return this.executeRequest(config);
|
|
10494
|
+
return this.executeRequest(config, params, pathParams);
|
|
10227
10495
|
};
|
|
10228
10496
|
const proxy = createServiceProxy(
|
|
10229
10497
|
"gregorovich",
|
|
10230
10498
|
boundExecuteRequest,
|
|
10231
|
-
|
|
10499
|
+
endpoints18
|
|
10232
10500
|
);
|
|
10233
10501
|
const dataProxy = createDataProxy(proxy);
|
|
10234
10502
|
this.chatGpt = proxy.chatGpt;
|
|
@@ -10243,139 +10511,139 @@ var GregorovichClient = class extends BaseServiceClient {
|
|
|
10243
10511
|
};
|
|
10244
10512
|
|
|
10245
10513
|
// src/services/logistics/generated/schemas.ts
|
|
10246
|
-
import * as
|
|
10247
|
-
var FedexRatesListParamsSchema =
|
|
10248
|
-
...EdgeCacheParamsSchema.entries,
|
|
10249
|
-
fromAddress1:
|
|
10250
|
-
fromCity:
|
|
10251
|
-
fromCountryCode:
|
|
10252
|
-
fromPostalCode:
|
|
10253
|
-
fromStateProvinceCode:
|
|
10254
|
-
toAddress1:
|
|
10255
|
-
toCity:
|
|
10256
|
-
toCountryCode:
|
|
10257
|
-
toPostalCode:
|
|
10258
|
-
toResidential:
|
|
10259
|
-
toStateProvinceCode:
|
|
10260
|
-
weight:
|
|
10261
|
-
});
|
|
10262
|
-
var RtsBrandsListParamsSchema =
|
|
10263
|
-
...EdgeCacheParamsSchema.entries,
|
|
10264
|
-
search:
|
|
10265
|
-
});
|
|
10266
|
-
var RtsBrandsBrandIdMachinesListParamsSchema =
|
|
10267
|
-
...EdgeCacheParamsSchema.entries,
|
|
10268
|
-
search:
|
|
10269
|
-
});
|
|
10270
|
-
var RtsSearchMachinesListParamsSchema =
|
|
10271
|
-
...EdgeCacheParamsSchema.entries,
|
|
10272
|
-
q:
|
|
10273
|
-
});
|
|
10274
|
-
var RtsTracksListParamsSchema =
|
|
10275
|
-
...EdgeCacheParamsSchema.entries,
|
|
10276
|
-
search:
|
|
10277
|
-
trackClass:
|
|
10278
|
-
});
|
|
10279
|
-
var ShipviaRatesListParamsSchema =
|
|
10280
|
-
...EdgeCacheParamsSchema.entries,
|
|
10281
|
-
carriers:
|
|
10282
|
-
dimensionUnit:
|
|
10283
|
-
fromCity:
|
|
10284
|
-
fromCountry:
|
|
10285
|
-
fromPostalCode:
|
|
10286
|
-
fromState:
|
|
10287
|
-
locationId:
|
|
10288
|
-
packageHeight:
|
|
10289
|
-
packageLength:
|
|
10290
|
-
packageWidth:
|
|
10291
|
-
residential:
|
|
10292
|
-
serviceType:
|
|
10293
|
-
toCity:
|
|
10294
|
-
toCountry:
|
|
10295
|
-
toPostalCode:
|
|
10296
|
-
toState:
|
|
10297
|
-
totalWeight:
|
|
10298
|
-
weightUnit:
|
|
10299
|
-
});
|
|
10300
|
-
var ShipviaRatesLtlListParamsSchema =
|
|
10301
|
-
...EdgeCacheParamsSchema.entries,
|
|
10302
|
-
carriers:
|
|
10303
|
-
commodityClass:
|
|
10304
|
-
commodityDescription:
|
|
10305
|
-
deliveryInstructions:
|
|
10306
|
-
dimensionUnit:
|
|
10307
|
-
fromCity:
|
|
10308
|
-
fromCountry:
|
|
10309
|
-
fromPostalCode:
|
|
10310
|
-
fromState:
|
|
10311
|
-
isHazMat:
|
|
10312
|
-
locationId:
|
|
10313
|
-
packageHeight:
|
|
10314
|
-
packageLength:
|
|
10315
|
-
packageWidth:
|
|
10316
|
-
packagingType:
|
|
10317
|
-
pickupInstructions:
|
|
10318
|
-
quantity:
|
|
10319
|
-
toCity:
|
|
10320
|
-
toCountry:
|
|
10321
|
-
toPostalCode:
|
|
10322
|
-
toState:
|
|
10323
|
-
totalWeight:
|
|
10324
|
-
weightUnit:
|
|
10325
|
-
});
|
|
10326
|
-
var SpeedshipFreightListParamsSchema =
|
|
10327
|
-
...EdgeCacheParamsSchema.entries,
|
|
10328
|
-
deliveryInstructions:
|
|
10329
|
-
dimensionUnit:
|
|
10330
|
-
fromAddressLine:
|
|
10331
|
-
fromCity:
|
|
10332
|
-
fromCompanyName:
|
|
10333
|
-
fromCountryCode:
|
|
10334
|
-
fromFirstName:
|
|
10335
|
-
fromLastName:
|
|
10336
|
-
fromPhone:
|
|
10337
|
-
fromPostalCode:
|
|
10338
|
-
fromState:
|
|
10339
|
-
handlingCharge:
|
|
10340
|
-
handlingChargeUnit:
|
|
10341
|
-
international:
|
|
10342
|
-
packageHeight:
|
|
10343
|
-
packageLength:
|
|
10344
|
-
packageWidth:
|
|
10345
|
-
pickupInstructions:
|
|
10346
|
-
productType:
|
|
10347
|
-
quantity:
|
|
10348
|
-
responseFormat:
|
|
10349
|
-
toAddressLine:
|
|
10350
|
-
toCity:
|
|
10351
|
-
toCompanyName:
|
|
10352
|
-
toCountryCode:
|
|
10353
|
-
toFirstName:
|
|
10354
|
-
toLastName:
|
|
10355
|
-
toPhone:
|
|
10356
|
-
toPostalCode:
|
|
10357
|
-
toRegion:
|
|
10358
|
-
totalWeight:
|
|
10359
|
-
weightUnit:
|
|
10360
|
-
});
|
|
10361
|
-
var UPSRatesListParamsSchema =
|
|
10362
|
-
...EdgeCacheParamsSchema.entries,
|
|
10363
|
-
fromAddress1:
|
|
10364
|
-
fromCity:
|
|
10365
|
-
fromCountryCode:
|
|
10366
|
-
fromPostalCode:
|
|
10367
|
-
fromStateProvinceCode:
|
|
10368
|
-
toAddress1:
|
|
10369
|
-
toCity:
|
|
10370
|
-
toCountryCode:
|
|
10371
|
-
toPostalCode:
|
|
10372
|
-
toStateProvinceCode:
|
|
10373
|
-
weight:
|
|
10514
|
+
import * as v26 from "valibot";
|
|
10515
|
+
var FedexRatesListParamsSchema = v26.looseObject({
|
|
10516
|
+
...EdgeCacheParamsSchema.entries,
|
|
10517
|
+
fromAddress1: v26.string(),
|
|
10518
|
+
fromCity: v26.string(),
|
|
10519
|
+
fromCountryCode: v26.optional(v26.string()),
|
|
10520
|
+
fromPostalCode: v26.string(),
|
|
10521
|
+
fromStateProvinceCode: v26.string(),
|
|
10522
|
+
toAddress1: v26.string(),
|
|
10523
|
+
toCity: v26.string(),
|
|
10524
|
+
toCountryCode: v26.optional(v26.string()),
|
|
10525
|
+
toPostalCode: v26.string(),
|
|
10526
|
+
toResidential: v26.optional(v26.boolean()),
|
|
10527
|
+
toStateProvinceCode: v26.string(),
|
|
10528
|
+
weight: v26.pipe(v26.unknown(), v26.transform(Number))
|
|
10529
|
+
});
|
|
10530
|
+
var RtsBrandsListParamsSchema = v26.looseObject({
|
|
10531
|
+
...EdgeCacheParamsSchema.entries,
|
|
10532
|
+
search: v26.optional(v26.string())
|
|
10533
|
+
});
|
|
10534
|
+
var RtsBrandsBrandIdMachinesListParamsSchema = v26.looseObject({
|
|
10535
|
+
...EdgeCacheParamsSchema.entries,
|
|
10536
|
+
search: v26.optional(v26.string())
|
|
10537
|
+
});
|
|
10538
|
+
var RtsSearchMachinesListParamsSchema = v26.looseObject({
|
|
10539
|
+
...EdgeCacheParamsSchema.entries,
|
|
10540
|
+
q: v26.string()
|
|
10541
|
+
});
|
|
10542
|
+
var RtsTracksListParamsSchema = v26.looseObject({
|
|
10543
|
+
...EdgeCacheParamsSchema.entries,
|
|
10544
|
+
search: v26.optional(v26.string()),
|
|
10545
|
+
trackClass: v26.optional(v26.string())
|
|
10546
|
+
});
|
|
10547
|
+
var ShipviaRatesListParamsSchema = v26.looseObject({
|
|
10548
|
+
...EdgeCacheParamsSchema.entries,
|
|
10549
|
+
carriers: v26.optional(v26.string()),
|
|
10550
|
+
dimensionUnit: v26.optional(v26.string()),
|
|
10551
|
+
fromCity: v26.optional(v26.string()),
|
|
10552
|
+
fromCountry: v26.optional(v26.string()),
|
|
10553
|
+
fromPostalCode: v26.string(),
|
|
10554
|
+
fromState: v26.optional(v26.string()),
|
|
10555
|
+
locationId: v26.pipe(v26.unknown(), v26.transform(Number)),
|
|
10556
|
+
packageHeight: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10557
|
+
packageLength: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10558
|
+
packageWidth: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10559
|
+
residential: v26.optional(v26.boolean()),
|
|
10560
|
+
serviceType: v26.optional(v26.string()),
|
|
10561
|
+
toCity: v26.optional(v26.string()),
|
|
10562
|
+
toCountry: v26.optional(v26.string()),
|
|
10563
|
+
toPostalCode: v26.string(),
|
|
10564
|
+
toState: v26.optional(v26.string()),
|
|
10565
|
+
totalWeight: v26.pipe(v26.unknown(), v26.transform(Number)),
|
|
10566
|
+
weightUnit: v26.string()
|
|
10567
|
+
});
|
|
10568
|
+
var ShipviaRatesLtlListParamsSchema = v26.looseObject({
|
|
10569
|
+
...EdgeCacheParamsSchema.entries,
|
|
10570
|
+
carriers: v26.optional(v26.string()),
|
|
10571
|
+
commodityClass: v26.string(),
|
|
10572
|
+
commodityDescription: v26.string(),
|
|
10573
|
+
deliveryInstructions: v26.optional(v26.string()),
|
|
10574
|
+
dimensionUnit: v26.optional(v26.string()),
|
|
10575
|
+
fromCity: v26.optional(v26.string()),
|
|
10576
|
+
fromCountry: v26.optional(v26.string()),
|
|
10577
|
+
fromPostalCode: v26.string(),
|
|
10578
|
+
fromState: v26.optional(v26.string()),
|
|
10579
|
+
isHazMat: v26.optional(v26.boolean()),
|
|
10580
|
+
locationId: v26.pipe(v26.unknown(), v26.transform(Number)),
|
|
10581
|
+
packageHeight: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10582
|
+
packageLength: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10583
|
+
packageWidth: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10584
|
+
packagingType: v26.string(),
|
|
10585
|
+
pickupInstructions: v26.optional(v26.string()),
|
|
10586
|
+
quantity: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10587
|
+
toCity: v26.optional(v26.string()),
|
|
10588
|
+
toCountry: v26.optional(v26.string()),
|
|
10589
|
+
toPostalCode: v26.string(),
|
|
10590
|
+
toState: v26.optional(v26.string()),
|
|
10591
|
+
totalWeight: v26.pipe(v26.unknown(), v26.transform(Number)),
|
|
10592
|
+
weightUnit: v26.string()
|
|
10593
|
+
});
|
|
10594
|
+
var SpeedshipFreightListParamsSchema = v26.looseObject({
|
|
10595
|
+
...EdgeCacheParamsSchema.entries,
|
|
10596
|
+
deliveryInstructions: v26.optional(v26.string()),
|
|
10597
|
+
dimensionUnit: v26.string(),
|
|
10598
|
+
fromAddressLine: v26.string(),
|
|
10599
|
+
fromCity: v26.string(),
|
|
10600
|
+
fromCompanyName: v26.string(),
|
|
10601
|
+
fromCountryCode: v26.string(),
|
|
10602
|
+
fromFirstName: v26.string(),
|
|
10603
|
+
fromLastName: v26.string(),
|
|
10604
|
+
fromPhone: v26.string(),
|
|
10605
|
+
fromPostalCode: v26.string(),
|
|
10606
|
+
fromState: v26.string(),
|
|
10607
|
+
handlingCharge: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10608
|
+
handlingChargeUnit: v26.optional(v26.string()),
|
|
10609
|
+
international: v26.optional(v26.boolean()),
|
|
10610
|
+
packageHeight: v26.optional(v26.pipe(v26.unknown(), v26.transform(Number))),
|
|
10611
|
+
packageLength: v26.pipe(v26.unknown(), v26.transform(Number)),
|
|
10612
|
+
packageWidth: v26.pipe(v26.unknown(), v26.transform(Number)),
|
|
10613
|
+
pickupInstructions: v26.optional(v26.string()),
|
|
10614
|
+
productType: v26.string(),
|
|
10615
|
+
quantity: v26.pipe(v26.unknown(), v26.transform(Number)),
|
|
10616
|
+
responseFormat: v26.string(),
|
|
10617
|
+
toAddressLine: v26.string(),
|
|
10618
|
+
toCity: v26.string(),
|
|
10619
|
+
toCompanyName: v26.string(),
|
|
10620
|
+
toCountryCode: v26.string(),
|
|
10621
|
+
toFirstName: v26.string(),
|
|
10622
|
+
toLastName: v26.string(),
|
|
10623
|
+
toPhone: v26.string(),
|
|
10624
|
+
toPostalCode: v26.string(),
|
|
10625
|
+
toRegion: v26.string(),
|
|
10626
|
+
totalWeight: v26.pipe(v26.unknown(), v26.transform(Number)),
|
|
10627
|
+
weightUnit: v26.string()
|
|
10628
|
+
});
|
|
10629
|
+
var UPSRatesListParamsSchema = v26.looseObject({
|
|
10630
|
+
...EdgeCacheParamsSchema.entries,
|
|
10631
|
+
fromAddress1: v26.string(),
|
|
10632
|
+
fromCity: v26.string(),
|
|
10633
|
+
fromCountryCode: v26.optional(v26.string()),
|
|
10634
|
+
fromPostalCode: v26.string(),
|
|
10635
|
+
fromStateProvinceCode: v26.string(),
|
|
10636
|
+
toAddress1: v26.string(),
|
|
10637
|
+
toCity: v26.string(),
|
|
10638
|
+
toCountryCode: v26.optional(v26.string()),
|
|
10639
|
+
toPostalCode: v26.string(),
|
|
10640
|
+
toStateProvinceCode: v26.string(),
|
|
10641
|
+
weight: v26.pipe(v26.unknown(), v26.transform(Number))
|
|
10374
10642
|
});
|
|
10375
|
-
var
|
|
10643
|
+
var PassthroughDataSchema19 = v26.record(v26.string(), v26.unknown());
|
|
10376
10644
|
|
|
10377
10645
|
// src/services/logistics/generated/endpoints.ts
|
|
10378
|
-
var
|
|
10646
|
+
var endpoints19 = [
|
|
10379
10647
|
{
|
|
10380
10648
|
method: "GET",
|
|
10381
10649
|
path: "/fedex/rates",
|
|
@@ -10398,7 +10666,7 @@ var endpoints18 = [
|
|
|
10398
10666
|
"weight"
|
|
10399
10667
|
],
|
|
10400
10668
|
edgeCache: true,
|
|
10401
|
-
responseSchema:
|
|
10669
|
+
responseSchema: PassthroughDataSchema19,
|
|
10402
10670
|
responseType: "passthrough"
|
|
10403
10671
|
},
|
|
10404
10672
|
{
|
|
@@ -10410,7 +10678,7 @@ var endpoints18 = [
|
|
|
10410
10678
|
pathParams: [],
|
|
10411
10679
|
queryParams: ["search"],
|
|
10412
10680
|
edgeCache: true,
|
|
10413
|
-
responseSchema:
|
|
10681
|
+
responseSchema: PassthroughDataSchema19,
|
|
10414
10682
|
responseType: "passthrough"
|
|
10415
10683
|
},
|
|
10416
10684
|
{
|
|
@@ -10422,7 +10690,7 @@ var endpoints18 = [
|
|
|
10422
10690
|
pathParams: ["brandId"],
|
|
10423
10691
|
queryParams: ["search"],
|
|
10424
10692
|
edgeCache: true,
|
|
10425
|
-
responseSchema:
|
|
10693
|
+
responseSchema: PassthroughDataSchema19,
|
|
10426
10694
|
responseType: "passthrough"
|
|
10427
10695
|
},
|
|
10428
10696
|
{
|
|
@@ -10434,7 +10702,7 @@ var endpoints18 = [
|
|
|
10434
10702
|
pathParams: ["machineId"],
|
|
10435
10703
|
queryParams: [],
|
|
10436
10704
|
edgeCache: true,
|
|
10437
|
-
responseSchema:
|
|
10705
|
+
responseSchema: PassthroughDataSchema19,
|
|
10438
10706
|
responseType: "passthrough"
|
|
10439
10707
|
},
|
|
10440
10708
|
{
|
|
@@ -10446,7 +10714,7 @@ var endpoints18 = [
|
|
|
10446
10714
|
pathParams: [],
|
|
10447
10715
|
queryParams: ["q"],
|
|
10448
10716
|
edgeCache: true,
|
|
10449
|
-
responseSchema:
|
|
10717
|
+
responseSchema: PassthroughDataSchema19,
|
|
10450
10718
|
responseType: "passthrough"
|
|
10451
10719
|
},
|
|
10452
10720
|
{
|
|
@@ -10458,7 +10726,7 @@ var endpoints18 = [
|
|
|
10458
10726
|
pathParams: ["trackId"],
|
|
10459
10727
|
queryParams: [],
|
|
10460
10728
|
edgeCache: true,
|
|
10461
|
-
responseSchema:
|
|
10729
|
+
responseSchema: PassthroughDataSchema19,
|
|
10462
10730
|
responseType: "passthrough"
|
|
10463
10731
|
},
|
|
10464
10732
|
{
|
|
@@ -10470,7 +10738,7 @@ var endpoints18 = [
|
|
|
10470
10738
|
pathParams: [],
|
|
10471
10739
|
queryParams: ["search", "trackClass"],
|
|
10472
10740
|
edgeCache: true,
|
|
10473
|
-
responseSchema:
|
|
10741
|
+
responseSchema: PassthroughDataSchema19,
|
|
10474
10742
|
responseType: "passthrough"
|
|
10475
10743
|
},
|
|
10476
10744
|
{
|
|
@@ -10501,7 +10769,7 @@ var endpoints18 = [
|
|
|
10501
10769
|
"weightUnit"
|
|
10502
10770
|
],
|
|
10503
10771
|
edgeCache: true,
|
|
10504
|
-
responseSchema:
|
|
10772
|
+
responseSchema: PassthroughDataSchema19,
|
|
10505
10773
|
responseType: "passthrough"
|
|
10506
10774
|
},
|
|
10507
10775
|
{
|
|
@@ -10537,7 +10805,7 @@ var endpoints18 = [
|
|
|
10537
10805
|
"weightUnit"
|
|
10538
10806
|
],
|
|
10539
10807
|
edgeCache: true,
|
|
10540
|
-
responseSchema:
|
|
10808
|
+
responseSchema: PassthroughDataSchema19,
|
|
10541
10809
|
responseType: "passthrough"
|
|
10542
10810
|
},
|
|
10543
10811
|
{
|
|
@@ -10582,7 +10850,7 @@ var endpoints18 = [
|
|
|
10582
10850
|
"weightUnit"
|
|
10583
10851
|
],
|
|
10584
10852
|
edgeCache: true,
|
|
10585
|
-
responseSchema:
|
|
10853
|
+
responseSchema: PassthroughDataSchema19,
|
|
10586
10854
|
responseType: "passthrough"
|
|
10587
10855
|
},
|
|
10588
10856
|
{
|
|
@@ -10606,7 +10874,7 @@ var endpoints18 = [
|
|
|
10606
10874
|
"weight"
|
|
10607
10875
|
],
|
|
10608
10876
|
edgeCache: true,
|
|
10609
|
-
responseSchema:
|
|
10877
|
+
responseSchema: PassthroughDataSchema19,
|
|
10610
10878
|
responseType: "passthrough"
|
|
10611
10879
|
}
|
|
10612
10880
|
];
|
|
@@ -10744,18 +11012,12 @@ var LogisticsClient = class extends BaseServiceClient {
|
|
|
10744
11012
|
constructor(http, baseUrl = "https://logistics.augur-api.com") {
|
|
10745
11013
|
super("logistics", http, baseUrl);
|
|
10746
11014
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
10747
|
-
|
|
10748
|
-
return this.executeRequest(config, params, pathParams);
|
|
10749
|
-
}
|
|
10750
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
10751
|
-
return this.executeRequest(config, params);
|
|
10752
|
-
}
|
|
10753
|
-
return this.executeRequest(config);
|
|
11015
|
+
return this.executeRequest(config, params, pathParams);
|
|
10754
11016
|
};
|
|
10755
11017
|
const proxy = createServiceProxy(
|
|
10756
11018
|
"logistics",
|
|
10757
11019
|
boundExecuteRequest,
|
|
10758
|
-
|
|
11020
|
+
endpoints19
|
|
10759
11021
|
);
|
|
10760
11022
|
const dataProxy = createDataProxy(proxy);
|
|
10761
11023
|
this.fedex = proxy.fedex;
|
|
@@ -10779,51 +11041,51 @@ var LogisticsClient = class extends BaseServiceClient {
|
|
|
10779
11041
|
};
|
|
10780
11042
|
|
|
10781
11043
|
// src/services/p21-apis/generated/schemas.ts
|
|
10782
|
-
import * as
|
|
10783
|
-
var TransCategoryGetParamsSchema =
|
|
11044
|
+
import * as v27 from "valibot";
|
|
11045
|
+
var TransCategoryGetParamsSchema = v27.looseObject({
|
|
10784
11046
|
...EdgeCacheParamsSchema.entries,
|
|
10785
|
-
category_id:
|
|
11047
|
+
category_id: v27.optional(v27.string())
|
|
10786
11048
|
});
|
|
10787
|
-
var TransCategoryUpdateParamsSchema =
|
|
10788
|
-
category_id:
|
|
11049
|
+
var TransCategoryUpdateParamsSchema = v27.looseObject({
|
|
11050
|
+
category_id: v27.optional(v27.string())
|
|
10789
11051
|
});
|
|
10790
|
-
var TransCategoryDeleteParamsSchema =
|
|
10791
|
-
category_id:
|
|
11052
|
+
var TransCategoryDeleteParamsSchema = v27.looseObject({
|
|
11053
|
+
category_id: v27.optional(v27.string())
|
|
10792
11054
|
});
|
|
10793
|
-
var TransCompanyGetParamsSchema =
|
|
11055
|
+
var TransCompanyGetParamsSchema = v27.looseObject({
|
|
10794
11056
|
...EdgeCacheParamsSchema.entries,
|
|
10795
|
-
company_id:
|
|
11057
|
+
company_id: v27.optional(v27.string())
|
|
10796
11058
|
});
|
|
10797
|
-
var TransCompanyUpdateParamsSchema =
|
|
10798
|
-
company_id:
|
|
11059
|
+
var TransCompanyUpdateParamsSchema = v27.looseObject({
|
|
11060
|
+
company_id: v27.optional(v27.string())
|
|
10799
11061
|
});
|
|
10800
|
-
var TransCompanyDeleteParamsSchema =
|
|
10801
|
-
company_id:
|
|
11062
|
+
var TransCompanyDeleteParamsSchema = v27.looseObject({
|
|
11063
|
+
company_id: v27.optional(v27.string())
|
|
10802
11064
|
});
|
|
10803
|
-
var TransUserGetParamsSchema =
|
|
11065
|
+
var TransUserGetParamsSchema = v27.looseObject({
|
|
10804
11066
|
...EdgeCacheParamsSchema.entries,
|
|
10805
|
-
user_id:
|
|
11067
|
+
user_id: v27.optional(v27.string())
|
|
10806
11068
|
});
|
|
10807
|
-
var TransUserUpdateParamsSchema =
|
|
10808
|
-
user_id:
|
|
11069
|
+
var TransUserUpdateParamsSchema = v27.looseObject({
|
|
11070
|
+
user_id: v27.optional(v27.string())
|
|
10809
11071
|
});
|
|
10810
|
-
var TransUserDeleteParamsSchema =
|
|
10811
|
-
user_id:
|
|
11072
|
+
var TransUserDeleteParamsSchema = v27.looseObject({
|
|
11073
|
+
user_id: v27.optional(v27.string())
|
|
10812
11074
|
});
|
|
10813
|
-
var TransWebDisplayTypeGetParamsSchema =
|
|
11075
|
+
var TransWebDisplayTypeGetParamsSchema = v27.looseObject({
|
|
10814
11076
|
...EdgeCacheParamsSchema.entries,
|
|
10815
|
-
web_display_type_id:
|
|
11077
|
+
web_display_type_id: v27.optional(v27.string())
|
|
10816
11078
|
});
|
|
10817
|
-
var TransWebDisplayTypeUpdateParamsSchema =
|
|
10818
|
-
web_display_type_id:
|
|
11079
|
+
var TransWebDisplayTypeUpdateParamsSchema = v27.looseObject({
|
|
11080
|
+
web_display_type_id: v27.optional(v27.string())
|
|
10819
11081
|
});
|
|
10820
|
-
var TransWebDisplayTypeDeleteParamsSchema =
|
|
10821
|
-
web_display_type_id:
|
|
11082
|
+
var TransWebDisplayTypeDeleteParamsSchema = v27.looseObject({
|
|
11083
|
+
web_display_type_id: v27.optional(v27.string())
|
|
10822
11084
|
});
|
|
10823
|
-
var
|
|
11085
|
+
var PassthroughDataSchema20 = v27.record(v27.string(), v27.unknown());
|
|
10824
11086
|
|
|
10825
11087
|
// src/services/p21-apis/generated/endpoints.ts
|
|
10826
|
-
var
|
|
11088
|
+
var endpoints20 = [
|
|
10827
11089
|
{
|
|
10828
11090
|
method: "GET",
|
|
10829
11091
|
path: "/entity-contacts/refresh",
|
|
@@ -10833,7 +11095,7 @@ var endpoints19 = [
|
|
|
10833
11095
|
pathParams: [],
|
|
10834
11096
|
queryParams: [],
|
|
10835
11097
|
edgeCache: true,
|
|
10836
|
-
responseSchema:
|
|
11098
|
+
responseSchema: PassthroughDataSchema20,
|
|
10837
11099
|
responseType: "passthrough"
|
|
10838
11100
|
},
|
|
10839
11101
|
{
|
|
@@ -10845,7 +11107,7 @@ var endpoints19 = [
|
|
|
10845
11107
|
pathParams: [],
|
|
10846
11108
|
queryParams: [],
|
|
10847
11109
|
edgeCache: true,
|
|
10848
|
-
responseSchema:
|
|
11110
|
+
responseSchema: PassthroughDataSchema20,
|
|
10849
11111
|
responseType: "passthrough"
|
|
10850
11112
|
},
|
|
10851
11113
|
{
|
|
@@ -10857,7 +11119,7 @@ var endpoints19 = [
|
|
|
10857
11119
|
pathParams: [],
|
|
10858
11120
|
queryParams: [],
|
|
10859
11121
|
edgeCache: false,
|
|
10860
|
-
responseSchema:
|
|
11122
|
+
responseSchema: PassthroughDataSchema20,
|
|
10861
11123
|
responseType: "passthrough"
|
|
10862
11124
|
},
|
|
10863
11125
|
{
|
|
@@ -10869,7 +11131,7 @@ var endpoints19 = [
|
|
|
10869
11131
|
pathParams: ["categoryUid"],
|
|
10870
11132
|
queryParams: ["category_id"],
|
|
10871
11133
|
edgeCache: true,
|
|
10872
|
-
responseSchema:
|
|
11134
|
+
responseSchema: PassthroughDataSchema20,
|
|
10873
11135
|
responseType: "passthrough"
|
|
10874
11136
|
},
|
|
10875
11137
|
{
|
|
@@ -10881,7 +11143,7 @@ var endpoints19 = [
|
|
|
10881
11143
|
pathParams: ["categoryUid"],
|
|
10882
11144
|
queryParams: ["category_id"],
|
|
10883
11145
|
edgeCache: false,
|
|
10884
|
-
responseSchema:
|
|
11146
|
+
responseSchema: PassthroughDataSchema20,
|
|
10885
11147
|
responseType: "passthrough"
|
|
10886
11148
|
},
|
|
10887
11149
|
{
|
|
@@ -10893,7 +11155,7 @@ var endpoints19 = [
|
|
|
10893
11155
|
pathParams: ["categoryUid"],
|
|
10894
11156
|
queryParams: ["category_id"],
|
|
10895
11157
|
edgeCache: false,
|
|
10896
|
-
responseSchema:
|
|
11158
|
+
responseSchema: PassthroughDataSchema20,
|
|
10897
11159
|
responseType: "passthrough"
|
|
10898
11160
|
},
|
|
10899
11161
|
{
|
|
@@ -10905,7 +11167,7 @@ var endpoints19 = [
|
|
|
10905
11167
|
pathParams: [],
|
|
10906
11168
|
queryParams: [],
|
|
10907
11169
|
edgeCache: false,
|
|
10908
|
-
responseSchema:
|
|
11170
|
+
responseSchema: PassthroughDataSchema20,
|
|
10909
11171
|
responseType: "passthrough"
|
|
10910
11172
|
},
|
|
10911
11173
|
{
|
|
@@ -10917,7 +11179,7 @@ var endpoints19 = [
|
|
|
10917
11179
|
pathParams: ["companyUid"],
|
|
10918
11180
|
queryParams: ["company_id"],
|
|
10919
11181
|
edgeCache: true,
|
|
10920
|
-
responseSchema:
|
|
11182
|
+
responseSchema: PassthroughDataSchema20,
|
|
10921
11183
|
responseType: "passthrough"
|
|
10922
11184
|
},
|
|
10923
11185
|
{
|
|
@@ -10929,7 +11191,7 @@ var endpoints19 = [
|
|
|
10929
11191
|
pathParams: ["companyUid"],
|
|
10930
11192
|
queryParams: ["company_id"],
|
|
10931
11193
|
edgeCache: false,
|
|
10932
|
-
responseSchema:
|
|
11194
|
+
responseSchema: PassthroughDataSchema20,
|
|
10933
11195
|
responseType: "passthrough"
|
|
10934
11196
|
},
|
|
10935
11197
|
{
|
|
@@ -10941,7 +11203,7 @@ var endpoints19 = [
|
|
|
10941
11203
|
pathParams: ["companyUid"],
|
|
10942
11204
|
queryParams: ["company_id"],
|
|
10943
11205
|
edgeCache: false,
|
|
10944
|
-
responseSchema:
|
|
11206
|
+
responseSchema: PassthroughDataSchema20,
|
|
10945
11207
|
responseType: "passthrough"
|
|
10946
11208
|
},
|
|
10947
11209
|
{
|
|
@@ -10953,7 +11215,7 @@ var endpoints19 = [
|
|
|
10953
11215
|
pathParams: ["poNo"],
|
|
10954
11216
|
queryParams: [],
|
|
10955
11217
|
edgeCache: true,
|
|
10956
|
-
responseSchema:
|
|
11218
|
+
responseSchema: PassthroughDataSchema20,
|
|
10957
11219
|
responseType: "passthrough"
|
|
10958
11220
|
},
|
|
10959
11221
|
{
|
|
@@ -10965,7 +11227,7 @@ var endpoints19 = [
|
|
|
10965
11227
|
pathParams: ["poNo"],
|
|
10966
11228
|
queryParams: [],
|
|
10967
11229
|
edgeCache: false,
|
|
10968
|
-
responseSchema:
|
|
11230
|
+
responseSchema: PassthroughDataSchema20,
|
|
10969
11231
|
responseType: "passthrough"
|
|
10970
11232
|
},
|
|
10971
11233
|
{
|
|
@@ -10977,7 +11239,7 @@ var endpoints19 = [
|
|
|
10977
11239
|
pathParams: [],
|
|
10978
11240
|
queryParams: [],
|
|
10979
11241
|
edgeCache: false,
|
|
10980
|
-
responseSchema:
|
|
11242
|
+
responseSchema: PassthroughDataSchema20,
|
|
10981
11243
|
responseType: "passthrough"
|
|
10982
11244
|
},
|
|
10983
11245
|
{
|
|
@@ -10989,7 +11251,7 @@ var endpoints19 = [
|
|
|
10989
11251
|
pathParams: ["usersUid"],
|
|
10990
11252
|
queryParams: ["user_id"],
|
|
10991
11253
|
edgeCache: true,
|
|
10992
|
-
responseSchema:
|
|
11254
|
+
responseSchema: PassthroughDataSchema20,
|
|
10993
11255
|
responseType: "passthrough"
|
|
10994
11256
|
},
|
|
10995
11257
|
{
|
|
@@ -11001,7 +11263,7 @@ var endpoints19 = [
|
|
|
11001
11263
|
pathParams: ["usersUid"],
|
|
11002
11264
|
queryParams: ["user_id"],
|
|
11003
11265
|
edgeCache: false,
|
|
11004
|
-
responseSchema:
|
|
11266
|
+
responseSchema: PassthroughDataSchema20,
|
|
11005
11267
|
responseType: "passthrough"
|
|
11006
11268
|
},
|
|
11007
11269
|
{
|
|
@@ -11013,7 +11275,7 @@ var endpoints19 = [
|
|
|
11013
11275
|
pathParams: ["usersUid"],
|
|
11014
11276
|
queryParams: ["user_id"],
|
|
11015
11277
|
edgeCache: false,
|
|
11016
|
-
responseSchema:
|
|
11278
|
+
responseSchema: PassthroughDataSchema20,
|
|
11017
11279
|
responseType: "passthrough"
|
|
11018
11280
|
},
|
|
11019
11281
|
{
|
|
@@ -11025,7 +11287,7 @@ var endpoints19 = [
|
|
|
11025
11287
|
pathParams: [],
|
|
11026
11288
|
queryParams: [],
|
|
11027
11289
|
edgeCache: false,
|
|
11028
|
-
responseSchema:
|
|
11290
|
+
responseSchema: PassthroughDataSchema20,
|
|
11029
11291
|
responseType: "passthrough"
|
|
11030
11292
|
},
|
|
11031
11293
|
{
|
|
@@ -11037,7 +11299,7 @@ var endpoints19 = [
|
|
|
11037
11299
|
pathParams: [],
|
|
11038
11300
|
queryParams: [],
|
|
11039
11301
|
edgeCache: true,
|
|
11040
|
-
responseSchema:
|
|
11302
|
+
responseSchema: PassthroughDataSchema20,
|
|
11041
11303
|
responseType: "passthrough"
|
|
11042
11304
|
},
|
|
11043
11305
|
{
|
|
@@ -11049,7 +11311,7 @@ var endpoints19 = [
|
|
|
11049
11311
|
pathParams: [],
|
|
11050
11312
|
queryParams: [],
|
|
11051
11313
|
edgeCache: true,
|
|
11052
|
-
responseSchema:
|
|
11314
|
+
responseSchema: PassthroughDataSchema20,
|
|
11053
11315
|
responseType: "passthrough"
|
|
11054
11316
|
},
|
|
11055
11317
|
{
|
|
@@ -11061,7 +11323,7 @@ var endpoints19 = [
|
|
|
11061
11323
|
pathParams: ["webDisplayTypeUid"],
|
|
11062
11324
|
queryParams: ["web_display_type_id"],
|
|
11063
11325
|
edgeCache: true,
|
|
11064
|
-
responseSchema:
|
|
11326
|
+
responseSchema: PassthroughDataSchema20,
|
|
11065
11327
|
responseType: "passthrough"
|
|
11066
11328
|
},
|
|
11067
11329
|
{
|
|
@@ -11073,7 +11335,7 @@ var endpoints19 = [
|
|
|
11073
11335
|
pathParams: ["webDisplayTypeUid"],
|
|
11074
11336
|
queryParams: ["web_display_type_id"],
|
|
11075
11337
|
edgeCache: false,
|
|
11076
|
-
responseSchema:
|
|
11338
|
+
responseSchema: PassthroughDataSchema20,
|
|
11077
11339
|
responseType: "passthrough"
|
|
11078
11340
|
},
|
|
11079
11341
|
{
|
|
@@ -11085,7 +11347,7 @@ var endpoints19 = [
|
|
|
11085
11347
|
pathParams: ["webDisplayTypeUid"],
|
|
11086
11348
|
queryParams: ["web_display_type_id"],
|
|
11087
11349
|
edgeCache: false,
|
|
11088
|
-
responseSchema:
|
|
11350
|
+
responseSchema: PassthroughDataSchema20,
|
|
11089
11351
|
responseType: "passthrough"
|
|
11090
11352
|
}
|
|
11091
11353
|
];
|
|
@@ -11142,15 +11404,9 @@ var P21ApisClient = class extends BaseServiceClient {
|
|
|
11142
11404
|
constructor(http, baseUrl = "https://p21-apis.augur-api.com") {
|
|
11143
11405
|
super("p21-apis", http, baseUrl);
|
|
11144
11406
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
11145
|
-
|
|
11146
|
-
return this.executeRequest(config, params, pathParams);
|
|
11147
|
-
}
|
|
11148
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
11149
|
-
return this.executeRequest(config, params);
|
|
11150
|
-
}
|
|
11151
|
-
return this.executeRequest(config);
|
|
11407
|
+
return this.executeRequest(config, params, pathParams);
|
|
11152
11408
|
};
|
|
11153
|
-
const proxy = createServiceProxy("p21-apis", boundExecuteRequest,
|
|
11409
|
+
const proxy = createServiceProxy("p21-apis", boundExecuteRequest, endpoints20);
|
|
11154
11410
|
const dataProxy = createDataProxy(proxy);
|
|
11155
11411
|
this.entityContacts = proxy.entityContacts;
|
|
11156
11412
|
this.entityCustomers = proxy.entityCustomers;
|
|
@@ -11169,153 +11425,156 @@ var P21ApisClient = class extends BaseServiceClient {
|
|
|
11169
11425
|
this.healthCheck = createHealthCheckResource20(boundExecuteRequest);
|
|
11170
11426
|
this.healthCheckData = createHealthCheckDataResource20(this.healthCheck);
|
|
11171
11427
|
}
|
|
11428
|
+
getServiceDescription() {
|
|
11429
|
+
return "Prophet 21 REST API abstraction for normalized CRUD operations on ERP entities";
|
|
11430
|
+
}
|
|
11172
11431
|
};
|
|
11173
11432
|
|
|
11174
11433
|
// src/services/p21-core/generated/schemas.ts
|
|
11175
|
-
import * as
|
|
11176
|
-
var AddressListParamsSchema =
|
|
11177
|
-
...EdgeCacheParamsSchema.entries,
|
|
11178
|
-
carrierFlag:
|
|
11179
|
-
defaultCd:
|
|
11180
|
-
enabledCd:
|
|
11181
|
-
limit:
|
|
11182
|
-
offset:
|
|
11183
|
-
statusCd:
|
|
11184
|
-
});
|
|
11185
|
-
var AddressCorpAddressListParamsSchema =
|
|
11186
|
-
...EdgeCacheParamsSchema.entries,
|
|
11187
|
-
limit:
|
|
11188
|
-
offset:
|
|
11189
|
-
q:
|
|
11190
|
-
});
|
|
11191
|
-
var AddressEnableGetParamsSchema =
|
|
11192
|
-
...EdgeCacheParamsSchema.entries,
|
|
11193
|
-
enabledCd:
|
|
11194
|
-
});
|
|
11195
|
-
var CashDrawerListParamsSchema =
|
|
11196
|
-
...EdgeCacheParamsSchema.entries,
|
|
11197
|
-
companyId:
|
|
11198
|
-
drawerOpen:
|
|
11199
|
-
limit:
|
|
11200
|
-
offset:
|
|
11201
|
-
orderBy:
|
|
11202
|
-
q:
|
|
11203
|
-
statusCd:
|
|
11204
|
-
});
|
|
11205
|
-
var CodeP21ListParamsSchema =
|
|
11206
|
-
...EdgeCacheParamsSchema.entries,
|
|
11207
|
-
codeNoList:
|
|
11208
|
-
limit:
|
|
11209
|
-
offset:
|
|
11210
|
-
q:
|
|
11211
|
-
});
|
|
11212
|
-
var CompanyListParamsSchema =
|
|
11213
|
-
...EdgeCacheParamsSchema.entries,
|
|
11214
|
-
companyId:
|
|
11215
|
-
limit:
|
|
11216
|
-
offset:
|
|
11217
|
-
orderBy:
|
|
11218
|
-
q:
|
|
11219
|
-
});
|
|
11220
|
-
var CompanyGetParamsSchema =
|
|
11221
|
-
...EdgeCacheParamsSchema.entries,
|
|
11222
|
-
companyId:
|
|
11223
|
-
});
|
|
11224
|
-
var LocationListParamsSchema =
|
|
11225
|
-
...EdgeCacheParamsSchema.entries,
|
|
11226
|
-
deleteFlag:
|
|
11227
|
-
includeAddress:
|
|
11228
|
-
limit:
|
|
11229
|
-
offset:
|
|
11230
|
-
orderBy:
|
|
11231
|
-
q:
|
|
11232
|
-
});
|
|
11233
|
-
var LocationGetParamsSchema =
|
|
11234
|
-
...EdgeCacheParamsSchema.entries,
|
|
11235
|
-
includeAddress:
|
|
11236
|
-
});
|
|
11237
|
-
var PaymentTypesListParamsSchema =
|
|
11238
|
-
...EdgeCacheParamsSchema.entries,
|
|
11239
|
-
limit:
|
|
11240
|
-
offset:
|
|
11241
|
-
});
|
|
11242
|
-
var CashDrawerDataSchema =
|
|
11243
|
-
cashDrawerId:
|
|
11244
|
-
companyId:
|
|
11245
|
-
cashDrawerDescription:
|
|
11246
|
-
currentSequenceNo:
|
|
11247
|
-
openingBalance:
|
|
11248
|
-
withdrawals:
|
|
11249
|
-
deposits:
|
|
11250
|
-
currentBalance:
|
|
11251
|
-
drawerOpen:
|
|
11252
|
-
bankNo:
|
|
11253
|
-
cashOnHandAccountNumber:
|
|
11254
|
-
deleteFlag:
|
|
11255
|
-
dateCreated:
|
|
11256
|
-
dateLastModified:
|
|
11257
|
-
lastMaintainedBy:
|
|
11258
|
-
cashCardLoad:
|
|
11259
|
-
cashDrawerUid:
|
|
11260
|
-
locIdForBranchConflict:
|
|
11261
|
-
defaultCloseBranchId:
|
|
11262
|
-
updateCd:
|
|
11263
|
-
statusCd:
|
|
11264
|
-
processCd:
|
|
11265
|
-
});
|
|
11266
|
-
var CodeP21DataSchema =
|
|
11267
|
-
codeUid:
|
|
11268
|
-
codeNo:
|
|
11269
|
-
languageId:
|
|
11270
|
-
codeDescription:
|
|
11271
|
-
rowStatusFlag:
|
|
11272
|
-
dateCreated:
|
|
11273
|
-
dateLastModified:
|
|
11274
|
-
lastMaintainedBy:
|
|
11275
|
-
codeSubDescription:
|
|
11276
|
-
updateCd:
|
|
11277
|
-
});
|
|
11278
|
-
var CompanyDataSchema =
|
|
11279
|
-
companyUid:
|
|
11280
|
-
companyId:
|
|
11281
|
-
companyName:
|
|
11282
|
-
dateCreated:
|
|
11283
|
-
dateLastModified:
|
|
11284
|
-
deleteFlag:
|
|
11285
|
-
updateCd:
|
|
11286
|
-
lastMaintainedBy:
|
|
11287
|
-
addressId:
|
|
11288
|
-
defaultSalesLocationId:
|
|
11289
|
-
freightCodeUid:
|
|
11290
|
-
upsAccountNo:
|
|
11291
|
-
defaultSourcePriceCd:
|
|
11292
|
-
defaultMultiplier:
|
|
11293
|
-
});
|
|
11294
|
-
var LocationDataSchema =
|
|
11295
|
-
locationId:
|
|
11296
|
-
companyId:
|
|
11297
|
-
defaultBranchId:
|
|
11298
|
-
deleteFlag:
|
|
11299
|
-
dateCreated:
|
|
11300
|
-
dateLastModified:
|
|
11301
|
-
lastMaintainedBy:
|
|
11302
|
-
locationName:
|
|
11303
|
-
lotBinIntegration:
|
|
11304
|
-
fedexLocAcctNo:
|
|
11305
|
-
fedexMeterNo:
|
|
11306
|
-
upsAccountNo:
|
|
11307
|
-
upsPickupTypeCd:
|
|
11308
|
-
upsCustomerTypeCd:
|
|
11309
|
-
upsOltAccessKey:
|
|
11310
|
-
upsOltPassword:
|
|
11311
|
-
upsOltUserId:
|
|
11312
|
-
distributionCenter:
|
|
11313
|
-
updateCd:
|
|
11314
|
-
});
|
|
11315
|
-
var
|
|
11434
|
+
import * as v28 from "valibot";
|
|
11435
|
+
var AddressListParamsSchema = v28.looseObject({
|
|
11436
|
+
...EdgeCacheParamsSchema.entries,
|
|
11437
|
+
carrierFlag: v28.optional(v28.string()),
|
|
11438
|
+
defaultCd: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11439
|
+
enabledCd: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11440
|
+
limit: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11441
|
+
offset: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11442
|
+
statusCd: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number)))
|
|
11443
|
+
});
|
|
11444
|
+
var AddressCorpAddressListParamsSchema = v28.looseObject({
|
|
11445
|
+
...EdgeCacheParamsSchema.entries,
|
|
11446
|
+
limit: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11447
|
+
offset: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11448
|
+
q: v28.optional(v28.string())
|
|
11449
|
+
});
|
|
11450
|
+
var AddressEnableGetParamsSchema = v28.looseObject({
|
|
11451
|
+
...EdgeCacheParamsSchema.entries,
|
|
11452
|
+
enabledCd: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number)))
|
|
11453
|
+
});
|
|
11454
|
+
var CashDrawerListParamsSchema = v28.looseObject({
|
|
11455
|
+
...EdgeCacheParamsSchema.entries,
|
|
11456
|
+
companyId: v28.optional(v28.string()),
|
|
11457
|
+
drawerOpen: v28.optional(v28.string()),
|
|
11458
|
+
limit: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11459
|
+
offset: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11460
|
+
orderBy: v28.optional(v28.string()),
|
|
11461
|
+
q: v28.optional(v28.string()),
|
|
11462
|
+
statusCd: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number)))
|
|
11463
|
+
});
|
|
11464
|
+
var CodeP21ListParamsSchema = v28.looseObject({
|
|
11465
|
+
...EdgeCacheParamsSchema.entries,
|
|
11466
|
+
codeNoList: v28.optional(v28.string()),
|
|
11467
|
+
limit: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11468
|
+
offset: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11469
|
+
q: v28.string()
|
|
11470
|
+
});
|
|
11471
|
+
var CompanyListParamsSchema = v28.looseObject({
|
|
11472
|
+
...EdgeCacheParamsSchema.entries,
|
|
11473
|
+
companyId: v28.optional(v28.string()),
|
|
11474
|
+
limit: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11475
|
+
offset: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11476
|
+
orderBy: v28.optional(v28.string()),
|
|
11477
|
+
q: v28.optional(v28.string())
|
|
11478
|
+
});
|
|
11479
|
+
var CompanyGetParamsSchema = v28.looseObject({
|
|
11480
|
+
...EdgeCacheParamsSchema.entries,
|
|
11481
|
+
companyId: v28.optional(v28.string())
|
|
11482
|
+
});
|
|
11483
|
+
var LocationListParamsSchema = v28.looseObject({
|
|
11484
|
+
...EdgeCacheParamsSchema.entries,
|
|
11485
|
+
deleteFlag: v28.optional(v28.string()),
|
|
11486
|
+
includeAddress: v28.optional(v28.string()),
|
|
11487
|
+
limit: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11488
|
+
offset: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11489
|
+
orderBy: v28.optional(v28.string()),
|
|
11490
|
+
q: v28.optional(v28.string())
|
|
11491
|
+
});
|
|
11492
|
+
var LocationGetParamsSchema = v28.looseObject({
|
|
11493
|
+
...EdgeCacheParamsSchema.entries,
|
|
11494
|
+
includeAddress: v28.optional(v28.string())
|
|
11495
|
+
});
|
|
11496
|
+
var PaymentTypesListParamsSchema = v28.looseObject({
|
|
11497
|
+
...EdgeCacheParamsSchema.entries,
|
|
11498
|
+
limit: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number))),
|
|
11499
|
+
offset: v28.optional(v28.pipe(v28.unknown(), v28.transform(Number)))
|
|
11500
|
+
});
|
|
11501
|
+
var CashDrawerDataSchema = v28.looseObject({
|
|
11502
|
+
cashDrawerId: v28.optional(v28.string()),
|
|
11503
|
+
companyId: v28.optional(v28.string()),
|
|
11504
|
+
cashDrawerDescription: v28.optional(v28.string()),
|
|
11505
|
+
currentSequenceNo: v28.optional(v28.number()),
|
|
11506
|
+
openingBalance: v28.optional(v28.nullable(v28.number())),
|
|
11507
|
+
withdrawals: v28.optional(v28.nullable(v28.number())),
|
|
11508
|
+
deposits: v28.optional(v28.nullable(v28.number())),
|
|
11509
|
+
currentBalance: v28.optional(v28.number()),
|
|
11510
|
+
drawerOpen: v28.optional(v28.string()),
|
|
11511
|
+
bankNo: v28.optional(v28.nullable(v28.number())),
|
|
11512
|
+
cashOnHandAccountNumber: v28.optional(v28.string()),
|
|
11513
|
+
deleteFlag: v28.optional(v28.string()),
|
|
11514
|
+
dateCreated: v28.optional(v28.string()),
|
|
11515
|
+
dateLastModified: v28.optional(v28.string()),
|
|
11516
|
+
lastMaintainedBy: v28.optional(v28.string()),
|
|
11517
|
+
cashCardLoad: v28.optional(v28.nullable(v28.number())),
|
|
11518
|
+
cashDrawerUid: v28.optional(v28.number()),
|
|
11519
|
+
locIdForBranchConflict: v28.optional(v28.nullable(v28.number())),
|
|
11520
|
+
defaultCloseBranchId: v28.optional(v28.nullable(v28.string())),
|
|
11521
|
+
updateCd: v28.optional(v28.number()),
|
|
11522
|
+
statusCd: v28.optional(v28.number()),
|
|
11523
|
+
processCd: v28.optional(v28.number())
|
|
11524
|
+
});
|
|
11525
|
+
var CodeP21DataSchema = v28.looseObject({
|
|
11526
|
+
codeUid: v28.optional(v28.number()),
|
|
11527
|
+
codeNo: v28.optional(v28.number()),
|
|
11528
|
+
languageId: v28.optional(v28.string()),
|
|
11529
|
+
codeDescription: v28.optional(v28.string()),
|
|
11530
|
+
rowStatusFlag: v28.optional(v28.string()),
|
|
11531
|
+
dateCreated: v28.optional(v28.string()),
|
|
11532
|
+
dateLastModified: v28.optional(v28.string()),
|
|
11533
|
+
lastMaintainedBy: v28.optional(v28.string()),
|
|
11534
|
+
codeSubDescription: v28.optional(v28.nullable(v28.string())),
|
|
11535
|
+
updateCd: v28.optional(v28.number())
|
|
11536
|
+
});
|
|
11537
|
+
var CompanyDataSchema = v28.looseObject({
|
|
11538
|
+
companyUid: v28.optional(v28.number()),
|
|
11539
|
+
companyId: v28.optional(v28.string()),
|
|
11540
|
+
companyName: v28.optional(v28.nullable(v28.string())),
|
|
11541
|
+
dateCreated: v28.optional(v28.string()),
|
|
11542
|
+
dateLastModified: v28.optional(v28.string()),
|
|
11543
|
+
deleteFlag: v28.optional(v28.string()),
|
|
11544
|
+
updateCd: v28.optional(v28.number()),
|
|
11545
|
+
lastMaintainedBy: v28.optional(v28.string()),
|
|
11546
|
+
addressId: v28.optional(v28.nullable(v28.number())),
|
|
11547
|
+
defaultSalesLocationId: v28.optional(v28.nullable(v28.number())),
|
|
11548
|
+
freightCodeUid: v28.optional(v28.nullable(v28.number())),
|
|
11549
|
+
upsAccountNo: v28.optional(v28.nullable(v28.string())),
|
|
11550
|
+
defaultSourcePriceCd: v28.optional(v28.nullable(v28.number())),
|
|
11551
|
+
defaultMultiplier: v28.optional(v28.nullable(v28.number()))
|
|
11552
|
+
});
|
|
11553
|
+
var LocationDataSchema = v28.looseObject({
|
|
11554
|
+
locationId: v28.optional(v28.number()),
|
|
11555
|
+
companyId: v28.optional(v28.string()),
|
|
11556
|
+
defaultBranchId: v28.optional(v28.nullable(v28.string())),
|
|
11557
|
+
deleteFlag: v28.optional(v28.string()),
|
|
11558
|
+
dateCreated: v28.optional(v28.string()),
|
|
11559
|
+
dateLastModified: v28.optional(v28.string()),
|
|
11560
|
+
lastMaintainedBy: v28.optional(v28.string()),
|
|
11561
|
+
locationName: v28.optional(v28.nullable(v28.string())),
|
|
11562
|
+
lotBinIntegration: v28.optional(v28.nullable(v28.string())),
|
|
11563
|
+
fedexLocAcctNo: v28.optional(v28.nullable(v28.string())),
|
|
11564
|
+
fedexMeterNo: v28.optional(v28.nullable(v28.string())),
|
|
11565
|
+
upsAccountNo: v28.optional(v28.nullable(v28.string())),
|
|
11566
|
+
upsPickupTypeCd: v28.optional(v28.nullable(v28.number())),
|
|
11567
|
+
upsCustomerTypeCd: v28.optional(v28.nullable(v28.number())),
|
|
11568
|
+
upsOltAccessKey: v28.optional(v28.nullable(v28.string())),
|
|
11569
|
+
upsOltPassword: v28.optional(v28.nullable(v28.string())),
|
|
11570
|
+
upsOltUserId: v28.optional(v28.nullable(v28.string())),
|
|
11571
|
+
distributionCenter: v28.optional(v28.string()),
|
|
11572
|
+
updateCd: v28.optional(v28.number())
|
|
11573
|
+
});
|
|
11574
|
+
var PassthroughDataSchema21 = v28.record(v28.string(), v28.unknown());
|
|
11316
11575
|
|
|
11317
11576
|
// src/services/p21-core/generated/endpoints.ts
|
|
11318
|
-
var
|
|
11577
|
+
var endpoints21 = [
|
|
11319
11578
|
{
|
|
11320
11579
|
method: "GET",
|
|
11321
11580
|
path: "/address",
|
|
@@ -11325,7 +11584,7 @@ var endpoints20 = [
|
|
|
11325
11584
|
pathParams: [],
|
|
11326
11585
|
queryParams: ["carrierFlag", "defaultCd", "enabledCd", "limit", "offset", "statusCd"],
|
|
11327
11586
|
edgeCache: true,
|
|
11328
|
-
responseSchema:
|
|
11587
|
+
responseSchema: PassthroughDataSchema21,
|
|
11329
11588
|
responseType: "passthrough"
|
|
11330
11589
|
},
|
|
11331
11590
|
{
|
|
@@ -11337,7 +11596,7 @@ var endpoints20 = [
|
|
|
11337
11596
|
pathParams: [],
|
|
11338
11597
|
queryParams: [],
|
|
11339
11598
|
edgeCache: true,
|
|
11340
|
-
responseSchema:
|
|
11599
|
+
responseSchema: PassthroughDataSchema21,
|
|
11341
11600
|
responseType: "passthrough"
|
|
11342
11601
|
},
|
|
11343
11602
|
{
|
|
@@ -11349,7 +11608,7 @@ var endpoints20 = [
|
|
|
11349
11608
|
pathParams: ["id"],
|
|
11350
11609
|
queryParams: [],
|
|
11351
11610
|
edgeCache: true,
|
|
11352
|
-
responseSchema:
|
|
11611
|
+
responseSchema: PassthroughDataSchema21,
|
|
11353
11612
|
responseType: "passthrough"
|
|
11354
11613
|
},
|
|
11355
11614
|
{
|
|
@@ -11361,7 +11620,7 @@ var endpoints20 = [
|
|
|
11361
11620
|
pathParams: ["id"],
|
|
11362
11621
|
queryParams: ["limit", "offset", "q"],
|
|
11363
11622
|
edgeCache: true,
|
|
11364
|
-
responseSchema:
|
|
11623
|
+
responseSchema: PassthroughDataSchema21,
|
|
11365
11624
|
responseType: "passthrough"
|
|
11366
11625
|
},
|
|
11367
11626
|
{
|
|
@@ -11373,7 +11632,7 @@ var endpoints20 = [
|
|
|
11373
11632
|
pathParams: ["id"],
|
|
11374
11633
|
queryParams: [],
|
|
11375
11634
|
edgeCache: true,
|
|
11376
|
-
responseSchema:
|
|
11635
|
+
responseSchema: PassthroughDataSchema21,
|
|
11377
11636
|
responseType: "passthrough"
|
|
11378
11637
|
},
|
|
11379
11638
|
{
|
|
@@ -11385,7 +11644,7 @@ var endpoints20 = [
|
|
|
11385
11644
|
pathParams: ["id"],
|
|
11386
11645
|
queryParams: ["enabledCd"],
|
|
11387
11646
|
edgeCache: true,
|
|
11388
|
-
responseSchema:
|
|
11647
|
+
responseSchema: PassthroughDataSchema21,
|
|
11389
11648
|
responseType: "passthrough"
|
|
11390
11649
|
},
|
|
11391
11650
|
{
|
|
@@ -11481,14 +11740,14 @@ var endpoints20 = [
|
|
|
11481
11740
|
pathParams: [],
|
|
11482
11741
|
queryParams: ["limit", "offset"],
|
|
11483
11742
|
edgeCache: true,
|
|
11484
|
-
responseSchema:
|
|
11743
|
+
responseSchema: PassthroughDataSchema21,
|
|
11485
11744
|
responseType: "passthrough"
|
|
11486
11745
|
}
|
|
11487
11746
|
];
|
|
11488
11747
|
|
|
11489
11748
|
// src/services/p21-core/resources/health-check.ts
|
|
11490
|
-
import * as
|
|
11491
|
-
var UnknownResponseSchema = BaseResponseSchema(
|
|
11749
|
+
import * as v29 from "valibot";
|
|
11750
|
+
var UnknownResponseSchema = BaseResponseSchema(v29.unknown());
|
|
11492
11751
|
function createHealthCheckResource21(executeRequest) {
|
|
11493
11752
|
return {
|
|
11494
11753
|
/**
|
|
@@ -11549,15 +11808,9 @@ var P21CoreClient = class extends BaseServiceClient {
|
|
|
11549
11808
|
constructor(http, baseUrl = "https://p21-core.augur-api.com") {
|
|
11550
11809
|
super("p21-core", http, baseUrl);
|
|
11551
11810
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
11552
|
-
|
|
11553
|
-
return this.executeRequest(config, params, pathParams);
|
|
11554
|
-
}
|
|
11555
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
11556
|
-
return this.executeRequest(config, params);
|
|
11557
|
-
}
|
|
11558
|
-
return this.executeRequest(config);
|
|
11811
|
+
return this.executeRequest(config, params, pathParams);
|
|
11559
11812
|
};
|
|
11560
|
-
const proxy = createServiceProxy("p21-core", boundExecuteRequest,
|
|
11813
|
+
const proxy = createServiceProxy("p21-core", boundExecuteRequest, endpoints21);
|
|
11561
11814
|
const dataProxy = createDataProxy(proxy);
|
|
11562
11815
|
this.address = proxy.address;
|
|
11563
11816
|
this.cashDrawer = proxy.cashDrawer;
|
|
@@ -11582,84 +11835,84 @@ var P21CoreClient = class extends BaseServiceClient {
|
|
|
11582
11835
|
};
|
|
11583
11836
|
|
|
11584
11837
|
// src/services/p21-sism/generated/schemas.ts
|
|
11585
|
-
import * as
|
|
11586
|
-
var ImportListParamsSchema =
|
|
11587
|
-
...EdgeCacheParamsSchema.entries,
|
|
11588
|
-
createdFrom:
|
|
11589
|
-
createdOn:
|
|
11590
|
-
createdTo:
|
|
11591
|
-
excludeState:
|
|
11592
|
-
importState:
|
|
11593
|
-
limit:
|
|
11594
|
-
offset:
|
|
11595
|
-
orderBy:
|
|
11596
|
-
q:
|
|
11597
|
-
referenceNo:
|
|
11598
|
-
sourceId:
|
|
11599
|
-
sourceName:
|
|
11600
|
-
});
|
|
11601
|
-
var ImportDailySummaryListParamsSchema =
|
|
11602
|
-
...EdgeCacheParamsSchema.entries,
|
|
11603
|
-
days:
|
|
11604
|
-
});
|
|
11605
|
-
var ImportRecentListParamsSchema =
|
|
11606
|
-
...EdgeCacheParamsSchema.entries,
|
|
11607
|
-
createdFrom:
|
|
11608
|
-
createdOn:
|
|
11609
|
-
createdTo:
|
|
11610
|
-
excludeState:
|
|
11611
|
-
hours:
|
|
11612
|
-
importState:
|
|
11613
|
-
limit:
|
|
11614
|
-
sourceId:
|
|
11615
|
-
sourceName:
|
|
11616
|
-
});
|
|
11617
|
-
var ImportStuckListParamsSchema =
|
|
11618
|
-
...EdgeCacheParamsSchema.entries,
|
|
11619
|
-
hours:
|
|
11620
|
-
limit:
|
|
11621
|
-
});
|
|
11622
|
-
var ImportDailySummaryDataSchema =
|
|
11623
|
-
date:
|
|
11624
|
-
total:
|
|
11625
|
-
initial:
|
|
11626
|
-
processing:
|
|
11627
|
-
processingCoupon:
|
|
11628
|
-
processCoupon:
|
|
11629
|
-
validate:
|
|
11630
|
-
validating:
|
|
11631
|
-
validated:
|
|
11632
|
-
processed:
|
|
11633
|
-
hold:
|
|
11634
|
-
delivering:
|
|
11635
|
-
delivered:
|
|
11636
|
-
importing:
|
|
11637
|
-
imported:
|
|
11638
|
-
redelivered:
|
|
11639
|
-
invalid:
|
|
11640
|
-
failed:
|
|
11641
|
-
error:
|
|
11642
|
-
cancelled:
|
|
11643
|
-
stopped:
|
|
11644
|
-
skipped:
|
|
11645
|
-
});
|
|
11646
|
-
var ImportDataSchema =
|
|
11647
|
-
importUid:
|
|
11648
|
-
scheduledImportMasterUid:
|
|
11649
|
-
dateCreated:
|
|
11650
|
-
dateLastModified:
|
|
11651
|
-
sourceName:
|
|
11652
|
-
sourceId:
|
|
11653
|
-
importState:
|
|
11654
|
-
jsonData:
|
|
11655
|
-
importStatusCd:
|
|
11656
|
-
importResults:
|
|
11657
|
-
referenceNo:
|
|
11658
|
-
});
|
|
11659
|
-
var
|
|
11838
|
+
import * as v30 from "valibot";
|
|
11839
|
+
var ImportListParamsSchema = v30.looseObject({
|
|
11840
|
+
...EdgeCacheParamsSchema.entries,
|
|
11841
|
+
createdFrom: v30.optional(v30.string()),
|
|
11842
|
+
createdOn: v30.optional(v30.string()),
|
|
11843
|
+
createdTo: v30.optional(v30.string()),
|
|
11844
|
+
excludeState: v30.optional(v30.string()),
|
|
11845
|
+
importState: v30.optional(v30.string()),
|
|
11846
|
+
limit: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number))),
|
|
11847
|
+
offset: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number))),
|
|
11848
|
+
orderBy: v30.optional(v30.string()),
|
|
11849
|
+
q: v30.optional(v30.string()),
|
|
11850
|
+
referenceNo: v30.optional(v30.string()),
|
|
11851
|
+
sourceId: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number))),
|
|
11852
|
+
sourceName: v30.optional(v30.string())
|
|
11853
|
+
});
|
|
11854
|
+
var ImportDailySummaryListParamsSchema = v30.looseObject({
|
|
11855
|
+
...EdgeCacheParamsSchema.entries,
|
|
11856
|
+
days: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number)))
|
|
11857
|
+
});
|
|
11858
|
+
var ImportRecentListParamsSchema = v30.looseObject({
|
|
11859
|
+
...EdgeCacheParamsSchema.entries,
|
|
11860
|
+
createdFrom: v30.optional(v30.string()),
|
|
11861
|
+
createdOn: v30.optional(v30.string()),
|
|
11862
|
+
createdTo: v30.optional(v30.string()),
|
|
11863
|
+
excludeState: v30.optional(v30.string()),
|
|
11864
|
+
hours: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number))),
|
|
11865
|
+
importState: v30.optional(v30.string()),
|
|
11866
|
+
limit: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number))),
|
|
11867
|
+
sourceId: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number))),
|
|
11868
|
+
sourceName: v30.optional(v30.string())
|
|
11869
|
+
});
|
|
11870
|
+
var ImportStuckListParamsSchema = v30.looseObject({
|
|
11871
|
+
...EdgeCacheParamsSchema.entries,
|
|
11872
|
+
hours: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number))),
|
|
11873
|
+
limit: v30.optional(v30.pipe(v30.unknown(), v30.transform(Number)))
|
|
11874
|
+
});
|
|
11875
|
+
var ImportDailySummaryDataSchema = v30.looseObject({
|
|
11876
|
+
date: v30.optional(v30.string()),
|
|
11877
|
+
total: v30.optional(v30.number()),
|
|
11878
|
+
initial: v30.optional(v30.number()),
|
|
11879
|
+
processing: v30.optional(v30.number()),
|
|
11880
|
+
processingCoupon: v30.optional(v30.number()),
|
|
11881
|
+
processCoupon: v30.optional(v30.number()),
|
|
11882
|
+
validate: v30.optional(v30.number()),
|
|
11883
|
+
validating: v30.optional(v30.number()),
|
|
11884
|
+
validated: v30.optional(v30.number()),
|
|
11885
|
+
processed: v30.optional(v30.number()),
|
|
11886
|
+
hold: v30.optional(v30.number()),
|
|
11887
|
+
delivering: v30.optional(v30.number()),
|
|
11888
|
+
delivered: v30.optional(v30.number()),
|
|
11889
|
+
importing: v30.optional(v30.number()),
|
|
11890
|
+
imported: v30.optional(v30.number()),
|
|
11891
|
+
redelivered: v30.optional(v30.number()),
|
|
11892
|
+
invalid: v30.optional(v30.number()),
|
|
11893
|
+
failed: v30.optional(v30.number()),
|
|
11894
|
+
error: v30.optional(v30.number()),
|
|
11895
|
+
cancelled: v30.optional(v30.number()),
|
|
11896
|
+
stopped: v30.optional(v30.number()),
|
|
11897
|
+
skipped: v30.optional(v30.number())
|
|
11898
|
+
});
|
|
11899
|
+
var ImportDataSchema = v30.looseObject({
|
|
11900
|
+
importUid: v30.optional(v30.number()),
|
|
11901
|
+
scheduledImportMasterUid: v30.optional(v30.number()),
|
|
11902
|
+
dateCreated: v30.optional(v30.string()),
|
|
11903
|
+
dateLastModified: v30.optional(v30.string()),
|
|
11904
|
+
sourceName: v30.optional(v30.nullable(v30.string())),
|
|
11905
|
+
sourceId: v30.optional(v30.number()),
|
|
11906
|
+
importState: v30.optional(v30.string()),
|
|
11907
|
+
jsonData: v30.optional(v30.nullable(v30.string())),
|
|
11908
|
+
importStatusCd: v30.optional(v30.number()),
|
|
11909
|
+
importResults: v30.optional(v30.nullable(v30.string())),
|
|
11910
|
+
referenceNo: v30.optional(v30.nullable(v30.string()))
|
|
11911
|
+
});
|
|
11912
|
+
var PassthroughDataSchema22 = v30.record(v30.string(), v30.unknown());
|
|
11660
11913
|
|
|
11661
11914
|
// src/services/p21-sism/generated/endpoints.ts
|
|
11662
|
-
var
|
|
11915
|
+
var endpoints22 = [
|
|
11663
11916
|
{
|
|
11664
11917
|
method: "GET",
|
|
11665
11918
|
path: "/import",
|
|
@@ -11682,7 +11935,7 @@ var endpoints21 = [
|
|
|
11682
11935
|
"sourceName"
|
|
11683
11936
|
],
|
|
11684
11937
|
edgeCache: true,
|
|
11685
|
-
responseSchema:
|
|
11938
|
+
responseSchema: PassthroughDataSchema22,
|
|
11686
11939
|
responseType: "passthrough"
|
|
11687
11940
|
},
|
|
11688
11941
|
{
|
|
@@ -11716,7 +11969,7 @@ var endpoints21 = [
|
|
|
11716
11969
|
"sourceName"
|
|
11717
11970
|
],
|
|
11718
11971
|
edgeCache: true,
|
|
11719
|
-
responseSchema:
|
|
11972
|
+
responseSchema: PassthroughDataSchema22,
|
|
11720
11973
|
responseType: "passthrough"
|
|
11721
11974
|
},
|
|
11722
11975
|
{
|
|
@@ -11728,7 +11981,7 @@ var endpoints21 = [
|
|
|
11728
11981
|
pathParams: [],
|
|
11729
11982
|
queryParams: ["hours", "limit"],
|
|
11730
11983
|
edgeCache: true,
|
|
11731
|
-
responseSchema:
|
|
11984
|
+
responseSchema: PassthroughDataSchema22,
|
|
11732
11985
|
responseType: "passthrough"
|
|
11733
11986
|
},
|
|
11734
11987
|
{
|
|
@@ -11776,7 +12029,7 @@ var endpoints21 = [
|
|
|
11776
12029
|
pathParams: ["importUid"],
|
|
11777
12030
|
queryParams: [],
|
|
11778
12031
|
edgeCache: true,
|
|
11779
|
-
responseSchema:
|
|
12032
|
+
responseSchema: PassthroughDataSchema22,
|
|
11780
12033
|
responseType: "passthrough"
|
|
11781
12034
|
},
|
|
11782
12035
|
{
|
|
@@ -11788,7 +12041,7 @@ var endpoints21 = [
|
|
|
11788
12041
|
pathParams: ["importUid"],
|
|
11789
12042
|
queryParams: [],
|
|
11790
12043
|
edgeCache: false,
|
|
11791
|
-
responseSchema:
|
|
12044
|
+
responseSchema: PassthroughDataSchema22,
|
|
11792
12045
|
responseType: "passthrough"
|
|
11793
12046
|
},
|
|
11794
12047
|
{
|
|
@@ -11800,7 +12053,7 @@ var endpoints21 = [
|
|
|
11800
12053
|
pathParams: ["importUid"],
|
|
11801
12054
|
queryParams: [],
|
|
11802
12055
|
edgeCache: true,
|
|
11803
|
-
responseSchema:
|
|
12056
|
+
responseSchema: PassthroughDataSchema22,
|
|
11804
12057
|
responseType: "passthrough"
|
|
11805
12058
|
},
|
|
11806
12059
|
{
|
|
@@ -11812,7 +12065,7 @@ var endpoints21 = [
|
|
|
11812
12065
|
pathParams: ["importUid"],
|
|
11813
12066
|
queryParams: [],
|
|
11814
12067
|
edgeCache: false,
|
|
11815
|
-
responseSchema:
|
|
12068
|
+
responseSchema: PassthroughDataSchema22,
|
|
11816
12069
|
responseType: "passthrough"
|
|
11817
12070
|
},
|
|
11818
12071
|
{
|
|
@@ -11824,7 +12077,7 @@ var endpoints21 = [
|
|
|
11824
12077
|
pathParams: ["importUid"],
|
|
11825
12078
|
queryParams: [],
|
|
11826
12079
|
edgeCache: true,
|
|
11827
|
-
responseSchema:
|
|
12080
|
+
responseSchema: PassthroughDataSchema22,
|
|
11828
12081
|
responseType: "passthrough"
|
|
11829
12082
|
},
|
|
11830
12083
|
{
|
|
@@ -11836,7 +12089,7 @@ var endpoints21 = [
|
|
|
11836
12089
|
pathParams: ["scheduledImportMasterUid"],
|
|
11837
12090
|
queryParams: [],
|
|
11838
12091
|
edgeCache: false,
|
|
11839
|
-
responseSchema:
|
|
12092
|
+
responseSchema: PassthroughDataSchema22,
|
|
11840
12093
|
responseType: "passthrough"
|
|
11841
12094
|
}
|
|
11842
12095
|
];
|
|
@@ -11887,15 +12140,9 @@ var P21SismClient = class extends BaseServiceClient {
|
|
|
11887
12140
|
constructor(http, baseUrl = "https://p21-sism.augur-api.com") {
|
|
11888
12141
|
super("p21-sism", http, baseUrl);
|
|
11889
12142
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
11890
|
-
|
|
11891
|
-
return this.executeRequest(config, params, pathParams);
|
|
11892
|
-
}
|
|
11893
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
11894
|
-
return this.executeRequest(config, params);
|
|
11895
|
-
}
|
|
11896
|
-
return this.executeRequest(config);
|
|
12143
|
+
return this.executeRequest(config, params, pathParams);
|
|
11897
12144
|
};
|
|
11898
|
-
const proxy = createServiceProxy("p21-sism", boundExecuteRequest,
|
|
12145
|
+
const proxy = createServiceProxy("p21-sism", boundExecuteRequest, endpoints22);
|
|
11899
12146
|
const dataProxy = createDataProxy(proxy);
|
|
11900
12147
|
this.import = proxy.import;
|
|
11901
12148
|
this.scheduledImportMaster = proxy.scheduledImportMaster;
|
|
@@ -11910,11 +12157,11 @@ var P21SismClient = class extends BaseServiceClient {
|
|
|
11910
12157
|
};
|
|
11911
12158
|
|
|
11912
12159
|
// src/services/shipping/generated/schemas.ts
|
|
11913
|
-
import * as
|
|
11914
|
-
var
|
|
12160
|
+
import * as v31 from "valibot";
|
|
12161
|
+
var PassthroughDataSchema23 = v31.record(v31.string(), v31.unknown());
|
|
11915
12162
|
|
|
11916
12163
|
// src/services/shipping/generated/endpoints.ts
|
|
11917
|
-
var
|
|
12164
|
+
var endpoints23 = [
|
|
11918
12165
|
{
|
|
11919
12166
|
method: "POST",
|
|
11920
12167
|
path: "/rates",
|
|
@@ -11924,7 +12171,7 @@ var endpoints22 = [
|
|
|
11924
12171
|
pathParams: [],
|
|
11925
12172
|
queryParams: [],
|
|
11926
12173
|
edgeCache: false,
|
|
11927
|
-
responseSchema:
|
|
12174
|
+
responseSchema: PassthroughDataSchema23,
|
|
11928
12175
|
responseType: "passthrough"
|
|
11929
12176
|
}
|
|
11930
12177
|
];
|
|
@@ -11999,18 +12246,12 @@ var ShippingClient = class extends BaseServiceClient {
|
|
|
11999
12246
|
constructor(http, baseUrl = "https://shipping.augur-api.com") {
|
|
12000
12247
|
super("shipping", http, baseUrl);
|
|
12001
12248
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
12002
|
-
|
|
12003
|
-
return this.executeRequest(config, params, pathParams);
|
|
12004
|
-
}
|
|
12005
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
12006
|
-
return this.executeRequest(config, params);
|
|
12007
|
-
}
|
|
12008
|
-
return this.executeRequest(config);
|
|
12249
|
+
return this.executeRequest(config, params, pathParams);
|
|
12009
12250
|
};
|
|
12010
12251
|
const proxy = createServiceProxy(
|
|
12011
12252
|
"shipping",
|
|
12012
12253
|
boundExecuteRequest,
|
|
12013
|
-
|
|
12254
|
+
endpoints23
|
|
12014
12255
|
);
|
|
12015
12256
|
const dataProxy = createDataProxy(proxy);
|
|
12016
12257
|
this.rates = proxy.rates;
|
|
@@ -12021,11 +12262,11 @@ var ShippingClient = class extends BaseServiceClient {
|
|
|
12021
12262
|
};
|
|
12022
12263
|
|
|
12023
12264
|
// src/services/slack/generated/schemas.ts
|
|
12024
|
-
import * as
|
|
12025
|
-
var
|
|
12265
|
+
import * as v32 from "valibot";
|
|
12266
|
+
var PassthroughDataSchema24 = v32.record(v32.string(), v32.unknown());
|
|
12026
12267
|
|
|
12027
12268
|
// src/services/slack/generated/endpoints.ts
|
|
12028
|
-
var
|
|
12269
|
+
var endpoints24 = [
|
|
12029
12270
|
{
|
|
12030
12271
|
method: "POST",
|
|
12031
12272
|
path: "/web-hook",
|
|
@@ -12035,7 +12276,7 @@ var endpoints23 = [
|
|
|
12035
12276
|
pathParams: [],
|
|
12036
12277
|
queryParams: [],
|
|
12037
12278
|
edgeCache: false,
|
|
12038
|
-
responseSchema:
|
|
12279
|
+
responseSchema: PassthroughDataSchema24,
|
|
12039
12280
|
responseType: "passthrough"
|
|
12040
12281
|
},
|
|
12041
12282
|
{
|
|
@@ -12047,7 +12288,7 @@ var endpoints23 = [
|
|
|
12047
12288
|
pathParams: [],
|
|
12048
12289
|
queryParams: [],
|
|
12049
12290
|
edgeCache: true,
|
|
12050
|
-
responseSchema:
|
|
12291
|
+
responseSchema: PassthroughDataSchema24,
|
|
12051
12292
|
responseType: "passthrough"
|
|
12052
12293
|
}
|
|
12053
12294
|
];
|
|
@@ -12134,15 +12375,9 @@ var SlackClient = class extends BaseServiceClient {
|
|
|
12134
12375
|
constructor(http, baseUrl = "https://slack.augur-api.com") {
|
|
12135
12376
|
super("slack", http, baseUrl);
|
|
12136
12377
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
12137
|
-
|
|
12138
|
-
return this.executeRequest(config, params, pathParams);
|
|
12139
|
-
}
|
|
12140
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
12141
|
-
return this.executeRequest(config, params);
|
|
12142
|
-
}
|
|
12143
|
-
return this.executeRequest(config);
|
|
12378
|
+
return this.executeRequest(config, params, pathParams);
|
|
12144
12379
|
};
|
|
12145
|
-
const proxy = createServiceProxy("slack", boundExecuteRequest,
|
|
12380
|
+
const proxy = createServiceProxy("slack", boundExecuteRequest, endpoints24);
|
|
12146
12381
|
const dataProxy = createDataProxy(proxy);
|
|
12147
12382
|
this.webHook = proxy.webHook;
|
|
12148
12383
|
this.webHookData = dataProxy.webHook;
|
|
@@ -12152,19 +12387,19 @@ var SlackClient = class extends BaseServiceClient {
|
|
|
12152
12387
|
};
|
|
12153
12388
|
|
|
12154
12389
|
// src/services/smarty-streets/generated/schemas.ts
|
|
12155
|
-
import * as
|
|
12156
|
-
var UsLookupGetParamsSchema =
|
|
12390
|
+
import * as v33 from "valibot";
|
|
12391
|
+
var UsLookupGetParamsSchema = v33.looseObject({
|
|
12157
12392
|
...EdgeCacheParamsSchema.entries,
|
|
12158
|
-
address1:
|
|
12159
|
-
address2:
|
|
12160
|
-
city:
|
|
12161
|
-
postalCode:
|
|
12162
|
-
state:
|
|
12393
|
+
address1: v33.string(),
|
|
12394
|
+
address2: v33.string(),
|
|
12395
|
+
city: v33.string(),
|
|
12396
|
+
postalCode: v33.string(),
|
|
12397
|
+
state: v33.string()
|
|
12163
12398
|
});
|
|
12164
|
-
var
|
|
12399
|
+
var PassthroughDataSchema25 = v33.record(v33.string(), v33.unknown());
|
|
12165
12400
|
|
|
12166
12401
|
// src/services/smarty-streets/generated/endpoints.ts
|
|
12167
|
-
var
|
|
12402
|
+
var endpoints25 = [
|
|
12168
12403
|
{
|
|
12169
12404
|
method: "GET",
|
|
12170
12405
|
path: "/us/lookup",
|
|
@@ -12174,7 +12409,7 @@ var endpoints24 = [
|
|
|
12174
12409
|
pathParams: [],
|
|
12175
12410
|
queryParams: ["address1", "address2", "city", "postalCode", "state"],
|
|
12176
12411
|
edgeCache: true,
|
|
12177
|
-
responseSchema:
|
|
12412
|
+
responseSchema: PassthroughDataSchema25,
|
|
12178
12413
|
responseType: "passthrough"
|
|
12179
12414
|
}
|
|
12180
12415
|
];
|
|
@@ -12340,18 +12575,12 @@ var SmartyStreetsClient = class extends BaseServiceClient {
|
|
|
12340
12575
|
constructor(http, baseUrl = "https://smarty-streets.augur-api.com") {
|
|
12341
12576
|
super("smarty-streets", http, baseUrl);
|
|
12342
12577
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
12343
|
-
|
|
12344
|
-
return this.executeRequest(config, params, pathParams);
|
|
12345
|
-
}
|
|
12346
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
12347
|
-
return this.executeRequest(config, params);
|
|
12348
|
-
}
|
|
12349
|
-
return this.executeRequest(config);
|
|
12578
|
+
return this.executeRequest(config, params, pathParams);
|
|
12350
12579
|
};
|
|
12351
12580
|
const proxy = createServiceProxy(
|
|
12352
12581
|
"smarty-streets",
|
|
12353
12582
|
boundExecuteRequest,
|
|
12354
|
-
|
|
12583
|
+
endpoints25
|
|
12355
12584
|
);
|
|
12356
12585
|
const dataProxy = createDataProxy(proxy);
|
|
12357
12586
|
this.us = proxy.us;
|
|
@@ -12364,30 +12593,30 @@ var SmartyStreetsClient = class extends BaseServiceClient {
|
|
|
12364
12593
|
};
|
|
12365
12594
|
|
|
12366
12595
|
// src/services/ups/generated/schemas.ts
|
|
12367
|
-
import * as
|
|
12368
|
-
var RatesShopListParamsSchema =
|
|
12369
|
-
...EdgeCacheParamsSchema.entries,
|
|
12370
|
-
cacheSiteId:
|
|
12371
|
-
fromAddress1:
|
|
12372
|
-
fromAddress2:
|
|
12373
|
-
fromAddress3:
|
|
12374
|
-
fromCity:
|
|
12375
|
-
fromCountryCode:
|
|
12376
|
-
fromPostalCode:
|
|
12377
|
-
fromStateProvinceCode:
|
|
12378
|
-
toAddress1:
|
|
12379
|
-
toAddress2:
|
|
12380
|
-
toAddress3:
|
|
12381
|
-
toCity:
|
|
12382
|
-
toCountryCode:
|
|
12383
|
-
toPostalCode:
|
|
12384
|
-
toStateProvinceCode:
|
|
12385
|
-
weight:
|
|
12386
|
-
});
|
|
12387
|
-
var
|
|
12596
|
+
import * as v34 from "valibot";
|
|
12597
|
+
var RatesShopListParamsSchema = v34.looseObject({
|
|
12598
|
+
...EdgeCacheParamsSchema.entries,
|
|
12599
|
+
cacheSiteId: v34.optional(v34.string()),
|
|
12600
|
+
fromAddress1: v34.optional(v34.string()),
|
|
12601
|
+
fromAddress2: v34.optional(v34.string()),
|
|
12602
|
+
fromAddress3: v34.optional(v34.string()),
|
|
12603
|
+
fromCity: v34.optional(v34.string()),
|
|
12604
|
+
fromCountryCode: v34.optional(v34.string()),
|
|
12605
|
+
fromPostalCode: v34.optional(v34.string()),
|
|
12606
|
+
fromStateProvinceCode: v34.optional(v34.string()),
|
|
12607
|
+
toAddress1: v34.optional(v34.string()),
|
|
12608
|
+
toAddress2: v34.optional(v34.string()),
|
|
12609
|
+
toAddress3: v34.optional(v34.string()),
|
|
12610
|
+
toCity: v34.optional(v34.string()),
|
|
12611
|
+
toCountryCode: v34.optional(v34.string()),
|
|
12612
|
+
toPostalCode: v34.optional(v34.string()),
|
|
12613
|
+
toStateProvinceCode: v34.optional(v34.string()),
|
|
12614
|
+
weight: v34.optional(v34.pipe(v34.unknown(), v34.transform(Number)))
|
|
12615
|
+
});
|
|
12616
|
+
var PassthroughDataSchema26 = v34.record(v34.string(), v34.unknown());
|
|
12388
12617
|
|
|
12389
12618
|
// src/services/ups/generated/endpoints.ts
|
|
12390
|
-
var
|
|
12619
|
+
var endpoints26 = [
|
|
12391
12620
|
{
|
|
12392
12621
|
method: "GET",
|
|
12393
12622
|
path: "/rates-shop",
|
|
@@ -12414,15 +12643,15 @@ var endpoints25 = [
|
|
|
12414
12643
|
"weight"
|
|
12415
12644
|
],
|
|
12416
12645
|
edgeCache: true,
|
|
12417
|
-
responseSchema:
|
|
12646
|
+
responseSchema: PassthroughDataSchema26,
|
|
12418
12647
|
responseType: "passthrough"
|
|
12419
12648
|
}
|
|
12420
12649
|
];
|
|
12421
12650
|
|
|
12422
12651
|
// src/services/ups/resources/health-check.ts
|
|
12423
|
-
import * as
|
|
12424
|
-
var HealthCheckParamsSchema =
|
|
12425
|
-
"x-site-id":
|
|
12652
|
+
import * as v35 from "valibot";
|
|
12653
|
+
var HealthCheckParamsSchema = v35.looseObject({
|
|
12654
|
+
"x-site-id": v35.string(),
|
|
12426
12655
|
...EdgeCacheParamsSchema.entries
|
|
12427
12656
|
});
|
|
12428
12657
|
function createHealthCheckResource26(executeRequest) {
|
|
@@ -12512,15 +12741,9 @@ var UPSClient = class extends BaseServiceClient {
|
|
|
12512
12741
|
constructor(http, baseUrl = "https://ups.augur-api.com") {
|
|
12513
12742
|
super("ups", http, baseUrl);
|
|
12514
12743
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
12515
|
-
|
|
12516
|
-
return this.executeRequest(config, params, pathParams);
|
|
12517
|
-
}
|
|
12518
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
12519
|
-
return this.executeRequest(config, params);
|
|
12520
|
-
}
|
|
12521
|
-
return this.executeRequest(config);
|
|
12744
|
+
return this.executeRequest(config, params, pathParams);
|
|
12522
12745
|
};
|
|
12523
|
-
const proxy = createServiceProxy("ups", boundExecuteRequest,
|
|
12746
|
+
const proxy = createServiceProxy("ups", boundExecuteRequest, endpoints26);
|
|
12524
12747
|
const dataProxy = createDataProxy(proxy);
|
|
12525
12748
|
this.ratesShop = proxy.ratesShop;
|
|
12526
12749
|
this.ratesShopData = dataProxy.ratesShop;
|
|
@@ -12530,354 +12753,354 @@ var UPSClient = class extends BaseServiceClient {
|
|
|
12530
12753
|
};
|
|
12531
12754
|
|
|
12532
12755
|
// src/services/basecamp2/generated/schemas.ts
|
|
12533
|
-
import * as
|
|
12534
|
-
var CommentsListParamsSchema =
|
|
12535
|
-
...EdgeCacheParamsSchema.entries,
|
|
12536
|
-
creator_id:
|
|
12537
|
-
limit:
|
|
12538
|
-
offset:
|
|
12539
|
-
order_by:
|
|
12540
|
-
todos_id:
|
|
12541
|
-
});
|
|
12542
|
-
var EventsListParamsSchema =
|
|
12543
|
-
...EdgeCacheParamsSchema.entries,
|
|
12544
|
-
event_type_cd:
|
|
12545
|
-
id:
|
|
12546
|
-
limit:
|
|
12547
|
-
offset:
|
|
12548
|
-
order_by:
|
|
12549
|
-
people_id:
|
|
12550
|
-
});
|
|
12551
|
-
var MetricsListParamsSchema =
|
|
12552
|
-
...EdgeCacheParamsSchema.entries,
|
|
12553
|
-
assigneeId:
|
|
12554
|
-
creatorId:
|
|
12555
|
-
hasComments:
|
|
12556
|
-
isStale:
|
|
12557
|
-
limit:
|
|
12558
|
-
needsResponse:
|
|
12559
|
-
offset:
|
|
12560
|
-
orderBy:
|
|
12561
|
-
projectsId:
|
|
12562
|
-
todosStatusCd:
|
|
12563
|
-
});
|
|
12564
|
-
var PeopleListParamsSchema =
|
|
12565
|
-
...EdgeCacheParamsSchema.entries,
|
|
12566
|
-
adminFlag:
|
|
12567
|
-
limit:
|
|
12568
|
-
offset:
|
|
12569
|
-
orderBy:
|
|
12570
|
-
q:
|
|
12571
|
-
trashedFlag:
|
|
12572
|
-
});
|
|
12573
|
-
var PeopleMetricsListParamsSchema =
|
|
12574
|
-
...EdgeCacheParamsSchema.entries,
|
|
12575
|
-
hasComments:
|
|
12576
|
-
isStale:
|
|
12577
|
-
limit:
|
|
12578
|
-
needsResponse:
|
|
12579
|
-
offset:
|
|
12580
|
-
orderBy:
|
|
12581
|
-
todosStatusCd:
|
|
12582
|
-
});
|
|
12583
|
-
var PeopleTodosListParamsSchema =
|
|
12584
|
-
...EdgeCacheParamsSchema.entries,
|
|
12585
|
-
completed_flag:
|
|
12586
|
-
due_at:
|
|
12587
|
-
limit:
|
|
12588
|
-
offset:
|
|
12589
|
-
order_by:
|
|
12590
|
-
projects_id:
|
|
12591
|
-
});
|
|
12592
|
-
var PeopleProjectsTodosListParamsSchema =
|
|
12593
|
-
...EdgeCacheParamsSchema.entries,
|
|
12594
|
-
completed_flag:
|
|
12595
|
-
limit:
|
|
12596
|
-
offset:
|
|
12597
|
-
order_by:
|
|
12598
|
-
});
|
|
12599
|
-
var ProjectsListParamsSchema =
|
|
12600
|
-
...EdgeCacheParamsSchema.entries,
|
|
12601
|
-
archived_flag:
|
|
12602
|
-
limit:
|
|
12603
|
-
offset:
|
|
12604
|
-
order_by:
|
|
12605
|
-
trashed_flag:
|
|
12606
|
-
});
|
|
12607
|
-
var ProjectsMetricsListParamsSchema =
|
|
12608
|
-
...EdgeCacheParamsSchema.entries,
|
|
12609
|
-
hasComments:
|
|
12610
|
-
isStale:
|
|
12611
|
-
limit:
|
|
12612
|
-
needsResponse:
|
|
12613
|
-
offset:
|
|
12614
|
-
orderBy:
|
|
12615
|
-
todosStatusCd:
|
|
12616
|
-
});
|
|
12617
|
-
var ProjectsTodolistsListParamsSchema =
|
|
12618
|
-
...EdgeCacheParamsSchema.entries,
|
|
12619
|
-
completed_flag:
|
|
12620
|
-
limit:
|
|
12621
|
-
offset:
|
|
12622
|
-
order_by:
|
|
12623
|
-
});
|
|
12624
|
-
var ProjectsTodosListParamsSchema =
|
|
12625
|
-
...EdgeCacheParamsSchema.entries,
|
|
12626
|
-
assignee_id:
|
|
12627
|
-
completed_flag:
|
|
12628
|
-
limit:
|
|
12629
|
-
offset:
|
|
12630
|
-
order_by:
|
|
12631
|
-
});
|
|
12632
|
-
var ProjectsTodolistsTodosListParamsSchema =
|
|
12633
|
-
...EdgeCacheParamsSchema.entries,
|
|
12634
|
-
assignee_id:
|
|
12635
|
-
completed_flag:
|
|
12636
|
-
limit:
|
|
12637
|
-
offset:
|
|
12638
|
-
order_by:
|
|
12639
|
-
});
|
|
12640
|
-
var TodolistsListParamsSchema =
|
|
12641
|
-
...EdgeCacheParamsSchema.entries,
|
|
12642
|
-
assignee_id:
|
|
12643
|
-
completed_flag:
|
|
12644
|
-
limit:
|
|
12645
|
-
offset:
|
|
12646
|
-
order_by:
|
|
12647
|
-
projects_id:
|
|
12648
|
-
});
|
|
12649
|
-
var TodosListParamsSchema =
|
|
12650
|
-
...EdgeCacheParamsSchema.entries,
|
|
12651
|
-
assignee_id:
|
|
12652
|
-
completed_flag:
|
|
12653
|
-
due_at:
|
|
12654
|
-
limit:
|
|
12655
|
-
offset:
|
|
12656
|
-
order_by:
|
|
12657
|
-
projects_id:
|
|
12658
|
-
todolist_id:
|
|
12659
|
-
});
|
|
12660
|
-
var TodosSummaryListParamsSchema =
|
|
12661
|
-
...EdgeCacheParamsSchema.entries,
|
|
12662
|
-
akasha_cd:
|
|
12663
|
-
limit:
|
|
12664
|
-
offset:
|
|
12665
|
-
process_cd:
|
|
12666
|
-
});
|
|
12667
|
-
var TodosCommentsListParamsSchema =
|
|
12668
|
-
...EdgeCacheParamsSchema.entries,
|
|
12669
|
-
limit:
|
|
12670
|
-
offset:
|
|
12671
|
-
order_by:
|
|
12672
|
-
});
|
|
12673
|
-
var TodosEventsListParamsSchema =
|
|
12674
|
-
...EdgeCacheParamsSchema.entries,
|
|
12675
|
-
event_type_cd:
|
|
12676
|
-
limit:
|
|
12677
|
-
offset:
|
|
12678
|
-
order_by:
|
|
12679
|
-
people_id:
|
|
12680
|
-
});
|
|
12681
|
-
var TodosSessionsListParamsSchema =
|
|
12682
|
-
...EdgeCacheParamsSchema.entries,
|
|
12683
|
-
limit:
|
|
12684
|
-
offset:
|
|
12685
|
-
order_by:
|
|
12686
|
-
session_status_cd:
|
|
12687
|
-
});
|
|
12688
|
-
var CommentsDataSchema =
|
|
12689
|
-
id:
|
|
12690
|
-
content:
|
|
12691
|
-
updatedAt:
|
|
12692
|
-
createdAt:
|
|
12693
|
-
creatorId:
|
|
12694
|
-
updateCd:
|
|
12695
|
-
statusCd:
|
|
12696
|
-
processCd:
|
|
12697
|
-
todosId:
|
|
12698
|
-
vector:
|
|
12699
|
-
vectorCd:
|
|
12700
|
-
vectorFlag:
|
|
12701
|
-
dateLastVector:
|
|
12702
|
-
location:
|
|
12703
|
-
contentLength:
|
|
12704
|
-
tokenCount:
|
|
12705
|
-
});
|
|
12706
|
-
var EventsDataSchema =
|
|
12707
|
-
id:
|
|
12708
|
-
eventNum:
|
|
12709
|
-
eventTypeCd:
|
|
12710
|
-
peopleId:
|
|
12711
|
-
eventAt:
|
|
12712
|
-
commentId:
|
|
12713
|
-
dateCreated:
|
|
12714
|
-
dateLastModified:
|
|
12715
|
-
updateCd:
|
|
12716
|
-
statusCd:
|
|
12717
|
-
processCd:
|
|
12718
|
-
todosSessionsUid:
|
|
12719
|
-
});
|
|
12720
|
-
var MetricsDataSchema =
|
|
12721
|
-
id:
|
|
12722
|
-
projectsId:
|
|
12723
|
-
todolistId:
|
|
12724
|
-
assigneeId:
|
|
12725
|
-
creatorId:
|
|
12726
|
-
todosContent:
|
|
12727
|
-
todosStatusCd:
|
|
12728
|
-
isStale:
|
|
12729
|
-
hasComments:
|
|
12730
|
-
needsResponse:
|
|
12731
|
-
createdAt:
|
|
12732
|
-
completedAt:
|
|
12733
|
-
lastActivityAt:
|
|
12734
|
-
firstCommentAt:
|
|
12735
|
-
lastCommentAt:
|
|
12736
|
-
daysOpen:
|
|
12737
|
-
daysSinceLastEvent:
|
|
12738
|
-
daysToFirstComment:
|
|
12739
|
-
cycleTimeDays:
|
|
12740
|
-
commentCount:
|
|
12741
|
-
activeDaysCount:
|
|
12742
|
-
activitySpanDays:
|
|
12743
|
-
avgDaysBetweenActivity:
|
|
12744
|
-
lastCommenterId:
|
|
12745
|
-
dateCreated:
|
|
12746
|
-
dateLastModified:
|
|
12747
|
-
updateCd:
|
|
12748
|
-
statusCd:
|
|
12749
|
-
processCd:
|
|
12750
|
-
});
|
|
12751
|
-
var PeopleDataSchema =
|
|
12752
|
-
id:
|
|
12753
|
-
identityId:
|
|
12754
|
-
name:
|
|
12755
|
-
emailAddress:
|
|
12756
|
-
adminFlag:
|
|
12757
|
-
trashedFlag:
|
|
12758
|
-
updatedAt:
|
|
12759
|
-
createdAt:
|
|
12760
|
-
url:
|
|
12761
|
-
appUrl:
|
|
12762
|
-
avatarUrl:
|
|
12763
|
-
fullsizeAvatarUrl:
|
|
12764
|
-
updateCd:
|
|
12765
|
-
statusCd:
|
|
12766
|
-
processCd:
|
|
12767
|
-
});
|
|
12768
|
-
var ProjectsDataSchema =
|
|
12769
|
-
id:
|
|
12770
|
-
name:
|
|
12771
|
-
description:
|
|
12772
|
-
updatedAt:
|
|
12773
|
-
createdAt:
|
|
12774
|
-
lastEventAt:
|
|
12775
|
-
url:
|
|
12776
|
-
appUrl:
|
|
12777
|
-
templateFlag:
|
|
12778
|
-
archivedFlag:
|
|
12779
|
-
starredFlag:
|
|
12780
|
-
trashedFlag:
|
|
12781
|
-
draftFlag:
|
|
12782
|
-
isClientProjectFlag:
|
|
12783
|
-
color:
|
|
12784
|
-
updateCd:
|
|
12785
|
-
statusCd:
|
|
12786
|
-
processCd:
|
|
12787
|
-
});
|
|
12788
|
-
var TodolistsDataSchema =
|
|
12789
|
-
id:
|
|
12790
|
-
name:
|
|
12791
|
-
description:
|
|
12792
|
-
updatedAt:
|
|
12793
|
-
createdAt:
|
|
12794
|
-
url:
|
|
12795
|
-
appUrl:
|
|
12796
|
-
completedFlag:
|
|
12797
|
-
privateFlag:
|
|
12798
|
-
trashedFlag:
|
|
12799
|
-
completedCount:
|
|
12800
|
-
remainingCount:
|
|
12801
|
-
creatorId:
|
|
12802
|
-
bucketId:
|
|
12803
|
-
updateCd:
|
|
12804
|
-
position:
|
|
12805
|
-
statusCd:
|
|
12806
|
-
processCd:
|
|
12807
|
-
projectsId:
|
|
12808
|
-
});
|
|
12809
|
-
var TodosDataSchema =
|
|
12810
|
-
id:
|
|
12811
|
-
todolistId:
|
|
12812
|
-
content:
|
|
12813
|
-
dueAt:
|
|
12814
|
-
dueOn:
|
|
12815
|
-
updatedAt:
|
|
12816
|
-
createdAt:
|
|
12817
|
-
completedAt:
|
|
12818
|
-
commentsCount:
|
|
12819
|
-
privateFlag:
|
|
12820
|
-
trashedFlag:
|
|
12821
|
-
creatorId:
|
|
12822
|
-
assigneeId:
|
|
12823
|
-
completedFlag:
|
|
12824
|
-
url:
|
|
12825
|
-
appUrl:
|
|
12826
|
-
updateCd:
|
|
12827
|
-
position:
|
|
12828
|
-
projectsId:
|
|
12829
|
-
detailJson:
|
|
12830
|
-
pullDetailCd:
|
|
12831
|
-
processCd:
|
|
12832
|
-
agrInfoCd:
|
|
12833
|
-
statusCd:
|
|
12834
|
-
lastCommentAt:
|
|
12835
|
-
vector:
|
|
12836
|
-
vectorCd:
|
|
12837
|
-
vectorFlag:
|
|
12838
|
-
dateLastVector:
|
|
12839
|
-
});
|
|
12840
|
-
var TodosSummaryDataSchema =
|
|
12841
|
-
id:
|
|
12842
|
-
summary:
|
|
12843
|
-
summaryTokens:
|
|
12844
|
-
context:
|
|
12845
|
-
contextTokens:
|
|
12846
|
-
modelName:
|
|
12847
|
-
vector:
|
|
12848
|
-
vectorCd:
|
|
12849
|
-
statusCd:
|
|
12850
|
-
processCd:
|
|
12851
|
-
updateCd:
|
|
12852
|
-
dateCreated:
|
|
12853
|
-
dateLastModified:
|
|
12854
|
-
akashaCd:
|
|
12855
|
-
complexityScore:
|
|
12856
|
-
complexityReason:
|
|
12857
|
-
estimatedMinutes:
|
|
12858
|
-
requiredServices:
|
|
12859
|
-
worthinessReason:
|
|
12860
|
-
});
|
|
12861
|
-
var TodosSessionsDataSchema =
|
|
12862
|
-
todosSessionsUid:
|
|
12863
|
-
todosId:
|
|
12864
|
-
sessionNum:
|
|
12865
|
-
sessionStatusCd:
|
|
12866
|
-
subject:
|
|
12867
|
-
problem:
|
|
12868
|
-
investigation:
|
|
12869
|
-
plan:
|
|
12870
|
-
outcome:
|
|
12871
|
-
dateCreated:
|
|
12872
|
-
dateLastModified:
|
|
12873
|
-
updateCd:
|
|
12874
|
-
statusCd:
|
|
12875
|
-
processCd:
|
|
12876
|
-
});
|
|
12877
|
-
var
|
|
12756
|
+
import * as v36 from "valibot";
|
|
12757
|
+
var CommentsListParamsSchema = v36.looseObject({
|
|
12758
|
+
...EdgeCacheParamsSchema.entries,
|
|
12759
|
+
creator_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12760
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12761
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12762
|
+
order_by: v36.optional(v36.string()),
|
|
12763
|
+
todos_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12764
|
+
});
|
|
12765
|
+
var EventsListParamsSchema = v36.looseObject({
|
|
12766
|
+
...EdgeCacheParamsSchema.entries,
|
|
12767
|
+
event_type_cd: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12768
|
+
id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12769
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12770
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12771
|
+
order_by: v36.optional(v36.string()),
|
|
12772
|
+
people_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12773
|
+
});
|
|
12774
|
+
var MetricsListParamsSchema = v36.looseObject({
|
|
12775
|
+
...EdgeCacheParamsSchema.entries,
|
|
12776
|
+
assigneeId: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12777
|
+
creatorId: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12778
|
+
hasComments: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12779
|
+
isStale: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12780
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12781
|
+
needsResponse: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12782
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12783
|
+
orderBy: v36.optional(v36.string()),
|
|
12784
|
+
projectsId: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12785
|
+
todosStatusCd: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12786
|
+
});
|
|
12787
|
+
var PeopleListParamsSchema = v36.looseObject({
|
|
12788
|
+
...EdgeCacheParamsSchema.entries,
|
|
12789
|
+
adminFlag: v36.optional(v36.string()),
|
|
12790
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12791
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12792
|
+
orderBy: v36.optional(v36.string()),
|
|
12793
|
+
q: v36.optional(v36.string()),
|
|
12794
|
+
trashedFlag: v36.optional(v36.string())
|
|
12795
|
+
});
|
|
12796
|
+
var PeopleMetricsListParamsSchema = v36.looseObject({
|
|
12797
|
+
...EdgeCacheParamsSchema.entries,
|
|
12798
|
+
hasComments: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12799
|
+
isStale: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12800
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12801
|
+
needsResponse: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12802
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12803
|
+
orderBy: v36.optional(v36.string()),
|
|
12804
|
+
todosStatusCd: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12805
|
+
});
|
|
12806
|
+
var PeopleTodosListParamsSchema = v36.looseObject({
|
|
12807
|
+
...EdgeCacheParamsSchema.entries,
|
|
12808
|
+
completed_flag: v36.optional(v36.string()),
|
|
12809
|
+
due_at: v36.optional(v36.string()),
|
|
12810
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12811
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12812
|
+
order_by: v36.optional(v36.string()),
|
|
12813
|
+
projects_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12814
|
+
});
|
|
12815
|
+
var PeopleProjectsTodosListParamsSchema = v36.looseObject({
|
|
12816
|
+
...EdgeCacheParamsSchema.entries,
|
|
12817
|
+
completed_flag: v36.optional(v36.string()),
|
|
12818
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12819
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12820
|
+
order_by: v36.optional(v36.string())
|
|
12821
|
+
});
|
|
12822
|
+
var ProjectsListParamsSchema = v36.looseObject({
|
|
12823
|
+
...EdgeCacheParamsSchema.entries,
|
|
12824
|
+
archived_flag: v36.optional(v36.string()),
|
|
12825
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12826
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12827
|
+
order_by: v36.optional(v36.string()),
|
|
12828
|
+
trashed_flag: v36.optional(v36.string())
|
|
12829
|
+
});
|
|
12830
|
+
var ProjectsMetricsListParamsSchema = v36.looseObject({
|
|
12831
|
+
...EdgeCacheParamsSchema.entries,
|
|
12832
|
+
hasComments: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12833
|
+
isStale: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12834
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12835
|
+
needsResponse: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12836
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12837
|
+
orderBy: v36.optional(v36.string()),
|
|
12838
|
+
todosStatusCd: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12839
|
+
});
|
|
12840
|
+
var ProjectsTodolistsListParamsSchema = v36.looseObject({
|
|
12841
|
+
...EdgeCacheParamsSchema.entries,
|
|
12842
|
+
completed_flag: v36.optional(v36.string()),
|
|
12843
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12844
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12845
|
+
order_by: v36.optional(v36.string())
|
|
12846
|
+
});
|
|
12847
|
+
var ProjectsTodosListParamsSchema = v36.looseObject({
|
|
12848
|
+
...EdgeCacheParamsSchema.entries,
|
|
12849
|
+
assignee_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12850
|
+
completed_flag: v36.optional(v36.string()),
|
|
12851
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12852
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12853
|
+
order_by: v36.optional(v36.string())
|
|
12854
|
+
});
|
|
12855
|
+
var ProjectsTodolistsTodosListParamsSchema = v36.looseObject({
|
|
12856
|
+
...EdgeCacheParamsSchema.entries,
|
|
12857
|
+
assignee_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12858
|
+
completed_flag: v36.optional(v36.string()),
|
|
12859
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12860
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12861
|
+
order_by: v36.optional(v36.string())
|
|
12862
|
+
});
|
|
12863
|
+
var TodolistsListParamsSchema = v36.looseObject({
|
|
12864
|
+
...EdgeCacheParamsSchema.entries,
|
|
12865
|
+
assignee_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12866
|
+
completed_flag: v36.optional(v36.string()),
|
|
12867
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12868
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12869
|
+
order_by: v36.optional(v36.string()),
|
|
12870
|
+
projects_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12871
|
+
});
|
|
12872
|
+
var TodosListParamsSchema = v36.looseObject({
|
|
12873
|
+
...EdgeCacheParamsSchema.entries,
|
|
12874
|
+
assignee_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12875
|
+
completed_flag: v36.optional(v36.string()),
|
|
12876
|
+
due_at: v36.optional(v36.string()),
|
|
12877
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12878
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12879
|
+
order_by: v36.optional(v36.string()),
|
|
12880
|
+
projects_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12881
|
+
todolist_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12882
|
+
});
|
|
12883
|
+
var TodosSummaryListParamsSchema = v36.looseObject({
|
|
12884
|
+
...EdgeCacheParamsSchema.entries,
|
|
12885
|
+
akasha_cd: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12886
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12887
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12888
|
+
process_cd: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12889
|
+
});
|
|
12890
|
+
var TodosCommentsListParamsSchema = v36.looseObject({
|
|
12891
|
+
...EdgeCacheParamsSchema.entries,
|
|
12892
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12893
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12894
|
+
order_by: v36.optional(v36.string())
|
|
12895
|
+
});
|
|
12896
|
+
var TodosEventsListParamsSchema = v36.looseObject({
|
|
12897
|
+
...EdgeCacheParamsSchema.entries,
|
|
12898
|
+
event_type_cd: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12899
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12900
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12901
|
+
order_by: v36.optional(v36.string()),
|
|
12902
|
+
people_id: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12903
|
+
});
|
|
12904
|
+
var TodosSessionsListParamsSchema = v36.looseObject({
|
|
12905
|
+
...EdgeCacheParamsSchema.entries,
|
|
12906
|
+
limit: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12907
|
+
offset: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number))),
|
|
12908
|
+
order_by: v36.optional(v36.string()),
|
|
12909
|
+
session_status_cd: v36.optional(v36.pipe(v36.unknown(), v36.transform(Number)))
|
|
12910
|
+
});
|
|
12911
|
+
var CommentsDataSchema = v36.looseObject({
|
|
12912
|
+
id: v36.optional(v36.number()),
|
|
12913
|
+
content: v36.optional(v36.string()),
|
|
12914
|
+
updatedAt: v36.optional(v36.string()),
|
|
12915
|
+
createdAt: v36.optional(v36.string()),
|
|
12916
|
+
creatorId: v36.optional(v36.nullable(v36.number())),
|
|
12917
|
+
updateCd: v36.optional(v36.number()),
|
|
12918
|
+
statusCd: v36.optional(v36.number()),
|
|
12919
|
+
processCd: v36.optional(v36.number()),
|
|
12920
|
+
todosId: v36.optional(v36.nullable(v36.number())),
|
|
12921
|
+
vector: v36.optional(v36.nullable(v36.string())),
|
|
12922
|
+
vectorCd: v36.optional(v36.number()),
|
|
12923
|
+
vectorFlag: v36.optional(v36.string()),
|
|
12924
|
+
dateLastVector: v36.optional(v36.string()),
|
|
12925
|
+
location: v36.optional(v36.nullable(v36.string())),
|
|
12926
|
+
contentLength: v36.optional(v36.number()),
|
|
12927
|
+
tokenCount: v36.optional(v36.number())
|
|
12928
|
+
});
|
|
12929
|
+
var EventsDataSchema = v36.looseObject({
|
|
12930
|
+
id: v36.optional(v36.number()),
|
|
12931
|
+
eventNum: v36.optional(v36.number()),
|
|
12932
|
+
eventTypeCd: v36.optional(v36.number()),
|
|
12933
|
+
peopleId: v36.optional(v36.number()),
|
|
12934
|
+
eventAt: v36.optional(v36.string()),
|
|
12935
|
+
commentId: v36.optional(v36.nullable(v36.number())),
|
|
12936
|
+
dateCreated: v36.optional(v36.string()),
|
|
12937
|
+
dateLastModified: v36.optional(v36.string()),
|
|
12938
|
+
updateCd: v36.optional(v36.number()),
|
|
12939
|
+
statusCd: v36.optional(v36.number()),
|
|
12940
|
+
processCd: v36.optional(v36.number()),
|
|
12941
|
+
todosSessionsUid: v36.optional(v36.nullable(v36.number()))
|
|
12942
|
+
});
|
|
12943
|
+
var MetricsDataSchema = v36.looseObject({
|
|
12944
|
+
id: v36.optional(v36.number()),
|
|
12945
|
+
projectsId: v36.optional(v36.nullable(v36.number())),
|
|
12946
|
+
todolistId: v36.optional(v36.nullable(v36.number())),
|
|
12947
|
+
assigneeId: v36.optional(v36.nullable(v36.number())),
|
|
12948
|
+
creatorId: v36.optional(v36.number()),
|
|
12949
|
+
todosContent: v36.optional(v36.nullable(v36.string())),
|
|
12950
|
+
todosStatusCd: v36.optional(v36.number()),
|
|
12951
|
+
isStale: v36.optional(v36.number()),
|
|
12952
|
+
hasComments: v36.optional(v36.number()),
|
|
12953
|
+
needsResponse: v36.optional(v36.number()),
|
|
12954
|
+
createdAt: v36.optional(v36.string()),
|
|
12955
|
+
completedAt: v36.optional(v36.nullable(v36.string())),
|
|
12956
|
+
lastActivityAt: v36.optional(v36.string()),
|
|
12957
|
+
firstCommentAt: v36.optional(v36.nullable(v36.string())),
|
|
12958
|
+
lastCommentAt: v36.optional(v36.nullable(v36.string())),
|
|
12959
|
+
daysOpen: v36.optional(v36.nullable(v36.number())),
|
|
12960
|
+
daysSinceLastEvent: v36.optional(v36.nullable(v36.number())),
|
|
12961
|
+
daysToFirstComment: v36.optional(v36.nullable(v36.number())),
|
|
12962
|
+
cycleTimeDays: v36.optional(v36.nullable(v36.number())),
|
|
12963
|
+
commentCount: v36.optional(v36.number()),
|
|
12964
|
+
activeDaysCount: v36.optional(v36.number()),
|
|
12965
|
+
activitySpanDays: v36.optional(v36.nullable(v36.number())),
|
|
12966
|
+
avgDaysBetweenActivity: v36.optional(v36.nullable(v36.number())),
|
|
12967
|
+
lastCommenterId: v36.optional(v36.nullable(v36.number())),
|
|
12968
|
+
dateCreated: v36.optional(v36.string()),
|
|
12969
|
+
dateLastModified: v36.optional(v36.string()),
|
|
12970
|
+
updateCd: v36.optional(v36.number()),
|
|
12971
|
+
statusCd: v36.optional(v36.number()),
|
|
12972
|
+
processCd: v36.optional(v36.number())
|
|
12973
|
+
});
|
|
12974
|
+
var PeopleDataSchema = v36.looseObject({
|
|
12975
|
+
id: v36.optional(v36.number()),
|
|
12976
|
+
identityId: v36.optional(v36.nullable(v36.number())),
|
|
12977
|
+
name: v36.optional(v36.nullable(v36.string())),
|
|
12978
|
+
emailAddress: v36.optional(v36.nullable(v36.string())),
|
|
12979
|
+
adminFlag: v36.optional(v36.nullable(v36.string())),
|
|
12980
|
+
trashedFlag: v36.optional(v36.nullable(v36.string())),
|
|
12981
|
+
updatedAt: v36.optional(v36.string()),
|
|
12982
|
+
createdAt: v36.optional(v36.string()),
|
|
12983
|
+
url: v36.optional(v36.nullable(v36.string())),
|
|
12984
|
+
appUrl: v36.optional(v36.nullable(v36.string())),
|
|
12985
|
+
avatarUrl: v36.optional(v36.nullable(v36.string())),
|
|
12986
|
+
fullsizeAvatarUrl: v36.optional(v36.nullable(v36.string())),
|
|
12987
|
+
updateCd: v36.optional(v36.number()),
|
|
12988
|
+
statusCd: v36.optional(v36.number()),
|
|
12989
|
+
processCd: v36.optional(v36.number())
|
|
12990
|
+
});
|
|
12991
|
+
var ProjectsDataSchema = v36.looseObject({
|
|
12992
|
+
id: v36.optional(v36.number()),
|
|
12993
|
+
name: v36.optional(v36.nullable(v36.string())),
|
|
12994
|
+
description: v36.optional(v36.nullable(v36.string())),
|
|
12995
|
+
updatedAt: v36.optional(v36.string()),
|
|
12996
|
+
createdAt: v36.optional(v36.string()),
|
|
12997
|
+
lastEventAt: v36.optional(v36.string()),
|
|
12998
|
+
url: v36.optional(v36.nullable(v36.string())),
|
|
12999
|
+
appUrl: v36.optional(v36.nullable(v36.string())),
|
|
13000
|
+
templateFlag: v36.optional(v36.nullable(v36.string())),
|
|
13001
|
+
archivedFlag: v36.optional(v36.nullable(v36.string())),
|
|
13002
|
+
starredFlag: v36.optional(v36.nullable(v36.string())),
|
|
13003
|
+
trashedFlag: v36.optional(v36.nullable(v36.string())),
|
|
13004
|
+
draftFlag: v36.optional(v36.nullable(v36.string())),
|
|
13005
|
+
isClientProjectFlag: v36.optional(v36.nullable(v36.string())),
|
|
13006
|
+
color: v36.optional(v36.nullable(v36.string())),
|
|
13007
|
+
updateCd: v36.optional(v36.number()),
|
|
13008
|
+
statusCd: v36.optional(v36.number()),
|
|
13009
|
+
processCd: v36.optional(v36.number())
|
|
13010
|
+
});
|
|
13011
|
+
var TodolistsDataSchema = v36.looseObject({
|
|
13012
|
+
id: v36.optional(v36.number()),
|
|
13013
|
+
name: v36.optional(v36.nullable(v36.string())),
|
|
13014
|
+
description: v36.optional(v36.nullable(v36.string())),
|
|
13015
|
+
updatedAt: v36.optional(v36.string()),
|
|
13016
|
+
createdAt: v36.optional(v36.string()),
|
|
13017
|
+
url: v36.optional(v36.nullable(v36.string())),
|
|
13018
|
+
appUrl: v36.optional(v36.nullable(v36.string())),
|
|
13019
|
+
completedFlag: v36.optional(v36.nullable(v36.string())),
|
|
13020
|
+
privateFlag: v36.optional(v36.nullable(v36.string())),
|
|
13021
|
+
trashedFlag: v36.optional(v36.nullable(v36.string())),
|
|
13022
|
+
completedCount: v36.optional(v36.nullable(v36.number())),
|
|
13023
|
+
remainingCount: v36.optional(v36.nullable(v36.number())),
|
|
13024
|
+
creatorId: v36.optional(v36.nullable(v36.number())),
|
|
13025
|
+
bucketId: v36.optional(v36.nullable(v36.number())),
|
|
13026
|
+
updateCd: v36.optional(v36.number()),
|
|
13027
|
+
position: v36.optional(v36.number()),
|
|
13028
|
+
statusCd: v36.optional(v36.number()),
|
|
13029
|
+
processCd: v36.optional(v36.number()),
|
|
13030
|
+
projectsId: v36.optional(v36.number())
|
|
13031
|
+
});
|
|
13032
|
+
var TodosDataSchema = v36.looseObject({
|
|
13033
|
+
id: v36.optional(v36.number()),
|
|
13034
|
+
todolistId: v36.optional(v36.nullable(v36.number())),
|
|
13035
|
+
content: v36.optional(v36.nullable(v36.string())),
|
|
13036
|
+
dueAt: v36.optional(v36.nullable(v36.string())),
|
|
13037
|
+
dueOn: v36.optional(v36.nullable(v36.string())),
|
|
13038
|
+
updatedAt: v36.optional(v36.string()),
|
|
13039
|
+
createdAt: v36.optional(v36.string()),
|
|
13040
|
+
completedAt: v36.optional(v36.nullable(v36.string())),
|
|
13041
|
+
commentsCount: v36.optional(v36.nullable(v36.number())),
|
|
13042
|
+
privateFlag: v36.optional(v36.nullable(v36.string())),
|
|
13043
|
+
trashedFlag: v36.optional(v36.nullable(v36.string())),
|
|
13044
|
+
creatorId: v36.optional(v36.nullable(v36.number())),
|
|
13045
|
+
assigneeId: v36.optional(v36.nullable(v36.number())),
|
|
13046
|
+
completedFlag: v36.optional(v36.nullable(v36.string())),
|
|
13047
|
+
url: v36.optional(v36.nullable(v36.string())),
|
|
13048
|
+
appUrl: v36.optional(v36.nullable(v36.string())),
|
|
13049
|
+
updateCd: v36.optional(v36.number()),
|
|
13050
|
+
position: v36.optional(v36.number()),
|
|
13051
|
+
projectsId: v36.optional(v36.number()),
|
|
13052
|
+
detailJson: v36.optional(v36.nullable(v36.string())),
|
|
13053
|
+
pullDetailCd: v36.optional(v36.number()),
|
|
13054
|
+
processCd: v36.optional(v36.number()),
|
|
13055
|
+
agrInfoCd: v36.optional(v36.number()),
|
|
13056
|
+
statusCd: v36.optional(v36.number()),
|
|
13057
|
+
lastCommentAt: v36.optional(v36.string()),
|
|
13058
|
+
vector: v36.optional(v36.nullable(v36.string())),
|
|
13059
|
+
vectorCd: v36.optional(v36.number()),
|
|
13060
|
+
vectorFlag: v36.optional(v36.string()),
|
|
13061
|
+
dateLastVector: v36.optional(v36.string())
|
|
13062
|
+
});
|
|
13063
|
+
var TodosSummaryDataSchema = v36.looseObject({
|
|
13064
|
+
id: v36.optional(v36.number()),
|
|
13065
|
+
summary: v36.optional(v36.nullable(v36.string())),
|
|
13066
|
+
summaryTokens: v36.optional(v36.number()),
|
|
13067
|
+
context: v36.optional(v36.nullable(v36.string())),
|
|
13068
|
+
contextTokens: v36.optional(v36.number()),
|
|
13069
|
+
modelName: v36.optional(v36.nullable(v36.string())),
|
|
13070
|
+
vector: v36.optional(v36.nullable(v36.string())),
|
|
13071
|
+
vectorCd: v36.optional(v36.number()),
|
|
13072
|
+
statusCd: v36.optional(v36.number()),
|
|
13073
|
+
processCd: v36.optional(v36.number()),
|
|
13074
|
+
updateCd: v36.optional(v36.number()),
|
|
13075
|
+
dateCreated: v36.optional(v36.string()),
|
|
13076
|
+
dateLastModified: v36.optional(v36.string()),
|
|
13077
|
+
akashaCd: v36.optional(v36.number()),
|
|
13078
|
+
complexityScore: v36.optional(v36.nullable(v36.number())),
|
|
13079
|
+
complexityReason: v36.optional(v36.nullable(v36.string())),
|
|
13080
|
+
estimatedMinutes: v36.optional(v36.nullable(v36.number())),
|
|
13081
|
+
requiredServices: v36.optional(v36.nullable(v36.string())),
|
|
13082
|
+
worthinessReason: v36.optional(v36.nullable(v36.string()))
|
|
13083
|
+
});
|
|
13084
|
+
var TodosSessionsDataSchema = v36.looseObject({
|
|
13085
|
+
todosSessionsUid: v36.optional(v36.number()),
|
|
13086
|
+
todosId: v36.optional(v36.number()),
|
|
13087
|
+
sessionNum: v36.optional(v36.number()),
|
|
13088
|
+
sessionStatusCd: v36.optional(v36.number()),
|
|
13089
|
+
subject: v36.optional(v36.nullable(v36.string())),
|
|
13090
|
+
problem: v36.optional(v36.nullable(v36.string())),
|
|
13091
|
+
investigation: v36.optional(v36.nullable(v36.string())),
|
|
13092
|
+
plan: v36.optional(v36.nullable(v36.string())),
|
|
13093
|
+
outcome: v36.optional(v36.nullable(v36.string())),
|
|
13094
|
+
dateCreated: v36.optional(v36.string()),
|
|
13095
|
+
dateLastModified: v36.optional(v36.string()),
|
|
13096
|
+
updateCd: v36.optional(v36.number()),
|
|
13097
|
+
statusCd: v36.optional(v36.number()),
|
|
13098
|
+
processCd: v36.optional(v36.number())
|
|
13099
|
+
});
|
|
13100
|
+
var PassthroughDataSchema27 = v36.record(v36.string(), v36.unknown());
|
|
12878
13101
|
|
|
12879
13102
|
// src/services/basecamp2/generated/endpoints.ts
|
|
12880
|
-
var
|
|
13103
|
+
var endpoints27 = [
|
|
12881
13104
|
{
|
|
12882
13105
|
method: "GET",
|
|
12883
13106
|
path: "/comments",
|
|
@@ -13326,18 +13549,12 @@ var Basecamp2Client = class extends BaseServiceClient {
|
|
|
13326
13549
|
constructor(http, baseUrl = "https://basecamp2.augur-api.com") {
|
|
13327
13550
|
super("basecamp2", http, baseUrl);
|
|
13328
13551
|
const boundExecuteRequest = (config, params, pathParams) => {
|
|
13329
|
-
|
|
13330
|
-
return this.executeRequest(config, params, pathParams);
|
|
13331
|
-
}
|
|
13332
|
-
if (params !== void 0 || config.paramsSchema !== void 0) {
|
|
13333
|
-
return this.executeRequest(config, params);
|
|
13334
|
-
}
|
|
13335
|
-
return this.executeRequest(config);
|
|
13552
|
+
return this.executeRequest(config, params, pathParams);
|
|
13336
13553
|
};
|
|
13337
13554
|
const proxy = createServiceProxy(
|
|
13338
13555
|
"basecamp2",
|
|
13339
13556
|
boundExecuteRequest,
|
|
13340
|
-
|
|
13557
|
+
endpoints27
|
|
13341
13558
|
);
|
|
13342
13559
|
const dataProxy = createDataProxy(proxy);
|
|
13343
13560
|
this.comments = proxy.comments;
|
|
@@ -13359,6 +13576,9 @@ var Basecamp2Client = class extends BaseServiceClient {
|
|
|
13359
13576
|
this.healthCheck = createHealthCheckResource27(boundExecuteRequest);
|
|
13360
13577
|
this.healthCheckData = createHealthCheckDataResource27(this.healthCheck);
|
|
13361
13578
|
}
|
|
13579
|
+
getServiceDescription() {
|
|
13580
|
+
return "Basecamp project management integration syncing todos, projects, people, and conversation data with AI analytics";
|
|
13581
|
+
}
|
|
13362
13582
|
};
|
|
13363
13583
|
|
|
13364
13584
|
// src/client.ts
|
|
@@ -13553,6 +13773,16 @@ var AugurAPI = class _AugurAPI {
|
|
|
13553
13773
|
}
|
|
13554
13774
|
return this._agrInfo;
|
|
13555
13775
|
}
|
|
13776
|
+
/**
|
|
13777
|
+
* Access AGR Int (internal RBAC) service endpoints
|
|
13778
|
+
*/
|
|
13779
|
+
get agrInt() {
|
|
13780
|
+
if (!this._agrInt) {
|
|
13781
|
+
const httpClient = new HTTPClient("agr-int", this.config);
|
|
13782
|
+
this._agrInt = new AgrIntClient(httpClient);
|
|
13783
|
+
}
|
|
13784
|
+
return this._agrInt;
|
|
13785
|
+
}
|
|
13556
13786
|
/**
|
|
13557
13787
|
* Access AGR Work service endpoints
|
|
13558
13788
|
*/
|
|
@@ -13703,6 +13933,7 @@ var AugurAPI = class _AugurAPI {
|
|
|
13703
13933
|
this._p21Pim = void 0;
|
|
13704
13934
|
this._payments = void 0;
|
|
13705
13935
|
this._agrInfo = void 0;
|
|
13936
|
+
this._agrInt = void 0;
|
|
13706
13937
|
this._agrWork = void 0;
|
|
13707
13938
|
this._avalara = void 0;
|
|
13708
13939
|
this._brandFolder = void 0;
|
|
@@ -13737,6 +13968,7 @@ var AugurAPI = class _AugurAPI {
|
|
|
13737
13968
|
this._p21Pim = void 0;
|
|
13738
13969
|
this._payments = void 0;
|
|
13739
13970
|
this._agrInfo = void 0;
|
|
13971
|
+
this._agrInt = void 0;
|
|
13740
13972
|
this._agrWork = void 0;
|
|
13741
13973
|
this._avalara = void 0;
|
|
13742
13974
|
this._brandFolder = void 0;
|
|
@@ -13794,6 +14026,7 @@ var AugurAPI = class _AugurAPI {
|
|
|
13794
14026
|
{ name: "p21Pim", client: this.p21Pim },
|
|
13795
14027
|
{ name: "payments", client: this.payments },
|
|
13796
14028
|
{ name: "agrInfo", client: this.agrInfo },
|
|
14029
|
+
{ name: "agrInt", client: this.agrInt },
|
|
13797
14030
|
{ name: "agrWork", client: this.agrWork },
|
|
13798
14031
|
{ name: "avalara", client: this.avalara },
|
|
13799
14032
|
{ name: "brandFolder", client: this.brandFolder },
|
|
@@ -13888,11 +14121,11 @@ var AugurAPI = class _AugurAPI {
|
|
|
13888
14121
|
/**
|
|
13889
14122
|
* Search and score endpoints against search term
|
|
13890
14123
|
*/
|
|
13891
|
-
searchAndScoreEndpoints(
|
|
14124
|
+
searchAndScoreEndpoints(endpoints28, searchTerm, options) {
|
|
13892
14125
|
const { domain, minScore } = options;
|
|
13893
14126
|
const results = [];
|
|
13894
14127
|
const searchTermLower = searchTerm.toLowerCase();
|
|
13895
|
-
for (const endpoint of
|
|
14128
|
+
for (const endpoint of endpoints28) {
|
|
13896
14129
|
if (!this.isValidEndpoint(endpoint)) {
|
|
13897
14130
|
continue;
|
|
13898
14131
|
}
|
|
@@ -14246,9 +14479,10 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
14246
14479
|
}
|
|
14247
14480
|
|
|
14248
14481
|
// src/index.ts
|
|
14249
|
-
var VERSION = "2026.
|
|
14482
|
+
var VERSION = "2026.6.2";
|
|
14250
14483
|
export {
|
|
14251
14484
|
AgrInfoClient,
|
|
14485
|
+
AgrIntClient,
|
|
14252
14486
|
AgrSiteClient,
|
|
14253
14487
|
AgrWorkClient,
|
|
14254
14488
|
AugurAPI,
|