randmar-api-client 1.82.0 → 1.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1083,16 +1083,20 @@ export type PostV4PartnerByApplicationIdGenerationTextApiArg = {
|
|
|
1083
1083
|
body: ContentSubset[];
|
|
1084
1084
|
};
|
|
1085
1085
|
export type PostV4PartnerByApplicationIdGenerationResellerResourcesGroundedTextApiResponse =
|
|
1086
|
-
/** status 200
|
|
1086
|
+
/** status 200 Returns a ContentSubset containing the assistant's reply (usually a Text part). */ ContentSubset;
|
|
1087
1087
|
export type PostV4PartnerByApplicationIdGenerationResellerResourcesGroundedTextApiArg = {
|
|
1088
|
+
/** The ID of the partner making the request */
|
|
1088
1089
|
applicationId: string;
|
|
1089
|
-
|
|
1090
|
+
/** The conversation parts; typically a single User content with a single Text part. */
|
|
1091
|
+
generateResellerResourcesGroundedTextBody: GenerateResellerResourcesGroundedTextBody;
|
|
1090
1092
|
};
|
|
1091
1093
|
export type PostV4PartnerByApplicationIdGenerationGoogleGroundedTextApiResponse =
|
|
1092
|
-
/** status 200
|
|
1094
|
+
/** status 200 Returns a ContentSubset containing the assistant's reply (usually a Text part). */ ContentSubset;
|
|
1093
1095
|
export type PostV4PartnerByApplicationIdGenerationGoogleGroundedTextApiArg = {
|
|
1096
|
+
/** The ID of the partner making the request */
|
|
1094
1097
|
applicationId: string;
|
|
1095
|
-
|
|
1098
|
+
/** The conversation parts; typically a single User content with a single Text part. */
|
|
1099
|
+
generateGoogleGroundedTextBody: GenerateGoogleGroundedTextBody;
|
|
1096
1100
|
};
|
|
1097
1101
|
export type PostV4PartnerByApplicationIdGenerationJsonApiResponse =
|
|
1098
1102
|
/** status 200 OK */ ContentSubset;
|
|
@@ -1488,7 +1492,7 @@ export type PostV4ManufacturerByRouteManufacturerIdOpportunityAndBidNumberPartNu
|
|
|
1488
1492
|
bidNumber: string;
|
|
1489
1493
|
/** The RandmarSKU of the part number given by the user. From the part number given by the user, the API will get the RandmarSKU from the database. */
|
|
1490
1494
|
randmarSku: string;
|
|
1491
|
-
/** The amount for the given rebate. */
|
|
1495
|
+
/** The amount for the given rebate. Default is ItemRebate */
|
|
1492
1496
|
bidPrice?: number;
|
|
1493
1497
|
/** The type of the rebate amount. */
|
|
1494
1498
|
bidPriceType?: string;
|
|
@@ -4224,6 +4228,12 @@ export type ContentSubset = {
|
|
|
4224
4228
|
Parts?: PartSubset[] | null;
|
|
4225
4229
|
Role?: string | null;
|
|
4226
4230
|
};
|
|
4231
|
+
export type GenerateResellerResourcesGroundedTextBody = {
|
|
4232
|
+
Contents?: ContentSubset[] | null;
|
|
4233
|
+
};
|
|
4234
|
+
export type GenerateGoogleGroundedTextBody = {
|
|
4235
|
+
Contents?: ContentSubset[] | null;
|
|
4236
|
+
};
|
|
4227
4237
|
export type IntegrationKey = {
|
|
4228
4238
|
KeyName?: string | null;
|
|
4229
4239
|
ApplicationId?: string | null;
|
package/dist/store/randmarApi.js
CHANGED
|
@@ -666,14 +666,14 @@ const injectedRtkApi = api.injectEndpoints({
|
|
|
666
666
|
query: (queryArg) => ({
|
|
667
667
|
url: `/V4/Partner/${queryArg.applicationId}/Generation/ResellerResourcesGroundedText`,
|
|
668
668
|
method: "POST",
|
|
669
|
-
body: queryArg.
|
|
669
|
+
body: queryArg.generateResellerResourcesGroundedTextBody,
|
|
670
670
|
}),
|
|
671
671
|
}),
|
|
672
672
|
postV4PartnerByApplicationIdGenerationGoogleGroundedText: build.mutation({
|
|
673
673
|
query: (queryArg) => ({
|
|
674
674
|
url: `/V4/Partner/${queryArg.applicationId}/Generation/GoogleGroundedText`,
|
|
675
675
|
method: "POST",
|
|
676
|
-
body: queryArg.
|
|
676
|
+
body: queryArg.generateGoogleGroundedTextBody,
|
|
677
677
|
}),
|
|
678
678
|
}),
|
|
679
679
|
postV4PartnerByApplicationIdGenerationJson: build.mutation({
|