@dimmi/api 0.2.0 → 0.3.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +3415 -532
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -588,12 +588,14 @@ export interface paths {
588
588
  };
589
589
  /**
590
590
  * List AI conversation attributes
591
+ * @deprecated
591
592
  * @description Lists the facts the AI reads off each conversation, active and archived. Returns the attributes with their key, type, options and status.
592
593
  */
593
594
  get: operations["ai.conversation-attributes.index"];
594
595
  put?: never;
595
596
  /**
596
597
  * Add an AI conversation attribute
598
+ * @deprecated
597
599
  * @description Adds a fact the AI reads off each conversation and checks again as the customer writes. Workflows can start when it changes and branch on its value. Returns the attribute.
598
600
  */
599
601
  post: operations["ai.conversation-attributes.store"];
@@ -618,6 +620,7 @@ export interface paths {
618
620
  head?: never;
619
621
  /**
620
622
  * Edit an AI conversation attribute
623
+ * @deprecated
621
624
  * @description Changes an attribute's label, description or options, or archives it. Its key and type stay. Returns the attribute as saved.
622
625
  */
623
626
  patch: operations["ai.conversation-attributes.update"];
@@ -863,6 +866,138 @@ export interface paths {
863
866
  patch?: never;
864
867
  trace?: never;
865
868
  };
869
+ "/articles/{article}/translations": {
870
+ parameters: {
871
+ query?: never;
872
+ header?: never;
873
+ path?: never;
874
+ cookie?: never;
875
+ };
876
+ /**
877
+ * List an article's translations
878
+ * @description Lists the article's translations into the help center's other languages, without their bodies. Returns each translation's language, title, status and whether it is behind the source.
879
+ */
880
+ get: operations["articles.translations.index"];
881
+ put?: never;
882
+ post?: never;
883
+ delete?: never;
884
+ options?: never;
885
+ head?: never;
886
+ patch?: never;
887
+ trace?: never;
888
+ };
889
+ "/articles/{article}/translations/{locale}": {
890
+ parameters: {
891
+ query?: never;
892
+ header?: never;
893
+ path?: never;
894
+ cookie?: never;
895
+ };
896
+ /**
897
+ * Get an article's translation
898
+ * @description Reads the article's translation into one language, with its working copy in Markdown. Returns the translation with its body_markdown and lock_version.
899
+ */
900
+ get: operations["articles.translations.show"];
901
+ put?: never;
902
+ post?: never;
903
+ /**
904
+ * Delete an article's translation
905
+ * @description Deletes the translation; readers of its language read the original again. Its versions stay.
906
+ */
907
+ delete: operations["articles.translations.destroy"];
908
+ options?: never;
909
+ head?: never;
910
+ /**
911
+ * Translate an article
912
+ * @description Saves the article's translation into a language, starting a draft when there is none. Readers of that language keep reading the published translation, or the original, until it is published. Returns the translation as it now is, with its new lock_version.
913
+ */
914
+ patch: operations["articles.translations.update"];
915
+ trace?: never;
916
+ };
917
+ "/articles/{article}/translations/{locale}/publications": {
918
+ parameters: {
919
+ query?: never;
920
+ header?: never;
921
+ path?: never;
922
+ cookie?: never;
923
+ };
924
+ get?: never;
925
+ put?: never;
926
+ /**
927
+ * Publish an article's translation
928
+ * @description Makes the translation's working copy live for readers of its language and marks it caught up with the source. Returns the published translation.
929
+ */
930
+ post: operations["articles.translations.publications.store"];
931
+ /**
932
+ * Unpublish an article's translation
933
+ * @description Takes the translation back to a draft; readers of its language read the original again. Returns the translation as a draft.
934
+ */
935
+ delete: operations["articles.translations.publications.destroy"];
936
+ options?: never;
937
+ head?: never;
938
+ patch?: never;
939
+ trace?: never;
940
+ };
941
+ "/articles/{article}/translations/{locale}/restorations": {
942
+ parameters: {
943
+ query?: never;
944
+ header?: never;
945
+ path?: never;
946
+ cookie?: never;
947
+ };
948
+ get?: never;
949
+ put?: never;
950
+ /**
951
+ * Restore a translation's version
952
+ * @description Puts an earlier version of the translation back into its working copy, unpublished. Returns the translation with the restored text.
953
+ */
954
+ post: operations["articles.translations.restorations.store"];
955
+ delete?: never;
956
+ options?: never;
957
+ head?: never;
958
+ patch?: never;
959
+ trace?: never;
960
+ };
961
+ "/articles/{article}/translations/{locale}/reviews": {
962
+ parameters: {
963
+ query?: never;
964
+ header?: never;
965
+ path?: never;
966
+ cookie?: never;
967
+ };
968
+ get?: never;
969
+ put?: never;
970
+ /**
971
+ * Mark a translation up to date
972
+ * @description Says the translation still matches the source after the source changed, without publishing it. Returns the translation, no longer outdated.
973
+ */
974
+ post: operations["articles.translations.reviews.store"];
975
+ delete?: never;
976
+ options?: never;
977
+ head?: never;
978
+ patch?: never;
979
+ trace?: never;
980
+ };
981
+ "/articles/{article}/translations/{locale}/versions": {
982
+ parameters: {
983
+ query?: never;
984
+ header?: never;
985
+ path?: never;
986
+ cookie?: never;
987
+ };
988
+ /**
989
+ * List a translation's versions
990
+ * @description Lists the published versions of the article's translation into one language, newest first. Returns each version's number, title and when it was published.
991
+ */
992
+ get: operations["articles.translations.versions.index"];
993
+ put?: never;
994
+ post?: never;
995
+ delete?: never;
996
+ options?: never;
997
+ head?: never;
998
+ patch?: never;
999
+ trace?: never;
1000
+ };
866
1001
  "/articles/{article}/versions": {
867
1002
  parameters: {
868
1003
  query?: never;
@@ -2075,6 +2210,50 @@ export interface paths {
2075
2210
  patch: operations["collections.audience.update"];
2076
2211
  trace?: never;
2077
2212
  };
2213
+ "/collections/{collection}/translations": {
2214
+ parameters: {
2215
+ query?: never;
2216
+ header?: never;
2217
+ path?: never;
2218
+ cookie?: never;
2219
+ };
2220
+ /**
2221
+ * List a collection's translations
2222
+ * @description Lists the collection's name, slug and description in each language it is translated into. Returns the collection's translations.
2223
+ */
2224
+ get: operations["collections.translations.index"];
2225
+ put?: never;
2226
+ post?: never;
2227
+ delete?: never;
2228
+ options?: never;
2229
+ head?: never;
2230
+ patch?: never;
2231
+ trace?: never;
2232
+ };
2233
+ "/collections/{collection}/translations/{locale}": {
2234
+ parameters: {
2235
+ query?: never;
2236
+ header?: never;
2237
+ path?: never;
2238
+ cookie?: never;
2239
+ };
2240
+ get?: never;
2241
+ put?: never;
2242
+ post?: never;
2243
+ /**
2244
+ * Delete a collection's translation
2245
+ * @description Deletes the collection's translation; readers of its language see its default name again.
2246
+ */
2247
+ delete: operations["collections.translations.destroy"];
2248
+ options?: never;
2249
+ head?: never;
2250
+ /**
2251
+ * Translate a collection
2252
+ * @description Saves the collection's name, slug and description in a language the help center offers. It shows to readers of that language at once. Returns the collection's translation.
2253
+ */
2254
+ patch: operations["collections.translations.update"];
2255
+ trace?: never;
2256
+ };
2078
2257
  "/companies": {
2079
2258
  parameters: {
2080
2259
  query?: never;
@@ -2371,6 +2550,66 @@ export interface paths {
2371
2550
  patch: operations["contacts.update"];
2372
2551
  trace?: never;
2373
2552
  };
2553
+ "/contacts/{contact}/companies": {
2554
+ parameters: {
2555
+ query?: never;
2556
+ header?: never;
2557
+ path?: never;
2558
+ cookie?: never;
2559
+ };
2560
+ get?: never;
2561
+ put?: never;
2562
+ /**
2563
+ * Add a company to a contact
2564
+ * @description Links a contact to one more company. A contact can belong to several; one is the default, which conversations and tickets take when they start. The first company becomes the default. Returns the contact as it now is, with all its companies.
2565
+ */
2566
+ post: operations["contacts.companies.store"];
2567
+ delete?: never;
2568
+ options?: never;
2569
+ head?: never;
2570
+ patch?: never;
2571
+ trace?: never;
2572
+ };
2573
+ "/contacts/{contact}/companies/{company}": {
2574
+ parameters: {
2575
+ query?: never;
2576
+ header?: never;
2577
+ path?: never;
2578
+ cookie?: never;
2579
+ };
2580
+ get?: never;
2581
+ put?: never;
2582
+ post?: never;
2583
+ /**
2584
+ * Remove a company from a contact
2585
+ * @description Unlinks a contact from one company. When it was the default, the company linked longest becomes the default, or the contact has none left. Returns the contact as it now is, with all its companies.
2586
+ */
2587
+ delete: operations["contacts.companies.destroy"];
2588
+ options?: never;
2589
+ head?: never;
2590
+ patch?: never;
2591
+ trace?: never;
2592
+ };
2593
+ "/contacts/{contact}/companies/{company}/default": {
2594
+ parameters: {
2595
+ query?: never;
2596
+ header?: never;
2597
+ path?: never;
2598
+ cookie?: never;
2599
+ };
2600
+ get?: never;
2601
+ put?: never;
2602
+ /**
2603
+ * Make a company a contact's default
2604
+ * @description Makes one of the contact's companies its default: company_id and company on the contact then name it, and new conversations and tickets take it. Past ones keep theirs. Returns the contact as it now is, with all its companies.
2605
+ */
2606
+ post: operations["contacts.companies.default.store"];
2607
+ delete?: never;
2608
+ options?: never;
2609
+ head?: never;
2610
+ patch?: never;
2611
+ trace?: never;
2612
+ };
2374
2613
  "/contacts/{contact}/conversations": {
2375
2614
  parameters: {
2376
2615
  query?: never;
@@ -2615,6 +2854,94 @@ export interface paths {
2615
2854
  patch?: never;
2616
2855
  trace?: never;
2617
2856
  };
2857
+ "/conversation-attributes": {
2858
+ parameters: {
2859
+ query?: never;
2860
+ header?: never;
2861
+ path?: never;
2862
+ cookie?: never;
2863
+ };
2864
+ /**
2865
+ * List conversation attributes
2866
+ * @description Lists the attributes teammates and the AI fill on every conversation, active and archived. Returns the attributes with their key, type, options, who fills them and status.
2867
+ */
2868
+ get: operations["conversation-attributes.index"];
2869
+ put?: never;
2870
+ /**
2871
+ * Add a conversation attribute
2872
+ * @description Adds an attribute every conversation can hold, such as the issue type. Teammates fill it in the conversation's details and the AI can fill it as the customer writes. Returns the attribute.
2873
+ */
2874
+ post: operations["conversation-attributes.store"];
2875
+ delete?: never;
2876
+ options?: never;
2877
+ head?: never;
2878
+ patch?: never;
2879
+ trace?: never;
2880
+ };
2881
+ "/conversation-attributes/{attribute}": {
2882
+ parameters: {
2883
+ query?: never;
2884
+ header?: never;
2885
+ path?: never;
2886
+ cookie?: never;
2887
+ };
2888
+ get?: never;
2889
+ put?: never;
2890
+ post?: never;
2891
+ /**
2892
+ * Delete a conversation attribute
2893
+ * @description Deletes an attribute nothing uses: no conversation holds a value and no workflow or view reads or sets it. Otherwise it is refused; archive it instead. Returns nothing.
2894
+ */
2895
+ delete: operations["conversation-attributes.destroy"];
2896
+ options?: never;
2897
+ head?: never;
2898
+ /**
2899
+ * Edit a conversation attribute
2900
+ * @description Changes an attribute's label, description, options, who fills it, whether it is required to close, the teams that see it, or archives it. Its key and type stay. Returns the attribute as saved.
2901
+ */
2902
+ patch: operations["conversation-attributes.update"];
2903
+ trace?: never;
2904
+ };
2905
+ "/conversation-attributes/{attribute}/usage": {
2906
+ parameters: {
2907
+ query?: never;
2908
+ header?: never;
2909
+ path?: never;
2910
+ cookie?: never;
2911
+ };
2912
+ /**
2913
+ * See what uses a conversation attribute
2914
+ * @description Says how many conversations hold a value, and which workflows and views use it. Returns the counts and names, and whether it can be deleted.
2915
+ */
2916
+ get: operations["conversation-attributes.usage.index"];
2917
+ put?: never;
2918
+ post?: never;
2919
+ delete?: never;
2920
+ options?: never;
2921
+ head?: never;
2922
+ patch?: never;
2923
+ trace?: never;
2924
+ };
2925
+ "/conversation-attributes/order": {
2926
+ parameters: {
2927
+ query?: never;
2928
+ header?: never;
2929
+ path?: never;
2930
+ cookie?: never;
2931
+ };
2932
+ get?: never;
2933
+ put?: never;
2934
+ post?: never;
2935
+ delete?: never;
2936
+ options?: never;
2937
+ head?: never;
2938
+ /**
2939
+ * Reorder conversation attributes
2940
+ * @description Sets the order attributes show in, in the inbox's details and in settings. Returns the attributes in their new order.
2941
+ */
2942
+ patch: operations["conversation-attributes.order.update"];
2943
+ trace?: never;
2944
+ };
2618
2945
  "/conversation-bulk-changes": {
2619
2946
  parameters: {
2620
2947
  query?: never;
@@ -2820,6 +3147,7 @@ export interface paths {
2820
3147
  };
2821
3148
  /**
2822
3149
  * Get a conversation's AI attributes
3150
+ * @deprecated
2823
3151
  * @description Reads what the AI found on a conversation for each active attribute. Returns each value found with its attribute, and when the conversation was last read.
2824
3152
  */
2825
3153
  get: operations["conversations.ai-attributes.index"];
@@ -2871,6 +3199,30 @@ export interface paths {
2871
3199
  patch?: never;
2872
3200
  trace?: never;
2873
3201
  };
3202
+ "/conversations/{conversation}/attributes": {
3203
+ parameters: {
3204
+ query?: never;
3205
+ header?: never;
3206
+ path?: never;
3207
+ cookie?: never;
3208
+ };
3209
+ /**
3210
+ * Get a conversation's attributes
3211
+ * @description Reads a conversation's attribute values and who set each. Returns each active attribute with its value, null when empty, and who set it.
3212
+ */
3213
+ get: operations["conversations.attributes.index"];
3214
+ put?: never;
3215
+ post?: never;
3216
+ delete?: never;
3217
+ options?: never;
3218
+ head?: never;
3219
+ /**
3220
+ * Set a conversation's attributes
3221
+ * @description Sets or clears some of a conversation's attribute values. A value set here is never replaced by the AI. Returns the conversation's attributes as they now are.
3222
+ */
3223
+ patch: operations["conversations.attributes.update"];
3224
+ trace?: never;
3225
+ };
2874
3226
  "/conversations/{conversation}/context": {
2875
3227
  parameters: {
2876
3228
  query?: never;
@@ -4391,6 +4743,26 @@ export interface paths {
4391
4743
  patch: operations["feedback-statuses.change"];
4392
4744
  trace?: never;
4393
4745
  };
4746
+ "/help-center-languages": {
4747
+ parameters: {
4748
+ query?: never;
4749
+ header?: never;
4750
+ path?: never;
4751
+ cookie?: never;
4752
+ };
4753
+ /**
4754
+ * List the languages a help center can offer
4755
+ * @description Lists every language a help center can be read in, with its name in English and in itself. Returns each language's code, name and native name.
4756
+ */
4757
+ get: operations["help-center-languages.index"];
4758
+ put?: never;
4759
+ post?: never;
4760
+ delete?: never;
4761
+ options?: never;
4762
+ head?: never;
4763
+ patch?: never;
4764
+ trace?: never;
4765
+ };
4394
4766
  "/help-centers": {
4395
4767
  parameters: {
4396
4768
  query?: never;
@@ -4575,6 +4947,26 @@ export interface paths {
4575
4947
  patch?: never;
4576
4948
  trace?: never;
4577
4949
  };
4950
+ "/help-centers/{help_center}/collection-translations": {
4951
+ parameters: {
4952
+ query?: never;
4953
+ header?: never;
4954
+ path?: never;
4955
+ cookie?: never;
4956
+ };
4957
+ /**
4958
+ * List a help center's collection translations
4959
+ * @description Lists the translated names of every collection of the help center, in every language. Returns each collection's name, slug and description in each language it is translated into.
4960
+ */
4961
+ get: operations["help-centers.collection-translations.index"];
4962
+ put?: never;
4963
+ post?: never;
4964
+ delete?: never;
4965
+ options?: never;
4966
+ head?: never;
4967
+ patch?: never;
4968
+ trace?: never;
4969
+ };
4578
4970
  "/help-centers/{help_center}/collections": {
4579
4971
  parameters: {
4580
4972
  query?: never;
@@ -4699,6 +5091,134 @@ export interface paths {
4699
5091
  patch?: never;
4700
5092
  trace?: never;
4701
5093
  };
5094
+ "/help-centers/{help_center}/live-theme": {
5095
+ parameters: {
5096
+ query?: never;
5097
+ header?: never;
5098
+ path?: never;
5099
+ cookie?: never;
5100
+ };
5101
+ get?: never;
5102
+ put?: never;
5103
+ post?: never;
5104
+ delete?: never;
5105
+ options?: never;
5106
+ head?: never;
5107
+ /**
5108
+ * Change the theme a help center wears
5109
+ * @description Makes a theme version the one every page of the help center renders in, or the default theme again with a null theme_id. Readers see the change at once. Returns the help center with its theme_id.
5110
+ */
5111
+ patch: operations["help-centers.live-theme.update"];
5112
+ trace?: never;
5113
+ };
5114
+ "/help-centers/{help_center}/theme-preview": {
5115
+ parameters: {
5116
+ query?: never;
5117
+ header?: never;
5118
+ path?: never;
5119
+ cookie?: never;
5120
+ };
5121
+ /**
5122
+ * Build a help center page for a theme preview
5123
+ * @description Builds one page of the help center with its live content, as a theme would render it, without rendering it. The dimmi CLI renders the page in the theme on the developer's computer. Returns the page's status, its redirect when it has one, and the template and variables it renders.
5124
+ */
5125
+ get: operations["help-centers.theme-preview.show"];
5126
+ put?: never;
5127
+ post?: never;
5128
+ delete?: never;
5129
+ options?: never;
5130
+ head?: never;
5131
+ patch?: never;
5132
+ trace?: never;
5133
+ };
5134
+ "/help-centers/{help_center}/themes": {
5135
+ parameters: {
5136
+ query?: never;
5137
+ header?: never;
5138
+ path?: never;
5139
+ cookie?: never;
5140
+ };
5141
+ /**
5142
+ * List a help center's themes
5143
+ * @description Lists every theme version uploaded to a help center, newest first, with the one readers see. Returns the theme versions, live set on the one the help center's pages wear.
5144
+ */
5145
+ get: operations["help-centers.themes.index"];
5146
+ put?: never;
5147
+ /**
5148
+ * Upload a help center theme
5149
+ * @description Uploads a theme's folder as a zip in the file field of a multipart form. dimmi checks every file and parses every template; a theme with problems is refused with each one's file and line, and nothing is kept. A theme that passes is kept as a new version, not yet live. Returns the new theme version.
5150
+ */
5151
+ post: operations["help-centers.themes.store"];
5152
+ delete?: never;
5153
+ options?: never;
5154
+ head?: never;
5155
+ patch?: never;
5156
+ trace?: never;
5157
+ };
5158
+ "/help-centers/{help_center}/themes/{theme}": {
5159
+ parameters: {
5160
+ query?: never;
5161
+ header?: never;
5162
+ path?: never;
5163
+ cookie?: never;
5164
+ };
5165
+ /**
5166
+ * Get a help center theme
5167
+ * @description Reads one theme version of a help center: its name, settings and the team's values. Returns the theme version.
5168
+ */
5169
+ get: operations["help-centers.themes.show"];
5170
+ put?: never;
5171
+ post?: never;
5172
+ delete?: never;
5173
+ options?: never;
5174
+ head?: never;
5175
+ /**
5176
+ * Change a theme's settings
5177
+ * @description Sets the team's values for the settings a theme version declares in its theme.json. A value that does not fit its setting is refused. Returns the theme version with its new values.
5178
+ */
5179
+ patch: operations["help-centers.themes.update"];
5180
+ trace?: never;
5181
+ };
5182
+ "/help-centers/{help_center}/themes/{theme}/archive": {
5183
+ parameters: {
5184
+ query?: never;
5185
+ header?: never;
5186
+ path?: never;
5187
+ cookie?: never;
5188
+ };
5189
+ /**
5190
+ * Download a help center theme
5191
+ * @description Downloads a theme version's files as a zip, or the default theme's with default as the id. Returns the theme's folder as a zip file.
5192
+ */
5193
+ get: operations["help-centers.themes.archive.show"];
5194
+ put?: never;
5195
+ post?: never;
5196
+ delete?: never;
5197
+ options?: never;
5198
+ head?: never;
5199
+ patch?: never;
5200
+ trace?: never;
5201
+ };
5202
+ "/help-centers/{help_center}/translation-states": {
5203
+ parameters: {
5204
+ query?: never;
5205
+ header?: never;
5206
+ path?: never;
5207
+ cookie?: never;
5208
+ };
5209
+ /**
5210
+ * See what is left to translate
5211
+ * @description Lists where every article of the help center stands in each language it offers besides its default: missing, draft or published, and whether it is behind the source. Returns one row per article and language.
5212
+ */
5213
+ get: operations["help-centers.translation-states.index"];
5214
+ put?: never;
5215
+ post?: never;
5216
+ delete?: never;
5217
+ options?: never;
5218
+ head?: never;
5219
+ patch?: never;
5220
+ trace?: never;
5221
+ };
4702
5222
  "/help-images": {
4703
5223
  parameters: {
4704
5224
  query?: never;
@@ -5955,6 +6475,110 @@ export interface paths {
5955
6475
  patch: operations["members.me.update"];
5956
6476
  trace?: never;
5957
6477
  };
6478
+ "/migrations": {
6479
+ parameters: {
6480
+ query?: never;
6481
+ header?: never;
6482
+ path?: never;
6483
+ cookie?: never;
6484
+ };
6485
+ /**
6486
+ * List migrations
6487
+ * @description Lists the workspace's migrations from other tools with where each stands. Returns up to 100 migrations, newest first.
6488
+ */
6489
+ get: operations["migrations.index"];
6490
+ put?: never;
6491
+ /**
6492
+ * Start or resume a migration
6493
+ * @description Starts a migration of history from another tool for one account there, or returns the one under way for the same source and account. Records are sent by the dimmi CLI. Needs imports:manage. Returns the migration with its progress.
6494
+ */
6495
+ post: operations["migrations.store"];
6496
+ delete?: never;
6497
+ options?: never;
6498
+ head?: never;
6499
+ patch?: never;
6500
+ trace?: never;
6501
+ };
6502
+ "/migrations/{migration}": {
6503
+ parameters: {
6504
+ query?: never;
6505
+ header?: never;
6506
+ path?: never;
6507
+ cookie?: never;
6508
+ };
6509
+ /**
6510
+ * Get a migration
6511
+ * @description Reads one migration: how many records of each kind were applied, wait for another record, failed or are not supported yet, and the latest problems with why. Returns the migration with counts per kind and its latest problems.
6512
+ */
6513
+ get: operations["migrations.show"];
6514
+ put?: never;
6515
+ post?: never;
6516
+ delete?: never;
6517
+ options?: never;
6518
+ head?: never;
6519
+ patch?: never;
6520
+ trace?: never;
6521
+ };
6522
+ "/migrations/{migration}/lookups": {
6523
+ parameters: {
6524
+ query?: never;
6525
+ header?: never;
6526
+ path?: never;
6527
+ cookie?: never;
6528
+ };
6529
+ get?: never;
6530
+ put?: never;
6531
+ /**
6532
+ * Look up records of a migration
6533
+ * @description Says where each record named by its id in the other tool stands: applied with the dimmi id it became, deferred, failed, unsupported, or missing when the migration never received it. Use it to check a sample after a run. Returns one entry per source id, in the order asked.
6534
+ */
6535
+ post: operations["migrations.lookups.store"];
6536
+ delete?: never;
6537
+ options?: never;
6538
+ head?: never;
6539
+ patch?: never;
6540
+ trace?: never;
6541
+ };
6542
+ "/migrations/{migration}/records": {
6543
+ parameters: {
6544
+ query?: never;
6545
+ header?: never;
6546
+ path?: never;
6547
+ cookie?: never;
6548
+ };
6549
+ get?: never;
6550
+ put?: never;
6551
+ /**
6552
+ * Send migration records
6553
+ * @description Applies a batch of 1 to 100 records of one kind in dimmi's import format to the migration, as quiet history: nothing is sent and no event goes out. Each record is kept under its source_id, so sending it again updates what it became or skips it when unchanged, and a record naming one not sent yet waits for it. It needs the settings:write ability and the imports:manage permission. Returns a result per record, in the order sent, and the waiting records this batch let through.
6554
+ */
6555
+ post: operations["migrations.records.store"];
6556
+ delete?: never;
6557
+ options?: never;
6558
+ head?: never;
6559
+ patch?: never;
6560
+ trace?: never;
6561
+ };
6562
+ "/migrations/{migration}/rollbacks": {
6563
+ parameters: {
6564
+ query?: never;
6565
+ header?: never;
6566
+ path?: never;
6567
+ cookie?: never;
6568
+ };
6569
+ get?: never;
6570
+ put?: never;
6571
+ /**
6572
+ * Undo a migration
6573
+ * @description Undoes everything the migration created, in the background: conversations, contacts, articles and tickets go to the trash, tags, notes and replies are deleted. Records others now use are kept. Needs imports:rollback. Returns the migration with status rolling_back; poll it until rolled_back.
6574
+ */
6575
+ post: operations["migrations.rollbacks.store"];
6576
+ delete?: never;
6577
+ options?: never;
6578
+ head?: never;
6579
+ patch?: never;
6580
+ trace?: never;
6581
+ };
5958
6582
  "/notification-deliveries": {
5959
6583
  parameters: {
5960
6584
  query?: never;
@@ -11856,6 +12480,53 @@ export interface components {
11856
12480
  */
11857
12481
  created_at: string;
11858
12482
  };
12483
+ ArticleTranslation: {
12484
+ /** @description The id of the article translated, such as art_abc123. */
12485
+ article_id: string;
12486
+ /** @description The translation's working copy in Markdown. Left out of lists. */
12487
+ body_markdown?: string;
12488
+ /**
12489
+ * Format: date-time
12490
+ * @description When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
12491
+ */
12492
+ created_at: string;
12493
+ /** @description The translated summary shown under the title. Null when it has none. */
12494
+ description: string | null;
12495
+ /** @description True when the working copy differs from the version readers of the language see. */
12496
+ has_unpublished_changes: boolean;
12497
+ /** @description The language of the translation, as a code such as fr or pt-BR. */
12498
+ locale: string;
12499
+ /**
12500
+ * Format: int32
12501
+ * @description Goes up with every save; send it back to save over this version only.
12502
+ */
12503
+ lock_version: number;
12504
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
12505
+ object: string;
12506
+ /** @description True when the source was published with other words since the translation caught up. */
12507
+ outdated: boolean;
12508
+ /**
12509
+ * Format: date-time
12510
+ * @description When the translation was last published. Null while it never was.
12511
+ */
12512
+ published_at: string | null;
12513
+ /** @description The translation's address in its language, such as remboursements. */
12514
+ slug: string;
12515
+ /** @description draft until the translation is published, then published. */
12516
+ status: string;
12517
+ /** @description The translated title. */
12518
+ title: string;
12519
+ /**
12520
+ * Format: date-time
12521
+ * @description When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
12522
+ */
12523
+ updated_at: string;
12524
+ /**
12525
+ * Format: int32
12526
+ * @description The number of words in the translation's working copy.
12527
+ */
12528
+ word_count: number;
12529
+ };
11859
12530
  ArticleVersion: {
11860
12531
  /**
11861
12532
  * Format: date-time
@@ -12322,6 +12993,14 @@ export interface components {
12322
12993
  /** @description Who wrote the entry: contact, member, agent (the AI), system or integration. */
12323
12994
  type: string;
12324
12995
  };
12996
+ AwaitingAccess: {
12997
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
12998
+ id: string;
12999
+ /** @description The name of the workspace the caller waits to be enabled in. */
13000
+ name: string;
13001
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
13002
+ object: string;
13003
+ };
12325
13004
  Background: {
12326
13005
  /** @description Whether the background softens into the page below it. */
12327
13006
  fade: boolean;
@@ -13413,6 +14092,31 @@ export interface components {
13413
14092
  */
13414
14093
  total?: number;
13415
14094
  };
14095
+ CollectionArticleTranslation: {
14096
+ /** @description The items of this page, as a list; empty when nothing matches. */
14097
+ data: components["schemas"]["ArticleTranslation"][] | null;
14098
+ /** @description Addresses of related pages by name, such as next; left out when there are none. */
14099
+ links?: {
14100
+ [key: string]: string;
14101
+ };
14102
+ meta: components["schemas"]["CollectionArticleTranslationMetaStruct"];
14103
+ };
14104
+ CollectionArticleTranslationMetaStruct: {
14105
+ /** @description Send it as cursor to read the next page; null on the last page. */
14106
+ next_cursor: string | null;
14107
+ /**
14108
+ * Format: int64
14109
+ * @description How many items a page holds at most, such as 25.
14110
+ */
14111
+ per_page: number;
14112
+ /** @description Send it as cursor to read the page before; null on the first page. */
14113
+ prev_cursor: string | null;
14114
+ /**
14115
+ * Format: int64
14116
+ * @description How many items match in all; left out when the list does not count them.
14117
+ */
14118
+ total?: number;
14119
+ };
13416
14120
  CollectionArticleVersion: {
13417
14121
  /** @description The items of this page, as a list; empty when nothing matches. */
13418
14122
  data: components["schemas"]["ArticleVersion"][] | null;
@@ -13759,6 +14463,31 @@ export interface components {
13759
14463
  */
13760
14464
  total?: number;
13761
14465
  };
14466
+ CollectionCollectionTranslation: {
14467
+ /** @description The items of this page, as a list; empty when nothing matches. */
14468
+ data: components["schemas"]["CollectionTranslation"][] | null;
14469
+ /** @description Addresses of related pages by name, such as next; left out when there are none. */
14470
+ links?: {
14471
+ [key: string]: string;
14472
+ };
14473
+ meta: components["schemas"]["CollectionCollectionTranslationMetaStruct"];
14474
+ };
14475
+ CollectionCollectionTranslationMetaStruct: {
14476
+ /** @description Send it as cursor to read the next page; null on the last page. */
14477
+ next_cursor: string | null;
14478
+ /**
14479
+ * Format: int64
14480
+ * @description How many items a page holds at most, such as 25.
14481
+ */
14482
+ per_page: number;
14483
+ /** @description Send it as cursor to read the page before; null on the first page. */
14484
+ prev_cursor: string | null;
14485
+ /**
14486
+ * Format: int64
14487
+ * @description How many items match in all; left out when the list does not count them.
14488
+ */
14489
+ total?: number;
14490
+ };
13762
14491
  CollectionCompany: {
13763
14492
  /** @description The items of this page, as a list; empty when nothing matches. */
13764
14493
  data: components["schemas"]["Company"][] | null;
@@ -13943,6 +14672,31 @@ export interface components {
13943
14672
  };
13944
14673
  meta: components["schemas"]["CollectionConversationMetaStruct"];
13945
14674
  };
14675
+ CollectionConversationAttribute: {
14676
+ /** @description The items of this page, as a list; empty when nothing matches. */
14677
+ data: components["schemas"]["ConversationAttribute"][] | null;
14678
+ /** @description Addresses of related pages by name, such as next; left out when there are none. */
14679
+ links?: {
14680
+ [key: string]: string;
14681
+ };
14682
+ meta: components["schemas"]["CollectionConversationAttributeMetaStruct"];
14683
+ };
14684
+ CollectionConversationAttributeMetaStruct: {
14685
+ /** @description Send it as cursor to read the next page; null on the last page. */
14686
+ next_cursor: string | null;
14687
+ /**
14688
+ * Format: int64
14689
+ * @description How many items a page holds at most, such as 25.
14690
+ */
14691
+ per_page: number;
14692
+ /** @description Send it as cursor to read the page before; null on the first page. */
14693
+ prev_cursor: string | null;
14694
+ /**
14695
+ * Format: int64
14696
+ * @description How many items match in all; left out when the list does not count them.
14697
+ */
14698
+ total?: number;
14699
+ };
13946
14700
  CollectionConversationMetaStruct: {
13947
14701
  /** @description Send it as cursor to read the next page; null on the last page. */
13948
14702
  next_cursor: string | null;
@@ -14309,6 +15063,31 @@ export interface components {
14309
15063
  */
14310
15064
  total?: number;
14311
15065
  };
15066
+ CollectionHelpCenterTheme: {
15067
+ /** @description The items of this page, as a list; empty when nothing matches. */
15068
+ data: components["schemas"]["HelpCenterTheme"][] | null;
15069
+ /** @description Addresses of related pages by name, such as next; left out when there are none. */
15070
+ links?: {
15071
+ [key: string]: string;
15072
+ };
15073
+ meta: components["schemas"]["CollectionHelpCenterThemeMetaStruct"];
15074
+ };
15075
+ CollectionHelpCenterThemeMetaStruct: {
15076
+ /** @description Send it as cursor to read the next page; null on the last page. */
15077
+ next_cursor: string | null;
15078
+ /**
15079
+ * Format: int64
15080
+ * @description How many items a page holds at most, such as 25.
15081
+ */
15082
+ per_page: number;
15083
+ /** @description Send it as cursor to read the page before; null on the first page. */
15084
+ prev_cursor: string | null;
15085
+ /**
15086
+ * Format: int64
15087
+ * @description How many items match in all; left out when the list does not count them.
15088
+ */
15089
+ total?: number;
15090
+ };
14312
15091
  CollectionIdentitySecret: {
14313
15092
  /** @description The items of this page, as a list; empty when nothing matches. */
14314
15093
  data: components["schemas"]["IdentitySecret"][] | null;
@@ -14634,6 +15413,31 @@ export interface components {
14634
15413
  */
14635
15414
  total?: number;
14636
15415
  };
15416
+ CollectionLanguage: {
15417
+ /** @description The items of this page, as a list; empty when nothing matches. */
15418
+ data: components["schemas"]["Language"][] | null;
15419
+ /** @description Addresses of related pages by name, such as next; left out when there are none. */
15420
+ links?: {
15421
+ [key: string]: string;
15422
+ };
15423
+ meta: components["schemas"]["CollectionLanguageMetaStruct"];
15424
+ };
15425
+ CollectionLanguageMetaStruct: {
15426
+ /** @description Send it as cursor to read the next page; null on the last page. */
15427
+ next_cursor: string | null;
15428
+ /**
15429
+ * Format: int64
15430
+ * @description How many items a page holds at most, such as 25.
15431
+ */
15432
+ per_page: number;
15433
+ /** @description Send it as cursor to read the page before; null on the first page. */
15434
+ prev_cursor: string | null;
15435
+ /**
15436
+ * Format: int64
15437
+ * @description How many items match in all; left out when the list does not count them.
15438
+ */
15439
+ total?: number;
15440
+ };
14637
15441
  CollectionListedTag: {
14638
15442
  /** @description The items of this page, as a list; empty when nothing matches. */
14639
15443
  data: components["schemas"]["ListedTag"][] | null;
@@ -14684,6 +15488,56 @@ export interface components {
14684
15488
  */
14685
15489
  total?: number;
14686
15490
  };
15491
+ CollectionMigrationLookup: {
15492
+ /** @description The items of this page, as a list; empty when nothing matches. */
15493
+ data: components["schemas"]["MigrationLookup"][] | null;
15494
+ /** @description Addresses of related pages by name, such as next; left out when there are none. */
15495
+ links?: {
15496
+ [key: string]: string;
15497
+ };
15498
+ meta: components["schemas"]["CollectionMigrationLookupMetaStruct"];
15499
+ };
15500
+ CollectionMigrationLookupMetaStruct: {
15501
+ /** @description Send it as cursor to read the next page; null on the last page. */
15502
+ next_cursor: string | null;
15503
+ /**
15504
+ * Format: int64
15505
+ * @description How many items a page holds at most, such as 25.
15506
+ */
15507
+ per_page: number;
15508
+ /** @description Send it as cursor to read the page before; null on the first page. */
15509
+ prev_cursor: string | null;
15510
+ /**
15511
+ * Format: int64
15512
+ * @description How many items match in all; left out when the list does not count them.
15513
+ */
15514
+ total?: number;
15515
+ };
15516
+ CollectionMigrationSummary: {
15517
+ /** @description The items of this page, as a list; empty when nothing matches. */
15518
+ data: components["schemas"]["MigrationSummary"][] | null;
15519
+ /** @description Addresses of related pages by name, such as next; left out when there are none. */
15520
+ links?: {
15521
+ [key: string]: string;
15522
+ };
15523
+ meta: components["schemas"]["CollectionMigrationSummaryMetaStruct"];
15524
+ };
15525
+ CollectionMigrationSummaryMetaStruct: {
15526
+ /** @description Send it as cursor to read the next page; null on the last page. */
15527
+ next_cursor: string | null;
15528
+ /**
15529
+ * Format: int64
15530
+ * @description How many items a page holds at most, such as 25.
15531
+ */
15532
+ per_page: number;
15533
+ /** @description Send it as cursor to read the page before; null on the first page. */
15534
+ prev_cursor: string | null;
15535
+ /**
15536
+ * Format: int64
15537
+ * @description How many items match in all; left out when the list does not count them.
15538
+ */
15539
+ total?: number;
15540
+ };
14687
15541
  CollectionNotificationDestination: {
14688
15542
  /** @description The items of this page, as a list; empty when nothing matches. */
14689
15543
  data: components["schemas"]["NotificationDestination"][] | null;
@@ -15709,6 +16563,57 @@ export interface components {
15709
16563
  */
15710
16564
  total?: number;
15711
16565
  };
16566
+ CollectionTranslation: {
16567
+ /** @description The id of the collection translated, such as col_abc123. */
16568
+ collection_id: string;
16569
+ /**
16570
+ * Format: date-time
16571
+ * @description When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
16572
+ */
16573
+ created_at: string;
16574
+ /** @description The collection's description in that language. Null when it has none. */
16575
+ description: string | null;
16576
+ /** @description The language of the translation, as a code such as fr. */
16577
+ locale: string;
16578
+ /** @description The collection's name in that language. */
16579
+ name: string;
16580
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
16581
+ object: string;
16582
+ /** @description True when the collection's default name or description changed since. */
16583
+ outdated: boolean;
16584
+ /** @description The collection's address in that language. */
16585
+ slug: string;
16586
+ /**
16587
+ * Format: date-time
16588
+ * @description When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
16589
+ */
16590
+ updated_at: string;
16591
+ };
16592
+ CollectionTranslationState: {
16593
+ /** @description The items of this page, as a list; empty when nothing matches. */
16594
+ data: components["schemas"]["TranslationState"][] | null;
16595
+ /** @description Addresses of related pages by name, such as next; left out when there are none. */
16596
+ links?: {
16597
+ [key: string]: string;
16598
+ };
16599
+ meta: components["schemas"]["CollectionTranslationStateMetaStruct"];
16600
+ };
16601
+ CollectionTranslationStateMetaStruct: {
16602
+ /** @description Send it as cursor to read the next page; null on the last page. */
16603
+ next_cursor: string | null;
16604
+ /**
16605
+ * Format: int64
16606
+ * @description How many items a page holds at most, such as 25.
16607
+ */
16608
+ per_page: number;
16609
+ /** @description Send it as cursor to read the page before; null on the first page. */
16610
+ prev_cursor: string | null;
16611
+ /**
16612
+ * Format: int64
16613
+ * @description How many items match in all; left out when the list does not count them.
16614
+ */
16615
+ total?: number;
16616
+ };
15712
16617
  CollectionWebhookDelivery: {
15713
16618
  /** @description The items of this page, as a list; empty when nothing matches. */
15714
16619
  data: components["schemas"]["WebhookDelivery"][] | null;
@@ -16291,6 +17196,14 @@ export interface components {
16291
17196
  /** @description The kind of record this is, the same for every record of its kind, such as article. */
16292
17197
  object: string;
16293
17198
  };
17199
+ Conflict: {
17200
+ /** @description The value it holds in dimmi now, which the sync kept. */
17201
+ dimmi: unknown;
17202
+ /** @description The field a teammate changed in dimmi since the migration wrote it, such as status. */
17203
+ field: string;
17204
+ /** @description The value the other tool sent, which was not applied. */
17205
+ source: unknown;
17206
+ };
16294
17207
  ConnectedApp: {
16295
17208
  /** @description The OAuth client id of the app the person connected. */
16296
17209
  client_id: string;
@@ -16338,6 +17251,8 @@ export interface components {
16338
17251
  avatar_url: string | null;
16339
17252
  /** @description True when the team has blocked this contact. */
16340
17253
  blocked: boolean;
17254
+ /** @description Every company the contact belongs to, the default marked with is_default. company_id and company name the default. Empty when the contact has none. */
17255
+ companies: components["schemas"]["ContactCompany"][] | null;
16341
17256
  company: components["schemas"]["CompanySummary"];
16342
17257
  /**
16343
17258
  * Format: date-time
@@ -16388,6 +17303,23 @@ export interface components {
16388
17303
  */
16389
17304
  updated_at: string;
16390
17305
  };
17306
+ ContactCompany: {
17307
+ /**
17308
+ * Format: date-time
17309
+ * @description When the contact was linked to the company.
17310
+ */
17311
+ added_at: string;
17312
+ /** @description The company's web domain, such as acme.com. Null when unknown. */
17313
+ domain: string | null;
17314
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
17315
+ id: string;
17316
+ /** @description true for the contact's default company, the one company_id and company name. */
17317
+ is_default: boolean;
17318
+ /** @description The company's name. */
17319
+ name: string;
17320
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
17321
+ object: string;
17322
+ };
16391
17323
  ContactDuplicate: {
16392
17324
  contact: components["schemas"]["ContactSummary"];
16393
17325
  /** @description The kind of record this is, the same for every record of its kind, such as article. */
@@ -16608,6 +17540,7 @@ export interface components {
16608
17540
  * @description When the conversation was closed. Null when it has never been closed.
16609
17541
  */
16610
17542
  closed_at: string | null;
17543
+ company: components["schemas"]["CompanySummary"];
16611
17544
  contact: components["schemas"]["ContactSummary"];
16612
17545
  /**
16613
17546
  * Format: date-time
@@ -16692,6 +17625,100 @@ export interface components {
16692
17625
  /** @description Each value found, with its attribute. An attribute with nothing found is left out. */
16693
17626
  values: components["schemas"]["AIAttributeValue"][] | null;
16694
17627
  };
17628
+ ConversationAttribute: {
17629
+ /**
17630
+ * Format: date-time
17631
+ * @description When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
17632
+ */
17633
+ created_at: string;
17634
+ /** @description What the value is: text, long_text, number, decimal, choice, multiple_choice, boolean, date, datetime, file, contact or company. */
17635
+ data_type: string;
17636
+ /** @description What it means; the AI reads it to decide the value. Empty when not set. */
17637
+ description: string;
17638
+ /** @description Who fills it: ai, teammates or both. */
17639
+ filled_by: string;
17640
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
17641
+ id: string;
17642
+ /** @description The attribute's key, as conditions and variables name it: conversation.ai.<key>. */
17643
+ key: string;
17644
+ /** @description What the team calls the attribute. */
17645
+ label: string;
17646
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
17647
+ object: string;
17648
+ /** @description What some options mean, by option, for the AI to read. Empty when none is described. */
17649
+ option_descriptions: {
17650
+ [key: string]: string;
17651
+ };
17652
+ /** @description With choice or multiple_choice, the values it may take. Empty otherwise. */
17653
+ options: string[] | null;
17654
+ /** @description Whether teammates must fill it before closing a conversation. */
17655
+ required_to_close: boolean;
17656
+ /** @description active while it is filled, archived once it stopped. */
17657
+ status: string;
17658
+ /** @description The teams that see it in the inbox. Empty when every team does. */
17659
+ team_ids: string[] | null;
17660
+ /**
17661
+ * Format: date-time
17662
+ * @description When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
17663
+ */
17664
+ updated_at: string;
17665
+ };
17666
+ ConversationAttributeSource: {
17667
+ /**
17668
+ * Format: date-time
17669
+ * @description When it was set, as an RFC 3339 time.
17670
+ */
17671
+ at: string;
17672
+ /** @description ai, member, workflow or import. */
17673
+ by: string;
17674
+ /** @description The teammate's id when a teammate set it. Null otherwise. */
17675
+ id: string | null;
17676
+ /** @description The teammate's or the workflow's name. Null for the AI and imports. */
17677
+ name: string | null;
17678
+ /** @description Why the AI chose the value, in a sentence. Null when the AI gave none or someone else set it. */
17679
+ reason: string | null;
17680
+ /**
17681
+ * Format: double
17682
+ * @description How sure the AI was, from 0 to 1. Null when the AI did not say or someone else set it.
17683
+ */
17684
+ sureness: number | null;
17685
+ };
17686
+ ConversationAttributeUsage: {
17687
+ /**
17688
+ * Format: int64
17689
+ * @description How many conversations hold a value of the attribute.
17690
+ */
17691
+ conversations: number;
17692
+ /** @description Whether it can be deleted: true only when nothing uses it. */
17693
+ deletable: boolean;
17694
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
17695
+ object: string;
17696
+ /** @description The inbox views that filter by it. */
17697
+ views: components["schemas"]["NamedRecord"][] | null;
17698
+ /** @description The workflows that read or set it. */
17699
+ workflows: components["schemas"]["NamedRecord"][] | null;
17700
+ };
17701
+ ConversationAttributeValue: {
17702
+ attribute: components["schemas"]["ConversationAttribute"];
17703
+ /** @description With a file attribute, the files the value holds, each with a short-lived link. Empty otherwise. */
17704
+ files: components["schemas"]["Attachment"][] | null;
17705
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
17706
+ object: string;
17707
+ set_by: components["schemas"]["ConversationAttributeSource"];
17708
+ /** @description The value, in the attribute's type: text, a number, true or false, a YYYY-MM-DD date, an RFC 3339 date and time, an option, a list of options or file ids, or a contact or company id. Null when empty. */
17709
+ value: unknown;
17710
+ };
17711
+ ConversationAttributeValues: {
17712
+ /**
17713
+ * Format: date-time
17714
+ * @description When the AI last read the conversation. Null when it never has.
17715
+ */
17716
+ checked_at: string | null;
17717
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
17718
+ object: string;
17719
+ /** @description Each active attribute with its value, and each archived one that still holds one. */
17720
+ values: components["schemas"]["ConversationAttributeValue"][] | null;
17721
+ };
16695
17722
  ConversationBulkResult: {
16696
17723
  /** @description The fields that changed, such as status, assignee_id, team_id, spam, add_tags, remove_tags or unread, or deleted when it was trashed. Empty when nothing changed. */
16697
17724
  changed: string[] | null;
@@ -18029,6 +19056,8 @@ export interface components {
18029
19056
  created_at: string;
18030
19057
  /** @description The help center's own verified domain, such as help.acme.com. Null until one is set up and verified. */
18031
19058
  custom_domain: string | null;
19059
+ /** @description The language articles are written in, as a code such as en. Same as locale. */
19060
+ default_locale: string;
18032
19061
  /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
18033
19062
  id: string;
18034
19063
  /** @description True when search engines are allowed to index this help center. */
@@ -18037,6 +19066,8 @@ export interface components {
18037
19066
  is_default: boolean;
18038
19067
  /** @description The help center's main language as a language code, such as en or fr. */
18039
19068
  locale: string;
19069
+ /** @description Every language the help center is read in, the default first. Readers of another language read it under /<code>/. */
19070
+ locales: string[] | null;
18040
19071
  /** @description The help center's name. */
18041
19072
  name: string;
18042
19073
  /** @description The kind of record this is, the same for every record of its kind, such as article. */
@@ -18046,6 +19077,8 @@ export interface components {
18046
19077
  status: string;
18047
19078
  /** @description The part of the address picked for this help center: 3 to 40 lowercase letters, digits and dashes, such as acme. */
18048
19079
  subdomain: string;
19080
+ /** @description Id of the theme version the help center's pages wear, starting with thm_. Null for the default theme. */
19081
+ theme_id: string | null;
18049
19082
  /**
18050
19083
  * Format: date-time
18051
19084
  * @description When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
@@ -18180,6 +19213,8 @@ export interface components {
18180
19213
  messenger_id?: string;
18181
19214
  /** @description The help center's main color as a hex code, such as #10b981. Left out when not set. */
18182
19215
  primary_color?: string;
19216
+ /** @description What readers of another language see of an article not translated into it: original shows it in the default language, hide leaves it out. */
19217
+ untranslated_articles?: string;
18183
19218
  };
18184
19219
  HelpCenterSettingsBody: {
18185
19220
  /**
@@ -18230,6 +19265,77 @@ export interface components {
18230
19265
  messenger_id?: string;
18231
19266
  /** @description Main color of the help center, as # and six hex digits, such as #10b981. An empty text clears it. */
18232
19267
  primary_color?: string;
19268
+ /**
19269
+ * @description What readers of another language see of an article not translated into it: original shows it in the default language, hide leaves it out.
19270
+ * @enum {string}
19271
+ */
19272
+ untranslated_articles?: "original" | "hide";
19273
+ };
19274
+ HelpCenterTheme: {
19275
+ /**
19276
+ * Format: int64
19277
+ * @description The theme API the theme is written for, from its theme.json.
19278
+ */
19279
+ api_version: number;
19280
+ /** @description A hash of every file of the theme; two versions with the same hash hold the same files. */
19281
+ content_hash: string;
19282
+ /**
19283
+ * Format: date-time
19284
+ * @description When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
19285
+ */
19286
+ created_at: string;
19287
+ /**
19288
+ * Format: int32
19289
+ * @description How many files the theme holds.
19290
+ */
19291
+ file_count: number;
19292
+ /** @description Id of the help center the theme belongs to, starting with hc_. */
19293
+ help_center_id: string;
19294
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
19295
+ id: string;
19296
+ /** @description Whether this is the version the help center's pages wear now. */
19297
+ live: boolean;
19298
+ /** @description The theme's name, from its theme.json. */
19299
+ name: string;
19300
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
19301
+ object: string;
19302
+ /** @description The settings the theme declares in its theme.json, which the team may change without code. */
19303
+ settings: components["schemas"]["HelpCenterThemeSetting"][] | null;
19304
+ /**
19305
+ * Format: int32
19306
+ * @description The size of all the theme's files together, in bytes.
19307
+ */
19308
+ size_bytes: number;
19309
+ /** @description The theme author's own version label, such as 1.2.0. Empty when not set. */
19310
+ theme_version: string;
19311
+ /**
19312
+ * Format: date-time
19313
+ * @description When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
19314
+ */
19315
+ updated_at: string;
19316
+ /** @description The team's values for the theme's settings, by setting id. Settings left out use their defaults. */
19317
+ values: {
19318
+ [key: string]: unknown;
19319
+ };
19320
+ /**
19321
+ * Format: int32
19322
+ * @description The upload's number within the help center, counting up from 1.
19323
+ */
19324
+ version: number;
19325
+ };
19326
+ HelpCenterThemeSetting: {
19327
+ /** @description The value used until the team sets one. Left out when the theme gives none. */
19328
+ default?: unknown;
19329
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
19330
+ id: string;
19331
+ /** @description More words for the team about the setting. Left out when the theme gives none. */
19332
+ info?: string;
19333
+ /** @description The setting's name as the team reads it. */
19334
+ label: string;
19335
+ /** @description The values a select setting allows. Left out for other types. */
19336
+ options?: string[] | null;
19337
+ /** @description What the setting holds: text, textarea, color, checkbox, number, url or select. */
19338
+ type: string;
18233
19339
  };
18234
19340
  HelpImageOutputBody: {
18235
19341
  data: components["schemas"]["DataStruct"];
@@ -18890,7 +19996,7 @@ export interface components {
18890
19996
  /** @description The kind of record this is, the same for every record of its kind, such as article. */
18891
19997
  object: string;
18892
19998
  own_grant: components["schemas"]["IntegrationMemberGrant"];
18893
- /** @description The tool connected, such as linear, jira, github, notion, intercom or zendesk. */
19999
+ /** @description The tool connected, such as linear, jira, github or notion. */
18894
20000
  provider: string;
18895
20001
  /** @description The permission scopes the provider granted to this installation. */
18896
20002
  scopes: string[] | null;
@@ -18927,7 +20033,7 @@ export interface components {
18927
20033
  status: string;
18928
20034
  };
18929
20035
  IntegrationInstallationBody: {
18930
- /** @description For a service hosted per customer, such as Zendesk, the account to connect, up to 63 characters, such as the subdomain acme. */
20036
+ /** @description For a service hosted per customer, the account to connect, up to 63 characters, such as the subdomain acme. */
18931
20037
  account?: string;
18932
20038
  /** @description Up to 20 feature names of the provider that the install is for, each up to 40 characters. Leave out or send empty for every feature; an unknown one is refused. */
18933
20039
  features?: string[] | null;
@@ -19347,7 +20453,7 @@ export interface components {
19347
20453
  status: string;
19348
20454
  /** @description Who reads the source's documents: any of agent (the AI agent), operator and help_center. */
19349
20455
  targets: string[] | null;
19350
- /** @description What kind of source it is, such as website, notion, github, markdown_upload, zendesk_help_center or intercom_help_center. */
20456
+ /** @description What kind of source it is, such as website, notion, github or markdown_upload. */
19351
20457
  type: string;
19352
20458
  /**
19353
20459
  * Format: date-time
@@ -19529,6 +20635,16 @@ export interface components {
19529
20635
  /** @description The kind of that source, such as website or notion. */
19530
20636
  source_type: string;
19531
20637
  };
20638
+ Language: {
20639
+ /** @description The language's code, such as fr or pt-BR. */
20640
+ code: string;
20641
+ /** @description The language's name in English, such as French. */
20642
+ name: string;
20643
+ /** @description The language's name in itself, such as Français. */
20644
+ native_name: string;
20645
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
20646
+ object: string;
20647
+ };
19532
20648
  Launcher: {
19533
20649
  /** @description The picture on the messenger's launcher button: chat, help or wave. */
19534
20650
  icon: string;
@@ -19644,6 +20760,8 @@ export interface components {
19644
20760
  };
19645
20761
  Me: {
19646
20762
  auth: components["schemas"]["Auth"];
20763
+ /** @description The workspaces the caller was brought into from another tool and waits for an admin to enable them in. Null for personal access tokens. */
20764
+ awaiting_access: components["schemas"]["AwaitingAccess"][] | null;
19647
20765
  instance: components["schemas"]["Instance"];
19648
20766
  /** @description The language the caller reads in, as a language code such as en: their own choice, else the workspace's, else the request's. */
19649
20767
  locale: string;
@@ -20014,6 +21132,214 @@ export interface components {
20014
21132
  /** @description Cursor of the next page of delivery log lines; send it back as the cursor to read on. Null on the last page. */
20015
21133
  next_cursor: string | null;
20016
21134
  };
21135
+ Migration: {
21136
+ /** @description The migration's records per kind, by how they stand. */
21137
+ counts: components["schemas"]["MigrationKindCount"][] | null;
21138
+ /**
21139
+ * Format: date-time
21140
+ * @description When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
21141
+ */
21142
+ created_at: string;
21143
+ /**
21144
+ * Format: int32
21145
+ * @description The import format version the migration reads, 1 today.
21146
+ */
21147
+ format_version: number;
21148
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
21149
+ id: string;
21150
+ /**
21151
+ * Format: date-time
21152
+ * @description When the migration last received a record. Null before the first.
21153
+ */
21154
+ last_record_at: string | null;
21155
+ /** @description The migration's name, such as Intercom move. Null when none was given. */
21156
+ name: string | null;
21157
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
21158
+ object: string;
21159
+ /** @description The latest 50 records that failed, are unsupported or carry conflicts, newest first. */
21160
+ problems: components["schemas"]["MigrationRecordProblem"][] | null;
21161
+ rollback: components["schemas"]["MigrationRollback"];
21162
+ /** @description The short name of the tool the history comes from, such as intercom. */
21163
+ source: string;
21164
+ /** @description The id of the account in that tool. Starting again for it resumes this migration. */
21165
+ source_account: string;
21166
+ /**
21167
+ * @description active while it takes records, rolling_back while it is undone, rolled_back once undone, or rollback_failed when the undo stopped and can be asked again.
21168
+ * @enum {string}
21169
+ */
21170
+ status: "active" | "rolling_back" | "rolled_back" | "rollback_failed";
21171
+ /**
21172
+ * Format: date-time
21173
+ * @description When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
21174
+ */
21175
+ updated_at: string;
21176
+ };
21177
+ MigrationBatch: {
21178
+ /** @description The kind of the records sent. */
21179
+ kind: string;
21180
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
21181
+ object: string;
21182
+ /** @description Records sent before that waited for this batch and are now applied or failed. */
21183
+ resolved: components["schemas"]["MigrationRecordResult"][] | null;
21184
+ /** @description A result per record, in the order sent. */
21185
+ results: components["schemas"]["MigrationRecordResult"][] | null;
21186
+ };
21187
+ MigrationError: {
21188
+ /** @description A stable code for why the record failed, such as company_exists. */
21189
+ code: string;
21190
+ /** @description The record field at fault, such as external_id. Null when no single field is. */
21191
+ field?: string;
21192
+ /** @description What went wrong, in words for a person. */
21193
+ message: string;
21194
+ };
21195
+ MigrationKindCount: {
21196
+ /**
21197
+ * Format: int64
21198
+ * @description Records applied, created or matched to what the workspace had.
21199
+ */
21200
+ applied: number;
21201
+ /**
21202
+ * Format: int64
21203
+ * @description Records whose last sync left a teammate's change in place.
21204
+ */
21205
+ conflicted: number;
21206
+ /**
21207
+ * Format: int64
21208
+ * @description Applied records the migration created, which an undo removes.
21209
+ */
21210
+ created: number;
21211
+ /**
21212
+ * Format: int64
21213
+ * @description Records waiting for others they name.
21214
+ */
21215
+ deferred: number;
21216
+ /**
21217
+ * Format: int64
21218
+ * @description Records not applied because of an error.
21219
+ */
21220
+ failed: number;
21221
+ /** @description The record kind counted, such as conversation. */
21222
+ kind: string;
21223
+ /**
21224
+ * Format: int64
21225
+ * @description Records dimmi cannot apply yet.
21226
+ */
21227
+ unsupported: number;
21228
+ };
21229
+ MigrationLookup: {
21230
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
21231
+ id: string | null;
21232
+ /** @description The record's id in the other tool, as asked. */
21233
+ source_id: string;
21234
+ /**
21235
+ * @description applied, deferred, failed or unsupported as the ledger has it, or missing when the migration never received it.
21236
+ * @enum {string}
21237
+ */
21238
+ status: "applied" | "deferred" | "failed" | "unsupported" | "missing";
21239
+ };
21240
+ MigrationLookupRequestBody: {
21241
+ /**
21242
+ * @description The kind of the records, as the import format names it: contact, conversation, article and so on. Such as contact.
21243
+ * @enum {string}
21244
+ */
21245
+ kind: "teammate" | "team" | "tag" | "attribute_definition" | "company" | "contact" | "contact_note" | "ticket_type" | "help_center" | "collection" | "article" | "snippet" | "saved_reply" | "schedule" | "workflow" | "conversation" | "ticket";
21246
+ /** @description Up to 100 ids the records had in the other tool. Such as ["6512ab","6512ac"]. */
21247
+ source_ids: string[] | null;
21248
+ };
21249
+ MigrationRecordProblem: {
21250
+ /** @description Fields a teammate changed in dimmi, which the last sync left as they are. */
21251
+ conflicts: components["schemas"]["Conflict"][] | null;
21252
+ error: components["schemas"]["MigrationError"];
21253
+ /** @description The record's kind. */
21254
+ kind: string;
21255
+ /** @description The record's id in the other tool. */
21256
+ source_id: string;
21257
+ /**
21258
+ * @description failed or unsupported; applied when only conflicts make it a problem.
21259
+ * @enum {string}
21260
+ */
21261
+ status: "applied" | "deferred" | "failed" | "unsupported";
21262
+ /**
21263
+ * Format: date-time
21264
+ * @description When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
21265
+ */
21266
+ updated_at: string;
21267
+ };
21268
+ MigrationRecordResult: {
21269
+ /** @description Fields a teammate changed in dimmi, which this sync left as they are. */
21270
+ conflicts: components["schemas"]["Conflict"][] | null;
21271
+ error: components["schemas"]["MigrationError"];
21272
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
21273
+ id: string | null;
21274
+ /** @description The record's kind. */
21275
+ kind: string;
21276
+ /** @description The record's id in the other tool. */
21277
+ source_id: string;
21278
+ /**
21279
+ * @description created, updated, unchanged (sent before as it is and skipped), deferred, failed or unsupported.
21280
+ * @enum {string}
21281
+ */
21282
+ status: "created" | "updated" | "unchanged" | "deferred" | "failed" | "unsupported";
21283
+ /** @description The records a deferred record waits for. Empty otherwise. */
21284
+ waiting_for: components["schemas"]["Ref"][] | null;
21285
+ /** @description Fields left out of the record, each with a code and why. */
21286
+ warnings: components["schemas"]["Notice"][] | null;
21287
+ };
21288
+ MigrationRecordsRequestBody: {
21289
+ /**
21290
+ * @description Kind: one of teammate, team, tag, attribute_definition, company, contact, contact_note, ticket_type, help_center, collection, article, snippet, saved_reply, schedule, workflow, conversation, ticket.
21291
+ * @enum {string}
21292
+ */
21293
+ kind: "teammate" | "team" | "tag" | "attribute_definition" | "company" | "contact" | "contact_note" | "ticket_type" | "help_center" | "collection" | "article" | "snippet" | "saved_reply" | "schedule" | "workflow" | "conversation" | "ticket";
21294
+ /** @description Records of the kind in the import format, version 1. */
21295
+ records: unknown[] | null;
21296
+ };
21297
+ MigrationRollback: {
21298
+ /** @description Why the undo stopped. Null unless it failed. */
21299
+ error: string | null;
21300
+ /**
21301
+ * Format: date-time
21302
+ * @description When the undo finished or stopped. Null while it runs.
21303
+ */
21304
+ finished_at: string | null;
21305
+ /**
21306
+ * Format: int32
21307
+ * @description How many records the undo removed so far.
21308
+ */
21309
+ removed: number;
21310
+ /**
21311
+ * Format: date-time
21312
+ * @description When the undo was asked for.
21313
+ */
21314
+ requested_at: string | null;
21315
+ };
21316
+ MigrationSummary: {
21317
+ /**
21318
+ * Format: date-time
21319
+ * @description When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
21320
+ */
21321
+ created_at: string;
21322
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
21323
+ id: string;
21324
+ /**
21325
+ * Format: date-time
21326
+ * @description When the migration last received a record. Null before the first.
21327
+ */
21328
+ last_record_at: string | null;
21329
+ /** @description The migration's name, such as Intercom move. Null when none was given. */
21330
+ name: string | null;
21331
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
21332
+ object: string;
21333
+ /** @description The short name of the tool the history comes from, such as intercom. */
21334
+ source: string;
21335
+ /** @description The id of the account in that tool. Starting again for it resumes this migration. */
21336
+ source_account: string;
21337
+ /**
21338
+ * @description active while it takes records, rolling_back while it is undone, rolled_back once undone, or rollback_failed when the undo stopped and can be asked again.
21339
+ * @enum {string}
21340
+ */
21341
+ status: "active" | "rolling_back" | "rolled_back" | "rollback_failed";
21342
+ };
20017
21343
  Named: {
20018
21344
  /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
20019
21345
  id: string;
@@ -20022,6 +21348,12 @@ export interface components {
20022
21348
  /** @description The kind of record this is, the same for every record of its kind, such as article. */
20023
21349
  object: string;
20024
21350
  };
21351
+ NamedRecord: {
21352
+ /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
21353
+ id: string;
21354
+ /** @description The workflow's or view's name. */
21355
+ name: string;
21356
+ };
20025
21357
  Node: {
20026
21358
  /** @description Items under this one in the knowledge source's tree, each shaped the same way. Empty for a document. */
20027
21359
  children: components["schemas"]["Node"][] | null;
@@ -20055,6 +21387,14 @@ export interface components {
20055
21387
  /** @description Import only: the note's id in the tool it comes from; sending it again returns the first copy. */
20056
21388
  external_id?: string;
20057
21389
  };
21390
+ Notice: {
21391
+ /** @description A stable code for the warning, such as not_supported_yet or file_unavailable. */
21392
+ code: string;
21393
+ /** @description The record field left out, such as custom_attributes. */
21394
+ field: string;
21395
+ /** @description What was left out and why, in words for a person. */
21396
+ message: string;
21397
+ };
20058
21398
  Notification: {
20059
21399
  /** @description Id of the AI action call the notification asks about (starts with aax_). Null when it is not about one. */
20060
21400
  action_call_id: string | null;
@@ -21760,12 +23100,22 @@ export interface components {
21760
23100
  /** @description The tried text as it would be stored, with every match replaced. */
21761
23101
  text: string;
21762
23102
  };
23103
+ Ref: {
23104
+ /** @description The kind of the record named, such as contact or teammate. */
23105
+ kind: string;
23106
+ /** @description The record's id in the other tool. */
23107
+ source_id: string;
23108
+ };
21763
23109
  Remover: {
21764
23110
  /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
21765
23111
  id: string;
21766
23112
  /** @description Name of the teammate who deleted the entry. */
21767
23113
  name: string;
21768
23114
  };
23115
+ ReorderConversationAttributesRequestBody: {
23116
+ /** @description Every attribute's id in the order to show them; those left out follow. */
23117
+ ids: string[] | null;
23118
+ };
21769
23119
  ReorderConversationViewsRequestBody: {
21770
23120
  /** @description Every shared view's id (cvw_...), in the new order. */
21771
23121
  order: string[] | null;
@@ -22118,6 +23468,9 @@ export interface components {
22118
23468
  ResourceArticleFeedback: {
22119
23469
  data: components["schemas"]["ArticleFeedback"];
22120
23470
  };
23471
+ ResourceArticleTranslation: {
23472
+ data: components["schemas"]["ArticleTranslation"];
23473
+ };
22121
23474
  ResourceAssignmentStatus: {
22122
23475
  data: components["schemas"]["AssignmentStatus"];
22123
23476
  };
@@ -22169,6 +23522,9 @@ export interface components {
22169
23522
  ResourceCollection: {
22170
23523
  data: components["schemas"]["Collection"];
22171
23524
  };
23525
+ ResourceCollectionTranslation: {
23526
+ data: components["schemas"]["CollectionTranslation"];
23527
+ };
22172
23528
  ResourceCompany: {
22173
23529
  data: components["schemas"]["Company"];
22174
23530
  };
@@ -22193,6 +23549,15 @@ export interface components {
22193
23549
  ResourceConversationAIAttributes: {
22194
23550
  data: components["schemas"]["ConversationAIAttributes"];
22195
23551
  };
23552
+ ResourceConversationAttribute: {
23553
+ data: components["schemas"]["ConversationAttribute"];
23554
+ };
23555
+ ResourceConversationAttributeUsage: {
23556
+ data: components["schemas"]["ConversationAttributeUsage"];
23557
+ };
23558
+ ResourceConversationAttributeValues: {
23559
+ data: components["schemas"]["ConversationAttributeValues"];
23560
+ };
22196
23561
  ResourceConversationContext: {
22197
23562
  data: components["schemas"]["ConversationContext"];
22198
23563
  };
@@ -22280,6 +23645,9 @@ export interface components {
22280
23645
  ResourceHelpCenterAnalytics: {
22281
23646
  data: components["schemas"]["HelpCenterAnalytics"];
22282
23647
  };
23648
+ ResourceHelpCenterTheme: {
23649
+ data: components["schemas"]["HelpCenterTheme"];
23650
+ };
22283
23651
  ResourceIdentitySecret: {
22284
23652
  data: components["schemas"]["IdentitySecret"];
22285
23653
  };
@@ -22418,6 +23786,12 @@ export interface components {
22418
23786
  ResourceMessengerAudiences: {
22419
23787
  data: components["schemas"]["MessengerAudiences"];
22420
23788
  };
23789
+ ResourceMigration: {
23790
+ data: components["schemas"]["Migration"];
23791
+ };
23792
+ ResourceMigrationBatch: {
23793
+ data: components["schemas"]["MigrationBatch"];
23794
+ };
22421
23795
  ResourceNotificationDestination: {
22422
23796
  data: components["schemas"]["NotificationDestination"];
22423
23797
  };
@@ -22595,6 +23969,9 @@ export interface components {
22595
23969
  ResourceTestConversations: {
22596
23970
  data: components["schemas"]["TestConversations"];
22597
23971
  };
23972
+ ResourceThemePreview: {
23973
+ data: components["schemas"]["ThemePreview"];
23974
+ };
22598
23975
  ResourceTicket: {
22599
23976
  data: components["schemas"]["Ticket"];
22600
23977
  };
@@ -22710,6 +24087,10 @@ export interface components {
22710
24087
  /** @description Id of the version (artv_...) to put back. Find it with GET /articles/{article}/versions. */
22711
24088
  version_id: string;
22712
24089
  };
24090
+ RestoreArticleTranslationRequestBody: {
24091
+ /** @description Id of one of this translation's versions (artv_...). */
24092
+ version_id: string;
24093
+ };
22713
24094
  RestoreProcedureVersionRequestBody: {
22714
24095
  /**
22715
24096
  * Format: int32
@@ -24613,6 +25994,12 @@ export interface components {
24613
25994
  /** @description The text of the note, at most 10000 characters. */
24614
25995
  body: string;
24615
25996
  };
25997
+ StoreContactCompanyRequestBody: {
25998
+ /** @description Id of the company (cmp_...) to add. */
25999
+ company_id: string;
26000
+ /** @description true also makes it the contact's default company. */
26001
+ default?: boolean;
26002
+ };
24616
26003
  StoreContactExportRequestBody: {
24617
26004
  /** @description true to add the team's internal notes, which stay out by default. */
24618
26005
  include_notes?: boolean;
@@ -24621,9 +26008,41 @@ export interface components {
24621
26008
  /** @description The text of the note, at most 10000 characters. */
24622
26009
  body: string;
24623
26010
  };
26011
+ StoreConversationAttributeRequestBody: {
26012
+ /**
26013
+ * @description text, long_text, number, decimal, choice, multiple_choice, boolean, date, datetime, file, contact or company.
26014
+ * @enum {string}
26015
+ */
26016
+ data_type: "text" | "long_text" | "number" | "decimal" | "choice" | "multiple_choice" | "boolean" | "date" | "datetime" | "file" | "contact" | "company";
26017
+ /** @description What it means, up to 500 characters. The AI reads it to decide the value, so say what to look for. */
26018
+ description?: string;
26019
+ /**
26020
+ * @description ai, teammates or both. The AI fills only text, numbers, yes or no, dates and lists.
26021
+ * @enum {string}
26022
+ */
26023
+ filled_by?: "ai" | "teammates" | "both";
26024
+ /** @description The attribute's key, lowercase letters, digits and underscores, such as issue_type. */
26025
+ key: string;
26026
+ /** @description What the team calls it, up to 80 characters, such as Issue type. */
26027
+ label: string;
26028
+ /** @description With choice or multiple_choice, what some options mean, by option, 300 characters each, such as {"Billing": "Charges, invoices and refunds"}. The AI reads them. */
26029
+ option_descriptions?: {
26030
+ [key: string]: string;
26031
+ };
26032
+ /** @description With choice or multiple_choice, the values it may take, at most 200. */
26033
+ options?: string[] | null;
26034
+ /** @description true to stop teammates closing a conversation while it is empty. */
26035
+ required_to_close?: boolean;
26036
+ /** @description The teams that see it in the inbox, every team when empty. */
26037
+ team_ids?: string[] | null;
26038
+ };
24624
26039
  StoreConversationRequestBody: {
24625
26040
  /** @description mem_..., me, or null for nobody. A teammate's conversation is theirs by default. */
24626
26041
  assignee_id?: string;
26042
+ /** @description Object of conversation attribute values to set, by key, such as {"issue_type": "Billing"}. Each must fit its attribute's type; GET /conversation-attributes lists the keys. An import sets even what only the AI fills. */
26043
+ attributes?: {
26044
+ [key: string]: unknown;
26045
+ };
24627
26046
  /**
24628
26047
  * @description member (default): you write first and the customer receives it. contact: you record what the customer wrote.
24629
26048
  * @enum {string}
@@ -24848,6 +26267,14 @@ export interface components {
24848
26267
  /** @description Never send this; a request that names a workspace is refused, since joining takes an invitation. */
24849
26268
  workspace_id?: unknown;
24850
26269
  };
26270
+ StoreMigrationRequestBody: {
26271
+ /** @description The name of the migration, at most 120 characters. */
26272
+ name?: string;
26273
+ /** @description Short lowercase name of the tool the history comes from, such as intercom. */
26274
+ source: string;
26275
+ /** @description Id of the account in that tool. Starting again for the same account resumes its migration. */
26276
+ source_account: string;
26277
+ };
24851
26278
  StoreNewArticleSuggestionRequestBody: {
24852
26279
  /** @description The whole article in Markdown, such as ## Before you start ... */
24853
26280
  article_body: string;
@@ -25317,7 +26744,7 @@ export interface components {
25317
26744
  name: string;
25318
26745
  /** @description A whole definition to start from, in the shape GET /workflows/{workflow} returns. */
25319
26746
  spec?: unknown;
25320
- /** @description conversation.opener, conversation.first_message, conversation.customer_reopened, message.customer, conversation.customer_quiet, conversation.rated, message.teammate, note.created, conversation.assignment_changed, conversation.status_changed, conversation.teammate_quiet, conversation.ai_attribute_changed, dimmi.handed_over, dimmi.resolved, agent.transferred, sla.warning, sla.breached, the ticket triggers or reusable (called from other workflows). */
26747
+ /** @description conversation.opener, conversation.first_message, conversation.customer_reopened, message.customer, conversation.customer_quiet, conversation.rated, message.teammate, note.created, conversation.assignment_changed, conversation.status_changed, conversation.teammate_quiet, conversation.attribute_changed, conversation.ai_attribute_changed, dimmi.handed_over, dimmi.resolved, agent.transferred, sla.warning, sla.breached, the ticket triggers or reusable (called from other workflows). */
25321
26748
  trigger?: string;
25322
26749
  };
25323
26750
  StoreWorkspaceRequestBody: {
@@ -25622,6 +27049,23 @@ export interface components {
25622
27049
  /** @description Event type to send a sample of, from GET /webhook-event-types; webhook.test when left out. */
25623
27050
  type?: string;
25624
27051
  };
27052
+ ThemePreview: {
27053
+ /** @description Where the page sends the reader instead, for a redirect. Left out otherwise. */
27054
+ location?: string;
27055
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
27056
+ object: string;
27057
+ /**
27058
+ * Format: int64
27059
+ * @description The HTTP status the page answers with, such as 200, 302 or 404.
27060
+ */
27061
+ status: number;
27062
+ /** @description The theme template the page renders, such as article. Left out for a redirect. */
27063
+ template?: string;
27064
+ /** @description The variables the template reads, by name. HTML and times are one-key objects, {"$html": ...} and {"$time": ...}. */
27065
+ variables?: {
27066
+ [key: string]: unknown;
27067
+ };
27068
+ };
25625
27069
  Ticket: {
25626
27070
  /** @description Id of the teammate who works the ticket, such as mem_...; null when nobody is assigned. */
25627
27071
  assignee_id: string | null;
@@ -26583,6 +28027,24 @@ export interface components {
26583
28027
  */
26584
28028
  occurred_at?: string;
26585
28029
  };
28030
+ TranslationState: {
28031
+ /** @description The id of the article, such as art_abc123. */
28032
+ article_id: string;
28033
+ /** @description The id of the article's collection. Null when it is in none. */
28034
+ collection_id: string | null;
28035
+ /** @description The language this row is about, as a code such as fr. */
28036
+ locale: string;
28037
+ /** @description The kind of record this is, the same for every record of its kind, such as article. */
28038
+ object: string;
28039
+ /** @description True when the translation is behind the source. */
28040
+ outdated: boolean;
28041
+ /** @description Where the article stands in that language: missing, draft or published. */
28042
+ state: string;
28043
+ /** @description The article's own status, such as published. */
28044
+ status: string;
28045
+ /** @description The article's title in the help center's default language. */
28046
+ title: string;
28047
+ };
26586
28048
  TryRedactionRequestBody: {
26587
28049
  /** @description The sample text, at most 65536 characters. */
26588
28050
  text: string;
@@ -26657,6 +28119,21 @@ export interface components {
26657
28119
  */
26658
28120
  visibility?: "public" | "agent_only";
26659
28121
  };
28122
+ UpdateArticleTranslationRequestBody: {
28123
+ /** @description The full translated article in Markdown, at most 256 KB; it replaces the old text. */
28124
+ body_markdown?: string;
28125
+ /** @description The translated summary shown under the title, at most 300 characters. */
28126
+ description?: string;
28127
+ /**
28128
+ * Format: int32
28129
+ * @description The lock_version the translation had when you read it; zero skips the check.
28130
+ */
28131
+ lock_version?: number;
28132
+ /** @description The translated address; made from the title when a translation starts without one. */
28133
+ slug?: string;
28134
+ /** @description The translated title, 1 to 150 characters. Needed to start a translation. */
28135
+ title?: string;
28136
+ };
26660
28137
  UpdateAttributeRequestBody: {
26661
28138
  /** @description Contacts only: true lets the messenger set it from the browser, so its values are claimed, not trusted. 20 attributes at most. */
26662
28139
  client_writable?: boolean;
@@ -26703,6 +28180,14 @@ export interface components {
26703
28180
  /** @description The title of the changelog entry, at most 150 characters. */
26704
28181
  title?: string;
26705
28182
  };
28183
+ UpdateCollectionTranslationRequestBody: {
28184
+ /** @description The translated description, at most 300 characters. */
28185
+ description?: string;
28186
+ /** @description The translated name, 1 to 80 characters. */
28187
+ name: string;
28188
+ /** @description The translated address; made from the name when left out. */
28189
+ slug?: string;
28190
+ };
26706
28191
  UpdateCompanyRequestBody: {
26707
28192
  /** @description Tag ids or names to add; a new name becomes a tag. 50 at most. */
26708
28193
  add_tags?: string[] | null;
@@ -26739,8 +28224,10 @@ export interface components {
26739
28224
  add_tags?: string[] | null;
26740
28225
  /** @description true blocks the contact, which also hides them from the list; false unblocks. */
26741
28226
  blocked?: boolean;
26742
- /** @description Id of the company (cmp_...) to link, or null to unlink. */
28227
+ /** @description Id of the company (cmp_...) to make the default, or null to unlink it. */
26743
28228
  company_id?: string;
28229
+ /** @description Ids of every company (cmp_...) the contact belongs to, replacing the list. 300 at most. */
28230
+ company_ids?: string[] | null;
26744
28231
  /** @description Values by key, merged into what the contact has. null removes a key. */
26745
28232
  custom_attributes?: {
26746
28233
  [key: string]: unknown;
@@ -26758,6 +28245,38 @@ export interface components {
26758
28245
  /** @description Ids of tags (tag_...) to remove. */
26759
28246
  remove_tags?: string[] | null;
26760
28247
  };
28248
+ UpdateConversationAttributeRequestBody: {
28249
+ /** @description What it means, up to 500 characters. The AI reads it to decide the value, so say what to look for. */
28250
+ description?: string;
28251
+ /**
28252
+ * @description ai, teammates or both. The AI fills only text, numbers, yes or no, dates and lists.
28253
+ * @enum {string}
28254
+ */
28255
+ filled_by?: "ai" | "teammates" | "both";
28256
+ /** @description What the team calls it, up to 80 characters, such as Issue type. */
28257
+ label?: string;
28258
+ /** @description With choice or multiple_choice, what some options mean, by option, 300 characters each, such as {"Billing": "Charges, invoices and refunds"}. The AI reads them. */
28259
+ option_descriptions?: {
28260
+ [key: string]: string;
28261
+ };
28262
+ /** @description With choice or multiple_choice, the values it may take, at most 200. */
28263
+ options?: string[];
28264
+ /** @description true to stop teammates closing a conversation while it is empty. */
28265
+ required_to_close?: boolean;
28266
+ /**
28267
+ * @description active to keep it, archived to stop filling it.
28268
+ * @enum {string}
28269
+ */
28270
+ status?: "active" | "archived";
28271
+ /** @description The teams that see it in the inbox, every team when empty. */
28272
+ team_ids?: string[];
28273
+ };
28274
+ UpdateConversationAttributeValuesRequestBody: {
28275
+ /** @description The values to set, by key, such as {"issue_type": "Billing"}; null clears one. Each must fit its attribute's type. */
28276
+ values: {
28277
+ [key: string]: unknown;
28278
+ };
28279
+ };
26761
28280
  UpdateConversationRatingSettingsRequestBody: {
26762
28281
  /**
26763
28282
  * Format: int64
@@ -26781,6 +28300,8 @@ export interface components {
26781
28300
  ai_enabled?: boolean;
26782
28301
  /** @description Who the conversation, or each one in a bulk change, goes to: a teammate's id starting with mem_, such as mem_01jx2m8k4t (find it with GET /members), me for yourself, or null to hand it to nobody. */
26783
28302
  assignee_id?: string;
28303
+ /** @description Id of the company (cmp_...) the conversation is about, one of its contact's companies. New conversations take the contact's default. */
28304
+ company_id?: string;
26784
28305
  /** @description Id of the inbox to move the conversation, or each one in a bulk change, to, starting with inbox_, such as inbox_01jx2m8k4t. Find it with GET /inboxes. */
26785
28306
  inbox_id?: string;
26786
28307
  /** @description Only with status closed: a note for the team kept with the closing, 1 to 65536 characters, such as Refund sent, nothing more to do. */
@@ -26947,10 +28468,14 @@ export interface components {
26947
28468
  UpdateHelpCenterRequestBody: {
26948
28469
  /** @description Whether readers of the help center may ask a question and get an answer from its articles (the Ask AI feature). Example: true. */
26949
28470
  ask_ai_enabled?: boolean;
28471
+ /** @description The language articles are written in, as a code such as en; it must be one of locales. A language with translations cannot become the default. */
28472
+ default_locale?: string;
26950
28473
  /** @description Whether search engines such as Google may index the help center's articles. false marks the site as not to be indexed. Example: true. */
26951
28474
  indexing_enabled?: boolean;
26952
28475
  /** @description A language code, such as en or pt-BR. */
26953
28476
  locale?: string;
28477
+ /** @description Every language the help center is read in, as codes such as ["en", "fr"], at most 30; the default is always kept. Readers of another language read it under /<code>/. */
28478
+ locales?: string[];
26954
28479
  /** @description The name of the help center, at most 80 characters. */
26955
28480
  name?: string;
26956
28481
  settings?: components["schemas"]["HelpCenterSettingsBody"];
@@ -26962,6 +28487,12 @@ export interface components {
26962
28487
  /** @description 3 to 40 lowercase letters, digits and dashes, unique across the install. Changing it moves the public address. */
26963
28488
  subdomain?: string;
26964
28489
  };
28490
+ UpdateHelpCenterThemeRequestBody: {
28491
+ /** @description Values to change, by setting id. */
28492
+ settings: {
28493
+ [key: string]: unknown;
28494
+ };
28495
+ };
26965
28496
  UpdateIdentitySecretBody: {
26966
28497
  /** @description The name of the identity secret, at most 60 characters. */
26967
28498
  name?: string;
@@ -27062,6 +28593,10 @@ export interface components {
27062
28593
  /** @description Embedding model id on that key. */
27063
28594
  model?: string;
27064
28595
  };
28596
+ UpdateLiveThemeRequestBody: {
28597
+ /** @description The theme version to wear, null for the default theme. */
28598
+ theme_id: string | null;
28599
+ };
27065
28600
  UpdateMemberBody: {
27066
28601
  /** @description Ids of the teams the conversation_access setting refers to, as a list, each starting with team_, such as ["team_01jx2m8k4t"]. Find them with GET /teams. */
27067
28602
  access_team_ids?: string[];
@@ -27364,6 +28899,8 @@ export interface components {
27364
28899
  accept_suggestions?: string[] | null;
27365
28900
  /** @description Id of the teammate (workspace member), starting with mem_, such as mem_01jx2m8k4t. Find it with GET /members. */
27366
28901
  assignee_id?: string;
28902
+ /** @description Id of the company, starting with cmp_, such as cmp_01jx2m8k4t. Find it with GET /companies. */
28903
+ company_id?: string;
27367
28904
  /** @description The description of the ticket, at most 20000 characters. */
27368
28905
  description?: string;
27369
28906
  /** @description A JSON object of field values to change, keyed by the field keys of the ticket's type; other fields stay. A null removes a value. Dates are "YYYY-MM-DD", choices must be among the field's options, such as {"order_number": "A-1042", "reason": null}. */
@@ -27479,6 +29016,10 @@ export interface components {
27479
29016
  };
27480
29017
  UpsertContactBody: {
27481
29018
  company?: components["schemas"]["CompanyBody"];
29019
+ /** @description Id of the company, starting with cmp_, such as cmp_01jx2m8k4t. Find it with GET /companies. */
29020
+ company_id?: string;
29021
+ /** @description Ids of companys, as a list, such as ["cmp_01jx2m8k4t"]. Find them with GET /companies. */
29022
+ company_ids?: string[] | null;
27482
29023
  /** @description An object of custom attribute values by key. Keys and types follow GET /attribute-definitions; a value of the wrong type is dropped and listed by GET /attribute-problems. */
27483
29024
  custom_attributes?: {
27484
29025
  [key: string]: unknown;
@@ -28838,6 +30379,8 @@ export interface components {
28838
30379
  assign_on_reply: string;
28839
30380
  /** @description What the member shows teammates and customers: online or away. */
28840
30381
  availability: string;
30382
+ /** @description True when the member was brought over from another tool and waits for an admin to enable them. Set status to active to enable them. */
30383
+ awaiting_enable: boolean;
28841
30384
  /** @description True when customers' answers go back to the pool while the member is away. */
28842
30385
  away_reassign: boolean;
28843
30386
  /**
@@ -28869,8 +30412,17 @@ export interface components {
28869
30412
  * @description When the member was deactivated. Null while they are active.
28870
30413
  */
28871
30414
  deactivated_at: string | null;
30415
+ /**
30416
+ * Format: date-time
30417
+ * @description When enabling mailed the member an invitation, because they had not signed up yet. Null before that.
30418
+ */
30419
+ enable_invited_at: string | null;
30420
+ /** @description Ids of the teams enabling puts the member in, each starting with team_. Empty for anyone not waiting to be enabled. */
30421
+ enable_team_ids: string[] | null;
28872
30422
  /** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
28873
30423
  id: string;
30424
+ /** @description The tool the member was brought over from, such as intercom. Null for anyone else. */
30425
+ imported_from: string | null;
28874
30426
  /** @description How the member arrived in the workspace, such as created, cli or an invitation. Null when not recorded. */
28875
30427
  joined_via: string | null;
28876
30428
  /**
@@ -30891,7 +32443,7 @@ export interface operations {
30891
32443
  };
30892
32444
  };
30893
32445
  };
30894
- "articles.versions.index": {
32446
+ "articles.translations.index": {
30895
32447
  parameters: {
30896
32448
  query?: never;
30897
32449
  header?: never;
@@ -30909,7 +32461,7 @@ export interface operations {
30909
32461
  [name: string]: unknown;
30910
32462
  };
30911
32463
  content: {
30912
- "application/json": components["schemas"]["CollectionArticleVersion"];
32464
+ "application/json": components["schemas"]["CollectionArticleTranslation"];
30913
32465
  };
30914
32466
  };
30915
32467
  /** @description Error */
@@ -30923,14 +32475,16 @@ export interface operations {
30923
32475
  };
30924
32476
  };
30925
32477
  };
30926
- "attribute-definitions.index": {
32478
+ "articles.translations.show": {
30927
32479
  parameters: {
30928
- query?: {
30929
- /** @description contact or company; leave out for both. */
30930
- "filter[object]"?: "contact" | "company" | "";
30931
- };
32480
+ query?: never;
30932
32481
  header?: never;
30933
- path?: never;
32482
+ path: {
32483
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32484
+ article: string;
32485
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
32486
+ locale: string;
32487
+ };
30934
32488
  cookie?: never;
30935
32489
  };
30936
32490
  requestBody?: never;
@@ -30941,7 +32495,7 @@ export interface operations {
30941
32495
  [name: string]: unknown;
30942
32496
  };
30943
32497
  content: {
30944
- "application/json": components["schemas"]["CollectionAttribute"];
32498
+ "application/json": components["schemas"]["ResourceArticleTranslation"];
30945
32499
  };
30946
32500
  };
30947
32501
  /** @description Error */
@@ -30955,46 +32509,354 @@ export interface operations {
30955
32509
  };
30956
32510
  };
30957
32511
  };
30958
- "attribute-definitions.store": {
30959
- parameters: {
30960
- query?: never;
30961
- header?: never;
30962
- path?: never;
30963
- cookie?: never;
30964
- };
30965
- requestBody: {
30966
- content: {
30967
- "application/json": components["schemas"]["StoreAttributeRequestBody"];
30968
- };
30969
- };
30970
- responses: {
30971
- /** @description Created */
30972
- 201: {
30973
- headers: {
30974
- [name: string]: unknown;
30975
- };
30976
- content: {
30977
- "application/json": components["schemas"]["ResourceAttribute"];
30978
- };
30979
- };
30980
- /** @description Error */
30981
- default: {
30982
- headers: {
30983
- [name: string]: unknown;
30984
- };
30985
- content: {
30986
- "application/json": components["schemas"]["ResponseError"];
30987
- };
30988
- };
30989
- };
30990
- };
30991
- "attribute-definitions.destroy": {
32512
+ "articles.translations.destroy": {
30992
32513
  parameters: {
30993
32514
  query?: never;
30994
32515
  header?: never;
30995
32516
  path: {
30996
- /** @description Id of the custom attribute, starting with atd_, such as atd_01jx2m8k4t. Find it with GET /attribute-definitions. */
30997
- attribute: string;
32517
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32518
+ article: string;
32519
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
32520
+ locale: string;
32521
+ };
32522
+ cookie?: never;
32523
+ };
32524
+ requestBody?: never;
32525
+ responses: {
32526
+ /** @description No Content */
32527
+ 204: {
32528
+ headers: {
32529
+ [name: string]: unknown;
32530
+ };
32531
+ content?: never;
32532
+ };
32533
+ /** @description Error */
32534
+ default: {
32535
+ headers: {
32536
+ [name: string]: unknown;
32537
+ };
32538
+ content: {
32539
+ "application/json": components["schemas"]["ResponseError"];
32540
+ };
32541
+ };
32542
+ };
32543
+ };
32544
+ "articles.translations.update": {
32545
+ parameters: {
32546
+ query?: never;
32547
+ header?: never;
32548
+ path: {
32549
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32550
+ article: string;
32551
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
32552
+ locale: string;
32553
+ };
32554
+ cookie?: never;
32555
+ };
32556
+ requestBody: {
32557
+ content: {
32558
+ "application/json": components["schemas"]["UpdateArticleTranslationRequestBody"];
32559
+ };
32560
+ };
32561
+ responses: {
32562
+ /** @description OK */
32563
+ 200: {
32564
+ headers: {
32565
+ [name: string]: unknown;
32566
+ };
32567
+ content: {
32568
+ "application/json": components["schemas"]["ResourceArticleTranslation"];
32569
+ };
32570
+ };
32571
+ /** @description Error */
32572
+ default: {
32573
+ headers: {
32574
+ [name: string]: unknown;
32575
+ };
32576
+ content: {
32577
+ "application/json": components["schemas"]["ResponseError"];
32578
+ };
32579
+ };
32580
+ };
32581
+ };
32582
+ "articles.translations.publications.store": {
32583
+ parameters: {
32584
+ query?: never;
32585
+ header?: never;
32586
+ path: {
32587
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32588
+ article: string;
32589
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
32590
+ locale: string;
32591
+ };
32592
+ cookie?: never;
32593
+ };
32594
+ requestBody?: never;
32595
+ responses: {
32596
+ /** @description OK */
32597
+ 200: {
32598
+ headers: {
32599
+ [name: string]: unknown;
32600
+ };
32601
+ content: {
32602
+ "application/json": components["schemas"]["ResourceArticleTranslation"];
32603
+ };
32604
+ };
32605
+ /** @description Error */
32606
+ default: {
32607
+ headers: {
32608
+ [name: string]: unknown;
32609
+ };
32610
+ content: {
32611
+ "application/json": components["schemas"]["ResponseError"];
32612
+ };
32613
+ };
32614
+ };
32615
+ };
32616
+ "articles.translations.publications.destroy": {
32617
+ parameters: {
32618
+ query?: never;
32619
+ header?: never;
32620
+ path: {
32621
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32622
+ article: string;
32623
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
32624
+ locale: string;
32625
+ };
32626
+ cookie?: never;
32627
+ };
32628
+ requestBody?: never;
32629
+ responses: {
32630
+ /** @description OK */
32631
+ 200: {
32632
+ headers: {
32633
+ [name: string]: unknown;
32634
+ };
32635
+ content: {
32636
+ "application/json": components["schemas"]["ResourceArticleTranslation"];
32637
+ };
32638
+ };
32639
+ /** @description Error */
32640
+ default: {
32641
+ headers: {
32642
+ [name: string]: unknown;
32643
+ };
32644
+ content: {
32645
+ "application/json": components["schemas"]["ResponseError"];
32646
+ };
32647
+ };
32648
+ };
32649
+ };
32650
+ "articles.translations.restorations.store": {
32651
+ parameters: {
32652
+ query?: never;
32653
+ header?: never;
32654
+ path: {
32655
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32656
+ article: string;
32657
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
32658
+ locale: string;
32659
+ };
32660
+ cookie?: never;
32661
+ };
32662
+ requestBody: {
32663
+ content: {
32664
+ "application/json": components["schemas"]["RestoreArticleTranslationRequestBody"];
32665
+ };
32666
+ };
32667
+ responses: {
32668
+ /** @description OK */
32669
+ 200: {
32670
+ headers: {
32671
+ [name: string]: unknown;
32672
+ };
32673
+ content: {
32674
+ "application/json": components["schemas"]["ResourceArticleTranslation"];
32675
+ };
32676
+ };
32677
+ /** @description Error */
32678
+ default: {
32679
+ headers: {
32680
+ [name: string]: unknown;
32681
+ };
32682
+ content: {
32683
+ "application/json": components["schemas"]["ResponseError"];
32684
+ };
32685
+ };
32686
+ };
32687
+ };
32688
+ "articles.translations.reviews.store": {
32689
+ parameters: {
32690
+ query?: never;
32691
+ header?: never;
32692
+ path: {
32693
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32694
+ article: string;
32695
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
32696
+ locale: string;
32697
+ };
32698
+ cookie?: never;
32699
+ };
32700
+ requestBody?: never;
32701
+ responses: {
32702
+ /** @description OK */
32703
+ 200: {
32704
+ headers: {
32705
+ [name: string]: unknown;
32706
+ };
32707
+ content: {
32708
+ "application/json": components["schemas"]["ResourceArticleTranslation"];
32709
+ };
32710
+ };
32711
+ /** @description Error */
32712
+ default: {
32713
+ headers: {
32714
+ [name: string]: unknown;
32715
+ };
32716
+ content: {
32717
+ "application/json": components["schemas"]["ResponseError"];
32718
+ };
32719
+ };
32720
+ };
32721
+ };
32722
+ "articles.translations.versions.index": {
32723
+ parameters: {
32724
+ query?: never;
32725
+ header?: never;
32726
+ path: {
32727
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32728
+ article: string;
32729
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
32730
+ locale: string;
32731
+ };
32732
+ cookie?: never;
32733
+ };
32734
+ requestBody?: never;
32735
+ responses: {
32736
+ /** @description OK */
32737
+ 200: {
32738
+ headers: {
32739
+ [name: string]: unknown;
32740
+ };
32741
+ content: {
32742
+ "application/json": components["schemas"]["CollectionArticleVersion"];
32743
+ };
32744
+ };
32745
+ /** @description Error */
32746
+ default: {
32747
+ headers: {
32748
+ [name: string]: unknown;
32749
+ };
32750
+ content: {
32751
+ "application/json": components["schemas"]["ResponseError"];
32752
+ };
32753
+ };
32754
+ };
32755
+ };
32756
+ "articles.versions.index": {
32757
+ parameters: {
32758
+ query?: never;
32759
+ header?: never;
32760
+ path: {
32761
+ /** @description Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles. */
32762
+ article: string;
32763
+ };
32764
+ cookie?: never;
32765
+ };
32766
+ requestBody?: never;
32767
+ responses: {
32768
+ /** @description OK */
32769
+ 200: {
32770
+ headers: {
32771
+ [name: string]: unknown;
32772
+ };
32773
+ content: {
32774
+ "application/json": components["schemas"]["CollectionArticleVersion"];
32775
+ };
32776
+ };
32777
+ /** @description Error */
32778
+ default: {
32779
+ headers: {
32780
+ [name: string]: unknown;
32781
+ };
32782
+ content: {
32783
+ "application/json": components["schemas"]["ResponseError"];
32784
+ };
32785
+ };
32786
+ };
32787
+ };
32788
+ "attribute-definitions.index": {
32789
+ parameters: {
32790
+ query?: {
32791
+ /** @description contact or company; leave out for both. */
32792
+ "filter[object]"?: "contact" | "company" | "";
32793
+ };
32794
+ header?: never;
32795
+ path?: never;
32796
+ cookie?: never;
32797
+ };
32798
+ requestBody?: never;
32799
+ responses: {
32800
+ /** @description OK */
32801
+ 200: {
32802
+ headers: {
32803
+ [name: string]: unknown;
32804
+ };
32805
+ content: {
32806
+ "application/json": components["schemas"]["CollectionAttribute"];
32807
+ };
32808
+ };
32809
+ /** @description Error */
32810
+ default: {
32811
+ headers: {
32812
+ [name: string]: unknown;
32813
+ };
32814
+ content: {
32815
+ "application/json": components["schemas"]["ResponseError"];
32816
+ };
32817
+ };
32818
+ };
32819
+ };
32820
+ "attribute-definitions.store": {
32821
+ parameters: {
32822
+ query?: never;
32823
+ header?: never;
32824
+ path?: never;
32825
+ cookie?: never;
32826
+ };
32827
+ requestBody: {
32828
+ content: {
32829
+ "application/json": components["schemas"]["StoreAttributeRequestBody"];
32830
+ };
32831
+ };
32832
+ responses: {
32833
+ /** @description Created */
32834
+ 201: {
32835
+ headers: {
32836
+ [name: string]: unknown;
32837
+ };
32838
+ content: {
32839
+ "application/json": components["schemas"]["ResourceAttribute"];
32840
+ };
32841
+ };
32842
+ /** @description Error */
32843
+ default: {
32844
+ headers: {
32845
+ [name: string]: unknown;
32846
+ };
32847
+ content: {
32848
+ "application/json": components["schemas"]["ResponseError"];
32849
+ };
32850
+ };
32851
+ };
32852
+ };
32853
+ "attribute-definitions.destroy": {
32854
+ parameters: {
32855
+ query?: never;
32856
+ header?: never;
32857
+ path: {
32858
+ /** @description Id of the custom attribute, starting with atd_, such as atd_01jx2m8k4t. Find it with GET /attribute-definitions. */
32859
+ attribute: string;
30998
32860
  };
30999
32861
  cookie?: never;
31000
32862
  };
@@ -33509,6 +35371,108 @@ export interface operations {
33509
35371
  };
33510
35372
  };
33511
35373
  };
35374
+ "collections.translations.index": {
35375
+ parameters: {
35376
+ query?: never;
35377
+ header?: never;
35378
+ path: {
35379
+ /** @description Id of the help center collection, starting with col_, such as col_01jx2m8k4t. Find it with GET /help-centers/{help_center}/collections. */
35380
+ collection: string;
35381
+ };
35382
+ cookie?: never;
35383
+ };
35384
+ requestBody?: never;
35385
+ responses: {
35386
+ /** @description OK */
35387
+ 200: {
35388
+ headers: {
35389
+ [name: string]: unknown;
35390
+ };
35391
+ content: {
35392
+ "application/json": components["schemas"]["CollectionCollectionTranslation"];
35393
+ };
35394
+ };
35395
+ /** @description Error */
35396
+ default: {
35397
+ headers: {
35398
+ [name: string]: unknown;
35399
+ };
35400
+ content: {
35401
+ "application/json": components["schemas"]["ResponseError"];
35402
+ };
35403
+ };
35404
+ };
35405
+ };
35406
+ "collections.translations.destroy": {
35407
+ parameters: {
35408
+ query?: never;
35409
+ header?: never;
35410
+ path: {
35411
+ /** @description Id of the help center collection, starting with col_, such as col_01jx2m8k4t. Find it with GET /help-centers/{help_center}/collections. */
35412
+ collection: string;
35413
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
35414
+ locale: string;
35415
+ };
35416
+ cookie?: never;
35417
+ };
35418
+ requestBody?: never;
35419
+ responses: {
35420
+ /** @description No Content */
35421
+ 204: {
35422
+ headers: {
35423
+ [name: string]: unknown;
35424
+ };
35425
+ content?: never;
35426
+ };
35427
+ /** @description Error */
35428
+ default: {
35429
+ headers: {
35430
+ [name: string]: unknown;
35431
+ };
35432
+ content: {
35433
+ "application/json": components["schemas"]["ResponseError"];
35434
+ };
35435
+ };
35436
+ };
35437
+ };
35438
+ "collections.translations.update": {
35439
+ parameters: {
35440
+ query?: never;
35441
+ header?: never;
35442
+ path: {
35443
+ /** @description Id of the help center collection, starting with col_, such as col_01jx2m8k4t. Find it with GET /help-centers/{help_center}/collections. */
35444
+ collection: string;
35445
+ /** @description A language the help center offers besides its default, as a code such as fr or pt-BR. */
35446
+ locale: string;
35447
+ };
35448
+ cookie?: never;
35449
+ };
35450
+ requestBody: {
35451
+ content: {
35452
+ "application/json": components["schemas"]["UpdateCollectionTranslationRequestBody"];
35453
+ };
35454
+ };
35455
+ responses: {
35456
+ /** @description OK */
35457
+ 200: {
35458
+ headers: {
35459
+ [name: string]: unknown;
35460
+ };
35461
+ content: {
35462
+ "application/json": components["schemas"]["ResourceCollectionTranslation"];
35463
+ };
35464
+ };
35465
+ /** @description Error */
35466
+ default: {
35467
+ headers: {
35468
+ [name: string]: unknown;
35469
+ };
35470
+ content: {
35471
+ "application/json": components["schemas"]["ResponseError"];
35472
+ };
35473
+ };
35474
+ };
35475
+ };
33512
35476
  "companies.index": {
33513
35477
  parameters: {
33514
35478
  query?: {
@@ -34318,281 +36282,7 @@ export interface operations {
34318
36282
  };
34319
36283
  };
34320
36284
  };
34321
- "contacts.conversations.index": {
34322
- parameters: {
34323
- query?: {
34324
- /** @description Leave out for the first page. To read the next page, pass the next_cursor the previous page returned. */
34325
- cursor?: string;
34326
- /** @description How many items to return in one page, such as 25. */
34327
- limit?: string;
34328
- /** @description Words to search for, such as refund. */
34329
- q?: string;
34330
- };
34331
- header?: never;
34332
- path: {
34333
- /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
34334
- contact: string;
34335
- };
34336
- cookie?: never;
34337
- };
34338
- requestBody?: never;
34339
- responses: {
34340
- /** @description OK */
34341
- 200: {
34342
- headers: {
34343
- [name: string]: unknown;
34344
- };
34345
- content: {
34346
- "application/json": components["schemas"]["CollectionConversation"];
34347
- };
34348
- };
34349
- /** @description Error */
34350
- default: {
34351
- headers: {
34352
- [name: string]: unknown;
34353
- };
34354
- content: {
34355
- "application/json": components["schemas"]["ResponseError"];
34356
- };
34357
- };
34358
- };
34359
- };
34360
- "contacts.duplicates.index": {
34361
- parameters: {
34362
- query?: never;
34363
- header?: never;
34364
- path: {
34365
- /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
34366
- contact: string;
34367
- };
34368
- cookie?: never;
34369
- };
34370
- requestBody?: never;
34371
- responses: {
34372
- /** @description OK */
34373
- 200: {
34374
- headers: {
34375
- [name: string]: unknown;
34376
- };
34377
- content: {
34378
- "application/json": components["schemas"]["CollectionContactDuplicate"];
34379
- };
34380
- };
34381
- /** @description Error */
34382
- default: {
34383
- headers: {
34384
- [name: string]: unknown;
34385
- };
34386
- content: {
34387
- "application/json": components["schemas"]["ResponseError"];
34388
- };
34389
- };
34390
- };
34391
- };
34392
- "contacts.event-summaries.index": {
34393
- parameters: {
34394
- query?: never;
34395
- header?: never;
34396
- path: {
34397
- /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
34398
- contact: string;
34399
- };
34400
- cookie?: never;
34401
- };
34402
- requestBody?: never;
34403
- responses: {
34404
- /** @description OK */
34405
- 200: {
34406
- headers: {
34407
- [name: string]: unknown;
34408
- };
34409
- content: {
34410
- "application/json": components["schemas"]["CollectionEventSummary"];
34411
- };
34412
- };
34413
- /** @description Error */
34414
- default: {
34415
- headers: {
34416
- [name: string]: unknown;
34417
- };
34418
- content: {
34419
- "application/json": components["schemas"]["ResponseError"];
34420
- };
34421
- };
34422
- };
34423
- };
34424
- "contacts.exports.store": {
34425
- parameters: {
34426
- query?: never;
34427
- header?: never;
34428
- path: {
34429
- /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
34430
- contact: string;
34431
- };
34432
- cookie?: never;
34433
- };
34434
- requestBody?: {
34435
- content: {
34436
- "application/json": components["schemas"]["StoreContactExportRequestBody"];
34437
- };
34438
- };
34439
- responses: {
34440
- /** @description Accepted */
34441
- 202: {
34442
- headers: {
34443
- [name: string]: unknown;
34444
- };
34445
- content: {
34446
- "application/json": components["schemas"]["ResourceContactExport"];
34447
- };
34448
- };
34449
- /** @description Error */
34450
- default: {
34451
- headers: {
34452
- [name: string]: unknown;
34453
- };
34454
- content: {
34455
- "application/json": components["schemas"]["ResponseError"];
34456
- };
34457
- };
34458
- };
34459
- };
34460
- "contacts.exports.show": {
34461
- parameters: {
34462
- query?: never;
34463
- header?: never;
34464
- path: {
34465
- /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
34466
- contact: string;
34467
- /** @description Id of the customer's export, from POST /contacts/{contact}/exports. */
34468
- export: string;
34469
- };
34470
- cookie?: never;
34471
- };
34472
- requestBody?: never;
34473
- responses: {
34474
- /** @description OK */
34475
- 200: {
34476
- headers: {
34477
- [name: string]: unknown;
34478
- };
34479
- content: {
34480
- "application/json": components["schemas"]["ResourceContactExport"];
34481
- };
34482
- };
34483
- /** @description Error */
34484
- default: {
34485
- headers: {
34486
- [name: string]: unknown;
34487
- };
34488
- content: {
34489
- "application/json": components["schemas"]["ResponseError"];
34490
- };
34491
- };
34492
- };
34493
- };
34494
- "contacts.exports.download": {
34495
- parameters: {
34496
- query?: never;
34497
- header?: never;
34498
- path: {
34499
- /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
34500
- contact: string;
34501
- /** @description Id of the customer's export, from POST /contacts/{contact}/exports. */
34502
- export: string;
34503
- };
34504
- cookie?: never;
34505
- };
34506
- requestBody?: never;
34507
- responses: {
34508
- /** @description OK */
34509
- 200: {
34510
- headers: {
34511
- "Cache-Control"?: string;
34512
- "Content-Disposition"?: string;
34513
- "Content-Type"?: string;
34514
- [name: string]: unknown;
34515
- };
34516
- content: {
34517
- "application/json": string;
34518
- };
34519
- };
34520
- /** @description Error */
34521
- default: {
34522
- headers: {
34523
- [name: string]: unknown;
34524
- };
34525
- content: {
34526
- "application/json": components["schemas"]["ResponseError"];
34527
- };
34528
- };
34529
- };
34530
- };
34531
- "contacts.identities.index": {
34532
- parameters: {
34533
- query?: never;
34534
- header?: never;
34535
- path: {
34536
- /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
34537
- contact: string;
34538
- };
34539
- cookie?: never;
34540
- };
34541
- requestBody?: never;
34542
- responses: {
34543
- /** @description OK */
34544
- 200: {
34545
- headers: {
34546
- [name: string]: unknown;
34547
- };
34548
- content: {
34549
- "application/json": components["schemas"]["CollectionContactIdentity"];
34550
- };
34551
- };
34552
- /** @description Error */
34553
- default: {
34554
- headers: {
34555
- [name: string]: unknown;
34556
- };
34557
- content: {
34558
- "application/json": components["schemas"]["ResponseError"];
34559
- };
34560
- };
34561
- };
34562
- };
34563
- "contacts.identities.destroy": {
34564
- parameters: {
34565
- query?: never;
34566
- header?: never;
34567
- path: {
34568
- /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
34569
- contact: string;
34570
- /** @description Id of the identity, from GET /contacts/{contact}/identities. */
34571
- identity: string;
34572
- };
34573
- cookie?: never;
34574
- };
34575
- requestBody?: never;
34576
- responses: {
34577
- /** @description No Content */
34578
- 204: {
34579
- headers: {
34580
- [name: string]: unknown;
34581
- };
34582
- content?: never;
34583
- };
34584
- /** @description Error */
34585
- default: {
34586
- headers: {
34587
- [name: string]: unknown;
34588
- };
34589
- content: {
34590
- "application/json": components["schemas"]["ResponseError"];
34591
- };
34592
- };
34593
- };
34594
- };
34595
- "contacts.merges.store": {
36285
+ "contacts.companies.store": {
34596
36286
  parameters: {
34597
36287
  query?: never;
34598
36288
  header?: never;
@@ -34604,7 +36294,385 @@ export interface operations {
34604
36294
  };
34605
36295
  requestBody: {
34606
36296
  content: {
34607
- "application/json": components["schemas"]["MergeContactRequestBody"];
36297
+ "application/json": components["schemas"]["StoreContactCompanyRequestBody"];
36298
+ };
36299
+ };
36300
+ responses: {
36301
+ /** @description OK */
36302
+ 200: {
36303
+ headers: {
36304
+ [name: string]: unknown;
36305
+ };
36306
+ content: {
36307
+ "application/json": components["schemas"]["ResourceContact"];
36308
+ };
36309
+ };
36310
+ /** @description Error */
36311
+ default: {
36312
+ headers: {
36313
+ [name: string]: unknown;
36314
+ };
36315
+ content: {
36316
+ "application/json": components["schemas"]["ResponseError"];
36317
+ };
36318
+ };
36319
+ };
36320
+ };
36321
+ "contacts.companies.destroy": {
36322
+ parameters: {
36323
+ query?: never;
36324
+ header?: never;
36325
+ path: {
36326
+ /** @description Id of the company (cmp_...) to remove. */
36327
+ company: string;
36328
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36329
+ contact: string;
36330
+ };
36331
+ cookie?: never;
36332
+ };
36333
+ requestBody?: never;
36334
+ responses: {
36335
+ /** @description OK */
36336
+ 200: {
36337
+ headers: {
36338
+ [name: string]: unknown;
36339
+ };
36340
+ content: {
36341
+ "application/json": components["schemas"]["ResourceContact"];
36342
+ };
36343
+ };
36344
+ /** @description Error */
36345
+ default: {
36346
+ headers: {
36347
+ [name: string]: unknown;
36348
+ };
36349
+ content: {
36350
+ "application/json": components["schemas"]["ResponseError"];
36351
+ };
36352
+ };
36353
+ };
36354
+ };
36355
+ "contacts.companies.default.store": {
36356
+ parameters: {
36357
+ query?: never;
36358
+ header?: never;
36359
+ path: {
36360
+ /** @description Id of a company (cmp_...) the contact already belongs to. */
36361
+ company: string;
36362
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36363
+ contact: string;
36364
+ };
36365
+ cookie?: never;
36366
+ };
36367
+ requestBody?: never;
36368
+ responses: {
36369
+ /** @description OK */
36370
+ 200: {
36371
+ headers: {
36372
+ [name: string]: unknown;
36373
+ };
36374
+ content: {
36375
+ "application/json": components["schemas"]["ResourceContact"];
36376
+ };
36377
+ };
36378
+ /** @description Error */
36379
+ default: {
36380
+ headers: {
36381
+ [name: string]: unknown;
36382
+ };
36383
+ content: {
36384
+ "application/json": components["schemas"]["ResponseError"];
36385
+ };
36386
+ };
36387
+ };
36388
+ };
36389
+ "contacts.conversations.index": {
36390
+ parameters: {
36391
+ query?: {
36392
+ /** @description Leave out for the first page. To read the next page, pass the next_cursor the previous page returned. */
36393
+ cursor?: string;
36394
+ /** @description How many items to return in one page, such as 25. */
36395
+ limit?: string;
36396
+ /** @description Words to search for, such as refund. */
36397
+ q?: string;
36398
+ };
36399
+ header?: never;
36400
+ path: {
36401
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36402
+ contact: string;
36403
+ };
36404
+ cookie?: never;
36405
+ };
36406
+ requestBody?: never;
36407
+ responses: {
36408
+ /** @description OK */
36409
+ 200: {
36410
+ headers: {
36411
+ [name: string]: unknown;
36412
+ };
36413
+ content: {
36414
+ "application/json": components["schemas"]["CollectionConversation"];
36415
+ };
36416
+ };
36417
+ /** @description Error */
36418
+ default: {
36419
+ headers: {
36420
+ [name: string]: unknown;
36421
+ };
36422
+ content: {
36423
+ "application/json": components["schemas"]["ResponseError"];
36424
+ };
36425
+ };
36426
+ };
36427
+ };
36428
+ "contacts.duplicates.index": {
36429
+ parameters: {
36430
+ query?: never;
36431
+ header?: never;
36432
+ path: {
36433
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36434
+ contact: string;
36435
+ };
36436
+ cookie?: never;
36437
+ };
36438
+ requestBody?: never;
36439
+ responses: {
36440
+ /** @description OK */
36441
+ 200: {
36442
+ headers: {
36443
+ [name: string]: unknown;
36444
+ };
36445
+ content: {
36446
+ "application/json": components["schemas"]["CollectionContactDuplicate"];
36447
+ };
36448
+ };
36449
+ /** @description Error */
36450
+ default: {
36451
+ headers: {
36452
+ [name: string]: unknown;
36453
+ };
36454
+ content: {
36455
+ "application/json": components["schemas"]["ResponseError"];
36456
+ };
36457
+ };
36458
+ };
36459
+ };
36460
+ "contacts.event-summaries.index": {
36461
+ parameters: {
36462
+ query?: never;
36463
+ header?: never;
36464
+ path: {
36465
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36466
+ contact: string;
36467
+ };
36468
+ cookie?: never;
36469
+ };
36470
+ requestBody?: never;
36471
+ responses: {
36472
+ /** @description OK */
36473
+ 200: {
36474
+ headers: {
36475
+ [name: string]: unknown;
36476
+ };
36477
+ content: {
36478
+ "application/json": components["schemas"]["CollectionEventSummary"];
36479
+ };
36480
+ };
36481
+ /** @description Error */
36482
+ default: {
36483
+ headers: {
36484
+ [name: string]: unknown;
36485
+ };
36486
+ content: {
36487
+ "application/json": components["schemas"]["ResponseError"];
36488
+ };
36489
+ };
36490
+ };
36491
+ };
36492
+ "contacts.exports.store": {
36493
+ parameters: {
36494
+ query?: never;
36495
+ header?: never;
36496
+ path: {
36497
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36498
+ contact: string;
36499
+ };
36500
+ cookie?: never;
36501
+ };
36502
+ requestBody?: {
36503
+ content: {
36504
+ "application/json": components["schemas"]["StoreContactExportRequestBody"];
36505
+ };
36506
+ };
36507
+ responses: {
36508
+ /** @description Accepted */
36509
+ 202: {
36510
+ headers: {
36511
+ [name: string]: unknown;
36512
+ };
36513
+ content: {
36514
+ "application/json": components["schemas"]["ResourceContactExport"];
36515
+ };
36516
+ };
36517
+ /** @description Error */
36518
+ default: {
36519
+ headers: {
36520
+ [name: string]: unknown;
36521
+ };
36522
+ content: {
36523
+ "application/json": components["schemas"]["ResponseError"];
36524
+ };
36525
+ };
36526
+ };
36527
+ };
36528
+ "contacts.exports.show": {
36529
+ parameters: {
36530
+ query?: never;
36531
+ header?: never;
36532
+ path: {
36533
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36534
+ contact: string;
36535
+ /** @description Id of the customer's export, from POST /contacts/{contact}/exports. */
36536
+ export: string;
36537
+ };
36538
+ cookie?: never;
36539
+ };
36540
+ requestBody?: never;
36541
+ responses: {
36542
+ /** @description OK */
36543
+ 200: {
36544
+ headers: {
36545
+ [name: string]: unknown;
36546
+ };
36547
+ content: {
36548
+ "application/json": components["schemas"]["ResourceContactExport"];
36549
+ };
36550
+ };
36551
+ /** @description Error */
36552
+ default: {
36553
+ headers: {
36554
+ [name: string]: unknown;
36555
+ };
36556
+ content: {
36557
+ "application/json": components["schemas"]["ResponseError"];
36558
+ };
36559
+ };
36560
+ };
36561
+ };
36562
+ "contacts.exports.download": {
36563
+ parameters: {
36564
+ query?: never;
36565
+ header?: never;
36566
+ path: {
36567
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36568
+ contact: string;
36569
+ /** @description Id of the customer's export, from POST /contacts/{contact}/exports. */
36570
+ export: string;
36571
+ };
36572
+ cookie?: never;
36573
+ };
36574
+ requestBody?: never;
36575
+ responses: {
36576
+ /** @description OK */
36577
+ 200: {
36578
+ headers: {
36579
+ "Cache-Control"?: string;
36580
+ "Content-Disposition"?: string;
36581
+ "Content-Type"?: string;
36582
+ [name: string]: unknown;
36583
+ };
36584
+ content: {
36585
+ "application/json": string;
36586
+ };
36587
+ };
36588
+ /** @description Error */
36589
+ default: {
36590
+ headers: {
36591
+ [name: string]: unknown;
36592
+ };
36593
+ content: {
36594
+ "application/json": components["schemas"]["ResponseError"];
36595
+ };
36596
+ };
36597
+ };
36598
+ };
36599
+ "contacts.identities.index": {
36600
+ parameters: {
36601
+ query?: never;
36602
+ header?: never;
36603
+ path: {
36604
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36605
+ contact: string;
36606
+ };
36607
+ cookie?: never;
36608
+ };
36609
+ requestBody?: never;
36610
+ responses: {
36611
+ /** @description OK */
36612
+ 200: {
36613
+ headers: {
36614
+ [name: string]: unknown;
36615
+ };
36616
+ content: {
36617
+ "application/json": components["schemas"]["CollectionContactIdentity"];
36618
+ };
36619
+ };
36620
+ /** @description Error */
36621
+ default: {
36622
+ headers: {
36623
+ [name: string]: unknown;
36624
+ };
36625
+ content: {
36626
+ "application/json": components["schemas"]["ResponseError"];
36627
+ };
36628
+ };
36629
+ };
36630
+ };
36631
+ "contacts.identities.destroy": {
36632
+ parameters: {
36633
+ query?: never;
36634
+ header?: never;
36635
+ path: {
36636
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36637
+ contact: string;
36638
+ /** @description Id of the identity, from GET /contacts/{contact}/identities. */
36639
+ identity: string;
36640
+ };
36641
+ cookie?: never;
36642
+ };
36643
+ requestBody?: never;
36644
+ responses: {
36645
+ /** @description No Content */
36646
+ 204: {
36647
+ headers: {
36648
+ [name: string]: unknown;
36649
+ };
36650
+ content?: never;
36651
+ };
36652
+ /** @description Error */
36653
+ default: {
36654
+ headers: {
36655
+ [name: string]: unknown;
36656
+ };
36657
+ content: {
36658
+ "application/json": components["schemas"]["ResponseError"];
36659
+ };
36660
+ };
36661
+ };
36662
+ };
36663
+ "contacts.merges.store": {
36664
+ parameters: {
36665
+ query?: never;
36666
+ header?: never;
36667
+ path: {
36668
+ /** @description Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts. */
36669
+ contact: string;
36670
+ };
36671
+ cookie?: never;
36672
+ };
36673
+ requestBody: {
36674
+ content: {
36675
+ "application/json": components["schemas"]["MergeContactRequestBody"];
34608
36676
  };
34609
36677
  };
34610
36678
  responses: {
@@ -34760,6 +36828,199 @@ export interface operations {
34760
36828
  };
34761
36829
  };
34762
36830
  };
36831
+ "conversation-attributes.index": {
36832
+ parameters: {
36833
+ query?: never;
36834
+ header?: never;
36835
+ path?: never;
36836
+ cookie?: never;
36837
+ };
36838
+ requestBody?: never;
36839
+ responses: {
36840
+ /** @description OK */
36841
+ 200: {
36842
+ headers: {
36843
+ [name: string]: unknown;
36844
+ };
36845
+ content: {
36846
+ "application/json": components["schemas"]["CollectionConversationAttribute"];
36847
+ };
36848
+ };
36849
+ /** @description Error */
36850
+ default: {
36851
+ headers: {
36852
+ [name: string]: unknown;
36853
+ };
36854
+ content: {
36855
+ "application/json": components["schemas"]["ResponseError"];
36856
+ };
36857
+ };
36858
+ };
36859
+ };
36860
+ "conversation-attributes.store": {
36861
+ parameters: {
36862
+ query?: never;
36863
+ header?: never;
36864
+ path?: never;
36865
+ cookie?: never;
36866
+ };
36867
+ requestBody: {
36868
+ content: {
36869
+ "application/json": components["schemas"]["StoreConversationAttributeRequestBody"];
36870
+ };
36871
+ };
36872
+ responses: {
36873
+ /** @description Created */
36874
+ 201: {
36875
+ headers: {
36876
+ [name: string]: unknown;
36877
+ };
36878
+ content: {
36879
+ "application/json": components["schemas"]["ResourceConversationAttribute"];
36880
+ };
36881
+ };
36882
+ /** @description Error */
36883
+ default: {
36884
+ headers: {
36885
+ [name: string]: unknown;
36886
+ };
36887
+ content: {
36888
+ "application/json": components["schemas"]["ResponseError"];
36889
+ };
36890
+ };
36891
+ };
36892
+ };
36893
+ "conversation-attributes.destroy": {
36894
+ parameters: {
36895
+ query?: never;
36896
+ header?: never;
36897
+ path: {
36898
+ /** @description Id of the custom attribute, starting with atd_, such as atd_01jx2m8k4t. Find it with GET /attribute-definitions. */
36899
+ attribute: string;
36900
+ };
36901
+ cookie?: never;
36902
+ };
36903
+ requestBody?: never;
36904
+ responses: {
36905
+ /** @description No Content */
36906
+ 204: {
36907
+ headers: {
36908
+ [name: string]: unknown;
36909
+ };
36910
+ content?: never;
36911
+ };
36912
+ /** @description Error */
36913
+ default: {
36914
+ headers: {
36915
+ [name: string]: unknown;
36916
+ };
36917
+ content: {
36918
+ "application/json": components["schemas"]["ResponseError"];
36919
+ };
36920
+ };
36921
+ };
36922
+ };
36923
+ "conversation-attributes.update": {
36924
+ parameters: {
36925
+ query?: never;
36926
+ header?: never;
36927
+ path: {
36928
+ /** @description Id of the custom attribute, starting with atd_, such as atd_01jx2m8k4t. Find it with GET /attribute-definitions. */
36929
+ attribute: string;
36930
+ };
36931
+ cookie?: never;
36932
+ };
36933
+ requestBody: {
36934
+ content: {
36935
+ "application/json": components["schemas"]["UpdateConversationAttributeRequestBody"];
36936
+ };
36937
+ };
36938
+ responses: {
36939
+ /** @description OK */
36940
+ 200: {
36941
+ headers: {
36942
+ [name: string]: unknown;
36943
+ };
36944
+ content: {
36945
+ "application/json": components["schemas"]["ResourceConversationAttribute"];
36946
+ };
36947
+ };
36948
+ /** @description Error */
36949
+ default: {
36950
+ headers: {
36951
+ [name: string]: unknown;
36952
+ };
36953
+ content: {
36954
+ "application/json": components["schemas"]["ResponseError"];
36955
+ };
36956
+ };
36957
+ };
36958
+ };
36959
+ "conversation-attributes.usage.index": {
36960
+ parameters: {
36961
+ query?: never;
36962
+ header?: never;
36963
+ path: {
36964
+ /** @description Id of the custom attribute, starting with atd_, such as atd_01jx2m8k4t. Find it with GET /attribute-definitions. */
36965
+ attribute: string;
36966
+ };
36967
+ cookie?: never;
36968
+ };
36969
+ requestBody?: never;
36970
+ responses: {
36971
+ /** @description OK */
36972
+ 200: {
36973
+ headers: {
36974
+ [name: string]: unknown;
36975
+ };
36976
+ content: {
36977
+ "application/json": components["schemas"]["ResourceConversationAttributeUsage"];
36978
+ };
36979
+ };
36980
+ /** @description Error */
36981
+ default: {
36982
+ headers: {
36983
+ [name: string]: unknown;
36984
+ };
36985
+ content: {
36986
+ "application/json": components["schemas"]["ResponseError"];
36987
+ };
36988
+ };
36989
+ };
36990
+ };
36991
+ "conversation-attributes.order.update": {
36992
+ parameters: {
36993
+ query?: never;
36994
+ header?: never;
36995
+ path?: never;
36996
+ cookie?: never;
36997
+ };
36998
+ requestBody: {
36999
+ content: {
37000
+ "application/json": components["schemas"]["ReorderConversationAttributesRequestBody"];
37001
+ };
37002
+ };
37003
+ responses: {
37004
+ /** @description OK */
37005
+ 200: {
37006
+ headers: {
37007
+ [name: string]: unknown;
37008
+ };
37009
+ content: {
37010
+ "application/json": components["schemas"]["CollectionConversationAttribute"];
37011
+ };
37012
+ };
37013
+ /** @description Error */
37014
+ default: {
37015
+ headers: {
37016
+ [name: string]: unknown;
37017
+ };
37018
+ content: {
37019
+ "application/json": components["schemas"]["ResponseError"];
37020
+ };
37021
+ };
37022
+ };
37023
+ };
34763
37024
  "conversation-bulk-changes.store": {
34764
37025
  parameters: {
34765
37026
  query?: never;
@@ -35112,99 +37373,231 @@ export interface operations {
35112
37373
  };
35113
37374
  };
35114
37375
  };
35115
- "conversation-views.update": {
37376
+ "conversation-views.update": {
37377
+ parameters: {
37378
+ query?: never;
37379
+ header?: never;
37380
+ path: {
37381
+ /** @description Id of the saved inbox view, starting with cvw_, such as cvw_01jx2m8k4t. Find it with GET /conversation-views. */
37382
+ view: string;
37383
+ };
37384
+ cookie?: never;
37385
+ };
37386
+ requestBody: {
37387
+ content: {
37388
+ "application/json": components["schemas"]["UpdateConversationViewRequestBody"];
37389
+ };
37390
+ };
37391
+ responses: {
37392
+ /** @description OK */
37393
+ 200: {
37394
+ headers: {
37395
+ [name: string]: unknown;
37396
+ };
37397
+ content: {
37398
+ "application/json": components["schemas"]["ResourceConversationView"];
37399
+ };
37400
+ };
37401
+ /** @description Error */
37402
+ default: {
37403
+ headers: {
37404
+ [name: string]: unknown;
37405
+ };
37406
+ content: {
37407
+ "application/json": components["schemas"]["ResponseError"];
37408
+ };
37409
+ };
37410
+ };
37411
+ };
37412
+ "conversations.index": {
37413
+ parameters: {
37414
+ query?: {
37415
+ /** @description Leave out for the first page. To read the next page, pass the next_cursor the previous page returned. */
37416
+ cursor?: string;
37417
+ /** @description handed_off (the AI agent passed it to the team), active (the AI agent is still answering and has replied) or any (the AI agent took part at all). */
37418
+ "filter[ai]"?: string;
37419
+ /** @description A teammate's id (mem_...), me, or none for conversations nobody holds. It wins over the holder the view implies. */
37420
+ "filter[assignee]"?: string;
37421
+ /** @description true for conversations automatic assignment could not place yet. */
37422
+ "filter[assignment_waiting]"?: string;
37423
+ /** @description Channel connection ids (chn_...), such as one email address's. */
37424
+ "filter[channel_connection]"?: string;
37425
+ /** @description widget (the messenger), email or api. */
37426
+ "filter[channel]"?: string;
37427
+ /** @description A company's id (cmp_...). */
37428
+ "filter[company]"?: string;
37429
+ /** @description A contact's id (ctc_...): only that customer's conversations. */
37430
+ "filter[contact]"?: string;
37431
+ /** @description An RFC 3339 time, such as 2026-11-01T00:00:00Z: started at or after it. */
37432
+ "filter[created_after]"?: string;
37433
+ /** @description An RFC 3339 time: started before it. */
37434
+ "filter[created_before]"?: string;
37435
+ /** @description An inbox's id (inbox_...). */
37436
+ "filter[inbox]"?: string;
37437
+ /** @description none, low, medium, high or urgent, several separated by commas. */
37438
+ "filter[priority]"?: string;
37439
+ /** @description open (the default), snoozed or closed, several separated by commas, or any for every status. A saved view brings its own status unless you pass one. */
37440
+ "filter[status]"?: string;
37441
+ /** @description Tag ids of which the conversation carries at least one, up to 20. */
37442
+ "filter[tag_any]"?: string;
37443
+ /** @description Tag ids (tag_...) the conversation must all carry, up to 5. */
37444
+ "filter[tag]"?: string;
37445
+ /** @description A team's id (team_...), or none for conversations no team holds. */
37446
+ "filter[team]"?: string;
37447
+ /** @description true for conversations with entries you have not read. */
37448
+ "filter[unread]"?: string;
37449
+ /** @description Which list: mine (the default: assigned to you), unassigned, all, mentions (notes that mention you), spam, deleted (the trash), member:mem_... for one teammate's, team:team_..., inbox:inbox_..., or a saved view's id (cvw_..., from GET /conversation-views). Spam and deleted conversations show only in their own views. */
37450
+ "filter[view]"?: string;
37451
+ /** @description true for conversations waiting for a reply from the team. */
37452
+ "filter[waiting]"?: string;
37453
+ /** @description Unsaved view conditions as a JSON list, the same shape a saved view's conditions have. Leave out unless you filter by conditions no other filter covers. */
37454
+ "filter[where]"?: string;
37455
+ /** @description viewers to add which teammates are looking at each conversation right now. */
37456
+ include?: string;
37457
+ /** @description How many items to return in one page, such as 25. */
37458
+ limit?: string;
37459
+ /** @description Search words, "a phrase", -word to leave out, and is:open, is:closed, is:snoozed, is:unread, is:unassigned, is:mine, is:priority, priority:high or priority:>=medium. A number such as #1042 finds that conversation whatever its status. */
37460
+ q?: string;
37461
+ /** @description -last_message_at (the default), last_message_at, waiting_since (longest waiting first), -created_at, created_at, -priority, -priority,waiting_since, or snoozed_until when listing only snoozed conversations (then the default). */
37462
+ sort?: "last_message_at" | "-last_message_at" | "created_at" | "-created_at" | "waiting_since" | "-waiting_since" | "priority" | "-priority" | "snoozed_until" | "-snoozed_until";
37463
+ };
37464
+ header?: never;
37465
+ path?: never;
37466
+ cookie?: never;
37467
+ };
37468
+ requestBody?: never;
37469
+ responses: {
37470
+ /** @description OK */
37471
+ 200: {
37472
+ headers: {
37473
+ [name: string]: unknown;
37474
+ };
37475
+ content: {
37476
+ "application/json": components["schemas"]["CollectionConversation"];
37477
+ };
37478
+ };
37479
+ /** @description Error */
37480
+ default: {
37481
+ headers: {
37482
+ [name: string]: unknown;
37483
+ };
37484
+ content: {
37485
+ "application/json": components["schemas"]["ResponseError"];
37486
+ };
37487
+ };
37488
+ };
37489
+ };
37490
+ "conversations.store": {
37491
+ parameters: {
37492
+ query?: never;
37493
+ header?: never;
37494
+ path?: never;
37495
+ cookie?: never;
37496
+ };
37497
+ requestBody: {
37498
+ content: {
37499
+ "application/json": components["schemas"]["StoreConversationRequestBody"];
37500
+ };
37501
+ };
37502
+ responses: {
37503
+ /** @description Created */
37504
+ 201: {
37505
+ headers: {
37506
+ "Idempotent-Replayed"?: string;
37507
+ [name: string]: unknown;
37508
+ };
37509
+ content: {
37510
+ "application/json": components["schemas"]["ResourceConversation"];
37511
+ };
37512
+ };
37513
+ /** @description Error */
37514
+ default: {
37515
+ headers: {
37516
+ [name: string]: unknown;
37517
+ };
37518
+ content: {
37519
+ "application/json": components["schemas"]["ResponseError"];
37520
+ };
37521
+ };
37522
+ };
37523
+ };
37524
+ "conversations.show": {
37525
+ parameters: {
37526
+ query?: never;
37527
+ header?: never;
37528
+ path: {
37529
+ /** @description Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search. */
37530
+ conversation: string;
37531
+ };
37532
+ cookie?: never;
37533
+ };
37534
+ requestBody?: never;
37535
+ responses: {
37536
+ /** @description OK */
37537
+ 200: {
37538
+ headers: {
37539
+ [name: string]: unknown;
37540
+ };
37541
+ content: {
37542
+ "application/json": components["schemas"]["ResourceConversation"];
37543
+ };
37544
+ };
37545
+ /** @description Error */
37546
+ default: {
37547
+ headers: {
37548
+ [name: string]: unknown;
37549
+ };
37550
+ content: {
37551
+ "application/json": components["schemas"]["ResponseError"];
37552
+ };
37553
+ };
37554
+ };
37555
+ };
37556
+ "conversations.destroy": {
37557
+ parameters: {
37558
+ query?: never;
37559
+ header?: never;
37560
+ path: {
37561
+ /** @description Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search. */
37562
+ conversation: string;
37563
+ };
37564
+ cookie?: never;
37565
+ };
37566
+ requestBody?: never;
37567
+ responses: {
37568
+ /** @description No Content */
37569
+ 204: {
37570
+ headers: {
37571
+ [name: string]: unknown;
37572
+ };
37573
+ content?: never;
37574
+ };
37575
+ /** @description Error */
37576
+ default: {
37577
+ headers: {
37578
+ [name: string]: unknown;
37579
+ };
37580
+ content: {
37581
+ "application/json": components["schemas"]["ResponseError"];
37582
+ };
37583
+ };
37584
+ };
37585
+ };
37586
+ "conversations.update": {
35116
37587
  parameters: {
35117
37588
  query?: never;
35118
37589
  header?: never;
35119
37590
  path: {
35120
- /** @description Id of the saved inbox view, starting with cvw_, such as cvw_01jx2m8k4t. Find it with GET /conversation-views. */
35121
- view: string;
37591
+ /** @description Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search. */
37592
+ conversation: string;
35122
37593
  };
35123
37594
  cookie?: never;
35124
37595
  };
35125
37596
  requestBody: {
35126
37597
  content: {
35127
- "application/json": components["schemas"]["UpdateConversationViewRequestBody"];
35128
- };
35129
- };
35130
- responses: {
35131
- /** @description OK */
35132
- 200: {
35133
- headers: {
35134
- [name: string]: unknown;
35135
- };
35136
- content: {
35137
- "application/json": components["schemas"]["ResourceConversationView"];
35138
- };
35139
- };
35140
- /** @description Error */
35141
- default: {
35142
- headers: {
35143
- [name: string]: unknown;
35144
- };
35145
- content: {
35146
- "application/json": components["schemas"]["ResponseError"];
35147
- };
35148
- };
35149
- };
35150
- };
35151
- "conversations.index": {
35152
- parameters: {
35153
- query?: {
35154
- /** @description Leave out for the first page. To read the next page, pass the next_cursor the previous page returned. */
35155
- cursor?: string;
35156
- /** @description handed_off (the AI agent passed it to the team), active (the AI agent is still answering and has replied) or any (the AI agent took part at all). */
35157
- "filter[ai]"?: string;
35158
- /** @description A teammate's id (mem_...), me, or none for conversations nobody holds. It wins over the holder the view implies. */
35159
- "filter[assignee]"?: string;
35160
- /** @description true for conversations automatic assignment could not place yet. */
35161
- "filter[assignment_waiting]"?: string;
35162
- /** @description Channel connection ids (chn_...), such as one email address's. */
35163
- "filter[channel_connection]"?: string;
35164
- /** @description widget (the messenger), email or api. */
35165
- "filter[channel]"?: string;
35166
- /** @description A company's id (cmp_...). */
35167
- "filter[company]"?: string;
35168
- /** @description A contact's id (ctc_...): only that customer's conversations. */
35169
- "filter[contact]"?: string;
35170
- /** @description An RFC 3339 time, such as 2026-11-01T00:00:00Z: started at or after it. */
35171
- "filter[created_after]"?: string;
35172
- /** @description An RFC 3339 time: started before it. */
35173
- "filter[created_before]"?: string;
35174
- /** @description An inbox's id (inbox_...). */
35175
- "filter[inbox]"?: string;
35176
- /** @description none, low, medium, high or urgent, several separated by commas. */
35177
- "filter[priority]"?: string;
35178
- /** @description open (the default), snoozed or closed, several separated by commas, or any for every status. A saved view brings its own status unless you pass one. */
35179
- "filter[status]"?: string;
35180
- /** @description Tag ids of which the conversation carries at least one, up to 20. */
35181
- "filter[tag_any]"?: string;
35182
- /** @description Tag ids (tag_...) the conversation must all carry, up to 5. */
35183
- "filter[tag]"?: string;
35184
- /** @description A team's id (team_...), or none for conversations no team holds. */
35185
- "filter[team]"?: string;
35186
- /** @description true for conversations with entries you have not read. */
35187
- "filter[unread]"?: string;
35188
- /** @description Which list: mine (the default: assigned to you), unassigned, all, mentions (notes that mention you), spam, deleted (the trash), member:mem_... for one teammate's, team:team_..., inbox:inbox_..., or a saved view's id (cvw_..., from GET /conversation-views). Spam and deleted conversations show only in their own views. */
35189
- "filter[view]"?: string;
35190
- /** @description true for conversations waiting for a reply from the team. */
35191
- "filter[waiting]"?: string;
35192
- /** @description Unsaved view conditions as a JSON list, the same shape a saved view's conditions have. Leave out unless you filter by conditions no other filter covers. */
35193
- "filter[where]"?: string;
35194
- /** @description viewers to add which teammates are looking at each conversation right now. */
35195
- include?: string;
35196
- /** @description How many items to return in one page, such as 25. */
35197
- limit?: string;
35198
- /** @description Search words, "a phrase", -word to leave out, and is:open, is:closed, is:snoozed, is:unread, is:unassigned, is:mine, is:priority, priority:high or priority:>=medium. A number such as #1042 finds that conversation whatever its status. */
35199
- q?: string;
35200
- /** @description -last_message_at (the default), last_message_at, waiting_since (longest waiting first), -created_at, created_at, -priority, -priority,waiting_since, or snoozed_until when listing only snoozed conversations (then the default). */
35201
- sort?: "last_message_at" | "-last_message_at" | "created_at" | "-created_at" | "waiting_since" | "-waiting_since" | "priority" | "-priority" | "snoozed_until" | "-snoozed_until";
37598
+ "application/json": components["schemas"]["UpdateConversationRequestBody"];
35202
37599
  };
35203
- header?: never;
35204
- path?: never;
35205
- cookie?: never;
35206
37600
  };
35207
- requestBody?: never;
35208
37601
  responses: {
35209
37602
  /** @description OK */
35210
37603
  200: {
@@ -35212,41 +37605,7 @@ export interface operations {
35212
37605
  [name: string]: unknown;
35213
37606
  };
35214
37607
  content: {
35215
- "application/json": components["schemas"]["CollectionConversation"];
35216
- };
35217
- };
35218
- /** @description Error */
35219
- default: {
35220
- headers: {
35221
- [name: string]: unknown;
35222
- };
35223
- content: {
35224
- "application/json": components["schemas"]["ResponseError"];
35225
- };
35226
- };
35227
- };
35228
- };
35229
- "conversations.store": {
35230
- parameters: {
35231
- query?: never;
35232
- header?: never;
35233
- path?: never;
35234
- cookie?: never;
35235
- };
35236
- requestBody: {
35237
- content: {
35238
- "application/json": components["schemas"]["StoreConversationRequestBody"];
35239
- };
35240
- };
35241
- responses: {
35242
- /** @description Created */
35243
- 201: {
35244
- headers: {
35245
- "Idempotent-Replayed"?: string;
35246
- [name: string]: unknown;
35247
- };
35248
- content: {
35249
- "application/json": components["schemas"]["ResourceConversation"];
37608
+ "application/json": components["schemas"]["ConversationChangeOutputBody"];
35250
37609
  };
35251
37610
  };
35252
37611
  /** @description Error */
@@ -35260,7 +37619,7 @@ export interface operations {
35260
37619
  };
35261
37620
  };
35262
37621
  };
35263
- "conversations.show": {
37622
+ "conversations.ai-attributes.index": {
35264
37623
  parameters: {
35265
37624
  query?: never;
35266
37625
  header?: never;
@@ -35278,7 +37637,7 @@ export interface operations {
35278
37637
  [name: string]: unknown;
35279
37638
  };
35280
37639
  content: {
35281
- "application/json": components["schemas"]["ResourceConversation"];
37640
+ "application/json": components["schemas"]["ResourceConversationAIAttributes"];
35282
37641
  };
35283
37642
  };
35284
37643
  /** @description Error */
@@ -35292,51 +37651,17 @@ export interface operations {
35292
37651
  };
35293
37652
  };
35294
37653
  };
35295
- "conversations.destroy": {
37654
+ "conversations.ai.runs.index": {
35296
37655
  parameters: {
35297
37656
  query?: never;
35298
37657
  header?: never;
35299
37658
  path: {
35300
- /** @description Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search. */
37659
+ /** @description Id of the conversation, starting with conv_. A number does not work here; find the id with GET /conversations/{conversation}. */
35301
37660
  conversation: string;
35302
37661
  };
35303
37662
  cookie?: never;
35304
37663
  };
35305
37664
  requestBody?: never;
35306
- responses: {
35307
- /** @description No Content */
35308
- 204: {
35309
- headers: {
35310
- [name: string]: unknown;
35311
- };
35312
- content?: never;
35313
- };
35314
- /** @description Error */
35315
- default: {
35316
- headers: {
35317
- [name: string]: unknown;
35318
- };
35319
- content: {
35320
- "application/json": components["schemas"]["ResponseError"];
35321
- };
35322
- };
35323
- };
35324
- };
35325
- "conversations.update": {
35326
- parameters: {
35327
- query?: never;
35328
- header?: never;
35329
- path: {
35330
- /** @description Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search. */
35331
- conversation: string;
35332
- };
35333
- cookie?: never;
35334
- };
35335
- requestBody: {
35336
- content: {
35337
- "application/json": components["schemas"]["UpdateConversationRequestBody"];
35338
- };
35339
- };
35340
37665
  responses: {
35341
37666
  /** @description OK */
35342
37667
  200: {
@@ -35344,7 +37669,7 @@ export interface operations {
35344
37669
  [name: string]: unknown;
35345
37670
  };
35346
37671
  content: {
35347
- "application/json": components["schemas"]["ConversationChangeOutputBody"];
37672
+ "application/json": components["schemas"]["CollectionAiRun"];
35348
37673
  };
35349
37674
  };
35350
37675
  /** @description Error */
@@ -35358,13 +37683,15 @@ export interface operations {
35358
37683
  };
35359
37684
  };
35360
37685
  };
35361
- "conversations.ai-attributes.index": {
37686
+ "conversations.ai.runs.show": {
35362
37687
  parameters: {
35363
37688
  query?: never;
35364
37689
  header?: never;
35365
37690
  path: {
35366
- /** @description Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search. */
37691
+ /** @description Id of the conversation, starting with conv_. A number does not work here; find the id with GET /conversations/{conversation}. */
35367
37692
  conversation: string;
37693
+ /** @description Id of the run, starting with wfr or air_, such as wfr_01jx2m8k4t. Find it with the matching runs list. */
37694
+ run: string;
35368
37695
  };
35369
37696
  cookie?: never;
35370
37697
  };
@@ -35376,7 +37703,7 @@ export interface operations {
35376
37703
  [name: string]: unknown;
35377
37704
  };
35378
37705
  content: {
35379
- "application/json": components["schemas"]["ResourceConversationAIAttributes"];
37706
+ "application/json": components["schemas"]["ResourceAiRun"];
35380
37707
  };
35381
37708
  };
35382
37709
  /** @description Error */
@@ -35390,12 +37717,12 @@ export interface operations {
35390
37717
  };
35391
37718
  };
35392
37719
  };
35393
- "conversations.ai.runs.index": {
37720
+ "conversations.attributes.index": {
35394
37721
  parameters: {
35395
37722
  query?: never;
35396
37723
  header?: never;
35397
37724
  path: {
35398
- /** @description Id of the conversation, starting with conv_. A number does not work here; find the id with GET /conversations/{conversation}. */
37725
+ /** @description Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search. */
35399
37726
  conversation: string;
35400
37727
  };
35401
37728
  cookie?: never;
@@ -35408,7 +37735,7 @@ export interface operations {
35408
37735
  [name: string]: unknown;
35409
37736
  };
35410
37737
  content: {
35411
- "application/json": components["schemas"]["CollectionAiRun"];
37738
+ "application/json": components["schemas"]["ResourceConversationAttributeValues"];
35412
37739
  };
35413
37740
  };
35414
37741
  /** @description Error */
@@ -35422,19 +37749,21 @@ export interface operations {
35422
37749
  };
35423
37750
  };
35424
37751
  };
35425
- "conversations.ai.runs.show": {
37752
+ "conversations.attributes.update": {
35426
37753
  parameters: {
35427
37754
  query?: never;
35428
37755
  header?: never;
35429
37756
  path: {
35430
- /** @description Id of the conversation, starting with conv_. A number does not work here; find the id with GET /conversations/{conversation}. */
37757
+ /** @description Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search. */
35431
37758
  conversation: string;
35432
- /** @description Id of the run, starting with wfr or air_, such as wfr_01jx2m8k4t. Find it with the matching runs list. */
35433
- run: string;
35434
37759
  };
35435
37760
  cookie?: never;
35436
37761
  };
35437
- requestBody?: never;
37762
+ requestBody: {
37763
+ content: {
37764
+ "application/json": components["schemas"]["UpdateConversationAttributeValuesRequestBody"];
37765
+ };
37766
+ };
35438
37767
  responses: {
35439
37768
  /** @description OK */
35440
37769
  200: {
@@ -35442,7 +37771,7 @@ export interface operations {
35442
37771
  [name: string]: unknown;
35443
37772
  };
35444
37773
  content: {
35445
- "application/json": components["schemas"]["ResourceAiRun"];
37774
+ "application/json": components["schemas"]["ResourceConversationAttributeValues"];
35446
37775
  };
35447
37776
  };
35448
37777
  /** @description Error */
@@ -38736,6 +41065,35 @@ export interface operations {
38736
41065
  };
38737
41066
  };
38738
41067
  };
41068
+ "help-center-languages.index": {
41069
+ parameters: {
41070
+ query?: never;
41071
+ header?: never;
41072
+ path?: never;
41073
+ cookie?: never;
41074
+ };
41075
+ requestBody?: never;
41076
+ responses: {
41077
+ /** @description OK */
41078
+ 200: {
41079
+ headers: {
41080
+ [name: string]: unknown;
41081
+ };
41082
+ content: {
41083
+ "application/json": components["schemas"]["CollectionLanguage"];
41084
+ };
41085
+ };
41086
+ /** @description Error */
41087
+ default: {
41088
+ headers: {
41089
+ [name: string]: unknown;
41090
+ };
41091
+ content: {
41092
+ "application/json": components["schemas"]["ResponseError"];
41093
+ };
41094
+ };
41095
+ };
41096
+ };
38739
41097
  "help-centers.index": {
38740
41098
  parameters: {
38741
41099
  query?: never;
@@ -39228,6 +41586,38 @@ export interface operations {
39228
41586
  };
39229
41587
  };
39230
41588
  };
41589
+ "help-centers.collection-translations.index": {
41590
+ parameters: {
41591
+ query?: never;
41592
+ header?: never;
41593
+ path: {
41594
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
41595
+ help_center: string;
41596
+ };
41597
+ cookie?: never;
41598
+ };
41599
+ requestBody?: never;
41600
+ responses: {
41601
+ /** @description OK */
41602
+ 200: {
41603
+ headers: {
41604
+ [name: string]: unknown;
41605
+ };
41606
+ content: {
41607
+ "application/json": components["schemas"]["CollectionCollectionTranslation"];
41608
+ };
41609
+ };
41610
+ /** @description Error */
41611
+ default: {
41612
+ headers: {
41613
+ [name: string]: unknown;
41614
+ };
41615
+ content: {
41616
+ "application/json": components["schemas"]["ResponseError"];
41617
+ };
41618
+ };
41619
+ };
41620
+ };
39231
41621
  "help-centers.collections.index": {
39232
41622
  parameters: {
39233
41623
  query?: never;
@@ -39328,7 +41718,105 @@ export interface operations {
39328
41718
  };
39329
41719
  };
39330
41720
  };
39331
- "help-centers.domain.destroy": {
41721
+ "help-centers.domain.destroy": {
41722
+ parameters: {
41723
+ query?: never;
41724
+ header?: never;
41725
+ path: {
41726
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
41727
+ help_center: string;
41728
+ };
41729
+ cookie?: never;
41730
+ };
41731
+ requestBody?: never;
41732
+ responses: {
41733
+ /** @description No Content */
41734
+ 204: {
41735
+ headers: {
41736
+ [name: string]: unknown;
41737
+ };
41738
+ content?: never;
41739
+ };
41740
+ /** @description Error */
41741
+ default: {
41742
+ headers: {
41743
+ [name: string]: unknown;
41744
+ };
41745
+ content: {
41746
+ "application/json": components["schemas"]["ResponseError"];
41747
+ };
41748
+ };
41749
+ };
41750
+ };
41751
+ "help-centers.domain.update": {
41752
+ parameters: {
41753
+ query?: never;
41754
+ header?: never;
41755
+ path: {
41756
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
41757
+ help_center: string;
41758
+ };
41759
+ cookie?: never;
41760
+ };
41761
+ requestBody: {
41762
+ content: {
41763
+ "application/json": components["schemas"]["StoreHelpCenterDomainRequestBody"];
41764
+ };
41765
+ };
41766
+ responses: {
41767
+ /** @description OK */
41768
+ 200: {
41769
+ headers: {
41770
+ [name: string]: unknown;
41771
+ };
41772
+ content: {
41773
+ "application/json": components["schemas"]["HelpCenterDomainOutputBody"];
41774
+ };
41775
+ };
41776
+ /** @description Error */
41777
+ default: {
41778
+ headers: {
41779
+ [name: string]: unknown;
41780
+ };
41781
+ content: {
41782
+ "application/json": components["schemas"]["ResponseError"];
41783
+ };
41784
+ };
41785
+ };
41786
+ };
41787
+ "help-centers.domain.checks.store": {
41788
+ parameters: {
41789
+ query?: never;
41790
+ header?: never;
41791
+ path: {
41792
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
41793
+ help_center: string;
41794
+ };
41795
+ cookie?: never;
41796
+ };
41797
+ requestBody?: never;
41798
+ responses: {
41799
+ /** @description OK */
41800
+ 200: {
41801
+ headers: {
41802
+ [name: string]: unknown;
41803
+ };
41804
+ content: {
41805
+ "application/json": components["schemas"]["HelpCenterDomainOutputBody"];
41806
+ };
41807
+ };
41808
+ /** @description Error */
41809
+ default: {
41810
+ headers: {
41811
+ [name: string]: unknown;
41812
+ };
41813
+ content: {
41814
+ "application/json": components["schemas"]["ResponseError"];
41815
+ };
41816
+ };
41817
+ };
41818
+ };
41819
+ "help-centers.feedback-boards.index": {
39332
41820
  parameters: {
39333
41821
  query?: never;
39334
41822
  header?: never;
@@ -39340,12 +41828,14 @@ export interface operations {
39340
41828
  };
39341
41829
  requestBody?: never;
39342
41830
  responses: {
39343
- /** @description No Content */
39344
- 204: {
41831
+ /** @description OK */
41832
+ 200: {
39345
41833
  headers: {
39346
41834
  [name: string]: unknown;
39347
41835
  };
39348
- content?: never;
41836
+ content: {
41837
+ "application/json": components["schemas"]["ResourceListFeedbackBoard"];
41838
+ };
39349
41839
  };
39350
41840
  /** @description Error */
39351
41841
  default: {
@@ -39358,7 +41848,7 @@ export interface operations {
39358
41848
  };
39359
41849
  };
39360
41850
  };
39361
- "help-centers.domain.update": {
41851
+ "help-centers.feedback-boards.store": {
39362
41852
  parameters: {
39363
41853
  query?: never;
39364
41854
  header?: never;
@@ -39370,17 +41860,17 @@ export interface operations {
39370
41860
  };
39371
41861
  requestBody: {
39372
41862
  content: {
39373
- "application/json": components["schemas"]["StoreHelpCenterDomainRequestBody"];
41863
+ "application/json": components["schemas"]["FeedbackBoardBody"];
39374
41864
  };
39375
41865
  };
39376
41866
  responses: {
39377
- /** @description OK */
39378
- 200: {
41867
+ /** @description Created */
41868
+ 201: {
39379
41869
  headers: {
39380
41870
  [name: string]: unknown;
39381
41871
  };
39382
41872
  content: {
39383
- "application/json": components["schemas"]["HelpCenterDomainOutputBody"];
41873
+ "application/json": components["schemas"]["ResourceFeedbackBoard"];
39384
41874
  };
39385
41875
  };
39386
41876
  /** @description Error */
@@ -39394,7 +41884,7 @@ export interface operations {
39394
41884
  };
39395
41885
  };
39396
41886
  };
39397
- "help-centers.domain.checks.store": {
41887
+ "help-centers.feedback-boards.update-many": {
39398
41888
  parameters: {
39399
41889
  query?: never;
39400
41890
  header?: never;
@@ -39404,7 +41894,11 @@ export interface operations {
39404
41894
  };
39405
41895
  cookie?: never;
39406
41896
  };
39407
- requestBody?: never;
41897
+ requestBody: {
41898
+ content: {
41899
+ "application/json": components["schemas"]["ReorderFeedbackBoardsRequestBody"];
41900
+ };
41901
+ };
39408
41902
  responses: {
39409
41903
  /** @description OK */
39410
41904
  200: {
@@ -39412,7 +41906,7 @@ export interface operations {
39412
41906
  [name: string]: unknown;
39413
41907
  };
39414
41908
  content: {
39415
- "application/json": components["schemas"]["HelpCenterDomainOutputBody"];
41909
+ "application/json": components["schemas"]["ResourceListFeedbackBoard"];
39416
41910
  };
39417
41911
  };
39418
41912
  /** @description Error */
@@ -39426,9 +41920,22 @@ export interface operations {
39426
41920
  };
39427
41921
  };
39428
41922
  };
39429
- "help-centers.feedback-boards.index": {
41923
+ "help-centers.feedback-posts.index": {
39430
41924
  parameters: {
39431
- query?: never;
41925
+ query?: {
41926
+ /** @description Id of a board (fbd_...) to list only its requests; leave out for every board. */
41927
+ board_id?: string;
41928
+ /** @description approved, pending (waiting for the team's approval) or spam. */
41929
+ moderation?: "approved" | "pending" | "spam" | "";
41930
+ /** @description Numbered page from 1. */
41931
+ page?: string;
41932
+ /** @description Text to find in titles. */
41933
+ query?: string;
41934
+ /** @description trending, top (most votes) or new. */
41935
+ sort?: "trending" | "top" | "new" | "";
41936
+ /** @description A status key from GET /feedback-statuses, such as planned; leave out for all. */
41937
+ status?: string;
41938
+ };
39432
41939
  header?: never;
39433
41940
  path: {
39434
41941
  /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
@@ -39444,7 +41951,7 @@ export interface operations {
39444
41951
  [name: string]: unknown;
39445
41952
  };
39446
41953
  content: {
39447
- "application/json": components["schemas"]["ResourceListFeedbackBoard"];
41954
+ "application/json": components["schemas"]["FeedbackPostsOutputBody"];
39448
41955
  };
39449
41956
  };
39450
41957
  /** @description Error */
@@ -39458,7 +41965,7 @@ export interface operations {
39458
41965
  };
39459
41966
  };
39460
41967
  };
39461
- "help-centers.feedback-boards.store": {
41968
+ "help-centers.feedback-posts.store": {
39462
41969
  parameters: {
39463
41970
  query?: never;
39464
41971
  header?: never;
@@ -39470,7 +41977,7 @@ export interface operations {
39470
41977
  };
39471
41978
  requestBody: {
39472
41979
  content: {
39473
- "application/json": components["schemas"]["FeedbackBoardBody"];
41980
+ "application/json": components["schemas"]["StoreFeedbackPostRequestBody"];
39474
41981
  };
39475
41982
  };
39476
41983
  responses: {
@@ -39480,7 +41987,7 @@ export interface operations {
39480
41987
  [name: string]: unknown;
39481
41988
  };
39482
41989
  content: {
39483
- "application/json": components["schemas"]["ResourceFeedbackBoard"];
41990
+ "application/json": components["schemas"]["ResourceFeedbackPost"];
39484
41991
  };
39485
41992
  };
39486
41993
  /** @description Error */
@@ -39494,7 +42001,7 @@ export interface operations {
39494
42001
  };
39495
42002
  };
39496
42003
  };
39497
- "help-centers.feedback-boards.update-many": {
42004
+ "help-centers.live-theme.update": {
39498
42005
  parameters: {
39499
42006
  query?: never;
39500
42007
  header?: never;
@@ -39506,7 +42013,7 @@ export interface operations {
39506
42013
  };
39507
42014
  requestBody: {
39508
42015
  content: {
39509
- "application/json": components["schemas"]["ReorderFeedbackBoardsRequestBody"];
42016
+ "application/json": components["schemas"]["UpdateLiveThemeRequestBody"];
39510
42017
  };
39511
42018
  };
39512
42019
  responses: {
@@ -39516,7 +42023,7 @@ export interface operations {
39516
42023
  [name: string]: unknown;
39517
42024
  };
39518
42025
  content: {
39519
- "application/json": components["schemas"]["ResourceListFeedbackBoard"];
42026
+ "application/json": components["schemas"]["ResourceHelpCenter"];
39520
42027
  };
39521
42028
  };
39522
42029
  /** @description Error */
@@ -39530,21 +42037,11 @@ export interface operations {
39530
42037
  };
39531
42038
  };
39532
42039
  };
39533
- "help-centers.feedback-posts.index": {
42040
+ "help-centers.theme-preview.show": {
39534
42041
  parameters: {
39535
42042
  query?: {
39536
- /** @description Id of a board (fbd_...) to list only its requests; leave out for every board. */
39537
- board_id?: string;
39538
- /** @description approved, pending (waiting for the team's approval) or spam. */
39539
- moderation?: "approved" | "pending" | "spam" | "";
39540
- /** @description Numbered page from 1. */
39541
- page?: string;
39542
- /** @description Text to find in titles. */
39543
- query?: string;
39544
- /** @description trending, top (most votes) or new. */
39545
- sort?: "trending" | "top" | "new" | "";
39546
- /** @description A status key from GET /feedback-statuses, such as planned; leave out for all. */
39547
- status?: string;
42043
+ /** @description The page's path, such as /articles/install or /fr. */
42044
+ path?: string;
39548
42045
  };
39549
42046
  header?: never;
39550
42047
  path: {
@@ -39561,7 +42058,7 @@ export interface operations {
39561
42058
  [name: string]: unknown;
39562
42059
  };
39563
42060
  content: {
39564
- "application/json": components["schemas"]["FeedbackPostsOutputBody"];
42061
+ "application/json": components["schemas"]["ResourceThemePreview"];
39565
42062
  };
39566
42063
  };
39567
42064
  /** @description Error */
@@ -39575,7 +42072,39 @@ export interface operations {
39575
42072
  };
39576
42073
  };
39577
42074
  };
39578
- "help-centers.feedback-posts.store": {
42075
+ "help-centers.themes.index": {
42076
+ parameters: {
42077
+ query?: never;
42078
+ header?: never;
42079
+ path: {
42080
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
42081
+ help_center: string;
42082
+ };
42083
+ cookie?: never;
42084
+ };
42085
+ requestBody?: never;
42086
+ responses: {
42087
+ /** @description OK */
42088
+ 200: {
42089
+ headers: {
42090
+ [name: string]: unknown;
42091
+ };
42092
+ content: {
42093
+ "application/json": components["schemas"]["CollectionHelpCenterTheme"];
42094
+ };
42095
+ };
42096
+ /** @description Error */
42097
+ default: {
42098
+ headers: {
42099
+ [name: string]: unknown;
42100
+ };
42101
+ content: {
42102
+ "application/json": components["schemas"]["ResponseError"];
42103
+ };
42104
+ };
42105
+ };
42106
+ };
42107
+ "help-centers.themes.store": {
39579
42108
  parameters: {
39580
42109
  query?: never;
39581
42110
  header?: never;
@@ -39587,7 +42116,15 @@ export interface operations {
39587
42116
  };
39588
42117
  requestBody: {
39589
42118
  content: {
39590
- "application/json": components["schemas"]["StoreFeedbackPostRequestBody"];
42119
+ "multipart/form-data": {
42120
+ /**
42121
+ * Format: binary
42122
+ * @description filename of the file being uploaded
42123
+ */
42124
+ filename?: string;
42125
+ /** @description general purpose name for multipart form value */
42126
+ name?: string;
42127
+ };
39591
42128
  };
39592
42129
  };
39593
42130
  responses: {
@@ -39597,7 +42134,153 @@ export interface operations {
39597
42134
  [name: string]: unknown;
39598
42135
  };
39599
42136
  content: {
39600
- "application/json": components["schemas"]["ResourceFeedbackPost"];
42137
+ "application/json": components["schemas"]["ResourceHelpCenterTheme"];
42138
+ };
42139
+ };
42140
+ /** @description Error */
42141
+ default: {
42142
+ headers: {
42143
+ [name: string]: unknown;
42144
+ };
42145
+ content: {
42146
+ "application/json": components["schemas"]["ResponseError"];
42147
+ };
42148
+ };
42149
+ };
42150
+ };
42151
+ "help-centers.themes.show": {
42152
+ parameters: {
42153
+ query?: never;
42154
+ header?: never;
42155
+ path: {
42156
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
42157
+ help_center: string;
42158
+ /** @description Id of the theme version, starting with thm_. Find it with GET /help-centers/{help_center}/themes. */
42159
+ theme: string;
42160
+ };
42161
+ cookie?: never;
42162
+ };
42163
+ requestBody?: never;
42164
+ responses: {
42165
+ /** @description OK */
42166
+ 200: {
42167
+ headers: {
42168
+ [name: string]: unknown;
42169
+ };
42170
+ content: {
42171
+ "application/json": components["schemas"]["ResourceHelpCenterTheme"];
42172
+ };
42173
+ };
42174
+ /** @description Error */
42175
+ default: {
42176
+ headers: {
42177
+ [name: string]: unknown;
42178
+ };
42179
+ content: {
42180
+ "application/json": components["schemas"]["ResponseError"];
42181
+ };
42182
+ };
42183
+ };
42184
+ };
42185
+ "help-centers.themes.update": {
42186
+ parameters: {
42187
+ query?: never;
42188
+ header?: never;
42189
+ path: {
42190
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
42191
+ help_center: string;
42192
+ /** @description Id of the theme version, starting with thm_. Find it with GET /help-centers/{help_center}/themes. */
42193
+ theme: string;
42194
+ };
42195
+ cookie?: never;
42196
+ };
42197
+ requestBody: {
42198
+ content: {
42199
+ "application/json": components["schemas"]["UpdateHelpCenterThemeRequestBody"];
42200
+ };
42201
+ };
42202
+ responses: {
42203
+ /** @description OK */
42204
+ 200: {
42205
+ headers: {
42206
+ [name: string]: unknown;
42207
+ };
42208
+ content: {
42209
+ "application/json": components["schemas"]["ResourceHelpCenterTheme"];
42210
+ };
42211
+ };
42212
+ /** @description Error */
42213
+ default: {
42214
+ headers: {
42215
+ [name: string]: unknown;
42216
+ };
42217
+ content: {
42218
+ "application/json": components["schemas"]["ResponseError"];
42219
+ };
42220
+ };
42221
+ };
42222
+ };
42223
+ "help-centers.themes.archive.show": {
42224
+ parameters: {
42225
+ query?: never;
42226
+ header?: never;
42227
+ path: {
42228
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
42229
+ help_center: string;
42230
+ /** @description A theme version's id, or default for the default theme. */
42231
+ theme: string;
42232
+ };
42233
+ cookie?: never;
42234
+ };
42235
+ requestBody?: never;
42236
+ responses: {
42237
+ /** @description OK */
42238
+ 200: {
42239
+ headers: {
42240
+ "Cache-Control"?: string;
42241
+ "Content-Disposition"?: string;
42242
+ "Content-Type"?: string;
42243
+ [name: string]: unknown;
42244
+ };
42245
+ content: {
42246
+ "application/json": string;
42247
+ };
42248
+ };
42249
+ /** @description Error */
42250
+ default: {
42251
+ headers: {
42252
+ [name: string]: unknown;
42253
+ };
42254
+ content: {
42255
+ "application/json": components["schemas"]["ResponseError"];
42256
+ };
42257
+ };
42258
+ };
42259
+ };
42260
+ "help-centers.translation-states.index": {
42261
+ parameters: {
42262
+ query?: {
42263
+ /** @description Only this language, as a code such as fr. */
42264
+ locale?: string;
42265
+ /** @description Only articles in this state: missing, outdated, draft or published. */
42266
+ state?: "missing" | "outdated" | "draft" | "published" | "";
42267
+ };
42268
+ header?: never;
42269
+ path: {
42270
+ /** @description Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers. */
42271
+ help_center: string;
42272
+ };
42273
+ cookie?: never;
42274
+ };
42275
+ requestBody?: never;
42276
+ responses: {
42277
+ /** @description OK */
42278
+ 200: {
42279
+ headers: {
42280
+ [name: string]: unknown;
42281
+ };
42282
+ content: {
42283
+ "application/json": components["schemas"]["CollectionTranslationState"];
39601
42284
  };
39602
42285
  };
39603
42286
  /** @description Error */
@@ -42000,6 +44683,8 @@ export interface operations {
42000
44683
  query?: {
42001
44684
  /** @description Leave out for the first page. To read the next page, pass the next_cursor the previous page returned. */
42002
44685
  cursor?: string;
44686
+ /** @description Only items whose awaiting_enable matches; several values separated by commas match any. */
44687
+ "filter[awaiting_enable]"?: string;
42003
44688
  /** @description owner, admin or member. */
42004
44689
  "filter[role]"?: string;
42005
44690
  /** @description active or deactivated. */
@@ -42250,6 +44935,204 @@ export interface operations {
42250
44935
  };
42251
44936
  };
42252
44937
  };
44938
+ "migrations.index": {
44939
+ parameters: {
44940
+ query?: never;
44941
+ header?: never;
44942
+ path?: never;
44943
+ cookie?: never;
44944
+ };
44945
+ requestBody?: never;
44946
+ responses: {
44947
+ /** @description OK */
44948
+ 200: {
44949
+ headers: {
44950
+ [name: string]: unknown;
44951
+ };
44952
+ content: {
44953
+ "application/json": components["schemas"]["CollectionMigrationSummary"];
44954
+ };
44955
+ };
44956
+ /** @description Error */
44957
+ default: {
44958
+ headers: {
44959
+ [name: string]: unknown;
44960
+ };
44961
+ content: {
44962
+ "application/json": components["schemas"]["ResponseError"];
44963
+ };
44964
+ };
44965
+ };
44966
+ };
44967
+ "migrations.store": {
44968
+ parameters: {
44969
+ query?: never;
44970
+ header?: never;
44971
+ path?: never;
44972
+ cookie?: never;
44973
+ };
44974
+ requestBody: {
44975
+ content: {
44976
+ "application/json": components["schemas"]["StoreMigrationRequestBody"];
44977
+ };
44978
+ };
44979
+ responses: {
44980
+ /** @description Created */
44981
+ 201: {
44982
+ headers: {
44983
+ [name: string]: unknown;
44984
+ };
44985
+ content: {
44986
+ "application/json": components["schemas"]["ResourceMigration"];
44987
+ };
44988
+ };
44989
+ /** @description Error */
44990
+ default: {
44991
+ headers: {
44992
+ [name: string]: unknown;
44993
+ };
44994
+ content: {
44995
+ "application/json": components["schemas"]["ResponseError"];
44996
+ };
44997
+ };
44998
+ };
44999
+ };
45000
+ "migrations.show": {
45001
+ parameters: {
45002
+ query?: never;
45003
+ header?: never;
45004
+ path: {
45005
+ /** @description The migration's id (mig_...), as starting or listing migrations returns it. Such as mig_01jc8q3x7m2n4p5r6s7t8v9w0y. */
45006
+ migration: string;
45007
+ };
45008
+ cookie?: never;
45009
+ };
45010
+ requestBody?: never;
45011
+ responses: {
45012
+ /** @description OK */
45013
+ 200: {
45014
+ headers: {
45015
+ [name: string]: unknown;
45016
+ };
45017
+ content: {
45018
+ "application/json": components["schemas"]["ResourceMigration"];
45019
+ };
45020
+ };
45021
+ /** @description Error */
45022
+ default: {
45023
+ headers: {
45024
+ [name: string]: unknown;
45025
+ };
45026
+ content: {
45027
+ "application/json": components["schemas"]["ResponseError"];
45028
+ };
45029
+ };
45030
+ };
45031
+ };
45032
+ "migrations.lookups.store": {
45033
+ parameters: {
45034
+ query?: never;
45035
+ header?: never;
45036
+ path: {
45037
+ /** @description The migration (mig_...) the records belong to. Such as mig_01jc8q3x7m2n4p5r6s7t8v9w0y. */
45038
+ migration: string;
45039
+ };
45040
+ cookie?: never;
45041
+ };
45042
+ requestBody: {
45043
+ content: {
45044
+ "application/json": components["schemas"]["MigrationLookupRequestBody"];
45045
+ };
45046
+ };
45047
+ responses: {
45048
+ /** @description OK */
45049
+ 200: {
45050
+ headers: {
45051
+ [name: string]: unknown;
45052
+ };
45053
+ content: {
45054
+ "application/json": components["schemas"]["CollectionMigrationLookup"];
45055
+ };
45056
+ };
45057
+ /** @description Error */
45058
+ default: {
45059
+ headers: {
45060
+ [name: string]: unknown;
45061
+ };
45062
+ content: {
45063
+ "application/json": components["schemas"]["ResponseError"];
45064
+ };
45065
+ };
45066
+ };
45067
+ };
45068
+ "migrations.records.store": {
45069
+ parameters: {
45070
+ query?: never;
45071
+ header?: never;
45072
+ path: {
45073
+ /** @description Migration: text. */
45074
+ migration: string;
45075
+ };
45076
+ cookie?: never;
45077
+ };
45078
+ requestBody: {
45079
+ content: {
45080
+ "application/json": components["schemas"]["MigrationRecordsRequestBody"];
45081
+ };
45082
+ };
45083
+ responses: {
45084
+ /** @description OK */
45085
+ 200: {
45086
+ headers: {
45087
+ [name: string]: unknown;
45088
+ };
45089
+ content: {
45090
+ "application/json": components["schemas"]["ResourceMigrationBatch"];
45091
+ };
45092
+ };
45093
+ /** @description Error */
45094
+ default: {
45095
+ headers: {
45096
+ [name: string]: unknown;
45097
+ };
45098
+ content: {
45099
+ "application/json": components["schemas"]["ResponseError"];
45100
+ };
45101
+ };
45102
+ };
45103
+ };
45104
+ "migrations.rollbacks.store": {
45105
+ parameters: {
45106
+ query?: never;
45107
+ header?: never;
45108
+ path: {
45109
+ /** @description The migration (mig_...) to undo, as starting or listing migrations returns it. Such as mig_01jc8q3x7m2n4p5r6s7t8v9w0y. */
45110
+ migration: string;
45111
+ };
45112
+ cookie?: never;
45113
+ };
45114
+ requestBody?: never;
45115
+ responses: {
45116
+ /** @description Accepted */
45117
+ 202: {
45118
+ headers: {
45119
+ [name: string]: unknown;
45120
+ };
45121
+ content: {
45122
+ "application/json": components["schemas"]["ResourceMigration"];
45123
+ };
45124
+ };
45125
+ /** @description Error */
45126
+ default: {
45127
+ headers: {
45128
+ [name: string]: unknown;
45129
+ };
45130
+ content: {
45131
+ "application/json": components["schemas"]["ResponseError"];
45132
+ };
45133
+ };
45134
+ };
45135
+ };
42253
45136
  "notification-deliveries.index": {
42254
45137
  parameters: {
42255
45138
  query?: {