randmar-api-client 1.82.0 → 1.84.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 OK */ ContentSubset;
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
- body: ContentSubset[];
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 OK */ ContentSubset;
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
- body: ContentSubset[];
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;
@@ -1104,6 +1108,7 @@ export type PostV4PartnerByApplicationIdGenerationRandmarAssistantApiResponse =
1104
1108
  /** status 200 OK */ ContentSubset;
1105
1109
  export type PostV4PartnerByApplicationIdGenerationRandmarAssistantApiArg = {
1106
1110
  applicationId: string;
1111
+ isNewbie?: boolean;
1107
1112
  body: ContentSubset[];
1108
1113
  };
1109
1114
  export type PostV4PartnerByApplicationIdGenerationUploadApiResponse =
@@ -1488,7 +1493,7 @@ export type PostV4ManufacturerByRouteManufacturerIdOpportunityAndBidNumberPartNu
1488
1493
  bidNumber: string;
1489
1494
  /** 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
1495
  randmarSku: string;
1491
- /** The amount for the given rebate. */
1496
+ /** The amount for the given rebate. Default is ItemRebate */
1492
1497
  bidPrice?: number;
1493
1498
  /** The type of the rebate amount. */
1494
1499
  bidPriceType?: string;
@@ -4224,6 +4229,12 @@ export type ContentSubset = {
4224
4229
  Parts?: PartSubset[] | null;
4225
4230
  Role?: string | null;
4226
4231
  };
4232
+ export type GenerateResellerResourcesGroundedTextBody = {
4233
+ Contents?: ContentSubset[] | null;
4234
+ };
4235
+ export type GenerateGoogleGroundedTextBody = {
4236
+ Contents?: ContentSubset[] | null;
4237
+ };
4227
4238
  export type IntegrationKey = {
4228
4239
  KeyName?: string | null;
4229
4240
  ApplicationId?: string | null;
@@ -4264,7 +4275,7 @@ export type ConvertToShortModel = {
4264
4275
  Title?: string | null;
4265
4276
  /** The script or text for the voiceover narration. */
4266
4277
  Text?: string | null;
4267
- /** The speed of the camera movement in the animation. */
4278
+ /** The speed of the camera movement in the animation. Default is 1 */
4268
4279
  CameraSpeed?: number;
4269
4280
  /** Whether to include Randmar branding in the video. */
4270
4281
  WithRandmarBranding?: boolean;
@@ -4344,7 +4355,7 @@ export type ProductConvertToShortModel = {
4344
4355
  Title?: string | null;
4345
4356
  /** The script or text for the voiceover narration. */
4346
4357
  Text?: string | null;
4347
- /** The speed of the camera movement in the animation. */
4358
+ /** The speed of the camera movement in the animation. Default is 1 */
4348
4359
  CameraSpeed?: number;
4349
4360
  /** The name of the text-to-speech voice to use. */
4350
4361
  VoiceName?: string | null;
@@ -4440,7 +4451,7 @@ export type ReturnPartNumbers = {
4440
4451
  Quantity?: number;
4441
4452
  /** Gets or sets the reason for returning the item.
4442
4453
  Required
4443
- The only options are: Shipping Error, Defective, Lost Shipment, Ordering Error (20% restocking fee applies) */
4454
+ The only options are: Picking Error, Defective, Lost with Carrier, Ordering Error (20% restocking fee applies) */
4444
4455
  Reason?: string | null;
4445
4456
  /** Gets or sets the serial numbers of the items being returned, if applicable.
4446
4457
  Not required */
@@ -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.body,
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.body,
676
+ body: queryArg.generateGoogleGroundedTextBody,
677
677
  }),
678
678
  }),
679
679
  postV4PartnerByApplicationIdGenerationJson: build.mutation({
@@ -688,6 +688,9 @@ const injectedRtkApi = api.injectEndpoints({
688
688
  url: `/V4/Partner/${queryArg.applicationId}/Generation/RandmarAssistant`,
689
689
  method: "POST",
690
690
  body: queryArg.body,
691
+ params: {
692
+ isNewbie: queryArg.isNewbie,
693
+ },
691
694
  }),
692
695
  }),
693
696
  postV4PartnerByApplicationIdGenerationUpload: build.mutation({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.82.0",
3
+ "version": "1.84.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",