@paynow-gg/typescript-sdk 1.0.37 → 1.0.38

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.
@@ -468,7 +468,7 @@ export interface paths {
468
468
  * Get delivery items associated with a customer
469
469
  * @description Retrieves delivery items associated with a customer
470
470
  */
471
- get: operations["Delivery_GetDeliveryItems"];
471
+ get: operations["Delivery_GetCustomerDeliveryItems"];
472
472
  put?: never;
473
473
  /**
474
474
  * Assign a delivery item to a customer
@@ -512,7 +512,7 @@ export interface paths {
512
512
  * Get command attempts associated with a customer
513
513
  * @description Retrieves command attempts associated with a customer
514
514
  */
515
- get: operations["Delivery_GetCommandAttempts"];
515
+ get: operations["Delivery_GetCommandAttemptsForCustomer"];
516
516
  put?: never;
517
517
  post?: never;
518
518
  delete?: never;
@@ -553,6 +553,23 @@ export interface paths {
553
553
  patch?: never;
554
554
  trace?: never;
555
555
  };
556
+ "/v1/stores/{storeId}/gameservers/{gameServerId}/delivery/items": {
557
+ parameters: {
558
+ query?: never;
559
+ header?: never;
560
+ path?: never;
561
+ cookie?: never;
562
+ };
563
+ /** Returns delivery items in which an associated command attempt is for the gameserver */
564
+ get: operations["Delivery_GetGameServerDeliveryItems"];
565
+ put?: never;
566
+ post?: never;
567
+ delete?: never;
568
+ options?: never;
569
+ head?: never;
570
+ patch?: never;
571
+ trace?: never;
572
+ };
556
573
  "/v1/stores/{storeId}/gameservers/{gameServerId}/delivery/commands/resend": {
557
574
  parameters: {
558
575
  query?: never;
@@ -2135,11 +2152,6 @@ export interface components {
2135
2152
  */
2136
2153
  quantity: number;
2137
2154
  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
2155
  /** @description Key-value pair mapping custom variable identifiers to their selected values.
2144
2156
  * Required only when the product includes custom variables. */
2145
2157
  custom_variables?: null | {
@@ -2162,11 +2174,6 @@ export interface components {
2162
2174
  */
2163
2175
  quantity: number;
2164
2176
  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
2177
  /** @description Key-value pair mapping custom variable identifiers to their selected values.
2171
2178
  * Required only when the product includes custom variables. */
2172
2179
  custom_variables?: null | {
@@ -2174,6 +2181,11 @@ export interface components {
2174
2181
  };
2175
2182
  product_id?: components["schemas"]["FlakeId"];
2176
2183
  inline_product?: components["schemas"]["InlineProductCreateDto"];
2184
+ /** @description Optional metadata to associate with the checkout session line.
2185
+ * Do not store any sensitive information here. */
2186
+ metadata?: null | {
2187
+ [key: string]: string;
2188
+ };
2177
2189
  };
2178
2190
  /** @description Request to create a new checkout session from your back-end server using the management API.
2179
2191
  * `customer_id` needs to be specified explicitly here instead of using a Customer token. */
@@ -2195,12 +2207,12 @@ export interface components {
2195
2207
  cancel_url?: null | string;
2196
2208
  /** @description Whether to automatically redirect the customer (return_url must be set) */
2197
2209
  auto_redirect?: null | boolean;
2210
+ customer_id: components["schemas"]["FlakeId"];
2198
2211
  /** @description Optional metadata to associate with the checkout session.
2199
2212
  * Do not store any sensitive information here. */
2200
2213
  metadata?: null | {
2201
2214
  [key: string]: string;
2202
2215
  };
2203
- customer_id: components["schemas"]["FlakeId"];
2204
2216
  };
2205
2217
  /** @description Response after creating a checkout session */
2206
2218
  CreateCheckoutSessionResponseDto: {
@@ -6390,7 +6402,9 @@ export interface operations {
6390
6402
  };
6391
6403
  Delivery_GetOrderDeliveryItems: {
6392
6404
  parameters: {
6393
- query?: never;
6405
+ query?: {
6406
+ activeOnly?: boolean;
6407
+ };
6394
6408
  header?: never;
6395
6409
  path: {
6396
6410
  /** @description The ID of the order to retrieve delivery items from. */
@@ -6525,7 +6539,7 @@ export interface operations {
6525
6539
  };
6526
6540
  };
6527
6541
  };
6528
- Delivery_GetDeliveryItems: {
6542
+ Delivery_GetCustomerDeliveryItems: {
6529
6543
  parameters: {
6530
6544
  query?: {
6531
6545
  /** @description The maximum number of items to return in a single request. */
@@ -6546,6 +6560,7 @@ export interface operations {
6546
6560
  * When true, items are returned in ascending order.
6547
6561
  * When false, items are returned in descending order. */
6548
6562
  asc?: boolean;
6563
+ activeOnly?: boolean;
6549
6564
  };
6550
6565
  header?: never;
6551
6566
  path: {
@@ -6642,7 +6657,7 @@ export interface operations {
6642
6657
  };
6643
6658
  };
6644
6659
  };
6645
- Delivery_GetCommandAttempts: {
6660
+ Delivery_GetCommandAttemptsForCustomer: {
6646
6661
  parameters: {
6647
6662
  query?: {
6648
6663
  /** @description The maximum number of items to return in a single request. */
@@ -6692,6 +6707,57 @@ export interface operations {
6692
6707
  };
6693
6708
  };
6694
6709
  };
6710
+ Delivery_GetGameServerDeliveryItems: {
6711
+ parameters: {
6712
+ query?: {
6713
+ /** @description The maximum number of items to return in a single request. */
6714
+ limit?: number;
6715
+ /**
6716
+ * @description Returns items after the specified ID.
6717
+ * Used for forward pagination through results.
6718
+ * @example null
6719
+ */
6720
+ after?: components["schemas"]["FlakeId"];
6721
+ /**
6722
+ * @description Returns items before the specified ID.
6723
+ * Used for backward pagination through results.
6724
+ * @example null
6725
+ */
6726
+ before?: components["schemas"]["FlakeId"];
6727
+ /** @description Determines the sort order of returned items.
6728
+ * When true, items are returned in ascending order.
6729
+ * When false, items are returned in descending order. */
6730
+ asc?: boolean;
6731
+ activeOnly?: boolean;
6732
+ };
6733
+ header?: never;
6734
+ path: {
6735
+ gameServerId: components["schemas"]["FlakeId"];
6736
+ };
6737
+ cookie?: never;
6738
+ };
6739
+ requestBody?: never;
6740
+ responses: {
6741
+ /** @description OK */
6742
+ 200: {
6743
+ headers: {
6744
+ [name: string]: unknown;
6745
+ };
6746
+ content: {
6747
+ "application/json": components["schemas"]["DeliveryItemDto"][];
6748
+ };
6749
+ };
6750
+ /** @description Error response */
6751
+ default: {
6752
+ headers: {
6753
+ [name: string]: unknown;
6754
+ };
6755
+ content: {
6756
+ "application/json": components["schemas"]["PayNowError"];
6757
+ };
6758
+ };
6759
+ };
6760
+ };
6695
6761
  Delivery_ResendDeliveryCommandsForGameServer: {
6696
6762
  parameters: {
6697
6763
  query?: never;
@@ -9967,7 +10033,7 @@ export declare const operationMappings: {
9967
10033
  readonly method: "POST";
9968
10034
  readonly path: "/v1/stores/{storeId}/delivery/items/update-product-versions";
9969
10035
  };
9970
- readonly Delivery_GetDeliveryItems: {
10036
+ readonly Delivery_GetCustomerDeliveryItems: {
9971
10037
  readonly method: "GET";
9972
10038
  readonly path: "/v1/stores/{storeId}/customers/{customerId}/delivery/items";
9973
10039
  };
@@ -9979,10 +10045,14 @@ export declare const operationMappings: {
9979
10045
  readonly method: "DELETE";
9980
10046
  readonly path: "/v1/stores/{storeId}/customers/{customerId}/delivery/items/{deliveryItemId}";
9981
10047
  };
9982
- readonly Delivery_GetCommandAttempts: {
10048
+ readonly Delivery_GetCommandAttemptsForCustomer: {
9983
10049
  readonly method: "GET";
9984
10050
  readonly path: "/v1/stores/{storeId}/customers/{customerId}/delivery/commands";
9985
10051
  };
10052
+ readonly Delivery_GetGameServerDeliveryItems: {
10053
+ readonly method: "GET";
10054
+ readonly path: "/v1/stores/{storeId}/gameservers/{gameServerId}/delivery/items";
10055
+ };
9986
10056
  readonly Delivery_ResendDeliveryCommandsForGameServer: {
9987
10057
  readonly method: "POST";
9988
10058
  readonly path: "/v1/stores/{storeId}/gameservers/{gameServerId}/delivery/commands/resend";