@getivy/node-sdk 0.1.0-alpha.3 → 0.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/index.d.mts +3 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/index.mjs +3 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/webhooksubscription.d.ts +155 -0
- package/resources/webhooksubscription.d.ts.map +1 -0
- package/resources/webhooksubscription.js +42 -0
- package/resources/webhooksubscription.js.map +1 -0
- package/resources/webhooksubscription.mjs +38 -0
- package/resources/webhooksubscription.mjs.map +1 -0
- package/src/index.ts +29 -0
- package/src/resources/index.ts +13 -0
- package/src/resources/webhooksubscription.ts +353 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.4 (2025-01-29)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/getivy/node-sdk/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** update via SDK Studio ([#10](https://github.com/getivy/node-sdk/issues/10)) ([7d501d6](https://github.com/getivy/node-sdk/commit/7d501d651b25856b2ff13d3553d2c2fb5fdb487a))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.3 (2025-01-29)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/getivy/node-sdk/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
|
package/index.d.mts
CHANGED
|
@@ -15,6 +15,7 @@ import { PayoutCreateParams, PayoutListParams, PayoutListResponse, PayoutRetriev
|
|
|
15
15
|
import { RefundBatchParams, RefundBatchResponse, RefundCreateParams, RefundResponse, Refunds } from "./resources/refunds.js";
|
|
16
16
|
import { PayoutReport, ReportCreateParams, ReportCreateResponse, ReportDownloadParams, ReportRetrieveParams, ReportRetrieveResponse, Reports } from "./resources/reports.js";
|
|
17
17
|
import { Subaccount, SubaccountCreateParams, SubaccountRetrieveParams, Subaccounts } from "./resources/subaccounts.js";
|
|
18
|
+
import { Webhooksubscription, WebhooksubscriptionCreateParams, WebhooksubscriptionCreateResponse, WebhooksubscriptionDeleteParams, WebhooksubscriptionDeleteResponse, WebhooksubscriptionListParams, WebhooksubscriptionListResponse, WebhooksubscriptionPingParams, WebhooksubscriptionPingResponse, WebhooksubscriptionUpdateParams, WebhooksubscriptionUpdateResponse } from "./resources/webhooksubscription.js";
|
|
18
19
|
declare const environments: {
|
|
19
20
|
production: string;
|
|
20
21
|
sandbox: string;
|
|
@@ -115,6 +116,7 @@ export declare class Ivy extends Core.APIClient {
|
|
|
115
116
|
reports: API.Reports;
|
|
116
117
|
subaccounts: API.Subaccounts;
|
|
117
118
|
balance: API.Balance;
|
|
119
|
+
webhooksubscription: API.Webhooksubscription;
|
|
118
120
|
protected defaultQuery(): Core.DefaultQuery | undefined;
|
|
119
121
|
protected defaultHeaders(opts: Core.FinalRequestOptions): Core.Headers;
|
|
120
122
|
protected authHeaders(opts: Core.FinalRequestOptions): Core.Headers;
|
|
@@ -150,6 +152,7 @@ export declare namespace Ivy {
|
|
|
150
152
|
export { Reports as Reports, type PayoutReport as PayoutReport, type ReportCreateResponse as ReportCreateResponse, type ReportRetrieveResponse as ReportRetrieveResponse, type ReportCreateParams as ReportCreateParams, type ReportRetrieveParams as ReportRetrieveParams, type ReportDownloadParams as ReportDownloadParams, };
|
|
151
153
|
export { Subaccounts as Subaccounts, type Subaccount as Subaccount, type SubaccountCreateParams as SubaccountCreateParams, type SubaccountRetrieveParams as SubaccountRetrieveParams, };
|
|
152
154
|
export { Balance as Balance, type BalanceRetrieveResponse as BalanceRetrieveResponse, type BalanceRetrieveParams as BalanceRetrieveParams, };
|
|
155
|
+
export { Webhooksubscription as Webhooksubscription, type WebhooksubscriptionCreateResponse as WebhooksubscriptionCreateResponse, type WebhooksubscriptionUpdateResponse as WebhooksubscriptionUpdateResponse, type WebhooksubscriptionListResponse as WebhooksubscriptionListResponse, type WebhooksubscriptionDeleteResponse as WebhooksubscriptionDeleteResponse, type WebhooksubscriptionPingResponse as WebhooksubscriptionPingResponse, type WebhooksubscriptionCreateParams as WebhooksubscriptionCreateParams, type WebhooksubscriptionUpdateParams as WebhooksubscriptionUpdateParams, type WebhooksubscriptionListParams as WebhooksubscriptionListParams, type WebhooksubscriptionDeleteParams as WebhooksubscriptionDeleteParams, type WebhooksubscriptionPingParams as WebhooksubscriptionPingParams, };
|
|
153
156
|
}
|
|
154
157
|
export { toFile, fileFromPath } from "./uploads.js";
|
|
155
158
|
export { IvyError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.js";
|
package/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { PayoutCreateParams, PayoutListParams, PayoutListResponse, PayoutRetriev
|
|
|
15
15
|
import { RefundBatchParams, RefundBatchResponse, RefundCreateParams, RefundResponse, Refunds } from "./resources/refunds.js";
|
|
16
16
|
import { PayoutReport, ReportCreateParams, ReportCreateResponse, ReportDownloadParams, ReportRetrieveParams, ReportRetrieveResponse, Reports } from "./resources/reports.js";
|
|
17
17
|
import { Subaccount, SubaccountCreateParams, SubaccountRetrieveParams, Subaccounts } from "./resources/subaccounts.js";
|
|
18
|
+
import { Webhooksubscription, WebhooksubscriptionCreateParams, WebhooksubscriptionCreateResponse, WebhooksubscriptionDeleteParams, WebhooksubscriptionDeleteResponse, WebhooksubscriptionListParams, WebhooksubscriptionListResponse, WebhooksubscriptionPingParams, WebhooksubscriptionPingResponse, WebhooksubscriptionUpdateParams, WebhooksubscriptionUpdateResponse } from "./resources/webhooksubscription.js";
|
|
18
19
|
declare const environments: {
|
|
19
20
|
production: string;
|
|
20
21
|
sandbox: string;
|
|
@@ -115,6 +116,7 @@ export declare class Ivy extends Core.APIClient {
|
|
|
115
116
|
reports: API.Reports;
|
|
116
117
|
subaccounts: API.Subaccounts;
|
|
117
118
|
balance: API.Balance;
|
|
119
|
+
webhooksubscription: API.Webhooksubscription;
|
|
118
120
|
protected defaultQuery(): Core.DefaultQuery | undefined;
|
|
119
121
|
protected defaultHeaders(opts: Core.FinalRequestOptions): Core.Headers;
|
|
120
122
|
protected authHeaders(opts: Core.FinalRequestOptions): Core.Headers;
|
|
@@ -150,6 +152,7 @@ export declare namespace Ivy {
|
|
|
150
152
|
export { Reports as Reports, type PayoutReport as PayoutReport, type ReportCreateResponse as ReportCreateResponse, type ReportRetrieveResponse as ReportRetrieveResponse, type ReportCreateParams as ReportCreateParams, type ReportRetrieveParams as ReportRetrieveParams, type ReportDownloadParams as ReportDownloadParams, };
|
|
151
153
|
export { Subaccounts as Subaccounts, type Subaccount as Subaccount, type SubaccountCreateParams as SubaccountCreateParams, type SubaccountRetrieveParams as SubaccountRetrieveParams, };
|
|
152
154
|
export { Balance as Balance, type BalanceRetrieveResponse as BalanceRetrieveResponse, type BalanceRetrieveParams as BalanceRetrieveParams, };
|
|
155
|
+
export { Webhooksubscription as Webhooksubscription, type WebhooksubscriptionCreateResponse as WebhooksubscriptionCreateResponse, type WebhooksubscriptionUpdateResponse as WebhooksubscriptionUpdateResponse, type WebhooksubscriptionListResponse as WebhooksubscriptionListResponse, type WebhooksubscriptionDeleteResponse as WebhooksubscriptionDeleteResponse, type WebhooksubscriptionPingResponse as WebhooksubscriptionPingResponse, type WebhooksubscriptionCreateParams as WebhooksubscriptionCreateParams, type WebhooksubscriptionUpdateParams as WebhooksubscriptionUpdateParams, type WebhooksubscriptionListParams as WebhooksubscriptionListParams, type WebhooksubscriptionDeleteParams as WebhooksubscriptionDeleteParams, type WebhooksubscriptionPingParams as WebhooksubscriptionPingParams, };
|
|
153
156
|
}
|
|
154
157
|
export { toFile, fileFromPath } from "./uploads.js";
|
|
155
158
|
export { IvyError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.js";
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9F,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAC9G,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EACL,eAAe,EACf,2BAA2B,EAC3B,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BA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AI,iCAAiC,EAC3E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AAEjB,eAAe,GAAG,CAAC"}
|
package/index.js
CHANGED
|
@@ -42,6 +42,7 @@ const payouts_1 = require("./resources/payouts.js");
|
|
|
42
42
|
const refunds_1 = require("./resources/refunds.js");
|
|
43
43
|
const reports_1 = require("./resources/reports.js");
|
|
44
44
|
const subaccounts_1 = require("./resources/subaccounts.js");
|
|
45
|
+
const webhooksubscription_1 = require("./resources/webhooksubscription.js");
|
|
45
46
|
const environments = {
|
|
46
47
|
production: 'https://api.getivy.de',
|
|
47
48
|
sandbox: 'https://api.sand.getivy.de',
|
|
@@ -95,6 +96,7 @@ class Ivy extends Core.APIClient {
|
|
|
95
96
|
this.reports = new API.Reports(this);
|
|
96
97
|
this.subaccounts = new API.Subaccounts(this);
|
|
97
98
|
this.balance = new API.Balance(this);
|
|
99
|
+
this.webhooksubscription = new API.Webhooksubscription(this);
|
|
98
100
|
this._options = options;
|
|
99
101
|
this.apiKey = apiKey;
|
|
100
102
|
}
|
|
@@ -142,6 +144,7 @@ Ivy.Payouts = payouts_1.Payouts;
|
|
|
142
144
|
Ivy.Reports = reports_1.Reports;
|
|
143
145
|
Ivy.Subaccounts = subaccounts_1.Subaccounts;
|
|
144
146
|
Ivy.Balance = balance_1.Balance;
|
|
147
|
+
Ivy.Webhooksubscription = webhooksubscription_1.Webhooksubscription;
|
|
145
148
|
var uploads_1 = require("./uploads.js");
|
|
146
149
|
Object.defineProperty(exports, "toFile", { enumerable: true, get: function () { return uploads_1.toFile; } });
|
|
147
150
|
Object.defineProperty(exports, "fileFromPath", { enumerable: true, get: function () { return uploads_1.fileFromPath; } });
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAA+B;AAC/B,mDAAkC;AAClC,sDAAqC;AACrC,0DAAyC;AACzC,oDAA8F;AAC9F,gDAQ2B;AAC3B,8DAA8G;AAC9G,oDAA0E;AAC1E,oEAQqC;AACrC,wDAM+B;AAC/B,sDAO8B;AAC9B,kDAM4B;AAC5B,oDAO6B;AAC7B,oDAM6B;AAC7B,oDAQ6B;AAC7B,4DAKiC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,gDAA+B;AAC/B,mDAAkC;AAClC,sDAAqC;AACrC,0DAAyC;AACzC,oDAA8F;AAC9F,gDAQ2B;AAC3B,8DAA8G;AAC9G,oDAA0E;AAC1E,oEAQqC;AACrC,wDAM+B;AAC/B,sDAO8B;AAC9B,kDAM4B;AAC5B,oDAO6B;AAC7B,oDAM6B;AAC7B,oDAQ6B;AAC7B,4DAKiC;AACjC,4EAYyC;AAEzC,MAAM,YAAY,GAAG;IACnB,UAAU,EAAE,uBAAuB;IACnC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AA2EF;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,OAAA;AAClB,kHAAA,yBAAyB,OAAA;AACzB,0GAAA,iBAAiB,OAAA;AACjB,sGAAA,aAAa,OAAA;AACb,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,4GAAA,mBAAmB,OAAA;AACnB,4GAAA,mBAAmB,OAAA;AACnB,8GAAA,qBAAqB,OAAA;AACrB,iHAAA,wBAAwB,OAAA;AAG1B,kBAAe,GAAG,CAAC"}
|
package/index.mjs
CHANGED
|
@@ -16,6 +16,7 @@ import { Payouts, } from "./resources/payouts.mjs";
|
|
|
16
16
|
import { Refunds, } from "./resources/refunds.mjs";
|
|
17
17
|
import { Reports, } from "./resources/reports.mjs";
|
|
18
18
|
import { Subaccounts, } from "./resources/subaccounts.mjs";
|
|
19
|
+
import { Webhooksubscription, } from "./resources/webhooksubscription.mjs";
|
|
19
20
|
const environments = {
|
|
20
21
|
production: 'https://api.getivy.de',
|
|
21
22
|
sandbox: 'https://api.sand.getivy.de',
|
|
@@ -69,6 +70,7 @@ export class Ivy extends Core.APIClient {
|
|
|
69
70
|
this.reports = new API.Reports(this);
|
|
70
71
|
this.subaccounts = new API.Subaccounts(this);
|
|
71
72
|
this.balance = new API.Balance(this);
|
|
73
|
+
this.webhooksubscription = new API.Webhooksubscription(this);
|
|
72
74
|
this._options = options;
|
|
73
75
|
this.apiKey = apiKey;
|
|
74
76
|
}
|
|
@@ -115,6 +117,7 @@ Ivy.Payouts = Payouts;
|
|
|
115
117
|
Ivy.Reports = Reports;
|
|
116
118
|
Ivy.Subaccounts = Subaccounts;
|
|
117
119
|
Ivy.Balance = Balance;
|
|
120
|
+
Ivy.Webhooksubscription = Webhooksubscription;
|
|
118
121
|
export { toFile, fileFromPath } from "./uploads.mjs";
|
|
119
122
|
export { IvyError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./error.mjs";
|
|
120
123
|
export default Ivy;
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,KAAK,IAAI;OACT,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,OAAO,EAAkD;OAC3D,EAOL,KAAK,GACN;OACM,EAAE,YAAY,EAAwD;OACtE,EAA8B,OAAO,EAAE;OACvC,EACL,eAAe,GAOhB;OACM,EAKL,SAAS,GACV;OACM,EAML,QAAQ,GACT;OACM,EAKL,MAAM,GACP;OACM,EAKL,OAAO,GAER;OACM,EAKL,OAAO,GACR;OACM,EAOL,OAAO,GACR;OACM,EAIL,WAAW,GACZ;AAED,MAAM,YAAY,GAAG;IACnB,UAAU,EAAE,uBAAuB;IACnC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AA2EF;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,IAAI,CAAC,SAAS;IAKrC;;;;;;;;;;;;OAYG;IACH,YAAY,EACV,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,EACtC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,EACpC,GAAG,IAAI,KACU,EAAE;QACnB,IAAI,MAAM,KAAK,SAAS,EAAE;YACxB,MAAM,IAAI,MAAM,CAAC,QAAQ,CACvB,2KAA2K,CAC5K,CAAC;SACH;QAED,MAAM,OAAO,GAAkB;YAC7B,MAAM;YACN,GAAG,IAAI;YACP,OAAO;YACP,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,YAAY;SAC9C,CAAC;QAEF,IAAI,OAAO,IAAI,IAAI,CAAC,WAAW,EAAE;YAC/B,MAAM,IAAI,MAAM,CAAC,QAAQ,CACvB,sKAAsK,CACvK,CAAC;SACH;QAED,KAAK,CAAC;YACJ,OAAO,EAAE,OAAO,CAAC,OA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AAG,CAAC,OAAO,GAAG,OAAO,CAAC;AACtB,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC;AACtB,GAAG,CAAC,WAAW,GAAG,WAAW,CAAC;AAC9B,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC;AACtB,GAAG,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;OAgHvC,EAAE,MAAM,EAAE,YAAY,EAAE;OACxB,EACL,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB;AAED,eAAe,GAAG,CAAC"}
|
package/package.json
CHANGED
package/resources/index.d.ts
CHANGED
|
@@ -10,4 +10,5 @@ export { Payouts, type PublicUserPayout, type PayoutListResponse, type PayoutCre
|
|
|
10
10
|
export { Refunds, type RefundResponse, type RefundBatchResponse, type RefundCreateParams, type RefundBatchParams, } from "./refunds.js";
|
|
11
11
|
export { Reports, type PayoutReport, type ReportCreateResponse, type ReportRetrieveResponse, type ReportCreateParams, type ReportRetrieveParams, type ReportDownloadParams, } from "./reports.js";
|
|
12
12
|
export { Subaccounts, type Subaccount, type SubaccountCreateParams, type SubaccountRetrieveParams, } from "./subaccounts.js";
|
|
13
|
+
export { Webhooksubscription, type WebhooksubscriptionCreateResponse, type WebhooksubscriptionUpdateResponse, type WebhooksubscriptionListResponse, type WebhooksubscriptionDeleteResponse, type WebhooksubscriptionPingResponse, type WebhooksubscriptionCreateParams, type WebhooksubscriptionUpdateParams, type WebhooksubscriptionListParams, type WebhooksubscriptionDeleteParams, type WebhooksubscriptionPingParams, } from "./webhooksubscription.js";
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings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AqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,MAAM,EACN,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,OAAO,EACP,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,OAAO,EACP,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,mBAAmB,EACnB,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,MAAM,uBAAuB,CAAC"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Subaccounts = exports.Reports = exports.Refunds = exports.Payouts = exports.Orders = exports.Mandates = exports.Customers = exports.Checkoutsession = exports.Charges = exports.Capabilities = exports.Banks = exports.Balance = void 0;
|
|
4
|
+
exports.Webhooksubscription = exports.Subaccounts = exports.Reports = exports.Refunds = exports.Payouts = exports.Orders = exports.Mandates = exports.Customers = exports.Checkoutsession = exports.Charges = exports.Capabilities = exports.Banks = exports.Balance = void 0;
|
|
5
5
|
var balance_1 = require("./balance.js");
|
|
6
6
|
Object.defineProperty(exports, "Balance", { enumerable: true, get: function () { return balance_1.Balance; } });
|
|
7
7
|
var banks_1 = require("./banks.js");
|
|
@@ -26,4 +26,6 @@ var reports_1 = require("./reports.js");
|
|
|
26
26
|
Object.defineProperty(exports, "Reports", { enumerable: true, get: function () { return reports_1.Reports; } });
|
|
27
27
|
var subaccounts_1 = require("./subaccounts.js");
|
|
28
28
|
Object.defineProperty(exports, "Subaccounts", { enumerable: true, get: function () { return subaccounts_1.Subaccounts; } });
|
|
29
|
+
var webhooksubscription_1 = require("./webhooksubscription.js");
|
|
30
|
+
Object.defineProperty(exports, "Webhooksubscription", { enumerable: true, get: function () { return webhooksubscription_1.Webhooksubscription; } });
|
|
29
31
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAA8F;AAArF,kGAAA,OAAO,OAAA;AAChB,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,kDAA8G;AAArG,4GAAA,YAAY,OAAA;AACrB,wCAA0E;AAAjE,kGAAA,OAAO,OAAA;AAChB,wDAQ2B;AAPzB,kHAAA,eAAe,OAAA;AAQjB,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,gDAKuB;AAJrB,0GAAA,WAAW,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAA8F;AAArF,kGAAA,OAAO,OAAA;AAChB,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,kDAA8G;AAArG,4GAAA,YAAY,OAAA;AACrB,wCAA0E;AAAjE,kGAAA,OAAO,OAAA;AAChB,wDAQ2B;AAPzB,kHAAA,eAAe,OAAA;AAQjB,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,gEAY+B;AAX7B,0HAAA,mBAAmB,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -11,4 +11,5 @@ export { Payouts, } from "./payouts.mjs";
|
|
|
11
11
|
export { Refunds, } from "./refunds.mjs";
|
|
12
12
|
export { Reports, } from "./reports.mjs";
|
|
13
13
|
export { Subaccounts, } from "./subaccounts.mjs";
|
|
14
|
+
export { Webhooksubscription, } from "./webhooksubscription.mjs";
|
|
14
15
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA4D;OACrE,EACL,KAAK,GAON;OACM,EAAE,YAAY,EAAkE;OAChF,EAAE,OAAO,EAAwC;OACjD,EACL,eAAe,GAOhB;OACM,EACL,SAAS,GAKV;OACM,EACL,QAAQ,GAMT;OACM,EACL,MAAM,GAKP;OACM,EACL,OAAO,GAMR;OACM,EACL,OAAO,GAKR;OACM,EACL,OAAO,GAOR;OACM,EACL,WAAW,GAIZ"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA4D;OACrE,EACL,KAAK,GAON;OACM,EAAE,YAAY,EAAkE;OAChF,EAAE,OAAO,EAAwC;OACjD,EACL,eAAe,GAOhB;OACM,EACL,SAAS,GAKV;OACM,EACL,QAAQ,GAMT;OACM,EACL,MAAM,GAKP;OACM,EACL,OAAO,GAMR;OACM,EACL,OAAO,GAKR;OACM,EACL,OAAO,GAOR;OACM,EACL,WAAW,GAIZ;OACM,EACL,mBAAmB,GAWpB"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
export declare class Webhooksubscription extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Creates a webhook subscription that sends various events from Ivy to a specified
|
|
6
|
+
* url. There can be multiple subscriptions per app.
|
|
7
|
+
*/
|
|
8
|
+
create(body: WebhooksubscriptionCreateParams, options?: Core.RequestOptions): Core.APIPromise<WebhooksubscriptionCreateResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Updates the url or subcribed to events for a webhook subscription. This can be
|
|
11
|
+
* used via the app or via the API by providing an API key.
|
|
12
|
+
*/
|
|
13
|
+
update(body: WebhooksubscriptionUpdateParams, options?: Core.RequestOptions): Core.APIPromise<WebhooksubscriptionUpdateResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Lists all webhook subscriptions that are registered for the merchant. The
|
|
16
|
+
* results are paginated and provided in chronological order.
|
|
17
|
+
*/
|
|
18
|
+
list(body: WebhooksubscriptionListParams, options?: Core.RequestOptions): Core.APIPromise<WebhooksubscriptionListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Deletes a webhook subscription.
|
|
21
|
+
*/
|
|
22
|
+
delete(body: WebhooksubscriptionDeleteParams, options?: Core.RequestOptions): Core.APIPromise<WebhooksubscriptionDeleteResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Trigger the webhook event "test" for the specified webhook subscription.
|
|
25
|
+
*/
|
|
26
|
+
ping(body: WebhooksubscriptionPingParams, options?: Core.RequestOptions): Core.APIPromise<WebhooksubscriptionPingResponse>;
|
|
27
|
+
}
|
|
28
|
+
export interface WebhooksubscriptionCreateResponse {
|
|
29
|
+
/**
|
|
30
|
+
* The unique id for the webhook subscription.
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
events: Array<'test' | 'merchant_updated' | 'merchant_app_updated' | 'order_created' | 'order_updated' | 'refund_succeeded' | 'refund_failed' | 'payout_report_requested' | 'data_session_completed' | 'checkout_session_created' | 'checkout_session_updated' | 'checkout_session_expired' | 'checkout_session_completed' | 'payout_created' | 'payout_updated' | 'mandate_setup_started' | 'mandate_setup_succeeded' | 'mandate_setup_failed' | 'mandate_revoked' | 'user_payout.failed' | 'user_payout.paid' | 'user_payout.initiated'>;
|
|
35
|
+
/**
|
|
36
|
+
* The unique id for the webhook subscription.
|
|
37
|
+
*/
|
|
38
|
+
merchant: string;
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated The unique id for the webhook subscription.
|
|
41
|
+
*/
|
|
42
|
+
merchantApp: string;
|
|
43
|
+
updatedAt: string;
|
|
44
|
+
/**
|
|
45
|
+
* The url that will listen to the webhook events coming from Ivy. Must be unique
|
|
46
|
+
* for the merchant app.
|
|
47
|
+
*/
|
|
48
|
+
url: string;
|
|
49
|
+
}
|
|
50
|
+
export interface WebhooksubscriptionUpdateResponse {
|
|
51
|
+
/**
|
|
52
|
+
* The unique id for the webhook subscription.
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
events: Array<'test' | 'merchant_updated' | 'merchant_app_updated' | 'order_created' | 'order_updated' | 'refund_succeeded' | 'refund_failed' | 'payout_report_requested' | 'data_session_completed' | 'checkout_session_created' | 'checkout_session_updated' | 'checkout_session_expired' | 'checkout_session_completed' | 'payout_created' | 'payout_updated' | 'mandate_setup_started' | 'mandate_setup_succeeded' | 'mandate_setup_failed' | 'mandate_revoked' | 'user_payout.failed' | 'user_payout.paid' | 'user_payout.initiated'>;
|
|
57
|
+
/**
|
|
58
|
+
* The unique id for the webhook subscription.
|
|
59
|
+
*/
|
|
60
|
+
merchant: string;
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated The unique id for the webhook subscription.
|
|
63
|
+
*/
|
|
64
|
+
merchantApp: string;
|
|
65
|
+
updatedAt: string;
|
|
66
|
+
/**
|
|
67
|
+
* The url that will listen to the webhook events coming from Ivy. Must be unique
|
|
68
|
+
* for the merchant app.
|
|
69
|
+
*/
|
|
70
|
+
url: string;
|
|
71
|
+
}
|
|
72
|
+
export interface WebhooksubscriptionListResponse {
|
|
73
|
+
count: number;
|
|
74
|
+
hasNext: boolean;
|
|
75
|
+
items: Array<WebhooksubscriptionListResponse.Item>;
|
|
76
|
+
skip: number;
|
|
77
|
+
}
|
|
78
|
+
export declare namespace WebhooksubscriptionListResponse {
|
|
79
|
+
interface Item {
|
|
80
|
+
/**
|
|
81
|
+
* The unique id for the webhook subscription.
|
|
82
|
+
*/
|
|
83
|
+
id: string;
|
|
84
|
+
createdAt: string;
|
|
85
|
+
events: Array<'test' | 'merchant_updated' | 'merchant_app_updated' | 'order_created' | 'order_updated' | 'refund_succeeded' | 'refund_failed' | 'payout_report_requested' | 'data_session_completed' | 'checkout_session_created' | 'checkout_session_updated' | 'checkout_session_expired' | 'checkout_session_completed' | 'payout_created' | 'payout_updated' | 'mandate_setup_started' | 'mandate_setup_succeeded' | 'mandate_setup_failed' | 'mandate_revoked' | 'user_payout.failed' | 'user_payout.paid' | 'user_payout.initiated'>;
|
|
86
|
+
/**
|
|
87
|
+
* The unique id for the webhook subscription.
|
|
88
|
+
*/
|
|
89
|
+
merchant: string;
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated The unique id for the webhook subscription.
|
|
92
|
+
*/
|
|
93
|
+
merchantApp: string;
|
|
94
|
+
updatedAt: string;
|
|
95
|
+
/**
|
|
96
|
+
* The url that will listen to the webhook events coming from Ivy. Must be unique
|
|
97
|
+
* for the merchant app.
|
|
98
|
+
*/
|
|
99
|
+
url: string;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export interface WebhooksubscriptionDeleteResponse {
|
|
103
|
+
success: boolean;
|
|
104
|
+
}
|
|
105
|
+
export interface WebhooksubscriptionPingResponse {
|
|
106
|
+
/**
|
|
107
|
+
* The unique identifier of the webhook that was sent.
|
|
108
|
+
*/
|
|
109
|
+
id: string;
|
|
110
|
+
date: string;
|
|
111
|
+
/**
|
|
112
|
+
* The response body returned by the targeted webhook endpoint.
|
|
113
|
+
*/
|
|
114
|
+
response: string | number | boolean | Array<unknown> | Record<string, unknown> | null;
|
|
115
|
+
/**
|
|
116
|
+
* The status code returned by the targeted webhook endpoint.
|
|
117
|
+
*/
|
|
118
|
+
statusCode: number;
|
|
119
|
+
/**
|
|
120
|
+
* True if the targeted webhook endpoint returned status code 200. False otherwise.
|
|
121
|
+
*/
|
|
122
|
+
success: boolean;
|
|
123
|
+
}
|
|
124
|
+
export interface WebhooksubscriptionCreateParams {
|
|
125
|
+
/**
|
|
126
|
+
* The events to subscribe the url to.
|
|
127
|
+
*/
|
|
128
|
+
events: Array<'test' | 'merchant_updated' | 'merchant_app_updated' | 'order_created' | 'order_updated' | 'refund_succeeded' | 'refund_failed' | 'payout_report_requested' | 'data_session_completed' | 'checkout_session_created' | 'checkout_session_updated' | 'checkout_session_expired' | 'checkout_session_completed' | 'payout_created' | 'payout_updated' | 'mandate_setup_started' | 'mandate_setup_succeeded' | 'mandate_setup_failed' | 'mandate_revoked' | 'user_payout.failed' | 'user_payout.paid' | 'user_payout.initiated'>;
|
|
129
|
+
/**
|
|
130
|
+
* The endpoint where webhook events are sent.
|
|
131
|
+
*/
|
|
132
|
+
url: string;
|
|
133
|
+
}
|
|
134
|
+
export interface WebhooksubscriptionUpdateParams {
|
|
135
|
+
id: string;
|
|
136
|
+
events?: Array<'test' | 'merchant_updated' | 'merchant_app_updated' | 'order_created' | 'order_updated' | 'refund_succeeded' | 'refund_failed' | 'payout_report_requested' | 'data_session_completed' | 'checkout_session_created' | 'checkout_session_updated' | 'checkout_session_expired' | 'checkout_session_completed' | 'payout_created' | 'payout_updated' | 'mandate_setup_started' | 'mandate_setup_succeeded' | 'mandate_setup_failed' | 'mandate_revoked' | 'user_payout.failed' | 'user_payout.paid' | 'user_payout.initiated'>;
|
|
137
|
+
url?: string;
|
|
138
|
+
}
|
|
139
|
+
export interface WebhooksubscriptionListParams {
|
|
140
|
+
limit?: number;
|
|
141
|
+
skip?: number;
|
|
142
|
+
}
|
|
143
|
+
export interface WebhooksubscriptionDeleteParams {
|
|
144
|
+
id: string;
|
|
145
|
+
}
|
|
146
|
+
export interface WebhooksubscriptionPingParams {
|
|
147
|
+
/**
|
|
148
|
+
* The unique identifier for the webhook subscription to trigger.
|
|
149
|
+
*/
|
|
150
|
+
id: string;
|
|
151
|
+
}
|
|
152
|
+
export declare namespace Webhooksubscription {
|
|
153
|
+
export { type WebhooksubscriptionCreateResponse as WebhooksubscriptionCreateResponse, type WebhooksubscriptionUpdateResponse as WebhooksubscriptionUpdateResponse, type WebhooksubscriptionListResponse as WebhooksubscriptionListResponse, type WebhooksubscriptionDeleteResponse as WebhooksubscriptionDeleteResponse, type WebhooksubscriptionPingResponse as WebhooksubscriptionPingResponse, type WebhooksubscriptionCreateParams as WebhooksubscriptionCreateParams, type WebhooksubscriptionUpdateParams as WebhooksubscriptionUpdateParams, type WebhooksubscriptionListParams as WebhooksubscriptionListParams, type WebhooksubscriptionDeleteParams as WebhooksubscriptionDeleteParams, type WebhooksubscriptionPingParams as WebhooksubscriptionPingParams, };
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=webhooksubscription.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooksubscription.d.ts","sourceRoot":"","sources":["../src/resources/webhooksubscription.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAIrD;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAIrD;;;OAGG;IACH,IAAI,CACF,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;IAInD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAIrD;;OAEG;IACH,IAAI,CACF,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,KAAK,CACT,MAAM,GACN,kBAAkB,GAClB,sBAAsB,GACtB,eAAe,GACf,e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6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Webhooksubscription = void 0;
|
|
5
|
+
const resource_1 = require("../resource.js");
|
|
6
|
+
class Webhooksubscription extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a webhook subscription that sends various events from Ivy to a specified
|
|
9
|
+
* url. There can be multiple subscriptions per app.
|
|
10
|
+
*/
|
|
11
|
+
create(body, options) {
|
|
12
|
+
return this._client.post('/api/service/webhook-subscription/create', { body, ...options });
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Updates the url or subcribed to events for a webhook subscription. This can be
|
|
16
|
+
* used via the app or via the API by providing an API key.
|
|
17
|
+
*/
|
|
18
|
+
update(body, options) {
|
|
19
|
+
return this._client.post('/api/service/webhook-subscription/update', { body, ...options });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Lists all webhook subscriptions that are registered for the merchant. The
|
|
23
|
+
* results are paginated and provided in chronological order.
|
|
24
|
+
*/
|
|
25
|
+
list(body, options) {
|
|
26
|
+
return this._client.post('/api/service/webhook-subscription/list', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Deletes a webhook subscription.
|
|
30
|
+
*/
|
|
31
|
+
delete(body, options) {
|
|
32
|
+
return this._client.post('/api/service/webhook-subscription/delete', { body, ...options });
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Trigger the webhook event "test" for the specified webhook subscription.
|
|
36
|
+
*/
|
|
37
|
+
ping(body, options) {
|
|
38
|
+
return this._client.post('/api/service/webhook-subscription/ping', { body, ...options });
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.Webhooksubscription = Webhooksubscription;
|
|
42
|
+
//# sourceMappingURL=webhooksubscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooksubscription.js","sourceRoot":"","sources":["../src/resources/webhooksubscription.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;;OAGG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,IAAI,CACF,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AArDD,kDAqDC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
export class Webhooksubscription extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Creates a webhook subscription that sends various events from Ivy to a specified
|
|
6
|
+
* url. There can be multiple subscriptions per app.
|
|
7
|
+
*/
|
|
8
|
+
create(body, options) {
|
|
9
|
+
return this._client.post('/api/service/webhook-subscription/create', { body, ...options });
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Updates the url or subcribed to events for a webhook subscription. This can be
|
|
13
|
+
* used via the app or via the API by providing an API key.
|
|
14
|
+
*/
|
|
15
|
+
update(body, options) {
|
|
16
|
+
return this._client.post('/api/service/webhook-subscription/update', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Lists all webhook subscriptions that are registered for the merchant. The
|
|
20
|
+
* results are paginated and provided in chronological order.
|
|
21
|
+
*/
|
|
22
|
+
list(body, options) {
|
|
23
|
+
return this._client.post('/api/service/webhook-subscription/list', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Deletes a webhook subscription.
|
|
27
|
+
*/
|
|
28
|
+
delete(body, options) {
|
|
29
|
+
return this._client.post('/api/service/webhook-subscription/delete', { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Trigger the webhook event "test" for the specified webhook subscription.
|
|
33
|
+
*/
|
|
34
|
+
ping(body, options) {
|
|
35
|
+
return this._client.post('/api/service/webhook-subscription/ping', { body, ...options });
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=webhooksubscription.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooksubscription.mjs","sourceRoot":"","sources":["../src/resources/webhooksubscription.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;;OAGG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,IAAI,CACF,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF"}
|
package/src/index.ts
CHANGED
|
@@ -78,6 +78,19 @@ import {
|
|
|
78
78
|
SubaccountRetrieveParams,
|
|
79
79
|
Subaccounts,
|
|
80
80
|
} from './resources/subaccounts';
|
|
81
|
+
import {
|
|
82
|
+
Webhooksubscription,
|
|
83
|
+
WebhooksubscriptionCreateParams,
|
|
84
|
+
WebhooksubscriptionCreateResponse,
|
|
85
|
+
WebhooksubscriptionDeleteParams,
|
|
86
|
+
WebhooksubscriptionDeleteResponse,
|
|
87
|
+
WebhooksubscriptionListParams,
|
|
88
|
+
WebhooksubscriptionListResponse,
|
|
89
|
+
WebhooksubscriptionPingParams,
|
|
90
|
+
WebhooksubscriptionPingResponse,
|
|
91
|
+
WebhooksubscriptionUpdateParams,
|
|
92
|
+
WebhooksubscriptionUpdateResponse,
|
|
93
|
+
} from './resources/webhooksubscription';
|
|
81
94
|
|
|
82
95
|
const environments = {
|
|
83
96
|
production: 'https://api.getivy.de',
|
|
@@ -227,6 +240,7 @@ export class Ivy extends Core.APIClient {
|
|
|
227
240
|
reports: API.Reports = new API.Reports(this);
|
|
228
241
|
subaccounts: API.Subaccounts = new API.Subaccounts(this);
|
|
229
242
|
balance: API.Balance = new API.Balance(this);
|
|
243
|
+
webhooksubscription: API.Webhooksubscription = new API.Webhooksubscription(this);
|
|
230
244
|
|
|
231
245
|
protected override defaultQuery(): Core.DefaultQuery | undefined {
|
|
232
246
|
return this._options.defaultQuery;
|
|
@@ -276,6 +290,7 @@ Ivy.Payouts = Payouts;
|
|
|
276
290
|
Ivy.Reports = Reports;
|
|
277
291
|
Ivy.Subaccounts = Subaccounts;
|
|
278
292
|
Ivy.Balance = Balance;
|
|
293
|
+
Ivy.Webhooksubscription = Webhooksubscription;
|
|
279
294
|
export declare namespace Ivy {
|
|
280
295
|
export type RequestOptions = Core.RequestOptions;
|
|
281
296
|
|
|
@@ -371,6 +386,20 @@ export declare namespace Ivy {
|
|
|
371
386
|
type BalanceRetrieveResponse as BalanceRetrieveResponse,
|
|
372
387
|
type BalanceRetrieveParams as BalanceRetrieveParams,
|
|
373
388
|
};
|
|
389
|
+
|
|
390
|
+
export {
|
|
391
|
+
Webhooksubscription as Webhooksubscription,
|
|
392
|
+
type WebhooksubscriptionCreateResponse as WebhooksubscriptionCreateResponse,
|
|
393
|
+
type WebhooksubscriptionUpdateResponse as WebhooksubscriptionUpdateResponse,
|
|
394
|
+
type WebhooksubscriptionListResponse as WebhooksubscriptionListResponse,
|
|
395
|
+
type WebhooksubscriptionDeleteResponse as WebhooksubscriptionDeleteResponse,
|
|
396
|
+
type WebhooksubscriptionPingResponse as WebhooksubscriptionPingResponse,
|
|
397
|
+
type WebhooksubscriptionCreateParams as WebhooksubscriptionCreateParams,
|
|
398
|
+
type WebhooksubscriptionUpdateParams as WebhooksubscriptionUpdateParams,
|
|
399
|
+
type WebhooksubscriptionListParams as WebhooksubscriptionListParams,
|
|
400
|
+
type WebhooksubscriptionDeleteParams as WebhooksubscriptionDeleteParams,
|
|
401
|
+
type WebhooksubscriptionPingParams as WebhooksubscriptionPingParams,
|
|
402
|
+
};
|
|
374
403
|
}
|
|
375
404
|
|
|
376
405
|
export { toFile, fileFromPath } from './uploads';
|
package/src/resources/index.ts
CHANGED
|
@@ -73,3 +73,16 @@ export {
|
|
|
73
73
|
type SubaccountCreateParams,
|
|
74
74
|
type SubaccountRetrieveParams,
|
|
75
75
|
} from './subaccounts';
|
|
76
|
+
export {
|
|
77
|
+
Webhooksubscription,
|
|
78
|
+
type WebhooksubscriptionCreateResponse,
|
|
79
|
+
type WebhooksubscriptionUpdateResponse,
|
|
80
|
+
type WebhooksubscriptionListResponse,
|
|
81
|
+
type WebhooksubscriptionDeleteResponse,
|
|
82
|
+
type WebhooksubscriptionPingResponse,
|
|
83
|
+
type WebhooksubscriptionCreateParams,
|
|
84
|
+
type WebhooksubscriptionUpdateParams,
|
|
85
|
+
type WebhooksubscriptionListParams,
|
|
86
|
+
type WebhooksubscriptionDeleteParams,
|
|
87
|
+
type WebhooksubscriptionPingParams,
|
|
88
|
+
} from './webhooksubscription';
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import * as Core from '../core';
|
|
5
|
+
|
|
6
|
+
export class Webhooksubscription extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a webhook subscription that sends various events from Ivy to a specified
|
|
9
|
+
* url. There can be multiple subscriptions per app.
|
|
10
|
+
*/
|
|
11
|
+
create(
|
|
12
|
+
body: WebhooksubscriptionCreateParams,
|
|
13
|
+
options?: Core.RequestOptions,
|
|
14
|
+
): Core.APIPromise<WebhooksubscriptionCreateResponse> {
|
|
15
|
+
return this._client.post('/api/service/webhook-subscription/create', { body, ...options });
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Updates the url or subcribed to events for a webhook subscription. This can be
|
|
20
|
+
* used via the app or via the API by providing an API key.
|
|
21
|
+
*/
|
|
22
|
+
update(
|
|
23
|
+
body: WebhooksubscriptionUpdateParams,
|
|
24
|
+
options?: Core.RequestOptions,
|
|
25
|
+
): Core.APIPromise<WebhooksubscriptionUpdateResponse> {
|
|
26
|
+
return this._client.post('/api/service/webhook-subscription/update', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Lists all webhook subscriptions that are registered for the merchant. The
|
|
31
|
+
* results are paginated and provided in chronological order.
|
|
32
|
+
*/
|
|
33
|
+
list(
|
|
34
|
+
body: WebhooksubscriptionListParams,
|
|
35
|
+
options?: Core.RequestOptions,
|
|
36
|
+
): Core.APIPromise<WebhooksubscriptionListResponse> {
|
|
37
|
+
return this._client.post('/api/service/webhook-subscription/list', { body, ...options });
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Deletes a webhook subscription.
|
|
42
|
+
*/
|
|
43
|
+
delete(
|
|
44
|
+
body: WebhooksubscriptionDeleteParams,
|
|
45
|
+
options?: Core.RequestOptions,
|
|
46
|
+
): Core.APIPromise<WebhooksubscriptionDeleteResponse> {
|
|
47
|
+
return this._client.post('/api/service/webhook-subscription/delete', { body, ...options });
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Trigger the webhook event "test" for the specified webhook subscription.
|
|
52
|
+
*/
|
|
53
|
+
ping(
|
|
54
|
+
body: WebhooksubscriptionPingParams,
|
|
55
|
+
options?: Core.RequestOptions,
|
|
56
|
+
): Core.APIPromise<WebhooksubscriptionPingResponse> {
|
|
57
|
+
return this._client.post('/api/service/webhook-subscription/ping', { body, ...options });
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface WebhooksubscriptionCreateResponse {
|
|
62
|
+
/**
|
|
63
|
+
* The unique id for the webhook subscription.
|
|
64
|
+
*/
|
|
65
|
+
id: string;
|
|
66
|
+
|
|
67
|
+
createdAt: string;
|
|
68
|
+
|
|
69
|
+
events: Array<
|
|
70
|
+
| 'test'
|
|
71
|
+
| 'merchant_updated'
|
|
72
|
+
| 'merchant_app_updated'
|
|
73
|
+
| 'order_created'
|
|
74
|
+
| 'order_updated'
|
|
75
|
+
| 'refund_succeeded'
|
|
76
|
+
| 'refund_failed'
|
|
77
|
+
| 'payout_report_requested'
|
|
78
|
+
| 'data_session_completed'
|
|
79
|
+
| 'checkout_session_created'
|
|
80
|
+
| 'checkout_session_updated'
|
|
81
|
+
| 'checkout_session_expired'
|
|
82
|
+
| 'checkout_session_completed'
|
|
83
|
+
| 'payout_created'
|
|
84
|
+
| 'payout_updated'
|
|
85
|
+
| 'mandate_setup_started'
|
|
86
|
+
| 'mandate_setup_succeeded'
|
|
87
|
+
| 'mandate_setup_failed'
|
|
88
|
+
| 'mandate_revoked'
|
|
89
|
+
| 'user_payout.failed'
|
|
90
|
+
| 'user_payout.paid'
|
|
91
|
+
| 'user_payout.initiated'
|
|
92
|
+
>;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* The unique id for the webhook subscription.
|
|
96
|
+
*/
|
|
97
|
+
merchant: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated The unique id for the webhook subscription.
|
|
101
|
+
*/
|
|
102
|
+
merchantApp: string;
|
|
103
|
+
|
|
104
|
+
updatedAt: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The url that will listen to the webhook events coming from Ivy. Must be unique
|
|
108
|
+
* for the merchant app.
|
|
109
|
+
*/
|
|
110
|
+
url: string;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface WebhooksubscriptionUpdateResponse {
|
|
114
|
+
/**
|
|
115
|
+
* The unique id for the webhook subscription.
|
|
116
|
+
*/
|
|
117
|
+
id: string;
|
|
118
|
+
|
|
119
|
+
createdAt: string;
|
|
120
|
+
|
|
121
|
+
events: Array<
|
|
122
|
+
| 'test'
|
|
123
|
+
| 'merchant_updated'
|
|
124
|
+
| 'merchant_app_updated'
|
|
125
|
+
| 'order_created'
|
|
126
|
+
| 'order_updated'
|
|
127
|
+
| 'refund_succeeded'
|
|
128
|
+
| 'refund_failed'
|
|
129
|
+
| 'payout_report_requested'
|
|
130
|
+
| 'data_session_completed'
|
|
131
|
+
| 'checkout_session_created'
|
|
132
|
+
| 'checkout_session_updated'
|
|
133
|
+
| 'checkout_session_expired'
|
|
134
|
+
| 'checkout_session_completed'
|
|
135
|
+
| 'payout_created'
|
|
136
|
+
| 'payout_updated'
|
|
137
|
+
| 'mandate_setup_started'
|
|
138
|
+
| 'mandate_setup_succeeded'
|
|
139
|
+
| 'mandate_setup_failed'
|
|
140
|
+
| 'mandate_revoked'
|
|
141
|
+
| 'user_payout.failed'
|
|
142
|
+
| 'user_payout.paid'
|
|
143
|
+
| 'user_payout.initiated'
|
|
144
|
+
>;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The unique id for the webhook subscription.
|
|
148
|
+
*/
|
|
149
|
+
merchant: string;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @deprecated The unique id for the webhook subscription.
|
|
153
|
+
*/
|
|
154
|
+
merchantApp: string;
|
|
155
|
+
|
|
156
|
+
updatedAt: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The url that will listen to the webhook events coming from Ivy. Must be unique
|
|
160
|
+
* for the merchant app.
|
|
161
|
+
*/
|
|
162
|
+
url: string;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface WebhooksubscriptionListResponse {
|
|
166
|
+
count: number;
|
|
167
|
+
|
|
168
|
+
hasNext: boolean;
|
|
169
|
+
|
|
170
|
+
items: Array<WebhooksubscriptionListResponse.Item>;
|
|
171
|
+
|
|
172
|
+
skip: number;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export namespace WebhooksubscriptionListResponse {
|
|
176
|
+
export interface Item {
|
|
177
|
+
/**
|
|
178
|
+
* The unique id for the webhook subscription.
|
|
179
|
+
*/
|
|
180
|
+
id: string;
|
|
181
|
+
|
|
182
|
+
createdAt: string;
|
|
183
|
+
|
|
184
|
+
events: Array<
|
|
185
|
+
| 'test'
|
|
186
|
+
| 'merchant_updated'
|
|
187
|
+
| 'merchant_app_updated'
|
|
188
|
+
| 'order_created'
|
|
189
|
+
| 'order_updated'
|
|
190
|
+
| 'refund_succeeded'
|
|
191
|
+
| 'refund_failed'
|
|
192
|
+
| 'payout_report_requested'
|
|
193
|
+
| 'data_session_completed'
|
|
194
|
+
| 'checkout_session_created'
|
|
195
|
+
| 'checkout_session_updated'
|
|
196
|
+
| 'checkout_session_expired'
|
|
197
|
+
| 'checkout_session_completed'
|
|
198
|
+
| 'payout_created'
|
|
199
|
+
| 'payout_updated'
|
|
200
|
+
| 'mandate_setup_started'
|
|
201
|
+
| 'mandate_setup_succeeded'
|
|
202
|
+
| 'mandate_setup_failed'
|
|
203
|
+
| 'mandate_revoked'
|
|
204
|
+
| 'user_payout.failed'
|
|
205
|
+
| 'user_payout.paid'
|
|
206
|
+
| 'user_payout.initiated'
|
|
207
|
+
>;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The unique id for the webhook subscription.
|
|
211
|
+
*/
|
|
212
|
+
merchant: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @deprecated The unique id for the webhook subscription.
|
|
216
|
+
*/
|
|
217
|
+
merchantApp: string;
|
|
218
|
+
|
|
219
|
+
updatedAt: string;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The url that will listen to the webhook events coming from Ivy. Must be unique
|
|
223
|
+
* for the merchant app.
|
|
224
|
+
*/
|
|
225
|
+
url: string;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export interface WebhooksubscriptionDeleteResponse {
|
|
230
|
+
success: boolean;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export interface WebhooksubscriptionPingResponse {
|
|
234
|
+
/**
|
|
235
|
+
* The unique identifier of the webhook that was sent.
|
|
236
|
+
*/
|
|
237
|
+
id: string;
|
|
238
|
+
|
|
239
|
+
date: string;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* The response body returned by the targeted webhook endpoint.
|
|
243
|
+
*/
|
|
244
|
+
response: string | number | boolean | Array<unknown> | Record<string, unknown> | null;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* The status code returned by the targeted webhook endpoint.
|
|
248
|
+
*/
|
|
249
|
+
statusCode: number;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* True if the targeted webhook endpoint returned status code 200. False otherwise.
|
|
253
|
+
*/
|
|
254
|
+
success: boolean;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface WebhooksubscriptionCreateParams {
|
|
258
|
+
/**
|
|
259
|
+
* The events to subscribe the url to.
|
|
260
|
+
*/
|
|
261
|
+
events: Array<
|
|
262
|
+
| 'test'
|
|
263
|
+
| 'merchant_updated'
|
|
264
|
+
| 'merchant_app_updated'
|
|
265
|
+
| 'order_created'
|
|
266
|
+
| 'order_updated'
|
|
267
|
+
| 'refund_succeeded'
|
|
268
|
+
| 'refund_failed'
|
|
269
|
+
| 'payout_report_requested'
|
|
270
|
+
| 'data_session_completed'
|
|
271
|
+
| 'checkout_session_created'
|
|
272
|
+
| 'checkout_session_updated'
|
|
273
|
+
| 'checkout_session_expired'
|
|
274
|
+
| 'checkout_session_completed'
|
|
275
|
+
| 'payout_created'
|
|
276
|
+
| 'payout_updated'
|
|
277
|
+
| 'mandate_setup_started'
|
|
278
|
+
| 'mandate_setup_succeeded'
|
|
279
|
+
| 'mandate_setup_failed'
|
|
280
|
+
| 'mandate_revoked'
|
|
281
|
+
| 'user_payout.failed'
|
|
282
|
+
| 'user_payout.paid'
|
|
283
|
+
| 'user_payout.initiated'
|
|
284
|
+
>;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* The endpoint where webhook events are sent.
|
|
288
|
+
*/
|
|
289
|
+
url: string;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export interface WebhooksubscriptionUpdateParams {
|
|
293
|
+
id: string;
|
|
294
|
+
|
|
295
|
+
events?: Array<
|
|
296
|
+
| 'test'
|
|
297
|
+
| 'merchant_updated'
|
|
298
|
+
| 'merchant_app_updated'
|
|
299
|
+
| 'order_created'
|
|
300
|
+
| 'order_updated'
|
|
301
|
+
| 'refund_succeeded'
|
|
302
|
+
| 'refund_failed'
|
|
303
|
+
| 'payout_report_requested'
|
|
304
|
+
| 'data_session_completed'
|
|
305
|
+
| 'checkout_session_created'
|
|
306
|
+
| 'checkout_session_updated'
|
|
307
|
+
| 'checkout_session_expired'
|
|
308
|
+
| 'checkout_session_completed'
|
|
309
|
+
| 'payout_created'
|
|
310
|
+
| 'payout_updated'
|
|
311
|
+
| 'mandate_setup_started'
|
|
312
|
+
| 'mandate_setup_succeeded'
|
|
313
|
+
| 'mandate_setup_failed'
|
|
314
|
+
| 'mandate_revoked'
|
|
315
|
+
| 'user_payout.failed'
|
|
316
|
+
| 'user_payout.paid'
|
|
317
|
+
| 'user_payout.initiated'
|
|
318
|
+
>;
|
|
319
|
+
|
|
320
|
+
url?: string;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export interface WebhooksubscriptionListParams {
|
|
324
|
+
limit?: number;
|
|
325
|
+
|
|
326
|
+
skip?: number;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export interface WebhooksubscriptionDeleteParams {
|
|
330
|
+
id: string;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export interface WebhooksubscriptionPingParams {
|
|
334
|
+
/**
|
|
335
|
+
* The unique identifier for the webhook subscription to trigger.
|
|
336
|
+
*/
|
|
337
|
+
id: string;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export declare namespace Webhooksubscription {
|
|
341
|
+
export {
|
|
342
|
+
type WebhooksubscriptionCreateResponse as WebhooksubscriptionCreateResponse,
|
|
343
|
+
type WebhooksubscriptionUpdateResponse as WebhooksubscriptionUpdateResponse,
|
|
344
|
+
type WebhooksubscriptionListResponse as WebhooksubscriptionListResponse,
|
|
345
|
+
type WebhooksubscriptionDeleteResponse as WebhooksubscriptionDeleteResponse,
|
|
346
|
+
type WebhooksubscriptionPingResponse as WebhooksubscriptionPingResponse,
|
|
347
|
+
type WebhooksubscriptionCreateParams as WebhooksubscriptionCreateParams,
|
|
348
|
+
type WebhooksubscriptionUpdateParams as WebhooksubscriptionUpdateParams,
|
|
349
|
+
type WebhooksubscriptionListParams as WebhooksubscriptionListParams,
|
|
350
|
+
type WebhooksubscriptionDeleteParams as WebhooksubscriptionDeleteParams,
|
|
351
|
+
type WebhooksubscriptionPingParams as WebhooksubscriptionPingParams,
|
|
352
|
+
};
|
|
353
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.4'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.4";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.4'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.4'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|