@omni-commerce/sdk 0.6.0 → 0.7.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.ts CHANGED
@@ -906,7 +906,7 @@ interface paths {
906
906
  * Upload Document
907
907
  * @description Upload one file to the knowledge base as multipart/form-data. Requires `documents:write`.
908
908
  *
909
- * Accepted: PDF up to 20 MB, Excel (.xlsx/.xlsm) up to 10 MB, images up to 8 MB, CSV and Markdown up to 2 MB. PDFs, 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.
909
+ * 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.
910
910
  */
911
911
  post: operations["post_v1_documents"];
912
912
  delete?: never;
@@ -3839,6 +3839,788 @@ interface components {
3839
3839
  } & {
3840
3840
  [key: string]: unknown;
3841
3841
  };
3842
+ AccountStatementCreatedWebhookEvent: {
3843
+ /** @constant */
3844
+ schemaVersion: "2026-10-06";
3845
+ id: string;
3846
+ organizationId: string;
3847
+ /** Format: date-time */
3848
+ occurredAt: string;
3849
+ /** Format: date-time */
3850
+ publishedAt: string;
3851
+ resourceVersion: number;
3852
+ /** @constant */
3853
+ source: "account-statements.sync";
3854
+ /** @constant */
3855
+ type: "account_statement.created";
3856
+ subject: {
3857
+ /** @constant */
3858
+ type: "account_statement";
3859
+ /** Format: uuid */
3860
+ id: string;
3861
+ };
3862
+ data: {
3863
+ statement: {
3864
+ /** Format: uuid */
3865
+ id: string;
3866
+ /** @enum {string} */
3867
+ platform:
3868
+ | "shopee"
3869
+ | "lazada"
3870
+ | "tiktok"
3871
+ | "shopify"
3872
+ | "whatsapp"
3873
+ | "zalora"
3874
+ | "amazon"
3875
+ | "ebay";
3876
+ accountId: string;
3877
+ statementNumber: string;
3878
+ currency: string | null;
3879
+ country: string | null;
3880
+ /** @enum {string} */
3881
+ amountBasis: "payout" | "released_income";
3882
+ periodStart: string | null;
3883
+ periodEnd: string | null;
3884
+ statementAt: string | null;
3885
+ dueDate: string | null;
3886
+ paidAt: string | null;
3887
+ paymentReference: string | null;
3888
+ /** @enum {string} */
3889
+ paymentStatus: "open" | "unknown" | "unpaid" | "paid" | "failed";
3890
+ openingBalance: string | null;
3891
+ closingBalance: string | null;
3892
+ payoutAmount: string | null;
3893
+ linesNet: string | null;
3894
+ adjustmentsNet: string | null;
3895
+ expectedAmount: string | null;
3896
+ gap: string | null;
3897
+ /** @enum {string} */
3898
+ reconciliationStatus:
3899
+ | "open"
3900
+ | "currency_unknown"
3901
+ | "partial"
3902
+ | "unknown"
3903
+ | "matched"
3904
+ | "gap";
3905
+ /** @enum {string} */
3906
+ reconciliationBasis:
3907
+ | "balance movement"
3908
+ | "released income"
3909
+ | "payout";
3910
+ orderCount: number;
3911
+ lineCount: number;
3912
+ currencyMismatchCount: number;
3913
+ unlinkedOrderCount: number;
3914
+ linesVerified: boolean;
3915
+ /** @enum {string} */
3916
+ transactionRefreshStatus: "pending" | "complete" | "failed";
3917
+ };
3918
+ previousPaymentStatus:
3919
+ | ("open" | "unknown" | "unpaid" | "paid" | "failed")
3920
+ | null;
3921
+ previousReconciliationStatus:
3922
+ | (
3923
+ | "open"
3924
+ | "currency_unknown"
3925
+ | "partial"
3926
+ | "unknown"
3927
+ | "matched"
3928
+ | "gap"
3929
+ )
3930
+ | null;
3931
+ changedFields: string[];
3932
+ };
3933
+ };
3934
+ AccountStatementUpdatedWebhookEvent: {
3935
+ /** @constant */
3936
+ schemaVersion: "2026-10-06";
3937
+ id: string;
3938
+ organizationId: string;
3939
+ /** Format: date-time */
3940
+ occurredAt: string;
3941
+ /** Format: date-time */
3942
+ publishedAt: string;
3943
+ resourceVersion: number;
3944
+ /** @constant */
3945
+ source: "account-statements.sync";
3946
+ /** @constant */
3947
+ type: "account_statement.updated";
3948
+ subject: {
3949
+ /** @constant */
3950
+ type: "account_statement";
3951
+ /** Format: uuid */
3952
+ id: string;
3953
+ };
3954
+ data: {
3955
+ statement: {
3956
+ /** Format: uuid */
3957
+ id: string;
3958
+ /** @enum {string} */
3959
+ platform:
3960
+ | "shopee"
3961
+ | "lazada"
3962
+ | "tiktok"
3963
+ | "shopify"
3964
+ | "whatsapp"
3965
+ | "zalora"
3966
+ | "amazon"
3967
+ | "ebay";
3968
+ accountId: string;
3969
+ statementNumber: string;
3970
+ currency: string | null;
3971
+ country: string | null;
3972
+ /** @enum {string} */
3973
+ amountBasis: "payout" | "released_income";
3974
+ periodStart: string | null;
3975
+ periodEnd: string | null;
3976
+ statementAt: string | null;
3977
+ dueDate: string | null;
3978
+ paidAt: string | null;
3979
+ paymentReference: string | null;
3980
+ /** @enum {string} */
3981
+ paymentStatus: "open" | "unknown" | "unpaid" | "paid" | "failed";
3982
+ openingBalance: string | null;
3983
+ closingBalance: string | null;
3984
+ payoutAmount: string | null;
3985
+ linesNet: string | null;
3986
+ adjustmentsNet: string | null;
3987
+ expectedAmount: string | null;
3988
+ gap: string | null;
3989
+ /** @enum {string} */
3990
+ reconciliationStatus:
3991
+ | "open"
3992
+ | "currency_unknown"
3993
+ | "partial"
3994
+ | "unknown"
3995
+ | "matched"
3996
+ | "gap";
3997
+ /** @enum {string} */
3998
+ reconciliationBasis:
3999
+ | "balance movement"
4000
+ | "released income"
4001
+ | "payout";
4002
+ orderCount: number;
4003
+ lineCount: number;
4004
+ currencyMismatchCount: number;
4005
+ unlinkedOrderCount: number;
4006
+ linesVerified: boolean;
4007
+ /** @enum {string} */
4008
+ transactionRefreshStatus: "pending" | "complete" | "failed";
4009
+ };
4010
+ previousPaymentStatus:
4011
+ | ("open" | "unknown" | "unpaid" | "paid" | "failed")
4012
+ | null;
4013
+ previousReconciliationStatus:
4014
+ | (
4015
+ | "open"
4016
+ | "currency_unknown"
4017
+ | "partial"
4018
+ | "unknown"
4019
+ | "matched"
4020
+ | "gap"
4021
+ )
4022
+ | null;
4023
+ changedFields: string[];
4024
+ };
4025
+ };
4026
+ AccountStatementStatusChangedWebhookEvent: {
4027
+ /** @constant */
4028
+ schemaVersion: "2026-10-06";
4029
+ id: string;
4030
+ organizationId: string;
4031
+ /** Format: date-time */
4032
+ occurredAt: string;
4033
+ /** Format: date-time */
4034
+ publishedAt: string;
4035
+ resourceVersion: number;
4036
+ /** @constant */
4037
+ source: "account-statements.sync";
4038
+ /** @constant */
4039
+ type: "account_statement.status.changed";
4040
+ subject: {
4041
+ /** @constant */
4042
+ type: "account_statement";
4043
+ /** Format: uuid */
4044
+ id: string;
4045
+ };
4046
+ data: {
4047
+ statement: {
4048
+ /** Format: uuid */
4049
+ id: string;
4050
+ /** @enum {string} */
4051
+ platform:
4052
+ | "shopee"
4053
+ | "lazada"
4054
+ | "tiktok"
4055
+ | "shopify"
4056
+ | "whatsapp"
4057
+ | "zalora"
4058
+ | "amazon"
4059
+ | "ebay";
4060
+ accountId: string;
4061
+ statementNumber: string;
4062
+ currency: string | null;
4063
+ country: string | null;
4064
+ /** @enum {string} */
4065
+ amountBasis: "payout" | "released_income";
4066
+ periodStart: string | null;
4067
+ periodEnd: string | null;
4068
+ statementAt: string | null;
4069
+ dueDate: string | null;
4070
+ paidAt: string | null;
4071
+ paymentReference: string | null;
4072
+ /** @enum {string} */
4073
+ paymentStatus: "open" | "unknown" | "unpaid" | "paid" | "failed";
4074
+ openingBalance: string | null;
4075
+ closingBalance: string | null;
4076
+ payoutAmount: string | null;
4077
+ linesNet: string | null;
4078
+ adjustmentsNet: string | null;
4079
+ expectedAmount: string | null;
4080
+ gap: string | null;
4081
+ /** @enum {string} */
4082
+ reconciliationStatus:
4083
+ | "open"
4084
+ | "currency_unknown"
4085
+ | "partial"
4086
+ | "unknown"
4087
+ | "matched"
4088
+ | "gap";
4089
+ /** @enum {string} */
4090
+ reconciliationBasis:
4091
+ | "balance movement"
4092
+ | "released income"
4093
+ | "payout";
4094
+ orderCount: number;
4095
+ lineCount: number;
4096
+ currencyMismatchCount: number;
4097
+ unlinkedOrderCount: number;
4098
+ linesVerified: boolean;
4099
+ /** @enum {string} */
4100
+ transactionRefreshStatus: "pending" | "complete" | "failed";
4101
+ };
4102
+ previousPaymentStatus:
4103
+ | ("open" | "unknown" | "unpaid" | "paid" | "failed")
4104
+ | null;
4105
+ previousReconciliationStatus:
4106
+ | (
4107
+ | "open"
4108
+ | "currency_unknown"
4109
+ | "partial"
4110
+ | "unknown"
4111
+ | "matched"
4112
+ | "gap"
4113
+ )
4114
+ | null;
4115
+ changedFields: string[];
4116
+ };
4117
+ };
4118
+ AccountStatementReconciliationChangedWebhookEvent: {
4119
+ /** @constant */
4120
+ schemaVersion: "2026-10-06";
4121
+ id: string;
4122
+ organizationId: string;
4123
+ /** Format: date-time */
4124
+ occurredAt: string;
4125
+ /** Format: date-time */
4126
+ publishedAt: string;
4127
+ resourceVersion: number;
4128
+ /** @constant */
4129
+ source: "account-statements.sync";
4130
+ /** @constant */
4131
+ type: "account_statement.reconciliation.changed";
4132
+ subject: {
4133
+ /** @constant */
4134
+ type: "account_statement";
4135
+ /** Format: uuid */
4136
+ id: string;
4137
+ };
4138
+ data: {
4139
+ statement: {
4140
+ /** Format: uuid */
4141
+ id: string;
4142
+ /** @enum {string} */
4143
+ platform:
4144
+ | "shopee"
4145
+ | "lazada"
4146
+ | "tiktok"
4147
+ | "shopify"
4148
+ | "whatsapp"
4149
+ | "zalora"
4150
+ | "amazon"
4151
+ | "ebay";
4152
+ accountId: string;
4153
+ statementNumber: string;
4154
+ currency: string | null;
4155
+ country: string | null;
4156
+ /** @enum {string} */
4157
+ amountBasis: "payout" | "released_income";
4158
+ periodStart: string | null;
4159
+ periodEnd: string | null;
4160
+ statementAt: string | null;
4161
+ dueDate: string | null;
4162
+ paidAt: string | null;
4163
+ paymentReference: string | null;
4164
+ /** @enum {string} */
4165
+ paymentStatus: "open" | "unknown" | "unpaid" | "paid" | "failed";
4166
+ openingBalance: string | null;
4167
+ closingBalance: string | null;
4168
+ payoutAmount: string | null;
4169
+ linesNet: string | null;
4170
+ adjustmentsNet: string | null;
4171
+ expectedAmount: string | null;
4172
+ gap: string | null;
4173
+ /** @enum {string} */
4174
+ reconciliationStatus:
4175
+ | "open"
4176
+ | "currency_unknown"
4177
+ | "partial"
4178
+ | "unknown"
4179
+ | "matched"
4180
+ | "gap";
4181
+ /** @enum {string} */
4182
+ reconciliationBasis:
4183
+ | "balance movement"
4184
+ | "released income"
4185
+ | "payout";
4186
+ orderCount: number;
4187
+ lineCount: number;
4188
+ currencyMismatchCount: number;
4189
+ unlinkedOrderCount: number;
4190
+ linesVerified: boolean;
4191
+ /** @enum {string} */
4192
+ transactionRefreshStatus: "pending" | "complete" | "failed";
4193
+ };
4194
+ previousPaymentStatus:
4195
+ | ("open" | "unknown" | "unpaid" | "paid" | "failed")
4196
+ | null;
4197
+ previousReconciliationStatus:
4198
+ | (
4199
+ | "open"
4200
+ | "currency_unknown"
4201
+ | "partial"
4202
+ | "unknown"
4203
+ | "matched"
4204
+ | "gap"
4205
+ )
4206
+ | null;
4207
+ changedFields: string[];
4208
+ };
4209
+ };
4210
+ AccountStatementTransactionsSyncedWebhookEvent: {
4211
+ /** @constant */
4212
+ schemaVersion: "2026-10-06";
4213
+ id: string;
4214
+ organizationId: string;
4215
+ /** Format: date-time */
4216
+ occurredAt: string;
4217
+ /** Format: date-time */
4218
+ publishedAt: string;
4219
+ resourceVersion: number;
4220
+ /** @constant */
4221
+ source: "account-statements.sync";
4222
+ /** @constant */
4223
+ type: "account_statement.transactions.synced";
4224
+ subject: {
4225
+ /** @constant */
4226
+ type: "account_statement";
4227
+ /** Format: uuid */
4228
+ id: string;
4229
+ };
4230
+ data: {
4231
+ statement: {
4232
+ /** Format: uuid */
4233
+ id: string;
4234
+ /** @enum {string} */
4235
+ platform:
4236
+ | "shopee"
4237
+ | "lazada"
4238
+ | "tiktok"
4239
+ | "shopify"
4240
+ | "whatsapp"
4241
+ | "zalora"
4242
+ | "amazon"
4243
+ | "ebay";
4244
+ accountId: string;
4245
+ statementNumber: string;
4246
+ currency: string | null;
4247
+ country: string | null;
4248
+ /** @enum {string} */
4249
+ amountBasis: "payout" | "released_income";
4250
+ periodStart: string | null;
4251
+ periodEnd: string | null;
4252
+ statementAt: string | null;
4253
+ dueDate: string | null;
4254
+ paidAt: string | null;
4255
+ paymentReference: string | null;
4256
+ /** @enum {string} */
4257
+ paymentStatus: "open" | "unknown" | "unpaid" | "paid" | "failed";
4258
+ openingBalance: string | null;
4259
+ closingBalance: string | null;
4260
+ payoutAmount: string | null;
4261
+ linesNet: string | null;
4262
+ adjustmentsNet: string | null;
4263
+ expectedAmount: string | null;
4264
+ gap: string | null;
4265
+ /** @enum {string} */
4266
+ reconciliationStatus:
4267
+ | "open"
4268
+ | "currency_unknown"
4269
+ | "partial"
4270
+ | "unknown"
4271
+ | "matched"
4272
+ | "gap";
4273
+ /** @enum {string} */
4274
+ reconciliationBasis:
4275
+ | "balance movement"
4276
+ | "released income"
4277
+ | "payout";
4278
+ orderCount: number;
4279
+ lineCount: number;
4280
+ currencyMismatchCount: number;
4281
+ unlinkedOrderCount: number;
4282
+ linesVerified: boolean;
4283
+ /** @enum {string} */
4284
+ transactionRefreshStatus: "pending" | "complete" | "failed";
4285
+ };
4286
+ previousPaymentStatus:
4287
+ | ("open" | "unknown" | "unpaid" | "paid" | "failed")
4288
+ | null;
4289
+ previousReconciliationStatus:
4290
+ | (
4291
+ | "open"
4292
+ | "currency_unknown"
4293
+ | "partial"
4294
+ | "unknown"
4295
+ | "matched"
4296
+ | "gap"
4297
+ )
4298
+ | null;
4299
+ changedFields: string[];
4300
+ };
4301
+ };
4302
+ AccountStatementTransactionsFailedWebhookEvent: {
4303
+ /** @constant */
4304
+ schemaVersion: "2026-10-06";
4305
+ id: string;
4306
+ organizationId: string;
4307
+ /** Format: date-time */
4308
+ occurredAt: string;
4309
+ /** Format: date-time */
4310
+ publishedAt: string;
4311
+ resourceVersion: number;
4312
+ /** @constant */
4313
+ source: "account-statements.sync";
4314
+ /** @constant */
4315
+ type: "account_statement.transactions.failed";
4316
+ subject: {
4317
+ /** @constant */
4318
+ type: "account_statement";
4319
+ /** Format: uuid */
4320
+ id: string;
4321
+ };
4322
+ data: {
4323
+ statement: {
4324
+ /** Format: uuid */
4325
+ id: string;
4326
+ /** @enum {string} */
4327
+ platform:
4328
+ | "shopee"
4329
+ | "lazada"
4330
+ | "tiktok"
4331
+ | "shopify"
4332
+ | "whatsapp"
4333
+ | "zalora"
4334
+ | "amazon"
4335
+ | "ebay";
4336
+ accountId: string;
4337
+ statementNumber: string;
4338
+ currency: string | null;
4339
+ country: string | null;
4340
+ /** @enum {string} */
4341
+ amountBasis: "payout" | "released_income";
4342
+ periodStart: string | null;
4343
+ periodEnd: string | null;
4344
+ statementAt: string | null;
4345
+ dueDate: string | null;
4346
+ paidAt: string | null;
4347
+ paymentReference: string | null;
4348
+ /** @enum {string} */
4349
+ paymentStatus: "open" | "unknown" | "unpaid" | "paid" | "failed";
4350
+ openingBalance: string | null;
4351
+ closingBalance: string | null;
4352
+ payoutAmount: string | null;
4353
+ linesNet: string | null;
4354
+ adjustmentsNet: string | null;
4355
+ expectedAmount: string | null;
4356
+ gap: string | null;
4357
+ /** @enum {string} */
4358
+ reconciliationStatus:
4359
+ | "open"
4360
+ | "currency_unknown"
4361
+ | "partial"
4362
+ | "unknown"
4363
+ | "matched"
4364
+ | "gap";
4365
+ /** @enum {string} */
4366
+ reconciliationBasis:
4367
+ | "balance movement"
4368
+ | "released income"
4369
+ | "payout";
4370
+ orderCount: number;
4371
+ lineCount: number;
4372
+ currencyMismatchCount: number;
4373
+ unlinkedOrderCount: number;
4374
+ linesVerified: boolean;
4375
+ /** @enum {string} */
4376
+ transactionRefreshStatus: "pending" | "complete" | "failed";
4377
+ };
4378
+ previousPaymentStatus:
4379
+ | ("open" | "unknown" | "unpaid" | "paid" | "failed")
4380
+ | null;
4381
+ previousReconciliationStatus:
4382
+ | (
4383
+ | "open"
4384
+ | "currency_unknown"
4385
+ | "partial"
4386
+ | "unknown"
4387
+ | "matched"
4388
+ | "gap"
4389
+ )
4390
+ | null;
4391
+ changedFields: string[];
4392
+ };
4393
+ };
4394
+ AccountStatementSyncQueuedWebhookEvent: {
4395
+ /** @constant */
4396
+ schemaVersion: "2026-10-06";
4397
+ id: string;
4398
+ organizationId: string;
4399
+ /** Format: date-time */
4400
+ occurredAt: string;
4401
+ /** Format: date-time */
4402
+ publishedAt: string;
4403
+ resourceVersion: number;
4404
+ /** @constant */
4405
+ source: "account-statements.sync";
4406
+ /** @constant */
4407
+ type: "account_statement.sync.queued";
4408
+ subject: {
4409
+ /** @constant */
4410
+ type: "account_statement_sync";
4411
+ /** Format: uuid */
4412
+ id: string;
4413
+ };
4414
+ data: {
4415
+ sync: {
4416
+ /** Format: uuid */
4417
+ id: string;
4418
+ /** @enum {string} */
4419
+ platform:
4420
+ | "shopee"
4421
+ | "lazada"
4422
+ | "tiktok"
4423
+ | "shopify"
4424
+ | "whatsapp"
4425
+ | "zalora"
4426
+ | "amazon"
4427
+ | "ebay";
4428
+ accountId: string;
4429
+ /** @enum {string} */
4430
+ status: "queued" | "running" | "completed" | "failed" | "unavailable";
4431
+ statementsSynced: number;
4432
+ failedStatements: number;
4433
+ error: string | null;
4434
+ };
4435
+ previousStatus:
4436
+ | ("queued" | "running" | "completed" | "failed" | "unavailable")
4437
+ | null;
4438
+ };
4439
+ };
4440
+ AccountStatementSyncStartedWebhookEvent: {
4441
+ /** @constant */
4442
+ schemaVersion: "2026-10-06";
4443
+ id: string;
4444
+ organizationId: string;
4445
+ /** Format: date-time */
4446
+ occurredAt: string;
4447
+ /** Format: date-time */
4448
+ publishedAt: string;
4449
+ resourceVersion: number;
4450
+ /** @constant */
4451
+ source: "account-statements.sync";
4452
+ /** @constant */
4453
+ type: "account_statement.sync.started";
4454
+ subject: {
4455
+ /** @constant */
4456
+ type: "account_statement_sync";
4457
+ /** Format: uuid */
4458
+ id: string;
4459
+ };
4460
+ data: {
4461
+ sync: {
4462
+ /** Format: uuid */
4463
+ id: string;
4464
+ /** @enum {string} */
4465
+ platform:
4466
+ | "shopee"
4467
+ | "lazada"
4468
+ | "tiktok"
4469
+ | "shopify"
4470
+ | "whatsapp"
4471
+ | "zalora"
4472
+ | "amazon"
4473
+ | "ebay";
4474
+ accountId: string;
4475
+ /** @enum {string} */
4476
+ status: "queued" | "running" | "completed" | "failed" | "unavailable";
4477
+ statementsSynced: number;
4478
+ failedStatements: number;
4479
+ error: string | null;
4480
+ };
4481
+ previousStatus:
4482
+ | ("queued" | "running" | "completed" | "failed" | "unavailable")
4483
+ | null;
4484
+ };
4485
+ };
4486
+ AccountStatementSyncCompletedWebhookEvent: {
4487
+ /** @constant */
4488
+ schemaVersion: "2026-10-06";
4489
+ id: string;
4490
+ organizationId: string;
4491
+ /** Format: date-time */
4492
+ occurredAt: string;
4493
+ /** Format: date-time */
4494
+ publishedAt: string;
4495
+ resourceVersion: number;
4496
+ /** @constant */
4497
+ source: "account-statements.sync";
4498
+ /** @constant */
4499
+ type: "account_statement.sync.completed";
4500
+ subject: {
4501
+ /** @constant */
4502
+ type: "account_statement_sync";
4503
+ /** Format: uuid */
4504
+ id: string;
4505
+ };
4506
+ data: {
4507
+ sync: {
4508
+ /** Format: uuid */
4509
+ id: string;
4510
+ /** @enum {string} */
4511
+ platform:
4512
+ | "shopee"
4513
+ | "lazada"
4514
+ | "tiktok"
4515
+ | "shopify"
4516
+ | "whatsapp"
4517
+ | "zalora"
4518
+ | "amazon"
4519
+ | "ebay";
4520
+ accountId: string;
4521
+ /** @enum {string} */
4522
+ status: "queued" | "running" | "completed" | "failed" | "unavailable";
4523
+ statementsSynced: number;
4524
+ failedStatements: number;
4525
+ error: string | null;
4526
+ };
4527
+ previousStatus:
4528
+ | ("queued" | "running" | "completed" | "failed" | "unavailable")
4529
+ | null;
4530
+ };
4531
+ };
4532
+ AccountStatementSyncFailedWebhookEvent: {
4533
+ /** @constant */
4534
+ schemaVersion: "2026-10-06";
4535
+ id: string;
4536
+ organizationId: string;
4537
+ /** Format: date-time */
4538
+ occurredAt: string;
4539
+ /** Format: date-time */
4540
+ publishedAt: string;
4541
+ resourceVersion: number;
4542
+ /** @constant */
4543
+ source: "account-statements.sync";
4544
+ /** @constant */
4545
+ type: "account_statement.sync.failed";
4546
+ subject: {
4547
+ /** @constant */
4548
+ type: "account_statement_sync";
4549
+ /** Format: uuid */
4550
+ id: string;
4551
+ };
4552
+ data: {
4553
+ sync: {
4554
+ /** Format: uuid */
4555
+ id: string;
4556
+ /** @enum {string} */
4557
+ platform:
4558
+ | "shopee"
4559
+ | "lazada"
4560
+ | "tiktok"
4561
+ | "shopify"
4562
+ | "whatsapp"
4563
+ | "zalora"
4564
+ | "amazon"
4565
+ | "ebay";
4566
+ accountId: string;
4567
+ /** @enum {string} */
4568
+ status: "queued" | "running" | "completed" | "failed" | "unavailable";
4569
+ statementsSynced: number;
4570
+ failedStatements: number;
4571
+ error: string | null;
4572
+ };
4573
+ previousStatus:
4574
+ | ("queued" | "running" | "completed" | "failed" | "unavailable")
4575
+ | null;
4576
+ };
4577
+ };
4578
+ AccountStatementSyncUnavailableWebhookEvent: {
4579
+ /** @constant */
4580
+ schemaVersion: "2026-10-06";
4581
+ id: string;
4582
+ organizationId: string;
4583
+ /** Format: date-time */
4584
+ occurredAt: string;
4585
+ /** Format: date-time */
4586
+ publishedAt: string;
4587
+ resourceVersion: number;
4588
+ /** @constant */
4589
+ source: "account-statements.sync";
4590
+ /** @constant */
4591
+ type: "account_statement.sync.unavailable";
4592
+ subject: {
4593
+ /** @constant */
4594
+ type: "account_statement_sync";
4595
+ /** Format: uuid */
4596
+ id: string;
4597
+ };
4598
+ data: {
4599
+ sync: {
4600
+ /** Format: uuid */
4601
+ id: string;
4602
+ /** @enum {string} */
4603
+ platform:
4604
+ | "shopee"
4605
+ | "lazada"
4606
+ | "tiktok"
4607
+ | "shopify"
4608
+ | "whatsapp"
4609
+ | "zalora"
4610
+ | "amazon"
4611
+ | "ebay";
4612
+ accountId: string;
4613
+ /** @enum {string} */
4614
+ status: "queued" | "running" | "completed" | "failed" | "unavailable";
4615
+ statementsSynced: number;
4616
+ failedStatements: number;
4617
+ error: string | null;
4618
+ };
4619
+ previousStatus:
4620
+ | ("queued" | "running" | "completed" | "failed" | "unavailable")
4621
+ | null;
4622
+ };
4623
+ };
3842
4624
  };
3843
4625
  responses: never;
3844
4626
  parameters: never;
@@ -13380,7 +14162,7 @@ interface operations {
13380
14162
  */
13381
14163
  enrich?: boolean;
13382
14164
  /**
13383
- * @description Defaults to true. Queues a separate asynchronous ACO generation job after the product is written, or reuses an active ACO job. Poll the returned `result.geoJobId` for ACO completion. Set to false to run product creation, enrichment, and taxonomy assignment without starting an ACO job.
14165
+ * @description Defaults to false. Set true to queue a separate ACO generation job after the product is written. Otherwise generate a profile explicitly. Poll `result.geoJobId` when a job is queued.
13384
14166
  * @default true
13385
14167
  */
13386
14168
  aco?: boolean;
@@ -14972,6 +15754,7 @@ interface operations {
14972
15754
  description: string;
14973
15755
  }[];
14974
15756
  enrich?: boolean;
15757
+ /** @description Accepted for compatibility. Bulk import does not queue ACO. */
14975
15758
  disableAcoGeneration?: boolean;
14976
15759
  skipEnrichment?: boolean;
14977
15760
  skipBackgroundRemoval?: boolean;
@@ -17636,6 +18419,17 @@ interface operations {
17636
18419
  | "return.created"
17637
18420
  | "return.updated"
17638
18421
  | "return.status.changed"
18422
+ | "account_statement.created"
18423
+ | "account_statement.updated"
18424
+ | "account_statement.status.changed"
18425
+ | "account_statement.reconciliation.changed"
18426
+ | "account_statement.transactions.synced"
18427
+ | "account_statement.transactions.failed"
18428
+ | "account_statement.sync.queued"
18429
+ | "account_statement.sync.started"
18430
+ | "account_statement.sync.completed"
18431
+ | "account_statement.sync.failed"
18432
+ | "account_statement.sync.unavailable"
17639
18433
  )[];
17640
18434
  description?: string;
17641
18435
  };
@@ -18795,8 +19589,232 @@ interface operations {
18795
19589
  };
18796
19590
  content?: never;
18797
19591
  };
18798
- /** @description Internal Server Error */
18799
- 500: {
19592
+ /** @description Internal Server Error */
19593
+ 500: {
19594
+ headers: {
19595
+ [name: string]: unknown;
19596
+ };
19597
+ content?: never;
19598
+ };
19599
+ };
19600
+ };
19601
+ product_created_webhook: {
19602
+ parameters: {
19603
+ query?: never;
19604
+ header: {
19605
+ "X-Omni-Event-Id": string;
19606
+ "X-Omni-Event-Type": "product.created";
19607
+ "X-Omni-Timestamp": string;
19608
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19609
+ "X-Omni-Signature": string;
19610
+ };
19611
+ path?: never;
19612
+ cookie?: never;
19613
+ };
19614
+ requestBody: {
19615
+ content: {
19616
+ "application/json": components["schemas"]["ProductCreatedWebhookEvent"];
19617
+ };
19618
+ };
19619
+ responses: {
19620
+ /** @description Event accepted. */
19621
+ "2XX": {
19622
+ headers: {
19623
+ [name: string]: unknown;
19624
+ };
19625
+ content?: never;
19626
+ };
19627
+ };
19628
+ };
19629
+ product_updated_webhook: {
19630
+ parameters: {
19631
+ query?: never;
19632
+ header: {
19633
+ "X-Omni-Event-Id": string;
19634
+ "X-Omni-Event-Type": "product.updated";
19635
+ "X-Omni-Timestamp": string;
19636
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19637
+ "X-Omni-Signature": string;
19638
+ };
19639
+ path?: never;
19640
+ cookie?: never;
19641
+ };
19642
+ requestBody: {
19643
+ content: {
19644
+ "application/json": components["schemas"]["ProductUpdatedWebhookEvent"];
19645
+ };
19646
+ };
19647
+ responses: {
19648
+ /** @description Event accepted. */
19649
+ "2XX": {
19650
+ headers: {
19651
+ [name: string]: unknown;
19652
+ };
19653
+ content?: never;
19654
+ };
19655
+ };
19656
+ };
19657
+ product_deleted_webhook: {
19658
+ parameters: {
19659
+ query?: never;
19660
+ header: {
19661
+ "X-Omni-Event-Id": string;
19662
+ "X-Omni-Event-Type": "product.deleted";
19663
+ "X-Omni-Timestamp": string;
19664
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19665
+ "X-Omni-Signature": string;
19666
+ };
19667
+ path?: never;
19668
+ cookie?: never;
19669
+ };
19670
+ requestBody: {
19671
+ content: {
19672
+ "application/json": components["schemas"]["ProductDeletedWebhookEvent"];
19673
+ };
19674
+ };
19675
+ responses: {
19676
+ /** @description Event accepted. */
19677
+ "2XX": {
19678
+ headers: {
19679
+ [name: string]: unknown;
19680
+ };
19681
+ content?: never;
19682
+ };
19683
+ };
19684
+ };
19685
+ product_delisted_webhook: {
19686
+ parameters: {
19687
+ query?: never;
19688
+ header: {
19689
+ "X-Omni-Event-Id": string;
19690
+ "X-Omni-Event-Type": "product.delisted";
19691
+ "X-Omni-Timestamp": string;
19692
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19693
+ "X-Omni-Signature": string;
19694
+ };
19695
+ path?: never;
19696
+ cookie?: never;
19697
+ };
19698
+ requestBody: {
19699
+ content: {
19700
+ "application/json": components["schemas"]["ProductDelistedWebhookEvent"];
19701
+ };
19702
+ };
19703
+ responses: {
19704
+ /** @description Event accepted. */
19705
+ "2XX": {
19706
+ headers: {
19707
+ [name: string]: unknown;
19708
+ };
19709
+ content?: never;
19710
+ };
19711
+ };
19712
+ };
19713
+ product_price_changed_webhook: {
19714
+ parameters: {
19715
+ query?: never;
19716
+ header: {
19717
+ "X-Omni-Event-Id": string;
19718
+ "X-Omni-Event-Type": "product.price.changed";
19719
+ "X-Omni-Timestamp": string;
19720
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19721
+ "X-Omni-Signature": string;
19722
+ };
19723
+ path?: never;
19724
+ cookie?: never;
19725
+ };
19726
+ requestBody: {
19727
+ content: {
19728
+ "application/json": components["schemas"]["ProductPriceChangedWebhookEvent"];
19729
+ };
19730
+ };
19731
+ responses: {
19732
+ /** @description Event accepted. */
19733
+ "2XX": {
19734
+ headers: {
19735
+ [name: string]: unknown;
19736
+ };
19737
+ content?: never;
19738
+ };
19739
+ };
19740
+ };
19741
+ product_inventory_changed_webhook: {
19742
+ parameters: {
19743
+ query?: never;
19744
+ header: {
19745
+ "X-Omni-Event-Id": string;
19746
+ "X-Omni-Event-Type": "product.inventory.changed";
19747
+ "X-Omni-Timestamp": string;
19748
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19749
+ "X-Omni-Signature": string;
19750
+ };
19751
+ path?: never;
19752
+ cookie?: never;
19753
+ };
19754
+ requestBody: {
19755
+ content: {
19756
+ "application/json": components["schemas"]["ProductInventoryChangedWebhookEvent"];
19757
+ };
19758
+ };
19759
+ responses: {
19760
+ /** @description Event accepted. */
19761
+ "2XX": {
19762
+ headers: {
19763
+ [name: string]: unknown;
19764
+ };
19765
+ content?: never;
19766
+ };
19767
+ };
19768
+ };
19769
+ product_enrichment_started_webhook: {
19770
+ parameters: {
19771
+ query?: never;
19772
+ header: {
19773
+ "X-Omni-Event-Id": string;
19774
+ "X-Omni-Event-Type": "product.enrichment.started";
19775
+ "X-Omni-Timestamp": string;
19776
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19777
+ "X-Omni-Signature": string;
19778
+ };
19779
+ path?: never;
19780
+ cookie?: never;
19781
+ };
19782
+ requestBody: {
19783
+ content: {
19784
+ "application/json": components["schemas"]["ProductEnrichmentStartedWebhookEvent"];
19785
+ };
19786
+ };
19787
+ responses: {
19788
+ /** @description Event accepted. */
19789
+ "2XX": {
19790
+ headers: {
19791
+ [name: string]: unknown;
19792
+ };
19793
+ content?: never;
19794
+ };
19795
+ };
19796
+ };
19797
+ product_enrichment_completed_webhook: {
19798
+ parameters: {
19799
+ query?: never;
19800
+ header: {
19801
+ "X-Omni-Event-Id": string;
19802
+ "X-Omni-Event-Type": "product.enrichment.completed";
19803
+ "X-Omni-Timestamp": string;
19804
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19805
+ "X-Omni-Signature": string;
19806
+ };
19807
+ path?: never;
19808
+ cookie?: never;
19809
+ };
19810
+ requestBody: {
19811
+ content: {
19812
+ "application/json": components["schemas"]["ProductEnrichmentCompletedWebhookEvent"];
19813
+ };
19814
+ };
19815
+ responses: {
19816
+ /** @description Event accepted. */
19817
+ "2XX": {
18800
19818
  headers: {
18801
19819
  [name: string]: unknown;
18802
19820
  };
@@ -18804,12 +19822,12 @@ interface operations {
18804
19822
  };
18805
19823
  };
18806
19824
  };
18807
- product_created_webhook: {
19825
+ look_created_webhook: {
18808
19826
  parameters: {
18809
19827
  query?: never;
18810
19828
  header: {
18811
19829
  "X-Omni-Event-Id": string;
18812
- "X-Omni-Event-Type": "product.created";
19830
+ "X-Omni-Event-Type": "look.created";
18813
19831
  "X-Omni-Timestamp": string;
18814
19832
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
18815
19833
  "X-Omni-Signature": string;
@@ -18819,7 +19837,7 @@ interface operations {
18819
19837
  };
18820
19838
  requestBody: {
18821
19839
  content: {
18822
- "application/json": components["schemas"]["ProductCreatedWebhookEvent"];
19840
+ "application/json": components["schemas"]["LookCreatedWebhookEvent"];
18823
19841
  };
18824
19842
  };
18825
19843
  responses: {
@@ -18832,12 +19850,12 @@ interface operations {
18832
19850
  };
18833
19851
  };
18834
19852
  };
18835
- product_updated_webhook: {
19853
+ look_deleted_webhook: {
18836
19854
  parameters: {
18837
19855
  query?: never;
18838
19856
  header: {
18839
19857
  "X-Omni-Event-Id": string;
18840
- "X-Omni-Event-Type": "product.updated";
19858
+ "X-Omni-Event-Type": "look.deleted";
18841
19859
  "X-Omni-Timestamp": string;
18842
19860
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
18843
19861
  "X-Omni-Signature": string;
@@ -18847,7 +19865,7 @@ interface operations {
18847
19865
  };
18848
19866
  requestBody: {
18849
19867
  content: {
18850
- "application/json": components["schemas"]["ProductUpdatedWebhookEvent"];
19868
+ "application/json": components["schemas"]["LookDeletedWebhookEvent"];
18851
19869
  };
18852
19870
  };
18853
19871
  responses: {
@@ -18860,12 +19878,12 @@ interface operations {
18860
19878
  };
18861
19879
  };
18862
19880
  };
18863
- product_deleted_webhook: {
19881
+ review_created_webhook: {
18864
19882
  parameters: {
18865
19883
  query?: never;
18866
19884
  header: {
18867
19885
  "X-Omni-Event-Id": string;
18868
- "X-Omni-Event-Type": "product.deleted";
19886
+ "X-Omni-Event-Type": "review.created";
18869
19887
  "X-Omni-Timestamp": string;
18870
19888
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
18871
19889
  "X-Omni-Signature": string;
@@ -18875,7 +19893,7 @@ interface operations {
18875
19893
  };
18876
19894
  requestBody: {
18877
19895
  content: {
18878
- "application/json": components["schemas"]["ProductDeletedWebhookEvent"];
19896
+ "application/json": components["schemas"]["ReviewCreatedWebhookEvent"];
18879
19897
  };
18880
19898
  };
18881
19899
  responses: {
@@ -18888,12 +19906,12 @@ interface operations {
18888
19906
  };
18889
19907
  };
18890
19908
  };
18891
- product_delisted_webhook: {
19909
+ review_updated_webhook: {
18892
19910
  parameters: {
18893
19911
  query?: never;
18894
19912
  header: {
18895
19913
  "X-Omni-Event-Id": string;
18896
- "X-Omni-Event-Type": "product.delisted";
19914
+ "X-Omni-Event-Type": "review.updated";
18897
19915
  "X-Omni-Timestamp": string;
18898
19916
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
18899
19917
  "X-Omni-Signature": string;
@@ -18903,7 +19921,7 @@ interface operations {
18903
19921
  };
18904
19922
  requestBody: {
18905
19923
  content: {
18906
- "application/json": components["schemas"]["ProductDelistedWebhookEvent"];
19924
+ "application/json": components["schemas"]["ReviewUpdatedWebhookEvent"];
18907
19925
  };
18908
19926
  };
18909
19927
  responses: {
@@ -18916,12 +19934,12 @@ interface operations {
18916
19934
  };
18917
19935
  };
18918
19936
  };
18919
- product_price_changed_webhook: {
19937
+ review_status_changed_webhook: {
18920
19938
  parameters: {
18921
19939
  query?: never;
18922
19940
  header: {
18923
19941
  "X-Omni-Event-Id": string;
18924
- "X-Omni-Event-Type": "product.price.changed";
19942
+ "X-Omni-Event-Type": "review.status.changed";
18925
19943
  "X-Omni-Timestamp": string;
18926
19944
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
18927
19945
  "X-Omni-Signature": string;
@@ -18931,7 +19949,7 @@ interface operations {
18931
19949
  };
18932
19950
  requestBody: {
18933
19951
  content: {
18934
- "application/json": components["schemas"]["ProductPriceChangedWebhookEvent"];
19952
+ "application/json": components["schemas"]["ReviewStatusChangedWebhookEvent"];
18935
19953
  };
18936
19954
  };
18937
19955
  responses: {
@@ -18944,12 +19962,12 @@ interface operations {
18944
19962
  };
18945
19963
  };
18946
19964
  };
18947
- product_inventory_changed_webhook: {
19965
+ order_created_webhook: {
18948
19966
  parameters: {
18949
19967
  query?: never;
18950
19968
  header: {
18951
19969
  "X-Omni-Event-Id": string;
18952
- "X-Omni-Event-Type": "product.inventory.changed";
19970
+ "X-Omni-Event-Type": "order.created";
18953
19971
  "X-Omni-Timestamp": string;
18954
19972
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
18955
19973
  "X-Omni-Signature": string;
@@ -18959,7 +19977,7 @@ interface operations {
18959
19977
  };
18960
19978
  requestBody: {
18961
19979
  content: {
18962
- "application/json": components["schemas"]["ProductInventoryChangedWebhookEvent"];
19980
+ "application/json": components["schemas"]["OrderCreatedWebhookEvent"];
18963
19981
  };
18964
19982
  };
18965
19983
  responses: {
@@ -18972,12 +19990,12 @@ interface operations {
18972
19990
  };
18973
19991
  };
18974
19992
  };
18975
- product_enrichment_started_webhook: {
19993
+ order_updated_webhook: {
18976
19994
  parameters: {
18977
19995
  query?: never;
18978
19996
  header: {
18979
19997
  "X-Omni-Event-Id": string;
18980
- "X-Omni-Event-Type": "product.enrichment.started";
19998
+ "X-Omni-Event-Type": "order.updated";
18981
19999
  "X-Omni-Timestamp": string;
18982
20000
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
18983
20001
  "X-Omni-Signature": string;
@@ -18987,7 +20005,7 @@ interface operations {
18987
20005
  };
18988
20006
  requestBody: {
18989
20007
  content: {
18990
- "application/json": components["schemas"]["ProductEnrichmentStartedWebhookEvent"];
20008
+ "application/json": components["schemas"]["OrderUpdatedWebhookEvent"];
18991
20009
  };
18992
20010
  };
18993
20011
  responses: {
@@ -19000,12 +20018,12 @@ interface operations {
19000
20018
  };
19001
20019
  };
19002
20020
  };
19003
- product_enrichment_completed_webhook: {
20021
+ order_status_changed_webhook: {
19004
20022
  parameters: {
19005
20023
  query?: never;
19006
20024
  header: {
19007
20025
  "X-Omni-Event-Id": string;
19008
- "X-Omni-Event-Type": "product.enrichment.completed";
20026
+ "X-Omni-Event-Type": "order.status.changed";
19009
20027
  "X-Omni-Timestamp": string;
19010
20028
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19011
20029
  "X-Omni-Signature": string;
@@ -19015,7 +20033,7 @@ interface operations {
19015
20033
  };
19016
20034
  requestBody: {
19017
20035
  content: {
19018
- "application/json": components["schemas"]["ProductEnrichmentCompletedWebhookEvent"];
20036
+ "application/json": components["schemas"]["OrderStatusChangedWebhookEvent"];
19019
20037
  };
19020
20038
  };
19021
20039
  responses: {
@@ -19028,12 +20046,12 @@ interface operations {
19028
20046
  };
19029
20047
  };
19030
20048
  };
19031
- look_created_webhook: {
20049
+ order_deleted_webhook: {
19032
20050
  parameters: {
19033
20051
  query?: never;
19034
20052
  header: {
19035
20053
  "X-Omni-Event-Id": string;
19036
- "X-Omni-Event-Type": "look.created";
20054
+ "X-Omni-Event-Type": "order.deleted";
19037
20055
  "X-Omni-Timestamp": string;
19038
20056
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19039
20057
  "X-Omni-Signature": string;
@@ -19043,7 +20061,7 @@ interface operations {
19043
20061
  };
19044
20062
  requestBody: {
19045
20063
  content: {
19046
- "application/json": components["schemas"]["LookCreatedWebhookEvent"];
20064
+ "application/json": components["schemas"]["OrderDeletedWebhookEvent"];
19047
20065
  };
19048
20066
  };
19049
20067
  responses: {
@@ -19056,12 +20074,12 @@ interface operations {
19056
20074
  };
19057
20075
  };
19058
20076
  };
19059
- look_deleted_webhook: {
20077
+ settlement_created_webhook: {
19060
20078
  parameters: {
19061
20079
  query?: never;
19062
20080
  header: {
19063
20081
  "X-Omni-Event-Id": string;
19064
- "X-Omni-Event-Type": "look.deleted";
20082
+ "X-Omni-Event-Type": "settlement.created";
19065
20083
  "X-Omni-Timestamp": string;
19066
20084
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19067
20085
  "X-Omni-Signature": string;
@@ -19071,7 +20089,7 @@ interface operations {
19071
20089
  };
19072
20090
  requestBody: {
19073
20091
  content: {
19074
- "application/json": components["schemas"]["LookDeletedWebhookEvent"];
20092
+ "application/json": components["schemas"]["SettlementCreatedWebhookEvent"];
19075
20093
  };
19076
20094
  };
19077
20095
  responses: {
@@ -19084,12 +20102,12 @@ interface operations {
19084
20102
  };
19085
20103
  };
19086
20104
  };
19087
- review_created_webhook: {
20105
+ settlement_updated_webhook: {
19088
20106
  parameters: {
19089
20107
  query?: never;
19090
20108
  header: {
19091
20109
  "X-Omni-Event-Id": string;
19092
- "X-Omni-Event-Type": "review.created";
20110
+ "X-Omni-Event-Type": "settlement.updated";
19093
20111
  "X-Omni-Timestamp": string;
19094
20112
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19095
20113
  "X-Omni-Signature": string;
@@ -19099,7 +20117,7 @@ interface operations {
19099
20117
  };
19100
20118
  requestBody: {
19101
20119
  content: {
19102
- "application/json": components["schemas"]["ReviewCreatedWebhookEvent"];
20120
+ "application/json": components["schemas"]["SettlementUpdatedWebhookEvent"];
19103
20121
  };
19104
20122
  };
19105
20123
  responses: {
@@ -19112,12 +20130,12 @@ interface operations {
19112
20130
  };
19113
20131
  };
19114
20132
  };
19115
- review_updated_webhook: {
20133
+ settlement_status_changed_webhook: {
19116
20134
  parameters: {
19117
20135
  query?: never;
19118
20136
  header: {
19119
20137
  "X-Omni-Event-Id": string;
19120
- "X-Omni-Event-Type": "review.updated";
20138
+ "X-Omni-Event-Type": "settlement.status.changed";
19121
20139
  "X-Omni-Timestamp": string;
19122
20140
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19123
20141
  "X-Omni-Signature": string;
@@ -19127,7 +20145,7 @@ interface operations {
19127
20145
  };
19128
20146
  requestBody: {
19129
20147
  content: {
19130
- "application/json": components["schemas"]["ReviewUpdatedWebhookEvent"];
20148
+ "application/json": components["schemas"]["SettlementStatusChangedWebhookEvent"];
19131
20149
  };
19132
20150
  };
19133
20151
  responses: {
@@ -19140,14 +20158,15 @@ interface operations {
19140
20158
  };
19141
20159
  };
19142
20160
  };
19143
- review_status_changed_webhook: {
20161
+ receiveReturnCreatedWebhookEvent: {
19144
20162
  parameters: {
19145
20163
  query?: never;
19146
20164
  header: {
20165
+ /** @description Stable event id and recipient idempotency key. */
19147
20166
  "X-Omni-Event-Id": string;
19148
- "X-Omni-Event-Type": "review.status.changed";
20167
+ "X-Omni-Event-Type": string;
19149
20168
  "X-Omni-Timestamp": string;
19150
- /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
20169
+ /** @description Hex HMAC-SHA256 over timestamp.rawBody. */
19151
20170
  "X-Omni-Signature": string;
19152
20171
  };
19153
20172
  path?: never;
@@ -19155,12 +20174,19 @@ interface operations {
19155
20174
  };
19156
20175
  requestBody: {
19157
20176
  content: {
19158
- "application/json": components["schemas"]["ReviewStatusChangedWebhookEvent"];
20177
+ "application/json": components["schemas"]["ReturnCreatedWebhookEvent"];
19159
20178
  };
19160
20179
  };
19161
20180
  responses: {
19162
- /** @description Event accepted. */
19163
- "2XX": {
20181
+ /** @description Event durably accepted. */
20182
+ 200: {
20183
+ headers: {
20184
+ [name: string]: unknown;
20185
+ };
20186
+ content?: never;
20187
+ };
20188
+ /** @description Event durably accepted with no response body. */
20189
+ 204: {
19164
20190
  headers: {
19165
20191
  [name: string]: unknown;
19166
20192
  };
@@ -19168,14 +20194,15 @@ interface operations {
19168
20194
  };
19169
20195
  };
19170
20196
  };
19171
- order_created_webhook: {
20197
+ receiveReturnUpdatedWebhookEvent: {
19172
20198
  parameters: {
19173
20199
  query?: never;
19174
20200
  header: {
20201
+ /** @description Stable event id and recipient idempotency key. */
19175
20202
  "X-Omni-Event-Id": string;
19176
- "X-Omni-Event-Type": "order.created";
20203
+ "X-Omni-Event-Type": string;
19177
20204
  "X-Omni-Timestamp": string;
19178
- /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
20205
+ /** @description Hex HMAC-SHA256 over timestamp.rawBody. */
19179
20206
  "X-Omni-Signature": string;
19180
20207
  };
19181
20208
  path?: never;
@@ -19183,12 +20210,19 @@ interface operations {
19183
20210
  };
19184
20211
  requestBody: {
19185
20212
  content: {
19186
- "application/json": components["schemas"]["OrderCreatedWebhookEvent"];
20213
+ "application/json": components["schemas"]["ReturnUpdatedWebhookEvent"];
19187
20214
  };
19188
20215
  };
19189
20216
  responses: {
19190
- /** @description Event accepted. */
19191
- "2XX": {
20217
+ /** @description Event durably accepted. */
20218
+ 200: {
20219
+ headers: {
20220
+ [name: string]: unknown;
20221
+ };
20222
+ content?: never;
20223
+ };
20224
+ /** @description Event durably accepted with no response body. */
20225
+ 204: {
19192
20226
  headers: {
19193
20227
  [name: string]: unknown;
19194
20228
  };
@@ -19196,14 +20230,15 @@ interface operations {
19196
20230
  };
19197
20231
  };
19198
20232
  };
19199
- order_updated_webhook: {
20233
+ receiveReturnStatusChangedWebhookEvent: {
19200
20234
  parameters: {
19201
20235
  query?: never;
19202
20236
  header: {
20237
+ /** @description Stable event id and recipient idempotency key. */
19203
20238
  "X-Omni-Event-Id": string;
19204
- "X-Omni-Event-Type": "order.updated";
20239
+ "X-Omni-Event-Type": string;
19205
20240
  "X-Omni-Timestamp": string;
19206
- /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
20241
+ /** @description Hex HMAC-SHA256 over timestamp.rawBody. */
19207
20242
  "X-Omni-Signature": string;
19208
20243
  };
19209
20244
  path?: never;
@@ -19211,12 +20246,19 @@ interface operations {
19211
20246
  };
19212
20247
  requestBody: {
19213
20248
  content: {
19214
- "application/json": components["schemas"]["OrderUpdatedWebhookEvent"];
20249
+ "application/json": components["schemas"]["ReturnStatusChangedWebhookEvent"];
19215
20250
  };
19216
20251
  };
19217
20252
  responses: {
19218
- /** @description Event accepted. */
19219
- "2XX": {
20253
+ /** @description Event durably accepted. */
20254
+ 200: {
20255
+ headers: {
20256
+ [name: string]: unknown;
20257
+ };
20258
+ content?: never;
20259
+ };
20260
+ /** @description Event durably accepted with no response body. */
20261
+ 204: {
19220
20262
  headers: {
19221
20263
  [name: string]: unknown;
19222
20264
  };
@@ -19224,12 +20266,12 @@ interface operations {
19224
20266
  };
19225
20267
  };
19226
20268
  };
19227
- order_status_changed_webhook: {
20269
+ account_statement_created_webhook: {
19228
20270
  parameters: {
19229
20271
  query?: never;
19230
20272
  header: {
19231
20273
  "X-Omni-Event-Id": string;
19232
- "X-Omni-Event-Type": "order.status.changed";
20274
+ "X-Omni-Event-Type": "account_statement.created";
19233
20275
  "X-Omni-Timestamp": string;
19234
20276
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19235
20277
  "X-Omni-Signature": string;
@@ -19239,7 +20281,7 @@ interface operations {
19239
20281
  };
19240
20282
  requestBody: {
19241
20283
  content: {
19242
- "application/json": components["schemas"]["OrderStatusChangedWebhookEvent"];
20284
+ "application/json": components["schemas"]["AccountStatementCreatedWebhookEvent"];
19243
20285
  };
19244
20286
  };
19245
20287
  responses: {
@@ -19252,12 +20294,12 @@ interface operations {
19252
20294
  };
19253
20295
  };
19254
20296
  };
19255
- order_deleted_webhook: {
20297
+ account_statement_updated_webhook: {
19256
20298
  parameters: {
19257
20299
  query?: never;
19258
20300
  header: {
19259
20301
  "X-Omni-Event-Id": string;
19260
- "X-Omni-Event-Type": "order.deleted";
20302
+ "X-Omni-Event-Type": "account_statement.updated";
19261
20303
  "X-Omni-Timestamp": string;
19262
20304
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19263
20305
  "X-Omni-Signature": string;
@@ -19267,7 +20309,7 @@ interface operations {
19267
20309
  };
19268
20310
  requestBody: {
19269
20311
  content: {
19270
- "application/json": components["schemas"]["OrderDeletedWebhookEvent"];
20312
+ "application/json": components["schemas"]["AccountStatementUpdatedWebhookEvent"];
19271
20313
  };
19272
20314
  };
19273
20315
  responses: {
@@ -19280,12 +20322,12 @@ interface operations {
19280
20322
  };
19281
20323
  };
19282
20324
  };
19283
- settlement_created_webhook: {
20325
+ account_statement_status_changed_webhook: {
19284
20326
  parameters: {
19285
20327
  query?: never;
19286
20328
  header: {
19287
20329
  "X-Omni-Event-Id": string;
19288
- "X-Omni-Event-Type": "settlement.created";
20330
+ "X-Omni-Event-Type": "account_statement.status.changed";
19289
20331
  "X-Omni-Timestamp": string;
19290
20332
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19291
20333
  "X-Omni-Signature": string;
@@ -19295,7 +20337,7 @@ interface operations {
19295
20337
  };
19296
20338
  requestBody: {
19297
20339
  content: {
19298
- "application/json": components["schemas"]["SettlementCreatedWebhookEvent"];
20340
+ "application/json": components["schemas"]["AccountStatementStatusChangedWebhookEvent"];
19299
20341
  };
19300
20342
  };
19301
20343
  responses: {
@@ -19308,12 +20350,12 @@ interface operations {
19308
20350
  };
19309
20351
  };
19310
20352
  };
19311
- settlement_updated_webhook: {
20353
+ account_statement_reconciliation_changed_webhook: {
19312
20354
  parameters: {
19313
20355
  query?: never;
19314
20356
  header: {
19315
20357
  "X-Omni-Event-Id": string;
19316
- "X-Omni-Event-Type": "settlement.updated";
20358
+ "X-Omni-Event-Type": "account_statement.reconciliation.changed";
19317
20359
  "X-Omni-Timestamp": string;
19318
20360
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19319
20361
  "X-Omni-Signature": string;
@@ -19323,7 +20365,7 @@ interface operations {
19323
20365
  };
19324
20366
  requestBody: {
19325
20367
  content: {
19326
- "application/json": components["schemas"]["SettlementUpdatedWebhookEvent"];
20368
+ "application/json": components["schemas"]["AccountStatementReconciliationChangedWebhookEvent"];
19327
20369
  };
19328
20370
  };
19329
20371
  responses: {
@@ -19336,12 +20378,12 @@ interface operations {
19336
20378
  };
19337
20379
  };
19338
20380
  };
19339
- settlement_status_changed_webhook: {
20381
+ account_statement_transactions_synced_webhook: {
19340
20382
  parameters: {
19341
20383
  query?: never;
19342
20384
  header: {
19343
20385
  "X-Omni-Event-Id": string;
19344
- "X-Omni-Event-Type": "settlement.status.changed";
20386
+ "X-Omni-Event-Type": "account_statement.transactions.synced";
19345
20387
  "X-Omni-Timestamp": string;
19346
20388
  /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19347
20389
  "X-Omni-Signature": string;
@@ -19351,7 +20393,7 @@ interface operations {
19351
20393
  };
19352
20394
  requestBody: {
19353
20395
  content: {
19354
- "application/json": components["schemas"]["SettlementStatusChangedWebhookEvent"];
20396
+ "application/json": components["schemas"]["AccountStatementTransactionsSyncedWebhookEvent"];
19355
20397
  };
19356
20398
  };
19357
20399
  responses: {
@@ -19364,15 +20406,14 @@ interface operations {
19364
20406
  };
19365
20407
  };
19366
20408
  };
19367
- receiveReturnCreatedWebhookEvent: {
20409
+ account_statement_transactions_failed_webhook: {
19368
20410
  parameters: {
19369
20411
  query?: never;
19370
20412
  header: {
19371
- /** @description Stable event id and recipient idempotency key. */
19372
20413
  "X-Omni-Event-Id": string;
19373
- "X-Omni-Event-Type": string;
20414
+ "X-Omni-Event-Type": "account_statement.transactions.failed";
19374
20415
  "X-Omni-Timestamp": string;
19375
- /** @description Hex HMAC-SHA256 over timestamp.rawBody. */
20416
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19376
20417
  "X-Omni-Signature": string;
19377
20418
  };
19378
20419
  path?: never;
@@ -19380,19 +20421,40 @@ interface operations {
19380
20421
  };
19381
20422
  requestBody: {
19382
20423
  content: {
19383
- "application/json": components["schemas"]["ReturnCreatedWebhookEvent"];
20424
+ "application/json": components["schemas"]["AccountStatementTransactionsFailedWebhookEvent"];
19384
20425
  };
19385
20426
  };
19386
20427
  responses: {
19387
- /** @description Event durably accepted. */
19388
- 200: {
20428
+ /** @description Event accepted. */
20429
+ "2XX": {
19389
20430
  headers: {
19390
20431
  [name: string]: unknown;
19391
20432
  };
19392
20433
  content?: never;
19393
20434
  };
19394
- /** @description Event durably accepted with no response body. */
19395
- 204: {
20435
+ };
20436
+ };
20437
+ account_statement_sync_queued_webhook: {
20438
+ parameters: {
20439
+ query?: never;
20440
+ header: {
20441
+ "X-Omni-Event-Id": string;
20442
+ "X-Omni-Event-Type": "account_statement.sync.queued";
20443
+ "X-Omni-Timestamp": string;
20444
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
20445
+ "X-Omni-Signature": string;
20446
+ };
20447
+ path?: never;
20448
+ cookie?: never;
20449
+ };
20450
+ requestBody: {
20451
+ content: {
20452
+ "application/json": components["schemas"]["AccountStatementSyncQueuedWebhookEvent"];
20453
+ };
20454
+ };
20455
+ responses: {
20456
+ /** @description Event accepted. */
20457
+ "2XX": {
19396
20458
  headers: {
19397
20459
  [name: string]: unknown;
19398
20460
  };
@@ -19400,15 +20462,14 @@ interface operations {
19400
20462
  };
19401
20463
  };
19402
20464
  };
19403
- receiveReturnUpdatedWebhookEvent: {
20465
+ account_statement_sync_started_webhook: {
19404
20466
  parameters: {
19405
20467
  query?: never;
19406
20468
  header: {
19407
- /** @description Stable event id and recipient idempotency key. */
19408
20469
  "X-Omni-Event-Id": string;
19409
- "X-Omni-Event-Type": string;
20470
+ "X-Omni-Event-Type": "account_statement.sync.started";
19410
20471
  "X-Omni-Timestamp": string;
19411
- /** @description Hex HMAC-SHA256 over timestamp.rawBody. */
20472
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19412
20473
  "X-Omni-Signature": string;
19413
20474
  };
19414
20475
  path?: never;
@@ -19416,19 +20477,40 @@ interface operations {
19416
20477
  };
19417
20478
  requestBody: {
19418
20479
  content: {
19419
- "application/json": components["schemas"]["ReturnUpdatedWebhookEvent"];
20480
+ "application/json": components["schemas"]["AccountStatementSyncStartedWebhookEvent"];
19420
20481
  };
19421
20482
  };
19422
20483
  responses: {
19423
- /** @description Event durably accepted. */
19424
- 200: {
20484
+ /** @description Event accepted. */
20485
+ "2XX": {
19425
20486
  headers: {
19426
20487
  [name: string]: unknown;
19427
20488
  };
19428
20489
  content?: never;
19429
20490
  };
19430
- /** @description Event durably accepted with no response body. */
19431
- 204: {
20491
+ };
20492
+ };
20493
+ account_statement_sync_completed_webhook: {
20494
+ parameters: {
20495
+ query?: never;
20496
+ header: {
20497
+ "X-Omni-Event-Id": string;
20498
+ "X-Omni-Event-Type": "account_statement.sync.completed";
20499
+ "X-Omni-Timestamp": string;
20500
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
20501
+ "X-Omni-Signature": string;
20502
+ };
20503
+ path?: never;
20504
+ cookie?: never;
20505
+ };
20506
+ requestBody: {
20507
+ content: {
20508
+ "application/json": components["schemas"]["AccountStatementSyncCompletedWebhookEvent"];
20509
+ };
20510
+ };
20511
+ responses: {
20512
+ /** @description Event accepted. */
20513
+ "2XX": {
19432
20514
  headers: {
19433
20515
  [name: string]: unknown;
19434
20516
  };
@@ -19436,15 +20518,14 @@ interface operations {
19436
20518
  };
19437
20519
  };
19438
20520
  };
19439
- receiveReturnStatusChangedWebhookEvent: {
20521
+ account_statement_sync_failed_webhook: {
19440
20522
  parameters: {
19441
20523
  query?: never;
19442
20524
  header: {
19443
- /** @description Stable event id and recipient idempotency key. */
19444
20525
  "X-Omni-Event-Id": string;
19445
- "X-Omni-Event-Type": string;
20526
+ "X-Omni-Event-Type": "account_statement.sync.failed";
19446
20527
  "X-Omni-Timestamp": string;
19447
- /** @description Hex HMAC-SHA256 over timestamp.rawBody. */
20528
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
19448
20529
  "X-Omni-Signature": string;
19449
20530
  };
19450
20531
  path?: never;
@@ -19452,19 +20533,40 @@ interface operations {
19452
20533
  };
19453
20534
  requestBody: {
19454
20535
  content: {
19455
- "application/json": components["schemas"]["ReturnStatusChangedWebhookEvent"];
20536
+ "application/json": components["schemas"]["AccountStatementSyncFailedWebhookEvent"];
19456
20537
  };
19457
20538
  };
19458
20539
  responses: {
19459
- /** @description Event durably accepted. */
19460
- 200: {
20540
+ /** @description Event accepted. */
20541
+ "2XX": {
19461
20542
  headers: {
19462
20543
  [name: string]: unknown;
19463
20544
  };
19464
20545
  content?: never;
19465
20546
  };
19466
- /** @description Event durably accepted with no response body. */
19467
- 204: {
20547
+ };
20548
+ };
20549
+ account_statement_sync_unavailable_webhook: {
20550
+ parameters: {
20551
+ query?: never;
20552
+ header: {
20553
+ "X-Omni-Event-Id": string;
20554
+ "X-Omni-Event-Type": "account_statement.sync.unavailable";
20555
+ "X-Omni-Timestamp": string;
20556
+ /** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
20557
+ "X-Omni-Signature": string;
20558
+ };
20559
+ path?: never;
20560
+ cookie?: never;
20561
+ };
20562
+ requestBody: {
20563
+ content: {
20564
+ "application/json": components["schemas"]["AccountStatementSyncUnavailableWebhookEvent"];
20565
+ };
20566
+ };
20567
+ responses: {
20568
+ /** @description Event accepted. */
20569
+ "2XX": {
19468
20570
  headers: {
19469
20571
  [name: string]: unknown;
19470
20572
  };
@@ -19858,7 +20960,7 @@ declare class DocumentsClient {
19858
20960
  *
19859
20961
  * Upload one file to the knowledge base as multipart/form-data. Requires `documents:write`.
19860
20962
 
19861
- Accepted: PDF up to 20 MB, Excel (.xlsx/.xlsm) up to 10 MB, images up to 8 MB, CSV and Markdown up to 2 MB. PDFs, 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.
20963
+ 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.
19862
20964
  *
19863
20965
  * `POST /api/v1/documents`
19864
20966
  */
@@ -20925,7 +22027,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
20925
22027
  toleranceInSeconds?: number;
20926
22028
  }): Promise<ConstructedWebhookEvent>;
20927
22029
 
20928
- declare const SDK_VERSION = "0.6.0";
22030
+ declare const SDK_VERSION = "0.7.0";
20929
22031
 
20930
22032
  type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
20931
22033
  type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];
@@ -20946,7 +22048,29 @@ type SettlementStatusChangedWebhookEvent = components["schemas"]["SettlementStat
20946
22048
  type ReturnCreatedWebhookEvent = components["schemas"]["ReturnCreatedWebhookEvent"];
20947
22049
  type ReturnUpdatedWebhookEvent = components["schemas"]["ReturnUpdatedWebhookEvent"];
20948
22050
  type ReturnStatusChangedWebhookEvent = components["schemas"]["ReturnStatusChangedWebhookEvent"];
22051
+ type AccountStatementCreatedWebhookEvent = components["schemas"]["AccountStatementCreatedWebhookEvent"];
22052
+ type AccountStatementUpdatedWebhookEvent = components["schemas"]["AccountStatementUpdatedWebhookEvent"];
22053
+ type AccountStatementStatusChangedWebhookEvent = components["schemas"]["AccountStatementStatusChangedWebhookEvent"];
22054
+ type AccountStatementReconciliationChangedWebhookEvent = components["schemas"]["AccountStatementReconciliationChangedWebhookEvent"];
22055
+ type AccountStatementTransactionsSyncedWebhookEvent = components["schemas"]["AccountStatementTransactionsSyncedWebhookEvent"];
22056
+ type AccountStatementTransactionsFailedWebhookEvent = components["schemas"]["AccountStatementTransactionsFailedWebhookEvent"];
22057
+ type AccountStatementSyncQueuedWebhookEvent = components["schemas"]["AccountStatementSyncQueuedWebhookEvent"];
22058
+ type AccountStatementSyncStartedWebhookEvent = components["schemas"]["AccountStatementSyncStartedWebhookEvent"];
22059
+ type AccountStatementSyncCompletedWebhookEvent = components["schemas"]["AccountStatementSyncCompletedWebhookEvent"];
22060
+ type AccountStatementSyncFailedWebhookEvent = components["schemas"]["AccountStatementSyncFailedWebhookEvent"];
22061
+ type AccountStatementSyncUnavailableWebhookEvent = components["schemas"]["AccountStatementSyncUnavailableWebhookEvent"];
20949
22062
 
22063
+ type index_AccountStatementCreatedWebhookEvent = AccountStatementCreatedWebhookEvent;
22064
+ type index_AccountStatementReconciliationChangedWebhookEvent = AccountStatementReconciliationChangedWebhookEvent;
22065
+ type index_AccountStatementStatusChangedWebhookEvent = AccountStatementStatusChangedWebhookEvent;
22066
+ type index_AccountStatementSyncCompletedWebhookEvent = AccountStatementSyncCompletedWebhookEvent;
22067
+ type index_AccountStatementSyncFailedWebhookEvent = AccountStatementSyncFailedWebhookEvent;
22068
+ type index_AccountStatementSyncQueuedWebhookEvent = AccountStatementSyncQueuedWebhookEvent;
22069
+ type index_AccountStatementSyncStartedWebhookEvent = AccountStatementSyncStartedWebhookEvent;
22070
+ type index_AccountStatementSyncUnavailableWebhookEvent = AccountStatementSyncUnavailableWebhookEvent;
22071
+ type index_AccountStatementTransactionsFailedWebhookEvent = AccountStatementTransactionsFailedWebhookEvent;
22072
+ type index_AccountStatementTransactionsSyncedWebhookEvent = AccountStatementTransactionsSyncedWebhookEvent;
22073
+ type index_AccountStatementUpdatedWebhookEvent = AccountStatementUpdatedWebhookEvent;
20950
22074
  type index_FlattenedRequest<Op> = FlattenedRequest<Op>;
20951
22075
  type index_LookCreatedWebhookEvent = LookCreatedWebhookEvent;
20952
22076
  type index_LookDeletedWebhookEvent = LookDeletedWebhookEvent;
@@ -20978,7 +22102,7 @@ type index_components = components;
20978
22102
  type index_operations = operations;
20979
22103
  type index_paths = paths;
20980
22104
  declare namespace index {
20981
- export { type index_FlattenedRequest as FlattenedRequest, type index_LookCreatedWebhookEvent as LookCreatedWebhookEvent, type index_LookDeletedWebhookEvent as LookDeletedWebhookEvent, index_OmniGeneratedClient as OmniGeneratedClient, type index_OmniResources as OmniResources, type index_OperationBody as OperationBody, type index_OperationPath as OperationPath, type index_OperationQuery as OperationQuery, type index_OrderCreatedWebhookEvent as OrderCreatedWebhookEvent, type index_OrderDeletedWebhookEvent as OrderDeletedWebhookEvent, type index_OrderStatusChangedWebhookEvent as OrderStatusChangedWebhookEvent, type index_OrderUpdatedWebhookEvent as OrderUpdatedWebhookEvent, type index_ProductCreatedWebhookEvent as ProductCreatedWebhookEvent, type index_ProductDeletedWebhookEvent as ProductDeletedWebhookEvent, type index_ProductEnrichmentCompletedWebhookEvent as ProductEnrichmentCompletedWebhookEvent, type index_ProductEnrichmentStartedWebhookEvent as ProductEnrichmentStartedWebhookEvent, type index_ProductInventoryChangedWebhookEvent as ProductInventoryChangedWebhookEvent, type index_ProductPriceChangedWebhookEvent as ProductPriceChangedWebhookEvent, type index_ProductUpdatedWebhookEvent as ProductUpdatedWebhookEvent, type index_ReturnCreatedWebhookEvent as ReturnCreatedWebhookEvent, type index_ReturnStatusChangedWebhookEvent as ReturnStatusChangedWebhookEvent, type index_ReturnUpdatedWebhookEvent as ReturnUpdatedWebhookEvent, type index_SettlementCreatedWebhookEvent as SettlementCreatedWebhookEvent, type index_SettlementStatusChangedWebhookEvent as SettlementStatusChangedWebhookEvent, type index_SettlementUpdatedWebhookEvent as SettlementUpdatedWebhookEvent, type index_SuccessData as SuccessData, type index_components as components, type index_operations as operations, type index_paths as paths };
22105
+ export { type index_AccountStatementCreatedWebhookEvent as AccountStatementCreatedWebhookEvent, type index_AccountStatementReconciliationChangedWebhookEvent as AccountStatementReconciliationChangedWebhookEvent, type index_AccountStatementStatusChangedWebhookEvent as AccountStatementStatusChangedWebhookEvent, type index_AccountStatementSyncCompletedWebhookEvent as AccountStatementSyncCompletedWebhookEvent, type index_AccountStatementSyncFailedWebhookEvent as AccountStatementSyncFailedWebhookEvent, type index_AccountStatementSyncQueuedWebhookEvent as AccountStatementSyncQueuedWebhookEvent, type index_AccountStatementSyncStartedWebhookEvent as AccountStatementSyncStartedWebhookEvent, type index_AccountStatementSyncUnavailableWebhookEvent as AccountStatementSyncUnavailableWebhookEvent, type index_AccountStatementTransactionsFailedWebhookEvent as AccountStatementTransactionsFailedWebhookEvent, type index_AccountStatementTransactionsSyncedWebhookEvent as AccountStatementTransactionsSyncedWebhookEvent, type index_AccountStatementUpdatedWebhookEvent as AccountStatementUpdatedWebhookEvent, type index_FlattenedRequest as FlattenedRequest, type index_LookCreatedWebhookEvent as LookCreatedWebhookEvent, type index_LookDeletedWebhookEvent as LookDeletedWebhookEvent, index_OmniGeneratedClient as OmniGeneratedClient, type index_OmniResources as OmniResources, type index_OperationBody as OperationBody, type index_OperationPath as OperationPath, type index_OperationQuery as OperationQuery, type index_OrderCreatedWebhookEvent as OrderCreatedWebhookEvent, type index_OrderDeletedWebhookEvent as OrderDeletedWebhookEvent, type index_OrderStatusChangedWebhookEvent as OrderStatusChangedWebhookEvent, type index_OrderUpdatedWebhookEvent as OrderUpdatedWebhookEvent, type index_ProductCreatedWebhookEvent as ProductCreatedWebhookEvent, type index_ProductDeletedWebhookEvent as ProductDeletedWebhookEvent, type index_ProductEnrichmentCompletedWebhookEvent as ProductEnrichmentCompletedWebhookEvent, type index_ProductEnrichmentStartedWebhookEvent as ProductEnrichmentStartedWebhookEvent, type index_ProductInventoryChangedWebhookEvent as ProductInventoryChangedWebhookEvent, type index_ProductPriceChangedWebhookEvent as ProductPriceChangedWebhookEvent, type index_ProductUpdatedWebhookEvent as ProductUpdatedWebhookEvent, type index_ReturnCreatedWebhookEvent as ReturnCreatedWebhookEvent, type index_ReturnStatusChangedWebhookEvent as ReturnStatusChangedWebhookEvent, type index_ReturnUpdatedWebhookEvent as ReturnUpdatedWebhookEvent, type index_SettlementCreatedWebhookEvent as SettlementCreatedWebhookEvent, type index_SettlementStatusChangedWebhookEvent as SettlementStatusChangedWebhookEvent, type index_SettlementUpdatedWebhookEvent as SettlementUpdatedWebhookEvent, type index_SuccessData as SuccessData, type index_components as components, type index_operations as operations, type index_paths as paths };
20982
22106
  }
20983
22107
 
20984
22108
  export { BadGatewayError, BadRequestError, type BaseClientOptions, type BaseRequestOptions, type ConstructedWebhookEvent, type FetchLike, ForbiddenError, HttpResponsePromise, InternalServerError, JobFailedError, NotFoundError, index as Omni, OmniClient, OmniEnvironment, OmniError, type OmniRequestInit, OmniTimeoutError, type RawResponse, SDK_VERSION, ServiceUnavailableError, TooManyRequestsError, UnauthorizedError, UnprocessableEntityError, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, type WebhookHeaders, type WithRawResponse, constructEvent, signWebhookPayload, verifyWebhookSignature };