@paynow-gg/typescript-sdk 1.0.51 → 1.0.53

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.
@@ -378,7 +378,11 @@ export interface paths {
378
378
  path?: never;
379
379
  cookie?: never;
380
380
  };
381
- get?: never;
381
+ /**
382
+ * Get all delivery items
383
+ * @description Retrieves all delivery items associated with this store (paginated)
384
+ */
385
+ get: operations["Delivery_GetStoreDeliveryItems"];
382
386
  put?: never;
383
387
  /**
384
388
  * Assign delivery items in bulk
@@ -5136,14 +5140,23 @@ export interface components {
5136
5140
  tax_jurisdictions: components["schemas"]["SalesTaxJurisdictionDto"][];
5137
5141
  /** @description IP address of the customer at the time of subscription. */
5138
5142
  customer_ip?: null | string;
5139
- /** @description Indicates whether this subscription is a gift. */
5143
+ /**
5144
+ * @deprecated
5145
+ * @description Indicates whether this subscription is a gift.
5146
+ */
5140
5147
  gift: boolean;
5141
5148
  gift_to_customer?: components["schemas"]["CustomerDto"];
5142
5149
  product_id: components["schemas"]["FlakeId"];
5143
5150
  product_version_id: components["schemas"]["FlakeId"];
5144
- /** @description Name of the product associated with this subscription. */
5151
+ /**
5152
+ * @deprecated
5153
+ * @description Name of the product associated with this subscription.
5154
+ */
5145
5155
  product_name: string;
5146
- /** @description URL for the product image. */
5156
+ /**
5157
+ * @deprecated
5158
+ * @description URL for the product image.
5159
+ */
5147
5160
  product_image_url?: null | string;
5148
5161
  /**
5149
5162
  * Format: int32
@@ -5153,14 +5166,21 @@ export interface components {
5153
5166
  interval_scale: components["schemas"]["ProductSubscriptionIntervalScale"];
5154
5167
  /** @description Currency code used for billing this subscription. */
5155
5168
  currency: string;
5156
- /** @description Indicates whether tax is included in the base price itself. */
5169
+ /**
5170
+ * @deprecated
5171
+ * @description Indicates whether tax is included in the base price itself.
5172
+ */
5157
5173
  tax_inclusive: boolean;
5158
5174
  /**
5159
5175
  * Format: int64
5176
+ * @deprecated
5160
5177
  * @description Base price of the subscription in smallest currency units (e.g., cents).
5161
5178
  */
5162
5179
  price: number;
5163
- /** @description Formatted string representation of the price. */
5180
+ /**
5181
+ * @deprecated
5182
+ * @description Formatted string representation of the price.
5183
+ */
5164
5184
  price_str: string;
5165
5185
  /**
5166
5186
  * Format: int64
@@ -5292,7 +5312,10 @@ export interface components {
5292
5312
  readonly initial_presentment_total_amount_str?: null | string;
5293
5313
  /** @description The foreign exchange rate applied (if presentment currency differs from settlement currency). */
5294
5314
  fx_rate?: null | string;
5295
- /** @description Identifier for the pricing region associated with this subscription. */
5315
+ /**
5316
+ * @deprecated
5317
+ * @description Identifier for the pricing region associated with this subscription.
5318
+ */
5296
5319
  pricing_region_id?: null | string;
5297
5320
  /**
5298
5321
  * Format: date-time
@@ -7363,6 +7386,55 @@ export interface operations {
7363
7386
  };
7364
7387
  };
7365
7388
  };
7389
+ Delivery_GetStoreDeliveryItems: {
7390
+ parameters: {
7391
+ query?: {
7392
+ /** @description The maximum number of items to return in a single request. */
7393
+ limit?: number;
7394
+ /**
7395
+ * @description Returns items after the specified ID.
7396
+ * Used for forward pagination through results.
7397
+ * @example null
7398
+ */
7399
+ after?: components["schemas"]["FlakeId"];
7400
+ /**
7401
+ * @description Returns items before the specified ID.
7402
+ * Used for backward pagination through results.
7403
+ * @example null
7404
+ */
7405
+ before?: components["schemas"]["FlakeId"];
7406
+ /** @description Determines the sort order of returned items.
7407
+ * When true, items are returned in ascending order.
7408
+ * When false, items are returned in descending order. */
7409
+ asc?: boolean;
7410
+ activeOnly?: boolean;
7411
+ };
7412
+ header?: never;
7413
+ path?: never;
7414
+ cookie?: never;
7415
+ };
7416
+ requestBody?: never;
7417
+ responses: {
7418
+ /** @description OK */
7419
+ 200: {
7420
+ headers: {
7421
+ [name: string]: unknown;
7422
+ };
7423
+ content: {
7424
+ "application/json": components["schemas"]["DeliveryItemDto"][];
7425
+ };
7426
+ };
7427
+ /** @description Error response */
7428
+ default: {
7429
+ headers: {
7430
+ [name: string]: unknown;
7431
+ };
7432
+ content: {
7433
+ "application/json": components["schemas"]["PayNowError"];
7434
+ };
7435
+ };
7436
+ };
7437
+ };
7366
7438
  Delivery_AssignDeliveryItemsBulk: {
7367
7439
  parameters: {
7368
7440
  query?: never;
@@ -11510,6 +11582,10 @@ export declare const operationMappings: {
11510
11582
  readonly method: "GET";
11511
11583
  readonly path: "/v1/stores/{storeId}/orders/{orderId}/delivery/items";
11512
11584
  };
11585
+ readonly Delivery_GetStoreDeliveryItems: {
11586
+ readonly method: "GET";
11587
+ readonly path: "/v1/stores/{storeId}/delivery/items";
11588
+ };
11513
11589
  readonly Delivery_AssignDeliveryItemsBulk: {
11514
11590
  readonly method: "POST";
11515
11591
  readonly path: "/v1/stores/{storeId}/delivery/items";