@paynow-gg/typescript-sdk 1.0.26 → 1.0.28
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/LICENSE +21 -21
- package/README.md +31 -31
- package/dist/generate.js +1 -0
- package/dist/generate.js.map +1 -1
- package/dist/generated/management.d.ts +79 -7
- package/dist/generated/management.d.ts.map +1 -1
- package/dist/generated/management.js +4 -0
- package/dist/generated/management.js.map +1 -1
- package/dist/generated/storefront.d.ts +6 -0
- package/dist/generated/storefront.d.ts.map +1 -1
- package/dist/generated/storefront.js.map +1 -1
- package/dist/generated/webhooks.d.ts +2942 -0
- package/dist/generated/webhooks.d.ts.map +1 -0
- package/dist/generated/webhooks.js +5 -0
- package/dist/generated/webhooks.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +12 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/package.json +29 -29
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 PayNow Services Inc
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 PayNow Services Inc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# PayNow TypeScript SDK
|
|
2
|
-
|
|
3
|
-
A TypeScript/JavaScript SDK for the [PayNow.gg API](https://paynow.gitbook.io/paynow-api)
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install @paynow-gg/typescript-sdk
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Quick Start
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { createStorefrontClient } from "@paynow-gg/typescript-sdk";
|
|
15
|
-
|
|
16
|
-
const storefront = createStorefrontClient("411486491630370816");
|
|
17
|
-
|
|
18
|
-
storefront.store.getStorefrontStore().then((res) => console.log(res.data));
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
For issues with the SDK, please open an issue on GitHub.
|
|
22
|
-
For PayNow API documentation and support, visit the PayNow developer portal.
|
|
23
|
-
|
|
24
|
-
## PayNow.gg Support
|
|
25
|
-
|
|
26
|
-
For support, questions, or more information, join our Discord community:
|
|
27
|
-
|
|
28
|
-
- [Discord](https://discord.com/invite/paynow)
|
|
29
|
-
|
|
30
|
-
## Contributing
|
|
31
|
-
|
|
1
|
+
# PayNow TypeScript SDK
|
|
2
|
+
|
|
3
|
+
A TypeScript/JavaScript SDK for the [PayNow.gg API](https://paynow.gitbook.io/paynow-api)
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @paynow-gg/typescript-sdk
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { createStorefrontClient } from "@paynow-gg/typescript-sdk";
|
|
15
|
+
|
|
16
|
+
const storefront = createStorefrontClient("411486491630370816");
|
|
17
|
+
|
|
18
|
+
storefront.store.getStorefrontStore().then((res) => console.log(res.data));
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
For issues with the SDK, please open an issue on GitHub.
|
|
22
|
+
For PayNow API documentation and support, visit the PayNow developer portal.
|
|
23
|
+
|
|
24
|
+
## PayNow.gg Support
|
|
25
|
+
|
|
26
|
+
For support, questions, or more information, join our Discord community:
|
|
27
|
+
|
|
28
|
+
- [Discord](https://discord.com/invite/paynow)
|
|
29
|
+
|
|
30
|
+
## Contributing
|
|
31
|
+
|
|
32
32
|
Contributions are welcome! If you'd like to improve the SDK or suggest new features, please fork the repository, make your changes, and submit a pull request.
|
package/dist/generate.js
CHANGED
|
@@ -98,4 +98,5 @@ async function generate(name, endpoint) {
|
|
|
98
98
|
}
|
|
99
99
|
generate("management", "https://api.paynow.gg/swagger/management-api/openapi.json");
|
|
100
100
|
generate("storefront", "https://api.paynow.gg/swagger/storefront-api/openapi.json");
|
|
101
|
+
generate("webhooks", "https://api.paynow.gg/swagger/webhook-definitions/openapi.json");
|
|
101
102
|
//# sourceMappingURL=generate.js.map
|
package/dist/generate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../src/generate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAyB;AACzB,yEAA4D;AAE5D,MAAM,oBAAoB,GAAG,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AACrD,MAAM,gBAAgB,GAAG,CAAC,mBAAmB,CAAC,CAAC;AAE/C,KAAK,UAAU,QAAQ,CAAC,IAAY,EAAE,QAAgB;IACpD,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,IAAI,GAAG,MAAM,YAAY,CAAC,IAAI,EAAE,CAAC;IAEvC,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACf,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YAC9B,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;gBACtC,IAAI,S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AAC,EAAE,CAAC;YAClE,MAAM,WAAW,GAAI,SAAiB,CAAC,WAAW,CAAC;YAEnD,IAAI,WAAW,EAAE,CAAC;gBAChB,gBAAgB,CAAC,WAAW,CAAC,GAAG;oBAC9B,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE;oBAC5B,IAAI,EAAE,IAAI;iBACX,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,QAAQ,GACZ,MAAM;QACN,wCAAwC,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAAC,cAAc,CAAC;IAElG,iBAAE,CAAC,aAAa,CAAC,mBAAmB,IAAI,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC3D,CAAC;AAED,QAAQ,CACN,YAAY,EACZ,2DAA2D,CAC5D,CAAC;AAEF,QAAQ,CACN,YAAY,EACZ,2DAA2D,CAC5D,CAAC;AAEF,QAAQ,CACN,UAAU,EACV,gEAAgE,CACjE,CAAC"}
|
|
@@ -1638,6 +1638,22 @@ export interface paths {
|
|
|
1638
1638
|
patch: operations["Webhooks_UpdateSubscription"];
|
|
1639
1639
|
trace?: never;
|
|
1640
1640
|
};
|
|
1641
|
+
"/v1/stores/{storeId}/webhooks/resend": {
|
|
1642
|
+
parameters: {
|
|
1643
|
+
query?: never;
|
|
1644
|
+
header?: never;
|
|
1645
|
+
path?: never;
|
|
1646
|
+
cookie?: never;
|
|
1647
|
+
};
|
|
1648
|
+
get?: never;
|
|
1649
|
+
put?: never;
|
|
1650
|
+
post: operations["Webhooks_Resend"];
|
|
1651
|
+
delete?: never;
|
|
1652
|
+
options?: never;
|
|
1653
|
+
head?: never;
|
|
1654
|
+
patch?: never;
|
|
1655
|
+
trace?: never;
|
|
1656
|
+
};
|
|
1641
1657
|
"/v1/stores/{storeId}/webhooks/{webhookId}/history": {
|
|
1642
1658
|
parameters: {
|
|
1643
1659
|
query?: never;
|
|
@@ -1927,6 +1943,10 @@ export interface components {
|
|
|
1927
1943
|
CheckForBanIDByIdentitiesRequestDto: {
|
|
1928
1944
|
identities: components["schemas"]["BanIdentityDto"][];
|
|
1929
1945
|
};
|
|
1946
|
+
CheckForBanIDByIdentitiesResponseDto: {
|
|
1947
|
+
is_banned: boolean;
|
|
1948
|
+
ban_id?: components["schemas"]["FlakeId"];
|
|
1949
|
+
};
|
|
1930
1950
|
CommandAttemptDto: {
|
|
1931
1951
|
id: components["schemas"]["FlakeId"];
|
|
1932
1952
|
store_id: components["schemas"]["FlakeId"];
|
|
@@ -2876,8 +2896,6 @@ export interface components {
|
|
|
2876
2896
|
tax_code?: components["schemas"]["ProductTaxCode"];
|
|
2877
2897
|
/** @description Indicates whether concurrent active items are allowed. */
|
|
2878
2898
|
allow_concurrent_active_items?: null | boolean;
|
|
2879
|
-
/** @description Indicates whether using coupons and gift cards on this product is allowed. */
|
|
2880
|
-
disable_promo_codes?: null | boolean;
|
|
2881
2899
|
/** @description Indicates whether the product is hidden. */
|
|
2882
2900
|
is_hidden?: null | boolean;
|
|
2883
2901
|
/** @description Indicates whether gifting is disabled. */
|
|
@@ -2900,6 +2918,12 @@ export interface components {
|
|
|
2900
2918
|
required_product_all?: null | boolean;
|
|
2901
2919
|
/** @description The IDs of associated custom variables. */
|
|
2902
2920
|
custom_variable_ids?: null | components["schemas"]["FlakeId"][];
|
|
2921
|
+
/** @description Indicates if applying gift cards should be disabled on the product. */
|
|
2922
|
+
is_gift_cards_disabled?: null | boolean;
|
|
2923
|
+
/** @description Indicates if applying coupons should be disabled on the product. */
|
|
2924
|
+
is_coupons_disabled?: null | boolean;
|
|
2925
|
+
/** @description Indicates if applying affiliate links should be disabled on the product. */
|
|
2926
|
+
is_affiliate_links_disabled?: null | boolean;
|
|
2903
2927
|
};
|
|
2904
2928
|
/** @description Klarna payment method details */
|
|
2905
2929
|
KlarnaDetailsDto: {
|
|
@@ -3788,8 +3812,6 @@ export interface components {
|
|
|
3788
3812
|
tax_code?: components["schemas"]["ProductTaxCode"];
|
|
3789
3813
|
/** @description Indicates whether concurrent active items are allowed. */
|
|
3790
3814
|
allow_concurrent_active_items?: null | boolean;
|
|
3791
|
-
/** @description Indicates whether using coupons and gift cards on this product is allowed. */
|
|
3792
|
-
disable_promo_codes?: null | boolean;
|
|
3793
3815
|
/** @description Indicates whether the product is hidden. */
|
|
3794
3816
|
is_hidden?: null | boolean;
|
|
3795
3817
|
/** @description Indicates whether gifting is disabled. */
|
|
@@ -3810,6 +3832,12 @@ export interface components {
|
|
|
3810
3832
|
required_product_all?: null | boolean;
|
|
3811
3833
|
/** @description The IDs of associated custom variables. */
|
|
3812
3834
|
custom_variable_ids?: null | components["schemas"]["FlakeId"][];
|
|
3835
|
+
/** @description Indicates if applying gift cards should be disabled on the product. */
|
|
3836
|
+
is_gift_cards_disabled?: null | boolean;
|
|
3837
|
+
/** @description Indicates if applying coupons should be disabled on the product. */
|
|
3838
|
+
is_coupons_disabled?: null | boolean;
|
|
3839
|
+
/** @description Indicates if applying affiliate links should be disabled on the product. */
|
|
3840
|
+
is_affiliate_links_disabled?: null | boolean;
|
|
3813
3841
|
};
|
|
3814
3842
|
ProductGameServerDto: {
|
|
3815
3843
|
id: components["schemas"]["FlakeId"];
|
|
@@ -4207,6 +4235,9 @@ export interface components {
|
|
|
4207
4235
|
/** Format: int32 */
|
|
4208
4236
|
enqueued_commands_count: number;
|
|
4209
4237
|
};
|
|
4238
|
+
ResendWebhookDto: {
|
|
4239
|
+
webhook_id: components["schemas"]["FlakeId"];
|
|
4240
|
+
};
|
|
4210
4241
|
/** @enum {string} */
|
|
4211
4242
|
SaleDiscountType: "percent" | "amount";
|
|
4212
4243
|
/** @description Represents a detailed view of a Sale, including configuration and audit information. */
|
|
@@ -4996,8 +5027,6 @@ export interface components {
|
|
|
4996
5027
|
tax_code?: components["schemas"]["ProductTaxCode"];
|
|
4997
5028
|
/** @description Indicates whether concurrent active items are allowed. */
|
|
4998
5029
|
allow_concurrent_active_items?: null | boolean;
|
|
4999
|
-
/** @description Indicates whether using coupons and gift cards on this product is allowed. */
|
|
5000
|
-
disable_promo_codes?: null | boolean;
|
|
5001
5030
|
/** @description Indicates whether the product is hidden. */
|
|
5002
5031
|
is_hidden?: null | boolean;
|
|
5003
5032
|
/** @description Indicates whether gifting is disabled. */
|
|
@@ -5020,6 +5049,12 @@ export interface components {
|
|
|
5020
5049
|
required_product_all?: null | boolean;
|
|
5021
5050
|
/** @description The IDs of associated custom variables. */
|
|
5022
5051
|
custom_variable_ids?: null | components["schemas"]["FlakeId"][];
|
|
5052
|
+
/** @description Indicates if applying gift cards should be disabled on the product. */
|
|
5053
|
+
is_gift_cards_disabled?: null | boolean;
|
|
5054
|
+
/** @description Indicates if applying coupons should be disabled on the product. */
|
|
5055
|
+
is_coupons_disabled?: null | boolean;
|
|
5056
|
+
/** @description Indicates if applying affiliate links should be disabled on the product. */
|
|
5057
|
+
is_affiliate_links_disabled?: null | boolean;
|
|
5023
5058
|
};
|
|
5024
5059
|
/** @description Represents the configuration for trials of a product */
|
|
5025
5060
|
UpsertProductTrialConfigurationDto: {
|
|
@@ -5470,7 +5505,7 @@ export interface operations {
|
|
|
5470
5505
|
[name: string]: unknown;
|
|
5471
5506
|
};
|
|
5472
5507
|
content: {
|
|
5473
|
-
"application/json": components["schemas"]["
|
|
5508
|
+
"application/json": components["schemas"]["CheckForBanIDByIdentitiesResponseDto"];
|
|
5474
5509
|
};
|
|
5475
5510
|
};
|
|
5476
5511
|
/** @description Error response */
|
|
@@ -9567,6 +9602,39 @@ export interface operations {
|
|
|
9567
9602
|
};
|
|
9568
9603
|
};
|
|
9569
9604
|
};
|
|
9605
|
+
Webhooks_Resend: {
|
|
9606
|
+
parameters: {
|
|
9607
|
+
query?: never;
|
|
9608
|
+
header?: never;
|
|
9609
|
+
path?: never;
|
|
9610
|
+
cookie?: never;
|
|
9611
|
+
};
|
|
9612
|
+
requestBody?: {
|
|
9613
|
+
content: {
|
|
9614
|
+
"application/json": components["schemas"]["ResendWebhookDto"];
|
|
9615
|
+
"text/json": components["schemas"]["ResendWebhookDto"];
|
|
9616
|
+
"application/*+json": components["schemas"]["ResendWebhookDto"];
|
|
9617
|
+
};
|
|
9618
|
+
};
|
|
9619
|
+
responses: {
|
|
9620
|
+
/** @description No Content */
|
|
9621
|
+
204: {
|
|
9622
|
+
headers: {
|
|
9623
|
+
[name: string]: unknown;
|
|
9624
|
+
};
|
|
9625
|
+
content?: never;
|
|
9626
|
+
};
|
|
9627
|
+
/** @description Error response */
|
|
9628
|
+
default: {
|
|
9629
|
+
headers: {
|
|
9630
|
+
[name: string]: unknown;
|
|
9631
|
+
};
|
|
9632
|
+
content: {
|
|
9633
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
9634
|
+
};
|
|
9635
|
+
};
|
|
9636
|
+
};
|
|
9637
|
+
};
|
|
9570
9638
|
Webhooks_GetHistory: {
|
|
9571
9639
|
parameters: {
|
|
9572
9640
|
query?: {
|
|
@@ -10115,6 +10183,10 @@ export declare const operationMappings: {
|
|
|
10115
10183
|
readonly method: "DELETE";
|
|
10116
10184
|
readonly path: "/v1/stores/{storeId}/webhooks/{webhookId}";
|
|
10117
10185
|
};
|
|
10186
|
+
readonly Webhooks_Resend: {
|
|
10187
|
+
readonly method: "POST";
|
|
10188
|
+
readonly path: "/v1/stores/{storeId}/webhooks/resend";
|
|
10189
|
+
};
|
|
10118
10190
|
readonly Webhooks_GetHistory: {
|
|
10119
10191
|
readonly method: "GET";
|
|
10120
10192
|
readonly path: "/v1/stores/{storeId}/webhooks/{webhookId}/history";
|