quiver-protobuf-typescript 1.0.1691505607 → 1.0.1691505636
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/package.json +1 -1
- package/tracking/request.ts +6 -6
package/package.json
CHANGED
package/tracking/request.ts
CHANGED
|
@@ -75,7 +75,7 @@ export interface Payload {
|
|
|
75
75
|
export interface CreateRequestRequest {
|
|
76
76
|
merchantId: number;
|
|
77
77
|
merchantName: string;
|
|
78
|
-
apiKey
|
|
78
|
+
apiKey?: string | undefined;
|
|
79
79
|
method: string;
|
|
80
80
|
url: string;
|
|
81
81
|
query?: string | undefined;
|
|
@@ -450,7 +450,7 @@ function createBaseCreateRequestRequest(): CreateRequestRequest {
|
|
|
450
450
|
return {
|
|
451
451
|
merchantId: 0,
|
|
452
452
|
merchantName: "",
|
|
453
|
-
apiKey:
|
|
453
|
+
apiKey: undefined,
|
|
454
454
|
method: "",
|
|
455
455
|
url: "",
|
|
456
456
|
query: undefined,
|
|
@@ -467,7 +467,7 @@ export const CreateRequestRequest = {
|
|
|
467
467
|
if (message.merchantName !== "") {
|
|
468
468
|
writer.uint32(18).string(message.merchantName);
|
|
469
469
|
}
|
|
470
|
-
if (message.apiKey !==
|
|
470
|
+
if (message.apiKey !== undefined) {
|
|
471
471
|
writer.uint32(26).string(message.apiKey);
|
|
472
472
|
}
|
|
473
473
|
if (message.method !== "") {
|
|
@@ -564,7 +564,7 @@ export const CreateRequestRequest = {
|
|
|
564
564
|
return {
|
|
565
565
|
merchantId: isSet(object.merchantId) ? Number(object.merchantId) : 0,
|
|
566
566
|
merchantName: isSet(object.merchantName) ? String(object.merchantName) : "",
|
|
567
|
-
apiKey: isSet(object.apiKey) ? String(object.apiKey) :
|
|
567
|
+
apiKey: isSet(object.apiKey) ? String(object.apiKey) : undefined,
|
|
568
568
|
method: isSet(object.method) ? String(object.method) : "",
|
|
569
569
|
url: isSet(object.url) ? String(object.url) : "",
|
|
570
570
|
query: isSet(object.query) ? String(object.query) : undefined,
|
|
@@ -581,7 +581,7 @@ export const CreateRequestRequest = {
|
|
|
581
581
|
if (message.merchantName !== "") {
|
|
582
582
|
obj.merchantName = message.merchantName;
|
|
583
583
|
}
|
|
584
|
-
if (message.apiKey !==
|
|
584
|
+
if (message.apiKey !== undefined) {
|
|
585
585
|
obj.apiKey = message.apiKey;
|
|
586
586
|
}
|
|
587
587
|
if (message.method !== "") {
|
|
@@ -609,7 +609,7 @@ export const CreateRequestRequest = {
|
|
|
609
609
|
const message = createBaseCreateRequestRequest();
|
|
610
610
|
message.merchantId = object.merchantId ?? 0;
|
|
611
611
|
message.merchantName = object.merchantName ?? "";
|
|
612
|
-
message.apiKey = object.apiKey ??
|
|
612
|
+
message.apiKey = object.apiKey ?? undefined;
|
|
613
613
|
message.method = object.method ?? "";
|
|
614
614
|
message.url = object.url ?? "";
|
|
615
615
|
message.query = object.query ?? undefined;
|