Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xrc-inc/grpc-web

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xrc-inc/grpc-web - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

236

ecnova/api/marketplace/admin/customer/v1/customer_proto/marketplace_admin_customer_pb.schema.d.ts

@@ -1,2 +0,2 @@

export declare const DeleteCustomerRequest: {
export declare const UndeleteCustomerRequestSchema: {
TypeName: string;

@@ -9,5 +9,13 @@ Fields: {

};
export declare const ListCustomersRequest: {
export declare const DeleteCustomerRequestSchema: {
TypeName: string;
Fields: {
name: {
Type: string;
};
};
};
export declare const ListCustomersRequestSchema: {
TypeName: string;
Fields: {
market: {

@@ -27,14 +35,11 @@ Type: string;

};
export declare const Customer_LabelsEntry: {
export declare const GetCustomerRequestSchema: {
TypeName: string;
Fields: {
key: {
name: {
Type: string;
};
value: {
Type: string;
};
};
};
export declare const ListCustomersPageToken: {
export declare const ListCustomersPageTokenSchema: {
TypeName: string;

@@ -53,14 +58,9 @@ Fields: {

};
export declare const UndeleteCustomerRequest: {
export declare const Customer_LabelsEntrySchema: {
TypeName: string;
Fields: {
name: {
key: {
Type: string;
};
};
};
export declare const GetCustomerRequest: {
TypeName: string;
Fields: {
name: {
value: {
Type: string;

@@ -70,3 +70,3 @@ };

};
export declare const Customer: {
export declare const CustomerSchema: {
TypeName: string;

@@ -99,13 +99,3 @@ Fields: {

Repeated: boolean;
Ref: {
TypeName: string;
Fields: {
key: {
Type: string;
};
value: {
Type: string;
};
};
};
Ref: any;
};

@@ -127,3 +117,3 @@ lastSeen: {

};
export declare const UpdateCustomerRequest: {
export declare const UpdateCustomerRequestSchema: {
TypeName: string;

@@ -133,195 +123,33 @@ Fields: {

Type: string;
Ref: {
TypeName: string;
Fields: {
avatarUrl: {
Type: string;
};
createTime: {
Fields: {
Nanos: {
Type: string;
};
seconds: {
Type: string;
};
};
};
deleted: {
Type: string;
};
displayName: {
Type: string;
};
email: {
Type: string;
};
labels: {
Type: string;
Repeated: boolean;
Ref: {
TypeName: string;
Fields: {
key: {
Type: string;
};
value: {
Type: string;
};
};
};
};
lastSeen: {
Fields: {
Nanos: {
Type: string;
};
seconds: {
Type: string;
};
};
};
name: {
Type: string;
};
};
};
Ref: any;
};
};
};
export declare const ListCustomersResponse: {
export declare const CreateCustomerRequestSchema: {
TypeName: string;
Fields: {
customers: {
customer: {
Type: string;
Repeated: boolean;
Ref: {
TypeName: string;
Fields: {
avatarUrl: {
Type: string;
};
createTime: {
Fields: {
Nanos: {
Type: string;
};
seconds: {
Type: string;
};
};
};
deleted: {
Type: string;
};
displayName: {
Type: string;
};
email: {
Type: string;
};
labels: {
Type: string;
Repeated: boolean;
Ref: {
TypeName: string;
Fields: {
key: {
Type: string;
};
value: {
Type: string;
};
};
};
};
lastSeen: {
Fields: {
Nanos: {
Type: string;
};
seconds: {
Type: string;
};
};
};
name: {
Type: string;
};
};
};
Ref: any;
};
nextPageToken: {
customerId: {
Type: string;
};
market: {
Type: string;
};
};
};
export declare const CreateCustomerRequest: {
export declare const ListCustomersResponseSchema: {
TypeName: string;
Fields: {
customer: {
customers: {
Type: string;
Ref: {
TypeName: string;
Fields: {
avatarUrl: {
Type: string;
};
createTime: {
Fields: {
Nanos: {
Type: string;
};
seconds: {
Type: string;
};
};
};
deleted: {
Type: string;
};
displayName: {
Type: string;
};
email: {
Type: string;
};
labels: {
Type: string;
Repeated: boolean;
Ref: {
TypeName: string;
Fields: {
key: {
Type: string;
};
value: {
Type: string;
};
};
};
};
lastSeen: {
Fields: {
Nanos: {
Type: string;
};
seconds: {
Type: string;
};
};
};
name: {
Type: string;
};
};
};
Repeated: boolean;
Ref: any;
};
customerId: {
nextPageToken: {
Type: string;
};
market: {
Type: string;
};
};
};

68

ecnova/api/marketplace/admin/customer/v1/customer_proto/marketplace_admin_customer_pb.schema.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteCustomerRequest = {
exports.UndeleteCustomerRequestSchema = {
TypeName: "UndeleteCustomerRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.DeleteCustomerRequestSchema = {
TypeName: "DeleteCustomerRequest",

@@ -10,3 +17,3 @@ Fields: { name: {

};
exports.ListCustomersRequest = {
exports.ListCustomersRequestSchema = {
TypeName: "ListCustomersRequest",

@@ -27,13 +34,10 @@ Fields: { market: {

};
exports.Customer_LabelsEntry = {
TypeName: "Customer_LabelsEntry",
Fields: { key: {
exports.GetCustomerRequestSchema = {
TypeName: "GetCustomerRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
value: {
Type: "TYPE_STRING",
},
},
};
exports.ListCustomersPageToken = {
exports.ListCustomersPageTokenSchema = {
TypeName: "ListCustomersPageToken",

@@ -51,12 +55,8 @@ Fields: { customerId: {

};
exports.UndeleteCustomerRequest = {
TypeName: "UndeleteCustomerRequest",
Fields: { name: {
exports.Customer_LabelsEntrySchema = {
TypeName: "Customer_LabelsEntry",
Fields: { key: {
Type: "TYPE_STRING",
},
},
};
exports.GetCustomerRequest = {
TypeName: "GetCustomerRequest",
Fields: { name: {
value: {
Type: "TYPE_STRING",

@@ -66,3 +66,3 @@ },

};
exports.Customer = {
exports.CustomerSchema = {
TypeName: "Customer",

@@ -92,3 +92,3 @@ Fields: { avatarUrl: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Customer_LabelsEntry
Ref: Customer_LabelsEntry
},

@@ -109,26 +109,15 @@ lastSeen: {

};
exports.UpdateCustomerRequest = {
exports.UpdateCustomerRequestSchema = {
TypeName: "UpdateCustomerRequest",
Fields: { customer: {
Type: "TYPE_MESSAGE",
Ref: exports.Customer
Ref: Customer
},
},
};
exports.ListCustomersResponse = {
TypeName: "ListCustomersResponse",
Fields: { customers: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Customer
},
nextPageToken: {
Type: "TYPE_STRING",
},
},
};
exports.CreateCustomerRequest = {
exports.CreateCustomerRequestSchema = {
TypeName: "CreateCustomerRequest",
Fields: { customer: {
Type: "TYPE_MESSAGE",
Ref: exports.Customer
Ref: Customer
},

@@ -143,1 +132,12 @@ customerId: {

};
exports.ListCustomersResponseSchema = {
TypeName: "ListCustomersResponse",
Fields: { customers: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: Customer
},
nextPageToken: {
Type: "TYPE_STRING",
},
},
};
export const DeleteCustomerRequest =
export const UndeleteCustomerRequestSchema =
{
TypeName: "UndeleteCustomerRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
},
};
export const DeleteCustomerRequestSchema =
{
TypeName: "DeleteCustomerRequest",

@@ -14,3 +25,3 @@ Fields: {name:

export const ListCustomersRequest =
export const ListCustomersRequestSchema =
{

@@ -38,13 +49,9 @@ TypeName: "ListCustomersRequest",

export const Customer_LabelsEntry =
export const GetCustomerRequestSchema =
{
TypeName: "Customer_LabelsEntry",
Fields: {key:
TypeName: "GetCustomerRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
value:
{
Type: "TYPE_STRING",
},
},

@@ -54,3 +61,3 @@

export const ListCustomersPageToken =
export const ListCustomersPageTokenSchema =
{

@@ -74,18 +81,11 @@ TypeName: "ListCustomersPageToken",

export const UndeleteCustomerRequest =
export const Customer_LabelsEntrySchema =
{
TypeName: "UndeleteCustomerRequest",
Fields: {name:
TypeName: "Customer_LabelsEntry",
Fields: {key:
{
Type: "TYPE_STRING",
},
},
};
export const GetCustomerRequest =
value:
{
TypeName: "GetCustomerRequest",
Fields: {name:
{
Type: "TYPE_STRING",

@@ -97,3 +97,3 @@ },

export const Customer =
export const CustomerSchema =
{

@@ -158,3 +158,3 @@ TypeName: "Customer",

export const UpdateCustomerRequest =
export const UpdateCustomerRequestSchema =
{

@@ -171,14 +171,18 @@ TypeName: "UpdateCustomerRequest",

export const ListCustomersResponse =
export const CreateCustomerRequestSchema =
{
TypeName: "ListCustomersResponse",
Fields: {customers:
TypeName: "CreateCustomerRequest",
Fields: {customer:
{
Type: "TYPE_MESSAGE",Repeated: true,
Type: "TYPE_MESSAGE",
Ref: Customer
},
nextPageToken:
customerId:
{
Type: "TYPE_STRING",
},
market:
{
Type: "TYPE_STRING",
},
},

@@ -188,20 +192,16 @@

export const CreateCustomerRequest =
export const ListCustomersResponseSchema =
{
TypeName: "CreateCustomerRequest",
Fields: {customer:
TypeName: "ListCustomersResponse",
Fields: {customers:
{
Type: "TYPE_MESSAGE",
Type: "TYPE_MESSAGE",Repeated: true,
Ref: Customer
},
customerId:
nextPageToken:
{
Type: "TYPE_STRING",
},
market:
{
Type: "TYPE_STRING",
},
},
};

@@ -1,2 +0,2 @@

export declare const DeleteMarketRequest: {
export declare const GetMarketRequestSchema: {
TypeName: string;

@@ -9,8 +9,5 @@ Fields: {

};
export declare const Market: {
export declare const DeleteMarketRequestSchema: {
TypeName: string;
Fields: {
displayName: {
Type: string;
};
name: {

@@ -21,5 +18,8 @@ Type: string;

};
export declare const GetMarketRequest: {
export declare const MarketSchema: {
TypeName: string;
Fields: {
displayName: {
Type: string;
};
name: {

@@ -30,3 +30,3 @@ Type: string;

};
export declare const CreateMarketRequest: {
export declare const CreateMarketRequestSchema: {
TypeName: string;

@@ -36,13 +36,3 @@ Fields: {

Type: string;
Ref: {
TypeName: string;
Fields: {
displayName: {
Type: string;
};
name: {
Type: string;
};
};
};
Ref: any;
};

@@ -57,3 +47,3 @@ marketId: {

};
export declare const UpdateMarketRequest: {
export declare const UpdateMarketRequestSchema: {
TypeName: string;

@@ -63,15 +53,5 @@ Fields: {

Type: string;
Ref: {
TypeName: string;
Fields: {
displayName: {
Type: string;
};
name: {
Type: string;
};
};
};
Ref: any;
};
};
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteMarketRequest = {
exports.GetMarketRequestSchema = {
TypeName: "GetMarketRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.DeleteMarketRequestSchema = {
TypeName: "DeleteMarketRequest",

@@ -10,3 +17,3 @@ Fields: { name: {

};
exports.Market = {
exports.MarketSchema = {
TypeName: "Market",

@@ -21,14 +28,7 @@ Fields: { displayName: {

};
exports.GetMarketRequest = {
TypeName: "GetMarketRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.CreateMarketRequest = {
exports.CreateMarketRequestSchema = {
TypeName: "CreateMarketRequest",
Fields: { market: {
Type: "TYPE_MESSAGE",
Ref: exports.Market
Ref: Market
},

@@ -43,9 +43,9 @@ marketId: {

};
exports.UpdateMarketRequest = {
exports.UpdateMarketRequestSchema = {
TypeName: "UpdateMarketRequest",
Fields: { market: {
Type: "TYPE_MESSAGE",
Ref: exports.Market
Ref: Market
},
},
};
export const DeleteMarketRequest =
export const GetMarketRequestSchema =
{
TypeName: "DeleteMarketRequest",
TypeName: "GetMarketRequest",
Fields: {name:

@@ -14,13 +14,9 @@ {

export const Market =
export const DeleteMarketRequestSchema =
{
TypeName: "Market",
Fields: {displayName:
TypeName: "DeleteMarketRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
name:
{
Type: "TYPE_STRING",
},
},

@@ -30,9 +26,13 @@

export const GetMarketRequest =
export const MarketSchema =
{
TypeName: "GetMarketRequest",
Fields: {name:
TypeName: "Market",
Fields: {displayName:
{
Type: "TYPE_STRING",
},
name:
{
Type: "TYPE_STRING",
},
},

@@ -42,3 +42,3 @@

export const CreateMarketRequest =
export const CreateMarketRequestSchema =
{

@@ -63,3 +63,3 @@ TypeName: "CreateMarketRequest",

export const UpdateMarketRequest =
export const UpdateMarketRequestSchema =
{

@@ -66,0 +66,0 @@ TypeName: "UpdateMarketRequest",

@@ -1,2 +0,2 @@

export declare const DeleteMerchantRequest: {
export declare const UndeleteMerchantRequestSchema: {
TypeName: string;

@@ -9,5 +9,13 @@ Fields: {

};
export declare const ListMerchantsPageToken: {
export declare const GetMerchantRequestSchema: {
TypeName: string;
Fields: {
name: {
Type: string;
};
};
};
export declare const ListMerchantsPageTokenSchema: {
TypeName: string;
Fields: {
market: {

@@ -24,3 +32,3 @@ Type: string;

};
export declare const Merchant: {
export declare const MerchantSchema: {
TypeName: string;

@@ -39,3 +47,3 @@ Fields: {

};
export declare const ListMerchantsRequest: {
export declare const ListMerchantsRequestSchema: {
TypeName: string;

@@ -57,3 +65,3 @@ Fields: {

};
export declare const UndeleteMerchantRequest: {
export declare const DeleteMerchantRequestSchema: {
TypeName: string;

@@ -66,33 +74,12 @@ Fields: {

};
export declare const GetMerchantRequest: {
export declare const UpdateMerchantRequestSchema: {
TypeName: string;
Fields: {
name: {
Type: string;
};
};
};
export declare const UpdateMerchantRequest: {
TypeName: string;
Fields: {
merchant: {
Type: string;
Ref: {
TypeName: string;
Fields: {
deleted: {
Type: string;
};
displayName: {
Type: string;
};
name: {
Type: string;
};
};
};
Ref: any;
};
};
};
export declare const ListMerchantsResponse: {
export declare const ListMerchantsResponseSchema: {
TypeName: string;

@@ -103,16 +90,3 @@ Fields: {

Repeated: boolean;
Ref: {
TypeName: string;
Fields: {
deleted: {
Type: string;
};
displayName: {
Type: string;
};
name: {
Type: string;
};
};
};
Ref: any;
};

@@ -124,3 +98,3 @@ nextPageToken: {

};
export declare const CreateMerchantRequest: {
export declare const CreateMerchantRequestSchema: {
TypeName: string;

@@ -133,16 +107,3 @@ Fields: {

Type: string;
Ref: {
TypeName: string;
Fields: {
deleted: {
Type: string;
};
displayName: {
Type: string;
};
name: {
Type: string;
};
};
};
Ref: any;
};

@@ -149,0 +110,0 @@ merchantId: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteMerchantRequest = {
TypeName: "DeleteMerchantRequest",
exports.UndeleteMerchantRequestSchema = {
TypeName: "UndeleteMerchantRequest",
Fields: { name: {

@@ -10,3 +10,10 @@ Type: "TYPE_STRING",

};
exports.ListMerchantsPageToken = {
exports.GetMerchantRequestSchema = {
TypeName: "GetMerchantRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.ListMerchantsPageTokenSchema = {
TypeName: "ListMerchantsPageToken",

@@ -24,3 +31,3 @@ Fields: { market: {

};
exports.Merchant = {
exports.MerchantSchema = {
TypeName: "Merchant",

@@ -38,3 +45,3 @@ Fields: { deleted: {

};
exports.ListMerchantsRequest = {
exports.ListMerchantsRequestSchema = {
TypeName: "ListMerchantsRequest",

@@ -55,4 +62,4 @@ Fields: { market: {

};
exports.UndeleteMerchantRequest = {
TypeName: "UndeleteMerchantRequest",
exports.DeleteMerchantRequestSchema = {
TypeName: "DeleteMerchantRequest",
Fields: { name: {

@@ -63,22 +70,15 @@ Type: "TYPE_STRING",

};
exports.GetMerchantRequest = {
TypeName: "GetMerchantRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.UpdateMerchantRequest = {
exports.UpdateMerchantRequestSchema = {
TypeName: "UpdateMerchantRequest",
Fields: { merchant: {
Type: "TYPE_MESSAGE",
Ref: exports.Merchant
Ref: Merchant
},
},
};
exports.ListMerchantsResponse = {
exports.ListMerchantsResponseSchema = {
TypeName: "ListMerchantsResponse",
Fields: { merchants: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Merchant
Ref: Merchant
},

@@ -90,3 +90,3 @@ nextPageToken: {

};
exports.CreateMerchantRequest = {
exports.CreateMerchantRequestSchema = {
TypeName: "CreateMerchantRequest",

@@ -98,3 +98,3 @@ Fields: { market: {

Type: "TYPE_MESSAGE",
Ref: exports.Merchant
Ref: Merchant
},

@@ -101,0 +101,0 @@ merchantId: {

export const DeleteMerchantRequest =
export const UndeleteMerchantRequestSchema =
{
TypeName: "DeleteMerchantRequest",
TypeName: "UndeleteMerchantRequest",
Fields: {name:

@@ -14,4 +14,15 @@ {

export const ListMerchantsPageToken =
export const GetMerchantRequestSchema =
{
TypeName: "GetMerchantRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
},
};
export const ListMerchantsPageTokenSchema =
{
TypeName: "ListMerchantsPageToken",

@@ -34,3 +45,3 @@ Fields: {market:

export const Merchant =
export const MerchantSchema =
{

@@ -54,3 +65,3 @@ TypeName: "Merchant",

export const ListMerchantsRequest =
export const ListMerchantsRequestSchema =
{

@@ -78,5 +89,5 @@ TypeName: "ListMerchantsRequest",

export const UndeleteMerchantRequest =
export const DeleteMerchantRequestSchema =
{
TypeName: "UndeleteMerchantRequest",
TypeName: "DeleteMerchantRequest",
Fields: {name:

@@ -90,15 +101,4 @@ {

export const GetMerchantRequest =
export const UpdateMerchantRequestSchema =
{
TypeName: "GetMerchantRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
},
};
export const UpdateMerchantRequest =
{
TypeName: "UpdateMerchantRequest",

@@ -114,3 +114,3 @@ Fields: {merchant:

export const ListMerchantsResponse =
export const ListMerchantsResponseSchema =
{

@@ -131,3 +131,3 @@ TypeName: "ListMerchantsResponse",

export const CreateMerchantRequest =
export const CreateMerchantRequestSchema =
{

@@ -134,0 +134,0 @@ TypeName: "CreateMerchantRequest",

@@ -1,22 +0,10 @@

export declare const Storefront: {
export declare const DeleteStorefrontRequestSchema: {
TypeName: string;
Fields: {
deleted: {
Type: string;
};
displayName: {
Type: string;
};
host: {
Type: string;
};
name: {
Type: string;
};
styleConfig: {
Type: string;
};
};
};
export declare const GetStorefrontRequest: {
export declare const UndeleteStorefrontRequestSchema: {
TypeName: string;

@@ -29,25 +17,37 @@ Fields: {

};
export declare const DeleteStorefrontRequest: {
export declare const ListStorefrontsPageTokenSchema: {
TypeName: string;
Fields: {
name: {
market: {
Type: string;
};
showDeleted: {
Type: string;
};
storefrontId: {
Type: string;
};
};
};
export declare const ListStorefrontsPageToken: {
export declare const StorefrontSchema: {
TypeName: string;
Fields: {
market: {
deleted: {
Type: string;
};
showDeleted: {
displayName: {
Type: string;
};
storefrontId: {
host: {
Type: string;
};
name: {
Type: string;
};
styleConfig: {
Type: string;
};
};
};
export declare const ListStorefrontsRequest: {
export declare const ListStorefrontsRequestSchema: {
TypeName: string;

@@ -69,3 +69,3 @@ Fields: {

};
export declare const UndeleteStorefrontRequest: {
export declare const GetStorefrontRequestSchema: {
TypeName: string;

@@ -78,3 +78,3 @@ Fields: {

};
export declare const CreateStorefrontRequest: {
export declare const CreateStorefrontRequestSchema: {
TypeName: string;

@@ -87,22 +87,3 @@ Fields: {

Type: string;
Ref: {
TypeName: string;
Fields: {
deleted: {
Type: string;
};
displayName: {
Type: string;
};
host: {
Type: string;
};
name: {
Type: string;
};
styleConfig: {
Type: string;
};
};
};
Ref: any;
};

@@ -114,3 +95,3 @@ storefrontId: {

};
export declare const UpdateStorefrontRequest: {
export declare const UpdateStorefrontRequestSchema: {
TypeName: string;

@@ -120,26 +101,7 @@ Fields: {

Type: string;
Ref: {
TypeName: string;
Fields: {
deleted: {
Type: string;
};
displayName: {
Type: string;
};
host: {
Type: string;
};
name: {
Type: string;
};
styleConfig: {
Type: string;
};
};
};
Ref: any;
};
};
};
export declare const ListStorefrontsResponse: {
export declare const ListStorefrontsResponseSchema: {
TypeName: string;

@@ -153,24 +115,5 @@ Fields: {

Repeated: boolean;
Ref: {
TypeName: string;
Fields: {
deleted: {
Type: string;
};
displayName: {
Type: string;
};
host: {
Type: string;
};
name: {
Type: string;
};
styleConfig: {
Type: string;
};
};
};
Ref: any;
};
};
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Storefront = {
TypeName: "Storefront",
Fields: { deleted: {
Type: "TYPE_BOOL",
},
displayName: {
Type: "TYPE_STRING",
},
host: {
Type: "TYPE_STRING",
},
name: {
Type: "TYPE_STRING",
},
styleConfig: {
Type: "TYPE_BYTES",
},
},
};
exports.GetStorefrontRequest = {
TypeName: "GetStorefrontRequest",
exports.DeleteStorefrontRequestSchema = {
TypeName: "DeleteStorefrontRequest",
Fields: { name: {

@@ -29,4 +10,4 @@ Type: "TYPE_STRING",

};
exports.DeleteStorefrontRequest = {
TypeName: "DeleteStorefrontRequest",
exports.UndeleteStorefrontRequestSchema = {
TypeName: "UndeleteStorefrontRequest",
Fields: { name: {

@@ -37,3 +18,3 @@ Type: "TYPE_STRING",

};
exports.ListStorefrontsPageToken = {
exports.ListStorefrontsPageTokenSchema = {
TypeName: "ListStorefrontsPageToken",

@@ -51,3 +32,22 @@ Fields: { market: {

};
exports.ListStorefrontsRequest = {
exports.StorefrontSchema = {
TypeName: "Storefront",
Fields: { deleted: {
Type: "TYPE_BOOL",
},
displayName: {
Type: "TYPE_STRING",
},
host: {
Type: "TYPE_STRING",
},
name: {
Type: "TYPE_STRING",
},
styleConfig: {
Type: "TYPE_BYTES",
},
},
};
exports.ListStorefrontsRequestSchema = {
TypeName: "ListStorefrontsRequest",

@@ -68,4 +68,4 @@ Fields: { market: {

};
exports.UndeleteStorefrontRequest = {
TypeName: "UndeleteStorefrontRequest",
exports.GetStorefrontRequestSchema = {
TypeName: "GetStorefrontRequest",
Fields: { name: {

@@ -76,3 +76,3 @@ Type: "TYPE_STRING",

};
exports.CreateStorefrontRequest = {
exports.CreateStorefrontRequestSchema = {
TypeName: "CreateStorefrontRequest",

@@ -84,3 +84,3 @@ Fields: { market: {

Type: "TYPE_MESSAGE",
Ref: exports.Storefront
Ref: Storefront
},

@@ -92,11 +92,11 @@ storefrontId: {

};
exports.UpdateStorefrontRequest = {
exports.UpdateStorefrontRequestSchema = {
TypeName: "UpdateStorefrontRequest",
Fields: { storefront: {
Type: "TYPE_MESSAGE",
Ref: exports.Storefront
Ref: Storefront
},
},
};
exports.ListStorefrontsResponse = {
exports.ListStorefrontsResponseSchema = {
TypeName: "ListStorefrontsResponse",

@@ -108,5 +108,5 @@ Fields: { nextPageToken: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Storefront
Ref: Storefront
},
},
};
export const Storefront =
export const DeleteStorefrontRequestSchema =
{
TypeName: "Storefront",
Fields: {deleted:
TypeName: "DeleteStorefrontRequest",
Fields: {name:
{
Type: "TYPE_BOOL",
},
displayName:
{
Type: "TYPE_STRING",
},
host:
{
Type: "TYPE_STRING",
},
name:
{
Type: "TYPE_STRING",
},
styleConfig:
{
Type: "TYPE_BYTES",
},
},

@@ -30,5 +14,5 @@

export const GetStorefrontRequest =
export const UndeleteStorefrontRequestSchema =
{
TypeName: "GetStorefrontRequest",
TypeName: "UndeleteStorefrontRequest",
Fields: {name:

@@ -42,9 +26,17 @@ {

export const DeleteStorefrontRequest =
export const ListStorefrontsPageTokenSchema =
{
TypeName: "DeleteStorefrontRequest",
Fields: {name:
TypeName: "ListStorefrontsPageToken",
Fields: {market:
{
Type: "TYPE_STRING",
},
showDeleted:
{
Type: "TYPE_BOOL",
},
storefrontId:
{
Type: "TYPE_STRING",
},
},

@@ -54,17 +46,25 @@

export const ListStorefrontsPageToken =
export const StorefrontSchema =
{
TypeName: "ListStorefrontsPageToken",
Fields: {market:
TypeName: "Storefront",
Fields: {deleted:
{
Type: "TYPE_BOOL",
},
displayName:
{
Type: "TYPE_STRING",
},
showDeleted:
host:
{
Type: "TYPE_BOOL",
Type: "TYPE_STRING",
},
storefrontId:
name:
{
Type: "TYPE_STRING",
},
styleConfig:
{
Type: "TYPE_BYTES",
},
},

@@ -74,3 +74,3 @@

export const ListStorefrontsRequest =
export const ListStorefrontsRequestSchema =
{

@@ -98,5 +98,5 @@ TypeName: "ListStorefrontsRequest",

export const UndeleteStorefrontRequest =
export const GetStorefrontRequestSchema =
{
TypeName: "UndeleteStorefrontRequest",
TypeName: "GetStorefrontRequest",
Fields: {name:

@@ -110,3 +110,3 @@ {

export const CreateStorefrontRequest =
export const CreateStorefrontRequestSchema =
{

@@ -131,3 +131,3 @@ TypeName: "CreateStorefrontRequest",

export const UpdateStorefrontRequest =
export const UpdateStorefrontRequestSchema =
{

@@ -144,3 +144,3 @@ TypeName: "UpdateStorefrontRequest",

export const ListStorefrontsResponse =
export const ListStorefrontsResponseSchema =
{

@@ -147,0 +147,0 @@ TypeName: "ListStorefrontsResponse",

@@ -5,22 +5,11 @@ "use strict";

const postal_address_pb_schema_1 = require("../../../../../../google/type/postal_address_pb.schema");
exports.DeleteRecipientRequest = {
TypeName: "DeleteRecipientRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.UndoFavoriteRequest = {
TypeName: "UndoFavoriteRequest",
exports.ListOrdersRequestSchema = {
TypeName: "ListOrdersRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
product: {
Type: "TYPE_STRING",
pageSize: {
Type: "TYPE_INT32",
},
},
};
exports.DeleteOrderRequest = {
TypeName: "DeleteOrderRequest",
Fields: { name: {
pageToken: {
Type: "TYPE_STRING",

@@ -30,10 +19,3 @@ },

};
exports.GetOrderRequest = {
TypeName: "GetOrderRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.FavoriteRequest = {
exports.FavoriteRequestSchema = {
TypeName: "FavoriteRequest",

@@ -48,38 +30,14 @@ Fields: { customer: {

};
exports.ListFavoritesRequest = {
TypeName: "ListFavoritesRequest",
Fields: { customer: {
exports.ProfileSchema = {
TypeName: "Profile",
Fields: { avatarUrl: {
Type: "TYPE_STRING",
},
pageSize: {
Type: "TYPE_INT32",
},
pageToken: {
customer: {
Type: "TYPE_STRING",
},
},
};
exports.GetRecipientRequest = {
TypeName: "GetRecipientRequest",
Fields: { name: {
fullName: {
Type: "TYPE_STRING",
},
},
};
exports.ListRecipientsRequest = {
TypeName: "ListRecipientsRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
pageSize: {
Type: "TYPE_INT32",
},
pageToken: {
Type: "TYPE_STRING",
},
},
};
exports.Order_Status_Cancelled = {
TypeName: "Order_Status_Cancelled",
Fields: { cancelTime: {
lastAccess: {
Fields: { Nanos: {

@@ -93,10 +51,10 @@ Type: "TYPE_INT32",

},
reason: {
Type: "TYPE_STRING",
},
},
};
exports.Order_Status_Paid = {
TypeName: "Order_Status_Paid",
Fields: { payTime: {
exports.Order_Status_InTransitSchema = {
TypeName: "Order_Status_InTransit",
Fields: { trackingNumbers: {
Type: "TYPE_STRING", Repeated: true,
},
updateTime: {
Fields: { Nanos: {

@@ -110,11 +68,12 @@ Type: "TYPE_INT32",

},
transactionNumber: {
},
};
exports.DeleteOrderRequestSchema = {
TypeName: "DeleteOrderRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
vendor: {
Type: "TYPE_STRING",
},
},
};
exports.Order_Item = {
exports.Order_ItemSchema = {
TypeName: "Order_Item",

@@ -183,14 +142,85 @@ Fields: { ageGruop: {

};
exports.Profile = {
TypeName: "Profile",
Fields: { avatarUrl: {
exports.ListRecipientsRequestSchema = {
TypeName: "ListRecipientsRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
customer: {
pageSize: {
Type: "TYPE_INT32",
},
pageToken: {
Type: "TYPE_STRING",
},
fullName: {
},
};
exports.Order_Status_ProcessedSchema = {
TypeName: "Order_Status_Processed",
Fields: { processTime: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
},
},
};
exports.Order_Status_CompleteSchema = {
TypeName: "Order_Status_Complete",
Fields: { completeTime: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
},
},
};
exports.GetOrderRequestSchema = {
TypeName: "GetOrderRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
lastAccess: {
},
};
exports.GetRecipientRequestSchema = {
TypeName: "GetRecipientRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.ListFavoritesResponseSchema = {
TypeName: "ListFavoritesResponse",
Fields: { nextPageToken: {
Type: "TYPE_STRING",
},
products: {
Type: "TYPE_STRING", Repeated: true,
},
},
};
exports.ListShoppingCartItemsRequestSchema = {
TypeName: "ListShoppingCartItemsRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
pageSize: {
Type: "TYPE_INT32",
},
pageToken: {
Type: "TYPE_STRING",
},
},
};
exports.Order_Status_RefundedSchema = {
TypeName: "Order_Status_Refunded",
Fields: { amount: {
Type: "TYPE_MESSAGE",
Ref: money_pb_schema_1.Money
},
refundTime: {
Fields: { Nanos: {

@@ -206,3 +236,49 @@ Type: "TYPE_INT32",

};
exports.ShoppingCartItem = {
exports.ListFavoritesRequestSchema = {
TypeName: "ListFavoritesRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
pageSize: {
Type: "TYPE_INT32",
},
pageToken: {
Type: "TYPE_STRING",
},
},
};
exports.RemoveShoppingCartItemsRequestSchema = {
TypeName: "RemoveShoppingCartItemsRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
product: {
Type: "TYPE_STRING", Repeated: true,
},
},
};
exports.RecipientSchema = {
TypeName: "Recipient",
Fields: { email: {
Type: "TYPE_STRING",
},
fullName: {
Type: "TYPE_STRING",
},
name: {
Type: "TYPE_STRING",
},
phoneNumber: {
Type: "TYPE_STRING",
},
postalAddress: {
Type: "TYPE_MESSAGE",
Ref: postal_address_pb_schema_1.PostalAddress
},
weekendDeliverable: {
Type: "TYPE_BOOL",
},
},
};
exports.ShoppingCartItemSchema = {
TypeName: "ShoppingCartItem",

@@ -258,5 +334,5 @@ Fields: { ageGruop: {

};
exports.Order_Status_Complete = {
TypeName: "Order_Status_Complete",
Fields: { completeTime: {
exports.Order_Status_PaidSchema = {
TypeName: "Order_Status_Paid",
Fields: { payTime: {
Fields: { Nanos: {

@@ -270,20 +346,47 @@ Type: "TYPE_INT32",

},
transactionNumber: {
Type: "TYPE_STRING",
},
vendor: {
Type: "TYPE_STRING",
},
},
};
exports.ListShoppingCartItemsRequest = {
TypeName: "ListShoppingCartItemsRequest",
Fields: { customer: {
exports.CancelOrderRequestSchema = {
TypeName: "CancelOrderRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
pageSize: {
},
};
exports.PlaceOrderRequest_ItemSchema = {
TypeName: "PlaceOrderRequest_Item",
Fields: { product: {
Type: "TYPE_STRING",
},
quantity: {
Type: "TYPE_INT32",
},
pageToken: {
},
};
exports.UndoFavoriteRequestSchema = {
TypeName: "UndoFavoriteRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
product: {
Type: "TYPE_STRING",
},
},
};
exports.Order_Status_Processed = {
TypeName: "Order_Status_Processed",
Fields: { processTime: {
exports.DeleteRecipientRequestSchema = {
TypeName: "DeleteRecipientRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.Order_Status_CancelledSchema = {
TypeName: "Order_Status_Cancelled",
Fields: { cancelTime: {
Fields: { Nanos: {

@@ -297,30 +400,28 @@ Type: "TYPE_INT32",

},
reason: {
Type: "TYPE_STRING",
},
},
};
exports.Order_Status_Refunded = {
TypeName: "Order_Status_Refunded",
Fields: { amount: {
Type: "TYPE_MESSAGE",
Ref: money_pb_schema_1.Money
exports.ListShoppingCartItemsResponseSchema = {
TypeName: "ListShoppingCartItemsResponse",
Fields: { nextPageToken: {
Type: "TYPE_STRING",
},
refundTime: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
shoppingCartItems: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: ShoppingCartItem
},
},
};
exports.ListOrdersRequest = {
TypeName: "ListOrdersRequest",
exports.CreateRecipientRequestSchema = {
TypeName: "CreateRecipientRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
pageSize: {
Type: "TYPE_INT32",
recipient: {
Type: "TYPE_MESSAGE",
Ref: Recipient
},
pageToken: {
recipientId: {
Type: "TYPE_STRING",

@@ -330,46 +431,36 @@ },

};
exports.ListFavoritesResponse = {
TypeName: "ListFavoritesResponse",
exports.ListRecipientsResponseSchema = {
TypeName: "ListRecipientsResponse",
Fields: { nextPageToken: {
Type: "TYPE_STRING",
},
products: {
Type: "TYPE_STRING", Repeated: true,
recipients: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: Recipient
},
},
};
exports.PlaceOrderRequest_Item = {
TypeName: "PlaceOrderRequest_Item",
Fields: { product: {
exports.OrderUpdateRecipientRequestSchema = {
TypeName: "OrderUpdateRecipientRequest",
Fields: { order: {
Type: "TYPE_STRING",
},
quantity: {
Type: "TYPE_INT32",
recipient: {
Type: "TYPE_MESSAGE",
Ref: Recipient
},
},
};
exports.CancelOrderRequest = {
TypeName: "CancelOrderRequest",
Fields: { name: {
Type: "TYPE_STRING",
exports.PlaceOrderRequestSchema = {
TypeName: "PlaceOrderRequest",
Fields: { items: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: PlaceOrderRequest_Item
},
},
};
exports.Recipient = {
TypeName: "Recipient",
Fields: { email: {
promotion: {
Type: "TYPE_STRING",
},
fullName: {
Type: "TYPE_STRING",
},
name: {
Type: "TYPE_STRING",
},
phoneNumber: {
Type: "TYPE_STRING",
},
postalAddress: {
recipient: {
Type: "TYPE_MESSAGE",
Ref: postal_address_pb_schema_1.PostalAddress
Ref: Recipient
},

@@ -381,29 +472,3 @@ weekendDeliverable: {

};
exports.Order_Status_InTransit = {
TypeName: "Order_Status_InTransit",
Fields: { trackingNumbers: {
Type: "TYPE_STRING", Repeated: true,
},
updateTime: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
},
},
};
exports.RemoveShoppingCartItemsRequest = {
TypeName: "RemoveShoppingCartItemsRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
product: {
Type: "TYPE_STRING", Repeated: true,
},
},
};
exports.ModifyShoppingCartItemsRequest = {
exports.ModifyShoppingCartItemsRequestSchema = {
TypeName: "ModifyShoppingCartItemsRequest",

@@ -415,116 +480,51 @@ Fields: { customer: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.ShoppingCartItem
Ref: ShoppingCartItem
},
},
};
exports.Order_Status = {
exports.Order_StatusSchema = {
TypeName: "Order_Status",
Fields: { cancelled: {
Type: "TYPE_MESSAGE",
Ref: exports.Order_Status_Cancelled
Ref: Order_Status_Cancelled
},
complete: {
Type: "TYPE_MESSAGE",
Ref: exports.Order_Status_Complete
Ref: Order_Status_Complete
},
inTransit: {
Type: "TYPE_MESSAGE",
Ref: exports.Order_Status_InTransit
Ref: Order_Status_InTransit
},
paid: {
Type: "TYPE_MESSAGE",
Ref: exports.Order_Status_Paid
Ref: Order_Status_Paid
},
processed: {
Type: "TYPE_MESSAGE",
Ref: exports.Order_Status_Processed
Ref: Order_Status_Processed
},
refunded: {
Type: "TYPE_MESSAGE",
Ref: exports.Order_Status_Refunded
Ref: Order_Status_Refunded
},
},
};
exports.ListRecipientsResponse = {
TypeName: "ListRecipientsResponse",
Fields: { nextPageToken: {
Type: "TYPE_STRING",
},
recipients: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Recipient
},
},
};
exports.Order_Promotion_GiveawayItems = {
TypeName: "Order_Promotion_GiveawayItems",
Fields: { giveawayItems: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order_Item
},
},
};
exports.ListShoppingCartItemsResponse = {
TypeName: "ListShoppingCartItemsResponse",
Fields: { nextPageToken: {
Type: "TYPE_STRING",
},
shoppingCartItems: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.ShoppingCartItem
},
},
};
exports.UpdateRecipientRequest = {
exports.UpdateRecipientRequestSchema = {
TypeName: "UpdateRecipientRequest",
Fields: { recipient: {
Type: "TYPE_MESSAGE",
Ref: exports.Recipient
Ref: Recipient
},
},
};
exports.CreateRecipientRequest = {
TypeName: "CreateRecipientRequest",
Fields: { customer: {
Type: "TYPE_STRING",
},
recipient: {
Type: "TYPE_MESSAGE",
Ref: exports.Recipient
},
recipientId: {
Type: "TYPE_STRING",
},
},
};
exports.PlaceOrderRequest = {
TypeName: "PlaceOrderRequest",
Fields: { items: {
exports.Order_Promotion_GiveawayItemsSchema = {
TypeName: "Order_Promotion_GiveawayItems",
Fields: { giveawayItems: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.PlaceOrderRequest_Item
Ref: Order_Item
},
promotion: {
Type: "TYPE_STRING",
},
recipient: {
Type: "TYPE_MESSAGE",
Ref: exports.Recipient
},
weekendDeliverable: {
Type: "TYPE_BOOL",
},
},
};
exports.OrderUpdateRecipientRequest = {
TypeName: "OrderUpdateRecipientRequest",
Fields: { order: {
Type: "TYPE_STRING",
},
recipient: {
Type: "TYPE_MESSAGE",
Ref: exports.Recipient
},
},
};
exports.Order_Promotion = {
exports.Order_PromotionSchema = {
TypeName: "Order_Promotion",

@@ -546,11 +546,11 @@ Fields: { amount: {

Type: "TYPE_MESSAGE",
Ref: exports.Order_Promotion_GiveawayItems
Ref: Order_Promotion_GiveawayItems
},
},
};
exports.Order = {
exports.OrderSchema = {
TypeName: "Order",
Fields: { items: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order_Item
Ref: Order_Item
},

@@ -566,7 +566,7 @@ name: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order_Promotion
Ref: Order_Promotion
},
recipient: {
Type: "TYPE_MESSAGE",
Ref: exports.Recipient
Ref: Recipient
},

@@ -579,3 +579,3 @@ shippingFee: {

Type: "TYPE_MESSAGE",
Ref: exports.Order_Status
Ref: Order_Status
},

@@ -588,3 +588,3 @@ total: {

};
exports.ListOrdersResponse = {
exports.ListOrdersResponseSchema = {
TypeName: "ListOrdersResponse",

@@ -596,5 +596,5 @@ Fields: { nextPageToken: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order
Ref: Order
},
},
};

@@ -9,16 +9,5 @@ import {

export const DeleteRecipientRequest =
export const ListOrdersRequestSchema =
{
TypeName: "DeleteRecipientRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
},
};
export const UndoFavoriteRequest =
{
TypeName: "UndoFavoriteRequest",
TypeName: "ListOrdersRequest",
Fields: {customer:

@@ -28,15 +17,8 @@ {

},
product:
pageSize:
{
Type: "TYPE_STRING",
Type: "TYPE_INT32",
},
},
};
export const DeleteOrderRequest =
pageToken:
{
TypeName: "DeleteOrderRequest",
Fields: {name:
{
Type: "TYPE_STRING",

@@ -48,15 +30,4 @@ },

export const GetOrderRequest =
export const FavoriteRequestSchema =
{
TypeName: "GetOrderRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
},
};
export const FavoriteRequest =
{
TypeName: "FavoriteRequest",

@@ -75,57 +46,20 @@ Fields: {customer:

export const ListFavoritesRequest =
export const ProfileSchema =
{
TypeName: "ListFavoritesRequest",
Fields: {customer:
TypeName: "Profile",
Fields: {avatarUrl:
{
Type: "TYPE_STRING",
},
pageSize:
customer:
{
Type: "TYPE_INT32",
},
pageToken:
{
Type: "TYPE_STRING",
},
},
};
export const GetRecipientRequest =
fullName:
{
TypeName: "GetRecipientRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
},
};
export const ListRecipientsRequest =
lastAccess:
{
TypeName: "ListRecipientsRequest",
Fields: {customer:
{
Type: "TYPE_STRING",
},
pageSize:
{
Type: "TYPE_INT32",
},
pageToken:
{
Type: "TYPE_STRING",
},
},
};
export const Order_Status_Cancelled =
{
TypeName: "Order_Status_Cancelled",
Fields: {cancelTime:
{
Fields: {Nanos:

@@ -142,6 +76,2 @@ {

},
reason:
{
Type: "TYPE_STRING",
},
},

@@ -151,7 +81,11 @@

export const Order_Status_Paid =
export const Order_Status_InTransitSchema =
{
TypeName: "Order_Status_Paid",
Fields: {payTime:
TypeName: "Order_Status_InTransit",
Fields: {trackingNumbers:
{
Type: "TYPE_STRING",Repeated: true,
},
updateTime:
{

@@ -169,7 +103,10 @@ Fields: {Nanos:

},
transactionNumber:
},
};
export const DeleteOrderRequestSchema =
{
Type: "TYPE_STRING",
},
vendor:
TypeName: "DeleteOrderRequest",
Fields: {name:
{

@@ -182,3 +119,3 @@ Type: "TYPE_STRING",

export const Order_Item =
export const Order_ItemSchema =
{

@@ -269,19 +206,26 @@ TypeName: "Order_Item",

export const Profile =
export const ListRecipientsRequestSchema =
{
TypeName: "Profile",
Fields: {avatarUrl:
TypeName: "ListRecipientsRequest",
Fields: {customer:
{
Type: "TYPE_STRING",
},
customer:
pageSize:
{
Type: "TYPE_STRING",
Type: "TYPE_INT32",
},
fullName:
pageToken:
{
Type: "TYPE_STRING",
},
lastAccess:
},
};
export const Order_Status_ProcessedSchema =
{
TypeName: "Order_Status_Processed",
Fields: {processTime:
{

@@ -303,67 +247,41 @@ Fields: {Nanos:

export const ShoppingCartItem =
export const Order_Status_CompleteSchema =
{
TypeName: "ShoppingCartItem",
Fields: {ageGruop:
TypeName: "Order_Status_Complete",
Fields: {completeTime:
{
Type: "TYPE_STRING",
},
color:
Fields: {Nanos:
{
Type: "TYPE_STRING",
Type: "TYPE_INT32",
},
gender:
seconds:
{
Type: "TYPE_STRING",
Type: "TYPE_INT64",
},
image:
{
Type: "TYPE_STRING",
},
},
material:
},
};
export const GetOrderRequestSchema =
{
Type: "TYPE_STRING",
},
outOfStock:
TypeName: "GetOrderRequest",
Fields: {name:
{
Type: "TYPE_BOOL",
},
pattern:
{
Type: "TYPE_STRING",
},
preOrder:
},
};
export const GetRecipientRequestSchema =
{
Type: "TYPE_BOOL",
},
price:
TypeName: "GetRecipientRequest",
Fields: {name:
{
Type: "TYPE_MESSAGE",
Ref: Money
},
product:
{
Type: "TYPE_STRING",
},
quantity:
{
Type: "TYPE_INT32",
},
size:
{
Type: "TYPE_STRING",
},
sizeSystem:
{
Type: "TYPE_STRING",
},
sizeType:
{
Type: "TYPE_STRING",
},
standardPrice:
{
Type: "TYPE_MESSAGE",
Ref: Money
},
},

@@ -373,24 +291,18 @@

export const Order_Status_Complete =
export const ListFavoritesResponseSchema =
{
TypeName: "Order_Status_Complete",
Fields: {completeTime:
TypeName: "ListFavoritesResponse",
Fields: {nextPageToken:
{
Fields: {Nanos:
{
Type: "TYPE_INT32",
Type: "TYPE_STRING",
},
seconds:
products:
{
Type: "TYPE_INT64",
Type: "TYPE_STRING",Repeated: true,
},
},
},
},
};
export const ListShoppingCartItemsRequest =
export const ListShoppingCartItemsRequestSchema =
{

@@ -414,25 +326,4 @@ TypeName: "ListShoppingCartItemsRequest",

export const Order_Status_Processed =
export const Order_Status_RefundedSchema =
{
TypeName: "Order_Status_Processed",
Fields: {processTime:
{
Fields: {Nanos:
{
Type: "TYPE_INT32",
},
seconds:
{
Type: "TYPE_INT64",
},
},
},
},
};
export const Order_Status_Refunded =
{
TypeName: "Order_Status_Refunded",

@@ -462,5 +353,5 @@ Fields: {amount:

export const ListOrdersRequest =
export const ListFavoritesRequestSchema =
{
TypeName: "ListOrdersRequest",
TypeName: "ListFavoritesRequest",
Fields: {customer:

@@ -482,10 +373,10 @@ {

export const ListFavoritesResponse =
export const RemoveShoppingCartItemsRequestSchema =
{
TypeName: "ListFavoritesResponse",
Fields: {nextPageToken:
TypeName: "RemoveShoppingCartItemsRequest",
Fields: {customer:
{
Type: "TYPE_STRING",
},
products:
product:
{

@@ -498,24 +389,30 @@ Type: "TYPE_STRING",Repeated: true,

export const PlaceOrderRequest_Item =
export const RecipientSchema =
{
TypeName: "PlaceOrderRequest_Item",
Fields: {product:
TypeName: "Recipient",
Fields: {email:
{
Type: "TYPE_STRING",
},
quantity:
fullName:
{
Type: "TYPE_INT32",
Type: "TYPE_STRING",
},
},
};
export const CancelOrderRequest =
name:
{
TypeName: "CancelOrderRequest",
Fields: {name:
Type: "TYPE_STRING",
},
phoneNumber:
{
Type: "TYPE_STRING",
},
postalAddress:
{
Type: "TYPE_MESSAGE",
Ref: PostalAddress
},
weekendDeliverable:
{
Type: "TYPE_BOOL",
},
},

@@ -525,30 +422,67 @@

export const Recipient =
export const ShoppingCartItemSchema =
{
TypeName: "Recipient",
Fields: {email:
TypeName: "ShoppingCartItem",
Fields: {ageGruop:
{
Type: "TYPE_STRING",
},
fullName:
color:
{
Type: "TYPE_STRING",
},
name:
gender:
{
Type: "TYPE_STRING",
},
phoneNumber:
image:
{
Type: "TYPE_STRING",
},
postalAddress:
material:
{
Type: "TYPE_MESSAGE",
Ref: PostalAddress
Type: "TYPE_STRING",
},
weekendDeliverable:
outOfStock:
{
Type: "TYPE_BOOL",
},
pattern:
{
Type: "TYPE_STRING",
},
preOrder:
{
Type: "TYPE_BOOL",
},
price:
{
Type: "TYPE_MESSAGE",
Ref: Money
},
product:
{
Type: "TYPE_STRING",
},
quantity:
{
Type: "TYPE_INT32",
},
size:
{
Type: "TYPE_STRING",
},
sizeSystem:
{
Type: "TYPE_STRING",
},
sizeType:
{
Type: "TYPE_STRING",
},
standardPrice:
{
Type: "TYPE_MESSAGE",
Ref: Money
},
},

@@ -558,11 +492,7 @@

export const Order_Status_InTransit =
export const Order_Status_PaidSchema =
{
TypeName: "Order_Status_InTransit",
Fields: {trackingNumbers:
TypeName: "Order_Status_Paid",
Fields: {payTime:
{
Type: "TYPE_STRING",Repeated: true,
},
updateTime:
{

@@ -580,2 +510,10 @@ Fields: {Nanos:

},
transactionNumber:
{
Type: "TYPE_STRING",
},
vendor:
{
Type: "TYPE_STRING",
},
},

@@ -585,13 +523,24 @@

export const RemoveShoppingCartItemsRequest =
export const CancelOrderRequestSchema =
{
TypeName: "RemoveShoppingCartItemsRequest",
Fields: {customer:
TypeName: "CancelOrderRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
product:
},
};
export const PlaceOrderRequest_ItemSchema =
{
Type: "TYPE_STRING",Repeated: true,
TypeName: "PlaceOrderRequest_Item",
Fields: {product:
{
Type: "TYPE_STRING",
},
quantity:
{
Type: "TYPE_INT32",
},
},

@@ -601,5 +550,5 @@

export const ModifyShoppingCartItemsRequest =
export const UndoFavoriteRequestSchema =
{
TypeName: "ModifyShoppingCartItemsRequest",
TypeName: "UndoFavoriteRequest",
Fields: {customer:

@@ -609,6 +558,5 @@ {

},
shoppingCartItems:
product:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: ShoppingCartItem
Type: "TYPE_STRING",
},

@@ -619,34 +567,33 @@ },

export const Order_Status =
export const DeleteRecipientRequestSchema =
{
TypeName: "Order_Status",
Fields: {cancelled:
TypeName: "DeleteRecipientRequest",
Fields: {name:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Cancelled
Type: "TYPE_STRING",
},
complete:
},
};
export const Order_Status_CancelledSchema =
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Complete
},
inTransit:
TypeName: "Order_Status_Cancelled",
Fields: {cancelTime:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_InTransit
},
paid:
Fields: {Nanos:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Paid
Type: "TYPE_INT32",
},
processed:
seconds:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Processed
Type: "TYPE_INT64",
},
refunded:
},
},
reason:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Refunded
Type: "TYPE_STRING",
},

@@ -657,5 +604,5 @@ },

export const ListRecipientsResponse =
export const ListShoppingCartItemsResponseSchema =
{
TypeName: "ListRecipientsResponse",
TypeName: "ListShoppingCartItemsResponse",
Fields: {nextPageToken:

@@ -665,6 +612,6 @@ {

},
recipients:
shoppingCartItems:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: Recipient
Ref: ShoppingCartItem
},

@@ -675,10 +622,18 @@ },

export const Order_Promotion_GiveawayItems =
export const CreateRecipientRequestSchema =
{
TypeName: "Order_Promotion_GiveawayItems",
Fields: {giveawayItems:
TypeName: "CreateRecipientRequest",
Fields: {customer:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: Order_Item
Type: "TYPE_STRING",
},
recipient:
{
Type: "TYPE_MESSAGE",
Ref: Recipient
},
recipientId:
{
Type: "TYPE_STRING",
},
},

@@ -688,5 +643,5 @@

export const ListShoppingCartItemsResponse =
export const ListRecipientsResponseSchema =
{
TypeName: "ListShoppingCartItemsResponse",
TypeName: "ListRecipientsResponse",
Fields: {nextPageToken:

@@ -696,17 +651,5 @@ {

},
shoppingCartItems:
recipients:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: ShoppingCartItem
},
},
};
export const UpdateRecipientRequest =
{
TypeName: "UpdateRecipientRequest",
Fields: {recipient:
{
Type: "TYPE_MESSAGE",
Ref: Recipient

@@ -718,6 +661,6 @@ },

export const CreateRecipientRequest =
export const OrderUpdateRecipientRequestSchema =
{
TypeName: "CreateRecipientRequest",
Fields: {customer:
TypeName: "OrderUpdateRecipientRequest",
Fields: {order:
{

@@ -731,6 +674,2 @@ Type: "TYPE_STRING",

},
recipientId:
{
Type: "TYPE_STRING",
},
},

@@ -740,3 +679,3 @@

export const PlaceOrderRequest =
export const PlaceOrderRequestSchema =
{

@@ -766,12 +705,61 @@ TypeName: "PlaceOrderRequest",

export const OrderUpdateRecipientRequest =
export const ModifyShoppingCartItemsRequestSchema =
{
TypeName: "OrderUpdateRecipientRequest",
Fields: {order:
TypeName: "ModifyShoppingCartItemsRequest",
Fields: {customer:
{
Type: "TYPE_STRING",
},
recipient:
shoppingCartItems:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: ShoppingCartItem
},
},
};
export const Order_StatusSchema =
{
TypeName: "Order_Status",
Fields: {cancelled:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Cancelled
},
complete:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Complete
},
inTransit:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_InTransit
},
paid:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Paid
},
processed:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Processed
},
refunded:
{
Type: "TYPE_MESSAGE",
Ref: Order_Status_Refunded
},
},
};
export const UpdateRecipientRequestSchema =
{
TypeName: "UpdateRecipientRequest",
Fields: {recipient:
{
Type: "TYPE_MESSAGE",
Ref: Recipient

@@ -783,4 +771,16 @@ },

export const Order_Promotion =
export const Order_Promotion_GiveawayItemsSchema =
{
TypeName: "Order_Promotion_GiveawayItems",
Fields: {giveawayItems:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: Order_Item
},
},
};
export const Order_PromotionSchema =
{
TypeName: "Order_Promotion",

@@ -813,3 +813,3 @@ Fields: {amount:

export const Order =
export const OrderSchema =
{

@@ -860,3 +860,3 @@ TypeName: "Order",

export const ListOrdersResponse =
export const ListOrdersResponseSchema =
{

@@ -863,0 +863,0 @@ TypeName: "ListOrdersResponse",

@@ -5,13 +5,42 @@ "use strict";

const postal_address_pb_schema_1 = require("../../../../../../google/type/postal_address_pb.schema");
exports.Product_AgeGroup = {
TypeName: "Product_AgeGroup", EnumValues: [
{ name: "AGE_GROUP_UNSPECIFIED", value: 0, },
{ name: "NEWBORN", value: 1, },
{ name: "INFANT", value: 2, },
{ name: "TODDLER", value: 3, },
{ name: "KID", value: 4, },
{ name: "ADULT", value: 5, },
]
exports.Product_PreOrderSchema = {
TypeName: "Product_PreOrder",
Fields: { availabilityDate: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
},
},
};
exports.Product_Gender = {
exports.Product_SalePriceSchema = {
TypeName: "Product_SalePrice",
Fields: { price: {
Type: "TYPE_MESSAGE",
Ref: money_pb_schema_1.Money
},
validFrom: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
},
validThrough: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
},
},
};
exports.Product_GenderSchema = {
TypeName: "Product_Gender", EnumValues: [

@@ -24,43 +53,21 @@ { name: "GENDER_UNSPECIFIED", value: 0, },

};
exports.Order_Item_Discount = {
TypeName: "Order_Item_Discount",
Fields: { amount: {
Type: "TYPE_MESSAGE",
Ref: money_pb_schema_1.Money
},
giveaway: {
Type: "TYPE_BOOL",
},
promotion: {
exports.Order_Parcel_ItemSchema = {
TypeName: "Order_Parcel_Item",
Fields: { product: {
Type: "TYPE_STRING",
},
},
};
exports.DeleteProductRequest = {
TypeName: "DeleteProductRequest",
Fields: { name: {
Type: "TYPE_STRING",
quantity: {
Type: "TYPE_INT32",
},
},
};
exports.Product_LabelsEntry = {
TypeName: "Product_LabelsEntry",
Fields: { key: {
Type: "TYPE_STRING",
serialNumbers: {
Type: "TYPE_STRING", Repeated: true,
},
value: {
Type: "TYPE_STRING",
},
},
};
exports.GetProductRequest = {
TypeName: "GetProductRequest",
Fields: { name: {
exports.ListProductsRequestSchema = {
TypeName: "ListProductsRequest",
Fields: { merchant: {
Type: "TYPE_STRING",
},
},
};
exports.ListVariantsRequest = {
TypeName: "ListVariantsRequest",
Fields: { pageSize: {
pageSize: {
Type: "TYPE_INT32",

@@ -71,5 +78,2 @@ },

},
product: {
Type: "TYPE_STRING",
},
showDeleted: {

@@ -80,4 +84,4 @@ Type: "TYPE_BOOL",

};
exports.GetOrderRequest = {
TypeName: "GetOrderRequest",
exports.DeleteProductRequestSchema = {
TypeName: "DeleteProductRequest",
Fields: { name: {

@@ -88,3 +92,3 @@ Type: "TYPE_STRING",

};
exports.ListVariantsPageToken = {
exports.ListVariantsPageTokenSchema = {
TypeName: "ListVariantsPageToken",

@@ -102,4 +106,4 @@ Fields: { product: {

};
exports.GetVariantRequest = {
TypeName: "GetVariantRequest",
exports.GetOrderRequestSchema = {
TypeName: "GetOrderRequest",
Fields: { name: {

@@ -110,3 +114,10 @@ Type: "TYPE_STRING",

};
exports.Product_SizeSystem = {
exports.Product_InStockSchema = {
TypeName: "Product_InStock",
Fields: { oversellAllowed: {
Type: "TYPE_BOOL",
},
},
};
exports.Product_SizeSystemSchema = {
TypeName: "Product_SizeSystem", EnumValues: [

@@ -127,34 +138,24 @@ { name: "SIZE_SYSTEM_UNSPECIFIED", value: 0, },

};
exports.Product_SizeType = {
TypeName: "Product_SizeType", EnumValues: [
{ name: "SIZE_TYPE_UNSPECIFIED", value: 0, },
{ name: "REGULAR", value: 1, },
{ name: "PETITE", value: 2, },
{ name: "PLUS", value: 3, },
{ name: "BIG_AND_TALL", value: 4, },
{ name: "MATERNITY", value: 5, },
]
};
exports.ModifyStockQuantityRequest = {
TypeName: "ModifyStockQuantityRequest",
Fields: { add: {
Type: "TYPE_INT32",
exports.Product_LabelsEntrySchema = {
TypeName: "Product_LabelsEntry",
Fields: { key: {
Type: "TYPE_STRING",
},
name: {
value: {
Type: "TYPE_STRING",
},
set: {
Type: "TYPE_INT32",
},
},
};
exports.Product_InStock = {
TypeName: "Product_InStock",
Fields: { oversellAllowed: {
Type: "TYPE_BOOL",
},
},
exports.Product_AgeGroupSchema = {
TypeName: "Product_AgeGroup", EnumValues: [
{ name: "AGE_GROUP_UNSPECIFIED", value: 0, },
{ name: "NEWBORN", value: 1, },
{ name: "INFANT", value: 2, },
{ name: "TODDLER", value: 3, },
{ name: "KID", value: 4, },
{ name: "ADULT", value: 5, },
]
};
exports.ListOrdersPageToken = {
TypeName: "ListOrdersPageToken",
exports.ListOrdersRequestSchema = {
TypeName: "ListOrdersRequest",
Fields: { filter: {

@@ -169,49 +170,15 @@ Type: "TYPE_STRING",

},
showDeleted: {
Type: "TYPE_BOOL",
},
},
};
exports.Order_Parcel_Item = {
TypeName: "Order_Parcel_Item",
Fields: { product: {
Type: "TYPE_STRING",
},
quantity: {
pageSize: {
Type: "TYPE_INT32",
},
serialNumbers: {
Type: "TYPE_STRING", Repeated: true,
},
},
};
exports.Product_PreOrder = {
TypeName: "Product_PreOrder",
Fields: { availabilityDate: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
},
},
};
exports.DeleteVariantRequest = {
TypeName: "DeleteVariantRequest",
Fields: { name: {
pageToken: {
Type: "TYPE_STRING",
},
},
};
exports.UndeleteVariantRequest = {
TypeName: "UndeleteVariantRequest",
Fields: { name: {
Type: "TYPE_STRING",
showDeleted: {
Type: "TYPE_BOOL",
},
},
};
exports.ListOrdersRequest = {
TypeName: "ListOrdersRequest",
exports.ListOrdersPageTokenSchema = {
TypeName: "ListOrdersPageToken",
Fields: { filter: {

@@ -226,17 +193,22 @@ Type: "TYPE_STRING",

},
pageSize: {
Type: "TYPE_INT32",
showDeleted: {
Type: "TYPE_BOOL",
},
pageToken: {
Type: "TYPE_STRING",
},
};
exports.Order_Item_DiscountSchema = {
TypeName: "Order_Item_Discount",
Fields: { amount: {
Type: "TYPE_MESSAGE",
Ref: money_pb_schema_1.Money
},
showDeleted: {
giveaway: {
Type: "TYPE_BOOL",
},
promotion: {
Type: "TYPE_STRING",
},
},
};
exports.ListOrdersFilter = {
TypeName: "ListOrdersFilter",
};
exports.ListProductsPageToken = {
exports.ListProductsPageTokenSchema = {
TypeName: "ListProductsPageToken",

@@ -254,3 +226,10 @@ Fields: { merchant: {

};
exports.DeleteParcelsRequest = {
exports.GetProductRequestSchema = {
TypeName: "GetProductRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.DeleteParcelsRequestSchema = {
TypeName: "DeleteParcelsRequest",

@@ -265,19 +244,40 @@ Fields: { order: {

};
exports.ListProductsRequest = {
TypeName: "ListProductsRequest",
Fields: { merchant: {
exports.ModifyStockQuantityRequestSchema = {
TypeName: "ModifyStockQuantityRequest",
Fields: { add: {
Type: "TYPE_INT32",
},
name: {
Type: "TYPE_STRING",
},
pageSize: {
set: {
Type: "TYPE_INT32",
},
pageToken: {
},
};
exports.GetVariantRequestSchema = {
TypeName: "GetVariantRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
showDeleted: {
Type: "TYPE_BOOL",
},
};
exports.DeleteVariantRequestSchema = {
TypeName: "DeleteVariantRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.UndeleteProductRequest = {
exports.UndeleteVariantRequestSchema = {
TypeName: "UndeleteVariantRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.ListOrdersFilterSchema = {
TypeName: "ListOrdersFilter",
};
exports.UndeleteProductRequestSchema = {
TypeName: "UndeleteProductRequest",

@@ -289,33 +289,33 @@ Fields: { name: {

};
exports.Product_SalePrice = {
TypeName: "Product_SalePrice",
Fields: { price: {
Type: "TYPE_MESSAGE",
Ref: money_pb_schema_1.Money
exports.ListVariantsRequestSchema = {
TypeName: "ListVariantsRequest",
Fields: { pageSize: {
Type: "TYPE_INT32",
},
validFrom: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
pageToken: {
Type: "TYPE_STRING",
},
validThrough: {
Fields: { Nanos: {
Type: "TYPE_INT32",
},
seconds: {
Type: "TYPE_INT64",
},
},
product: {
Type: "TYPE_STRING",
},
showDeleted: {
Type: "TYPE_BOOL",
},
},
};
exports.Product = {
exports.Product_SizeTypeSchema = {
TypeName: "Product_SizeType", EnumValues: [
{ name: "SIZE_TYPE_UNSPECIFIED", value: 0, },
{ name: "REGULAR", value: 1, },
{ name: "PETITE", value: 2, },
{ name: "PLUS", value: 3, },
{ name: "BIG_AND_TALL", value: 4, },
{ name: "MATERNITY", value: 5, },
]
};
exports.ProductSchema = {
TypeName: "Product",
Fields: { ageGroups: {
Type: "TYPE_ENUM", Repeated: true,
Ref: exports.Product_AgeGroup
Ref: Product_AgeGroup
},

@@ -348,3 +348,3 @@ brand: {

Type: "TYPE_ENUM",
Ref: exports.Product_Gender
Ref: Product_Gender
},

@@ -359,7 +359,7 @@ gtins: {

Type: "TYPE_MESSAGE",
Ref: exports.Product_InStock
Ref: Product_InStock
},
labels: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Product_LabelsEntry
Ref: Product_LabelsEntry
},

@@ -395,7 +395,7 @@ materials: {

Type: "TYPE_MESSAGE",
Ref: exports.Product_PreOrder
Ref: Product_PreOrder
},
salePrice: {
Type: "TYPE_MESSAGE",
Ref: exports.Product_SalePrice
Ref: Product_SalePrice
},

@@ -407,7 +407,7 @@ size: {

Type: "TYPE_ENUM",
Ref: exports.Product_SizeSystem
Ref: Product_SizeSystem
},
sizeType: {
Type: "TYPE_ENUM",
Ref: exports.Product_SizeType
Ref: Product_SizeType
},

@@ -438,7 +438,7 @@ standardPrice: {

};
exports.Order_Item = {
exports.Order_ItemSchema = {
TypeName: "Order_Item",
Fields: { discountDetails: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order_Item_Discount
Ref: Order_Item_Discount
},

@@ -463,3 +463,3 @@ listPrice: {

Type: "TYPE_MESSAGE",
Ref: exports.Product
Ref: Product
},

@@ -478,29 +478,26 @@ quantity: {

};
exports.UpdateProductRequest = {
TypeName: "UpdateProductRequest",
Fields: { product: {
Type: "TYPE_MESSAGE",
Ref: exports.Product
exports.ListVariantsResponseSchema = {
TypeName: "ListVariantsResponse",
Fields: { nextPageToken: {
Type: "TYPE_STRING",
},
variants: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: Product
},
},
};
exports.CreateVariantRequest = {
TypeName: "CreateVariantRequest",
exports.UpdateProductRequestSchema = {
TypeName: "UpdateProductRequest",
Fields: { product: {
Type: "TYPE_STRING",
},
variant: {
Type: "TYPE_MESSAGE",
Ref: exports.Product
Ref: Product
},
variantId: {
Type: "TYPE_STRING",
},
},
};
exports.Order_Parcel = {
exports.Order_ParcelSchema = {
TypeName: "Order_Parcel",
Fields: { items: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order_Parcel_Item
Ref: Order_Parcel_Item
},

@@ -516,3 +513,3 @@ postalAddress: {

};
exports.ListProductsResponse = {
exports.ListProductsResponseSchema = {
TypeName: "ListProductsResponse",

@@ -524,7 +521,7 @@ Fields: { nextPageToken: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Product
Ref: Product
},
},
};
exports.CreateProductRequest = {
exports.CreateProductRequestSchema = {
TypeName: "CreateProductRequest",

@@ -536,3 +533,3 @@ Fields: { merchant: {

Type: "TYPE_MESSAGE",
Ref: exports.Product
Ref: Product
},

@@ -544,22 +541,3 @@ productId: {

};
exports.ListVariantsResponse = {
TypeName: "ListVariantsResponse",
Fields: { nextPageToken: {
Type: "TYPE_STRING",
},
variants: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Product
},
},
};
exports.UpdateVariantRequest = {
TypeName: "UpdateVariantRequest",
Fields: { variant: {
Type: "TYPE_MESSAGE",
Ref: exports.Product
},
},
};
exports.Order = {
exports.OrderSchema = {
TypeName: "Order",

@@ -580,3 +558,3 @@ Fields: { earliestShipDate: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order_Item
Ref: Order_Item
},

@@ -597,3 +575,3 @@ latestShipDate: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order_Parcel
Ref: Order_Parcel
},

@@ -634,3 +612,25 @@ phoneNumber: {

};
exports.AddParcelsRequest = {
exports.CreateVariantRequestSchema = {
TypeName: "CreateVariantRequest",
Fields: { product: {
Type: "TYPE_STRING",
},
variant: {
Type: "TYPE_MESSAGE",
Ref: Product
},
variantId: {
Type: "TYPE_STRING",
},
},
};
exports.UpdateVariantRequestSchema = {
TypeName: "UpdateVariantRequest",
Fields: { variant: {
Type: "TYPE_MESSAGE",
Ref: Product
},
},
};
exports.AddParcelsRequestSchema = {
TypeName: "AddParcelsRequest",

@@ -642,7 +642,7 @@ Fields: { order: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order_Parcel
Ref: Order_Parcel
},
},
};
exports.ListOrdersResponse = {
exports.ListOrdersResponseSchema = {
TypeName: "ListOrdersResponse",

@@ -654,5 +654,5 @@ Fields: { nextPageToken: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Order
Ref: Order
},
},
};

@@ -9,30 +9,27 @@ import {

export const Product_AgeGroup =
export const Product_PreOrderSchema =
{
TypeName: "Product_AgeGroup",EnumValues: [
{ name: "AGE_GROUP_UNSPECIFIED", value: 0, },
{ name: "NEWBORN", value: 1, },
{ name: "INFANT", value: 2, },
{ name: "TODDLER", value: 3, },
{ name: "KID", value: 4, },
{ name: "ADULT", value: 5, },
]
};
export const Product_Gender =
TypeName: "Product_PreOrder",
Fields: {availabilityDate:
{
TypeName: "Product_Gender",EnumValues: [
{ name: "GENDER_UNSPECIFIED", value: 0, },
{ name: "MALE", value: 1, },
{ name: "FEMALE", value: 2, },
{ name: "UNISEX", value: 3, },
]
Fields: {Nanos:
{
Type: "TYPE_INT32",
},
seconds:
{
Type: "TYPE_INT64",
},
},
},
},
};
export const Order_Item_Discount =
export const Product_SalePriceSchema =
{
TypeName: "Order_Item_Discount",
Fields: {amount:
TypeName: "Product_SalePrice",
Fields: {price:
{

@@ -42,36 +39,60 @@ Type: "TYPE_MESSAGE",

},
giveaway:
validFrom:
{
Type: "TYPE_BOOL",
Fields: {Nanos:
{
Type: "TYPE_INT32",
},
promotion:
seconds:
{
Type: "TYPE_STRING",
Type: "TYPE_INT64",
},
},
};
export const DeleteProductRequest =
},
validThrough:
{
TypeName: "DeleteProductRequest",
Fields: {name:
Fields: {Nanos:
{
Type: "TYPE_STRING",
Type: "TYPE_INT32",
},
seconds:
{
Type: "TYPE_INT64",
},
},
},
},
};
export const Product_LabelsEntry =
export const Product_GenderSchema =
{
TypeName: "Product_LabelsEntry",
Fields: {key:
TypeName: "Product_Gender",EnumValues: [
{ name: "GENDER_UNSPECIFIED", value: 0, },
{ name: "MALE", value: 1, },
{ name: "FEMALE", value: 2, },
{ name: "UNISEX", value: 3, },
]
};
export const Order_Parcel_ItemSchema =
{
TypeName: "Order_Parcel_Item",
Fields: {product:
{
Type: "TYPE_STRING",
},
value:
quantity:
{
Type: "TYPE_STRING",
Type: "TYPE_INT32",
},
serialNumbers:
{
Type: "TYPE_STRING",Repeated: true,
},
},

@@ -81,18 +102,11 @@

export const GetProductRequest =
export const ListProductsRequestSchema =
{
TypeName: "GetProductRequest",
Fields: {name:
TypeName: "ListProductsRequest",
Fields: {merchant:
{
Type: "TYPE_STRING",
},
},
};
export const ListVariantsRequest =
pageSize:
{
TypeName: "ListVariantsRequest",
Fields: {pageSize:
{
Type: "TYPE_INT32",

@@ -104,6 +118,2 @@ },

},
product:
{
Type: "TYPE_STRING",
},
showDeleted:

@@ -117,5 +127,5 @@ {

export const GetOrderRequest =
export const DeleteProductRequestSchema =
{
TypeName: "GetOrderRequest",
TypeName: "DeleteProductRequest",
Fields: {name:

@@ -129,3 +139,3 @@ {

export const ListVariantsPageToken =
export const ListVariantsPageTokenSchema =
{

@@ -149,5 +159,5 @@ TypeName: "ListVariantsPageToken",

export const GetVariantRequest =
export const GetOrderRequestSchema =
{
TypeName: "GetVariantRequest",
TypeName: "GetOrderRequest",
Fields: {name:

@@ -161,4 +171,15 @@ {

export const Product_SizeSystem =
export const Product_InStockSchema =
{
TypeName: "Product_InStock",
Fields: {oversellAllowed:
{
Type: "TYPE_BOOL",
},
},
};
export const Product_SizeSystemSchema =
{
TypeName: "Product_SizeSystem",EnumValues: [

@@ -181,11 +202,26 @@ { name: "SIZE_SYSTEM_UNSPECIFIED", value: 0, },

export const Product_SizeType =
export const Product_LabelsEntrySchema =
{
TypeName: "Product_SizeType",EnumValues: [
{ name: "SIZE_TYPE_UNSPECIFIED", value: 0, },
{ name: "REGULAR", value: 1, },
{ name: "PETITE", value: 2, },
{ name: "PLUS", value: 3, },
{ name: "BIG_AND_TALL", value: 4, },
{ name: "MATERNITY", value: 5, },
TypeName: "Product_LabelsEntry",
Fields: {key:
{
Type: "TYPE_STRING",
},
value:
{
Type: "TYPE_STRING",
},
},
};
export const Product_AgeGroupSchema =
{
TypeName: "Product_AgeGroup",EnumValues: [
{ name: "AGE_GROUP_UNSPECIFIED", value: 0, },
{ name: "NEWBORN", value: 1, },
{ name: "INFANT", value: 2, },
{ name: "TODDLER", value: 3, },
{ name: "KID", value: 4, },
{ name: "ADULT", value: 5, },

@@ -195,25 +231,26 @@ ]

export const ModifyStockQuantityRequest =
export const ListOrdersRequestSchema =
{
TypeName: "ModifyStockQuantityRequest",
Fields: {add:
TypeName: "ListOrdersRequest",
Fields: {filter:
{
Type: "TYPE_INT32",
Type: "TYPE_STRING",
},
name:
merchant:
{
Type: "TYPE_STRING",
},
set:
orderBy:
{
Type: "TYPE_STRING",
},
pageSize:
{
Type: "TYPE_INT32",
},
},
};
export const Product_InStock =
pageToken:
{
TypeName: "Product_InStock",
Fields: {oversellAllowed:
Type: "TYPE_STRING",
},
showDeleted:
{

@@ -226,3 +263,3 @@ Type: "TYPE_BOOL",

export const ListOrdersPageToken =
export const ListOrdersPageTokenSchema =
{

@@ -250,16 +287,17 @@ TypeName: "ListOrdersPageToken",

export const Order_Parcel_Item =
export const Order_Item_DiscountSchema =
{
TypeName: "Order_Parcel_Item",
Fields: {product:
TypeName: "Order_Item_Discount",
Fields: {amount:
{
Type: "TYPE_STRING",
Type: "TYPE_MESSAGE",
Ref: Money
},
quantity:
giveaway:
{
Type: "TYPE_INT32",
Type: "TYPE_BOOL",
},
serialNumbers:
promotion:
{
Type: "TYPE_STRING",Repeated: true,
Type: "TYPE_STRING",
},

@@ -270,26 +308,24 @@ },

export const Product_PreOrder =
export const ListProductsPageTokenSchema =
{
TypeName: "Product_PreOrder",
Fields: {availabilityDate:
TypeName: "ListProductsPageToken",
Fields: {merchant:
{
Fields: {Nanos:
Type: "TYPE_STRING",
},
productId:
{
Type: "TYPE_INT32",
Type: "TYPE_STRING",
},
seconds:
showDeleted:
{
Type: "TYPE_INT64",
Type: "TYPE_BOOL",
},
},
},
},
};
export const DeleteVariantRequest =
export const GetProductRequestSchema =
{
TypeName: "DeleteVariantRequest",
TypeName: "GetProductRequest",
Fields: {name:

@@ -303,9 +339,13 @@ {

export const UndeleteVariantRequest =
export const DeleteParcelsRequestSchema =
{
TypeName: "UndeleteVariantRequest",
Fields: {name:
TypeName: "DeleteParcelsRequest",
Fields: {order:
{
Type: "TYPE_STRING",
},
trackingNumbers:
{
Type: "TYPE_STRING",Repeated: true,
},
},

@@ -315,29 +355,17 @@

export const ListOrdersRequest =
export const ModifyStockQuantityRequestSchema =
{
TypeName: "ListOrdersRequest",
Fields: {filter:
TypeName: "ModifyStockQuantityRequest",
Fields: {add:
{
Type: "TYPE_STRING",
Type: "TYPE_INT32",
},
merchant:
name:
{
Type: "TYPE_STRING",
},
orderBy:
set:
{
Type: "TYPE_STRING",
},
pageSize:
{
Type: "TYPE_INT32",
},
pageToken:
{
Type: "TYPE_STRING",
},
showDeleted:
{
Type: "TYPE_BOOL",
},
},

@@ -347,22 +375,9 @@

export const ListOrdersFilter =
export const GetVariantRequestSchema =
{
TypeName: "ListOrdersFilter",
};
export const ListProductsPageToken =
TypeName: "GetVariantRequest",
Fields: {name:
{
TypeName: "ListProductsPageToken",
Fields: {merchant:
{
Type: "TYPE_STRING",
},
productId:
{
Type: "TYPE_STRING",
},
showDeleted:
{
Type: "TYPE_BOOL",
},
},

@@ -372,13 +387,9 @@

export const DeleteParcelsRequest =
export const DeleteVariantRequestSchema =
{
TypeName: "DeleteParcelsRequest",
Fields: {order:
TypeName: "DeleteVariantRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
trackingNumbers:
{
Type: "TYPE_STRING",Repeated: true,
},
},

@@ -388,21 +399,9 @@

export const ListProductsRequest =
export const UndeleteVariantRequestSchema =
{
TypeName: "ListProductsRequest",
Fields: {merchant:
TypeName: "UndeleteVariantRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
pageSize:
{
Type: "TYPE_INT32",
},
pageToken:
{
Type: "TYPE_STRING",
},
showDeleted:
{
Type: "TYPE_BOOL",
},
},

@@ -412,4 +411,9 @@

export const UndeleteProductRequest =
export const ListOrdersFilterSchema =
{
TypeName: "ListOrdersFilter",
};
export const UndeleteProductRequestSchema =
{
TypeName: "UndeleteProductRequest",

@@ -424,44 +428,40 @@ Fields: {name:

export const Product_SalePrice =
export const ListVariantsRequestSchema =
{
TypeName: "Product_SalePrice",
Fields: {price:
TypeName: "ListVariantsRequest",
Fields: {pageSize:
{
Type: "TYPE_MESSAGE",
Ref: Money
},
validFrom:
{
Fields: {Nanos:
{
Type: "TYPE_INT32",
},
seconds:
pageToken:
{
Type: "TYPE_INT64",
Type: "TYPE_STRING",
},
},
},
validThrough:
product:
{
Fields: {Nanos:
{
Type: "TYPE_INT32",
Type: "TYPE_STRING",
},
seconds:
showDeleted:
{
Type: "TYPE_INT64",
Type: "TYPE_BOOL",
},
},
},
},
};
export const Product =
export const Product_SizeTypeSchema =
{
TypeName: "Product_SizeType",EnumValues: [
{ name: "SIZE_TYPE_UNSPECIFIED", value: 0, },
{ name: "REGULAR", value: 1, },
{ name: "PETITE", value: 2, },
{ name: "PLUS", value: 3, },
{ name: "BIG_AND_TALL", value: 4, },
{ name: "MATERNITY", value: 5, },
]
};
export const ProductSchema =
{
TypeName: "Product",

@@ -627,3 +627,3 @@ Fields: {ageGroups:

export const Order_Item =
export const Order_ItemSchema =
{

@@ -678,8 +678,12 @@ TypeName: "Order_Item",

export const UpdateProductRequest =
export const ListVariantsResponseSchema =
{
TypeName: "UpdateProductRequest",
Fields: {product:
TypeName: "ListVariantsResponse",
Fields: {nextPageToken:
{
Type: "TYPE_MESSAGE",
Type: "TYPE_STRING",
},
variants:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: Product

@@ -691,18 +695,10 @@ },

export const CreateVariantRequest =
export const UpdateProductRequestSchema =
{
TypeName: "CreateVariantRequest",
TypeName: "UpdateProductRequest",
Fields: {product:
{
Type: "TYPE_STRING",
},
variant:
{
Type: "TYPE_MESSAGE",
Ref: Product
},
variantId:
{
Type: "TYPE_STRING",
},
},

@@ -712,3 +708,3 @@

export const Order_Parcel =
export const Order_ParcelSchema =
{

@@ -734,3 +730,3 @@ TypeName: "Order_Parcel",

export const ListProductsResponse =
export const ListProductsResponseSchema =
{

@@ -751,3 +747,3 @@ TypeName: "ListProductsResponse",

export const CreateProductRequest =
export const CreateProductRequestSchema =
{

@@ -772,32 +768,4 @@ TypeName: "CreateProductRequest",

export const ListVariantsResponse =
export const OrderSchema =
{
TypeName: "ListVariantsResponse",
Fields: {nextPageToken:
{
Type: "TYPE_STRING",
},
variants:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: Product
},
},
};
export const UpdateVariantRequest =
{
TypeName: "UpdateVariantRequest",
Fields: {variant:
{
Type: "TYPE_MESSAGE",
Ref: Product
},
},
};
export const Order =
{
TypeName: "Order",

@@ -895,4 +863,36 @@ Fields: {earliestShipDate:

export const AddParcelsRequest =
export const CreateVariantRequestSchema =
{
TypeName: "CreateVariantRequest",
Fields: {product:
{
Type: "TYPE_STRING",
},
variant:
{
Type: "TYPE_MESSAGE",
Ref: Product
},
variantId:
{
Type: "TYPE_STRING",
},
},
};
export const UpdateVariantRequestSchema =
{
TypeName: "UpdateVariantRequest",
Fields: {variant:
{
Type: "TYPE_MESSAGE",
Ref: Product
},
},
};
export const AddParcelsRequestSchema =
{
TypeName: "AddParcelsRequest",

@@ -912,3 +912,3 @@ Fields: {order:

export const ListOrdersResponse =
export const ListOrdersResponseSchema =
{

@@ -915,0 +915,0 @@ TypeName: "ListOrdersResponse",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const money_pb_schema_1 = require("../../../../../../google/type/money_pb.schema");
exports.GetTagRequest = {
TypeName: "GetTagRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.ListDataFlowsRequest = {
TypeName: "ListDataFlowsRequest",
Fields: { storefront: {
Type: "TYPE_STRING",
},
},
};
exports.DeleteDataFlowRequest = {
exports.DeleteDataFlowRequestSchema = {
TypeName: "DeleteDataFlowRequest",

@@ -25,15 +11,4 @@ Fields: { name: {

};
exports.DataFlow_Demux = {
TypeName: "DataFlow_Demux",
Fields: { components: {
Fields: { value: {},
},
},
proportions: {
Type: "TYPE_INT32", Repeated: true,
},
},
};
exports.GetDataFlowRequest = {
TypeName: "GetDataFlowRequest",
exports.DeleteGoodsRequestSchema = {
TypeName: "DeleteGoodsRequest",
Fields: { name: {

@@ -44,14 +19,12 @@ Type: "TYPE_STRING",

};
exports.ListGoodsFilter = {
TypeName: "ListGoodsFilter",
Fields: { brand: {
Type: "TYPE_STRING",
},
tag: {
Type: "TYPE_STRING",
},
},
exports.Goods_Product_AvailabilitySchema = {
TypeName: "Goods_Product_Availability", EnumValues: [
{ name: "AVAILABILITY_UNSPECIFIED", value: 0, },
{ name: "IN_STOCK", value: 1, },
{ name: "PRE_ORDER", value: 2, },
{ name: "OUT_OF_STOCK", value: 3, },
]
};
exports.GetGoodsRequest = {
TypeName: "GetGoodsRequest",
exports.DeleteTagRequestSchema = {
TypeName: "DeleteTagRequest",
Fields: { name: {

@@ -62,3 +35,3 @@ Type: "TYPE_STRING",

};
exports.ListGoodsRequest = {
exports.ListGoodsRequestSchema = {
TypeName: "ListGoodsRequest",

@@ -82,36 +55,7 @@ Fields: { filter: {

};
exports.Goods_Product_Availability = {
TypeName: "Goods_Product_Availability", EnumValues: [
{ name: "AVAILABILITY_UNSPECIFIED", value: 0, },
{ name: "IN_STOCK", value: 1, },
{ name: "PRE_ORDER", value: 2, },
{ name: "OUT_OF_STOCK", value: 3, },
]
};
exports.ListGoodsPageToken = {
TypeName: "ListGoodsPageToken",
exports.ListGoodsFilterSchema = {
TypeName: "ListGoodsFilter",
Fields: { brand: {
Type: "TYPE_STRING",
},
priceAsc: {
Type: "TYPE_BOOL",
},
priceDesc: {
Type: "TYPE_BOOL",
},
salesAsc: {
Type: "TYPE_BOOL",
},
salesDesc: {
Type: "TYPE_BOOL",
},
scoreAsc: {
Type: "TYPE_BOOL",
},
scoreDesc: {
Type: "TYPE_BOOL",
},
storefront: {
Type: "TYPE_STRING",
},
tag: {

@@ -122,12 +66,16 @@ Type: "TYPE_STRING",

};
exports.DeleteGoodsRequest = {
TypeName: "DeleteGoodsRequest",
Fields: { name: {
Type: "TYPE_STRING",
exports.DataFlow_DemuxSchema = {
TypeName: "DataFlow_Demux",
Fields: { components: {
Fields: { value: {},
},
},
proportions: {
Type: "TYPE_INT32", Repeated: true,
},
},
};
exports.DeleteTagRequest = {
TypeName: "DeleteTagRequest",
Fields: { name: {
exports.ListTagsRequestSchema = {
TypeName: "ListTagsRequest",
Fields: { storefront: {
Type: "TYPE_STRING",

@@ -137,16 +85,10 @@ },

};
exports.DataFlow_Image = {
TypeName: "DataFlow_Image",
Fields: { imageUrl: {
exports.GetGoodsRequestSchema = {
TypeName: "GetGoodsRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
linkUrl: {
Type: "TYPE_STRING",
},
title: {
Type: "TYPE_STRING",
},
},
};
exports.DataFlow_Paragraph = {
exports.DataFlow_ParagraphSchema = {
TypeName: "DataFlow_Paragraph",

@@ -161,10 +103,3 @@ Fields: { content: {

};
exports.ListTagsRequest = {
TypeName: "ListTagsRequest",
Fields: { storefront: {
Type: "TYPE_STRING",
},
},
};
exports.Tag = {
exports.TagSchema = {
TypeName: "Tag",

@@ -191,7 +126,52 @@ Fields: { description: {

};
exports.CreateTagRequest = {
TypeName: "CreateTagRequest",
Fields: { id: {
exports.GetDataFlowRequestSchema = {
TypeName: "GetDataFlowRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.DataFlow_ImageSchema = {
TypeName: "DataFlow_Image",
Fields: { imageUrl: {
Type: "TYPE_STRING",
},
linkUrl: {
Type: "TYPE_STRING",
},
title: {
Type: "TYPE_STRING",
},
},
};
exports.ListDataFlowsRequestSchema = {
TypeName: "ListDataFlowsRequest",
Fields: { storefront: {
Type: "TYPE_STRING",
},
},
};
exports.ListGoodsPageTokenSchema = {
TypeName: "ListGoodsPageToken",
Fields: { brand: {
Type: "TYPE_STRING",
},
priceAsc: {
Type: "TYPE_BOOL",
},
priceDesc: {
Type: "TYPE_BOOL",
},
salesAsc: {
Type: "TYPE_BOOL",
},
salesDesc: {
Type: "TYPE_BOOL",
},
scoreAsc: {
Type: "TYPE_BOOL",
},
scoreDesc: {
Type: "TYPE_BOOL",
},
storefront: {

@@ -201,16 +181,22 @@ Type: "TYPE_STRING",

tag: {
Type: "TYPE_MESSAGE",
Ref: exports.Tag
Type: "TYPE_STRING",
},
},
};
exports.ListTagsResponse = {
TypeName: "ListTagsResponse",
Fields: { tags: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Tag
exports.GetTagRequestSchema = {
TypeName: "GetTagRequest",
Fields: { name: {
Type: "TYPE_STRING",
},
},
};
exports.Goods_Product = {
exports.UpdateTagRequestSchema = {
TypeName: "UpdateTagRequest",
Fields: { tag: {
Type: "TYPE_MESSAGE",
Ref: Tag
},
},
};
exports.Goods_ProductSchema = {
TypeName: "Goods_Product",

@@ -222,3 +208,3 @@ Fields: { ageGruop: {

Type: "TYPE_ENUM",
Ref: exports.Goods_Product_Availability
Ref: Goods_Product_Availability
},

@@ -277,15 +263,49 @@ brand: {

};
exports.UpdateTagRequest = {
TypeName: "UpdateTagRequest",
Fields: { tag: {
exports.DataFlow_GallerySchema = {
TypeName: "DataFlow_Gallery",
Fields: { images: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: DataFlow_Image
},
},
};
exports.DataFlow_NodeSchema = {
TypeName: "DataFlow_Node",
Fields: { demux: {
Type: "TYPE_MESSAGE",
Ref: exports.Tag
Ref: DataFlow_Demux
},
gallery: {
Type: "TYPE_MESSAGE",
Ref: DataFlow_Gallery
},
goods: {
Type: "TYPE_STRING",
},
image: {
Type: "TYPE_MESSAGE",
Ref: DataFlow_Image
},
paragraph: {
Type: "TYPE_MESSAGE",
Ref: DataFlow_Paragraph
},
tag: {
Type: "TYPE_STRING",
},
},
};
exports.Goods = {
exports.DataFlow_ComponentSchema = {
TypeName: "DataFlow_Component",
Fields: { nodes: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: DataFlow_Node
},
},
};
exports.GoodsSchema = {
TypeName: "Goods",
Fields: { hero: {
Type: "TYPE_MESSAGE",
Ref: exports.Goods_Product
Ref: Goods_Product
},

@@ -306,56 +326,30 @@ name: {

Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Goods_Product
Ref: Goods_Product
},
},
};
exports.ListGoodsResponse = {
TypeName: "ListGoodsResponse",
exports.UpdateGoodsRequestSchema = {
TypeName: "UpdateGoodsRequest",
Fields: { goods: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.Goods
Type: "TYPE_MESSAGE",
Ref: Goods
},
nextPageToken: {
Type: "TYPE_STRING",
},
},
};
exports.DataFlow_Gallery = {
TypeName: "DataFlow_Gallery",
Fields: { images: {
exports.ListGoodsResponseSchema = {
TypeName: "ListGoodsResponse",
Fields: { goods: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.DataFlow_Image
Ref: Goods
},
},
};
exports.DataFlow_Node = {
TypeName: "DataFlow_Node",
Fields: { demux: {
Type: "TYPE_MESSAGE",
Ref: exports.DataFlow_Demux
},
gallery: {
Type: "TYPE_MESSAGE",
Ref: exports.DataFlow_Gallery
},
goods: {
nextPageToken: {
Type: "TYPE_STRING",
},
image: {
Type: "TYPE_MESSAGE",
Ref: exports.DataFlow_Image
},
paragraph: {
Type: "TYPE_MESSAGE",
Ref: exports.DataFlow_Paragraph
},
tag: {
Type: "TYPE_STRING",
},
},
};
exports.CreateGoodsRequest = {
exports.CreateGoodsRequestSchema = {
TypeName: "CreateGoodsRequest",
Fields: { goods: {
Type: "TYPE_MESSAGE",
Ref: exports.Goods
Ref: Goods
},

@@ -370,23 +364,29 @@ id: {

};
exports.DataFlow_Component = {
TypeName: "DataFlow_Component",
Fields: { nodes: {
exports.ListTagsResponseSchema = {
TypeName: "ListTagsResponse",
Fields: { tags: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.DataFlow_Node
Ref: Tag
},
},
};
exports.UpdateGoodsRequest = {
TypeName: "UpdateGoodsRequest",
Fields: { goods: {
exports.CreateTagRequestSchema = {
TypeName: "CreateTagRequest",
Fields: { id: {
Type: "TYPE_STRING",
},
storefront: {
Type: "TYPE_STRING",
},
tag: {
Type: "TYPE_MESSAGE",
Ref: exports.Goods
Ref: Tag
},
},
};
exports.DataFlow = {
exports.DataFlowSchema = {
TypeName: "DataFlow",
Fields: { component: {
Type: "TYPE_MESSAGE",
Ref: exports.DataFlow_Component
Ref: DataFlow_Component
},

@@ -407,15 +407,7 @@ description: {

};
exports.ListDataFlowsResponse = {
TypeName: "ListDataFlowsResponse",
Fields: { dataFlows: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: exports.DataFlow
},
},
};
exports.CreateDataFlowRequest = {
exports.CreateDataFlowRequestSchema = {
TypeName: "CreateDataFlowRequest",
Fields: { dataFlow: {
Type: "TYPE_MESSAGE",
Ref: exports.DataFlow
Ref: DataFlow
},

@@ -430,9 +422,17 @@ id: {

};
exports.UpdateDataFlowRequest = {
exports.ListDataFlowsResponseSchema = {
TypeName: "ListDataFlowsResponse",
Fields: { dataFlows: {
Type: "TYPE_MESSAGE", Repeated: true,
Ref: DataFlow
},
},
};
exports.UpdateDataFlowRequestSchema = {
TypeName: "UpdateDataFlowRequest",
Fields: { dataFlow: {
Type: "TYPE_MESSAGE",
Ref: exports.DataFlow
Ref: DataFlow
},
},
};

@@ -6,5 +6,5 @@ import {

export const GetTagRequest =
export const DeleteDataFlowRequestSchema =
{
TypeName: "GetTagRequest",
TypeName: "DeleteDataFlowRequest",
Fields: {name:

@@ -18,6 +18,6 @@ {

export const ListDataFlowsRequest =
export const DeleteGoodsRequestSchema =
{
TypeName: "ListDataFlowsRequest",
Fields: {storefront:
TypeName: "DeleteGoodsRequest",
Fields: {name:
{

@@ -30,5 +30,16 @@ Type: "TYPE_STRING",

export const DeleteDataFlowRequest =
export const Goods_Product_AvailabilitySchema =
{
TypeName: "DeleteDataFlowRequest",
TypeName: "Goods_Product_Availability",EnumValues: [
{ name: "AVAILABILITY_UNSPECIFIED", value: 0, },
{ name: "IN_STOCK", value: 1, },
{ name: "PRE_ORDER", value: 2, },
{ name: "OUT_OF_STOCK", value: 3, },
]
};
export const DeleteTagRequestSchema =
{
TypeName: "DeleteTagRequest",
Fields: {name:

@@ -42,28 +53,23 @@ {

export const DataFlow_Demux =
export const ListGoodsRequestSchema =
{
TypeName: "DataFlow_Demux",
Fields: {components:
TypeName: "ListGoodsRequest",
Fields: {filter:
{
Fields: {value:
Type: "TYPE_STRING",
},
orderBy:
{
Type: "TYPE_STRING",
},
},
pageSize:
{
Type: "TYPE_INT32",
},
proportions:
pageToken:
{
Type: "TYPE_INT32",Repeated: true,
Type: "TYPE_STRING",
},
},
};
export const GetDataFlowRequest =
storefront:
{
TypeName: "GetDataFlowRequest",
Fields: {name:
{
Type: "TYPE_STRING",

@@ -75,3 +81,3 @@ },

export const ListGoodsFilter =
export const ListGoodsFilterSchema =
{

@@ -91,33 +97,53 @@ TypeName: "ListGoodsFilter",

export const GetGoodsRequest =
export const DataFlow_DemuxSchema =
{
TypeName: "GetGoodsRequest",
Fields: {name:
TypeName: "DataFlow_Demux",
Fields: {components:
{
Type: "TYPE_STRING",
Fields: {value:
{
},
},
},
proportions:
{
Type: "TYPE_INT32",Repeated: true,
},
},
};
export const ListGoodsRequest =
export const ListTagsRequestSchema =
{
TypeName: "ListGoodsRequest",
Fields: {filter:
TypeName: "ListTagsRequest",
Fields: {storefront:
{
Type: "TYPE_STRING",
},
orderBy:
},
};
export const GetGoodsRequestSchema =
{
TypeName: "GetGoodsRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
pageSize:
},
};
export const DataFlow_ParagraphSchema =
{
Type: "TYPE_INT32",
},
pageToken:
TypeName: "DataFlow_Paragraph",
Fields: {content:
{
Type: "TYPE_STRING",
},
storefront:
languageCode:
{

@@ -130,49 +156,26 @@ Type: "TYPE_STRING",

export const Goods_Product_Availability =
export const TagSchema =
{
TypeName: "Goods_Product_Availability",EnumValues: [
{ name: "AVAILABILITY_UNSPECIFIED", value: 0, },
{ name: "IN_STOCK", value: 1, },
{ name: "PRE_ORDER", value: 2, },
{ name: "OUT_OF_STOCK", value: 3, },
]
};
export const ListGoodsPageToken =
TypeName: "Tag",
Fields: {description:
{
TypeName: "ListGoodsPageToken",
Fields: {brand:
{
Type: "TYPE_STRING",
},
priceAsc:
displayName:
{
Type: "TYPE_BOOL",
Type: "TYPE_STRING",
},
priceDesc:
goodsCount:
{
Type: "TYPE_BOOL",
Type: "TYPE_INT32",
},
salesAsc:
heroImageUrls:
{
Type: "TYPE_BOOL",
Type: "TYPE_STRING",Repeated: true,
},
salesDesc:
name:
{
Type: "TYPE_BOOL",
},
scoreAsc:
{
Type: "TYPE_BOOL",
},
scoreDesc:
{
Type: "TYPE_BOOL",
},
storefront:
{
Type: "TYPE_STRING",
},
tag:
title:
{

@@ -185,5 +188,5 @@ Type: "TYPE_STRING",

export const DeleteGoodsRequest =
export const GetDataFlowRequestSchema =
{
TypeName: "DeleteGoodsRequest",
TypeName: "GetDataFlowRequest",
Fields: {name:

@@ -197,15 +200,4 @@ {

export const DeleteTagRequest =
export const DataFlow_ImageSchema =
{
TypeName: "DeleteTagRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
},
};
export const DataFlow_Image =
{
TypeName: "DataFlow_Image",

@@ -228,13 +220,9 @@ Fields: {imageUrl:

export const DataFlow_Paragraph =
export const ListDataFlowsRequestSchema =
{
TypeName: "DataFlow_Paragraph",
Fields: {content:
TypeName: "ListDataFlowsRequest",
Fields: {storefront:
{
Type: "TYPE_STRING",
},
languageCode:
{
Type: "TYPE_STRING",
},
},

@@ -244,37 +232,38 @@

export const ListTagsRequest =
export const ListGoodsPageTokenSchema =
{
TypeName: "ListTagsRequest",
Fields: {storefront:
TypeName: "ListGoodsPageToken",
Fields: {brand:
{
Type: "TYPE_STRING",
},
},
};
export const Tag =
priceAsc:
{
TypeName: "Tag",
Fields: {description:
Type: "TYPE_BOOL",
},
priceDesc:
{
Type: "TYPE_STRING",
Type: "TYPE_BOOL",
},
displayName:
salesAsc:
{
Type: "TYPE_STRING",
Type: "TYPE_BOOL",
},
goodsCount:
salesDesc:
{
Type: "TYPE_INT32",
Type: "TYPE_BOOL",
},
heroImageUrls:
scoreAsc:
{
Type: "TYPE_STRING",Repeated: true,
Type: "TYPE_BOOL",
},
name:
scoreDesc:
{
Type: "TYPE_BOOL",
},
storefront:
{
Type: "TYPE_STRING",
},
title:
tag:
{

@@ -287,18 +276,9 @@ Type: "TYPE_STRING",

export const CreateTagRequest =
export const GetTagRequestSchema =
{
TypeName: "CreateTagRequest",
Fields: {id:
TypeName: "GetTagRequest",
Fields: {name:
{
Type: "TYPE_STRING",
},
storefront:
{
Type: "TYPE_STRING",
},
tag:
{
Type: "TYPE_MESSAGE",
Ref: Tag
},
},

@@ -308,8 +288,8 @@

export const ListTagsResponse =
export const UpdateTagRequestSchema =
{
TypeName: "ListTagsResponse",
Fields: {tags:
TypeName: "UpdateTagRequest",
Fields: {tag:
{
Type: "TYPE_MESSAGE",Repeated: true,
Type: "TYPE_MESSAGE",
Ref: Tag

@@ -321,3 +301,3 @@ },

export const Goods_Product =
export const Goods_ProductSchema =
{

@@ -404,10 +384,45 @@ TypeName: "Goods_Product",

export const UpdateTagRequest =
export const DataFlow_GallerySchema =
{
TypeName: "UpdateTagRequest",
Fields: {tag:
TypeName: "DataFlow_Gallery",
Fields: {images:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: DataFlow_Image
},
},
};
export const DataFlow_NodeSchema =
{
TypeName: "DataFlow_Node",
Fields: {demux:
{
Type: "TYPE_MESSAGE",
Ref: Tag
Ref: DataFlow_Demux
},
gallery:
{
Type: "TYPE_MESSAGE",
Ref: DataFlow_Gallery
},
goods:
{
Type: "TYPE_STRING",
},
image:
{
Type: "TYPE_MESSAGE",
Ref: DataFlow_Image
},
paragraph:
{
Type: "TYPE_MESSAGE",
Ref: DataFlow_Paragraph
},
tag:
{
Type: "TYPE_STRING",
},
},

@@ -417,4 +432,16 @@

export const Goods =
export const DataFlow_ComponentSchema =
{
TypeName: "DataFlow_Component",
Fields: {nodes:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: DataFlow_Node
},
},
};
export const GoodsSchema =
{
TypeName: "Goods",

@@ -451,14 +478,10 @@ Fields: {hero:

export const ListGoodsResponse =
export const UpdateGoodsRequestSchema =
{
TypeName: "ListGoodsResponse",
TypeName: "UpdateGoodsRequest",
Fields: {goods:
{
Type: "TYPE_MESSAGE",Repeated: true,
Type: "TYPE_MESSAGE",
Ref: Goods
},
nextPageToken:
{
Type: "TYPE_STRING",
},
},

@@ -468,45 +491,14 @@

export const DataFlow_Gallery =
export const ListGoodsResponseSchema =
{
TypeName: "DataFlow_Gallery",
Fields: {images:
TypeName: "ListGoodsResponse",
Fields: {goods:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: DataFlow_Image
Ref: Goods
},
},
};
export const DataFlow_Node =
nextPageToken:
{
TypeName: "DataFlow_Node",
Fields: {demux:
{
Type: "TYPE_MESSAGE",
Ref: DataFlow_Demux
},
gallery:
{
Type: "TYPE_MESSAGE",
Ref: DataFlow_Gallery
},
goods:
{
Type: "TYPE_STRING",
},
image:
{
Type: "TYPE_MESSAGE",
Ref: DataFlow_Image
},
paragraph:
{
Type: "TYPE_MESSAGE",
Ref: DataFlow_Paragraph
},
tag:
{
Type: "TYPE_STRING",
},
},

@@ -516,3 +508,3 @@

export const CreateGoodsRequest =
export const CreateGoodsRequestSchema =
{

@@ -537,9 +529,9 @@ TypeName: "CreateGoodsRequest",

export const DataFlow_Component =
export const ListTagsResponseSchema =
{
TypeName: "DataFlow_Component",
Fields: {nodes:
TypeName: "ListTagsResponse",
Fields: {tags:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: DataFlow_Node
Ref: Tag
},

@@ -550,9 +542,17 @@ },

export const UpdateGoodsRequest =
export const CreateTagRequestSchema =
{
TypeName: "UpdateGoodsRequest",
Fields: {goods:
TypeName: "CreateTagRequest",
Fields: {id:
{
Type: "TYPE_STRING",
},
storefront:
{
Type: "TYPE_STRING",
},
tag:
{
Type: "TYPE_MESSAGE",
Ref: Goods
Ref: Tag
},

@@ -563,3 +563,3 @@ },

export const DataFlow =
export const DataFlowSchema =
{

@@ -592,16 +592,4 @@ TypeName: "DataFlow",

export const ListDataFlowsResponse =
export const CreateDataFlowRequestSchema =
{
TypeName: "ListDataFlowsResponse",
Fields: {dataFlows:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: DataFlow
},
},
};
export const CreateDataFlowRequest =
{
TypeName: "CreateDataFlowRequest",

@@ -625,4 +613,16 @@ Fields: {dataFlow:

export const UpdateDataFlowRequest =
export const ListDataFlowsResponseSchema =
{
TypeName: "ListDataFlowsResponse",
Fields: {dataFlows:
{
Type: "TYPE_MESSAGE",Repeated: true,
Ref: DataFlow
},
},
};
export const UpdateDataFlowRequestSchema =
{
TypeName: "UpdateDataFlowRequest",

@@ -629,0 +629,0 @@ Fields: {dataFlow:

@@ -1,2 +0,2 @@

export declare const Color: {
export declare const ColorSchema: {
TypeName: string;

@@ -3,0 +3,0 @@ Fields: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Color = {
exports.ColorSchema = {
TypeName: "Color",

@@ -5,0 +5,0 @@ Fields: { alpha: {

export const Color =
export const ColorSchema =
{

@@ -5,0 +5,0 @@ TypeName: "Color",

@@ -1,2 +0,2 @@

export declare const Date: {
export declare const DateSchema: {
TypeName: string;

@@ -3,0 +3,0 @@ Fields: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Date = {
exports.DateSchema = {
TypeName: "Date",

@@ -5,0 +5,0 @@ Fields: { day: {

export const Date =
export const DateSchema =
{

@@ -5,0 +5,0 @@ TypeName: "Date",

@@ -1,2 +0,2 @@

export declare const DayOfWeek: {
export declare const DayOfWeekSchema: {
TypeName: string;

@@ -3,0 +3,0 @@ EnumValues: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DayOfWeek = {
exports.DayOfWeekSchema = {
TypeName: "DayOfWeek", EnumValues: [

@@ -5,0 +5,0 @@ { name: "DAY_OF_WEEK_UNSPECIFIED", value: 0, },

export const DayOfWeek =
export const DayOfWeekSchema =
{

@@ -5,0 +5,0 @@ TypeName: "DayOfWeek",EnumValues: [

@@ -1,2 +0,2 @@

export declare const LatLng: {
export declare const LatLngSchema: {
TypeName: string;

@@ -3,0 +3,0 @@ Fields: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LatLng = {
exports.LatLngSchema = {
TypeName: "LatLng",

@@ -5,0 +5,0 @@ Fields: { latitude: {

export const LatLng =
export const LatLngSchema =
{

@@ -5,0 +5,0 @@ TypeName: "LatLng",

@@ -1,2 +0,2 @@

export declare const Money: {
export declare const MoneySchema: {
TypeName: string;

@@ -3,0 +3,0 @@ Fields: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Money = {
exports.MoneySchema = {
TypeName: "Money",

@@ -5,0 +5,0 @@ Fields: { currencyCode: {

export const Money =
export const MoneySchema =
{

@@ -5,0 +5,0 @@ TypeName: "Money",

@@ -1,2 +0,2 @@

export declare const PostalAddress: {
export declare const PostalAddressSchema: {
TypeName: string;

@@ -3,0 +3,0 @@ Fields: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostalAddress = {
exports.PostalAddressSchema = {
TypeName: "PostalAddress",

@@ -5,0 +5,0 @@ Fields: { addressLines: {

export const PostalAddress =
export const PostalAddressSchema =
{

@@ -5,0 +5,0 @@ TypeName: "PostalAddress",

@@ -1,2 +0,2 @@

export declare const TimeOfDay: {
export declare const TimeOfDaySchema: {
TypeName: string;

@@ -3,0 +3,0 @@ Fields: {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimeOfDay = {
exports.TimeOfDaySchema = {
TypeName: "TimeOfDay",

@@ -5,0 +5,0 @@ Fields: { hours: {

export const TimeOfDay =
export const TimeOfDaySchema =
{

@@ -5,0 +5,0 @@ TypeName: "TimeOfDay",

{
"name": "@xrc-inc/grpc-web",
"version": "1.1.4",
"version": "1.1.5",
"scripts": {

@@ -5,0 +5,0 @@ "build": "tsc"

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc