@alexochihua/protos 1.0.2 → 1.0.4

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.
@@ -24,7 +24,7 @@ export interface CreateContractRequest {
24
24
  curp: string;
25
25
  rfc: string;
26
26
  external_customer_id?: string | undefined;
27
- prod_id: number;
27
+ product_key: string;
28
28
  product_type: string;
29
29
  load_amount: string;
30
30
  load_amount_physical?: string | undefined;
@@ -86,7 +86,7 @@ export interface CreatePhysicalCardContractRequest {
86
86
  curp: string;
87
87
  rfc: string;
88
88
  external_customer_id?: string | undefined;
89
- prod_id: number;
89
+ product_key: string;
90
90
  product_type: string;
91
91
  load_amount: string;
92
92
  load_amount_physical?: string | undefined;
@@ -33,7 +33,7 @@ function createBaseCreateContractRequest() {
33
33
  curp: "",
34
34
  rfc: "",
35
35
  external_customer_id: undefined,
36
- prod_id: 0,
36
+ product_key: "",
37
37
  product_type: "",
38
38
  load_amount: "",
39
39
  load_amount_physical: undefined,
@@ -120,8 +120,8 @@ exports.CreateContractRequest = {
120
120
  if (message.external_customer_id !== undefined) {
121
121
  writer.uint32(154).string(message.external_customer_id);
122
122
  }
123
- if (message.prod_id !== 0) {
124
- writer.uint32(160).int32(message.prod_id);
123
+ if (message.product_key !== "") {
124
+ writer.uint32(162).string(message.product_key);
125
125
  }
126
126
  if (message.product_type !== "") {
127
127
  writer.uint32(170).string(message.product_type);
@@ -341,10 +341,10 @@ exports.CreateContractRequest = {
341
341
  continue;
342
342
  }
343
343
  case 20: {
344
- if (tag !== 160) {
344
+ if (tag !== 162) {
345
345
  break;
346
346
  }
347
- message.prod_id = reader.int32();
347
+ message.product_key = reader.string();
348
348
  continue;
349
349
  }
350
350
  case 21: {
@@ -554,7 +554,7 @@ exports.CreateContractRequest = {
554
554
  message.curp = object.curp ?? "";
555
555
  message.rfc = object.rfc ?? "";
556
556
  message.external_customer_id = object.external_customer_id ?? undefined;
557
- message.prod_id = object.prod_id ?? 0;
557
+ message.product_key = object.product_key ?? "";
558
558
  message.product_type = object.product_type ?? "";
559
559
  message.load_amount = object.load_amount ?? "";
560
560
  message.load_amount_physical = object.load_amount_physical ?? undefined;
@@ -781,7 +781,7 @@ function createBaseCreatePhysicalCardContractRequest() {
781
781
  curp: "",
782
782
  rfc: "",
783
783
  external_customer_id: undefined,
784
- prod_id: 0,
784
+ product_key: "",
785
785
  product_type: "",
786
786
  load_amount: "",
787
787
  load_amount_physical: undefined,
@@ -868,8 +868,8 @@ exports.CreatePhysicalCardContractRequest = {
868
868
  if (message.external_customer_id !== undefined) {
869
869
  writer.uint32(154).string(message.external_customer_id);
870
870
  }
871
- if (message.prod_id !== 0) {
872
- writer.uint32(160).int32(message.prod_id);
871
+ if (message.product_key !== "") {
872
+ writer.uint32(162).string(message.product_key);
873
873
  }
874
874
  if (message.product_type !== "") {
875
875
  writer.uint32(170).string(message.product_type);
@@ -1089,10 +1089,10 @@ exports.CreatePhysicalCardContractRequest = {
1089
1089
  continue;
1090
1090
  }
1091
1091
  case 20: {
1092
- if (tag !== 160) {
1092
+ if (tag !== 162) {
1093
1093
  break;
1094
1094
  }
1095
- message.prod_id = reader.int32();
1095
+ message.product_key = reader.string();
1096
1096
  continue;
1097
1097
  }
1098
1098
  case 21: {
@@ -1302,7 +1302,7 @@ exports.CreatePhysicalCardContractRequest = {
1302
1302
  message.curp = object.curp ?? "";
1303
1303
  message.rfc = object.rfc ?? "";
1304
1304
  message.external_customer_id = object.external_customer_id ?? undefined;
1305
- message.prod_id = object.prod_id ?? 0;
1305
+ message.product_key = object.product_key ?? "";
1306
1306
  message.product_type = object.product_type ?? "";
1307
1307
  message.load_amount = object.load_amount ?? "";
1308
1308
  message.load_amount_physical = object.load_amount_physical ?? undefined;