@devvit/protos 0.10.23-next-2024-07-02-c8b9ec453.0 → 0.10.23-next-2024-07-23-7552e0bd4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +10 -4
- package/index.d.ts.map +1 -1
- package/index.js +8 -1
- package/meta.min.json +257 -155
- package/package.json +7 -7
- package/protos.min.js +2 -2
- package/protos.min.js.map +4 -4
- package/schema/devvit/data/api/v1alpha/delivery.proto +0 -11
- package/schema/devvit/dev_portal/app/app.proto +0 -7
- package/schema/devvit/dev_portal/app/info/app_info.proto +2 -3
- package/schema/devvit/plugin/assetresolver/assetresolver.proto +0 -2
- package/schema/devvit/plugin/buildpack/buildpack_common.proto +0 -10
- package/schema/devvit/plugin/redditapi/common/common_msg.proto +0 -18
- package/schema/devvit/plugin/redditapi/listings/listings_svc.proto +8 -4
- package/schema/devvit/plugin/redditapi/moderation/moderation_svc.proto +0 -17
- package/schema/devvit/reddit/v2alpha/postv2.proto +0 -4
- package/schema/devvit/reddit/v2alpha/userv2.proto +0 -1
- package/schema/devvit/runtime/bundle.proto +0 -9
- package/schema/devvit/ui/block_kit/v1beta/ui.proto +0 -3
- package/schema/devvit/ui/events/v1alpha/event.proto +4 -18
- package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts +0 -80
- package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts.map +1 -1
- package/types/devvit/dev_portal/app/app.d.ts +0 -6
- package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
- package/types/devvit/dev_portal/app/app.js +1 -52
- package/types/devvit/dev_portal/app/info/app_info.d.ts +1 -2
- package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
- package/types/devvit/dev_portal/app/info/app_info.js +0 -15
- package/types/devvit/dev_portal/dev_portal.d.ts +1 -59
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
- package/types/devvit/gateway/resolvers.d.ts +0 -8
- package/types/devvit/gateway/resolvers.d.ts.map +1 -1
- package/types/devvit/gateway/v1alpha/triggers.d.ts +0 -168
- package/types/devvit/gateway/v1alpha/triggers.d.ts.map +1 -1
- package/types/devvit/plugin/assetresolver/assetresolver.d.ts +0 -2
- package/types/devvit/plugin/assetresolver/assetresolver.d.ts.map +1 -1
- package/types/devvit/plugin/assetresolver/assetresolver.js +2 -18
- package/types/devvit/plugin/buildpack/buildpack.d.ts +0 -16
- package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts +0 -23
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.js +1 -125
- package/types/devvit/plugin/linker/linker.d.ts +0 -8
- package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
- package/types/devvit/plugin/linker/resolver.d.ts +0 -8
- package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/common/common_msg.d.ts +0 -20
- package/types/devvit/plugin/redditapi/common/common_msg.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/common/common_msg.js +1 -41
- package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +10 -6
- package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/listings/listings_svc.js +326 -4
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.js +17 -146
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +8 -8
- package/types/devvit/reddit/v2alpha/postv2.d.ts +0 -3
- package/types/devvit/reddit/v2alpha/postv2.d.ts.map +1 -1
- package/types/devvit/reddit/v2alpha/postv2.js +0 -32
- package/types/devvit/reddit/v2alpha/userv2.d.ts +0 -1
- package/types/devvit/reddit/v2alpha/userv2.d.ts.map +1 -1
- package/types/devvit/reddit/v2alpha/userv2.js +0 -15
- package/types/devvit/runtime/actor/bootstrap.d.ts +0 -8
- package/types/devvit/runtime/actor/bootstrap.d.ts.map +1 -1
- package/types/devvit/runtime/actor/runtime.d.ts +0 -8
- package/types/devvit/runtime/actor/runtime.d.ts.map +1 -1
- package/types/devvit/runtime/actor/supervisor.d.ts +0 -8
- package/types/devvit/runtime/actor/supervisor.d.ts.map +1 -1
- package/types/devvit/runtime/bundle.d.ts +0 -25
- package/types/devvit/runtime/bundle.d.ts.map +1 -1
- package/types/devvit/runtime/bundle.js +0 -117
- package/types/devvit/service/bundle_service.d.ts +0 -16
- package/types/devvit/service/bundle_service.d.ts.map +1 -1
- package/types/devvit/ui/block_kit/v1beta/ui.d.ts +0 -3
- package/types/devvit/ui/block_kit/v1beta/ui.d.ts.map +1 -1
- package/types/devvit/ui/events/v1alpha/event.d.ts +5 -15
- package/types/devvit/ui/events/v1alpha/event.d.ts.map +1 -1
- package/types/devvit/ui/events/v1alpha/event.js +15 -58
- package/types/google/protobuf/descriptor.d.ts +7 -56
- package/types/google/protobuf/descriptor.d.ts.map +1 -1
- package/types/google/protobuf/descriptor.js +12 -179
- package/schema/devvit/actor/payments/v1alpha/payments.proto +0 -44
- package/schema/devvit/payments/v1alpha/common.proto +0 -13
- package/schema/devvit/payments/v1alpha/order.proto +0 -45
- package/schema/devvit/payments/v1alpha/product.proto +0 -38
- package/schema/devvit/plugin/payments/v1alpha/payments.proto +0 -62
- package/types/devvit/actor/payments/v1alpha/payments.d.ts +0 -168
- package/types/devvit/actor/payments/v1alpha/payments.d.ts.map +0 -1
- package/types/devvit/actor/payments/v1alpha/payments.js +0 -273
- package/types/devvit/payments/v1alpha/common.d.ts +0 -15
- package/types/devvit/payments/v1alpha/common.d.ts.map +0 -1
- package/types/devvit/payments/v1alpha/common.js +0 -44
- package/types/devvit/payments/v1alpha/order.d.ts +0 -50
- package/types/devvit/payments/v1alpha/order.d.ts.map +0 -1
- package/types/devvit/payments/v1alpha/order.js +0 -220
- package/types/devvit/payments/v1alpha/product.d.ts +0 -68
- package/types/devvit/payments/v1alpha/product.d.ts.map +0 -1
- package/types/devvit/payments/v1alpha/product.js +0 -300
- package/types/devvit/plugin/payments/v1alpha/payments.d.ts +0 -249
- package/types/devvit/plugin/payments/v1alpha/payments.d.ts.map +0 -1
- package/types/devvit/plugin/payments/v1alpha/payments.js +0 -673
@@ -1,168 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* #payments.ts
|
3
|
-
*
|
4
|
-
* @packageDocumentation
|
5
|
-
*/
|
6
|
-
import _m0 from 'protobufjs/minimal.js';
|
7
|
-
import { Metadata } from "../../../../../lib/Types.js";
|
8
|
-
import { Order } from '../../../payments/v1alpha/order.js';
|
9
|
-
export interface OrderProcessing {
|
10
|
-
order?: Order | undefined;
|
11
|
-
}
|
12
|
-
export interface OrderRefund {
|
13
|
-
order?: Order | undefined;
|
14
|
-
}
|
15
|
-
/**
|
16
|
-
* ProcessingHandlerResult contains whether or not the order is acknowledged
|
17
|
-
* or rejected. This can also be empty indicating that the developer will
|
18
|
-
* acknowledge the order asynchnously, but not outright reject it now.
|
19
|
-
*/
|
20
|
-
export interface ProcessingHandlerResult {
|
21
|
-
/** the order has been fulfilled */
|
22
|
-
acknowledged?: boolean | undefined;
|
23
|
-
/** the order was rejected with a reason */
|
24
|
-
rejectionReason?: string | undefined;
|
25
|
-
}
|
26
|
-
/** RefundHandlerResult is empty. Placeholder for future functionality */
|
27
|
-
export interface RefundHandlerResult {
|
28
|
-
}
|
29
|
-
export declare const OrderProcessing: {
|
30
|
-
$type: "devvit.actor.payments.v1alpha.OrderProcessing";
|
31
|
-
encode(message: OrderProcessing, writer?: _m0.Writer): _m0.Writer;
|
32
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): OrderProcessing;
|
33
|
-
fromJSON(object: any): OrderProcessing;
|
34
|
-
toJSON(message: OrderProcessing): unknown;
|
35
|
-
create(base?: DeepPartial<OrderProcessing>): OrderProcessing;
|
36
|
-
fromPartial(object: DeepPartial<OrderProcessing>): OrderProcessing;
|
37
|
-
};
|
38
|
-
export declare const OrderRefund: {
|
39
|
-
$type: "devvit.actor.payments.v1alpha.OrderRefund";
|
40
|
-
encode(message: OrderRefund, writer?: _m0.Writer): _m0.Writer;
|
41
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): OrderRefund;
|
42
|
-
fromJSON(object: any): OrderRefund;
|
43
|
-
toJSON(message: OrderRefund): unknown;
|
44
|
-
create(base?: DeepPartial<OrderRefund>): OrderRefund;
|
45
|
-
fromPartial(object: DeepPartial<OrderRefund>): OrderRefund;
|
46
|
-
};
|
47
|
-
export declare const ProcessingHandlerResult: {
|
48
|
-
$type: "devvit.actor.payments.v1alpha.ProcessingHandlerResult";
|
49
|
-
encode(message: ProcessingHandlerResult, writer?: _m0.Writer): _m0.Writer;
|
50
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ProcessingHandlerResult;
|
51
|
-
fromJSON(object: any): ProcessingHandlerResult;
|
52
|
-
toJSON(message: ProcessingHandlerResult): unknown;
|
53
|
-
create(base?: DeepPartial<ProcessingHandlerResult>): ProcessingHandlerResult;
|
54
|
-
fromPartial(object: DeepPartial<ProcessingHandlerResult>): ProcessingHandlerResult;
|
55
|
-
};
|
56
|
-
export declare const RefundHandlerResult: {
|
57
|
-
$type: "devvit.actor.payments.v1alpha.RefundHandlerResult";
|
58
|
-
encode(_: RefundHandlerResult, writer?: _m0.Writer): _m0.Writer;
|
59
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RefundHandlerResult;
|
60
|
-
fromJSON(_: any): RefundHandlerResult;
|
61
|
-
toJSON(_: RefundHandlerResult): unknown;
|
62
|
-
create(base?: DeepPartial<RefundHandlerResult>): RefundHandlerResult;
|
63
|
-
fromPartial(_: DeepPartial<RefundHandlerResult>): RefundHandlerResult;
|
64
|
-
};
|
65
|
-
/**
|
66
|
-
* PaymentProcessor is an actor type for exposing hooks that are triggered
|
67
|
-
* as part of product order flow.
|
68
|
-
*/
|
69
|
-
export interface PaymentProcessor {
|
70
|
-
/**
|
71
|
-
* OnProcessing is called while the order is in-flight by the Payments platform.
|
72
|
-
* This give the opportunity for a developer to acknowlege and order has been
|
73
|
-
* fulfilled or reject it
|
74
|
-
*/
|
75
|
-
OnProcessing(request: OrderProcessing, metadata?: Metadata): Promise<ProcessingHandlerResult>;
|
76
|
-
/**
|
77
|
-
* OnRefund is called when an order is refunded. This happens asynchnously
|
78
|
-
* outside the main order flow
|
79
|
-
*/
|
80
|
-
OnRefund(request: OrderRefund, metadata?: Metadata): Promise<RefundHandlerResult>;
|
81
|
-
}
|
82
|
-
export declare const PaymentProcessorServiceName = "devvit.actor.payments.v1alpha.PaymentProcessor";
|
83
|
-
export declare class PaymentProcessorClientImpl implements PaymentProcessor {
|
84
|
-
private readonly rpc;
|
85
|
-
private readonly service;
|
86
|
-
constructor(rpc: Rpc, opts?: {
|
87
|
-
service?: string;
|
88
|
-
});
|
89
|
-
OnProcessing(request: OrderProcessing, metadata?: Metadata): Promise<ProcessingHandlerResult>;
|
90
|
-
OnRefund(request: OrderRefund, metadata?: Metadata): Promise<RefundHandlerResult>;
|
91
|
-
}
|
92
|
-
/**
|
93
|
-
* PaymentProcessor is an actor type for exposing hooks that are triggered
|
94
|
-
* as part of product order flow.
|
95
|
-
*/
|
96
|
-
export type PaymentProcessorDefinition = typeof PaymentProcessorDefinition;
|
97
|
-
export declare const PaymentProcessorDefinition: {
|
98
|
-
readonly name: "PaymentProcessor";
|
99
|
-
readonly fullName: "devvit.actor.payments.v1alpha.PaymentProcessor";
|
100
|
-
readonly methods: {
|
101
|
-
/**
|
102
|
-
* OnProcessing is called while the order is in-flight by the Payments platform.
|
103
|
-
* This give the opportunity for a developer to acknowlege and order has been
|
104
|
-
* fulfilled or reject it
|
105
|
-
*/
|
106
|
-
readonly onProcessing: {
|
107
|
-
readonly name: "OnProcessing";
|
108
|
-
readonly requestType: {
|
109
|
-
$type: "devvit.actor.payments.v1alpha.OrderProcessing";
|
110
|
-
encode(message: OrderProcessing, writer?: _m0.Writer): _m0.Writer;
|
111
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): OrderProcessing;
|
112
|
-
fromJSON(object: any): OrderProcessing;
|
113
|
-
toJSON(message: OrderProcessing): unknown;
|
114
|
-
create(base?: DeepPartial<OrderProcessing>): OrderProcessing;
|
115
|
-
fromPartial(object: DeepPartial<OrderProcessing>): OrderProcessing;
|
116
|
-
};
|
117
|
-
readonly requestStream: false;
|
118
|
-
readonly responseType: {
|
119
|
-
$type: "devvit.actor.payments.v1alpha.ProcessingHandlerResult";
|
120
|
-
encode(message: ProcessingHandlerResult, writer?: _m0.Writer): _m0.Writer;
|
121
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ProcessingHandlerResult;
|
122
|
-
fromJSON(object: any): ProcessingHandlerResult;
|
123
|
-
toJSON(message: ProcessingHandlerResult): unknown;
|
124
|
-
create(base?: DeepPartial<ProcessingHandlerResult>): ProcessingHandlerResult;
|
125
|
-
fromPartial(object: DeepPartial<ProcessingHandlerResult>): ProcessingHandlerResult;
|
126
|
-
};
|
127
|
-
readonly responseStream: false;
|
128
|
-
readonly options: {};
|
129
|
-
};
|
130
|
-
/**
|
131
|
-
* OnRefund is called when an order is refunded. This happens asynchnously
|
132
|
-
* outside the main order flow
|
133
|
-
*/
|
134
|
-
readonly onRefund: {
|
135
|
-
readonly name: "OnRefund";
|
136
|
-
readonly requestType: {
|
137
|
-
$type: "devvit.actor.payments.v1alpha.OrderRefund";
|
138
|
-
encode(message: OrderRefund, writer?: _m0.Writer): _m0.Writer;
|
139
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): OrderRefund;
|
140
|
-
fromJSON(object: any): OrderRefund;
|
141
|
-
toJSON(message: OrderRefund): unknown;
|
142
|
-
create(base?: DeepPartial<OrderRefund>): OrderRefund;
|
143
|
-
fromPartial(object: DeepPartial<OrderRefund>): OrderRefund;
|
144
|
-
};
|
145
|
-
readonly requestStream: false;
|
146
|
-
readonly responseType: {
|
147
|
-
$type: "devvit.actor.payments.v1alpha.RefundHandlerResult";
|
148
|
-
encode(_: RefundHandlerResult, writer?: _m0.Writer): _m0.Writer;
|
149
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RefundHandlerResult;
|
150
|
-
fromJSON(_: any): RefundHandlerResult;
|
151
|
-
toJSON(_: RefundHandlerResult): unknown;
|
152
|
-
create(base?: DeepPartial<RefundHandlerResult>): RefundHandlerResult;
|
153
|
-
fromPartial(_: DeepPartial<RefundHandlerResult>): RefundHandlerResult;
|
154
|
-
};
|
155
|
-
readonly responseStream: false;
|
156
|
-
readonly options: {};
|
157
|
-
};
|
158
|
-
};
|
159
|
-
};
|
160
|
-
interface Rpc {
|
161
|
-
request(service: string, method: string, data: Uint8Array, metadata?: Metadata): Promise<Uint8Array>;
|
162
|
-
}
|
163
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
164
|
-
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
165
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
166
|
-
} : Partial<T>;
|
167
|
-
export {};
|
168
|
-
//# sourceMappingURL=payments.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/actor/payments/v1alpha/payments.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAE3D,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC,mCAAmC;IACnC,YAAY,CAAC,EACT,OAAO,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S,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
@@ -1,273 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* #payments.ts
|
3
|
-
*
|
4
|
-
* @packageDocumentation
|
5
|
-
*/
|
6
|
-
/* eslint-disable */
|
7
|
-
import _m0 from 'protobufjs/minimal.js';
|
8
|
-
import { messageTypeRegistry } from '../../../../typeRegistry.js';
|
9
|
-
import { Order } from '../../../payments/v1alpha/order.js';
|
10
|
-
function createBaseOrderProcessing() {
|
11
|
-
return { order: undefined };
|
12
|
-
}
|
13
|
-
export const OrderProcessing = {
|
14
|
-
$type: "devvit.actor.payments.v1alpha.OrderProcessing",
|
15
|
-
encode(message, writer = _m0.Writer.create()) {
|
16
|
-
if (message.order !== undefined) {
|
17
|
-
Order.encode(message.order, writer.uint32(10).fork()).ldelim();
|
18
|
-
}
|
19
|
-
return writer;
|
20
|
-
},
|
21
|
-
decode(input, length) {
|
22
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
23
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
24
|
-
const message = createBaseOrderProcessing();
|
25
|
-
while (reader.pos < end) {
|
26
|
-
const tag = reader.uint32();
|
27
|
-
switch (tag >>> 3) {
|
28
|
-
case 1:
|
29
|
-
if (tag !== 10) {
|
30
|
-
break;
|
31
|
-
}
|
32
|
-
message.order = Order.decode(reader, reader.uint32());
|
33
|
-
continue;
|
34
|
-
}
|
35
|
-
if ((tag & 7) === 4 || tag === 0) {
|
36
|
-
break;
|
37
|
-
}
|
38
|
-
reader.skipType(tag & 7);
|
39
|
-
}
|
40
|
-
return message;
|
41
|
-
},
|
42
|
-
fromJSON(object) {
|
43
|
-
return { order: isSet(object.order) ? Order.fromJSON(object.order) : undefined };
|
44
|
-
},
|
45
|
-
toJSON(message) {
|
46
|
-
const obj = {};
|
47
|
-
if (message.order !== undefined) {
|
48
|
-
obj.order = Order.toJSON(message.order);
|
49
|
-
}
|
50
|
-
return obj;
|
51
|
-
},
|
52
|
-
create(base) {
|
53
|
-
return OrderProcessing.fromPartial(base ?? {});
|
54
|
-
},
|
55
|
-
fromPartial(object) {
|
56
|
-
const message = createBaseOrderProcessing();
|
57
|
-
message.order = (object.order !== undefined && object.order !== null) ? Order.fromPartial(object.order) : undefined;
|
58
|
-
return message;
|
59
|
-
},
|
60
|
-
};
|
61
|
-
messageTypeRegistry.set(OrderProcessing.$type, OrderProcessing);
|
62
|
-
function createBaseOrderRefund() {
|
63
|
-
return { order: undefined };
|
64
|
-
}
|
65
|
-
export const OrderRefund = {
|
66
|
-
$type: "devvit.actor.payments.v1alpha.OrderRefund",
|
67
|
-
encode(message, writer = _m0.Writer.create()) {
|
68
|
-
if (message.order !== undefined) {
|
69
|
-
Order.encode(message.order, writer.uint32(10).fork()).ldelim();
|
70
|
-
}
|
71
|
-
return writer;
|
72
|
-
},
|
73
|
-
decode(input, length) {
|
74
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
75
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
76
|
-
const message = createBaseOrderRefund();
|
77
|
-
while (reader.pos < end) {
|
78
|
-
const tag = reader.uint32();
|
79
|
-
switch (tag >>> 3) {
|
80
|
-
case 1:
|
81
|
-
if (tag !== 10) {
|
82
|
-
break;
|
83
|
-
}
|
84
|
-
message.order = Order.decode(reader, reader.uint32());
|
85
|
-
continue;
|
86
|
-
}
|
87
|
-
if ((tag & 7) === 4 || tag === 0) {
|
88
|
-
break;
|
89
|
-
}
|
90
|
-
reader.skipType(tag & 7);
|
91
|
-
}
|
92
|
-
return message;
|
93
|
-
},
|
94
|
-
fromJSON(object) {
|
95
|
-
return { order: isSet(object.order) ? Order.fromJSON(object.order) : undefined };
|
96
|
-
},
|
97
|
-
toJSON(message) {
|
98
|
-
const obj = {};
|
99
|
-
if (message.order !== undefined) {
|
100
|
-
obj.order = Order.toJSON(message.order);
|
101
|
-
}
|
102
|
-
return obj;
|
103
|
-
},
|
104
|
-
create(base) {
|
105
|
-
return OrderRefund.fromPartial(base ?? {});
|
106
|
-
},
|
107
|
-
fromPartial(object) {
|
108
|
-
const message = createBaseOrderRefund();
|
109
|
-
message.order = (object.order !== undefined && object.order !== null) ? Order.fromPartial(object.order) : undefined;
|
110
|
-
return message;
|
111
|
-
},
|
112
|
-
};
|
113
|
-
messageTypeRegistry.set(OrderRefund.$type, OrderRefund);
|
114
|
-
function createBaseProcessingHandlerResult() {
|
115
|
-
return { acknowledged: undefined, rejectionReason: undefined };
|
116
|
-
}
|
117
|
-
export const ProcessingHandlerResult = {
|
118
|
-
$type: "devvit.actor.payments.v1alpha.ProcessingHandlerResult",
|
119
|
-
encode(message, writer = _m0.Writer.create()) {
|
120
|
-
if (message.acknowledged !== undefined) {
|
121
|
-
writer.uint32(8).bool(message.acknowledged);
|
122
|
-
}
|
123
|
-
if (message.rejectionReason !== undefined) {
|
124
|
-
writer.uint32(18).string(message.rejectionReason);
|
125
|
-
}
|
126
|
-
return writer;
|
127
|
-
},
|
128
|
-
decode(input, length) {
|
129
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
130
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
131
|
-
const message = createBaseProcessingHandlerResult();
|
132
|
-
while (reader.pos < end) {
|
133
|
-
const tag = reader.uint32();
|
134
|
-
switch (tag >>> 3) {
|
135
|
-
case 1:
|
136
|
-
if (tag !== 8) {
|
137
|
-
break;
|
138
|
-
}
|
139
|
-
message.acknowledged = reader.bool();
|
140
|
-
continue;
|
141
|
-
case 2:
|
142
|
-
if (tag !== 18) {
|
143
|
-
break;
|
144
|
-
}
|
145
|
-
message.rejectionReason = reader.string();
|
146
|
-
continue;
|
147
|
-
}
|
148
|
-
if ((tag & 7) === 4 || tag === 0) {
|
149
|
-
break;
|
150
|
-
}
|
151
|
-
reader.skipType(tag & 7);
|
152
|
-
}
|
153
|
-
return message;
|
154
|
-
},
|
155
|
-
fromJSON(object) {
|
156
|
-
return {
|
157
|
-
acknowledged: isSet(object.acknowledged) ? globalThis.Boolean(object.acknowledged) : undefined,
|
158
|
-
rejectionReason: isSet(object.rejectionReason) ? globalThis.String(object.rejectionReason) : undefined,
|
159
|
-
};
|
160
|
-
},
|
161
|
-
toJSON(message) {
|
162
|
-
const obj = {};
|
163
|
-
if (message.acknowledged !== undefined) {
|
164
|
-
obj.acknowledged = message.acknowledged;
|
165
|
-
}
|
166
|
-
if (message.rejectionReason !== undefined) {
|
167
|
-
obj.rejectionReason = message.rejectionReason;
|
168
|
-
}
|
169
|
-
return obj;
|
170
|
-
},
|
171
|
-
create(base) {
|
172
|
-
return ProcessingHandlerResult.fromPartial(base ?? {});
|
173
|
-
},
|
174
|
-
fromPartial(object) {
|
175
|
-
const message = createBaseProcessingHandlerResult();
|
176
|
-
message.acknowledged = object.acknowledged ?? undefined;
|
177
|
-
message.rejectionReason = object.rejectionReason ?? undefined;
|
178
|
-
return message;
|
179
|
-
},
|
180
|
-
};
|
181
|
-
messageTypeRegistry.set(ProcessingHandlerResult.$type, ProcessingHandlerResult);
|
182
|
-
function createBaseRefundHandlerResult() {
|
183
|
-
return {};
|
184
|
-
}
|
185
|
-
export const RefundHandlerResult = {
|
186
|
-
$type: "devvit.actor.payments.v1alpha.RefundHandlerResult",
|
187
|
-
encode(_, writer = _m0.Writer.create()) {
|
188
|
-
return writer;
|
189
|
-
},
|
190
|
-
decode(input, length) {
|
191
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
192
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
193
|
-
const message = createBaseRefundHandlerResult();
|
194
|
-
while (reader.pos < end) {
|
195
|
-
const tag = reader.uint32();
|
196
|
-
switch (tag >>> 3) {
|
197
|
-
}
|
198
|
-
if ((tag & 7) === 4 || tag === 0) {
|
199
|
-
break;
|
200
|
-
}
|
201
|
-
reader.skipType(tag & 7);
|
202
|
-
}
|
203
|
-
return message;
|
204
|
-
},
|
205
|
-
fromJSON(_) {
|
206
|
-
return {};
|
207
|
-
},
|
208
|
-
toJSON(_) {
|
209
|
-
const obj = {};
|
210
|
-
return obj;
|
211
|
-
},
|
212
|
-
create(base) {
|
213
|
-
return RefundHandlerResult.fromPartial(base ?? {});
|
214
|
-
},
|
215
|
-
fromPartial(_) {
|
216
|
-
const message = createBaseRefundHandlerResult();
|
217
|
-
return message;
|
218
|
-
},
|
219
|
-
};
|
220
|
-
messageTypeRegistry.set(RefundHandlerResult.$type, RefundHandlerResult);
|
221
|
-
export const PaymentProcessorServiceName = "devvit.actor.payments.v1alpha.PaymentProcessor";
|
222
|
-
export class PaymentProcessorClientImpl {
|
223
|
-
constructor(rpc, opts) {
|
224
|
-
this.service = opts?.service || PaymentProcessorServiceName;
|
225
|
-
this.rpc = rpc;
|
226
|
-
this.OnProcessing = this.OnProcessing.bind(this);
|
227
|
-
this.OnRefund = this.OnRefund.bind(this);
|
228
|
-
}
|
229
|
-
OnProcessing(request, metadata) {
|
230
|
-
const data = OrderProcessing.encode(request).finish();
|
231
|
-
const promise = this.rpc.request(this.service, "OnProcessing", data, metadata);
|
232
|
-
return promise.then((data) => ProcessingHandlerResult.decode(_m0.Reader.create(data)));
|
233
|
-
}
|
234
|
-
OnRefund(request, metadata) {
|
235
|
-
const data = OrderRefund.encode(request).finish();
|
236
|
-
const promise = this.rpc.request(this.service, "OnRefund", data, metadata);
|
237
|
-
return promise.then((data) => RefundHandlerResult.decode(_m0.Reader.create(data)));
|
238
|
-
}
|
239
|
-
}
|
240
|
-
export const PaymentProcessorDefinition = {
|
241
|
-
name: "PaymentProcessor",
|
242
|
-
fullName: "devvit.actor.payments.v1alpha.PaymentProcessor",
|
243
|
-
methods: {
|
244
|
-
/**
|
245
|
-
* OnProcessing is called while the order is in-flight by the Payments platform.
|
246
|
-
* This give the opportunity for a developer to acknowlege and order has been
|
247
|
-
* fulfilled or reject it
|
248
|
-
*/
|
249
|
-
onProcessing: {
|
250
|
-
name: "OnProcessing",
|
251
|
-
requestType: OrderProcessing,
|
252
|
-
requestStream: false,
|
253
|
-
responseType: ProcessingHandlerResult,
|
254
|
-
responseStream: false,
|
255
|
-
options: {},
|
256
|
-
},
|
257
|
-
/**
|
258
|
-
* OnRefund is called when an order is refunded. This happens asynchnously
|
259
|
-
* outside the main order flow
|
260
|
-
*/
|
261
|
-
onRefund: {
|
262
|
-
name: "OnRefund",
|
263
|
-
requestType: OrderRefund,
|
264
|
-
requestStream: false,
|
265
|
-
responseType: RefundHandlerResult,
|
266
|
-
responseStream: false,
|
267
|
-
options: {},
|
268
|
-
},
|
269
|
-
},
|
270
|
-
};
|
271
|
-
function isSet(value) {
|
272
|
-
return value !== null && value !== undefined;
|
273
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* #common.ts
|
3
|
-
*
|
4
|
-
* @packageDocumentation
|
5
|
-
*/
|
6
|
-
/** TODO: we may want to pull this directly from the pay protos via snootobuf */
|
7
|
-
export declare enum Environment {
|
8
|
-
ENVIRONMENT_UNSPECIFIED = 0,
|
9
|
-
ENVIRONMENT_SANDBOX = 1,
|
10
|
-
ENVIRONMENT_PRODUCTION = 2,
|
11
|
-
UNRECOGNIZED = -1
|
12
|
-
}
|
13
|
-
export declare function environmentFromJSON(object: any): Environment;
|
14
|
-
export declare function environmentToJSON(object: Environment): number;
|
15
|
-
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/types/devvit/payments/v1alpha/common.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,gFAAgF;AAChF,oBAAY,WAAW;IACrB,uBAAuB,IAAI;IAC3B,mBAAmB,IAAI;IACvB,sBAAsB,IAAI;IAC1B,YAAY,KAAK;CAClB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,GAAG,GAAG,WAAW,CAgB5D;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAY7D"}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* #common.ts
|
3
|
-
*
|
4
|
-
* @packageDocumentation
|
5
|
-
*/
|
6
|
-
/* eslint-disable */
|
7
|
-
/** TODO: we may want to pull this directly from the pay protos via snootobuf */
|
8
|
-
export var Environment;
|
9
|
-
(function (Environment) {
|
10
|
-
Environment[Environment["ENVIRONMENT_UNSPECIFIED"] = 0] = "ENVIRONMENT_UNSPECIFIED";
|
11
|
-
Environment[Environment["ENVIRONMENT_SANDBOX"] = 1] = "ENVIRONMENT_SANDBOX";
|
12
|
-
Environment[Environment["ENVIRONMENT_PRODUCTION"] = 2] = "ENVIRONMENT_PRODUCTION";
|
13
|
-
Environment[Environment["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
14
|
-
})(Environment || (Environment = {}));
|
15
|
-
export function environmentFromJSON(object) {
|
16
|
-
switch (object) {
|
17
|
-
case 0:
|
18
|
-
case "ENVIRONMENT_UNSPECIFIED":
|
19
|
-
return Environment.ENVIRONMENT_UNSPECIFIED;
|
20
|
-
case 1:
|
21
|
-
case "ENVIRONMENT_SANDBOX":
|
22
|
-
return Environment.ENVIRONMENT_SANDBOX;
|
23
|
-
case 2:
|
24
|
-
case "ENVIRONMENT_PRODUCTION":
|
25
|
-
return Environment.ENVIRONMENT_PRODUCTION;
|
26
|
-
case -1:
|
27
|
-
case "UNRECOGNIZED":
|
28
|
-
default:
|
29
|
-
return Environment.UNRECOGNIZED;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
export function environmentToJSON(object) {
|
33
|
-
switch (object) {
|
34
|
-
case Environment.ENVIRONMENT_UNSPECIFIED:
|
35
|
-
return 0;
|
36
|
-
case Environment.ENVIRONMENT_SANDBOX:
|
37
|
-
return 1;
|
38
|
-
case Environment.ENVIRONMENT_PRODUCTION:
|
39
|
-
return 2;
|
40
|
-
case Environment.UNRECOGNIZED:
|
41
|
-
default:
|
42
|
-
return -1;
|
43
|
-
}
|
44
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* #order.ts
|
3
|
-
*
|
4
|
-
* @packageDocumentation
|
5
|
-
*/
|
6
|
-
import _m0 from 'protobufjs/minimal.js';
|
7
|
-
import { Environment } from './common.js';
|
8
|
-
import { Product } from './product.js';
|
9
|
-
export declare enum OrderStatus {
|
10
|
-
ORDER_STATUS_UNSPECIFIED = 0,
|
11
|
-
ORDER_STATUS_NEW = 1,
|
12
|
-
ORDER_STATUS_CREATED = 2,
|
13
|
-
ORDER_STATUS_PAID = 3,
|
14
|
-
ORDER_STATUS_DELIVERED = 4,
|
15
|
-
ORDER_STATUS_CANCELED = 5,
|
16
|
-
ORDER_STATUS_REVERTED = 6,
|
17
|
-
UNRECOGNIZED = -1
|
18
|
-
}
|
19
|
-
export declare function orderStatusFromJSON(object: any): OrderStatus;
|
20
|
-
export declare function orderStatusToJSON(object: OrderStatus): number;
|
21
|
-
/** Order represents a purchase made by a user */
|
22
|
-
export interface Order {
|
23
|
-
/** a unique identifier for the order */
|
24
|
-
id: string;
|
25
|
-
/** where the order is in its lifecycle */
|
26
|
-
status: OrderStatus;
|
27
|
-
/** when the order was created */
|
28
|
-
createdAt?: Date | undefined;
|
29
|
-
/** when the order was last updated */
|
30
|
-
updatedAt?: Date | undefined;
|
31
|
-
/** the products that were ordered */
|
32
|
-
products: Product[];
|
33
|
-
/** whether or not the order was placed in the development sandbox or production */
|
34
|
-
environment: Environment;
|
35
|
-
}
|
36
|
-
export declare const Order: {
|
37
|
-
$type: "devvit.payments.v1alpha.Order";
|
38
|
-
encode(message: Order, writer?: _m0.Writer): _m0.Writer;
|
39
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Order;
|
40
|
-
fromJSON(object: any): Order;
|
41
|
-
toJSON(message: Order): unknown;
|
42
|
-
create(base?: DeepPartial<Order>): Order;
|
43
|
-
fromPartial(object: DeepPartial<Order>): Order;
|
44
|
-
};
|
45
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
46
|
-
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
47
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
48
|
-
} : Partial<T>;
|
49
|
-
export {};
|
50
|
-
//# sourceMappingURL=order.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../src/types/devvit/payments/v1alpha/order.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAGxC,OAAO,EAAE,WAAW,EAA0C,MAAM,aAAa,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,oBAAY,WAAW;IACrB,wBAAwB,IAAI;IAC5B,gBAAgB,IAAI;IACpB,oBAAoB,IAAI;IACxB,iBAAiB,IAAI;IACrB,sBAAsB,IAAI;IAC1B,qBAAqB,IAAI;IACzB,qBAAqB,IAAI;IACzB,YAAY,KAAK;CAClB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,GAAG,GAAG,WAAW,CA4B5D;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAoB7D;AAED,iDAAiD;AACjD,MAAM,WAAW,KAAK;IACpB,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,MAAM,EAAE,WAAW,CAAC;IACpB,iCAAiC;IACjC,SAAS,CAAC,EACN,IAAI,GACJ,SAAS,CAAC;IACd,sCAAsC;IACtC,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