@omni-commerce/sdk 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -365,7 +365,11 @@ interface paths {
365
365
  };
366
366
  /**
367
367
  * Get Order Analytics
368
- * @description Order KPIs with their change against the previous period, a daily trend, sales by order status and by marketplace, and the top products by net sales. Repeat buyers are counted but not listed. Matches the Orders analysis page. Requires `analytics:read`.
368
+ * @description Order KPIs with their change against the previous period, a daily trend, sales by order status and by marketplace, and the top products by net sales. Repeat buyers are counted but not listed.
369
+ *
370
+ * ### Order attribution
371
+ *
372
+ * `attribution` contains normalized order channels and creator handles, Net Revenue rankings partitioned by currency and exact store, and evidence coverage. Joint creator/channel groups count each order once; missing evidence is explicit. Matches the Orders analysis page. Requires `analytics:read`.
369
373
  *
370
374
  * Amounts are in `data.filters.currency`. Only orders in that currency are counted; nothing is converted. A range covers at most 366 days.
371
375
  */
@@ -1391,7 +1395,7 @@ interface paths {
1391
1395
  * Upload Document
1392
1396
  * @description Upload one file to the knowledge base as multipart/form-data. Requires `documents:write`.
1393
1397
  *
1394
- * Accepted: PDF up to 20 MB, Word (.docx) and PowerPoint (.pptx) up to 20 MB, Excel (.xlsx/.xlsm) up to 10 MB, images up to 8 MB, CSV and Markdown up to 2 MB. PDFs, Word, PowerPoint, Markdown, and images are indexed in the background; poll `GET /api/v1/documents/{documentId}` until `status` is `completed`. CSV and Excel are stored for agents to read but are not indexed.
1398
+ * Accepted: PDF up to 20 MB, Word (.docx) and PowerPoint (.pptx) up to 20 MB, Excel (.xlsx/.xlsm) up to 20 MB, images up to 8 MB, CSV and Markdown up to 2 MB. PDFs, Word, PowerPoint, Markdown, and images are indexed in the background; poll `GET /api/v1/documents/{documentId}` until `status` is `completed`. CSV and Excel are stored for agents to read but are not indexed.
1395
1399
  */
1396
1400
  post: operations["post_v1_documents"];
1397
1401
  delete?: never;
@@ -3774,6 +3778,148 @@ interface paths {
3774
3778
  patch?: never;
3775
3779
  trace?: never;
3776
3780
  };
3781
+ "/api/v1/wiki/export": {
3782
+ parameters: {
3783
+ query?: never;
3784
+ header?: never;
3785
+ path?: never;
3786
+ cookie?: never;
3787
+ };
3788
+ /**
3789
+ * Export Wiki
3790
+ * @description Export every active General page as a markdown file with YAML front matter, and the glossary (titles, aliases, related pages) as SKOS in JSON-LD. Requires documents:read.
3791
+ */
3792
+ get: operations["get_v1_wiki_export"];
3793
+ put?: never;
3794
+ post?: never;
3795
+ delete?: never;
3796
+ options?: never;
3797
+ head?: never;
3798
+ patch?: never;
3799
+ trace?: never;
3800
+ };
3801
+ "/api/v1/wiki/import": {
3802
+ parameters: {
3803
+ query?: never;
3804
+ header?: never;
3805
+ path?: never;
3806
+ cookie?: never;
3807
+ };
3808
+ get?: never;
3809
+ put?: never;
3810
+ /**
3811
+ * Import Wiki
3812
+ * @description Create or update General pages from markdown files. Requires documents:write. Front matter may set title, summary, aliases, hiddenLabels, appliesTo and reviewBy; without front matter the first # heading is the title.
3813
+ *
3814
+ * Definitions from older exports are imported into the page body.
3815
+ *
3816
+ * A file updates the page that already holds its title and otherwise creates one, so importing an export is idempotent. Each file is saved on its own and reported separately.
3817
+ */
3818
+ post: operations["post_v1_wiki_import"];
3819
+ delete?: never;
3820
+ options?: never;
3821
+ head?: never;
3822
+ patch?: never;
3823
+ trace?: never;
3824
+ };
3825
+ "/api/v1/wiki/pages": {
3826
+ parameters: {
3827
+ query?: never;
3828
+ header?: never;
3829
+ path?: never;
3830
+ cookie?: never;
3831
+ };
3832
+ /**
3833
+ * List Wiki Pages
3834
+ * @description List the organization's wiki pages with title, aliases and an excerpt. Requires documents:read. Filter with q (title, alias, summary and fragment text) and status (active, stale, archived); sort by newest, title or most_used.
3835
+ */
3836
+ get: operations["get_v1_wiki_pages"];
3837
+ put?: never;
3838
+ /**
3839
+ * Create Wiki Page
3840
+ * @description Create a wiki page. Requires documents:write. The page is saved directly; the approval card applies only to changes an agent proposes in chat.
3841
+ *
3842
+ * Titles and aliases are unique within the organization. Link other pages in the body as [[Page title]]. The page is findable by name at once; fragment, meaning and graph search follow within about a minute.
3843
+ */
3844
+ post: operations["post_v1_wiki_pages"];
3845
+ delete?: never;
3846
+ options?: never;
3847
+ head?: never;
3848
+ patch?: never;
3849
+ trace?: never;
3850
+ };
3851
+ "/api/v1/wiki/pages/{pageId}": {
3852
+ parameters: {
3853
+ query?: never;
3854
+ header?: never;
3855
+ path?: never;
3856
+ cookie?: never;
3857
+ };
3858
+ /**
3859
+ * Get Wiki Page
3860
+ * @description Read one page with its body, labels, linked pages and pages that link to it. Requires documents:read.
3861
+ */
3862
+ get: operations["get_v1_wiki_pages_by_pageid"];
3863
+ put?: never;
3864
+ post?: never;
3865
+ /**
3866
+ * Archive Wiki Page
3867
+ * @description Archive the page. Requires documents:write. Agents stop using it and it leaves search; its history and names are kept, and PATCH with status active restores it.
3868
+ */
3869
+ delete: operations["delete_v1_wiki_pages_by_pageid"];
3870
+ options?: never;
3871
+ head?: never;
3872
+ /**
3873
+ * Update Wiki Page
3874
+ * @description Save a new revision. Requires documents:write. Send only the fields that change; aliases and appliesTo replace the existing lists.
3875
+ *
3876
+ * Pass baseRevisionNumber to refuse the update with 409 if the page changed since you read it. status archives or restores the page. restoreRevisionNumber brings back an earlier revision as the newest one and ignores other fields.
3877
+ */
3878
+ patch: operations["patch_v1_wiki_pages_by_pageid"];
3879
+ trace?: never;
3880
+ };
3881
+ "/api/v1/wiki/pages/{pageId}/revisions": {
3882
+ parameters: {
3883
+ query?: never;
3884
+ header?: never;
3885
+ path?: never;
3886
+ cookie?: never;
3887
+ };
3888
+ /**
3889
+ * List Wiki Page Revisions
3890
+ * @description Every saved revision of a page, newest first, with author, origin and change summary. Requires documents:read.
3891
+ */
3892
+ get: operations["get_v1_wiki_pages_by_pageid_revisions"];
3893
+ put?: never;
3894
+ post?: never;
3895
+ delete?: never;
3896
+ options?: never;
3897
+ head?: never;
3898
+ patch?: never;
3899
+ trace?: never;
3900
+ };
3901
+ "/api/v1/wiki/search": {
3902
+ parameters: {
3903
+ query?: never;
3904
+ header?: never;
3905
+ path?: never;
3906
+ cookie?: never;
3907
+ };
3908
+ get?: never;
3909
+ put?: never;
3910
+ /**
3911
+ * Search Wiki
3912
+ * @description Search the wiki and return the best-matching fragments, the same search agents use. Requires documents:read.
3913
+ *
3914
+ * Results fuse name matches, full text, meaning, graph relationships and page links. retrieval reports which signals were available; degraded is true when the graph or meaning search could not be used.
3915
+ */
3916
+ post: operations["post_v1_wiki_search"];
3917
+ delete?: never;
3918
+ options?: never;
3919
+ head?: never;
3920
+ patch?: never;
3921
+ trace?: never;
3922
+ };
3777
3923
  "/api/v1/zalora/import": {
3778
3924
  parameters: {
3779
3925
  query?: never;
@@ -7971,6 +8117,48 @@ interface operations {
7971
8117
  [key: string]: string;
7972
8118
  };
7973
8119
  data: {
8120
+ attribution: {
8121
+ channels: {
8122
+ key: string;
8123
+ label: string;
8124
+ platform: string;
8125
+ accountId: string | null;
8126
+ currency: string | null;
8127
+ attribution: {
8128
+ channels: string[];
8129
+ creatorHandles: string[];
8130
+ storefront: string | null;
8131
+ };
8132
+ /** @description Seller Analytics Net Revenue, in the row currency. */
8133
+ revenue: number;
8134
+ orderCount: number;
8135
+ unitsSold: number;
8136
+ }[];
8137
+ creators: {
8138
+ key: string;
8139
+ label: string;
8140
+ platform: string;
8141
+ accountId: string | null;
8142
+ currency: string | null;
8143
+ attribution: {
8144
+ channels: string[];
8145
+ creatorHandles: string[];
8146
+ storefront: string | null;
8147
+ };
8148
+ /** @description Seller Analytics Net Revenue, in the row currency. */
8149
+ revenue: number;
8150
+ orderCount: number;
8151
+ unitsSold: number;
8152
+ }[];
8153
+ coverage: {
8154
+ orderCount: number;
8155
+ withChannel: number;
8156
+ withCreator: number;
8157
+ multipleChannels: number;
8158
+ multipleCreators: number;
8159
+ };
8160
+ notes: string[];
8161
+ };
7974
8162
  filters: {
7975
8163
  from: string;
7976
8164
  to: string;
@@ -12919,6 +13107,8 @@ interface operations {
12919
13107
  | "discard_change";
12920
13108
  expectedRevision: number;
12921
13109
  expectedPendingVersion?: number;
13110
+ /** @description Fingerprint from the marketplace validation report, supplied only after the user explicitly acknowledges its seller-review findings for this revision and proposal version. */
13111
+ sellerReviewAcknowledgement?: string;
12922
13112
  /** @description Required for session auth. Optional for an API key, which already identifies the organization. */
12923
13113
  organizationId?: string;
12924
13114
  };
@@ -13661,6 +13851,8 @@ interface operations {
13661
13851
  campaignId: string;
13662
13852
  expectedRevision: number;
13663
13853
  expectedPendingVersion?: number;
13854
+ /** @description Fingerprint from the marketplace validation report, supplied only after the user explicitly acknowledges its seller-review findings for this revision and proposal version. */
13855
+ sellerReviewAcknowledgement?: string;
13664
13856
  }[];
13665
13857
  /** @description Required for session auth. Optional for an API key, which already identifies the organization. */
13666
13858
  organizationId?: string;
@@ -14502,6 +14694,45 @@ interface operations {
14502
14694
  | "archived";
14503
14695
  plan?: components["schemas"]["CampaignPlan"];
14504
14696
  shiftMs?: number;
14697
+ marketplaceValidation?: {
14698
+ organizationId: string;
14699
+ campaignId: string;
14700
+ revision: number;
14701
+ pendingVersion: number | null;
14702
+ checkedAt: string;
14703
+ planIssues: string[];
14704
+ issues: {
14705
+ offerId: string;
14706
+ offerName: string;
14707
+ message: string;
14708
+ }[];
14709
+ checks: {
14710
+ offerId: string;
14711
+ offerName: string;
14712
+ windowId: string;
14713
+ store: {
14714
+ /** @enum {string} */
14715
+ marketplace:
14716
+ | "shopee"
14717
+ | "lazada"
14718
+ | "tiktok"
14719
+ | "shopify"
14720
+ | "whatsapp"
14721
+ | "zalora"
14722
+ | "amazon"
14723
+ | "ebay";
14724
+ country: string;
14725
+ storeId: string;
14726
+ storeName?: string;
14727
+ };
14728
+ productId?: string;
14729
+ sku?: string;
14730
+ /** @enum {string} */
14731
+ status: "passed" | "blocked" | "seller_review";
14732
+ message: string;
14733
+ }[];
14734
+ sellerReviewFingerprint: string | null;
14735
+ };
14505
14736
  }[];
14506
14737
  };
14507
14738
  };
@@ -19265,6 +19496,11 @@ interface operations {
19265
19496
  items?: {
19266
19497
  /** Format: uuid */
19267
19498
  id?: string;
19499
+ attribution?: {
19500
+ channels: string[];
19501
+ creatorHandles: string[];
19502
+ storefront: string | null;
19503
+ };
19268
19504
  status?: string;
19269
19505
  /** @enum {string} */
19270
19506
  statusGroup?:
@@ -19587,6 +19823,11 @@ interface operations {
19587
19823
  externalOrderNumber: string | null;
19588
19824
  /** Format: uri */
19589
19825
  marketplaceOrderUrl?: string | null;
19826
+ attribution: {
19827
+ channels: string[];
19828
+ creatorHandles: string[];
19829
+ storefront: string | null;
19830
+ };
19590
19831
  marketplace: string;
19591
19832
  marketplaceLabel?: string;
19592
19833
  /** @description Normalized display status for the source order. */
@@ -30726,6 +30967,941 @@ interface operations {
30726
30967
  };
30727
30968
  };
30728
30969
  };
30970
+ get_v1_wiki_export: {
30971
+ parameters: {
30972
+ query?: {
30973
+ organizationId?: string;
30974
+ };
30975
+ header?: never;
30976
+ path?: never;
30977
+ cookie?: never;
30978
+ };
30979
+ requestBody?: never;
30980
+ responses: {
30981
+ /** @description Wiki export. */
30982
+ 200: {
30983
+ headers: {
30984
+ [name: string]: unknown;
30985
+ };
30986
+ content: {
30987
+ "application/json": {
30988
+ ok: boolean;
30989
+ /** @constant */
30990
+ apiVersion: "developer_v1";
30991
+ operationId: string;
30992
+ /** @enum {string} */
30993
+ status: "accepted" | "completed" | "failed";
30994
+ jobId?: string;
30995
+ warnings: string[];
30996
+ recommendations: string[];
30997
+ links: {
30998
+ [key: string]: string;
30999
+ };
31000
+ data: {
31001
+ files: {
31002
+ path: string;
31003
+ markdown: string;
31004
+ }[];
31005
+ skos: {
31006
+ [key: string]: unknown;
31007
+ };
31008
+ };
31009
+ };
31010
+ };
31011
+ };
31012
+ /** @description Invalid request. */
31013
+ 400: {
31014
+ headers: {
31015
+ [name: string]: unknown;
31016
+ };
31017
+ content?: never;
31018
+ };
31019
+ /** @description Missing credentials. */
31020
+ 401: {
31021
+ headers: {
31022
+ [name: string]: unknown;
31023
+ };
31024
+ content?: never;
31025
+ };
31026
+ /** @description Missing OAuth scope or organization capability. */
31027
+ 403: {
31028
+ headers: {
31029
+ [name: string]: unknown;
31030
+ };
31031
+ content?: never;
31032
+ };
31033
+ /** @description Wiki page not found in this organization. */
31034
+ 404: {
31035
+ headers: {
31036
+ [name: string]: unknown;
31037
+ };
31038
+ content?: never;
31039
+ };
31040
+ };
31041
+ };
31042
+ post_v1_wiki_import: {
31043
+ parameters: {
31044
+ query?: never;
31045
+ header?: never;
31046
+ path?: never;
31047
+ cookie?: never;
31048
+ };
31049
+ requestBody: {
31050
+ content: {
31051
+ "application/json": {
31052
+ organizationId?: string;
31053
+ files: {
31054
+ path?: string;
31055
+ markdown: string;
31056
+ }[];
31057
+ };
31058
+ };
31059
+ };
31060
+ responses: {
31061
+ /** @description Import result. */
31062
+ 200: {
31063
+ headers: {
31064
+ [name: string]: unknown;
31065
+ };
31066
+ content: {
31067
+ "application/json": {
31068
+ ok: boolean;
31069
+ /** @constant */
31070
+ apiVersion: "developer_v1";
31071
+ operationId: string;
31072
+ /** @enum {string} */
31073
+ status: "accepted" | "completed" | "failed";
31074
+ jobId?: string;
31075
+ warnings: string[];
31076
+ recommendations: string[];
31077
+ links: {
31078
+ [key: string]: string;
31079
+ };
31080
+ data: {
31081
+ created: number;
31082
+ updated: number;
31083
+ unchanged: number;
31084
+ failed: number;
31085
+ results: {
31086
+ path: string | null;
31087
+ title: string | null;
31088
+ /** @enum {string} */
31089
+ outcome: "created" | "updated" | "unchanged" | "failed";
31090
+ pageId?: string;
31091
+ error?: string;
31092
+ }[];
31093
+ };
31094
+ };
31095
+ };
31096
+ };
31097
+ /** @description Invalid request. */
31098
+ 400: {
31099
+ headers: {
31100
+ [name: string]: unknown;
31101
+ };
31102
+ content?: never;
31103
+ };
31104
+ /** @description Missing credentials. */
31105
+ 401: {
31106
+ headers: {
31107
+ [name: string]: unknown;
31108
+ };
31109
+ content?: never;
31110
+ };
31111
+ /** @description Missing OAuth scope or organization capability. */
31112
+ 403: {
31113
+ headers: {
31114
+ [name: string]: unknown;
31115
+ };
31116
+ content?: never;
31117
+ };
31118
+ /** @description Wiki page not found in this organization. */
31119
+ 404: {
31120
+ headers: {
31121
+ [name: string]: unknown;
31122
+ };
31123
+ content?: never;
31124
+ };
31125
+ };
31126
+ };
31127
+ get_v1_wiki_pages: {
31128
+ parameters: {
31129
+ query?: {
31130
+ organizationId?: string;
31131
+ q?: string;
31132
+ status?: "active" | "stale" | "archived";
31133
+ sort?: "newest" | "title" | "most_used";
31134
+ limit?: number;
31135
+ offset?: number;
31136
+ };
31137
+ header?: never;
31138
+ path?: never;
31139
+ cookie?: never;
31140
+ };
31141
+ requestBody?: never;
31142
+ responses: {
31143
+ /** @description Wiki pages. */
31144
+ 200: {
31145
+ headers: {
31146
+ [name: string]: unknown;
31147
+ };
31148
+ content: {
31149
+ "application/json": {
31150
+ ok: boolean;
31151
+ /** @constant */
31152
+ apiVersion: "developer_v1";
31153
+ operationId: string;
31154
+ /** @enum {string} */
31155
+ status: "accepted" | "completed" | "failed";
31156
+ jobId?: string;
31157
+ warnings: string[];
31158
+ recommendations: string[];
31159
+ links: {
31160
+ [key: string]: string;
31161
+ };
31162
+ data: {
31163
+ total: number;
31164
+ pages: {
31165
+ id: string;
31166
+ title: string;
31167
+ summary: string;
31168
+ aliases: string[];
31169
+ excerpt: string;
31170
+ /** @enum {string} */
31171
+ status: "active" | "archived";
31172
+ systemDefined: boolean;
31173
+ stale: boolean;
31174
+ appliesTo: {
31175
+ /** @enum {string} */
31176
+ type:
31177
+ | "store"
31178
+ | "marketplace"
31179
+ | "brand"
31180
+ | "category"
31181
+ | "product"
31182
+ | "supplier";
31183
+ id: string;
31184
+ name?: string;
31185
+ }[];
31186
+ updatedAt: string;
31187
+ updatedByName: string | null;
31188
+ }[];
31189
+ };
31190
+ };
31191
+ };
31192
+ };
31193
+ /** @description Invalid request. */
31194
+ 400: {
31195
+ headers: {
31196
+ [name: string]: unknown;
31197
+ };
31198
+ content?: never;
31199
+ };
31200
+ /** @description Missing credentials. */
31201
+ 401: {
31202
+ headers: {
31203
+ [name: string]: unknown;
31204
+ };
31205
+ content?: never;
31206
+ };
31207
+ /** @description Missing OAuth scope or organization capability. */
31208
+ 403: {
31209
+ headers: {
31210
+ [name: string]: unknown;
31211
+ };
31212
+ content?: never;
31213
+ };
31214
+ /** @description Wiki page not found in this organization. */
31215
+ 404: {
31216
+ headers: {
31217
+ [name: string]: unknown;
31218
+ };
31219
+ content?: never;
31220
+ };
31221
+ };
31222
+ };
31223
+ post_v1_wiki_pages: {
31224
+ parameters: {
31225
+ query?: never;
31226
+ header?: never;
31227
+ path?: never;
31228
+ cookie?: never;
31229
+ };
31230
+ requestBody: {
31231
+ content: {
31232
+ "application/json": {
31233
+ organizationId?: string;
31234
+ title: string;
31235
+ summary?: string;
31236
+ body?: string;
31237
+ aliases?: string[];
31238
+ appliesTo?: {
31239
+ /** @enum {string} */
31240
+ type:
31241
+ | "store"
31242
+ | "marketplace"
31243
+ | "brand"
31244
+ | "category"
31245
+ | "product"
31246
+ | "supplier";
31247
+ id: string;
31248
+ name?: string;
31249
+ }[];
31250
+ reviewBy?: string | null;
31251
+ changeSummary?: string;
31252
+ };
31253
+ };
31254
+ };
31255
+ responses: {
31256
+ /** @description Created wiki page. */
31257
+ 201: {
31258
+ headers: {
31259
+ [name: string]: unknown;
31260
+ };
31261
+ content: {
31262
+ "application/json": {
31263
+ ok: boolean;
31264
+ /** @constant */
31265
+ apiVersion: "developer_v1";
31266
+ operationId: string;
31267
+ /** @enum {string} */
31268
+ status: "accepted" | "completed" | "failed";
31269
+ jobId?: string;
31270
+ warnings: string[];
31271
+ recommendations: string[];
31272
+ links: {
31273
+ [key: string]: string;
31274
+ };
31275
+ data: {
31276
+ id: string;
31277
+ organizationId: string;
31278
+ title: string;
31279
+ summary: string;
31280
+ body: string;
31281
+ /** @enum {string} */
31282
+ status: "active" | "archived";
31283
+ systemDefined: boolean;
31284
+ stale: boolean;
31285
+ appliesTo: {
31286
+ /** @enum {string} */
31287
+ type:
31288
+ | "store"
31289
+ | "marketplace"
31290
+ | "brand"
31291
+ | "category"
31292
+ | "product"
31293
+ | "supplier";
31294
+ id: string;
31295
+ name?: string;
31296
+ }[];
31297
+ labels: {
31298
+ label: string;
31299
+ /** @enum {string} */
31300
+ labelType: "pref" | "alt" | "hidden";
31301
+ language: string | null;
31302
+ }[];
31303
+ revisionNumber: number;
31304
+ lastConfirmedAt: string;
31305
+ reviewBy: string | null;
31306
+ /** @enum {string} */
31307
+ indexStatus: "pending" | "indexed" | "failed";
31308
+ createdAt: string;
31309
+ updatedAt: string;
31310
+ editors: string[];
31311
+ links: {
31312
+ id: string;
31313
+ title: string;
31314
+ summary: string;
31315
+ }[];
31316
+ backlinks: {
31317
+ id: string;
31318
+ title: string;
31319
+ summary: string;
31320
+ }[];
31321
+ };
31322
+ };
31323
+ };
31324
+ };
31325
+ /** @description Invalid request. */
31326
+ 400: {
31327
+ headers: {
31328
+ [name: string]: unknown;
31329
+ };
31330
+ content?: never;
31331
+ };
31332
+ /** @description Missing credentials. */
31333
+ 401: {
31334
+ headers: {
31335
+ [name: string]: unknown;
31336
+ };
31337
+ content?: never;
31338
+ };
31339
+ /** @description Missing OAuth scope or organization capability. */
31340
+ 403: {
31341
+ headers: {
31342
+ [name: string]: unknown;
31343
+ };
31344
+ content?: never;
31345
+ };
31346
+ /** @description Wiki page not found in this organization. */
31347
+ 404: {
31348
+ headers: {
31349
+ [name: string]: unknown;
31350
+ };
31351
+ content?: never;
31352
+ };
31353
+ /** @description A title or alias is already used by another page, or the page changed since baseRevisionNumber. */
31354
+ 409: {
31355
+ headers: {
31356
+ [name: string]: unknown;
31357
+ };
31358
+ content?: never;
31359
+ };
31360
+ };
31361
+ };
31362
+ get_v1_wiki_pages_by_pageid: {
31363
+ parameters: {
31364
+ query?: {
31365
+ organizationId?: string;
31366
+ };
31367
+ header?: never;
31368
+ path: {
31369
+ pageId: string;
31370
+ };
31371
+ cookie?: never;
31372
+ };
31373
+ requestBody?: never;
31374
+ responses: {
31375
+ /** @description Wiki page. */
31376
+ 200: {
31377
+ headers: {
31378
+ [name: string]: unknown;
31379
+ };
31380
+ content: {
31381
+ "application/json": {
31382
+ ok: boolean;
31383
+ /** @constant */
31384
+ apiVersion: "developer_v1";
31385
+ operationId: string;
31386
+ /** @enum {string} */
31387
+ status: "accepted" | "completed" | "failed";
31388
+ jobId?: string;
31389
+ warnings: string[];
31390
+ recommendations: string[];
31391
+ links: {
31392
+ [key: string]: string;
31393
+ };
31394
+ data: {
31395
+ id: string;
31396
+ organizationId: string;
31397
+ title: string;
31398
+ summary: string;
31399
+ body: string;
31400
+ /** @enum {string} */
31401
+ status: "active" | "archived";
31402
+ systemDefined: boolean;
31403
+ stale: boolean;
31404
+ appliesTo: {
31405
+ /** @enum {string} */
31406
+ type:
31407
+ | "store"
31408
+ | "marketplace"
31409
+ | "brand"
31410
+ | "category"
31411
+ | "product"
31412
+ | "supplier";
31413
+ id: string;
31414
+ name?: string;
31415
+ }[];
31416
+ labels: {
31417
+ label: string;
31418
+ /** @enum {string} */
31419
+ labelType: "pref" | "alt" | "hidden";
31420
+ language: string | null;
31421
+ }[];
31422
+ revisionNumber: number;
31423
+ lastConfirmedAt: string;
31424
+ reviewBy: string | null;
31425
+ /** @enum {string} */
31426
+ indexStatus: "pending" | "indexed" | "failed";
31427
+ createdAt: string;
31428
+ updatedAt: string;
31429
+ editors: string[];
31430
+ links: {
31431
+ id: string;
31432
+ title: string;
31433
+ summary: string;
31434
+ }[];
31435
+ backlinks: {
31436
+ id: string;
31437
+ title: string;
31438
+ summary: string;
31439
+ }[];
31440
+ };
31441
+ };
31442
+ };
31443
+ };
31444
+ /** @description Invalid request. */
31445
+ 400: {
31446
+ headers: {
31447
+ [name: string]: unknown;
31448
+ };
31449
+ content?: never;
31450
+ };
31451
+ /** @description Missing credentials. */
31452
+ 401: {
31453
+ headers: {
31454
+ [name: string]: unknown;
31455
+ };
31456
+ content?: never;
31457
+ };
31458
+ /** @description Missing OAuth scope or organization capability. */
31459
+ 403: {
31460
+ headers: {
31461
+ [name: string]: unknown;
31462
+ };
31463
+ content?: never;
31464
+ };
31465
+ /** @description Wiki page not found in this organization. */
31466
+ 404: {
31467
+ headers: {
31468
+ [name: string]: unknown;
31469
+ };
31470
+ content?: never;
31471
+ };
31472
+ };
31473
+ };
31474
+ delete_v1_wiki_pages_by_pageid: {
31475
+ parameters: {
31476
+ query?: {
31477
+ organizationId?: string;
31478
+ };
31479
+ header?: never;
31480
+ path: {
31481
+ pageId: string;
31482
+ };
31483
+ cookie?: never;
31484
+ };
31485
+ requestBody?: never;
31486
+ responses: {
31487
+ /** @description Archived wiki page. */
31488
+ 200: {
31489
+ headers: {
31490
+ [name: string]: unknown;
31491
+ };
31492
+ content: {
31493
+ "application/json": {
31494
+ ok: boolean;
31495
+ /** @constant */
31496
+ apiVersion: "developer_v1";
31497
+ operationId: string;
31498
+ /** @enum {string} */
31499
+ status: "accepted" | "completed" | "failed";
31500
+ jobId?: string;
31501
+ warnings: string[];
31502
+ recommendations: string[];
31503
+ links: {
31504
+ [key: string]: string;
31505
+ };
31506
+ data: {
31507
+ id: string;
31508
+ organizationId: string;
31509
+ title: string;
31510
+ summary: string;
31511
+ body: string;
31512
+ /** @enum {string} */
31513
+ status: "active" | "archived";
31514
+ systemDefined: boolean;
31515
+ stale: boolean;
31516
+ appliesTo: {
31517
+ /** @enum {string} */
31518
+ type:
31519
+ | "store"
31520
+ | "marketplace"
31521
+ | "brand"
31522
+ | "category"
31523
+ | "product"
31524
+ | "supplier";
31525
+ id: string;
31526
+ name?: string;
31527
+ }[];
31528
+ labels: {
31529
+ label: string;
31530
+ /** @enum {string} */
31531
+ labelType: "pref" | "alt" | "hidden";
31532
+ language: string | null;
31533
+ }[];
31534
+ revisionNumber: number;
31535
+ lastConfirmedAt: string;
31536
+ reviewBy: string | null;
31537
+ /** @enum {string} */
31538
+ indexStatus: "pending" | "indexed" | "failed";
31539
+ createdAt: string;
31540
+ updatedAt: string;
31541
+ editors: string[];
31542
+ links: {
31543
+ id: string;
31544
+ title: string;
31545
+ summary: string;
31546
+ }[];
31547
+ backlinks: {
31548
+ id: string;
31549
+ title: string;
31550
+ summary: string;
31551
+ }[];
31552
+ };
31553
+ };
31554
+ };
31555
+ };
31556
+ /** @description Invalid request. */
31557
+ 400: {
31558
+ headers: {
31559
+ [name: string]: unknown;
31560
+ };
31561
+ content?: never;
31562
+ };
31563
+ /** @description Missing credentials. */
31564
+ 401: {
31565
+ headers: {
31566
+ [name: string]: unknown;
31567
+ };
31568
+ content?: never;
31569
+ };
31570
+ /** @description Missing OAuth scope or organization capability. */
31571
+ 403: {
31572
+ headers: {
31573
+ [name: string]: unknown;
31574
+ };
31575
+ content?: never;
31576
+ };
31577
+ /** @description Wiki page not found in this organization. */
31578
+ 404: {
31579
+ headers: {
31580
+ [name: string]: unknown;
31581
+ };
31582
+ content?: never;
31583
+ };
31584
+ };
31585
+ };
31586
+ patch_v1_wiki_pages_by_pageid: {
31587
+ parameters: {
31588
+ query?: never;
31589
+ header?: never;
31590
+ path: {
31591
+ pageId: string;
31592
+ };
31593
+ cookie?: never;
31594
+ };
31595
+ requestBody: {
31596
+ content: {
31597
+ "application/json": {
31598
+ organizationId?: string;
31599
+ title?: string;
31600
+ summary?: string;
31601
+ body?: string;
31602
+ aliases?: string[];
31603
+ appliesTo?: {
31604
+ /** @enum {string} */
31605
+ type:
31606
+ | "store"
31607
+ | "marketplace"
31608
+ | "brand"
31609
+ | "category"
31610
+ | "product"
31611
+ | "supplier";
31612
+ id: string;
31613
+ name?: string;
31614
+ }[];
31615
+ reviewBy?: string | null;
31616
+ changeSummary?: string;
31617
+ baseRevisionNumber?: number;
31618
+ /** @enum {string} */
31619
+ status?: "active" | "archived";
31620
+ restoreRevisionNumber?: number;
31621
+ };
31622
+ };
31623
+ };
31624
+ responses: {
31625
+ /** @description Updated wiki page. */
31626
+ 200: {
31627
+ headers: {
31628
+ [name: string]: unknown;
31629
+ };
31630
+ content: {
31631
+ "application/json": {
31632
+ ok: boolean;
31633
+ /** @constant */
31634
+ apiVersion: "developer_v1";
31635
+ operationId: string;
31636
+ /** @enum {string} */
31637
+ status: "accepted" | "completed" | "failed";
31638
+ jobId?: string;
31639
+ warnings: string[];
31640
+ recommendations: string[];
31641
+ links: {
31642
+ [key: string]: string;
31643
+ };
31644
+ data: {
31645
+ id: string;
31646
+ organizationId: string;
31647
+ title: string;
31648
+ summary: string;
31649
+ body: string;
31650
+ /** @enum {string} */
31651
+ status: "active" | "archived";
31652
+ systemDefined: boolean;
31653
+ stale: boolean;
31654
+ appliesTo: {
31655
+ /** @enum {string} */
31656
+ type:
31657
+ | "store"
31658
+ | "marketplace"
31659
+ | "brand"
31660
+ | "category"
31661
+ | "product"
31662
+ | "supplier";
31663
+ id: string;
31664
+ name?: string;
31665
+ }[];
31666
+ labels: {
31667
+ label: string;
31668
+ /** @enum {string} */
31669
+ labelType: "pref" | "alt" | "hidden";
31670
+ language: string | null;
31671
+ }[];
31672
+ revisionNumber: number;
31673
+ lastConfirmedAt: string;
31674
+ reviewBy: string | null;
31675
+ /** @enum {string} */
31676
+ indexStatus: "pending" | "indexed" | "failed";
31677
+ createdAt: string;
31678
+ updatedAt: string;
31679
+ editors: string[];
31680
+ links: {
31681
+ id: string;
31682
+ title: string;
31683
+ summary: string;
31684
+ }[];
31685
+ backlinks: {
31686
+ id: string;
31687
+ title: string;
31688
+ summary: string;
31689
+ }[];
31690
+ };
31691
+ };
31692
+ };
31693
+ };
31694
+ /** @description Invalid request. */
31695
+ 400: {
31696
+ headers: {
31697
+ [name: string]: unknown;
31698
+ };
31699
+ content?: never;
31700
+ };
31701
+ /** @description Missing credentials. */
31702
+ 401: {
31703
+ headers: {
31704
+ [name: string]: unknown;
31705
+ };
31706
+ content?: never;
31707
+ };
31708
+ /** @description Missing OAuth scope or organization capability. */
31709
+ 403: {
31710
+ headers: {
31711
+ [name: string]: unknown;
31712
+ };
31713
+ content?: never;
31714
+ };
31715
+ /** @description Wiki page not found in this organization. */
31716
+ 404: {
31717
+ headers: {
31718
+ [name: string]: unknown;
31719
+ };
31720
+ content?: never;
31721
+ };
31722
+ /** @description A title or alias is already used by another page, or the page changed since baseRevisionNumber. */
31723
+ 409: {
31724
+ headers: {
31725
+ [name: string]: unknown;
31726
+ };
31727
+ content?: never;
31728
+ };
31729
+ };
31730
+ };
31731
+ get_v1_wiki_pages_by_pageid_revisions: {
31732
+ parameters: {
31733
+ query?: {
31734
+ organizationId?: string;
31735
+ };
31736
+ header?: never;
31737
+ path: {
31738
+ pageId: string;
31739
+ };
31740
+ cookie?: never;
31741
+ };
31742
+ requestBody?: never;
31743
+ responses: {
31744
+ /** @description Revisions. */
31745
+ 200: {
31746
+ headers: {
31747
+ [name: string]: unknown;
31748
+ };
31749
+ content: {
31750
+ "application/json": {
31751
+ ok: boolean;
31752
+ /** @constant */
31753
+ apiVersion: "developer_v1";
31754
+ operationId: string;
31755
+ /** @enum {string} */
31756
+ status: "accepted" | "completed" | "failed";
31757
+ jobId?: string;
31758
+ warnings: string[];
31759
+ recommendations: string[];
31760
+ links: {
31761
+ [key: string]: string;
31762
+ };
31763
+ data: {
31764
+ revisions: {
31765
+ revisionNumber: number;
31766
+ title: string;
31767
+ summary: string;
31768
+ body: string;
31769
+ /** @enum {string} */
31770
+ originType:
31771
+ | "person"
31772
+ | "agent"
31773
+ | "import"
31774
+ | "bootstrap"
31775
+ | "system";
31776
+ changeSummary: string | null;
31777
+ createdByName: string | null;
31778
+ createdAt: string;
31779
+ }[];
31780
+ };
31781
+ };
31782
+ };
31783
+ };
31784
+ /** @description Invalid request. */
31785
+ 400: {
31786
+ headers: {
31787
+ [name: string]: unknown;
31788
+ };
31789
+ content?: never;
31790
+ };
31791
+ /** @description Missing credentials. */
31792
+ 401: {
31793
+ headers: {
31794
+ [name: string]: unknown;
31795
+ };
31796
+ content?: never;
31797
+ };
31798
+ /** @description Missing OAuth scope or organization capability. */
31799
+ 403: {
31800
+ headers: {
31801
+ [name: string]: unknown;
31802
+ };
31803
+ content?: never;
31804
+ };
31805
+ /** @description Wiki page not found in this organization. */
31806
+ 404: {
31807
+ headers: {
31808
+ [name: string]: unknown;
31809
+ };
31810
+ content?: never;
31811
+ };
31812
+ };
31813
+ };
31814
+ post_v1_wiki_search: {
31815
+ parameters: {
31816
+ query?: never;
31817
+ header?: never;
31818
+ path?: never;
31819
+ cookie?: never;
31820
+ };
31821
+ requestBody: {
31822
+ content: {
31823
+ "application/json": {
31824
+ organizationId?: string;
31825
+ query: string;
31826
+ topK?: number;
31827
+ };
31828
+ };
31829
+ };
31830
+ responses: {
31831
+ /** @description Matching fragments. */
31832
+ 200: {
31833
+ headers: {
31834
+ [name: string]: unknown;
31835
+ };
31836
+ content: {
31837
+ "application/json": {
31838
+ ok: boolean;
31839
+ /** @constant */
31840
+ apiVersion: "developer_v1";
31841
+ operationId: string;
31842
+ /** @enum {string} */
31843
+ status: "accepted" | "completed" | "failed";
31844
+ jobId?: string;
31845
+ warnings: string[];
31846
+ recommendations: string[];
31847
+ links: {
31848
+ [key: string]: string;
31849
+ };
31850
+ data: {
31851
+ query: string;
31852
+ count: number;
31853
+ hits: {
31854
+ pageId: string;
31855
+ title: string;
31856
+ summary: string;
31857
+ chunkId: string;
31858
+ chunkIndex: number;
31859
+ revisionNumber: number;
31860
+ snippet: string;
31861
+ score: number;
31862
+ matchedBy: ("label" | "text" | "meaning" | "graph" | "link")[];
31863
+ stale: boolean;
31864
+ lastConfirmedAt: string | null;
31865
+ }[];
31866
+ retrieval: {
31867
+ graph: boolean;
31868
+ meaning: boolean;
31869
+ degraded: boolean;
31870
+ };
31871
+ };
31872
+ };
31873
+ };
31874
+ };
31875
+ /** @description Invalid request. */
31876
+ 400: {
31877
+ headers: {
31878
+ [name: string]: unknown;
31879
+ };
31880
+ content?: never;
31881
+ };
31882
+ /** @description Missing credentials. */
31883
+ 401: {
31884
+ headers: {
31885
+ [name: string]: unknown;
31886
+ };
31887
+ content?: never;
31888
+ };
31889
+ /** @description Missing OAuth scope or organization capability. */
31890
+ 403: {
31891
+ headers: {
31892
+ [name: string]: unknown;
31893
+ };
31894
+ content?: never;
31895
+ };
31896
+ /** @description Wiki page not found in this organization. */
31897
+ 404: {
31898
+ headers: {
31899
+ [name: string]: unknown;
31900
+ };
31901
+ content?: never;
31902
+ };
31903
+ };
31904
+ };
30729
31905
  get_v1_zalora_import: {
30730
31906
  parameters: {
30731
31907
  query: {
@@ -33131,7 +34307,11 @@ declare class AnalyticsClient {
33131
34307
  /**
33132
34308
  * Get Order Analytics
33133
34309
  *
33134
- * Order KPIs with their change against the previous period, a daily trend, sales by order status and by marketplace, and the top products by net sales. Repeat buyers are counted but not listed. Matches the Orders analysis page. Requires `analytics:read`.
34310
+ * Order KPIs with their change against the previous period, a daily trend, sales by order status and by marketplace, and the top products by net sales. Repeat buyers are counted but not listed.
34311
+
34312
+ ### Order attribution
34313
+
34314
+ `attribution` contains normalized order channels and creator handles, Net Revenue rankings partitioned by currency and exact store, and evidence coverage. Joint creator/channel groups count each order once; missing evidence is explicit. Matches the Orders analysis page. Requires `analytics:read`.
33135
34315
 
33136
34316
  Amounts are in `data.filters.currency`. Only orders in that currency are counted; nothing is converted. A range covers at most 366 days.
33137
34317
  *
@@ -33761,7 +34941,7 @@ declare class DocumentsClient {
33761
34941
  *
33762
34942
  * Upload one file to the knowledge base as multipart/form-data. Requires `documents:write`.
33763
34943
 
33764
- Accepted: PDF up to 20 MB, Word (.docx) and PowerPoint (.pptx) up to 20 MB, Excel (.xlsx/.xlsm) up to 10 MB, images up to 8 MB, CSV and Markdown up to 2 MB. PDFs, Word, PowerPoint, Markdown, and images are indexed in the background; poll `GET /api/v1/documents/{documentId}` until `status` is `completed`. CSV and Excel are stored for agents to read but are not indexed.
34944
+ Accepted: PDF up to 20 MB, Word (.docx) and PowerPoint (.pptx) up to 20 MB, Excel (.xlsx/.xlsm) up to 20 MB, images up to 8 MB, CSV and Markdown up to 2 MB. PDFs, Word, PowerPoint, Markdown, and images are indexed in the background; poll `GET /api/v1/documents/{documentId}` until `status` is `completed`. CSV and Excel are stored for agents to read but are not indexed.
33765
34945
  *
33766
34946
  * `POST /api/v1/documents`
33767
34947
  */
@@ -35302,6 +36482,92 @@ declare class WebhooksClient {
35302
36482
  */
35303
36483
  create(request: OperationBody<operations["post_v1_webhooks"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_webhooks"]>>;
35304
36484
  }
36485
+ declare class WikiClient {
36486
+ protected readonly _http: OmniHttp;
36487
+ constructor(_http: OmniHttp);
36488
+ /**
36489
+ * Export Wiki
36490
+ *
36491
+ * Export every active General page as a markdown file with YAML front matter, and the glossary (titles, aliases, related pages) as SKOS in JSON-LD. Requires documents:read.
36492
+ *
36493
+ * `GET /api/v1/wiki/export`
36494
+ */
36495
+ exportPages(request?: OperationQuery<operations["get_v1_wiki_export"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["get_v1_wiki_export"]>>;
36496
+ /**
36497
+ * Import Wiki
36498
+ *
36499
+ * Create or update General pages from markdown files. Requires documents:write. Front matter may set title, summary, aliases, hiddenLabels, appliesTo and reviewBy; without front matter the first # heading is the title.
36500
+
36501
+ Definitions from older exports are imported into the page body.
36502
+
36503
+ A file updates the page that already holds its title and otherwise creates one, so importing an export is idempotent. Each file is saved on its own and reported separately.
36504
+ *
36505
+ * `POST /api/v1/wiki/import`
36506
+ */
36507
+ importPages(request: OperationBody<operations["post_v1_wiki_import"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_wiki_import"]>>;
36508
+ /**
36509
+ * List Wiki Pages
36510
+ *
36511
+ * List the organization's wiki pages with title, aliases and an excerpt. Requires documents:read. Filter with q (title, alias, summary and fragment text) and status (active, stale, archived); sort by newest, title or most_used.
36512
+ *
36513
+ * `GET /api/v1/wiki/pages`
36514
+ */
36515
+ listPages(request?: OperationQuery<operations["get_v1_wiki_pages"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["get_v1_wiki_pages"]>>;
36516
+ /**
36517
+ * Create Wiki Page
36518
+ *
36519
+ * Create a wiki page. Requires documents:write. The page is saved directly; the approval card applies only to changes an agent proposes in chat.
36520
+
36521
+ Titles and aliases are unique within the organization. Link other pages in the body as [[Page title]]. The page is findable by name at once; fragment, meaning and graph search follow within about a minute.
36522
+ *
36523
+ * `POST /api/v1/wiki/pages`
36524
+ */
36525
+ createPage(request: OperationBody<operations["post_v1_wiki_pages"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_wiki_pages"]>>;
36526
+ /**
36527
+ * Archive Wiki Page
36528
+ *
36529
+ * Archive the page. Requires documents:write. Agents stop using it and it leaves search; its history and names are kept, and PATCH with status active restores it.
36530
+ *
36531
+ * `DELETE /api/v1/wiki/pages/{pageId}`
36532
+ */
36533
+ archivePage(request: OperationPath<operations["delete_v1_wiki_pages_by_pageid"]> & OperationQuery<operations["delete_v1_wiki_pages_by_pageid"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["delete_v1_wiki_pages_by_pageid"]>>;
36534
+ /**
36535
+ * Get Wiki Page
36536
+ *
36537
+ * Read one page with its body, labels, linked pages and pages that link to it. Requires documents:read.
36538
+ *
36539
+ * `GET /api/v1/wiki/pages/{pageId}`
36540
+ */
36541
+ getPage(request: OperationPath<operations["get_v1_wiki_pages_by_pageid"]> & OperationQuery<operations["get_v1_wiki_pages_by_pageid"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["get_v1_wiki_pages_by_pageid"]>>;
36542
+ /**
36543
+ * Update Wiki Page
36544
+ *
36545
+ * Save a new revision. Requires documents:write. Send only the fields that change; aliases and appliesTo replace the existing lists.
36546
+
36547
+ Pass baseRevisionNumber to refuse the update with 409 if the page changed since you read it. status archives or restores the page. restoreRevisionNumber brings back an earlier revision as the newest one and ignores other fields.
36548
+ *
36549
+ * `PATCH /api/v1/wiki/pages/{pageId}`
36550
+ */
36551
+ updatePage(request: OperationPath<operations["patch_v1_wiki_pages_by_pageid"]> & OperationBody<operations["patch_v1_wiki_pages_by_pageid"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["patch_v1_wiki_pages_by_pageid"]>>;
36552
+ /**
36553
+ * List Wiki Page Revisions
36554
+ *
36555
+ * Every saved revision of a page, newest first, with author, origin and change summary. Requires documents:read.
36556
+ *
36557
+ * `GET /api/v1/wiki/pages/{pageId}/revisions`
36558
+ */
36559
+ listRevisions(request: OperationPath<operations["get_v1_wiki_pages_by_pageid_revisions"]> & OperationQuery<operations["get_v1_wiki_pages_by_pageid_revisions"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["get_v1_wiki_pages_by_pageid_revisions"]>>;
36560
+ /**
36561
+ * Search Wiki
36562
+ *
36563
+ * Search the wiki and return the best-matching fragments, the same search agents use. Requires documents:read.
36564
+
36565
+ Results fuse name matches, full text, meaning, graph relationships and page links. retrieval reports which signals were available; degraded is true when the graph or meaning search could not be used.
36566
+ *
36567
+ * `POST /api/v1/wiki/search`
36568
+ */
36569
+ search(request: OperationBody<operations["post_v1_wiki_search"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_wiki_search"]>>;
36570
+ }
35305
36571
  declare class ZaloraClient {
35306
36572
  protected readonly _http: OmniHttp;
35307
36573
  constructor(_http: OmniHttp);
@@ -35373,6 +36639,7 @@ declare class OmniGeneratedClient {
35373
36639
  readonly ucp: UcpClient;
35374
36640
  readonly webhookEvents: WebhookEventsClient;
35375
36641
  readonly webhooks: WebhooksClient;
36642
+ readonly wiki: WikiClient;
35376
36643
  readonly zalora: ZaloraClient;
35377
36644
  constructor(_http: OmniHttp);
35378
36645
  }
@@ -35418,6 +36685,7 @@ type OmniResources = {
35418
36685
  ucp: UcpClient;
35419
36686
  webhookEvents: WebhookEventsClient;
35420
36687
  webhooks: WebhooksClient;
36688
+ wiki: WikiClient;
35421
36689
  zalora: ZaloraClient;
35422
36690
  };
35423
36691
 
@@ -35462,7 +36730,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
35462
36730
  toleranceInSeconds?: number;
35463
36731
  }): Promise<ConstructedWebhookEvent>;
35464
36732
 
35465
- declare const SDK_VERSION = "0.25.0";
36733
+ declare const SDK_VERSION = "0.26.0";
35466
36734
 
35467
36735
  type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
35468
36736
  type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];