@paynow-gg/typescript-sdk 1.0.37 → 1.0.39
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/generated/management.d.ts +344 -78
- package/dist/generated/management.d.ts.map +1 -1
- package/dist/generated/management.js +22 -6
- package/dist/generated/management.js.map +1 -1
- package/dist/generated/storefront.d.ts +0 -15
- package/dist/generated/storefront.d.ts.map +1 -1
- package/dist/generated/storefront.js.map +1 -1
- package/dist/generated/webhooks.d.ts +3 -0
- package/dist/generated/webhooks.d.ts.map +1 -1
- package/dist/generated/webhooks.js.map +1 -1
- 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.
|
|
@@ -408,23 +408,6 @@ export interface paths {
|
|
|
408
408
|
patch?: never;
|
|
409
409
|
trace?: never;
|
|
410
410
|
};
|
|
411
|
-
"/v1/stores/{storeId}/delivery/items/update-product-versions": {
|
|
412
|
-
parameters: {
|
|
413
|
-
query?: never;
|
|
414
|
-
header?: never;
|
|
415
|
-
path?: never;
|
|
416
|
-
cookie?: never;
|
|
417
|
-
};
|
|
418
|
-
get?: never;
|
|
419
|
-
put?: never;
|
|
420
|
-
/** Update product version id for delivery items of given product id */
|
|
421
|
-
post: operations["Delivery_UpdateDeliveryItemProductVersions"];
|
|
422
|
-
delete?: never;
|
|
423
|
-
options?: never;
|
|
424
|
-
head?: never;
|
|
425
|
-
patch?: never;
|
|
426
|
-
trace?: never;
|
|
427
|
-
};
|
|
428
411
|
"/v1/stores/{storeId}/command-delivery": {
|
|
429
412
|
parameters: {
|
|
430
413
|
query?: never;
|
|
@@ -468,7 +451,7 @@ export interface paths {
|
|
|
468
451
|
* Get delivery items associated with a customer
|
|
469
452
|
* @description Retrieves delivery items associated with a customer
|
|
470
453
|
*/
|
|
471
|
-
get: operations["
|
|
454
|
+
get: operations["Delivery_GetCustomerDeliveryItems"];
|
|
472
455
|
put?: never;
|
|
473
456
|
/**
|
|
474
457
|
* Assign a delivery item to a customer
|
|
@@ -512,7 +495,7 @@ export interface paths {
|
|
|
512
495
|
* Get command attempts associated with a customer
|
|
513
496
|
* @description Retrieves command attempts associated with a customer
|
|
514
497
|
*/
|
|
515
|
-
get: operations["
|
|
498
|
+
get: operations["Delivery_GetCommandAttemptsForCustomer"];
|
|
516
499
|
put?: never;
|
|
517
500
|
post?: never;
|
|
518
501
|
delete?: never;
|
|
@@ -553,6 +536,23 @@ export interface paths {
|
|
|
553
536
|
patch?: never;
|
|
554
537
|
trace?: never;
|
|
555
538
|
};
|
|
539
|
+
"/v1/stores/{storeId}/gameservers/{gameServerId}/delivery/items": {
|
|
540
|
+
parameters: {
|
|
541
|
+
query?: never;
|
|
542
|
+
header?: never;
|
|
543
|
+
path?: never;
|
|
544
|
+
cookie?: never;
|
|
545
|
+
};
|
|
546
|
+
/** Returns delivery items in which an associated command attempt is for the gameserver */
|
|
547
|
+
get: operations["Delivery_GetGameServerDeliveryItems"];
|
|
548
|
+
put?: never;
|
|
549
|
+
post?: never;
|
|
550
|
+
delete?: never;
|
|
551
|
+
options?: never;
|
|
552
|
+
head?: never;
|
|
553
|
+
patch?: never;
|
|
554
|
+
trace?: never;
|
|
555
|
+
};
|
|
556
556
|
"/v1/stores/{storeId}/gameservers/{gameServerId}/delivery/commands/resend": {
|
|
557
557
|
parameters: {
|
|
558
558
|
query?: never;
|
|
@@ -1171,6 +1171,54 @@ export interface paths {
|
|
|
1171
1171
|
patch?: never;
|
|
1172
1172
|
trace?: never;
|
|
1173
1173
|
};
|
|
1174
|
+
"/v1/stores/{storeId}/products/{productId}/dependent-migrations": {
|
|
1175
|
+
parameters: {
|
|
1176
|
+
query?: never;
|
|
1177
|
+
header?: never;
|
|
1178
|
+
path?: never;
|
|
1179
|
+
cookie?: never;
|
|
1180
|
+
};
|
|
1181
|
+
get: operations["ProductDependentMigrations_GetProductDependentMigrations"];
|
|
1182
|
+
put?: never;
|
|
1183
|
+
post: operations["ProductDependentMigrations_CreateProductDependentMigration"];
|
|
1184
|
+
delete?: never;
|
|
1185
|
+
options?: never;
|
|
1186
|
+
head?: never;
|
|
1187
|
+
patch?: never;
|
|
1188
|
+
trace?: never;
|
|
1189
|
+
};
|
|
1190
|
+
"/v1/stores/{storeId}/products/{productId}/dependent-migrations/estimate": {
|
|
1191
|
+
parameters: {
|
|
1192
|
+
query?: never;
|
|
1193
|
+
header?: never;
|
|
1194
|
+
path?: never;
|
|
1195
|
+
cookie?: never;
|
|
1196
|
+
};
|
|
1197
|
+
get: operations["ProductDependentMigrations_GetProductDependentMigrationEstimate"];
|
|
1198
|
+
put?: never;
|
|
1199
|
+
post?: never;
|
|
1200
|
+
delete?: never;
|
|
1201
|
+
options?: never;
|
|
1202
|
+
head?: never;
|
|
1203
|
+
patch?: never;
|
|
1204
|
+
trace?: never;
|
|
1205
|
+
};
|
|
1206
|
+
"/v1/stores/{storeId}/product-dependent-migrations/{productDependentMigrationId}": {
|
|
1207
|
+
parameters: {
|
|
1208
|
+
query?: never;
|
|
1209
|
+
header?: never;
|
|
1210
|
+
path?: never;
|
|
1211
|
+
cookie?: never;
|
|
1212
|
+
};
|
|
1213
|
+
get: operations["ProductDependentMigrations_GetProductDependentMigrationById"];
|
|
1214
|
+
put?: never;
|
|
1215
|
+
post?: never;
|
|
1216
|
+
delete?: never;
|
|
1217
|
+
options?: never;
|
|
1218
|
+
head?: never;
|
|
1219
|
+
patch?: never;
|
|
1220
|
+
trace?: never;
|
|
1221
|
+
};
|
|
1174
1222
|
"/v1/stores/{storeId}/products": {
|
|
1175
1223
|
parameters: {
|
|
1176
1224
|
query?: never;
|
|
@@ -2135,11 +2183,6 @@ export interface components {
|
|
|
2135
2183
|
*/
|
|
2136
2184
|
quantity: number;
|
|
2137
2185
|
selected_gameserver_id?: components["schemas"]["FlakeId"];
|
|
2138
|
-
/** @description Optional metadata to associate with the checkout session line.
|
|
2139
|
-
* Do not store any sensitive information here. */
|
|
2140
|
-
metadata?: null | {
|
|
2141
|
-
[key: string]: string;
|
|
2142
|
-
};
|
|
2143
2186
|
/** @description Key-value pair mapping custom variable identifiers to their selected values.
|
|
2144
2187
|
* Required only when the product includes custom variables. */
|
|
2145
2188
|
custom_variables?: null | {
|
|
@@ -2162,11 +2205,6 @@ export interface components {
|
|
|
2162
2205
|
*/
|
|
2163
2206
|
quantity: number;
|
|
2164
2207
|
selected_gameserver_id?: components["schemas"]["FlakeId"];
|
|
2165
|
-
/** @description Optional metadata to associate with the checkout session line.
|
|
2166
|
-
* Do not store any sensitive information here. */
|
|
2167
|
-
metadata?: null | {
|
|
2168
|
-
[key: string]: string;
|
|
2169
|
-
};
|
|
2170
2208
|
/** @description Key-value pair mapping custom variable identifiers to their selected values.
|
|
2171
2209
|
* Required only when the product includes custom variables. */
|
|
2172
2210
|
custom_variables?: null | {
|
|
@@ -2174,6 +2212,11 @@ export interface components {
|
|
|
2174
2212
|
};
|
|
2175
2213
|
product_id?: components["schemas"]["FlakeId"];
|
|
2176
2214
|
inline_product?: components["schemas"]["InlineProductCreateDto"];
|
|
2215
|
+
/** @description Optional metadata to associate with the checkout session line.
|
|
2216
|
+
* Do not store any sensitive information here. */
|
|
2217
|
+
metadata?: null | {
|
|
2218
|
+
[key: string]: string;
|
|
2219
|
+
};
|
|
2177
2220
|
};
|
|
2178
2221
|
/** @description Request to create a new checkout session from your back-end server using the management API.
|
|
2179
2222
|
* `customer_id` needs to be specified explicitly here instead of using a Customer token. */
|
|
@@ -2195,12 +2238,12 @@ export interface components {
|
|
|
2195
2238
|
cancel_url?: null | string;
|
|
2196
2239
|
/** @description Whether to automatically redirect the customer (return_url must be set) */
|
|
2197
2240
|
auto_redirect?: null | boolean;
|
|
2241
|
+
customer_id: components["schemas"]["FlakeId"];
|
|
2198
2242
|
/** @description Optional metadata to associate with the checkout session.
|
|
2199
2243
|
* Do not store any sensitive information here. */
|
|
2200
2244
|
metadata?: null | {
|
|
2201
2245
|
[key: string]: string;
|
|
2202
2246
|
};
|
|
2203
|
-
customer_id: components["schemas"]["FlakeId"];
|
|
2204
2247
|
};
|
|
2205
2248
|
/** @description Response after creating a checkout session */
|
|
2206
2249
|
CreateCheckoutSessionResponseDto: {
|
|
@@ -2264,6 +2307,9 @@ export interface components {
|
|
|
2264
2307
|
/** Format: int32 */
|
|
2265
2308
|
order?: null | number;
|
|
2266
2309
|
};
|
|
2310
|
+
CreateProductDependentMigrationRequestDto: {
|
|
2311
|
+
types: components["schemas"]["ProductDependentMigrationTargetTypeDto"][];
|
|
2312
|
+
};
|
|
2267
2313
|
CreateRefundRequestDto: {
|
|
2268
2314
|
order_line_id?: components["schemas"]["FlakeId"];
|
|
2269
2315
|
/** @description Determines if the refund should be taken from the connected user's balance.
|
|
@@ -3800,6 +3846,46 @@ export interface components {
|
|
|
3800
3846
|
/** @description Value indicating whether to grant a giftcard with the product with the subtotal amount. */
|
|
3801
3847
|
grant_giftcard: boolean;
|
|
3802
3848
|
};
|
|
3849
|
+
ProductDependentMigrationDto: {
|
|
3850
|
+
id: components["schemas"]["FlakeId"];
|
|
3851
|
+
store_id: components["schemas"]["FlakeId"];
|
|
3852
|
+
product_id: components["schemas"]["FlakeId"];
|
|
3853
|
+
/** Format: date-time */
|
|
3854
|
+
created_at: string;
|
|
3855
|
+
created_by: components["schemas"]["ActorDto"];
|
|
3856
|
+
migration_targets: components["schemas"]["ProductDependentMigrationTargetDto"][];
|
|
3857
|
+
status: components["schemas"]["ProductDependentMigrationStatusDto"];
|
|
3858
|
+
/** Format: date-time */
|
|
3859
|
+
completed_at?: null | string;
|
|
3860
|
+
};
|
|
3861
|
+
ProductDependentMigrationEstimateTargetCountDto: {
|
|
3862
|
+
type: components["schemas"]["ProductDependentMigrationTargetTypeDto"];
|
|
3863
|
+
/** Format: int32 */
|
|
3864
|
+
total_entities: number;
|
|
3865
|
+
};
|
|
3866
|
+
ProductDependentMigrationEstimateVersionDto: {
|
|
3867
|
+
product_version_id: components["schemas"]["FlakeId"];
|
|
3868
|
+
/** Format: date-time */
|
|
3869
|
+
product_version_created_at: string;
|
|
3870
|
+
target_counts: components["schemas"]["ProductDependentMigrationEstimateTargetCountDto"][];
|
|
3871
|
+
};
|
|
3872
|
+
/** @enum {string} */
|
|
3873
|
+
ProductDependentMigrationStatusDto: "invalid" | "created" | "completed";
|
|
3874
|
+
ProductDependentMigrationTargetDto: {
|
|
3875
|
+
type: components["schemas"]["ProductDependentMigrationTargetTypeDto"];
|
|
3876
|
+
versions: components["schemas"]["ProductDependentMigrationTargetVersionDto"][];
|
|
3877
|
+
};
|
|
3878
|
+
/** @enum {string} */
|
|
3879
|
+
ProductDependentMigrationTargetTypeDto: "invalid" | "active_subscriptions" | "active_unused_delivery_items";
|
|
3880
|
+
ProductDependentMigrationTargetVersionDto: {
|
|
3881
|
+
old_product_version_id: components["schemas"]["FlakeId"];
|
|
3882
|
+
/** Format: date-time */
|
|
3883
|
+
old_product_version_created_at: string;
|
|
3884
|
+
new_product_version_id: components["schemas"]["FlakeId"];
|
|
3885
|
+
/** Format: int32 */
|
|
3886
|
+
total_entities_migrated: number;
|
|
3887
|
+
migrated: boolean;
|
|
3888
|
+
};
|
|
3803
3889
|
ProductDownloadableFileDto: {
|
|
3804
3890
|
id: components["schemas"]["FlakeId"];
|
|
3805
3891
|
store_id: components["schemas"]["FlakeId"];
|
|
@@ -4940,10 +5026,6 @@ export interface components {
|
|
|
4940
5026
|
/** Format: date-time */
|
|
4941
5027
|
expires_at?: null | string;
|
|
4942
5028
|
};
|
|
4943
|
-
UpdateDeliveryItemProductVersionRequestDto: {
|
|
4944
|
-
product_version_id: components["schemas"]["FlakeId"];
|
|
4945
|
-
product_id: components["schemas"]["FlakeId"];
|
|
4946
|
-
};
|
|
4947
5029
|
UpdateGameServerDto: {
|
|
4948
5030
|
name?: string;
|
|
4949
5031
|
enabled?: boolean;
|
|
@@ -6390,7 +6472,9 @@ export interface operations {
|
|
|
6390
6472
|
};
|
|
6391
6473
|
Delivery_GetOrderDeliveryItems: {
|
|
6392
6474
|
parameters: {
|
|
6393
|
-
query?:
|
|
6475
|
+
query?: {
|
|
6476
|
+
activeOnly?: boolean;
|
|
6477
|
+
};
|
|
6394
6478
|
header?: never;
|
|
6395
6479
|
path: {
|
|
6396
6480
|
/** @description The ID of the order to retrieve delivery items from. */
|
|
@@ -6490,42 +6574,7 @@ export interface operations {
|
|
|
6490
6574
|
};
|
|
6491
6575
|
};
|
|
6492
6576
|
};
|
|
6493
|
-
|
|
6494
|
-
parameters: {
|
|
6495
|
-
query?: never;
|
|
6496
|
-
header?: never;
|
|
6497
|
-
path?: never;
|
|
6498
|
-
cookie?: never;
|
|
6499
|
-
};
|
|
6500
|
-
requestBody?: {
|
|
6501
|
-
content: {
|
|
6502
|
-
"application/json": components["schemas"]["UpdateDeliveryItemProductVersionRequestDto"];
|
|
6503
|
-
"text/json": components["schemas"]["UpdateDeliveryItemProductVersionRequestDto"];
|
|
6504
|
-
"application/*+json": components["schemas"]["UpdateDeliveryItemProductVersionRequestDto"];
|
|
6505
|
-
};
|
|
6506
|
-
};
|
|
6507
|
-
responses: {
|
|
6508
|
-
/** @description OK */
|
|
6509
|
-
200: {
|
|
6510
|
-
headers: {
|
|
6511
|
-
[name: string]: unknown;
|
|
6512
|
-
};
|
|
6513
|
-
content: {
|
|
6514
|
-
"application/json": components["schemas"]["UpdateDeliveryItemProductVersionRequestDto"];
|
|
6515
|
-
};
|
|
6516
|
-
};
|
|
6517
|
-
/** @description Error response */
|
|
6518
|
-
default: {
|
|
6519
|
-
headers: {
|
|
6520
|
-
[name: string]: unknown;
|
|
6521
|
-
};
|
|
6522
|
-
content: {
|
|
6523
|
-
"application/json": components["schemas"]["PayNowError"];
|
|
6524
|
-
};
|
|
6525
|
-
};
|
|
6526
|
-
};
|
|
6527
|
-
};
|
|
6528
|
-
Delivery_GetDeliveryItems: {
|
|
6577
|
+
Delivery_GetCustomerDeliveryItems: {
|
|
6529
6578
|
parameters: {
|
|
6530
6579
|
query?: {
|
|
6531
6580
|
/** @description The maximum number of items to return in a single request. */
|
|
@@ -6546,6 +6595,7 @@ export interface operations {
|
|
|
6546
6595
|
* When true, items are returned in ascending order.
|
|
6547
6596
|
* When false, items are returned in descending order. */
|
|
6548
6597
|
asc?: boolean;
|
|
6598
|
+
activeOnly?: boolean;
|
|
6549
6599
|
};
|
|
6550
6600
|
header?: never;
|
|
6551
6601
|
path: {
|
|
@@ -6642,7 +6692,7 @@ export interface operations {
|
|
|
6642
6692
|
};
|
|
6643
6693
|
};
|
|
6644
6694
|
};
|
|
6645
|
-
|
|
6695
|
+
Delivery_GetCommandAttemptsForCustomer: {
|
|
6646
6696
|
parameters: {
|
|
6647
6697
|
query?: {
|
|
6648
6698
|
/** @description The maximum number of items to return in a single request. */
|
|
@@ -6692,6 +6742,57 @@ export interface operations {
|
|
|
6692
6742
|
};
|
|
6693
6743
|
};
|
|
6694
6744
|
};
|
|
6745
|
+
Delivery_GetGameServerDeliveryItems: {
|
|
6746
|
+
parameters: {
|
|
6747
|
+
query?: {
|
|
6748
|
+
/** @description The maximum number of items to return in a single request. */
|
|
6749
|
+
limit?: number;
|
|
6750
|
+
/**
|
|
6751
|
+
* @description Returns items after the specified ID.
|
|
6752
|
+
* Used for forward pagination through results.
|
|
6753
|
+
* @example null
|
|
6754
|
+
*/
|
|
6755
|
+
after?: components["schemas"]["FlakeId"];
|
|
6756
|
+
/**
|
|
6757
|
+
* @description Returns items before the specified ID.
|
|
6758
|
+
* Used for backward pagination through results.
|
|
6759
|
+
* @example null
|
|
6760
|
+
*/
|
|
6761
|
+
before?: components["schemas"]["FlakeId"];
|
|
6762
|
+
/** @description Determines the sort order of returned items.
|
|
6763
|
+
* When true, items are returned in ascending order.
|
|
6764
|
+
* When false, items are returned in descending order. */
|
|
6765
|
+
asc?: boolean;
|
|
6766
|
+
activeOnly?: boolean;
|
|
6767
|
+
};
|
|
6768
|
+
header?: never;
|
|
6769
|
+
path: {
|
|
6770
|
+
gameServerId: components["schemas"]["FlakeId"];
|
|
6771
|
+
};
|
|
6772
|
+
cookie?: never;
|
|
6773
|
+
};
|
|
6774
|
+
requestBody?: never;
|
|
6775
|
+
responses: {
|
|
6776
|
+
/** @description OK */
|
|
6777
|
+
200: {
|
|
6778
|
+
headers: {
|
|
6779
|
+
[name: string]: unknown;
|
|
6780
|
+
};
|
|
6781
|
+
content: {
|
|
6782
|
+
"application/json": components["schemas"]["DeliveryItemDto"][];
|
|
6783
|
+
};
|
|
6784
|
+
};
|
|
6785
|
+
/** @description Error response */
|
|
6786
|
+
default: {
|
|
6787
|
+
headers: {
|
|
6788
|
+
[name: string]: unknown;
|
|
6789
|
+
};
|
|
6790
|
+
content: {
|
|
6791
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
6792
|
+
};
|
|
6793
|
+
};
|
|
6794
|
+
};
|
|
6795
|
+
};
|
|
6695
6796
|
Delivery_ResendDeliveryCommandsForGameServer: {
|
|
6696
6797
|
parameters: {
|
|
6697
6798
|
query?: never;
|
|
@@ -8492,6 +8593,155 @@ export interface operations {
|
|
|
8492
8593
|
};
|
|
8493
8594
|
};
|
|
8494
8595
|
};
|
|
8596
|
+
ProductDependentMigrations_GetProductDependentMigrations: {
|
|
8597
|
+
parameters: {
|
|
8598
|
+
query?: {
|
|
8599
|
+
/** @description The maximum number of items to return in a single request. */
|
|
8600
|
+
limit?: number;
|
|
8601
|
+
/**
|
|
8602
|
+
* @description Returns items after the specified ID.
|
|
8603
|
+
* Used for forward pagination through results.
|
|
8604
|
+
* @example null
|
|
8605
|
+
*/
|
|
8606
|
+
after?: components["schemas"]["FlakeId"];
|
|
8607
|
+
/**
|
|
8608
|
+
* @description Returns items before the specified ID.
|
|
8609
|
+
* Used for backward pagination through results.
|
|
8610
|
+
* @example null
|
|
8611
|
+
*/
|
|
8612
|
+
before?: components["schemas"]["FlakeId"];
|
|
8613
|
+
/** @description Determines the sort order of returned items.
|
|
8614
|
+
* When true, items are returned in ascending order.
|
|
8615
|
+
* When false, items are returned in descending order. */
|
|
8616
|
+
asc?: boolean;
|
|
8617
|
+
};
|
|
8618
|
+
header?: never;
|
|
8619
|
+
path: {
|
|
8620
|
+
productId: components["schemas"]["FlakeId"];
|
|
8621
|
+
};
|
|
8622
|
+
cookie?: never;
|
|
8623
|
+
};
|
|
8624
|
+
requestBody?: never;
|
|
8625
|
+
responses: {
|
|
8626
|
+
/** @description OK */
|
|
8627
|
+
200: {
|
|
8628
|
+
headers: {
|
|
8629
|
+
[name: string]: unknown;
|
|
8630
|
+
};
|
|
8631
|
+
content: {
|
|
8632
|
+
"application/json": components["schemas"]["ProductDependentMigrationDto"][];
|
|
8633
|
+
};
|
|
8634
|
+
};
|
|
8635
|
+
/** @description Error response */
|
|
8636
|
+
default: {
|
|
8637
|
+
headers: {
|
|
8638
|
+
[name: string]: unknown;
|
|
8639
|
+
};
|
|
8640
|
+
content: {
|
|
8641
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
8642
|
+
};
|
|
8643
|
+
};
|
|
8644
|
+
};
|
|
8645
|
+
};
|
|
8646
|
+
ProductDependentMigrations_CreateProductDependentMigration: {
|
|
8647
|
+
parameters: {
|
|
8648
|
+
query?: never;
|
|
8649
|
+
header?: never;
|
|
8650
|
+
path: {
|
|
8651
|
+
productId: components["schemas"]["FlakeId"];
|
|
8652
|
+
};
|
|
8653
|
+
cookie?: never;
|
|
8654
|
+
};
|
|
8655
|
+
requestBody?: {
|
|
8656
|
+
content: {
|
|
8657
|
+
"application/json": components["schemas"]["CreateProductDependentMigrationRequestDto"];
|
|
8658
|
+
"text/json": components["schemas"]["CreateProductDependentMigrationRequestDto"];
|
|
8659
|
+
"application/*+json": components["schemas"]["CreateProductDependentMigrationRequestDto"];
|
|
8660
|
+
};
|
|
8661
|
+
};
|
|
8662
|
+
responses: {
|
|
8663
|
+
/** @description OK */
|
|
8664
|
+
200: {
|
|
8665
|
+
headers: {
|
|
8666
|
+
[name: string]: unknown;
|
|
8667
|
+
};
|
|
8668
|
+
content: {
|
|
8669
|
+
"application/json": components["schemas"]["ProductDependentMigrationDto"];
|
|
8670
|
+
};
|
|
8671
|
+
};
|
|
8672
|
+
/** @description Error response */
|
|
8673
|
+
default: {
|
|
8674
|
+
headers: {
|
|
8675
|
+
[name: string]: unknown;
|
|
8676
|
+
};
|
|
8677
|
+
content: {
|
|
8678
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
8679
|
+
};
|
|
8680
|
+
};
|
|
8681
|
+
};
|
|
8682
|
+
};
|
|
8683
|
+
ProductDependentMigrations_GetProductDependentMigrationEstimate: {
|
|
8684
|
+
parameters: {
|
|
8685
|
+
query?: never;
|
|
8686
|
+
header?: never;
|
|
8687
|
+
path: {
|
|
8688
|
+
productId: components["schemas"]["FlakeId"];
|
|
8689
|
+
};
|
|
8690
|
+
cookie?: never;
|
|
8691
|
+
};
|
|
8692
|
+
requestBody?: never;
|
|
8693
|
+
responses: {
|
|
8694
|
+
/** @description OK */
|
|
8695
|
+
200: {
|
|
8696
|
+
headers: {
|
|
8697
|
+
[name: string]: unknown;
|
|
8698
|
+
};
|
|
8699
|
+
content: {
|
|
8700
|
+
"application/json": components["schemas"]["ProductDependentMigrationEstimateVersionDto"][];
|
|
8701
|
+
};
|
|
8702
|
+
};
|
|
8703
|
+
/** @description Error response */
|
|
8704
|
+
default: {
|
|
8705
|
+
headers: {
|
|
8706
|
+
[name: string]: unknown;
|
|
8707
|
+
};
|
|
8708
|
+
content: {
|
|
8709
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
8710
|
+
};
|
|
8711
|
+
};
|
|
8712
|
+
};
|
|
8713
|
+
};
|
|
8714
|
+
ProductDependentMigrations_GetProductDependentMigrationById: {
|
|
8715
|
+
parameters: {
|
|
8716
|
+
query?: never;
|
|
8717
|
+
header?: never;
|
|
8718
|
+
path: {
|
|
8719
|
+
productDependentMigrationId: components["schemas"]["FlakeId"];
|
|
8720
|
+
};
|
|
8721
|
+
cookie?: never;
|
|
8722
|
+
};
|
|
8723
|
+
requestBody?: never;
|
|
8724
|
+
responses: {
|
|
8725
|
+
/** @description OK */
|
|
8726
|
+
200: {
|
|
8727
|
+
headers: {
|
|
8728
|
+
[name: string]: unknown;
|
|
8729
|
+
};
|
|
8730
|
+
content: {
|
|
8731
|
+
"application/json": components["schemas"]["ProductDependentMigrationDto"];
|
|
8732
|
+
};
|
|
8733
|
+
};
|
|
8734
|
+
/** @description Error response */
|
|
8735
|
+
default: {
|
|
8736
|
+
headers: {
|
|
8737
|
+
[name: string]: unknown;
|
|
8738
|
+
};
|
|
8739
|
+
content: {
|
|
8740
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
8741
|
+
};
|
|
8742
|
+
};
|
|
8743
|
+
};
|
|
8744
|
+
};
|
|
8495
8745
|
Products_GetProducts: {
|
|
8496
8746
|
parameters: {
|
|
8497
8747
|
query?: never;
|
|
@@ -9963,11 +10213,7 @@ export declare const operationMappings: {
|
|
|
9963
10213
|
readonly method: "POST";
|
|
9964
10214
|
readonly path: "/v1/stores/{storeId}/delivery/commands/unqueue";
|
|
9965
10215
|
};
|
|
9966
|
-
readonly
|
|
9967
|
-
readonly method: "POST";
|
|
9968
|
-
readonly path: "/v1/stores/{storeId}/delivery/items/update-product-versions";
|
|
9969
|
-
};
|
|
9970
|
-
readonly Delivery_GetDeliveryItems: {
|
|
10216
|
+
readonly Delivery_GetCustomerDeliveryItems: {
|
|
9971
10217
|
readonly method: "GET";
|
|
9972
10218
|
readonly path: "/v1/stores/{storeId}/customers/{customerId}/delivery/items";
|
|
9973
10219
|
};
|
|
@@ -9979,10 +10225,14 @@ export declare const operationMappings: {
|
|
|
9979
10225
|
readonly method: "DELETE";
|
|
9980
10226
|
readonly path: "/v1/stores/{storeId}/customers/{customerId}/delivery/items/{deliveryItemId}";
|
|
9981
10227
|
};
|
|
9982
|
-
readonly
|
|
10228
|
+
readonly Delivery_GetCommandAttemptsForCustomer: {
|
|
9983
10229
|
readonly method: "GET";
|
|
9984
10230
|
readonly path: "/v1/stores/{storeId}/customers/{customerId}/delivery/commands";
|
|
9985
10231
|
};
|
|
10232
|
+
readonly Delivery_GetGameServerDeliveryItems: {
|
|
10233
|
+
readonly method: "GET";
|
|
10234
|
+
readonly path: "/v1/stores/{storeId}/gameservers/{gameServerId}/delivery/items";
|
|
10235
|
+
};
|
|
9986
10236
|
readonly Delivery_ResendDeliveryCommandsForGameServer: {
|
|
9987
10237
|
readonly method: "POST";
|
|
9988
10238
|
readonly path: "/v1/stores/{storeId}/gameservers/{gameServerId}/delivery/commands/resend";
|
|
@@ -10195,6 +10445,22 @@ export declare const operationMappings: {
|
|
|
10195
10445
|
readonly method: "GET";
|
|
10196
10446
|
readonly path: "/v1/stores/{storeId}/payments/{paymentId}";
|
|
10197
10447
|
};
|
|
10448
|
+
readonly ProductDependentMigrations_GetProductDependentMigrations: {
|
|
10449
|
+
readonly method: "GET";
|
|
10450
|
+
readonly path: "/v1/stores/{storeId}/products/{productId}/dependent-migrations";
|
|
10451
|
+
};
|
|
10452
|
+
readonly ProductDependentMigrations_CreateProductDependentMigration: {
|
|
10453
|
+
readonly method: "POST";
|
|
10454
|
+
readonly path: "/v1/stores/{storeId}/products/{productId}/dependent-migrations";
|
|
10455
|
+
};
|
|
10456
|
+
readonly ProductDependentMigrations_GetProductDependentMigrationEstimate: {
|
|
10457
|
+
readonly method: "GET";
|
|
10458
|
+
readonly path: "/v1/stores/{storeId}/products/{productId}/dependent-migrations/estimate";
|
|
10459
|
+
};
|
|
10460
|
+
readonly ProductDependentMigrations_GetProductDependentMigrationById: {
|
|
10461
|
+
readonly method: "GET";
|
|
10462
|
+
readonly path: "/v1/stores/{storeId}/product-dependent-migrations/{productDependentMigrationId}";
|
|
10463
|
+
};
|
|
10198
10464
|
readonly Products_GetProducts: {
|
|
10199
10465
|
readonly method: "GET";
|
|
10200
10466
|
readonly path: "/v1/stores/{storeId}/products";
|