@izak0s/spacebring-api 9.3.0 → 9.5.0

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/dist/index.d.cts CHANGED
@@ -2481,7 +2481,11 @@ interface paths {
2481
2481
  delete: operations["deleteSupportTicketComment"];
2482
2482
  options?: never;
2483
2483
  head?: never;
2484
- patch?: never;
2484
+ /**
2485
+ * Update a ticket comment
2486
+ * @description Update the text of a support ticket comment. Only the comment author can edit it, and only comments without an attachment. <h3>OAuth</h3>Required scopes: <code>support</code>
2487
+ */
2488
+ patch: operations["updateSupportTicketComment"];
2485
2489
  trace?: never;
2486
2490
  };
2487
2491
  "/transactions/credits/scheduled/v1": {
@@ -3311,7 +3315,8 @@ interface components {
3311
3315
  }[];
3312
3316
  /**
3313
3317
  * Format: uri
3314
- * @description URL of the benefit's cover image.
3318
+ * @deprecated
3319
+ * @description Deprecated: use media[0].url instead.
3315
3320
  */
3316
3321
  mediaUrl?: string | null;
3317
3322
  /** @description Short tagline of the benefit. */
@@ -3408,7 +3413,8 @@ interface components {
3408
3413
  }[];
3409
3414
  /**
3410
3415
  * Format: uri
3411
- * @description URL of the benefit's cover image.
3416
+ * @deprecated
3417
+ * @description Deprecated: use media[0].url instead.
3412
3418
  */
3413
3419
  mediaUrl?: string | null;
3414
3420
  /** @description Short tagline of the benefit. */
@@ -3502,7 +3508,8 @@ interface components {
3502
3508
  }[];
3503
3509
  /**
3504
3510
  * Format: uri
3505
- * @description URL of the benefit's cover image.
3511
+ * @deprecated
3512
+ * @description Deprecated: use media[0].url instead.
3506
3513
  */
3507
3514
  mediaUrl?: string | null;
3508
3515
  /** @description Short tagline of the benefit. */
@@ -3869,7 +3876,7 @@ interface components {
3869
3876
  */
3870
3877
  transactionRef: string;
3871
3878
  }[];
3872
- /** @description URL to download the invoice PDF (issued invoices only). */
3879
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
3873
3880
  pdfUrl?: string;
3874
3881
  /** @description Whether this invoice was created post-payment. */
3875
3882
  postPaymentCreation: boolean;
@@ -3887,7 +3894,7 @@ interface components {
3887
3894
  prePaymentCreditAmount?: number;
3888
3895
  /** @description Pre-payment credit notes amount in major units. */
3889
3896
  prePaymentCreditNotesAmount: number;
3890
- /** @description URL to download the receipt PDF (paid invoices only). */
3897
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
3891
3898
  receiptPdfUrl?: string;
3892
3899
  /** @description Customer balance at draft creation. */
3893
3900
  startingBalance?: number;
@@ -4266,7 +4273,7 @@ interface components {
4266
4273
  */
4267
4274
  transactionRef: string;
4268
4275
  }[];
4269
- /** @description URL to download the invoice PDF (issued invoices only). */
4276
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4270
4277
  pdfUrl?: string;
4271
4278
  /** @description Whether this invoice was created post-payment. */
4272
4279
  postPaymentCreation: boolean;
@@ -4284,7 +4291,7 @@ interface components {
4284
4291
  prePaymentCreditAmount?: number;
4285
4292
  /** @description Pre-payment credit notes amount in major units. */
4286
4293
  prePaymentCreditNotesAmount: number;
4287
- /** @description URL to download the receipt PDF (paid invoices only). */
4294
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4288
4295
  receiptPdfUrl?: string;
4289
4296
  /** @description Customer balance at draft creation. */
4290
4297
  startingBalance?: number;
@@ -4660,7 +4667,7 @@ interface components {
4660
4667
  */
4661
4668
  transactionRef: string;
4662
4669
  }[];
4663
- /** @description URL to download the invoice PDF (issued invoices only). */
4670
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4664
4671
  pdfUrl?: string;
4665
4672
  /** @description Whether this invoice was created post-payment. */
4666
4673
  postPaymentCreation: boolean;
@@ -4678,7 +4685,7 @@ interface components {
4678
4685
  prePaymentCreditAmount?: number;
4679
4686
  /** @description Pre-payment credit notes amount in major units. */
4680
4687
  prePaymentCreditNotesAmount: number;
4681
- /** @description URL to download the receipt PDF (paid invoices only). */
4688
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4682
4689
  receiptPdfUrl?: string;
4683
4690
  /** @description Customer balance at draft creation. */
4684
4691
  startingBalance?: number;
@@ -5624,7 +5631,7 @@ interface components {
5624
5631
  number?: number;
5625
5632
  /** @description Out-of-band refund amount in major units. */
5626
5633
  outOfBandAmount?: number;
5627
- /** @description URL to download the credit note PDF. */
5634
+ /** @description URL to download the credit note PDF. The link is replaced by a new one 180 days after the credit note was created and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the credit note again for the current link. */
5628
5635
  pdfUrl: string;
5629
5636
  /** @description Post-payment credit amount in major units. */
5630
5637
  postPaymentAmount: number;
@@ -5951,7 +5958,7 @@ interface components {
5951
5958
  number?: number;
5952
5959
  /** @description Out-of-band refund amount in major units. */
5953
5960
  outOfBandAmount?: number;
5954
- /** @description URL to download the credit note PDF. */
5961
+ /** @description URL to download the credit note PDF. The link is replaced by a new one 180 days after the credit note was created and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the credit note again for the current link. */
5955
5962
  pdfUrl: string;
5956
5963
  /** @description Post-payment credit amount in major units. */
5957
5964
  postPaymentAmount: number;
@@ -8098,13 +8105,13 @@ interface components {
8098
8105
  * @deprecated
8099
8106
  * @description Maximum credit grant duration in days. Deprecated: use grants instead.
8100
8107
  */
8101
- duration?: 30 | 90 | 180 | 365;
8108
+ duration?: number;
8102
8109
  /** @description Grants included in the package. */
8103
8110
  grants: {
8104
8111
  /** @description Grant amount in major units for credits, or whole units for day passes. */
8105
8112
  amount: number;
8106
- /** @description Expiration duration in days for credit grants. */
8107
- duration?: 30 | 90 | 180 | 365;
8113
+ /** @description Number of days after purchase until the granted balance expires, from 1 to 3650. Omit for a non-expiring grant. */
8114
+ duration?: number;
8108
8115
  /**
8109
8116
  * Format: uuid
8110
8117
  * @description Unique identifier of the grant.
@@ -8160,13 +8167,13 @@ interface components {
8160
8167
  * @deprecated
8161
8168
  * @description Maximum credit grant duration in days. Deprecated: use grants instead.
8162
8169
  */
8163
- duration?: 30 | 90 | 180 | 365;
8170
+ duration?: number;
8164
8171
  /** @description Grants included in the package. */
8165
8172
  grants: {
8166
8173
  /** @description Grant amount in major units for credits, or whole units for day passes. */
8167
8174
  amount: number;
8168
- /** @description Expiration duration in days for credit grants. */
8169
- duration?: 30 | 90 | 180 | 365;
8175
+ /** @description Number of days after purchase until the granted balance expires, from 1 to 3650. Omit for a non-expiring grant. */
8176
+ duration?: number;
8170
8177
  /**
8171
8178
  * Format: uuid
8172
8179
  * @description Unique identifier of the grant.
@@ -8848,8 +8855,8 @@ interface components {
8848
8855
  * @description Company id.
8849
8856
  */
8850
8857
  id: string;
8851
- /** @description Company name. */
8852
- title: string;
8858
+ /** @description Company name. Present only for admin callers and the customer's own assignments. */
8859
+ title?: string;
8853
8860
  };
8854
8861
  /** @description Customer the resource is assigned to. */
8855
8862
  customer?: {
@@ -9472,8 +9479,8 @@ interface components {
9472
9479
  * @description Company id.
9473
9480
  */
9474
9481
  id: string;
9475
- /** @description Company name. */
9476
- title: string;
9482
+ /** @description Company name. Present only for admin callers and the customer's own assignments. */
9483
+ title?: string;
9477
9484
  };
9478
9485
  /** @description Customer the resource is assigned to. */
9479
9486
  customer?: {
@@ -10092,8 +10099,8 @@ interface components {
10092
10099
  * @description Company id.
10093
10100
  */
10094
10101
  id: string;
10095
- /** @description Company name. */
10096
- title: string;
10102
+ /** @description Company name. Present only for admin callers and the customer's own assignments. */
10103
+ title?: string;
10097
10104
  };
10098
10105
  /** @description Customer the resource is assigned to. */
10099
10106
  customer?: {
@@ -10220,8 +10227,8 @@ interface components {
10220
10227
  * @description Company id.
10221
10228
  */
10222
10229
  id: string;
10223
- /** @description Company name. */
10224
- title: string;
10230
+ /** @description Company name. Present only for admin callers and the customer's own assignments. */
10231
+ title?: string;
10225
10232
  };
10226
10233
  /** @description Customer the resource is assigned to. */
10227
10234
  customer?: {
@@ -15899,6 +15906,11 @@ interface components {
15899
15906
  * @enum {string}
15900
15907
  */
15901
15908
  type: "assigneeUpdated" | "comment" | "statusUpdated" | "ticketCreated";
15909
+ /**
15910
+ * Format: date-time
15911
+ * @description ISO timestamp of when the comment text was last edited.
15912
+ */
15913
+ updateDate?: string;
15902
15914
  };
15903
15915
  getScheduledCreditsTransactions: {
15904
15916
  /** @description Pagination token to fetch the next page of results. Returned when more results exist. */
@@ -22312,8 +22324,8 @@ interface components {
22312
22324
  grants: {
22313
22325
  /** @description Grant amount in major units for credits, or whole units for day passes. */
22314
22326
  amount: number;
22315
- /** @description Expiration duration in days for credit grants. */
22316
- duration?: 30 | 90 | 180 | 365;
22327
+ /** @description Number of days after purchase until the granted balance expires, from 1 to 3650. Omit for a non-expiring grant. */
22328
+ duration?: number;
22317
22329
  /**
22318
22330
  * @description Type of balance this grant provides.
22319
22331
  * @enum {string}
@@ -22340,8 +22352,8 @@ interface components {
22340
22352
  grants?: {
22341
22353
  /** @description Grant amount in major units for credits, or whole units for day passes. */
22342
22354
  amount: number;
22343
- /** @description Expiration duration in days for credit grants. */
22344
- duration?: 30 | 90 | 180 | 365;
22355
+ /** @description Number of days after purchase until the granted balance expires, from 1 to 3650. Omit for a non-expiring grant. */
22356
+ duration?: number;
22345
22357
  /**
22346
22358
  * @description Type of balance this grant provides.
22347
22359
  * @enum {string}
@@ -24726,6 +24738,17 @@ interface components {
24726
24738
  };
24727
24739
  };
24728
24740
  };
24741
+ updateSupportTicketComment: {
24742
+ content: {
24743
+ "application/json": {
24744
+ /** @description Ticket comment activity fields to update. */
24745
+ activity: {
24746
+ /** @description New comment text. */
24747
+ text: string;
24748
+ };
24749
+ };
24750
+ };
24751
+ };
24729
24752
  createCreditsTransaction: {
24730
24753
  content: {
24731
24754
  "application/json": {
@@ -31384,6 +31407,43 @@ interface operations {
31384
31407
  };
31385
31408
  };
31386
31409
  };
31410
+ updateSupportTicketComment: {
31411
+ parameters: {
31412
+ query?: never;
31413
+ header?: {
31414
+ /** @description The id of the network. Required when using bearer token authentication */
31415
+ "spacebring-network-id"?: string;
31416
+ };
31417
+ path: {
31418
+ /** @description The id of the ticket activity. */
31419
+ id: string;
31420
+ };
31421
+ cookie?: never;
31422
+ };
31423
+ requestBody: components["requestBodies"]["updateSupportTicketComment"];
31424
+ responses: {
31425
+ /** @description OK */
31426
+ 200: {
31427
+ headers: {
31428
+ [name: string]: unknown;
31429
+ };
31430
+ content: {
31431
+ "application/json": {
31432
+ activity?: components["schemas"]["ticketActivity"];
31433
+ };
31434
+ };
31435
+ };
31436
+ /** @description Bad Request */
31437
+ 400: {
31438
+ headers: {
31439
+ [name: string]: unknown;
31440
+ };
31441
+ content: {
31442
+ "application/json": components["schemas"]["responseError"];
31443
+ };
31444
+ };
31445
+ };
31446
+ };
31387
31447
  getScheduledCreditsTransactions: {
31388
31448
  parameters: {
31389
31449
  query?: {
@@ -32769,6 +32829,8 @@ type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupport
32769
32829
  type CreateSupportTicketCommentBody = NonNullable<NonNullable<operations["createSupportTicketComment"]["requestBody"]>["content"]["application/json"]["activity"]>;
32770
32830
  /** Request body for `sb.support.tickets.updateAssignee()`. */
32771
32831
  type UpdateSupportTicketAssigneeBody = NonNullable<NonNullable<operations["updateSupportTicketAssignee"]["requestBody"]>["content"]["application/json"]["ticket"]>;
32832
+ /** Request body for `sb.support.tickets.comment.update()`. */
32833
+ type UpdateSupportTicketCommentBody = NonNullable<NonNullable<operations["updateSupportTicketComment"]["requestBody"]>["content"]["application/json"]["activity"]>;
32772
32834
  /** Request body for `sb.support.tickets.updateStatus()`. */
32773
32835
  type UpdateSupportTicketStatusBody = NonNullable<NonNullable<operations["updateSupportTicketStatus"]["requestBody"]>["content"]["application/json"]["ticket"]>;
32774
32836
  /** Request body for `sb.support.tickets.updateType()`. */
@@ -33860,6 +33922,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
33860
33922
  updateType(id: string, ticket: UpdateSupportTicketTypeBody, options?: SpacebringRequestOptions): Promise<undefined>;
33861
33923
  comment: {
33862
33924
  create(activity: CreateSupportTicketCommentBody, options?: SpacebringRequestOptions): Promise<Activity>;
33925
+ update(id: string, activity: UpdateSupportTicketCommentBody, options?: SpacebringRequestOptions): Promise<Activity>;
33863
33926
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
33864
33927
  };
33865
33928
  };
@@ -34016,4 +34079,4 @@ declare class SpacebringError extends Error {
34016
34079
  });
34017
34080
  }
34018
34081
 
34019
- export { type Activity, type AddEventHostsBody, type AltCurrency, type Application, type ApplyBenefitBody, type Assignment, type Balance, type Benefit, type BenefitCategory, type Booking, type CheckInVisitBody, type CheckOutVisitBody, type Comment, type Company, type Contact, type Contract, type Coupon, type CreateAltCurrencyBody, type CreateAssignmentBody, type CreateBenefitBody, type CreateBenefitCategoryBody, type CreateBookingBody, type CreateCompanyBody, type CreateContactBody, type CreateContractBody, type CreateCouponBody, type CreateCreditNoteBody, type CreateCreditsTransactionBody, type CreateDayPassesTransactionBody, type CreateEventBody, type CreateEventMediaBody, type CreateFeedPostBody, type CreateFeedPostCommentBody, type CreateGuideBody, type CreateInvoiceBody, type CreateInvoiceItemBody, type CreateMembershipBody, type CreateMoneyTransactionBody, type CreatePackageBody, type CreatePlanBody, type CreateProductBody, type CreatePromocodeBody, type CreateRequestBody, type CreateResourceBody, type CreateShopCategoryBody, type CreateSubscriptionBody, type CreateSubscriptionItemBody, type CreateSupportTicketBody, type CreateSupportTicketCommentBody, type CreateTemplateBody, type CreateVisitBody, type CreditNote, type CreditScheduledTransaction, type CreditTransaction, type DayPassScheduledTransaction, type DayPassTransaction, type Event, type EventTicket, type GetAltCurrenciesQuery, type GetAssignmentsQuery, type GetBenefitApplicationsQuery, type GetBenefitCategoriesQuery, type GetBenefitsQuery, type GetBookingsQuery, type GetCompaniesQuery, type GetContactsQuery, type GetContractsQuery, type GetCouponsQuery, type GetCreditNotesQuery, type GetCreditsTransactionsQuery, type GetDayPassesTransactionsQuery, type GetDiscountRedemptionsQuery, type GetEventTicketsQuery, type GetEventsByOrganizationQuery, type GetFeedPostsQuery, type GetFloorsQuery, type GetGuidesQuery, type GetInvoicesQuery, type GetMembershipsDeletedQuery, type GetMembershipsQuery, type GetMoneyTransactionsQuery, type GetOrdersQuery, type GetPackagesQuery, type GetPlansQuery, type GetProductsQuery, type GetPromocodesQuery, type GetRegistrationsQuery, type GetRequestsQuery, type GetResourcesQuery, type GetScheduledCreditsTransactionsQuery, type GetScheduledDayPassesTransactionsQuery, type GetShopCategoriesQuery, type GetSubscriptionsQuery, type GetSupportTicketsQuery, type GetTemplatesQuery, type GetUpcomingInvoiceItemsQuery, type GetUpcomingInvoiceQuery, type GetVisitsQuery, type Guide, type Invoice, type InvoiceItem, type IssueContractBody, type IssueInvoiceBody, type Like, type ListInvoiceItemsQuery, type Location, type Media, type Membership, type MoneyTransaction, type Network, type Order, type Package, type PatchAssignmentBody, type PatchBookingBody, type PatchGuideBody, type PatchMoneyTransactionBody, type PatchPackageBody, type PatchResourceBody, type PayInvoiceBody, type Payment, type Plan, type Post, type PreviewCreditNoteBody, type Product, type Promocode, type Redemption, type Refund, type RefundMoneyTransactionBody, type Registration, type Request$1 as Request, type Resource, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type Template, type TerminateContractBody, type UpcomingItem, type UpdateAltCurrencyBody, type UpdateBenefitBody, type UpdateBenefitCategoryBody, type UpdateCompanyBody, type UpdateContractBody, type UpdateCouponBody, type UpdateCreditNoteBody, type UpdateEventBody, type UpdateEventTicketBody, type UpdateFeedPostBody, type UpdateInvoiceBody, type UpdateInvoiceItemBody, type UpdateMembershipBody, type UpdatePlanBody, type UpdateProductBody, type UpdateShopCategoryBody, type UpdateSubscriptionBody, type UpdateSubscriptionItemBody, type UpdateSupportTicketAssigneeBody, type UpdateSupportTicketStatusBody, type UpdateSupportTicketTypeBody, type UpdateTemplateBody, type UpdateVisitBody, type Visit, type components, type operations, type paths };
34082
+ export { type Activity, type AddEventHostsBody, type AltCurrency, type Application, type ApplyBenefitBody, type Assignment, type Balance, type Benefit, type BenefitCategory, type Booking, type CheckInVisitBody, type CheckOutVisitBody, type Comment, type Company, type Contact, type Contract, type Coupon, type CreateAltCurrencyBody, type CreateAssignmentBody, type CreateBenefitBody, type CreateBenefitCategoryBody, type CreateBookingBody, type CreateCompanyBody, type CreateContactBody, type CreateContractBody, type CreateCouponBody, type CreateCreditNoteBody, type CreateCreditsTransactionBody, type CreateDayPassesTransactionBody, type CreateEventBody, type CreateEventMediaBody, type CreateFeedPostBody, type CreateFeedPostCommentBody, type CreateGuideBody, type CreateInvoiceBody, type CreateInvoiceItemBody, type CreateMembershipBody, type CreateMoneyTransactionBody, type CreatePackageBody, type CreatePlanBody, type CreateProductBody, type CreatePromocodeBody, type CreateRequestBody, type CreateResourceBody, type CreateShopCategoryBody, type CreateSubscriptionBody, type CreateSubscriptionItemBody, type CreateSupportTicketBody, type CreateSupportTicketCommentBody, type CreateTemplateBody, type CreateVisitBody, type CreditNote, type CreditScheduledTransaction, type CreditTransaction, type DayPassScheduledTransaction, type DayPassTransaction, type Event, type EventTicket, type GetAltCurrenciesQuery, type GetAssignmentsQuery, type GetBenefitApplicationsQuery, type GetBenefitCategoriesQuery, type GetBenefitsQuery, type GetBookingsQuery, type GetCompaniesQuery, type GetContactsQuery, type GetContractsQuery, type GetCouponsQuery, type GetCreditNotesQuery, type GetCreditsTransactionsQuery, type GetDayPassesTransactionsQuery, type GetDiscountRedemptionsQuery, type GetEventTicketsQuery, type GetEventsByOrganizationQuery, type GetFeedPostsQuery, type GetFloorsQuery, type GetGuidesQuery, type GetInvoicesQuery, type GetMembershipsDeletedQuery, type GetMembershipsQuery, type GetMoneyTransactionsQuery, type GetOrdersQuery, type GetPackagesQuery, type GetPlansQuery, type GetProductsQuery, type GetPromocodesQuery, type GetRegistrationsQuery, type GetRequestsQuery, type GetResourcesQuery, type GetScheduledCreditsTransactionsQuery, type GetScheduledDayPassesTransactionsQuery, type GetShopCategoriesQuery, type GetSubscriptionsQuery, type GetSupportTicketsQuery, type GetTemplatesQuery, type GetUpcomingInvoiceItemsQuery, type GetUpcomingInvoiceQuery, type GetVisitsQuery, type Guide, type Invoice, type InvoiceItem, type IssueContractBody, type IssueInvoiceBody, type Like, type ListInvoiceItemsQuery, type Location, type Media, type Membership, type MoneyTransaction, type Network, type Order, type Package, type PatchAssignmentBody, type PatchBookingBody, type PatchGuideBody, type PatchMoneyTransactionBody, type PatchPackageBody, type PatchResourceBody, type PayInvoiceBody, type Payment, type Plan, type Post, type PreviewCreditNoteBody, type Product, type Promocode, type Redemption, type Refund, type RefundMoneyTransactionBody, type Registration, type Request$1 as Request, type Resource, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type Template, type TerminateContractBody, type UpcomingItem, type UpdateAltCurrencyBody, type UpdateBenefitBody, type UpdateBenefitCategoryBody, type UpdateCompanyBody, type UpdateContractBody, type UpdateCouponBody, type UpdateCreditNoteBody, type UpdateEventBody, type UpdateEventTicketBody, type UpdateFeedPostBody, type UpdateInvoiceBody, type UpdateInvoiceItemBody, type UpdateMembershipBody, type UpdatePlanBody, type UpdateProductBody, type UpdateShopCategoryBody, type UpdateSubscriptionBody, type UpdateSubscriptionItemBody, type UpdateSupportTicketAssigneeBody, type UpdateSupportTicketCommentBody, type UpdateSupportTicketStatusBody, type UpdateSupportTicketTypeBody, type UpdateTemplateBody, type UpdateVisitBody, type Visit, type components, type operations, type paths };
package/dist/index.d.ts CHANGED
@@ -2481,7 +2481,11 @@ interface paths {
2481
2481
  delete: operations["deleteSupportTicketComment"];
2482
2482
  options?: never;
2483
2483
  head?: never;
2484
- patch?: never;
2484
+ /**
2485
+ * Update a ticket comment
2486
+ * @description Update the text of a support ticket comment. Only the comment author can edit it, and only comments without an attachment. <h3>OAuth</h3>Required scopes: <code>support</code>
2487
+ */
2488
+ patch: operations["updateSupportTicketComment"];
2485
2489
  trace?: never;
2486
2490
  };
2487
2491
  "/transactions/credits/scheduled/v1": {
@@ -3311,7 +3315,8 @@ interface components {
3311
3315
  }[];
3312
3316
  /**
3313
3317
  * Format: uri
3314
- * @description URL of the benefit's cover image.
3318
+ * @deprecated
3319
+ * @description Deprecated: use media[0].url instead.
3315
3320
  */
3316
3321
  mediaUrl?: string | null;
3317
3322
  /** @description Short tagline of the benefit. */
@@ -3408,7 +3413,8 @@ interface components {
3408
3413
  }[];
3409
3414
  /**
3410
3415
  * Format: uri
3411
- * @description URL of the benefit's cover image.
3416
+ * @deprecated
3417
+ * @description Deprecated: use media[0].url instead.
3412
3418
  */
3413
3419
  mediaUrl?: string | null;
3414
3420
  /** @description Short tagline of the benefit. */
@@ -3502,7 +3508,8 @@ interface components {
3502
3508
  }[];
3503
3509
  /**
3504
3510
  * Format: uri
3505
- * @description URL of the benefit's cover image.
3511
+ * @deprecated
3512
+ * @description Deprecated: use media[0].url instead.
3506
3513
  */
3507
3514
  mediaUrl?: string | null;
3508
3515
  /** @description Short tagline of the benefit. */
@@ -3869,7 +3876,7 @@ interface components {
3869
3876
  */
3870
3877
  transactionRef: string;
3871
3878
  }[];
3872
- /** @description URL to download the invoice PDF (issued invoices only). */
3879
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
3873
3880
  pdfUrl?: string;
3874
3881
  /** @description Whether this invoice was created post-payment. */
3875
3882
  postPaymentCreation: boolean;
@@ -3887,7 +3894,7 @@ interface components {
3887
3894
  prePaymentCreditAmount?: number;
3888
3895
  /** @description Pre-payment credit notes amount in major units. */
3889
3896
  prePaymentCreditNotesAmount: number;
3890
- /** @description URL to download the receipt PDF (paid invoices only). */
3897
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
3891
3898
  receiptPdfUrl?: string;
3892
3899
  /** @description Customer balance at draft creation. */
3893
3900
  startingBalance?: number;
@@ -4266,7 +4273,7 @@ interface components {
4266
4273
  */
4267
4274
  transactionRef: string;
4268
4275
  }[];
4269
- /** @description URL to download the invoice PDF (issued invoices only). */
4276
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4270
4277
  pdfUrl?: string;
4271
4278
  /** @description Whether this invoice was created post-payment. */
4272
4279
  postPaymentCreation: boolean;
@@ -4284,7 +4291,7 @@ interface components {
4284
4291
  prePaymentCreditAmount?: number;
4285
4292
  /** @description Pre-payment credit notes amount in major units. */
4286
4293
  prePaymentCreditNotesAmount: number;
4287
- /** @description URL to download the receipt PDF (paid invoices only). */
4294
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4288
4295
  receiptPdfUrl?: string;
4289
4296
  /** @description Customer balance at draft creation. */
4290
4297
  startingBalance?: number;
@@ -4660,7 +4667,7 @@ interface components {
4660
4667
  */
4661
4668
  transactionRef: string;
4662
4669
  }[];
4663
- /** @description URL to download the invoice PDF (issued invoices only). */
4670
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4664
4671
  pdfUrl?: string;
4665
4672
  /** @description Whether this invoice was created post-payment. */
4666
4673
  postPaymentCreation: boolean;
@@ -4678,7 +4685,7 @@ interface components {
4678
4685
  prePaymentCreditAmount?: number;
4679
4686
  /** @description Pre-payment credit notes amount in major units. */
4680
4687
  prePaymentCreditNotesAmount: number;
4681
- /** @description URL to download the receipt PDF (paid invoices only). */
4688
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4682
4689
  receiptPdfUrl?: string;
4683
4690
  /** @description Customer balance at draft creation. */
4684
4691
  startingBalance?: number;
@@ -5624,7 +5631,7 @@ interface components {
5624
5631
  number?: number;
5625
5632
  /** @description Out-of-band refund amount in major units. */
5626
5633
  outOfBandAmount?: number;
5627
- /** @description URL to download the credit note PDF. */
5634
+ /** @description URL to download the credit note PDF. The link is replaced by a new one 180 days after the credit note was created and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the credit note again for the current link. */
5628
5635
  pdfUrl: string;
5629
5636
  /** @description Post-payment credit amount in major units. */
5630
5637
  postPaymentAmount: number;
@@ -5951,7 +5958,7 @@ interface components {
5951
5958
  number?: number;
5952
5959
  /** @description Out-of-band refund amount in major units. */
5953
5960
  outOfBandAmount?: number;
5954
- /** @description URL to download the credit note PDF. */
5961
+ /** @description URL to download the credit note PDF. The link is replaced by a new one 180 days after the credit note was created and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the credit note again for the current link. */
5955
5962
  pdfUrl: string;
5956
5963
  /** @description Post-payment credit amount in major units. */
5957
5964
  postPaymentAmount: number;
@@ -8098,13 +8105,13 @@ interface components {
8098
8105
  * @deprecated
8099
8106
  * @description Maximum credit grant duration in days. Deprecated: use grants instead.
8100
8107
  */
8101
- duration?: 30 | 90 | 180 | 365;
8108
+ duration?: number;
8102
8109
  /** @description Grants included in the package. */
8103
8110
  grants: {
8104
8111
  /** @description Grant amount in major units for credits, or whole units for day passes. */
8105
8112
  amount: number;
8106
- /** @description Expiration duration in days for credit grants. */
8107
- duration?: 30 | 90 | 180 | 365;
8113
+ /** @description Number of days after purchase until the granted balance expires, from 1 to 3650. Omit for a non-expiring grant. */
8114
+ duration?: number;
8108
8115
  /**
8109
8116
  * Format: uuid
8110
8117
  * @description Unique identifier of the grant.
@@ -8160,13 +8167,13 @@ interface components {
8160
8167
  * @deprecated
8161
8168
  * @description Maximum credit grant duration in days. Deprecated: use grants instead.
8162
8169
  */
8163
- duration?: 30 | 90 | 180 | 365;
8170
+ duration?: number;
8164
8171
  /** @description Grants included in the package. */
8165
8172
  grants: {
8166
8173
  /** @description Grant amount in major units for credits, or whole units for day passes. */
8167
8174
  amount: number;
8168
- /** @description Expiration duration in days for credit grants. */
8169
- duration?: 30 | 90 | 180 | 365;
8175
+ /** @description Number of days after purchase until the granted balance expires, from 1 to 3650. Omit for a non-expiring grant. */
8176
+ duration?: number;
8170
8177
  /**
8171
8178
  * Format: uuid
8172
8179
  * @description Unique identifier of the grant.
@@ -8848,8 +8855,8 @@ interface components {
8848
8855
  * @description Company id.
8849
8856
  */
8850
8857
  id: string;
8851
- /** @description Company name. */
8852
- title: string;
8858
+ /** @description Company name. Present only for admin callers and the customer's own assignments. */
8859
+ title?: string;
8853
8860
  };
8854
8861
  /** @description Customer the resource is assigned to. */
8855
8862
  customer?: {
@@ -9472,8 +9479,8 @@ interface components {
9472
9479
  * @description Company id.
9473
9480
  */
9474
9481
  id: string;
9475
- /** @description Company name. */
9476
- title: string;
9482
+ /** @description Company name. Present only for admin callers and the customer's own assignments. */
9483
+ title?: string;
9477
9484
  };
9478
9485
  /** @description Customer the resource is assigned to. */
9479
9486
  customer?: {
@@ -10092,8 +10099,8 @@ interface components {
10092
10099
  * @description Company id.
10093
10100
  */
10094
10101
  id: string;
10095
- /** @description Company name. */
10096
- title: string;
10102
+ /** @description Company name. Present only for admin callers and the customer's own assignments. */
10103
+ title?: string;
10097
10104
  };
10098
10105
  /** @description Customer the resource is assigned to. */
10099
10106
  customer?: {
@@ -10220,8 +10227,8 @@ interface components {
10220
10227
  * @description Company id.
10221
10228
  */
10222
10229
  id: string;
10223
- /** @description Company name. */
10224
- title: string;
10230
+ /** @description Company name. Present only for admin callers and the customer's own assignments. */
10231
+ title?: string;
10225
10232
  };
10226
10233
  /** @description Customer the resource is assigned to. */
10227
10234
  customer?: {
@@ -15899,6 +15906,11 @@ interface components {
15899
15906
  * @enum {string}
15900
15907
  */
15901
15908
  type: "assigneeUpdated" | "comment" | "statusUpdated" | "ticketCreated";
15909
+ /**
15910
+ * Format: date-time
15911
+ * @description ISO timestamp of when the comment text was last edited.
15912
+ */
15913
+ updateDate?: string;
15902
15914
  };
15903
15915
  getScheduledCreditsTransactions: {
15904
15916
  /** @description Pagination token to fetch the next page of results. Returned when more results exist. */
@@ -22312,8 +22324,8 @@ interface components {
22312
22324
  grants: {
22313
22325
  /** @description Grant amount in major units for credits, or whole units for day passes. */
22314
22326
  amount: number;
22315
- /** @description Expiration duration in days for credit grants. */
22316
- duration?: 30 | 90 | 180 | 365;
22327
+ /** @description Number of days after purchase until the granted balance expires, from 1 to 3650. Omit for a non-expiring grant. */
22328
+ duration?: number;
22317
22329
  /**
22318
22330
  * @description Type of balance this grant provides.
22319
22331
  * @enum {string}
@@ -22340,8 +22352,8 @@ interface components {
22340
22352
  grants?: {
22341
22353
  /** @description Grant amount in major units for credits, or whole units for day passes. */
22342
22354
  amount: number;
22343
- /** @description Expiration duration in days for credit grants. */
22344
- duration?: 30 | 90 | 180 | 365;
22355
+ /** @description Number of days after purchase until the granted balance expires, from 1 to 3650. Omit for a non-expiring grant. */
22356
+ duration?: number;
22345
22357
  /**
22346
22358
  * @description Type of balance this grant provides.
22347
22359
  * @enum {string}
@@ -24726,6 +24738,17 @@ interface components {
24726
24738
  };
24727
24739
  };
24728
24740
  };
24741
+ updateSupportTicketComment: {
24742
+ content: {
24743
+ "application/json": {
24744
+ /** @description Ticket comment activity fields to update. */
24745
+ activity: {
24746
+ /** @description New comment text. */
24747
+ text: string;
24748
+ };
24749
+ };
24750
+ };
24751
+ };
24729
24752
  createCreditsTransaction: {
24730
24753
  content: {
24731
24754
  "application/json": {
@@ -31384,6 +31407,43 @@ interface operations {
31384
31407
  };
31385
31408
  };
31386
31409
  };
31410
+ updateSupportTicketComment: {
31411
+ parameters: {
31412
+ query?: never;
31413
+ header?: {
31414
+ /** @description The id of the network. Required when using bearer token authentication */
31415
+ "spacebring-network-id"?: string;
31416
+ };
31417
+ path: {
31418
+ /** @description The id of the ticket activity. */
31419
+ id: string;
31420
+ };
31421
+ cookie?: never;
31422
+ };
31423
+ requestBody: components["requestBodies"]["updateSupportTicketComment"];
31424
+ responses: {
31425
+ /** @description OK */
31426
+ 200: {
31427
+ headers: {
31428
+ [name: string]: unknown;
31429
+ };
31430
+ content: {
31431
+ "application/json": {
31432
+ activity?: components["schemas"]["ticketActivity"];
31433
+ };
31434
+ };
31435
+ };
31436
+ /** @description Bad Request */
31437
+ 400: {
31438
+ headers: {
31439
+ [name: string]: unknown;
31440
+ };
31441
+ content: {
31442
+ "application/json": components["schemas"]["responseError"];
31443
+ };
31444
+ };
31445
+ };
31446
+ };
31387
31447
  getScheduledCreditsTransactions: {
31388
31448
  parameters: {
31389
31449
  query?: {
@@ -32769,6 +32829,8 @@ type CreateSupportTicketBody = NonNullable<NonNullable<operations["createSupport
32769
32829
  type CreateSupportTicketCommentBody = NonNullable<NonNullable<operations["createSupportTicketComment"]["requestBody"]>["content"]["application/json"]["activity"]>;
32770
32830
  /** Request body for `sb.support.tickets.updateAssignee()`. */
32771
32831
  type UpdateSupportTicketAssigneeBody = NonNullable<NonNullable<operations["updateSupportTicketAssignee"]["requestBody"]>["content"]["application/json"]["ticket"]>;
32832
+ /** Request body for `sb.support.tickets.comment.update()`. */
32833
+ type UpdateSupportTicketCommentBody = NonNullable<NonNullable<operations["updateSupportTicketComment"]["requestBody"]>["content"]["application/json"]["activity"]>;
32772
32834
  /** Request body for `sb.support.tickets.updateStatus()`. */
32773
32835
  type UpdateSupportTicketStatusBody = NonNullable<NonNullable<operations["updateSupportTicketStatus"]["requestBody"]>["content"]["application/json"]["ticket"]>;
32774
32836
  /** Request body for `sb.support.tickets.updateType()`. */
@@ -33860,6 +33922,7 @@ declare function createResources(client: Client<paths>, defaults: SpacebringDefa
33860
33922
  updateType(id: string, ticket: UpdateSupportTicketTypeBody, options?: SpacebringRequestOptions): Promise<undefined>;
33861
33923
  comment: {
33862
33924
  create(activity: CreateSupportTicketCommentBody, options?: SpacebringRequestOptions): Promise<Activity>;
33925
+ update(id: string, activity: UpdateSupportTicketCommentBody, options?: SpacebringRequestOptions): Promise<Activity>;
33863
33926
  delete(id: string, options?: SpacebringRequestOptions): Promise<undefined>;
33864
33927
  };
33865
33928
  };
@@ -34016,4 +34079,4 @@ declare class SpacebringError extends Error {
34016
34079
  });
34017
34080
  }
34018
34081
 
34019
- export { type Activity, type AddEventHostsBody, type AltCurrency, type Application, type ApplyBenefitBody, type Assignment, type Balance, type Benefit, type BenefitCategory, type Booking, type CheckInVisitBody, type CheckOutVisitBody, type Comment, type Company, type Contact, type Contract, type Coupon, type CreateAltCurrencyBody, type CreateAssignmentBody, type CreateBenefitBody, type CreateBenefitCategoryBody, type CreateBookingBody, type CreateCompanyBody, type CreateContactBody, type CreateContractBody, type CreateCouponBody, type CreateCreditNoteBody, type CreateCreditsTransactionBody, type CreateDayPassesTransactionBody, type CreateEventBody, type CreateEventMediaBody, type CreateFeedPostBody, type CreateFeedPostCommentBody, type CreateGuideBody, type CreateInvoiceBody, type CreateInvoiceItemBody, type CreateMembershipBody, type CreateMoneyTransactionBody, type CreatePackageBody, type CreatePlanBody, type CreateProductBody, type CreatePromocodeBody, type CreateRequestBody, type CreateResourceBody, type CreateShopCategoryBody, type CreateSubscriptionBody, type CreateSubscriptionItemBody, type CreateSupportTicketBody, type CreateSupportTicketCommentBody, type CreateTemplateBody, type CreateVisitBody, type CreditNote, type CreditScheduledTransaction, type CreditTransaction, type DayPassScheduledTransaction, type DayPassTransaction, type Event, type EventTicket, type GetAltCurrenciesQuery, type GetAssignmentsQuery, type GetBenefitApplicationsQuery, type GetBenefitCategoriesQuery, type GetBenefitsQuery, type GetBookingsQuery, type GetCompaniesQuery, type GetContactsQuery, type GetContractsQuery, type GetCouponsQuery, type GetCreditNotesQuery, type GetCreditsTransactionsQuery, type GetDayPassesTransactionsQuery, type GetDiscountRedemptionsQuery, type GetEventTicketsQuery, type GetEventsByOrganizationQuery, type GetFeedPostsQuery, type GetFloorsQuery, type GetGuidesQuery, type GetInvoicesQuery, type GetMembershipsDeletedQuery, type GetMembershipsQuery, type GetMoneyTransactionsQuery, type GetOrdersQuery, type GetPackagesQuery, type GetPlansQuery, type GetProductsQuery, type GetPromocodesQuery, type GetRegistrationsQuery, type GetRequestsQuery, type GetResourcesQuery, type GetScheduledCreditsTransactionsQuery, type GetScheduledDayPassesTransactionsQuery, type GetShopCategoriesQuery, type GetSubscriptionsQuery, type GetSupportTicketsQuery, type GetTemplatesQuery, type GetUpcomingInvoiceItemsQuery, type GetUpcomingInvoiceQuery, type GetVisitsQuery, type Guide, type Invoice, type InvoiceItem, type IssueContractBody, type IssueInvoiceBody, type Like, type ListInvoiceItemsQuery, type Location, type Media, type Membership, type MoneyTransaction, type Network, type Order, type Package, type PatchAssignmentBody, type PatchBookingBody, type PatchGuideBody, type PatchMoneyTransactionBody, type PatchPackageBody, type PatchResourceBody, type PayInvoiceBody, type Payment, type Plan, type Post, type PreviewCreditNoteBody, type Product, type Promocode, type Redemption, type Refund, type RefundMoneyTransactionBody, type Registration, type Request$1 as Request, type Resource, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type Template, type TerminateContractBody, type UpcomingItem, type UpdateAltCurrencyBody, type UpdateBenefitBody, type UpdateBenefitCategoryBody, type UpdateCompanyBody, type UpdateContractBody, type UpdateCouponBody, type UpdateCreditNoteBody, type UpdateEventBody, type UpdateEventTicketBody, type UpdateFeedPostBody, type UpdateInvoiceBody, type UpdateInvoiceItemBody, type UpdateMembershipBody, type UpdatePlanBody, type UpdateProductBody, type UpdateShopCategoryBody, type UpdateSubscriptionBody, type UpdateSubscriptionItemBody, type UpdateSupportTicketAssigneeBody, type UpdateSupportTicketStatusBody, type UpdateSupportTicketTypeBody, type UpdateTemplateBody, type UpdateVisitBody, type Visit, type components, type operations, type paths };
34082
+ export { type Activity, type AddEventHostsBody, type AltCurrency, type Application, type ApplyBenefitBody, type Assignment, type Balance, type Benefit, type BenefitCategory, type Booking, type CheckInVisitBody, type CheckOutVisitBody, type Comment, type Company, type Contact, type Contract, type Coupon, type CreateAltCurrencyBody, type CreateAssignmentBody, type CreateBenefitBody, type CreateBenefitCategoryBody, type CreateBookingBody, type CreateCompanyBody, type CreateContactBody, type CreateContractBody, type CreateCouponBody, type CreateCreditNoteBody, type CreateCreditsTransactionBody, type CreateDayPassesTransactionBody, type CreateEventBody, type CreateEventMediaBody, type CreateFeedPostBody, type CreateFeedPostCommentBody, type CreateGuideBody, type CreateInvoiceBody, type CreateInvoiceItemBody, type CreateMembershipBody, type CreateMoneyTransactionBody, type CreatePackageBody, type CreatePlanBody, type CreateProductBody, type CreatePromocodeBody, type CreateRequestBody, type CreateResourceBody, type CreateShopCategoryBody, type CreateSubscriptionBody, type CreateSubscriptionItemBody, type CreateSupportTicketBody, type CreateSupportTicketCommentBody, type CreateTemplateBody, type CreateVisitBody, type CreditNote, type CreditScheduledTransaction, type CreditTransaction, type DayPassScheduledTransaction, type DayPassTransaction, type Event, type EventTicket, type GetAltCurrenciesQuery, type GetAssignmentsQuery, type GetBenefitApplicationsQuery, type GetBenefitCategoriesQuery, type GetBenefitsQuery, type GetBookingsQuery, type GetCompaniesQuery, type GetContactsQuery, type GetContractsQuery, type GetCouponsQuery, type GetCreditNotesQuery, type GetCreditsTransactionsQuery, type GetDayPassesTransactionsQuery, type GetDiscountRedemptionsQuery, type GetEventTicketsQuery, type GetEventsByOrganizationQuery, type GetFeedPostsQuery, type GetFloorsQuery, type GetGuidesQuery, type GetInvoicesQuery, type GetMembershipsDeletedQuery, type GetMembershipsQuery, type GetMoneyTransactionsQuery, type GetOrdersQuery, type GetPackagesQuery, type GetPlansQuery, type GetProductsQuery, type GetPromocodesQuery, type GetRegistrationsQuery, type GetRequestsQuery, type GetResourcesQuery, type GetScheduledCreditsTransactionsQuery, type GetScheduledDayPassesTransactionsQuery, type GetShopCategoriesQuery, type GetSubscriptionsQuery, type GetSupportTicketsQuery, type GetTemplatesQuery, type GetUpcomingInvoiceItemsQuery, type GetUpcomingInvoiceQuery, type GetVisitsQuery, type Guide, type Invoice, type InvoiceItem, type IssueContractBody, type IssueInvoiceBody, type Like, type ListInvoiceItemsQuery, type Location, type Media, type Membership, type MoneyTransaction, type Network, type Order, type Package, type PatchAssignmentBody, type PatchBookingBody, type PatchGuideBody, type PatchMoneyTransactionBody, type PatchPackageBody, type PatchResourceBody, type PayInvoiceBody, type Payment, type Plan, type Post, type PreviewCreditNoteBody, type Product, type Promocode, type Redemption, type Refund, type RefundMoneyTransactionBody, type Registration, type Request$1 as Request, type Resource, type ShopCategory, Spacebring, type SpacebringConfig, SpacebringError, type SpacebringErrorBody, type SpacebringRequestOptions, type SpacebringResources, type Subscription, type SupportTicket, type Template, type TerminateContractBody, type UpcomingItem, type UpdateAltCurrencyBody, type UpdateBenefitBody, type UpdateBenefitCategoryBody, type UpdateCompanyBody, type UpdateContractBody, type UpdateCouponBody, type UpdateCreditNoteBody, type UpdateEventBody, type UpdateEventTicketBody, type UpdateFeedPostBody, type UpdateInvoiceBody, type UpdateInvoiceItemBody, type UpdateMembershipBody, type UpdatePlanBody, type UpdateProductBody, type UpdateShopCategoryBody, type UpdateSubscriptionBody, type UpdateSubscriptionItemBody, type UpdateSupportTicketAssigneeBody, type UpdateSupportTicketCommentBody, type UpdateSupportTicketStatusBody, type UpdateSupportTicketTypeBody, type UpdateTemplateBody, type UpdateVisitBody, type Visit, type components, type operations, type paths };