@headspace/protos-events 1.320.0 → 1.322.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +908 -0
- package/lib/index.js +2482 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7840,6 +7840,728 @@ export namespace googleReceipt {
|
|
|
7840
7840
|
}
|
|
7841
7841
|
}
|
|
7842
7842
|
|
|
7843
|
+
/** Namespace productcatalog. */
|
|
7844
|
+
export namespace productcatalog {
|
|
7845
|
+
|
|
7846
|
+
/** Properties of a ProductSku. */
|
|
7847
|
+
interface IProductSku {
|
|
7848
|
+
|
|
7849
|
+
/** product sku id */
|
|
7850
|
+
id?: (string|null);
|
|
7851
|
+
|
|
7852
|
+
/** product sku slug */
|
|
7853
|
+
slug?: (string|null);
|
|
7854
|
+
|
|
7855
|
+
/** product sku version */
|
|
7856
|
+
version?: (number|null);
|
|
7857
|
+
|
|
7858
|
+
/** platform, e.g "APPLE", "GOOGLE", "ZUORA" */
|
|
7859
|
+
platform?: (productcatalog.ProductSkuPlatform|null);
|
|
7860
|
+
|
|
7861
|
+
/** how the user paid, e.g. "PARTNER_PAID", "DIRECT", "FREE_TRIAL" */
|
|
7862
|
+
billingCategory?: (productcatalog.ProductSkuBillingCategory|null);
|
|
7863
|
+
|
|
7864
|
+
/** length of the first term */
|
|
7865
|
+
initialTerm?: (productcatalog.ITermConfiguration|null);
|
|
7866
|
+
|
|
7867
|
+
/** length of all terms after the first */
|
|
7868
|
+
renewalTerm?: (productcatalog.ITermConfiguration|null);
|
|
7869
|
+
|
|
7870
|
+
/** length of time to wait before we start billing the user */
|
|
7871
|
+
billingDelay?: (productcatalog.ITermConfiguration|null);
|
|
7872
|
+
|
|
7873
|
+
/** billing information */
|
|
7874
|
+
billingPlan?: (productcatalog.IBillingPlan|null);
|
|
7875
|
+
|
|
7876
|
+
/** extra information (e.g. student, family) */
|
|
7877
|
+
tags?: (productcatalog.ProductSkuTag[]|null);
|
|
7878
|
+
}
|
|
7879
|
+
|
|
7880
|
+
/** Represents a ProductSku. */
|
|
7881
|
+
class ProductSku implements IProductSku {
|
|
7882
|
+
|
|
7883
|
+
/**
|
|
7884
|
+
* Constructs a new ProductSku.
|
|
7885
|
+
* @param [properties] Properties to set
|
|
7886
|
+
*/
|
|
7887
|
+
constructor(properties?: productcatalog.IProductSku);
|
|
7888
|
+
|
|
7889
|
+
/** product sku id */
|
|
7890
|
+
public id: string;
|
|
7891
|
+
|
|
7892
|
+
/** product sku slug */
|
|
7893
|
+
public slug: string;
|
|
7894
|
+
|
|
7895
|
+
/** product sku version */
|
|
7896
|
+
public version: number;
|
|
7897
|
+
|
|
7898
|
+
/** platform, e.g "APPLE", "GOOGLE", "ZUORA" */
|
|
7899
|
+
public platform: productcatalog.ProductSkuPlatform;
|
|
7900
|
+
|
|
7901
|
+
/** how the user paid, e.g. "PARTNER_PAID", "DIRECT", "FREE_TRIAL" */
|
|
7902
|
+
public billingCategory: productcatalog.ProductSkuBillingCategory;
|
|
7903
|
+
|
|
7904
|
+
/** length of the first term */
|
|
7905
|
+
public initialTerm?: (productcatalog.ITermConfiguration|null);
|
|
7906
|
+
|
|
7907
|
+
/** length of all terms after the first */
|
|
7908
|
+
public renewalTerm?: (productcatalog.ITermConfiguration|null);
|
|
7909
|
+
|
|
7910
|
+
/** length of time to wait before we start billing the user */
|
|
7911
|
+
public billingDelay?: (productcatalog.ITermConfiguration|null);
|
|
7912
|
+
|
|
7913
|
+
/** billing information */
|
|
7914
|
+
public billingPlan?: (productcatalog.IBillingPlan|null);
|
|
7915
|
+
|
|
7916
|
+
/** extra information (e.g. student, family) */
|
|
7917
|
+
public tags: productcatalog.ProductSkuTag[];
|
|
7918
|
+
|
|
7919
|
+
/**
|
|
7920
|
+
* Creates a new ProductSku instance using the specified properties.
|
|
7921
|
+
* @param [properties] Properties to set
|
|
7922
|
+
* @returns ProductSku instance
|
|
7923
|
+
*/
|
|
7924
|
+
public static create(properties?: productcatalog.IProductSku): productcatalog.ProductSku;
|
|
7925
|
+
|
|
7926
|
+
/**
|
|
7927
|
+
* Encodes the specified ProductSku message. Does not implicitly {@link productcatalog.ProductSku.verify|verify} messages.
|
|
7928
|
+
* @param message ProductSku message or plain object to encode
|
|
7929
|
+
* @param [writer] Writer to encode to
|
|
7930
|
+
* @returns Writer
|
|
7931
|
+
*/
|
|
7932
|
+
public static encode(message: productcatalog.IProductSku, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7933
|
+
|
|
7934
|
+
/**
|
|
7935
|
+
* Encodes the specified ProductSku message, length delimited. Does not implicitly {@link productcatalog.ProductSku.verify|verify} messages.
|
|
7936
|
+
* @param message ProductSku message or plain object to encode
|
|
7937
|
+
* @param [writer] Writer to encode to
|
|
7938
|
+
* @returns Writer
|
|
7939
|
+
*/
|
|
7940
|
+
public static encodeDelimited(message: productcatalog.IProductSku, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7941
|
+
|
|
7942
|
+
/**
|
|
7943
|
+
* Decodes a ProductSku message from the specified reader or buffer.
|
|
7944
|
+
* @param reader Reader or buffer to decode from
|
|
7945
|
+
* @param [length] Message length if known beforehand
|
|
7946
|
+
* @returns ProductSku
|
|
7947
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7948
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7949
|
+
*/
|
|
7950
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): productcatalog.ProductSku;
|
|
7951
|
+
|
|
7952
|
+
/**
|
|
7953
|
+
* Decodes a ProductSku message from the specified reader or buffer, length delimited.
|
|
7954
|
+
* @param reader Reader or buffer to decode from
|
|
7955
|
+
* @returns ProductSku
|
|
7956
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7957
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7958
|
+
*/
|
|
7959
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): productcatalog.ProductSku;
|
|
7960
|
+
|
|
7961
|
+
/**
|
|
7962
|
+
* Verifies a ProductSku message.
|
|
7963
|
+
* @param message Plain object to verify
|
|
7964
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7965
|
+
*/
|
|
7966
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7967
|
+
|
|
7968
|
+
/**
|
|
7969
|
+
* Creates a ProductSku message from a plain object. Also converts values to their respective internal types.
|
|
7970
|
+
* @param object Plain object
|
|
7971
|
+
* @returns ProductSku
|
|
7972
|
+
*/
|
|
7973
|
+
public static fromObject(object: { [k: string]: any }): productcatalog.ProductSku;
|
|
7974
|
+
|
|
7975
|
+
/**
|
|
7976
|
+
* Creates a plain object from a ProductSku message. Also converts values to other types if specified.
|
|
7977
|
+
* @param message ProductSku
|
|
7978
|
+
* @param [options] Conversion options
|
|
7979
|
+
* @returns Plain object
|
|
7980
|
+
*/
|
|
7981
|
+
public static toObject(message: productcatalog.ProductSku, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7982
|
+
|
|
7983
|
+
/**
|
|
7984
|
+
* Converts this ProductSku to JSON.
|
|
7985
|
+
* @returns JSON object
|
|
7986
|
+
*/
|
|
7987
|
+
public toJSON(): { [k: string]: any };
|
|
7988
|
+
}
|
|
7989
|
+
|
|
7990
|
+
/** Properties of a TermConfiguration. */
|
|
7991
|
+
interface ITermConfiguration {
|
|
7992
|
+
|
|
7993
|
+
/** type of calendar period, e.g. "MONTH", "DAY", "YEAR" */
|
|
7994
|
+
period?: (productcatalog.ProductSkuCalendarPeriod|null);
|
|
7995
|
+
|
|
7996
|
+
/** number of calendar periods */
|
|
7997
|
+
numPeriods?: (number|null);
|
|
7998
|
+
}
|
|
7999
|
+
|
|
8000
|
+
/** Represents a TermConfiguration. */
|
|
8001
|
+
class TermConfiguration implements ITermConfiguration {
|
|
8002
|
+
|
|
8003
|
+
/**
|
|
8004
|
+
* Constructs a new TermConfiguration.
|
|
8005
|
+
* @param [properties] Properties to set
|
|
8006
|
+
*/
|
|
8007
|
+
constructor(properties?: productcatalog.ITermConfiguration);
|
|
8008
|
+
|
|
8009
|
+
/** type of calendar period, e.g. "MONTH", "DAY", "YEAR" */
|
|
8010
|
+
public period: productcatalog.ProductSkuCalendarPeriod;
|
|
8011
|
+
|
|
8012
|
+
/** number of calendar periods */
|
|
8013
|
+
public numPeriods: number;
|
|
8014
|
+
|
|
8015
|
+
/**
|
|
8016
|
+
* Creates a new TermConfiguration instance using the specified properties.
|
|
8017
|
+
* @param [properties] Properties to set
|
|
8018
|
+
* @returns TermConfiguration instance
|
|
8019
|
+
*/
|
|
8020
|
+
public static create(properties?: productcatalog.ITermConfiguration): productcatalog.TermConfiguration;
|
|
8021
|
+
|
|
8022
|
+
/**
|
|
8023
|
+
* Encodes the specified TermConfiguration message. Does not implicitly {@link productcatalog.TermConfiguration.verify|verify} messages.
|
|
8024
|
+
* @param message TermConfiguration message or plain object to encode
|
|
8025
|
+
* @param [writer] Writer to encode to
|
|
8026
|
+
* @returns Writer
|
|
8027
|
+
*/
|
|
8028
|
+
public static encode(message: productcatalog.ITermConfiguration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8029
|
+
|
|
8030
|
+
/**
|
|
8031
|
+
* Encodes the specified TermConfiguration message, length delimited. Does not implicitly {@link productcatalog.TermConfiguration.verify|verify} messages.
|
|
8032
|
+
* @param message TermConfiguration message or plain object to encode
|
|
8033
|
+
* @param [writer] Writer to encode to
|
|
8034
|
+
* @returns Writer
|
|
8035
|
+
*/
|
|
8036
|
+
public static encodeDelimited(message: productcatalog.ITermConfiguration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8037
|
+
|
|
8038
|
+
/**
|
|
8039
|
+
* Decodes a TermConfiguration message from the specified reader or buffer.
|
|
8040
|
+
* @param reader Reader or buffer to decode from
|
|
8041
|
+
* @param [length] Message length if known beforehand
|
|
8042
|
+
* @returns TermConfiguration
|
|
8043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8045
|
+
*/
|
|
8046
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): productcatalog.TermConfiguration;
|
|
8047
|
+
|
|
8048
|
+
/**
|
|
8049
|
+
* Decodes a TermConfiguration message from the specified reader or buffer, length delimited.
|
|
8050
|
+
* @param reader Reader or buffer to decode from
|
|
8051
|
+
* @returns TermConfiguration
|
|
8052
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8053
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8054
|
+
*/
|
|
8055
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): productcatalog.TermConfiguration;
|
|
8056
|
+
|
|
8057
|
+
/**
|
|
8058
|
+
* Verifies a TermConfiguration message.
|
|
8059
|
+
* @param message Plain object to verify
|
|
8060
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8061
|
+
*/
|
|
8062
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8063
|
+
|
|
8064
|
+
/**
|
|
8065
|
+
* Creates a TermConfiguration message from a plain object. Also converts values to their respective internal types.
|
|
8066
|
+
* @param object Plain object
|
|
8067
|
+
* @returns TermConfiguration
|
|
8068
|
+
*/
|
|
8069
|
+
public static fromObject(object: { [k: string]: any }): productcatalog.TermConfiguration;
|
|
8070
|
+
|
|
8071
|
+
/**
|
|
8072
|
+
* Creates a plain object from a TermConfiguration message. Also converts values to other types if specified.
|
|
8073
|
+
* @param message TermConfiguration
|
|
8074
|
+
* @param [options] Conversion options
|
|
8075
|
+
* @returns Plain object
|
|
8076
|
+
*/
|
|
8077
|
+
public static toObject(message: productcatalog.TermConfiguration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8078
|
+
|
|
8079
|
+
/**
|
|
8080
|
+
* Converts this TermConfiguration to JSON.
|
|
8081
|
+
* @returns JSON object
|
|
8082
|
+
*/
|
|
8083
|
+
public toJSON(): { [k: string]: any };
|
|
8084
|
+
}
|
|
8085
|
+
|
|
8086
|
+
/** Properties of a BillingPlan. */
|
|
8087
|
+
interface IBillingPlan {
|
|
8088
|
+
|
|
8089
|
+
/** BillingPlan taxInclusive */
|
|
8090
|
+
taxInclusive?: (productcatalog.IRatePlan[]|null);
|
|
8091
|
+
|
|
8092
|
+
/** BillingPlan taxExclusive */
|
|
8093
|
+
taxExclusive?: (productcatalog.IRatePlan[]|null);
|
|
8094
|
+
}
|
|
8095
|
+
|
|
8096
|
+
/** Represents a BillingPlan. */
|
|
8097
|
+
class BillingPlan implements IBillingPlan {
|
|
8098
|
+
|
|
8099
|
+
/**
|
|
8100
|
+
* Constructs a new BillingPlan.
|
|
8101
|
+
* @param [properties] Properties to set
|
|
8102
|
+
*/
|
|
8103
|
+
constructor(properties?: productcatalog.IBillingPlan);
|
|
8104
|
+
|
|
8105
|
+
/** BillingPlan taxInclusive. */
|
|
8106
|
+
public taxInclusive: productcatalog.IRatePlan[];
|
|
8107
|
+
|
|
8108
|
+
/** BillingPlan taxExclusive. */
|
|
8109
|
+
public taxExclusive: productcatalog.IRatePlan[];
|
|
8110
|
+
|
|
8111
|
+
/**
|
|
8112
|
+
* Creates a new BillingPlan instance using the specified properties.
|
|
8113
|
+
* @param [properties] Properties to set
|
|
8114
|
+
* @returns BillingPlan instance
|
|
8115
|
+
*/
|
|
8116
|
+
public static create(properties?: productcatalog.IBillingPlan): productcatalog.BillingPlan;
|
|
8117
|
+
|
|
8118
|
+
/**
|
|
8119
|
+
* Encodes the specified BillingPlan message. Does not implicitly {@link productcatalog.BillingPlan.verify|verify} messages.
|
|
8120
|
+
* @param message BillingPlan message or plain object to encode
|
|
8121
|
+
* @param [writer] Writer to encode to
|
|
8122
|
+
* @returns Writer
|
|
8123
|
+
*/
|
|
8124
|
+
public static encode(message: productcatalog.IBillingPlan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8125
|
+
|
|
8126
|
+
/**
|
|
8127
|
+
* Encodes the specified BillingPlan message, length delimited. Does not implicitly {@link productcatalog.BillingPlan.verify|verify} messages.
|
|
8128
|
+
* @param message BillingPlan message or plain object to encode
|
|
8129
|
+
* @param [writer] Writer to encode to
|
|
8130
|
+
* @returns Writer
|
|
8131
|
+
*/
|
|
8132
|
+
public static encodeDelimited(message: productcatalog.IBillingPlan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8133
|
+
|
|
8134
|
+
/**
|
|
8135
|
+
* Decodes a BillingPlan message from the specified reader or buffer.
|
|
8136
|
+
* @param reader Reader or buffer to decode from
|
|
8137
|
+
* @param [length] Message length if known beforehand
|
|
8138
|
+
* @returns BillingPlan
|
|
8139
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8140
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8141
|
+
*/
|
|
8142
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): productcatalog.BillingPlan;
|
|
8143
|
+
|
|
8144
|
+
/**
|
|
8145
|
+
* Decodes a BillingPlan message from the specified reader or buffer, length delimited.
|
|
8146
|
+
* @param reader Reader or buffer to decode from
|
|
8147
|
+
* @returns BillingPlan
|
|
8148
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8149
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8150
|
+
*/
|
|
8151
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): productcatalog.BillingPlan;
|
|
8152
|
+
|
|
8153
|
+
/**
|
|
8154
|
+
* Verifies a BillingPlan message.
|
|
8155
|
+
* @param message Plain object to verify
|
|
8156
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8157
|
+
*/
|
|
8158
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8159
|
+
|
|
8160
|
+
/**
|
|
8161
|
+
* Creates a BillingPlan message from a plain object. Also converts values to their respective internal types.
|
|
8162
|
+
* @param object Plain object
|
|
8163
|
+
* @returns BillingPlan
|
|
8164
|
+
*/
|
|
8165
|
+
public static fromObject(object: { [k: string]: any }): productcatalog.BillingPlan;
|
|
8166
|
+
|
|
8167
|
+
/**
|
|
8168
|
+
* Creates a plain object from a BillingPlan message. Also converts values to other types if specified.
|
|
8169
|
+
* @param message BillingPlan
|
|
8170
|
+
* @param [options] Conversion options
|
|
8171
|
+
* @returns Plain object
|
|
8172
|
+
*/
|
|
8173
|
+
public static toObject(message: productcatalog.BillingPlan, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8174
|
+
|
|
8175
|
+
/**
|
|
8176
|
+
* Converts this BillingPlan to JSON.
|
|
8177
|
+
* @returns JSON object
|
|
8178
|
+
*/
|
|
8179
|
+
public toJSON(): { [k: string]: any };
|
|
8180
|
+
}
|
|
8181
|
+
|
|
8182
|
+
/** Properties of a RatePlan. */
|
|
8183
|
+
interface IRatePlan {
|
|
8184
|
+
|
|
8185
|
+
/** name of the rate plan */
|
|
8186
|
+
name?: (string|null);
|
|
8187
|
+
|
|
8188
|
+
/** charges in the rate plan */
|
|
8189
|
+
charges?: (productcatalog.IRatePlanCharge[]|null);
|
|
8190
|
+
}
|
|
8191
|
+
|
|
8192
|
+
/** Represents a RatePlan. */
|
|
8193
|
+
class RatePlan implements IRatePlan {
|
|
8194
|
+
|
|
8195
|
+
/**
|
|
8196
|
+
* Constructs a new RatePlan.
|
|
8197
|
+
* @param [properties] Properties to set
|
|
8198
|
+
*/
|
|
8199
|
+
constructor(properties?: productcatalog.IRatePlan);
|
|
8200
|
+
|
|
8201
|
+
/** name of the rate plan */
|
|
8202
|
+
public name: string;
|
|
8203
|
+
|
|
8204
|
+
/** charges in the rate plan */
|
|
8205
|
+
public charges: productcatalog.IRatePlanCharge[];
|
|
8206
|
+
|
|
8207
|
+
/**
|
|
8208
|
+
* Creates a new RatePlan instance using the specified properties.
|
|
8209
|
+
* @param [properties] Properties to set
|
|
8210
|
+
* @returns RatePlan instance
|
|
8211
|
+
*/
|
|
8212
|
+
public static create(properties?: productcatalog.IRatePlan): productcatalog.RatePlan;
|
|
8213
|
+
|
|
8214
|
+
/**
|
|
8215
|
+
* Encodes the specified RatePlan message. Does not implicitly {@link productcatalog.RatePlan.verify|verify} messages.
|
|
8216
|
+
* @param message RatePlan message or plain object to encode
|
|
8217
|
+
* @param [writer] Writer to encode to
|
|
8218
|
+
* @returns Writer
|
|
8219
|
+
*/
|
|
8220
|
+
public static encode(message: productcatalog.IRatePlan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8221
|
+
|
|
8222
|
+
/**
|
|
8223
|
+
* Encodes the specified RatePlan message, length delimited. Does not implicitly {@link productcatalog.RatePlan.verify|verify} messages.
|
|
8224
|
+
* @param message RatePlan message or plain object to encode
|
|
8225
|
+
* @param [writer] Writer to encode to
|
|
8226
|
+
* @returns Writer
|
|
8227
|
+
*/
|
|
8228
|
+
public static encodeDelimited(message: productcatalog.IRatePlan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8229
|
+
|
|
8230
|
+
/**
|
|
8231
|
+
* Decodes a RatePlan message from the specified reader or buffer.
|
|
8232
|
+
* @param reader Reader or buffer to decode from
|
|
8233
|
+
* @param [length] Message length if known beforehand
|
|
8234
|
+
* @returns RatePlan
|
|
8235
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8236
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8237
|
+
*/
|
|
8238
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): productcatalog.RatePlan;
|
|
8239
|
+
|
|
8240
|
+
/**
|
|
8241
|
+
* Decodes a RatePlan message from the specified reader or buffer, length delimited.
|
|
8242
|
+
* @param reader Reader or buffer to decode from
|
|
8243
|
+
* @returns RatePlan
|
|
8244
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8245
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8246
|
+
*/
|
|
8247
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): productcatalog.RatePlan;
|
|
8248
|
+
|
|
8249
|
+
/**
|
|
8250
|
+
* Verifies a RatePlan message.
|
|
8251
|
+
* @param message Plain object to verify
|
|
8252
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8253
|
+
*/
|
|
8254
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8255
|
+
|
|
8256
|
+
/**
|
|
8257
|
+
* Creates a RatePlan message from a plain object. Also converts values to their respective internal types.
|
|
8258
|
+
* @param object Plain object
|
|
8259
|
+
* @returns RatePlan
|
|
8260
|
+
*/
|
|
8261
|
+
public static fromObject(object: { [k: string]: any }): productcatalog.RatePlan;
|
|
8262
|
+
|
|
8263
|
+
/**
|
|
8264
|
+
* Creates a plain object from a RatePlan message. Also converts values to other types if specified.
|
|
8265
|
+
* @param message RatePlan
|
|
8266
|
+
* @param [options] Conversion options
|
|
8267
|
+
* @returns Plain object
|
|
8268
|
+
*/
|
|
8269
|
+
public static toObject(message: productcatalog.RatePlan, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8270
|
+
|
|
8271
|
+
/**
|
|
8272
|
+
* Converts this RatePlan to JSON.
|
|
8273
|
+
* @returns JSON object
|
|
8274
|
+
*/
|
|
8275
|
+
public toJSON(): { [k: string]: any };
|
|
8276
|
+
}
|
|
8277
|
+
|
|
8278
|
+
/** Properties of a RatePlanCharge. */
|
|
8279
|
+
interface IRatePlanCharge {
|
|
8280
|
+
|
|
8281
|
+
/** type of calendar period, e.g. "MONTH", "DAY", "YEAR" */
|
|
8282
|
+
period?: (productcatalog.ProductSkuCalendarPeriod|null);
|
|
8283
|
+
|
|
8284
|
+
/** how to interpret this charge, eg. "FLAT_FEE", "DISCOUNT_FIXED", "DISCOUNT_PCT" */
|
|
8285
|
+
chargeModel?: (productcatalog.ProductSkuChargeModel|null);
|
|
8286
|
+
|
|
8287
|
+
/** when to end this charge, eg. "END_OF_SUBSCRIPTION", "FIXED_PERIODS" */
|
|
8288
|
+
endDateCondition?: (productcatalog.ProductSkuEndDateCondition|null);
|
|
8289
|
+
|
|
8290
|
+
/** when 'end_date_condition' is "FIXED_PERIOD", the number of periods to charge before ending */
|
|
8291
|
+
endDatePeriods?: (string|null);
|
|
8292
|
+
|
|
8293
|
+
/** country & currency specific configuration */
|
|
8294
|
+
tiers?: (productcatalog.IRatePlanChargeTier[]|null);
|
|
8295
|
+
}
|
|
8296
|
+
|
|
8297
|
+
/** Represents a RatePlanCharge. */
|
|
8298
|
+
class RatePlanCharge implements IRatePlanCharge {
|
|
8299
|
+
|
|
8300
|
+
/**
|
|
8301
|
+
* Constructs a new RatePlanCharge.
|
|
8302
|
+
* @param [properties] Properties to set
|
|
8303
|
+
*/
|
|
8304
|
+
constructor(properties?: productcatalog.IRatePlanCharge);
|
|
8305
|
+
|
|
8306
|
+
/** type of calendar period, e.g. "MONTH", "DAY", "YEAR" */
|
|
8307
|
+
public period: productcatalog.ProductSkuCalendarPeriod;
|
|
8308
|
+
|
|
8309
|
+
/** how to interpret this charge, eg. "FLAT_FEE", "DISCOUNT_FIXED", "DISCOUNT_PCT" */
|
|
8310
|
+
public chargeModel: productcatalog.ProductSkuChargeModel;
|
|
8311
|
+
|
|
8312
|
+
/** when to end this charge, eg. "END_OF_SUBSCRIPTION", "FIXED_PERIODS" */
|
|
8313
|
+
public endDateCondition: productcatalog.ProductSkuEndDateCondition;
|
|
8314
|
+
|
|
8315
|
+
/** when 'end_date_condition' is "FIXED_PERIOD", the number of periods to charge before ending */
|
|
8316
|
+
public endDatePeriods: string;
|
|
8317
|
+
|
|
8318
|
+
/** country & currency specific configuration */
|
|
8319
|
+
public tiers: productcatalog.IRatePlanChargeTier[];
|
|
8320
|
+
|
|
8321
|
+
/**
|
|
8322
|
+
* Creates a new RatePlanCharge instance using the specified properties.
|
|
8323
|
+
* @param [properties] Properties to set
|
|
8324
|
+
* @returns RatePlanCharge instance
|
|
8325
|
+
*/
|
|
8326
|
+
public static create(properties?: productcatalog.IRatePlanCharge): productcatalog.RatePlanCharge;
|
|
8327
|
+
|
|
8328
|
+
/**
|
|
8329
|
+
* Encodes the specified RatePlanCharge message. Does not implicitly {@link productcatalog.RatePlanCharge.verify|verify} messages.
|
|
8330
|
+
* @param message RatePlanCharge message or plain object to encode
|
|
8331
|
+
* @param [writer] Writer to encode to
|
|
8332
|
+
* @returns Writer
|
|
8333
|
+
*/
|
|
8334
|
+
public static encode(message: productcatalog.IRatePlanCharge, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8335
|
+
|
|
8336
|
+
/**
|
|
8337
|
+
* Encodes the specified RatePlanCharge message, length delimited. Does not implicitly {@link productcatalog.RatePlanCharge.verify|verify} messages.
|
|
8338
|
+
* @param message RatePlanCharge message or plain object to encode
|
|
8339
|
+
* @param [writer] Writer to encode to
|
|
8340
|
+
* @returns Writer
|
|
8341
|
+
*/
|
|
8342
|
+
public static encodeDelimited(message: productcatalog.IRatePlanCharge, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8343
|
+
|
|
8344
|
+
/**
|
|
8345
|
+
* Decodes a RatePlanCharge message from the specified reader or buffer.
|
|
8346
|
+
* @param reader Reader or buffer to decode from
|
|
8347
|
+
* @param [length] Message length if known beforehand
|
|
8348
|
+
* @returns RatePlanCharge
|
|
8349
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8350
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8351
|
+
*/
|
|
8352
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): productcatalog.RatePlanCharge;
|
|
8353
|
+
|
|
8354
|
+
/**
|
|
8355
|
+
* Decodes a RatePlanCharge message from the specified reader or buffer, length delimited.
|
|
8356
|
+
* @param reader Reader or buffer to decode from
|
|
8357
|
+
* @returns RatePlanCharge
|
|
8358
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8359
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8360
|
+
*/
|
|
8361
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): productcatalog.RatePlanCharge;
|
|
8362
|
+
|
|
8363
|
+
/**
|
|
8364
|
+
* Verifies a RatePlanCharge message.
|
|
8365
|
+
* @param message Plain object to verify
|
|
8366
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8367
|
+
*/
|
|
8368
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8369
|
+
|
|
8370
|
+
/**
|
|
8371
|
+
* Creates a RatePlanCharge message from a plain object. Also converts values to their respective internal types.
|
|
8372
|
+
* @param object Plain object
|
|
8373
|
+
* @returns RatePlanCharge
|
|
8374
|
+
*/
|
|
8375
|
+
public static fromObject(object: { [k: string]: any }): productcatalog.RatePlanCharge;
|
|
8376
|
+
|
|
8377
|
+
/**
|
|
8378
|
+
* Creates a plain object from a RatePlanCharge message. Also converts values to other types if specified.
|
|
8379
|
+
* @param message RatePlanCharge
|
|
8380
|
+
* @param [options] Conversion options
|
|
8381
|
+
* @returns Plain object
|
|
8382
|
+
*/
|
|
8383
|
+
public static toObject(message: productcatalog.RatePlanCharge, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8384
|
+
|
|
8385
|
+
/**
|
|
8386
|
+
* Converts this RatePlanCharge to JSON.
|
|
8387
|
+
* @returns JSON object
|
|
8388
|
+
*/
|
|
8389
|
+
public toJSON(): { [k: string]: any };
|
|
8390
|
+
}
|
|
8391
|
+
|
|
8392
|
+
/** Properties of a RatePlanChargeTier. */
|
|
8393
|
+
interface IRatePlanChargeTier {
|
|
8394
|
+
|
|
8395
|
+
/** 3-letter currency code, eg. USD, MXN, AUD, EUR, etc... */
|
|
8396
|
+
currency?: (string|null);
|
|
8397
|
+
|
|
8398
|
+
/** 2-letter country code, eg. US, CA, IN */
|
|
8399
|
+
country?: (string|null);
|
|
8400
|
+
|
|
8401
|
+
/** discount amount if the charge_model is DISCOUNT_FIXED */
|
|
8402
|
+
discountAmount?: (number|null);
|
|
8403
|
+
|
|
8404
|
+
/** discount percentage if the charge_model is DISCOUNT_PCT */
|
|
8405
|
+
discountPercent?: (number|null);
|
|
8406
|
+
|
|
8407
|
+
/** amount to be charged if charge_model is "FLAT_FEE" */
|
|
8408
|
+
listPrice?: (number|null);
|
|
8409
|
+
}
|
|
8410
|
+
|
|
8411
|
+
/** Represents a RatePlanChargeTier. */
|
|
8412
|
+
class RatePlanChargeTier implements IRatePlanChargeTier {
|
|
8413
|
+
|
|
8414
|
+
/**
|
|
8415
|
+
* Constructs a new RatePlanChargeTier.
|
|
8416
|
+
* @param [properties] Properties to set
|
|
8417
|
+
*/
|
|
8418
|
+
constructor(properties?: productcatalog.IRatePlanChargeTier);
|
|
8419
|
+
|
|
8420
|
+
/** 3-letter currency code, eg. USD, MXN, AUD, EUR, etc... */
|
|
8421
|
+
public currency: string;
|
|
8422
|
+
|
|
8423
|
+
/** 2-letter country code, eg. US, CA, IN */
|
|
8424
|
+
public country: string;
|
|
8425
|
+
|
|
8426
|
+
/** discount amount if the charge_model is DISCOUNT_FIXED */
|
|
8427
|
+
public discountAmount: number;
|
|
8428
|
+
|
|
8429
|
+
/** discount percentage if the charge_model is DISCOUNT_PCT */
|
|
8430
|
+
public discountPercent: number;
|
|
8431
|
+
|
|
8432
|
+
/** amount to be charged if charge_model is "FLAT_FEE" */
|
|
8433
|
+
public listPrice: number;
|
|
8434
|
+
|
|
8435
|
+
/**
|
|
8436
|
+
* Creates a new RatePlanChargeTier instance using the specified properties.
|
|
8437
|
+
* @param [properties] Properties to set
|
|
8438
|
+
* @returns RatePlanChargeTier instance
|
|
8439
|
+
*/
|
|
8440
|
+
public static create(properties?: productcatalog.IRatePlanChargeTier): productcatalog.RatePlanChargeTier;
|
|
8441
|
+
|
|
8442
|
+
/**
|
|
8443
|
+
* Encodes the specified RatePlanChargeTier message. Does not implicitly {@link productcatalog.RatePlanChargeTier.verify|verify} messages.
|
|
8444
|
+
* @param message RatePlanChargeTier message or plain object to encode
|
|
8445
|
+
* @param [writer] Writer to encode to
|
|
8446
|
+
* @returns Writer
|
|
8447
|
+
*/
|
|
8448
|
+
public static encode(message: productcatalog.IRatePlanChargeTier, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8449
|
+
|
|
8450
|
+
/**
|
|
8451
|
+
* Encodes the specified RatePlanChargeTier message, length delimited. Does not implicitly {@link productcatalog.RatePlanChargeTier.verify|verify} messages.
|
|
8452
|
+
* @param message RatePlanChargeTier message or plain object to encode
|
|
8453
|
+
* @param [writer] Writer to encode to
|
|
8454
|
+
* @returns Writer
|
|
8455
|
+
*/
|
|
8456
|
+
public static encodeDelimited(message: productcatalog.IRatePlanChargeTier, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8457
|
+
|
|
8458
|
+
/**
|
|
8459
|
+
* Decodes a RatePlanChargeTier message from the specified reader or buffer.
|
|
8460
|
+
* @param reader Reader or buffer to decode from
|
|
8461
|
+
* @param [length] Message length if known beforehand
|
|
8462
|
+
* @returns RatePlanChargeTier
|
|
8463
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8464
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8465
|
+
*/
|
|
8466
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): productcatalog.RatePlanChargeTier;
|
|
8467
|
+
|
|
8468
|
+
/**
|
|
8469
|
+
* Decodes a RatePlanChargeTier message from the specified reader or buffer, length delimited.
|
|
8470
|
+
* @param reader Reader or buffer to decode from
|
|
8471
|
+
* @returns RatePlanChargeTier
|
|
8472
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8473
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8474
|
+
*/
|
|
8475
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): productcatalog.RatePlanChargeTier;
|
|
8476
|
+
|
|
8477
|
+
/**
|
|
8478
|
+
* Verifies a RatePlanChargeTier message.
|
|
8479
|
+
* @param message Plain object to verify
|
|
8480
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8481
|
+
*/
|
|
8482
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8483
|
+
|
|
8484
|
+
/**
|
|
8485
|
+
* Creates a RatePlanChargeTier message from a plain object. Also converts values to their respective internal types.
|
|
8486
|
+
* @param object Plain object
|
|
8487
|
+
* @returns RatePlanChargeTier
|
|
8488
|
+
*/
|
|
8489
|
+
public static fromObject(object: { [k: string]: any }): productcatalog.RatePlanChargeTier;
|
|
8490
|
+
|
|
8491
|
+
/**
|
|
8492
|
+
* Creates a plain object from a RatePlanChargeTier message. Also converts values to other types if specified.
|
|
8493
|
+
* @param message RatePlanChargeTier
|
|
8494
|
+
* @param [options] Conversion options
|
|
8495
|
+
* @returns Plain object
|
|
8496
|
+
*/
|
|
8497
|
+
public static toObject(message: productcatalog.RatePlanChargeTier, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8498
|
+
|
|
8499
|
+
/**
|
|
8500
|
+
* Converts this RatePlanChargeTier to JSON.
|
|
8501
|
+
* @returns JSON object
|
|
8502
|
+
*/
|
|
8503
|
+
public toJSON(): { [k: string]: any };
|
|
8504
|
+
}
|
|
8505
|
+
|
|
8506
|
+
/** ProductSkuPlatform enum. */
|
|
8507
|
+
enum ProductSkuPlatform {
|
|
8508
|
+
PLATFORM_UNKNOWN = 0,
|
|
8509
|
+
PLATFORM_APPLE = 1,
|
|
8510
|
+
PLATFORM_GOOGLE = 2,
|
|
8511
|
+
PLATFORM_HEADSPACE = 3,
|
|
8512
|
+
PLATFORM_SPOTIFY = 4,
|
|
8513
|
+
PLATFORM_ZUORA = 5,
|
|
8514
|
+
PLATFORM_B2B_ORG = 6
|
|
8515
|
+
}
|
|
8516
|
+
|
|
8517
|
+
/** ProductSkuBillingCategory enum. */
|
|
8518
|
+
enum ProductSkuBillingCategory {
|
|
8519
|
+
BC_UNKNOWN = 0,
|
|
8520
|
+
BC_GIFT_CODE = 1,
|
|
8521
|
+
BC_GIFT_PURCHASE = 2,
|
|
8522
|
+
BC_FREE_CODE = 3,
|
|
8523
|
+
BC_FREE_TRIAL = 4,
|
|
8524
|
+
BC_PARTNER_PAID = 5,
|
|
8525
|
+
BC_DIRECT = 6
|
|
8526
|
+
}
|
|
8527
|
+
|
|
8528
|
+
/** ProductSkuCalendarPeriod enum. */
|
|
8529
|
+
enum ProductSkuCalendarPeriod {
|
|
8530
|
+
CP_UNKNOWN = 0,
|
|
8531
|
+
CP_DAY = 1,
|
|
8532
|
+
CP_MONTH = 2,
|
|
8533
|
+
CP_YEAR = 3,
|
|
8534
|
+
CP_LIFETIME = 4,
|
|
8535
|
+
CP_ONE_TIME = 5,
|
|
8536
|
+
CP_HALF_YEAR = 7,
|
|
8537
|
+
CP_TWO_YEARS = 8,
|
|
8538
|
+
CP_FIVE_YEARS = 9
|
|
8539
|
+
}
|
|
8540
|
+
|
|
8541
|
+
/** ProductSkuChargeModel enum. */
|
|
8542
|
+
enum ProductSkuChargeModel {
|
|
8543
|
+
CM_UNKNOWN = 0,
|
|
8544
|
+
CM_FLAT_FEE = 1,
|
|
8545
|
+
CM_DISCOUNT_FIXED = 2,
|
|
8546
|
+
CM_DISCOUNT_PERCENT = 3
|
|
8547
|
+
}
|
|
8548
|
+
|
|
8549
|
+
/** ProductSkuEndDateCondition enum. */
|
|
8550
|
+
enum ProductSkuEndDateCondition {
|
|
8551
|
+
EDC_UNKNOWN = 0,
|
|
8552
|
+
EDC_END_OF_SUBSCRIPTION = 1,
|
|
8553
|
+
EDC_FIXED_NUM_PERIODS = 2,
|
|
8554
|
+
EDC_ONE_TIME = 3
|
|
8555
|
+
}
|
|
8556
|
+
|
|
8557
|
+
/** ProductSkuTag enum. */
|
|
8558
|
+
enum ProductSkuTag {
|
|
8559
|
+
TAG_UNKNOWN = 0,
|
|
8560
|
+
TAG_STUDENT = 1,
|
|
8561
|
+
TAG_FAMILY = 2
|
|
8562
|
+
}
|
|
8563
|
+
}
|
|
8564
|
+
|
|
7843
8565
|
/** Namespace b2b. */
|
|
7844
8566
|
export namespace b2b {
|
|
7845
8567
|
|
|
@@ -27799,6 +28521,9 @@ export interface IEligibilityFileProcessed {
|
|
|
27799
28521
|
|
|
27800
28522
|
/** EligibilityFileProcessed numMembersProcessed */
|
|
27801
28523
|
numMembersProcessed?: (number|null);
|
|
28524
|
+
|
|
28525
|
+
/** EligibilityFileProcessed dashboardUserId */
|
|
28526
|
+
dashboardUserId?: (number|null);
|
|
27802
28527
|
}
|
|
27803
28528
|
|
|
27804
28529
|
/** Represents an EligibilityFileProcessed. */
|
|
@@ -27843,6 +28568,9 @@ export class EligibilityFileProcessed implements IEligibilityFileProcessed {
|
|
|
27843
28568
|
/** EligibilityFileProcessed numMembersProcessed. */
|
|
27844
28569
|
public numMembersProcessed: number;
|
|
27845
28570
|
|
|
28571
|
+
/** EligibilityFileProcessed dashboardUserId. */
|
|
28572
|
+
public dashboardUserId: number;
|
|
28573
|
+
|
|
27846
28574
|
/**
|
|
27847
28575
|
* Creates a new EligibilityFileProcessed instance using the specified properties.
|
|
27848
28576
|
* @param [properties] Properties to set
|
|
@@ -36854,6 +37582,186 @@ export class ExperimentAccessGroupMapDeleted implements IExperimentAccessGroupMa
|
|
|
36854
37582
|
public toJSON(): { [k: string]: any };
|
|
36855
37583
|
}
|
|
36856
37584
|
|
|
37585
|
+
/** Properties of a ProductSkuCreated. */
|
|
37586
|
+
export interface IProductSkuCreated {
|
|
37587
|
+
|
|
37588
|
+
/** ProductSkuCreated productSku */
|
|
37589
|
+
productSku?: (productcatalog.IProductSku|null);
|
|
37590
|
+
}
|
|
37591
|
+
|
|
37592
|
+
/** Represents a ProductSkuCreated. */
|
|
37593
|
+
export class ProductSkuCreated implements IProductSkuCreated {
|
|
37594
|
+
|
|
37595
|
+
/**
|
|
37596
|
+
* Constructs a new ProductSkuCreated.
|
|
37597
|
+
* @param [properties] Properties to set
|
|
37598
|
+
*/
|
|
37599
|
+
constructor(properties?: IProductSkuCreated);
|
|
37600
|
+
|
|
37601
|
+
/** ProductSkuCreated productSku. */
|
|
37602
|
+
public productSku?: (productcatalog.IProductSku|null);
|
|
37603
|
+
|
|
37604
|
+
/**
|
|
37605
|
+
* Creates a new ProductSkuCreated instance using the specified properties.
|
|
37606
|
+
* @param [properties] Properties to set
|
|
37607
|
+
* @returns ProductSkuCreated instance
|
|
37608
|
+
*/
|
|
37609
|
+
public static create(properties?: IProductSkuCreated): ProductSkuCreated;
|
|
37610
|
+
|
|
37611
|
+
/**
|
|
37612
|
+
* Encodes the specified ProductSkuCreated message. Does not implicitly {@link ProductSkuCreated.verify|verify} messages.
|
|
37613
|
+
* @param message ProductSkuCreated message or plain object to encode
|
|
37614
|
+
* @param [writer] Writer to encode to
|
|
37615
|
+
* @returns Writer
|
|
37616
|
+
*/
|
|
37617
|
+
public static encode(message: IProductSkuCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37618
|
+
|
|
37619
|
+
/**
|
|
37620
|
+
* Encodes the specified ProductSkuCreated message, length delimited. Does not implicitly {@link ProductSkuCreated.verify|verify} messages.
|
|
37621
|
+
* @param message ProductSkuCreated message or plain object to encode
|
|
37622
|
+
* @param [writer] Writer to encode to
|
|
37623
|
+
* @returns Writer
|
|
37624
|
+
*/
|
|
37625
|
+
public static encodeDelimited(message: IProductSkuCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37626
|
+
|
|
37627
|
+
/**
|
|
37628
|
+
* Decodes a ProductSkuCreated message from the specified reader or buffer.
|
|
37629
|
+
* @param reader Reader or buffer to decode from
|
|
37630
|
+
* @param [length] Message length if known beforehand
|
|
37631
|
+
* @returns ProductSkuCreated
|
|
37632
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37633
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37634
|
+
*/
|
|
37635
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProductSkuCreated;
|
|
37636
|
+
|
|
37637
|
+
/**
|
|
37638
|
+
* Decodes a ProductSkuCreated message from the specified reader or buffer, length delimited.
|
|
37639
|
+
* @param reader Reader or buffer to decode from
|
|
37640
|
+
* @returns ProductSkuCreated
|
|
37641
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37642
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37643
|
+
*/
|
|
37644
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProductSkuCreated;
|
|
37645
|
+
|
|
37646
|
+
/**
|
|
37647
|
+
* Verifies a ProductSkuCreated message.
|
|
37648
|
+
* @param message Plain object to verify
|
|
37649
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
37650
|
+
*/
|
|
37651
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
37652
|
+
|
|
37653
|
+
/**
|
|
37654
|
+
* Creates a ProductSkuCreated message from a plain object. Also converts values to their respective internal types.
|
|
37655
|
+
* @param object Plain object
|
|
37656
|
+
* @returns ProductSkuCreated
|
|
37657
|
+
*/
|
|
37658
|
+
public static fromObject(object: { [k: string]: any }): ProductSkuCreated;
|
|
37659
|
+
|
|
37660
|
+
/**
|
|
37661
|
+
* Creates a plain object from a ProductSkuCreated message. Also converts values to other types if specified.
|
|
37662
|
+
* @param message ProductSkuCreated
|
|
37663
|
+
* @param [options] Conversion options
|
|
37664
|
+
* @returns Plain object
|
|
37665
|
+
*/
|
|
37666
|
+
public static toObject(message: ProductSkuCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
37667
|
+
|
|
37668
|
+
/**
|
|
37669
|
+
* Converts this ProductSkuCreated to JSON.
|
|
37670
|
+
* @returns JSON object
|
|
37671
|
+
*/
|
|
37672
|
+
public toJSON(): { [k: string]: any };
|
|
37673
|
+
}
|
|
37674
|
+
|
|
37675
|
+
/** Properties of a ProductSkuVersioned. */
|
|
37676
|
+
export interface IProductSkuVersioned {
|
|
37677
|
+
|
|
37678
|
+
/** ProductSkuVersioned productSku */
|
|
37679
|
+
productSku?: (productcatalog.IProductSku|null);
|
|
37680
|
+
}
|
|
37681
|
+
|
|
37682
|
+
/** Represents a ProductSkuVersioned. */
|
|
37683
|
+
export class ProductSkuVersioned implements IProductSkuVersioned {
|
|
37684
|
+
|
|
37685
|
+
/**
|
|
37686
|
+
* Constructs a new ProductSkuVersioned.
|
|
37687
|
+
* @param [properties] Properties to set
|
|
37688
|
+
*/
|
|
37689
|
+
constructor(properties?: IProductSkuVersioned);
|
|
37690
|
+
|
|
37691
|
+
/** ProductSkuVersioned productSku. */
|
|
37692
|
+
public productSku?: (productcatalog.IProductSku|null);
|
|
37693
|
+
|
|
37694
|
+
/**
|
|
37695
|
+
* Creates a new ProductSkuVersioned instance using the specified properties.
|
|
37696
|
+
* @param [properties] Properties to set
|
|
37697
|
+
* @returns ProductSkuVersioned instance
|
|
37698
|
+
*/
|
|
37699
|
+
public static create(properties?: IProductSkuVersioned): ProductSkuVersioned;
|
|
37700
|
+
|
|
37701
|
+
/**
|
|
37702
|
+
* Encodes the specified ProductSkuVersioned message. Does not implicitly {@link ProductSkuVersioned.verify|verify} messages.
|
|
37703
|
+
* @param message ProductSkuVersioned message or plain object to encode
|
|
37704
|
+
* @param [writer] Writer to encode to
|
|
37705
|
+
* @returns Writer
|
|
37706
|
+
*/
|
|
37707
|
+
public static encode(message: IProductSkuVersioned, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37708
|
+
|
|
37709
|
+
/**
|
|
37710
|
+
* Encodes the specified ProductSkuVersioned message, length delimited. Does not implicitly {@link ProductSkuVersioned.verify|verify} messages.
|
|
37711
|
+
* @param message ProductSkuVersioned message or plain object to encode
|
|
37712
|
+
* @param [writer] Writer to encode to
|
|
37713
|
+
* @returns Writer
|
|
37714
|
+
*/
|
|
37715
|
+
public static encodeDelimited(message: IProductSkuVersioned, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37716
|
+
|
|
37717
|
+
/**
|
|
37718
|
+
* Decodes a ProductSkuVersioned message from the specified reader or buffer.
|
|
37719
|
+
* @param reader Reader or buffer to decode from
|
|
37720
|
+
* @param [length] Message length if known beforehand
|
|
37721
|
+
* @returns ProductSkuVersioned
|
|
37722
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37723
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37724
|
+
*/
|
|
37725
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProductSkuVersioned;
|
|
37726
|
+
|
|
37727
|
+
/**
|
|
37728
|
+
* Decodes a ProductSkuVersioned message from the specified reader or buffer, length delimited.
|
|
37729
|
+
* @param reader Reader or buffer to decode from
|
|
37730
|
+
* @returns ProductSkuVersioned
|
|
37731
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37732
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37733
|
+
*/
|
|
37734
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProductSkuVersioned;
|
|
37735
|
+
|
|
37736
|
+
/**
|
|
37737
|
+
* Verifies a ProductSkuVersioned message.
|
|
37738
|
+
* @param message Plain object to verify
|
|
37739
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
37740
|
+
*/
|
|
37741
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
37742
|
+
|
|
37743
|
+
/**
|
|
37744
|
+
* Creates a ProductSkuVersioned message from a plain object. Also converts values to their respective internal types.
|
|
37745
|
+
* @param object Plain object
|
|
37746
|
+
* @returns ProductSkuVersioned
|
|
37747
|
+
*/
|
|
37748
|
+
public static fromObject(object: { [k: string]: any }): ProductSkuVersioned;
|
|
37749
|
+
|
|
37750
|
+
/**
|
|
37751
|
+
* Creates a plain object from a ProductSkuVersioned message. Also converts values to other types if specified.
|
|
37752
|
+
* @param message ProductSkuVersioned
|
|
37753
|
+
* @param [options] Conversion options
|
|
37754
|
+
* @returns Plain object
|
|
37755
|
+
*/
|
|
37756
|
+
public static toObject(message: ProductSkuVersioned, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
37757
|
+
|
|
37758
|
+
/**
|
|
37759
|
+
* Converts this ProductSkuVersioned to JSON.
|
|
37760
|
+
* @returns JSON object
|
|
37761
|
+
*/
|
|
37762
|
+
public toJSON(): { [k: string]: any };
|
|
37763
|
+
}
|
|
37764
|
+
|
|
36857
37765
|
/** Properties of a ReferralSignedUp. */
|
|
36858
37766
|
export interface IReferralSignedUp {
|
|
36859
37767
|
|