@simpleapps-com/augur-api 2026.7.1 → 2026.8.1
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/README.md +1 -1
- package/SKILL.md +2 -2
- package/dist/{client-CtkvL4em.d.mts → client-Dbn_tglP.d.mts} +380 -18
- package/dist/{client-CtkvL4em.d.ts → client-Dbn_tglP.d.ts} +380 -18
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +647 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +647 -13
- 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
|
@@ -2017,7 +2017,7 @@ declare class OpenSearchClient extends BaseServiceClient {
|
|
|
2017
2017
|
/**
|
|
2018
2018
|
* Generated types for items service
|
|
2019
2019
|
* Source: shared/specs/items.json
|
|
2020
|
-
* Generated: 2026-
|
|
2020
|
+
* Generated: 2026-08-31T15:31:30Z
|
|
2021
2021
|
*
|
|
2022
2022
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
2023
2023
|
*/
|
|
@@ -2422,6 +2422,31 @@ interface AttributeGroupsAttributesData {
|
|
|
2422
2422
|
}
|
|
2423
2423
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2424
2424
|
interface AttributesData {
|
|
2425
|
+
attributeUid?: number;
|
|
2426
|
+
attributeDesc?: string | null;
|
|
2427
|
+
extendedDesc?: string | null;
|
|
2428
|
+
attributeId?: string;
|
|
2429
|
+
dataType?: number;
|
|
2430
|
+
maxLength?: number;
|
|
2431
|
+
noOfDecimal?: number | null;
|
|
2432
|
+
rowStatusFlag?: number;
|
|
2433
|
+
validationRequiredFlag?: string;
|
|
2434
|
+
dateCreated?: string;
|
|
2435
|
+
createdBy?: string;
|
|
2436
|
+
dateLastModified?: string;
|
|
2437
|
+
lastMaintainedBy?: string;
|
|
2438
|
+
cfdiAttributeType?: number | null;
|
|
2439
|
+
updateCd?: number;
|
|
2440
|
+
processCd?: number;
|
|
2441
|
+
statusCd?: number;
|
|
2442
|
+
typeCd?: number;
|
|
2443
|
+
activeValueCount?: number;
|
|
2444
|
+
inactiveValueCount?: number;
|
|
2445
|
+
deletedValueCount?: number;
|
|
2446
|
+
[key: string]: unknown;
|
|
2447
|
+
}
|
|
2448
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2449
|
+
interface AttributesData2 {
|
|
2425
2450
|
attributeUid?: number;
|
|
2426
2451
|
attributeDesc?: string | null;
|
|
2427
2452
|
extendedDesc?: string | null;
|
|
@@ -2460,6 +2485,7 @@ interface AttributesItemsData {
|
|
|
2460
2485
|
attributeDesc?: string | null;
|
|
2461
2486
|
attributeId?: string;
|
|
2462
2487
|
itemId?: string;
|
|
2488
|
+
itemDesc?: string | null;
|
|
2463
2489
|
[key: string]: unknown;
|
|
2464
2490
|
}
|
|
2465
2491
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
@@ -2652,9 +2678,9 @@ interface ItemsClientSpec {
|
|
|
2652
2678
|
};
|
|
2653
2679
|
attributes: {
|
|
2654
2680
|
list: (params?: AttributesListParams) => Promise<BaseResponse<AttributesData[]>>;
|
|
2655
|
-
create: (data: Record<string, unknown>) => Promise<BaseResponse<
|
|
2681
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<AttributesData2>>;
|
|
2656
2682
|
get: (attributeUid: number, params?: AttributesGetParams) => Promise<BaseResponse<AttributesData>>;
|
|
2657
|
-
update: (attributeUid: number, data: Record<string, unknown>) => Promise<BaseResponse<
|
|
2683
|
+
update: (attributeUid: number, data: Record<string, unknown>) => Promise<BaseResponse<AttributesData2>>;
|
|
2658
2684
|
delete: (attributeUid: number) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
2659
2685
|
items: {
|
|
2660
2686
|
list: (attributeUid: number, params?: AttributesItemsListParams) => Promise<BaseResponse<AttributesItemsData[]>>;
|
|
@@ -2935,7 +2961,7 @@ type WhoamiDataResource$1 = ReturnType<typeof createWhoamiDataResource$1>;
|
|
|
2935
2961
|
/**
|
|
2936
2962
|
* Generated client for items service
|
|
2937
2963
|
* Source: shared/specs/items.json
|
|
2938
|
-
* Generated: 2026-
|
|
2964
|
+
* Generated: 2026-08-31T15:31:30Z
|
|
2939
2965
|
*
|
|
2940
2966
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
2941
2967
|
*/
|
|
@@ -4017,7 +4043,7 @@ declare class AgrSiteClient extends BaseServiceClient {
|
|
|
4017
4043
|
/**
|
|
4018
4044
|
* Generated types for customers service
|
|
4019
4045
|
* Source: shared/specs/customers.json
|
|
4020
|
-
* Generated: 2026-
|
|
4046
|
+
* Generated: 2026-08-31T15:31:28Z
|
|
4021
4047
|
*
|
|
4022
4048
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4023
4049
|
*/
|
|
@@ -4067,6 +4093,14 @@ interface CustomerAddressesListParams extends EdgeCacheParams {
|
|
|
4067
4093
|
}
|
|
4068
4094
|
/** Params for GET /customer/{customerId}/addresses/{customerAddressUid} */
|
|
4069
4095
|
type CustomerAddressesGetParams = EdgeCacheParams;
|
|
4096
|
+
/** Params for GET /customer/{customerId}/aging */
|
|
4097
|
+
interface CustomerAgingListParams extends EdgeCacheParams {
|
|
4098
|
+
asOf?: string;
|
|
4099
|
+
limit?: number;
|
|
4100
|
+
offset?: number;
|
|
4101
|
+
orderBy?: string;
|
|
4102
|
+
shipToId?: number;
|
|
4103
|
+
}
|
|
4070
4104
|
/** Params for GET /customer/{customerId}/contacts */
|
|
4071
4105
|
interface CustomerContactsListParams extends EdgeCacheParams {
|
|
4072
4106
|
limit?: number;
|
|
@@ -4136,12 +4170,26 @@ interface CustomerRmasListParams extends EdgeCacheParams {
|
|
|
4136
4170
|
}
|
|
4137
4171
|
/** Params for GET /customer/{customerId}/rmas/{rmaNo} */
|
|
4138
4172
|
type CustomerRmasGetParams = EdgeCacheParams;
|
|
4173
|
+
/** Params for GET /customer/{customerId}/sales-usage */
|
|
4174
|
+
interface CustomerSalesUsageListParams extends EdgeCacheParams {
|
|
4175
|
+
invoicedFrom?: string;
|
|
4176
|
+
invoicedTo?: string;
|
|
4177
|
+
limit?: number;
|
|
4178
|
+
offset?: number;
|
|
4179
|
+
orderBy?: string;
|
|
4180
|
+
q?: string;
|
|
4181
|
+
shipToId?: number;
|
|
4182
|
+
supplierId?: number;
|
|
4183
|
+
totalBy?: string;
|
|
4184
|
+
}
|
|
4139
4185
|
/** Params for GET /customer/{customerId}/ship-to */
|
|
4140
4186
|
interface CustomerShipToListParams extends EdgeCacheParams {
|
|
4141
4187
|
limit?: number;
|
|
4142
4188
|
offset?: number;
|
|
4143
4189
|
orderBy?: string;
|
|
4144
4190
|
}
|
|
4191
|
+
/** Params for GET /customer/{customerId}/ship-to/{shipToId}/freight-codes */
|
|
4192
|
+
type CustomerShipToFreightCodesListParams = EdgeCacheParams;
|
|
4145
4193
|
/** Params for GET /customer/{customerId}/tags */
|
|
4146
4194
|
interface CustomerTagsListParams extends EdgeCacheParams {
|
|
4147
4195
|
limit?: number;
|
|
@@ -4178,6 +4226,30 @@ interface CustomerAddressesData {
|
|
|
4178
4226
|
[key: string]: unknown;
|
|
4179
4227
|
}
|
|
4180
4228
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4229
|
+
interface CustomerAgingData {
|
|
4230
|
+
customerId?: string;
|
|
4231
|
+
asOf?: string;
|
|
4232
|
+
bucketKeys?: unknown;
|
|
4233
|
+
invoiceCount?: number;
|
|
4234
|
+
totalBalance?: number;
|
|
4235
|
+
totals?: unknown;
|
|
4236
|
+
data?: unknown;
|
|
4237
|
+
[key: string]: unknown;
|
|
4238
|
+
}
|
|
4239
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4240
|
+
interface CustomerSalesUsageData {
|
|
4241
|
+
customerId?: string;
|
|
4242
|
+
invoicedFrom?: string;
|
|
4243
|
+
invoicedTo?: string;
|
|
4244
|
+
totalBy?: string;
|
|
4245
|
+
bucketKeys?: unknown;
|
|
4246
|
+
invoiceCount?: number;
|
|
4247
|
+
linesFolded?: number;
|
|
4248
|
+
itemCount?: number;
|
|
4249
|
+
data?: unknown;
|
|
4250
|
+
[key: string]: unknown;
|
|
4251
|
+
}
|
|
4252
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4181
4253
|
interface CustomerTagsData {
|
|
4182
4254
|
customerTagsUid?: number;
|
|
4183
4255
|
customerId?: number;
|
|
@@ -4220,6 +4292,9 @@ interface CustomersClientSpec {
|
|
|
4220
4292
|
update: (customerId: number, customerAddressUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4221
4293
|
delete: (customerId: number, customerAddressUid: number) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4222
4294
|
};
|
|
4295
|
+
aging: {
|
|
4296
|
+
list: (customerId: number, params?: CustomerAgingListParams) => Promise<BaseResponse<CustomerAgingData>>;
|
|
4297
|
+
};
|
|
4223
4298
|
contacts: {
|
|
4224
4299
|
list: (customerId: number, params?: CustomerContactsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4225
4300
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -4250,9 +4325,15 @@ interface CustomersClientSpec {
|
|
|
4250
4325
|
list: (customerId: number, params?: CustomerRmasListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4251
4326
|
get: (customerId: number, rmaNo: number, params?: CustomerRmasGetParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4252
4327
|
};
|
|
4328
|
+
salesUsage: {
|
|
4329
|
+
list: (customerId: number, params?: CustomerSalesUsageListParams) => Promise<BaseResponse<CustomerSalesUsageData>>;
|
|
4330
|
+
};
|
|
4253
4331
|
shipTo: {
|
|
4254
4332
|
list: (customerId: number, params?: CustomerShipToListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4255
4333
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4334
|
+
freightCodes: {
|
|
4335
|
+
list: (customerId: number, shipToId: number, params?: CustomerShipToFreightCodesListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4336
|
+
};
|
|
4256
4337
|
};
|
|
4257
4338
|
tags: {
|
|
4258
4339
|
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<CustomerTagsData[]>>;
|
|
@@ -4303,7 +4384,7 @@ type HealthCheckDataResource$h = ReturnType<typeof createHealthCheckDataResource
|
|
|
4303
4384
|
/**
|
|
4304
4385
|
* Generated client for customers service
|
|
4305
4386
|
* Source: shared/specs/customers.json
|
|
4306
|
-
* Generated: 2026-
|
|
4387
|
+
* Generated: 2026-08-31T15:31:28Z
|
|
4307
4388
|
*
|
|
4308
4389
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4309
4390
|
*/
|
|
@@ -4578,7 +4659,7 @@ declare class OrdersClient extends BaseServiceClient {
|
|
|
4578
4659
|
/**
|
|
4579
4660
|
* Generated types for p21-pim service
|
|
4580
4661
|
* Source: shared/specs/p21-pim.json
|
|
4581
|
-
* Generated: 2026-
|
|
4662
|
+
* Generated: 2026-08-31T15:38:16Z
|
|
4582
4663
|
*
|
|
4583
4664
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4584
4665
|
*/
|
|
@@ -4594,6 +4675,27 @@ interface InvMastExtListParams extends EdgeCacheParams {
|
|
|
4594
4675
|
}
|
|
4595
4676
|
/** Params for GET /inv-mast-ext/{invMastExtUid} */
|
|
4596
4677
|
type InvMastExtGetParams = EdgeCacheParams;
|
|
4678
|
+
/** Params for GET /inv-mast-files */
|
|
4679
|
+
interface InvMastFilesListParams extends EdgeCacheParams {
|
|
4680
|
+
invMastUid?: number;
|
|
4681
|
+
limit?: number;
|
|
4682
|
+
offset?: number;
|
|
4683
|
+
orderBy?: string;
|
|
4684
|
+
statusCd?: number;
|
|
4685
|
+
}
|
|
4686
|
+
/** Params for GET /inv-mast-files/{invMastFilesUid} */
|
|
4687
|
+
type InvMastFilesGetParams = EdgeCacheParams;
|
|
4688
|
+
/** Params for GET /inv-mast-text */
|
|
4689
|
+
interface InvMastTextListParams extends EdgeCacheParams {
|
|
4690
|
+
invMastUid?: number;
|
|
4691
|
+
limit?: number;
|
|
4692
|
+
offset?: number;
|
|
4693
|
+
orderBy?: string;
|
|
4694
|
+
statusCd?: number;
|
|
4695
|
+
webDisplayTypeUid?: number;
|
|
4696
|
+
}
|
|
4697
|
+
/** Params for GET /inv-mast-text/{invMastTextUid} */
|
|
4698
|
+
type InvMastTextGetParams = EdgeCacheParams;
|
|
4597
4699
|
/** Params for GET /items/{invMastUid}/suggest-display-desc */
|
|
4598
4700
|
interface ItemsSuggestDisplayDescListParams extends EdgeCacheParams {
|
|
4599
4701
|
limit?: number;
|
|
@@ -4615,6 +4717,61 @@ interface PodcastsListParams extends EdgeCacheParams {
|
|
|
4615
4717
|
/** Params for GET /podcasts/{podcastsUid} */
|
|
4616
4718
|
type PodcastsGetParams = EdgeCacheParams;
|
|
4617
4719
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4720
|
+
interface InvMastExtData {
|
|
4721
|
+
invMastExtUid?: number;
|
|
4722
|
+
invMastUid?: number;
|
|
4723
|
+
dateCreated?: string;
|
|
4724
|
+
dateLastModified?: string;
|
|
4725
|
+
updateCd?: number;
|
|
4726
|
+
statusCd?: number;
|
|
4727
|
+
processCd?: number;
|
|
4728
|
+
upcOrEan?: string | null;
|
|
4729
|
+
upcOrEanId?: string | null;
|
|
4730
|
+
upcOrEanPrefix?: string | null;
|
|
4731
|
+
upcOrEanItem?: string | null;
|
|
4732
|
+
attributeGroupUid?: number | null;
|
|
4733
|
+
brandName?: string | null;
|
|
4734
|
+
manufacturerName?: string | null;
|
|
4735
|
+
partNumber?: string | null;
|
|
4736
|
+
metaTitle?: string | null;
|
|
4737
|
+
metaDescription?: string | null;
|
|
4738
|
+
metaKeywords?: string | null;
|
|
4739
|
+
[key: string]: unknown;
|
|
4740
|
+
}
|
|
4741
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4742
|
+
interface InvMastFilesData {
|
|
4743
|
+
invMastFilesUid?: number;
|
|
4744
|
+
invMastUid?: number;
|
|
4745
|
+
fileName?: string;
|
|
4746
|
+
filePath?: string;
|
|
4747
|
+
linkArea?: number;
|
|
4748
|
+
rowStatusFlag?: number;
|
|
4749
|
+
sequenceNo?: number;
|
|
4750
|
+
dateCreated?: string;
|
|
4751
|
+
dateLastModified?: string;
|
|
4752
|
+
updateCd?: number;
|
|
4753
|
+
statusCd?: number;
|
|
4754
|
+
processCd?: number;
|
|
4755
|
+
fileDesc?: string;
|
|
4756
|
+
[key: string]: unknown;
|
|
4757
|
+
}
|
|
4758
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4759
|
+
interface InvMastTextData {
|
|
4760
|
+
invMastTextUid?: number;
|
|
4761
|
+
invMastUid?: number;
|
|
4762
|
+
sequenceNo?: number;
|
|
4763
|
+
textValue?: string;
|
|
4764
|
+
displayOnWebFlag?: string;
|
|
4765
|
+
webDisplayTypeUid?: number;
|
|
4766
|
+
textTypeCd?: number;
|
|
4767
|
+
dateCreated?: string;
|
|
4768
|
+
dateLastModified?: string;
|
|
4769
|
+
updateCd?: number;
|
|
4770
|
+
statusCd?: number;
|
|
4771
|
+
processCd?: number;
|
|
4772
|
+
[key: string]: unknown;
|
|
4773
|
+
}
|
|
4774
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4618
4775
|
interface PodcastsData {
|
|
4619
4776
|
podcastsUid?: number;
|
|
4620
4777
|
title?: string | null;
|
|
@@ -4629,12 +4786,26 @@ interface PodcastsData {
|
|
|
4629
4786
|
}
|
|
4630
4787
|
interface P21PimClientSpec {
|
|
4631
4788
|
invMastExt: {
|
|
4632
|
-
list: (params?: InvMastExtListParams) => Promise<BaseResponse<
|
|
4633
|
-
create: (data: Record<string, unknown>) => Promise<BaseResponse<
|
|
4634
|
-
get: (invMastExtUid: number, params?: InvMastExtGetParams) => Promise<BaseResponse<
|
|
4635
|
-
update: (invMastExtUid: number, data: Record<string, unknown>) => Promise<BaseResponse<
|
|
4789
|
+
list: (params?: InvMastExtListParams) => Promise<BaseResponse<InvMastExtData[]>>;
|
|
4790
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<InvMastExtData>>;
|
|
4791
|
+
get: (invMastExtUid: number, params?: InvMastExtGetParams) => Promise<BaseResponse<InvMastExtData>>;
|
|
4792
|
+
update: (invMastExtUid: number, data: Record<string, unknown>) => Promise<BaseResponse<InvMastExtData>>;
|
|
4636
4793
|
delete: (invMastExtUid: number) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4637
4794
|
};
|
|
4795
|
+
invMastFiles: {
|
|
4796
|
+
list: (params?: InvMastFilesListParams) => Promise<BaseResponse<InvMastFilesData[]>>;
|
|
4797
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<InvMastFilesData>>;
|
|
4798
|
+
get: (invMastFilesUid: number, params?: InvMastFilesGetParams) => Promise<BaseResponse<InvMastFilesData>>;
|
|
4799
|
+
update: (invMastFilesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<InvMastFilesData>>;
|
|
4800
|
+
delete: (invMastFilesUid: number) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4801
|
+
};
|
|
4802
|
+
invMastText: {
|
|
4803
|
+
list: (params?: InvMastTextListParams) => Promise<BaseResponse<InvMastTextData[]>>;
|
|
4804
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<InvMastTextData>>;
|
|
4805
|
+
get: (invMastTextUid: number, params?: InvMastTextGetParams) => Promise<BaseResponse<InvMastTextData>>;
|
|
4806
|
+
update: (invMastTextUid: number, data: Record<string, unknown>) => Promise<BaseResponse<InvMastTextData>>;
|
|
4807
|
+
delete: (invMastTextUid: number) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4808
|
+
};
|
|
4638
4809
|
items: {
|
|
4639
4810
|
suggestDisplayDesc: {
|
|
4640
4811
|
list: (invMastUid: number, params?: ItemsSuggestDisplayDescListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -4690,16 +4861,20 @@ type HealthCheckDataResource$f = ReturnType<typeof createHealthCheckDataResource
|
|
|
4690
4861
|
/**
|
|
4691
4862
|
* Generated client for p21-pim service
|
|
4692
4863
|
* Source: shared/specs/p21-pim.json
|
|
4693
|
-
* Generated: 2026-
|
|
4864
|
+
* Generated: 2026-08-31T15:38:16Z
|
|
4694
4865
|
*
|
|
4695
4866
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4696
4867
|
*/
|
|
4697
4868
|
|
|
4698
4869
|
declare class P21PimClient extends BaseServiceClient {
|
|
4699
4870
|
readonly invMastExt: P21PimClientSpec['invMastExt'];
|
|
4871
|
+
readonly invMastFiles: P21PimClientSpec['invMastFiles'];
|
|
4872
|
+
readonly invMastText: P21PimClientSpec['invMastText'];
|
|
4700
4873
|
readonly items: P21PimClientSpec['items'];
|
|
4701
4874
|
readonly podcasts: P21PimClientSpec['podcasts'];
|
|
4702
4875
|
readonly invMastExtData: P21PimClientSpec['invMastExt'];
|
|
4876
|
+
readonly invMastFilesData: P21PimClientSpec['invMastFiles'];
|
|
4877
|
+
readonly invMastTextData: P21PimClientSpec['invMastText'];
|
|
4703
4878
|
readonly itemsData: P21PimClientSpec['items'];
|
|
4704
4879
|
readonly podcastsData: P21PimClientSpec['podcasts'];
|
|
4705
4880
|
readonly healthCheck: HealthCheckResource$f;
|
|
@@ -4711,7 +4886,7 @@ declare class P21PimClient extends BaseServiceClient {
|
|
|
4711
4886
|
/**
|
|
4712
4887
|
* Generated types for payments service
|
|
4713
4888
|
* Source: shared/specs/payments.json
|
|
4714
|
-
* Generated: 2026-
|
|
4889
|
+
* Generated: 2026-08-04T17:10:16Z
|
|
4715
4890
|
*
|
|
4716
4891
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4717
4892
|
*/
|
|
@@ -4731,6 +4906,69 @@ interface MonerisPreAuthCompleteListParams extends EdgeCacheParams {
|
|
|
4731
4906
|
testMode?: boolean;
|
|
4732
4907
|
txnNumber: string;
|
|
4733
4908
|
}
|
|
4909
|
+
/** Params for POST /paypal/authorization/capture */
|
|
4910
|
+
interface PaypalAuthorizationCaptureCreateParams {
|
|
4911
|
+
amount?: number;
|
|
4912
|
+
authorizationId: string;
|
|
4913
|
+
finalCapture?: boolean;
|
|
4914
|
+
invoiceId?: string;
|
|
4915
|
+
testMode?: boolean;
|
|
4916
|
+
}
|
|
4917
|
+
/** Params for POST /paypal/authorization/void */
|
|
4918
|
+
interface PaypalAuthorizationVoidCreateParams {
|
|
4919
|
+
authorizationId: string;
|
|
4920
|
+
testMode?: boolean;
|
|
4921
|
+
}
|
|
4922
|
+
/** Params for POST /paypal/capture/refund */
|
|
4923
|
+
interface PaypalCaptureRefundCreateParams {
|
|
4924
|
+
amount?: number;
|
|
4925
|
+
captureId: string;
|
|
4926
|
+
invoiceId?: string;
|
|
4927
|
+
noteToPayer?: string;
|
|
4928
|
+
testMode?: boolean;
|
|
4929
|
+
}
|
|
4930
|
+
/** Params for POST /paypal/order */
|
|
4931
|
+
interface PaypalOrderCreateParams {
|
|
4932
|
+
amount: number;
|
|
4933
|
+
cancelUrl?: string;
|
|
4934
|
+
currencyCode?: string;
|
|
4935
|
+
intent: string;
|
|
4936
|
+
invoiceId?: string;
|
|
4937
|
+
returnUrl?: string;
|
|
4938
|
+
testMode?: boolean;
|
|
4939
|
+
}
|
|
4940
|
+
/** Params for GET /paypal/order-return */
|
|
4941
|
+
interface PaypalOrderReturnListParams extends EdgeCacheParams {
|
|
4942
|
+
payerId?: string;
|
|
4943
|
+
siteId: string;
|
|
4944
|
+
testMode?: boolean;
|
|
4945
|
+
token: string;
|
|
4946
|
+
}
|
|
4947
|
+
/** Params for POST /paypal/order/authorize */
|
|
4948
|
+
interface PaypalOrderAuthorizeCreateParams {
|
|
4949
|
+
orderId: string;
|
|
4950
|
+
testMode?: boolean;
|
|
4951
|
+
}
|
|
4952
|
+
/** Params for POST /paypal/order/capture */
|
|
4953
|
+
interface PaypalOrderCaptureCreateParams {
|
|
4954
|
+
orderId: string;
|
|
4955
|
+
testMode?: boolean;
|
|
4956
|
+
}
|
|
4957
|
+
/** Params for GET /paypal/order/details */
|
|
4958
|
+
interface PaypalOrderDetailsListParams extends EdgeCacheParams {
|
|
4959
|
+
orderId: string;
|
|
4960
|
+
testMode?: boolean;
|
|
4961
|
+
}
|
|
4962
|
+
/** Params for GET /paypal/refund */
|
|
4963
|
+
interface PaypalRefundListParams extends EdgeCacheParams {
|
|
4964
|
+
refundId: string;
|
|
4965
|
+
testMode?: boolean;
|
|
4966
|
+
}
|
|
4967
|
+
/** Params for POST /paypal/webhook */
|
|
4968
|
+
interface PaypalWebhookCreateParams {
|
|
4969
|
+
siteId: string;
|
|
4970
|
+
testMode?: boolean;
|
|
4971
|
+
}
|
|
4734
4972
|
/** Params for POST /paytrace/authorization */
|
|
4735
4973
|
interface PaytraceAuthorizationCreateParams {
|
|
4736
4974
|
amount: number;
|
|
@@ -4826,6 +5064,42 @@ interface PaymentsClientSpec {
|
|
|
4826
5064
|
list: (params?: MonerisPreAuthCompleteListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4827
5065
|
};
|
|
4828
5066
|
};
|
|
5067
|
+
paypal: {
|
|
5068
|
+
authorization: {
|
|
5069
|
+
capture: {
|
|
5070
|
+
create: (data: Record<string, unknown>, params?: PaypalAuthorizationCaptureCreateParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5071
|
+
};
|
|
5072
|
+
void: {
|
|
5073
|
+
create: (data: Record<string, unknown>, params?: PaypalAuthorizationVoidCreateParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5074
|
+
};
|
|
5075
|
+
};
|
|
5076
|
+
capture: {
|
|
5077
|
+
refund: {
|
|
5078
|
+
create: (data: Record<string, unknown>, params?: PaypalCaptureRefundCreateParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5079
|
+
};
|
|
5080
|
+
};
|
|
5081
|
+
order: {
|
|
5082
|
+
create: (data: Record<string, unknown>, params?: PaypalOrderCreateParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5083
|
+
authorize: {
|
|
5084
|
+
create: (data: Record<string, unknown>, params?: PaypalOrderAuthorizeCreateParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5085
|
+
};
|
|
5086
|
+
capture: {
|
|
5087
|
+
create: (data: Record<string, unknown>, params?: PaypalOrderCaptureCreateParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5088
|
+
};
|
|
5089
|
+
details: {
|
|
5090
|
+
list: (params?: PaypalOrderDetailsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5091
|
+
};
|
|
5092
|
+
};
|
|
5093
|
+
orderReturn: {
|
|
5094
|
+
list: (params?: PaypalOrderReturnListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5095
|
+
};
|
|
5096
|
+
refund: {
|
|
5097
|
+
list: (params?: PaypalRefundListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5098
|
+
};
|
|
5099
|
+
webhook: {
|
|
5100
|
+
create: (data: Record<string, unknown>, params?: PaypalWebhookCreateParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5101
|
+
};
|
|
5102
|
+
};
|
|
4829
5103
|
paytrace: {
|
|
4830
5104
|
authorization: {
|
|
4831
5105
|
create: (data: Record<string, unknown>, params?: PaytraceAuthorizationCreateParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -4921,7 +5195,7 @@ type PingDataResource$4 = ReturnType<typeof createPingDataResource$4>;
|
|
|
4921
5195
|
/**
|
|
4922
5196
|
* Generated client for payments service
|
|
4923
5197
|
* Source: shared/specs/payments.json
|
|
4924
|
-
* Generated: 2026-
|
|
5198
|
+
* Generated: 2026-08-04T17:10:16Z
|
|
4925
5199
|
*
|
|
4926
5200
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4927
5201
|
*/
|
|
@@ -4929,10 +5203,12 @@ type PingDataResource$4 = ReturnType<typeof createPingDataResource$4>;
|
|
|
4929
5203
|
declare class PaymentsClient extends BaseServiceClient {
|
|
4930
5204
|
readonly element: PaymentsClientSpec['element'];
|
|
4931
5205
|
readonly moneris: PaymentsClientSpec['moneris'];
|
|
5206
|
+
readonly paypal: PaymentsClientSpec['paypal'];
|
|
4932
5207
|
readonly paytrace: PaymentsClientSpec['paytrace'];
|
|
4933
5208
|
readonly unified: PaymentsClientSpec['unified'];
|
|
4934
5209
|
readonly elementData: PaymentsClientSpec['element'];
|
|
4935
5210
|
readonly monerisData: PaymentsClientSpec['moneris'];
|
|
5211
|
+
readonly paypalData: PaymentsClientSpec['paypal'];
|
|
4936
5212
|
readonly paytraceData: PaymentsClientSpec['paytrace'];
|
|
4937
5213
|
readonly unifiedData: PaymentsClientSpec['unified'];
|
|
4938
5214
|
readonly healthCheck: HealthCheckResource$e;
|
|
@@ -5913,7 +6189,7 @@ declare class GregorovichClient extends BaseServiceClient {
|
|
|
5913
6189
|
/**
|
|
5914
6190
|
* Generated types for logistics service
|
|
5915
6191
|
* Source: shared/specs/logistics.json
|
|
5916
|
-
* Generated: 2026-
|
|
6192
|
+
* Generated: 2026-08-31T15:31:33Z
|
|
5917
6193
|
*
|
|
5918
6194
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
5919
6195
|
*/
|
|
@@ -5954,6 +6230,19 @@ interface RtsTracksListParams extends EdgeCacheParams {
|
|
|
5954
6230
|
search?: string;
|
|
5955
6231
|
trackClass?: string;
|
|
5956
6232
|
}
|
|
6233
|
+
/** Params for GET /shipping-methods */
|
|
6234
|
+
interface ShippingMethodsListParams extends EdgeCacheParams {
|
|
6235
|
+
limit?: number;
|
|
6236
|
+
offset?: number;
|
|
6237
|
+
orderBy?: string;
|
|
6238
|
+
shippingMethodsId?: number;
|
|
6239
|
+
shippingType?: string;
|
|
6240
|
+
statusCd?: number;
|
|
6241
|
+
}
|
|
6242
|
+
/** Params for GET /shipping-methods/{shippingMethodsUid} */
|
|
6243
|
+
interface ShippingMethodsGetParams extends EdgeCacheParams {
|
|
6244
|
+
shippingMethodsId?: number;
|
|
6245
|
+
}
|
|
5957
6246
|
/** Params for GET /shipvia/rates */
|
|
5958
6247
|
interface ShipviaRatesListParams extends EdgeCacheParams {
|
|
5959
6248
|
carriers?: string;
|
|
@@ -6017,6 +6306,7 @@ interface SpeedshipFreightListParams extends EdgeCacheParams {
|
|
|
6017
6306
|
handlingCharge?: number;
|
|
6018
6307
|
handlingChargeUnit?: string;
|
|
6019
6308
|
international?: boolean;
|
|
6309
|
+
maxPalletWeight?: number;
|
|
6020
6310
|
packageHeight?: number;
|
|
6021
6311
|
packageLength: number;
|
|
6022
6312
|
packageWidth: number;
|
|
@@ -6043,6 +6333,7 @@ interface UPSRatesListParams extends EdgeCacheParams {
|
|
|
6043
6333
|
fromCountryCode?: string;
|
|
6044
6334
|
fromPostalCode: string;
|
|
6045
6335
|
fromStateProvinceCode: string;
|
|
6336
|
+
maxPackageWeight?: number;
|
|
6046
6337
|
toAddress1: string;
|
|
6047
6338
|
toCity: string;
|
|
6048
6339
|
toCountryCode?: string;
|
|
@@ -6080,6 +6371,12 @@ interface LogisticsClientSpec {
|
|
|
6080
6371
|
list: (params?: RtsTracksListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
6081
6372
|
};
|
|
6082
6373
|
};
|
|
6374
|
+
shippingMethods: {
|
|
6375
|
+
list: (params?: ShippingMethodsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
6376
|
+
get: (shippingMethodsUid: number, params?: ShippingMethodsGetParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
6377
|
+
update: (shippingMethodsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
6378
|
+
delete: (shippingMethodsUid: number) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
6379
|
+
};
|
|
6083
6380
|
shipvia: {
|
|
6084
6381
|
rates: {
|
|
6085
6382
|
list: (params?: ShipviaRatesListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -6219,7 +6516,7 @@ type PingDataResource$2 = ReturnType<typeof createPingDataResource$2>;
|
|
|
6219
6516
|
/**
|
|
6220
6517
|
* Generated client for logistics service
|
|
6221
6518
|
* Source: shared/specs/logistics.json
|
|
6222
|
-
* Generated: 2026-
|
|
6519
|
+
* Generated: 2026-08-31T15:31:33Z
|
|
6223
6520
|
*
|
|
6224
6521
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
6225
6522
|
*/
|
|
@@ -6227,11 +6524,13 @@ type PingDataResource$2 = ReturnType<typeof createPingDataResource$2>;
|
|
|
6227
6524
|
declare class LogisticsClient extends BaseServiceClient {
|
|
6228
6525
|
readonly fedex: LogisticsClientSpec['fedex'];
|
|
6229
6526
|
readonly rts: LogisticsClientSpec['rts'];
|
|
6527
|
+
readonly shippingMethods: LogisticsClientSpec['shippingMethods'];
|
|
6230
6528
|
readonly shipvia: LogisticsClientSpec['shipvia'];
|
|
6231
6529
|
readonly speedship: LogisticsClientSpec['speedship'];
|
|
6232
6530
|
readonly ups: LogisticsClientSpec['ups'];
|
|
6233
6531
|
readonly fedexData: LogisticsClientSpec['fedex'];
|
|
6234
6532
|
readonly rtsData: LogisticsClientSpec['rts'];
|
|
6533
|
+
readonly shippingMethodsData: LogisticsClientSpec['shippingMethods'];
|
|
6235
6534
|
readonly shipviaData: LogisticsClientSpec['shipvia'];
|
|
6236
6535
|
readonly speedshipData: LogisticsClientSpec['speedship'];
|
|
6237
6536
|
readonly upsData: LogisticsClientSpec['ups'];
|
|
@@ -6429,7 +6728,7 @@ declare class P21ApisClient extends BaseServiceClient {
|
|
|
6429
6728
|
/**
|
|
6430
6729
|
* Generated types for p21-core service
|
|
6431
6730
|
* Source: shared/specs/p21-core.json
|
|
6432
|
-
* Generated: 2026-
|
|
6731
|
+
* Generated: 2026-08-04T17:10:21Z
|
|
6433
6732
|
*
|
|
6434
6733
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
6435
6734
|
*/
|
|
@@ -6495,6 +6794,19 @@ interface CompanyListParams extends EdgeCacheParams {
|
|
|
6495
6794
|
interface CompanyGetParams extends EdgeCacheParams {
|
|
6496
6795
|
companyId?: string;
|
|
6497
6796
|
}
|
|
6797
|
+
/** Params for GET /freight-code */
|
|
6798
|
+
interface FreightCodeListParams extends EdgeCacheParams {
|
|
6799
|
+
companyId?: string;
|
|
6800
|
+
freightCodeId?: string;
|
|
6801
|
+
limit?: number;
|
|
6802
|
+
offset?: number;
|
|
6803
|
+
orderBy?: string;
|
|
6804
|
+
statusCd?: number;
|
|
6805
|
+
}
|
|
6806
|
+
/** Params for GET /freight-code/{freightCodeUid} */
|
|
6807
|
+
interface FreightCodeGetParams extends EdgeCacheParams {
|
|
6808
|
+
freightCodeId?: string;
|
|
6809
|
+
}
|
|
6498
6810
|
/** Params for GET /location */
|
|
6499
6811
|
interface LocationListParams extends EdgeCacheParams {
|
|
6500
6812
|
deleteFlag?: string;
|
|
@@ -6573,6 +6885,50 @@ interface CompanyData {
|
|
|
6573
6885
|
[key: string]: unknown;
|
|
6574
6886
|
}
|
|
6575
6887
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
6888
|
+
interface FreightCodeData {
|
|
6889
|
+
freightCodeUid?: number;
|
|
6890
|
+
companyId?: string;
|
|
6891
|
+
freightCd?: string;
|
|
6892
|
+
freightDesc?: string;
|
|
6893
|
+
incomingFreight?: string;
|
|
6894
|
+
outgoingFreight?: string;
|
|
6895
|
+
incomingReduceCommission?: string;
|
|
6896
|
+
outgoingIncreaseCommission?: string;
|
|
6897
|
+
prorateMethodCodeNo?: number;
|
|
6898
|
+
taxGroupId?: string | null;
|
|
6899
|
+
revenueAccountNo?: string;
|
|
6900
|
+
rowStatus?: number;
|
|
6901
|
+
dateCreated?: string | null;
|
|
6902
|
+
dateLastModified?: string | null;
|
|
6903
|
+
lastMaintainedBy?: string;
|
|
6904
|
+
freeFreightBasisCd?: number | null;
|
|
6905
|
+
freeInFreightMin?: number | null;
|
|
6906
|
+
freeOutFreightMin?: number | null;
|
|
6907
|
+
directShipFreeFreightFlag?: string | null;
|
|
6908
|
+
freeInFreightMinWeb?: number | null;
|
|
6909
|
+
freeOutFreightMinWeb?: number | null;
|
|
6910
|
+
handlingChargeOptionCd?: number | null;
|
|
6911
|
+
externalTaxProductCodeIn?: string | null;
|
|
6912
|
+
externalTaxProductCodeOut?: string | null;
|
|
6913
|
+
incomingIncreaseCommission?: string | null;
|
|
6914
|
+
paySpecialFlag?: string | null;
|
|
6915
|
+
skipFirstShipmentFlag?: string | null;
|
|
6916
|
+
excludeFromSalesMasterInquiry?: string;
|
|
6917
|
+
deductibleFlag?: string | null;
|
|
6918
|
+
freeColdFreight?: string;
|
|
6919
|
+
freeHazmatFreight?: string;
|
|
6920
|
+
freeExpressFreight?: string;
|
|
6921
|
+
freeBulkFreight?: string;
|
|
6922
|
+
fedexPaymentMethod?: number | null;
|
|
6923
|
+
excludeDiscountedFreight?: string;
|
|
6924
|
+
freeFreightDefaultFlag?: string | null;
|
|
6925
|
+
outgoingAdjustCommissionByProfitFlag?: string | null;
|
|
6926
|
+
updateCd?: number;
|
|
6927
|
+
statusCd?: number;
|
|
6928
|
+
processCd?: number;
|
|
6929
|
+
[key: string]: unknown;
|
|
6930
|
+
}
|
|
6931
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
6576
6932
|
interface LocationData {
|
|
6577
6933
|
locationId?: number;
|
|
6578
6934
|
companyId?: string;
|
|
@@ -6624,6 +6980,10 @@ interface P21CoreClientSpec {
|
|
|
6624
6980
|
list: (params?: CompanyListParams) => Promise<BaseResponse<CompanyData[]>>;
|
|
6625
6981
|
get: (companyUid: number, params?: CompanyGetParams) => Promise<BaseResponse<CompanyData>>;
|
|
6626
6982
|
};
|
|
6983
|
+
freightCode: {
|
|
6984
|
+
list: (params?: FreightCodeListParams) => Promise<BaseResponse<FreightCodeData[]>>;
|
|
6985
|
+
get: (freightCodeUid: number, params?: FreightCodeGetParams) => Promise<BaseResponse<FreightCodeData>>;
|
|
6986
|
+
};
|
|
6627
6987
|
location: {
|
|
6628
6988
|
list: (params?: LocationListParams) => Promise<BaseResponse<LocationData[]>>;
|
|
6629
6989
|
get: (locationId: number, params?: LocationGetParams) => Promise<BaseResponse<LocationData>>;
|
|
@@ -6686,7 +7046,7 @@ type PingDataResource$1 = ReturnType<typeof createPingDataResource$1>;
|
|
|
6686
7046
|
/**
|
|
6687
7047
|
* Generated client for p21-core service
|
|
6688
7048
|
* Source: shared/specs/p21-core.json
|
|
6689
|
-
* Generated: 2026-
|
|
7049
|
+
* Generated: 2026-08-04T17:10:21Z
|
|
6690
7050
|
*
|
|
6691
7051
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
6692
7052
|
*/
|
|
@@ -6696,12 +7056,14 @@ declare class P21CoreClient extends BaseServiceClient {
|
|
|
6696
7056
|
readonly cashDrawer: P21CoreClientSpec['cashDrawer'];
|
|
6697
7057
|
readonly codeP21: P21CoreClientSpec['codeP21'];
|
|
6698
7058
|
readonly company: P21CoreClientSpec['company'];
|
|
7059
|
+
readonly freightCode: P21CoreClientSpec['freightCode'];
|
|
6699
7060
|
readonly location: P21CoreClientSpec['location'];
|
|
6700
7061
|
readonly paymentTypes: P21CoreClientSpec['paymentTypes'];
|
|
6701
7062
|
readonly addressData: P21CoreClientSpec['address'];
|
|
6702
7063
|
readonly cashDrawerData: P21CoreClientSpec['cashDrawer'];
|
|
6703
7064
|
readonly codeP21Data: P21CoreClientSpec['codeP21'];
|
|
6704
7065
|
readonly companyData: P21CoreClientSpec['company'];
|
|
7066
|
+
readonly freightCodeData: P21CoreClientSpec['freightCode'];
|
|
6705
7067
|
readonly locationData: P21CoreClientSpec['location'];
|
|
6706
7068
|
readonly paymentTypesData: P21CoreClientSpec['paymentTypes'];
|
|
6707
7069
|
readonly healthCheck: HealthCheckResource$6;
|