@omni-commerce/sdk 0.5.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/README.md +2 -0
- package/dist/embed.cjs +338 -0
- package/dist/embed.cjs.map +1 -0
- package/dist/embed.d.cts +50 -0
- package/dist/embed.d.ts +50 -0
- package/dist/embed.global.js +64 -0
- package/dist/embed.global.js.map +1 -0
- package/dist/embed.js +332 -0
- package/dist/embed.js.map +1 -0
- package/dist/index.cjs +128 -125
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1592 -259
- package/dist/index.d.ts +1592 -259
- package/dist/index.js +128 -125
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +198 -0
- package/dist/react.cjs.map +1 -0
- package/dist/react.d.cts +18 -0
- package/dist/react.d.ts +18 -0
- package/dist/react.js +178 -0
- package/dist/react.js.map +1 -0
- package/package.json +21 -2
package/dist/index.d.cts
CHANGED
|
@@ -583,6 +583,38 @@ interface paths {
|
|
|
583
583
|
patch?: never;
|
|
584
584
|
trace?: never;
|
|
585
585
|
};
|
|
586
|
+
"/api/v1/brandsgateway/import": {
|
|
587
|
+
parameters: {
|
|
588
|
+
query?: never;
|
|
589
|
+
header?: never;
|
|
590
|
+
path?: never;
|
|
591
|
+
cookie?: never;
|
|
592
|
+
};
|
|
593
|
+
get?: never;
|
|
594
|
+
put?: never;
|
|
595
|
+
/**
|
|
596
|
+
* Import BrandsGateway Products
|
|
597
|
+
* @description Requires catalog:write and a connected BrandsGateway account. Uses the same parameters and import service as the import_brandsgateway_products tool.
|
|
598
|
+
*
|
|
599
|
+
* ### Selection
|
|
600
|
+
*
|
|
601
|
+
* Choose catalogProductIds or importAllMatching with filters. maxProducts limits new imports to 1–50 across pages (default 50); already imported products are skipped. Numeric brandIds, vendorIds (supplier warehouses), categoryIds, and conditionIds arrays match any value within each field and all supplied fields together. Omit a field for no restriction; empty arrays and legacy singular/string filters are rejected. Brands accept at most 500 IDs; other filter arrays accept at most 50 each. Broad combinations may exceed the supplier request budget and return a failure asking you to narrow the filters.
|
|
602
|
+
*
|
|
603
|
+
* ### Updated dates and enrichment
|
|
604
|
+
*
|
|
605
|
+
* updatedAtMin and updatedAtMax map to the supplier updated_at_min and updated_at_max filters; dates use midnight UTC. There is no creation-date sorting. Products import as drafts. Connected marketplace selections and country apply to the entire import. Enrichment and taxonomy are queued according to the organization's BrandsGateway preferences; any AI usage is billed to that organization. This endpoint does not publish listings.
|
|
606
|
+
*
|
|
607
|
+
* ### Result
|
|
608
|
+
*
|
|
609
|
+
* Returns HTTP 200 when the import attempt finishes, including partial failures. Inspect ok, data.success, counts, results, and data.error; failed or partial imports have ok=false and status=failed. Enrichment may still be running when data.enrichmentQueued=true.
|
|
610
|
+
*/
|
|
611
|
+
post: operations["post_v1_brandsgateway_import"];
|
|
612
|
+
delete?: never;
|
|
613
|
+
options?: never;
|
|
614
|
+
head?: never;
|
|
615
|
+
patch?: never;
|
|
616
|
+
trace?: never;
|
|
617
|
+
};
|
|
586
618
|
"/api/v1/campaigns": {
|
|
587
619
|
parameters: {
|
|
588
620
|
query?: never;
|
|
@@ -874,7 +906,7 @@ interface paths {
|
|
|
874
906
|
* Upload Document
|
|
875
907
|
* @description Upload one file to the knowledge base as multipart/form-data. Requires `documents:write`.
|
|
876
908
|
*
|
|
877
|
-
* 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.
|
|
878
910
|
*/
|
|
879
911
|
post: operations["post_v1_documents"];
|
|
880
912
|
delete?: never;
|
|
@@ -3807,157 +3839,939 @@ interface components {
|
|
|
3807
3839
|
} & {
|
|
3808
3840
|
[key: string]: unknown;
|
|
3809
3841
|
};
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
/**
|
|
3828
|
-
|
|
3829
|
-
* "messages": [
|
|
3830
|
-
* {
|
|
3831
|
-
* "role": "user",
|
|
3832
|
-
* "content": "How many products are missing a price?"
|
|
3833
|
-
* }
|
|
3834
|
-
* ]
|
|
3835
|
-
* }
|
|
3836
|
-
*/
|
|
3837
|
-
"application/json": {
|
|
3838
|
-
organizationId?: string;
|
|
3839
|
-
thread_id?: string | null;
|
|
3840
|
-
channel?: string;
|
|
3841
|
-
messages?: {
|
|
3842
|
-
/** @enum {string} */
|
|
3843
|
-
role?: "user" | "assistant" | "system";
|
|
3844
|
-
content:
|
|
3845
|
-
| string
|
|
3846
|
-
| (
|
|
3847
|
-
| {
|
|
3848
|
-
/** @constant */
|
|
3849
|
-
type: "text";
|
|
3850
|
-
text: string;
|
|
3851
|
-
}
|
|
3852
|
-
| {
|
|
3853
|
-
/** @constant */
|
|
3854
|
-
type: "image";
|
|
3855
|
-
url: string;
|
|
3856
|
-
filename?: string;
|
|
3857
|
-
}
|
|
3858
|
-
)[];
|
|
3859
|
-
id?: string;
|
|
3860
|
-
name?: string;
|
|
3861
|
-
}[];
|
|
3862
|
-
config?: {
|
|
3863
|
-
enabled_tools?: string[];
|
|
3864
|
-
model?: string | null;
|
|
3865
|
-
system_prompt?: string;
|
|
3866
|
-
structured_output?: {
|
|
3867
|
-
[key: string]: unknown;
|
|
3868
|
-
} | null;
|
|
3869
|
-
};
|
|
3870
|
-
decisions?: {
|
|
3871
|
-
/** @enum {string} */
|
|
3872
|
-
action: "approve" | "reject";
|
|
3873
|
-
reason?: string;
|
|
3874
|
-
}[];
|
|
3875
|
-
};
|
|
3876
|
-
};
|
|
3877
|
-
};
|
|
3878
|
-
responses: {
|
|
3879
|
-
/** @description The agent finished or is waiting for approval. */
|
|
3880
|
-
200: {
|
|
3881
|
-
headers: {
|
|
3882
|
-
[name: string]: unknown;
|
|
3883
|
-
};
|
|
3884
|
-
content: {
|
|
3885
|
-
"application/json": {
|
|
3886
|
-
run_id: string;
|
|
3887
|
-
thread_id: string;
|
|
3888
|
-
/** @enum {string} */
|
|
3889
|
-
status:
|
|
3890
|
-
| "queued"
|
|
3891
|
-
| "running"
|
|
3892
|
-
| "completed"
|
|
3893
|
-
| "awaiting_approval"
|
|
3894
|
-
| "failed";
|
|
3895
|
-
messages: {
|
|
3896
|
-
/** @enum {string} */
|
|
3897
|
-
type: "human" | "ai" | "tool" | "system";
|
|
3898
|
-
/** @enum {string} */
|
|
3899
|
-
role: "user" | "assistant" | "tool" | "system";
|
|
3900
|
-
content: string;
|
|
3901
|
-
id?: string;
|
|
3902
|
-
name?: string;
|
|
3903
|
-
tool_calls?: {
|
|
3904
|
-
id?: string;
|
|
3905
|
-
name: string;
|
|
3906
|
-
args: unknown;
|
|
3907
|
-
}[];
|
|
3908
|
-
tool_call_id?: string;
|
|
3909
|
-
}[];
|
|
3910
|
-
structured_output: {
|
|
3911
|
-
[key: string]: unknown;
|
|
3912
|
-
} | null;
|
|
3913
|
-
approvals:
|
|
3914
|
-
| {
|
|
3915
|
-
interrupt_instance_id: string;
|
|
3916
|
-
tool_name: string | null;
|
|
3917
|
-
tool_args: unknown;
|
|
3918
|
-
message: string;
|
|
3919
|
-
}[]
|
|
3920
|
-
| null;
|
|
3921
|
-
error: string | null;
|
|
3922
|
-
};
|
|
3923
|
-
};
|
|
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;
|
|
3924
3861
|
};
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
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[];
|
|
3931
3932
|
};
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
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;
|
|
3938
3953
|
};
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
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[];
|
|
3945
4024
|
};
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
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;
|
|
3952
4045
|
};
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
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[];
|
|
3959
4116
|
};
|
|
3960
|
-
|
|
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
|
+
};
|
|
4624
|
+
};
|
|
4625
|
+
responses: never;
|
|
4626
|
+
parameters: never;
|
|
4627
|
+
requestBodies: never;
|
|
4628
|
+
headers: never;
|
|
4629
|
+
pathItems: never;
|
|
4630
|
+
}
|
|
4631
|
+
interface operations {
|
|
4632
|
+
post_v1_agents_general_invoke: {
|
|
4633
|
+
parameters: {
|
|
4634
|
+
query?: never;
|
|
4635
|
+
header?: never;
|
|
4636
|
+
path?: never;
|
|
4637
|
+
cookie?: never;
|
|
4638
|
+
};
|
|
4639
|
+
requestBody: {
|
|
4640
|
+
content: {
|
|
4641
|
+
/**
|
|
4642
|
+
* @example {
|
|
4643
|
+
* "messages": [
|
|
4644
|
+
* {
|
|
4645
|
+
* "role": "user",
|
|
4646
|
+
* "content": "How many products are missing a price?"
|
|
4647
|
+
* }
|
|
4648
|
+
* ]
|
|
4649
|
+
* }
|
|
4650
|
+
*/
|
|
4651
|
+
"application/json": {
|
|
4652
|
+
organizationId?: string;
|
|
4653
|
+
thread_id?: string | null;
|
|
4654
|
+
channel?: string;
|
|
4655
|
+
messages?: {
|
|
4656
|
+
/** @enum {string} */
|
|
4657
|
+
role?: "user" | "assistant" | "system";
|
|
4658
|
+
content:
|
|
4659
|
+
| string
|
|
4660
|
+
| (
|
|
4661
|
+
| {
|
|
4662
|
+
/** @constant */
|
|
4663
|
+
type: "text";
|
|
4664
|
+
text: string;
|
|
4665
|
+
}
|
|
4666
|
+
| {
|
|
4667
|
+
/** @constant */
|
|
4668
|
+
type: "image";
|
|
4669
|
+
url: string;
|
|
4670
|
+
filename?: string;
|
|
4671
|
+
}
|
|
4672
|
+
)[];
|
|
4673
|
+
id?: string;
|
|
4674
|
+
name?: string;
|
|
4675
|
+
}[];
|
|
4676
|
+
config?: {
|
|
4677
|
+
enabled_tools?: string[];
|
|
4678
|
+
model?: string | null;
|
|
4679
|
+
system_prompt?: string;
|
|
4680
|
+
structured_output?: {
|
|
4681
|
+
[key: string]: unknown;
|
|
4682
|
+
} | null;
|
|
4683
|
+
};
|
|
4684
|
+
decisions?: {
|
|
4685
|
+
/** @enum {string} */
|
|
4686
|
+
action: "approve" | "reject";
|
|
4687
|
+
reason?: string;
|
|
4688
|
+
}[];
|
|
4689
|
+
};
|
|
4690
|
+
};
|
|
4691
|
+
};
|
|
4692
|
+
responses: {
|
|
4693
|
+
/** @description The agent finished or is waiting for approval. */
|
|
4694
|
+
200: {
|
|
4695
|
+
headers: {
|
|
4696
|
+
[name: string]: unknown;
|
|
4697
|
+
};
|
|
4698
|
+
content: {
|
|
4699
|
+
"application/json": {
|
|
4700
|
+
run_id: string;
|
|
4701
|
+
thread_id: string;
|
|
4702
|
+
/** @enum {string} */
|
|
4703
|
+
status:
|
|
4704
|
+
| "queued"
|
|
4705
|
+
| "running"
|
|
4706
|
+
| "completed"
|
|
4707
|
+
| "awaiting_approval"
|
|
4708
|
+
| "failed";
|
|
4709
|
+
messages: {
|
|
4710
|
+
/** @enum {string} */
|
|
4711
|
+
type: "human" | "ai" | "tool" | "system";
|
|
4712
|
+
/** @enum {string} */
|
|
4713
|
+
role: "user" | "assistant" | "tool" | "system";
|
|
4714
|
+
content: string;
|
|
4715
|
+
id?: string;
|
|
4716
|
+
name?: string;
|
|
4717
|
+
tool_calls?: {
|
|
4718
|
+
id?: string;
|
|
4719
|
+
name: string;
|
|
4720
|
+
args: unknown;
|
|
4721
|
+
}[];
|
|
4722
|
+
tool_call_id?: string;
|
|
4723
|
+
}[];
|
|
4724
|
+
structured_output: {
|
|
4725
|
+
[key: string]: unknown;
|
|
4726
|
+
} | null;
|
|
4727
|
+
approvals:
|
|
4728
|
+
| {
|
|
4729
|
+
interrupt_instance_id: string;
|
|
4730
|
+
tool_name: string | null;
|
|
4731
|
+
tool_args: unknown;
|
|
4732
|
+
message: string;
|
|
4733
|
+
}[]
|
|
4734
|
+
| null;
|
|
4735
|
+
error: string | null;
|
|
4736
|
+
};
|
|
4737
|
+
};
|
|
4738
|
+
};
|
|
4739
|
+
/** @description Invalid agent request, unknown tool or model, or a decision count that does not match the pending approvals */
|
|
4740
|
+
400: {
|
|
4741
|
+
headers: {
|
|
4742
|
+
[name: string]: unknown;
|
|
4743
|
+
};
|
|
4744
|
+
content?: never;
|
|
4745
|
+
};
|
|
4746
|
+
/** @description Unauthorized */
|
|
4747
|
+
401: {
|
|
4748
|
+
headers: {
|
|
4749
|
+
[name: string]: unknown;
|
|
4750
|
+
};
|
|
4751
|
+
content?: never;
|
|
4752
|
+
};
|
|
4753
|
+
/** @description Insufficient AI credits */
|
|
4754
|
+
402: {
|
|
4755
|
+
headers: {
|
|
4756
|
+
[name: string]: unknown;
|
|
4757
|
+
};
|
|
4758
|
+
content?: never;
|
|
4759
|
+
};
|
|
4760
|
+
/** @description Missing agents:invoke scope or Assistant access */
|
|
4761
|
+
403: {
|
|
4762
|
+
headers: {
|
|
4763
|
+
[name: string]: unknown;
|
|
4764
|
+
};
|
|
4765
|
+
content?: never;
|
|
4766
|
+
};
|
|
4767
|
+
/** @description The thread already has an active run, or decisions were sent for a thread with no run awaiting approval */
|
|
4768
|
+
409: {
|
|
4769
|
+
headers: {
|
|
4770
|
+
[name: string]: unknown;
|
|
4771
|
+
};
|
|
4772
|
+
content?: never;
|
|
4773
|
+
};
|
|
4774
|
+
/** @description The agent run failed. `data.run_id` identifies the stored run */
|
|
3961
4775
|
500: {
|
|
3962
4776
|
headers: {
|
|
3963
4777
|
[name: string]: unknown;
|
|
@@ -6643,42 +7457,199 @@ interface operations {
|
|
|
6643
7457
|
};
|
|
6644
7458
|
};
|
|
6645
7459
|
};
|
|
6646
|
-
/** @description Invalid AOP configuration or request */
|
|
7460
|
+
/** @description Invalid AOP configuration or request */
|
|
7461
|
+
400: {
|
|
7462
|
+
headers: {
|
|
7463
|
+
[name: string]: unknown;
|
|
7464
|
+
};
|
|
7465
|
+
content?: never;
|
|
7466
|
+
};
|
|
7467
|
+
/** @description Unauthorized */
|
|
7468
|
+
401: {
|
|
7469
|
+
headers: {
|
|
7470
|
+
[name: string]: unknown;
|
|
7471
|
+
};
|
|
7472
|
+
content?: never;
|
|
7473
|
+
};
|
|
7474
|
+
/** @description Insufficient AI credits */
|
|
7475
|
+
402: {
|
|
7476
|
+
headers: {
|
|
7477
|
+
[name: string]: unknown;
|
|
7478
|
+
};
|
|
7479
|
+
content?: never;
|
|
7480
|
+
};
|
|
7481
|
+
/** @description Forbidden. Missing OAuth scope. */
|
|
7482
|
+
403: {
|
|
7483
|
+
headers: {
|
|
7484
|
+
[name: string]: unknown;
|
|
7485
|
+
};
|
|
7486
|
+
content?: never;
|
|
7487
|
+
};
|
|
7488
|
+
/** @description AOP or thread not found */
|
|
7489
|
+
404: {
|
|
7490
|
+
headers: {
|
|
7491
|
+
[name: string]: unknown;
|
|
7492
|
+
};
|
|
7493
|
+
content?: never;
|
|
7494
|
+
};
|
|
7495
|
+
/** @description Internal server error */
|
|
7496
|
+
500: {
|
|
7497
|
+
headers: {
|
|
7498
|
+
[name: string]: unknown;
|
|
7499
|
+
};
|
|
7500
|
+
content?: never;
|
|
7501
|
+
};
|
|
7502
|
+
};
|
|
7503
|
+
};
|
|
7504
|
+
post_v1_brandsgateway_import: {
|
|
7505
|
+
parameters: {
|
|
7506
|
+
query?: never;
|
|
7507
|
+
header?: never;
|
|
7508
|
+
path?: never;
|
|
7509
|
+
cookie?: never;
|
|
7510
|
+
};
|
|
7511
|
+
requestBody: {
|
|
7512
|
+
content: {
|
|
7513
|
+
/**
|
|
7514
|
+
* @example {
|
|
7515
|
+
* "importAllMatching": true,
|
|
7516
|
+
* "maxProducts": 10,
|
|
7517
|
+
* "filters": {
|
|
7518
|
+
* "categoryIds": [
|
|
7519
|
+
* 71816
|
|
7520
|
+
* ],
|
|
7521
|
+
* "vendorIds": [
|
|
7522
|
+
* 73680
|
|
7523
|
+
* ],
|
|
7524
|
+
* "brandIds": [
|
|
7525
|
+
* 68571,
|
|
7526
|
+
* 615
|
|
7527
|
+
* ],
|
|
7528
|
+
* "updatedAtMin": "2026-10-01"
|
|
7529
|
+
* }
|
|
7530
|
+
* }
|
|
7531
|
+
*/
|
|
7532
|
+
"application/json": {
|
|
7533
|
+
/** @description BrandsGateway catalog product IDs (supplier numbers, not Omni product IDs). Trimmed and de-duplicated while preserving order. Max 50. */
|
|
7534
|
+
catalogProductIds?: number[];
|
|
7535
|
+
/** @description Import up to maxProducts products matching filters instead of an explicit catalogProductIds list (defaults to 50). */
|
|
7536
|
+
importAllMatching?: boolean;
|
|
7537
|
+
/** @description Maximum products to import in this call (1–50, defaults to 50). Applied across all matching catalog pages. An explicit catalogProductIds selection cannot exceed this limit after deduplication. */
|
|
7538
|
+
maxProducts?: number;
|
|
7539
|
+
/** @description Catalog product IDs to skip when importAllMatching is true. */
|
|
7540
|
+
excludedProductIds?: number[];
|
|
7541
|
+
/** @description Listing filters when importAllMatching is true. Numeric ID arrays match any ID within each field, and all supplied fields must match. Omit a field to leave it unrestricted. */
|
|
7542
|
+
filters?: {
|
|
7543
|
+
q?: string;
|
|
7544
|
+
/** @description Numeric brand IDs. Match any selected brand. Max 500; duplicates removed in first-requested order. */
|
|
7545
|
+
brandIds?: number[];
|
|
7546
|
+
/** @description Numeric warehouse/vendor IDs. Match any selected warehouse. Max 50; duplicates removed in first-requested order. */
|
|
7547
|
+
vendorIds?: number[];
|
|
7548
|
+
/** @description Numeric category IDs. Match any selected category. Max 50; duplicates removed in first-requested order. */
|
|
7549
|
+
categoryIds?: number[];
|
|
7550
|
+
/** @description Numeric product-condition IDs. Match any selected condition. Max 50; duplicates removed in first-requested order. */
|
|
7551
|
+
conditionIds?: number[];
|
|
7552
|
+
/** @constant */
|
|
7553
|
+
stock?: "instock";
|
|
7554
|
+
priceMin?: string;
|
|
7555
|
+
priceMax?: string;
|
|
7556
|
+
/** @enum {string} */
|
|
7557
|
+
imported?: "not_imported" | "imported" | "all";
|
|
7558
|
+
/** @description Supplier updated_at_min: only products last updated after this ISO date or date-time. Date-only values mean midnight UTC; offset date-times are converted to UTC. */
|
|
7559
|
+
updatedAtMin?: string;
|
|
7560
|
+
/** @description Supplier updated_at_max: only products last updated before this ISO date or date-time. Date-only values mean midnight UTC; offset date-times are converted to UTC. */
|
|
7561
|
+
updatedAtMax?: string;
|
|
7562
|
+
};
|
|
7563
|
+
/** @description Connected marketplaces to assign on import. Taxonomy enrichment uses taxonomy-capable stores from this list. */
|
|
7564
|
+
targetMarketplaces?: string[];
|
|
7565
|
+
/** @description Connected store ID keyed by marketplace. */
|
|
7566
|
+
marketplaceStoreSelections?: {
|
|
7567
|
+
[key: string]: string;
|
|
7568
|
+
};
|
|
7569
|
+
/** @description Shared country for the selected import stores. */
|
|
7570
|
+
country?: string;
|
|
7571
|
+
/** @description Required for session auth; derived from the credential for bearer auth. */
|
|
7572
|
+
organizationId?: string;
|
|
7573
|
+
};
|
|
7574
|
+
};
|
|
7575
|
+
};
|
|
7576
|
+
responses: {
|
|
7577
|
+
/** @description Import attempt finished. Inspect success and per-product results, including partial failures. */
|
|
7578
|
+
200: {
|
|
7579
|
+
headers: {
|
|
7580
|
+
[name: string]: unknown;
|
|
7581
|
+
};
|
|
7582
|
+
content: {
|
|
7583
|
+
"application/json": {
|
|
7584
|
+
ok: boolean;
|
|
7585
|
+
apiVersion: string;
|
|
7586
|
+
operationId: string;
|
|
7587
|
+
/** @enum {string} */
|
|
7588
|
+
status: "completed" | "failed";
|
|
7589
|
+
data: {
|
|
7590
|
+
success: boolean;
|
|
7591
|
+
catalogProductIds: number[];
|
|
7592
|
+
importedProductIds: string[];
|
|
7593
|
+
importAllMatching: boolean;
|
|
7594
|
+
succeededCount: number;
|
|
7595
|
+
failedCount: number;
|
|
7596
|
+
skippedCount: number;
|
|
7597
|
+
results: {
|
|
7598
|
+
catalogProductId?: number;
|
|
7599
|
+
productId?: string;
|
|
7600
|
+
success: boolean;
|
|
7601
|
+
skipped?: boolean;
|
|
7602
|
+
error?: string;
|
|
7603
|
+
}[];
|
|
7604
|
+
runEnrichment: boolean;
|
|
7605
|
+
/** @description True when this import queued listing enrichment and taxonomy for importedProductIds. Do not call product_enrichment_tool again for those ids. */
|
|
7606
|
+
enrichmentQueued: boolean;
|
|
7607
|
+
taxonomyAssignments: {
|
|
7608
|
+
marketplace: string;
|
|
7609
|
+
storeId: string;
|
|
7610
|
+
storeName: string;
|
|
7611
|
+
country: string;
|
|
7612
|
+
}[];
|
|
7613
|
+
error?: string;
|
|
7614
|
+
};
|
|
7615
|
+
error?: string;
|
|
7616
|
+
links?: {
|
|
7617
|
+
[key: string]: string;
|
|
7618
|
+
};
|
|
7619
|
+
warnings?: string[];
|
|
7620
|
+
recommendations?: string[];
|
|
7621
|
+
};
|
|
7622
|
+
};
|
|
7623
|
+
};
|
|
7624
|
+
/** @description Invalid request, including nonnumeric IDs or an invalid quantity. */
|
|
6647
7625
|
400: {
|
|
6648
7626
|
headers: {
|
|
6649
7627
|
[name: string]: unknown;
|
|
6650
7628
|
};
|
|
6651
7629
|
content?: never;
|
|
6652
7630
|
};
|
|
6653
|
-
/** @description
|
|
7631
|
+
/** @description Missing or invalid credentials. */
|
|
6654
7632
|
401: {
|
|
6655
7633
|
headers: {
|
|
6656
7634
|
[name: string]: unknown;
|
|
6657
7635
|
};
|
|
6658
7636
|
content?: never;
|
|
6659
7637
|
};
|
|
6660
|
-
/** @description
|
|
6661
|
-
402: {
|
|
6662
|
-
headers: {
|
|
6663
|
-
[name: string]: unknown;
|
|
6664
|
-
};
|
|
6665
|
-
content?: never;
|
|
6666
|
-
};
|
|
6667
|
-
/** @description Forbidden. Missing OAuth scope. */
|
|
7638
|
+
/** @description Missing catalog:write scope, insufficient permission, organization mismatch, or inactive organization. */
|
|
6668
7639
|
403: {
|
|
6669
7640
|
headers: {
|
|
6670
7641
|
[name: string]: unknown;
|
|
6671
7642
|
};
|
|
6672
7643
|
content?: never;
|
|
6673
7644
|
};
|
|
6674
|
-
/** @description
|
|
6675
|
-
|
|
7645
|
+
/** @description Rate limit exceeded. */
|
|
7646
|
+
429: {
|
|
6676
7647
|
headers: {
|
|
6677
7648
|
[name: string]: unknown;
|
|
6678
7649
|
};
|
|
6679
7650
|
content?: never;
|
|
6680
7651
|
};
|
|
6681
|
-
/** @description
|
|
7652
|
+
/** @description Unexpected import failure. */
|
|
6682
7653
|
500: {
|
|
6683
7654
|
headers: {
|
|
6684
7655
|
[name: string]: unknown;
|
|
@@ -13191,7 +14162,7 @@ interface operations {
|
|
|
13191
14162
|
*/
|
|
13192
14163
|
enrich?: boolean;
|
|
13193
14164
|
/**
|
|
13194
|
-
* @description Defaults to
|
|
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.
|
|
13195
14166
|
* @default true
|
|
13196
14167
|
*/
|
|
13197
14168
|
aco?: boolean;
|
|
@@ -14783,6 +15754,7 @@ interface operations {
|
|
|
14783
15754
|
description: string;
|
|
14784
15755
|
}[];
|
|
14785
15756
|
enrich?: boolean;
|
|
15757
|
+
/** @description Accepted for compatibility. Bulk import does not queue ACO. */
|
|
14786
15758
|
disableAcoGeneration?: boolean;
|
|
14787
15759
|
skipEnrichment?: boolean;
|
|
14788
15760
|
skipBackgroundRemoval?: boolean;
|
|
@@ -17447,6 +18419,17 @@ interface operations {
|
|
|
17447
18419
|
| "return.created"
|
|
17448
18420
|
| "return.updated"
|
|
17449
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"
|
|
17450
18433
|
)[];
|
|
17451
18434
|
description?: string;
|
|
17452
18435
|
};
|
|
@@ -18615,12 +19598,236 @@ interface operations {
|
|
|
18615
19598
|
};
|
|
18616
19599
|
};
|
|
18617
19600
|
};
|
|
18618
|
-
product_created_webhook: {
|
|
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": {
|
|
19818
|
+
headers: {
|
|
19819
|
+
[name: string]: unknown;
|
|
19820
|
+
};
|
|
19821
|
+
content?: never;
|
|
19822
|
+
};
|
|
19823
|
+
};
|
|
19824
|
+
};
|
|
19825
|
+
look_created_webhook: {
|
|
18619
19826
|
parameters: {
|
|
18620
19827
|
query?: never;
|
|
18621
19828
|
header: {
|
|
18622
19829
|
"X-Omni-Event-Id": string;
|
|
18623
|
-
"X-Omni-Event-Type": "
|
|
19830
|
+
"X-Omni-Event-Type": "look.created";
|
|
18624
19831
|
"X-Omni-Timestamp": string;
|
|
18625
19832
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18626
19833
|
"X-Omni-Signature": string;
|
|
@@ -18630,7 +19837,7 @@ interface operations {
|
|
|
18630
19837
|
};
|
|
18631
19838
|
requestBody: {
|
|
18632
19839
|
content: {
|
|
18633
|
-
"application/json": components["schemas"]["
|
|
19840
|
+
"application/json": components["schemas"]["LookCreatedWebhookEvent"];
|
|
18634
19841
|
};
|
|
18635
19842
|
};
|
|
18636
19843
|
responses: {
|
|
@@ -18643,12 +19850,12 @@ interface operations {
|
|
|
18643
19850
|
};
|
|
18644
19851
|
};
|
|
18645
19852
|
};
|
|
18646
|
-
|
|
19853
|
+
look_deleted_webhook: {
|
|
18647
19854
|
parameters: {
|
|
18648
19855
|
query?: never;
|
|
18649
19856
|
header: {
|
|
18650
19857
|
"X-Omni-Event-Id": string;
|
|
18651
|
-
"X-Omni-Event-Type": "
|
|
19858
|
+
"X-Omni-Event-Type": "look.deleted";
|
|
18652
19859
|
"X-Omni-Timestamp": string;
|
|
18653
19860
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18654
19861
|
"X-Omni-Signature": string;
|
|
@@ -18658,7 +19865,7 @@ interface operations {
|
|
|
18658
19865
|
};
|
|
18659
19866
|
requestBody: {
|
|
18660
19867
|
content: {
|
|
18661
|
-
"application/json": components["schemas"]["
|
|
19868
|
+
"application/json": components["schemas"]["LookDeletedWebhookEvent"];
|
|
18662
19869
|
};
|
|
18663
19870
|
};
|
|
18664
19871
|
responses: {
|
|
@@ -18671,12 +19878,12 @@ interface operations {
|
|
|
18671
19878
|
};
|
|
18672
19879
|
};
|
|
18673
19880
|
};
|
|
18674
|
-
|
|
19881
|
+
review_created_webhook: {
|
|
18675
19882
|
parameters: {
|
|
18676
19883
|
query?: never;
|
|
18677
19884
|
header: {
|
|
18678
19885
|
"X-Omni-Event-Id": string;
|
|
18679
|
-
"X-Omni-Event-Type": "
|
|
19886
|
+
"X-Omni-Event-Type": "review.created";
|
|
18680
19887
|
"X-Omni-Timestamp": string;
|
|
18681
19888
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18682
19889
|
"X-Omni-Signature": string;
|
|
@@ -18686,7 +19893,7 @@ interface operations {
|
|
|
18686
19893
|
};
|
|
18687
19894
|
requestBody: {
|
|
18688
19895
|
content: {
|
|
18689
|
-
"application/json": components["schemas"]["
|
|
19896
|
+
"application/json": components["schemas"]["ReviewCreatedWebhookEvent"];
|
|
18690
19897
|
};
|
|
18691
19898
|
};
|
|
18692
19899
|
responses: {
|
|
@@ -18699,12 +19906,12 @@ interface operations {
|
|
|
18699
19906
|
};
|
|
18700
19907
|
};
|
|
18701
19908
|
};
|
|
18702
|
-
|
|
19909
|
+
review_updated_webhook: {
|
|
18703
19910
|
parameters: {
|
|
18704
19911
|
query?: never;
|
|
18705
19912
|
header: {
|
|
18706
19913
|
"X-Omni-Event-Id": string;
|
|
18707
|
-
"X-Omni-Event-Type": "
|
|
19914
|
+
"X-Omni-Event-Type": "review.updated";
|
|
18708
19915
|
"X-Omni-Timestamp": string;
|
|
18709
19916
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18710
19917
|
"X-Omni-Signature": string;
|
|
@@ -18714,7 +19921,7 @@ interface operations {
|
|
|
18714
19921
|
};
|
|
18715
19922
|
requestBody: {
|
|
18716
19923
|
content: {
|
|
18717
|
-
"application/json": components["schemas"]["
|
|
19924
|
+
"application/json": components["schemas"]["ReviewUpdatedWebhookEvent"];
|
|
18718
19925
|
};
|
|
18719
19926
|
};
|
|
18720
19927
|
responses: {
|
|
@@ -18727,12 +19934,12 @@ interface operations {
|
|
|
18727
19934
|
};
|
|
18728
19935
|
};
|
|
18729
19936
|
};
|
|
18730
|
-
|
|
19937
|
+
review_status_changed_webhook: {
|
|
18731
19938
|
parameters: {
|
|
18732
19939
|
query?: never;
|
|
18733
19940
|
header: {
|
|
18734
19941
|
"X-Omni-Event-Id": string;
|
|
18735
|
-
"X-Omni-Event-Type": "
|
|
19942
|
+
"X-Omni-Event-Type": "review.status.changed";
|
|
18736
19943
|
"X-Omni-Timestamp": string;
|
|
18737
19944
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18738
19945
|
"X-Omni-Signature": string;
|
|
@@ -18742,7 +19949,7 @@ interface operations {
|
|
|
18742
19949
|
};
|
|
18743
19950
|
requestBody: {
|
|
18744
19951
|
content: {
|
|
18745
|
-
"application/json": components["schemas"]["
|
|
19952
|
+
"application/json": components["schemas"]["ReviewStatusChangedWebhookEvent"];
|
|
18746
19953
|
};
|
|
18747
19954
|
};
|
|
18748
19955
|
responses: {
|
|
@@ -18755,12 +19962,12 @@ interface operations {
|
|
|
18755
19962
|
};
|
|
18756
19963
|
};
|
|
18757
19964
|
};
|
|
18758
|
-
|
|
19965
|
+
order_created_webhook: {
|
|
18759
19966
|
parameters: {
|
|
18760
19967
|
query?: never;
|
|
18761
19968
|
header: {
|
|
18762
19969
|
"X-Omni-Event-Id": string;
|
|
18763
|
-
"X-Omni-Event-Type": "
|
|
19970
|
+
"X-Omni-Event-Type": "order.created";
|
|
18764
19971
|
"X-Omni-Timestamp": string;
|
|
18765
19972
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18766
19973
|
"X-Omni-Signature": string;
|
|
@@ -18770,7 +19977,7 @@ interface operations {
|
|
|
18770
19977
|
};
|
|
18771
19978
|
requestBody: {
|
|
18772
19979
|
content: {
|
|
18773
|
-
"application/json": components["schemas"]["
|
|
19980
|
+
"application/json": components["schemas"]["OrderCreatedWebhookEvent"];
|
|
18774
19981
|
};
|
|
18775
19982
|
};
|
|
18776
19983
|
responses: {
|
|
@@ -18783,12 +19990,12 @@ interface operations {
|
|
|
18783
19990
|
};
|
|
18784
19991
|
};
|
|
18785
19992
|
};
|
|
18786
|
-
|
|
19993
|
+
order_updated_webhook: {
|
|
18787
19994
|
parameters: {
|
|
18788
19995
|
query?: never;
|
|
18789
19996
|
header: {
|
|
18790
19997
|
"X-Omni-Event-Id": string;
|
|
18791
|
-
"X-Omni-Event-Type": "
|
|
19998
|
+
"X-Omni-Event-Type": "order.updated";
|
|
18792
19999
|
"X-Omni-Timestamp": string;
|
|
18793
20000
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18794
20001
|
"X-Omni-Signature": string;
|
|
@@ -18798,7 +20005,7 @@ interface operations {
|
|
|
18798
20005
|
};
|
|
18799
20006
|
requestBody: {
|
|
18800
20007
|
content: {
|
|
18801
|
-
"application/json": components["schemas"]["
|
|
20008
|
+
"application/json": components["schemas"]["OrderUpdatedWebhookEvent"];
|
|
18802
20009
|
};
|
|
18803
20010
|
};
|
|
18804
20011
|
responses: {
|
|
@@ -18811,12 +20018,12 @@ interface operations {
|
|
|
18811
20018
|
};
|
|
18812
20019
|
};
|
|
18813
20020
|
};
|
|
18814
|
-
|
|
20021
|
+
order_status_changed_webhook: {
|
|
18815
20022
|
parameters: {
|
|
18816
20023
|
query?: never;
|
|
18817
20024
|
header: {
|
|
18818
20025
|
"X-Omni-Event-Id": string;
|
|
18819
|
-
"X-Omni-Event-Type": "
|
|
20026
|
+
"X-Omni-Event-Type": "order.status.changed";
|
|
18820
20027
|
"X-Omni-Timestamp": string;
|
|
18821
20028
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18822
20029
|
"X-Omni-Signature": string;
|
|
@@ -18826,7 +20033,7 @@ interface operations {
|
|
|
18826
20033
|
};
|
|
18827
20034
|
requestBody: {
|
|
18828
20035
|
content: {
|
|
18829
|
-
"application/json": components["schemas"]["
|
|
20036
|
+
"application/json": components["schemas"]["OrderStatusChangedWebhookEvent"];
|
|
18830
20037
|
};
|
|
18831
20038
|
};
|
|
18832
20039
|
responses: {
|
|
@@ -18839,12 +20046,12 @@ interface operations {
|
|
|
18839
20046
|
};
|
|
18840
20047
|
};
|
|
18841
20048
|
};
|
|
18842
|
-
|
|
20049
|
+
order_deleted_webhook: {
|
|
18843
20050
|
parameters: {
|
|
18844
20051
|
query?: never;
|
|
18845
20052
|
header: {
|
|
18846
20053
|
"X-Omni-Event-Id": string;
|
|
18847
|
-
"X-Omni-Event-Type": "
|
|
20054
|
+
"X-Omni-Event-Type": "order.deleted";
|
|
18848
20055
|
"X-Omni-Timestamp": string;
|
|
18849
20056
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18850
20057
|
"X-Omni-Signature": string;
|
|
@@ -18854,7 +20061,7 @@ interface operations {
|
|
|
18854
20061
|
};
|
|
18855
20062
|
requestBody: {
|
|
18856
20063
|
content: {
|
|
18857
|
-
"application/json": components["schemas"]["
|
|
20064
|
+
"application/json": components["schemas"]["OrderDeletedWebhookEvent"];
|
|
18858
20065
|
};
|
|
18859
20066
|
};
|
|
18860
20067
|
responses: {
|
|
@@ -18867,12 +20074,12 @@ interface operations {
|
|
|
18867
20074
|
};
|
|
18868
20075
|
};
|
|
18869
20076
|
};
|
|
18870
|
-
|
|
20077
|
+
settlement_created_webhook: {
|
|
18871
20078
|
parameters: {
|
|
18872
20079
|
query?: never;
|
|
18873
20080
|
header: {
|
|
18874
20081
|
"X-Omni-Event-Id": string;
|
|
18875
|
-
"X-Omni-Event-Type": "
|
|
20082
|
+
"X-Omni-Event-Type": "settlement.created";
|
|
18876
20083
|
"X-Omni-Timestamp": string;
|
|
18877
20084
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18878
20085
|
"X-Omni-Signature": string;
|
|
@@ -18882,7 +20089,7 @@ interface operations {
|
|
|
18882
20089
|
};
|
|
18883
20090
|
requestBody: {
|
|
18884
20091
|
content: {
|
|
18885
|
-
"application/json": components["schemas"]["
|
|
20092
|
+
"application/json": components["schemas"]["SettlementCreatedWebhookEvent"];
|
|
18886
20093
|
};
|
|
18887
20094
|
};
|
|
18888
20095
|
responses: {
|
|
@@ -18895,12 +20102,12 @@ interface operations {
|
|
|
18895
20102
|
};
|
|
18896
20103
|
};
|
|
18897
20104
|
};
|
|
18898
|
-
|
|
20105
|
+
settlement_updated_webhook: {
|
|
18899
20106
|
parameters: {
|
|
18900
20107
|
query?: never;
|
|
18901
20108
|
header: {
|
|
18902
20109
|
"X-Omni-Event-Id": string;
|
|
18903
|
-
"X-Omni-Event-Type": "
|
|
20110
|
+
"X-Omni-Event-Type": "settlement.updated";
|
|
18904
20111
|
"X-Omni-Timestamp": string;
|
|
18905
20112
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18906
20113
|
"X-Omni-Signature": string;
|
|
@@ -18910,7 +20117,7 @@ interface operations {
|
|
|
18910
20117
|
};
|
|
18911
20118
|
requestBody: {
|
|
18912
20119
|
content: {
|
|
18913
|
-
"application/json": components["schemas"]["
|
|
20120
|
+
"application/json": components["schemas"]["SettlementUpdatedWebhookEvent"];
|
|
18914
20121
|
};
|
|
18915
20122
|
};
|
|
18916
20123
|
responses: {
|
|
@@ -18923,12 +20130,12 @@ interface operations {
|
|
|
18923
20130
|
};
|
|
18924
20131
|
};
|
|
18925
20132
|
};
|
|
18926
|
-
|
|
20133
|
+
settlement_status_changed_webhook: {
|
|
18927
20134
|
parameters: {
|
|
18928
20135
|
query?: never;
|
|
18929
20136
|
header: {
|
|
18930
20137
|
"X-Omni-Event-Id": string;
|
|
18931
|
-
"X-Omni-Event-Type": "
|
|
20138
|
+
"X-Omni-Event-Type": "settlement.status.changed";
|
|
18932
20139
|
"X-Omni-Timestamp": string;
|
|
18933
20140
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
18934
20141
|
"X-Omni-Signature": string;
|
|
@@ -18938,7 +20145,7 @@ interface operations {
|
|
|
18938
20145
|
};
|
|
18939
20146
|
requestBody: {
|
|
18940
20147
|
content: {
|
|
18941
|
-
"application/json": components["schemas"]["
|
|
20148
|
+
"application/json": components["schemas"]["SettlementStatusChangedWebhookEvent"];
|
|
18942
20149
|
};
|
|
18943
20150
|
};
|
|
18944
20151
|
responses: {
|
|
@@ -18951,14 +20158,15 @@ interface operations {
|
|
|
18951
20158
|
};
|
|
18952
20159
|
};
|
|
18953
20160
|
};
|
|
18954
|
-
|
|
20161
|
+
receiveReturnCreatedWebhookEvent: {
|
|
18955
20162
|
parameters: {
|
|
18956
20163
|
query?: never;
|
|
18957
20164
|
header: {
|
|
20165
|
+
/** @description Stable event id and recipient idempotency key. */
|
|
18958
20166
|
"X-Omni-Event-Id": string;
|
|
18959
|
-
"X-Omni-Event-Type":
|
|
20167
|
+
"X-Omni-Event-Type": string;
|
|
18960
20168
|
"X-Omni-Timestamp": string;
|
|
18961
|
-
/** @description Hex HMAC-SHA256
|
|
20169
|
+
/** @description Hex HMAC-SHA256 over timestamp.rawBody. */
|
|
18962
20170
|
"X-Omni-Signature": string;
|
|
18963
20171
|
};
|
|
18964
20172
|
path?: never;
|
|
@@ -18966,12 +20174,19 @@ interface operations {
|
|
|
18966
20174
|
};
|
|
18967
20175
|
requestBody: {
|
|
18968
20176
|
content: {
|
|
18969
|
-
"application/json": components["schemas"]["
|
|
20177
|
+
"application/json": components["schemas"]["ReturnCreatedWebhookEvent"];
|
|
18970
20178
|
};
|
|
18971
20179
|
};
|
|
18972
20180
|
responses: {
|
|
18973
|
-
/** @description Event accepted. */
|
|
18974
|
-
|
|
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: {
|
|
18975
20190
|
headers: {
|
|
18976
20191
|
[name: string]: unknown;
|
|
18977
20192
|
};
|
|
@@ -18979,14 +20194,15 @@ interface operations {
|
|
|
18979
20194
|
};
|
|
18980
20195
|
};
|
|
18981
20196
|
};
|
|
18982
|
-
|
|
20197
|
+
receiveReturnUpdatedWebhookEvent: {
|
|
18983
20198
|
parameters: {
|
|
18984
20199
|
query?: never;
|
|
18985
20200
|
header: {
|
|
20201
|
+
/** @description Stable event id and recipient idempotency key. */
|
|
18986
20202
|
"X-Omni-Event-Id": string;
|
|
18987
|
-
"X-Omni-Event-Type":
|
|
20203
|
+
"X-Omni-Event-Type": string;
|
|
18988
20204
|
"X-Omni-Timestamp": string;
|
|
18989
|
-
/** @description Hex HMAC-SHA256
|
|
20205
|
+
/** @description Hex HMAC-SHA256 over timestamp.rawBody. */
|
|
18990
20206
|
"X-Omni-Signature": string;
|
|
18991
20207
|
};
|
|
18992
20208
|
path?: never;
|
|
@@ -18994,12 +20210,19 @@ interface operations {
|
|
|
18994
20210
|
};
|
|
18995
20211
|
requestBody: {
|
|
18996
20212
|
content: {
|
|
18997
|
-
"application/json": components["schemas"]["
|
|
20213
|
+
"application/json": components["schemas"]["ReturnUpdatedWebhookEvent"];
|
|
18998
20214
|
};
|
|
18999
20215
|
};
|
|
19000
20216
|
responses: {
|
|
19001
|
-
/** @description Event accepted. */
|
|
19002
|
-
|
|
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: {
|
|
19003
20226
|
headers: {
|
|
19004
20227
|
[name: string]: unknown;
|
|
19005
20228
|
};
|
|
@@ -19007,14 +20230,15 @@ interface operations {
|
|
|
19007
20230
|
};
|
|
19008
20231
|
};
|
|
19009
20232
|
};
|
|
19010
|
-
|
|
20233
|
+
receiveReturnStatusChangedWebhookEvent: {
|
|
19011
20234
|
parameters: {
|
|
19012
20235
|
query?: never;
|
|
19013
20236
|
header: {
|
|
20237
|
+
/** @description Stable event id and recipient idempotency key. */
|
|
19014
20238
|
"X-Omni-Event-Id": string;
|
|
19015
|
-
"X-Omni-Event-Type":
|
|
20239
|
+
"X-Omni-Event-Type": string;
|
|
19016
20240
|
"X-Omni-Timestamp": string;
|
|
19017
|
-
/** @description Hex HMAC-SHA256
|
|
20241
|
+
/** @description Hex HMAC-SHA256 over timestamp.rawBody. */
|
|
19018
20242
|
"X-Omni-Signature": string;
|
|
19019
20243
|
};
|
|
19020
20244
|
path?: never;
|
|
@@ -19022,12 +20246,19 @@ interface operations {
|
|
|
19022
20246
|
};
|
|
19023
20247
|
requestBody: {
|
|
19024
20248
|
content: {
|
|
19025
|
-
"application/json": components["schemas"]["
|
|
20249
|
+
"application/json": components["schemas"]["ReturnStatusChangedWebhookEvent"];
|
|
19026
20250
|
};
|
|
19027
20251
|
};
|
|
19028
20252
|
responses: {
|
|
19029
|
-
/** @description Event accepted. */
|
|
19030
|
-
|
|
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: {
|
|
19031
20262
|
headers: {
|
|
19032
20263
|
[name: string]: unknown;
|
|
19033
20264
|
};
|
|
@@ -19035,12 +20266,12 @@ interface operations {
|
|
|
19035
20266
|
};
|
|
19036
20267
|
};
|
|
19037
20268
|
};
|
|
19038
|
-
|
|
20269
|
+
account_statement_created_webhook: {
|
|
19039
20270
|
parameters: {
|
|
19040
20271
|
query?: never;
|
|
19041
20272
|
header: {
|
|
19042
20273
|
"X-Omni-Event-Id": string;
|
|
19043
|
-
"X-Omni-Event-Type": "
|
|
20274
|
+
"X-Omni-Event-Type": "account_statement.created";
|
|
19044
20275
|
"X-Omni-Timestamp": string;
|
|
19045
20276
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
19046
20277
|
"X-Omni-Signature": string;
|
|
@@ -19050,7 +20281,7 @@ interface operations {
|
|
|
19050
20281
|
};
|
|
19051
20282
|
requestBody: {
|
|
19052
20283
|
content: {
|
|
19053
|
-
"application/json": components["schemas"]["
|
|
20284
|
+
"application/json": components["schemas"]["AccountStatementCreatedWebhookEvent"];
|
|
19054
20285
|
};
|
|
19055
20286
|
};
|
|
19056
20287
|
responses: {
|
|
@@ -19063,12 +20294,12 @@ interface operations {
|
|
|
19063
20294
|
};
|
|
19064
20295
|
};
|
|
19065
20296
|
};
|
|
19066
|
-
|
|
20297
|
+
account_statement_updated_webhook: {
|
|
19067
20298
|
parameters: {
|
|
19068
20299
|
query?: never;
|
|
19069
20300
|
header: {
|
|
19070
20301
|
"X-Omni-Event-Id": string;
|
|
19071
|
-
"X-Omni-Event-Type": "
|
|
20302
|
+
"X-Omni-Event-Type": "account_statement.updated";
|
|
19072
20303
|
"X-Omni-Timestamp": string;
|
|
19073
20304
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
19074
20305
|
"X-Omni-Signature": string;
|
|
@@ -19078,7 +20309,7 @@ interface operations {
|
|
|
19078
20309
|
};
|
|
19079
20310
|
requestBody: {
|
|
19080
20311
|
content: {
|
|
19081
|
-
"application/json": components["schemas"]["
|
|
20312
|
+
"application/json": components["schemas"]["AccountStatementUpdatedWebhookEvent"];
|
|
19082
20313
|
};
|
|
19083
20314
|
};
|
|
19084
20315
|
responses: {
|
|
@@ -19091,12 +20322,12 @@ interface operations {
|
|
|
19091
20322
|
};
|
|
19092
20323
|
};
|
|
19093
20324
|
};
|
|
19094
|
-
|
|
20325
|
+
account_statement_status_changed_webhook: {
|
|
19095
20326
|
parameters: {
|
|
19096
20327
|
query?: never;
|
|
19097
20328
|
header: {
|
|
19098
20329
|
"X-Omni-Event-Id": string;
|
|
19099
|
-
"X-Omni-Event-Type": "
|
|
20330
|
+
"X-Omni-Event-Type": "account_statement.status.changed";
|
|
19100
20331
|
"X-Omni-Timestamp": string;
|
|
19101
20332
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
19102
20333
|
"X-Omni-Signature": string;
|
|
@@ -19106,7 +20337,7 @@ interface operations {
|
|
|
19106
20337
|
};
|
|
19107
20338
|
requestBody: {
|
|
19108
20339
|
content: {
|
|
19109
|
-
"application/json": components["schemas"]["
|
|
20340
|
+
"application/json": components["schemas"]["AccountStatementStatusChangedWebhookEvent"];
|
|
19110
20341
|
};
|
|
19111
20342
|
};
|
|
19112
20343
|
responses: {
|
|
@@ -19119,12 +20350,12 @@ interface operations {
|
|
|
19119
20350
|
};
|
|
19120
20351
|
};
|
|
19121
20352
|
};
|
|
19122
|
-
|
|
20353
|
+
account_statement_reconciliation_changed_webhook: {
|
|
19123
20354
|
parameters: {
|
|
19124
20355
|
query?: never;
|
|
19125
20356
|
header: {
|
|
19126
20357
|
"X-Omni-Event-Id": string;
|
|
19127
|
-
"X-Omni-Event-Type": "
|
|
20358
|
+
"X-Omni-Event-Type": "account_statement.reconciliation.changed";
|
|
19128
20359
|
"X-Omni-Timestamp": string;
|
|
19129
20360
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
19130
20361
|
"X-Omni-Signature": string;
|
|
@@ -19134,7 +20365,7 @@ interface operations {
|
|
|
19134
20365
|
};
|
|
19135
20366
|
requestBody: {
|
|
19136
20367
|
content: {
|
|
19137
|
-
"application/json": components["schemas"]["
|
|
20368
|
+
"application/json": components["schemas"]["AccountStatementReconciliationChangedWebhookEvent"];
|
|
19138
20369
|
};
|
|
19139
20370
|
};
|
|
19140
20371
|
responses: {
|
|
@@ -19147,12 +20378,12 @@ interface operations {
|
|
|
19147
20378
|
};
|
|
19148
20379
|
};
|
|
19149
20380
|
};
|
|
19150
|
-
|
|
20381
|
+
account_statement_transactions_synced_webhook: {
|
|
19151
20382
|
parameters: {
|
|
19152
20383
|
query?: never;
|
|
19153
20384
|
header: {
|
|
19154
20385
|
"X-Omni-Event-Id": string;
|
|
19155
|
-
"X-Omni-Event-Type": "
|
|
20386
|
+
"X-Omni-Event-Type": "account_statement.transactions.synced";
|
|
19156
20387
|
"X-Omni-Timestamp": string;
|
|
19157
20388
|
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
19158
20389
|
"X-Omni-Signature": string;
|
|
@@ -19162,7 +20393,7 @@ interface operations {
|
|
|
19162
20393
|
};
|
|
19163
20394
|
requestBody: {
|
|
19164
20395
|
content: {
|
|
19165
|
-
"application/json": components["schemas"]["
|
|
20396
|
+
"application/json": components["schemas"]["AccountStatementTransactionsSyncedWebhookEvent"];
|
|
19166
20397
|
};
|
|
19167
20398
|
};
|
|
19168
20399
|
responses: {
|
|
@@ -19175,15 +20406,14 @@ interface operations {
|
|
|
19175
20406
|
};
|
|
19176
20407
|
};
|
|
19177
20408
|
};
|
|
19178
|
-
|
|
20409
|
+
account_statement_transactions_failed_webhook: {
|
|
19179
20410
|
parameters: {
|
|
19180
20411
|
query?: never;
|
|
19181
20412
|
header: {
|
|
19182
|
-
/** @description Stable event id and recipient idempotency key. */
|
|
19183
20413
|
"X-Omni-Event-Id": string;
|
|
19184
|
-
"X-Omni-Event-Type":
|
|
20414
|
+
"X-Omni-Event-Type": "account_statement.transactions.failed";
|
|
19185
20415
|
"X-Omni-Timestamp": string;
|
|
19186
|
-
/** @description Hex HMAC-SHA256
|
|
20416
|
+
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
19187
20417
|
"X-Omni-Signature": string;
|
|
19188
20418
|
};
|
|
19189
20419
|
path?: never;
|
|
@@ -19191,19 +20421,40 @@ interface operations {
|
|
|
19191
20421
|
};
|
|
19192
20422
|
requestBody: {
|
|
19193
20423
|
content: {
|
|
19194
|
-
"application/json": components["schemas"]["
|
|
20424
|
+
"application/json": components["schemas"]["AccountStatementTransactionsFailedWebhookEvent"];
|
|
19195
20425
|
};
|
|
19196
20426
|
};
|
|
19197
20427
|
responses: {
|
|
19198
|
-
/** @description Event
|
|
19199
|
-
|
|
20428
|
+
/** @description Event accepted. */
|
|
20429
|
+
"2XX": {
|
|
19200
20430
|
headers: {
|
|
19201
20431
|
[name: string]: unknown;
|
|
19202
20432
|
};
|
|
19203
20433
|
content?: never;
|
|
19204
20434
|
};
|
|
19205
|
-
|
|
19206
|
-
|
|
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": {
|
|
19207
20458
|
headers: {
|
|
19208
20459
|
[name: string]: unknown;
|
|
19209
20460
|
};
|
|
@@ -19211,15 +20462,14 @@ interface operations {
|
|
|
19211
20462
|
};
|
|
19212
20463
|
};
|
|
19213
20464
|
};
|
|
19214
|
-
|
|
20465
|
+
account_statement_sync_started_webhook: {
|
|
19215
20466
|
parameters: {
|
|
19216
20467
|
query?: never;
|
|
19217
20468
|
header: {
|
|
19218
|
-
/** @description Stable event id and recipient idempotency key. */
|
|
19219
20469
|
"X-Omni-Event-Id": string;
|
|
19220
|
-
"X-Omni-Event-Type":
|
|
20470
|
+
"X-Omni-Event-Type": "account_statement.sync.started";
|
|
19221
20471
|
"X-Omni-Timestamp": string;
|
|
19222
|
-
/** @description Hex HMAC-SHA256
|
|
20472
|
+
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
19223
20473
|
"X-Omni-Signature": string;
|
|
19224
20474
|
};
|
|
19225
20475
|
path?: never;
|
|
@@ -19227,19 +20477,40 @@ interface operations {
|
|
|
19227
20477
|
};
|
|
19228
20478
|
requestBody: {
|
|
19229
20479
|
content: {
|
|
19230
|
-
"application/json": components["schemas"]["
|
|
20480
|
+
"application/json": components["schemas"]["AccountStatementSyncStartedWebhookEvent"];
|
|
19231
20481
|
};
|
|
19232
20482
|
};
|
|
19233
20483
|
responses: {
|
|
19234
|
-
/** @description Event
|
|
19235
|
-
|
|
20484
|
+
/** @description Event accepted. */
|
|
20485
|
+
"2XX": {
|
|
19236
20486
|
headers: {
|
|
19237
20487
|
[name: string]: unknown;
|
|
19238
20488
|
};
|
|
19239
20489
|
content?: never;
|
|
19240
20490
|
};
|
|
19241
|
-
|
|
19242
|
-
|
|
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": {
|
|
19243
20514
|
headers: {
|
|
19244
20515
|
[name: string]: unknown;
|
|
19245
20516
|
};
|
|
@@ -19247,15 +20518,14 @@ interface operations {
|
|
|
19247
20518
|
};
|
|
19248
20519
|
};
|
|
19249
20520
|
};
|
|
19250
|
-
|
|
20521
|
+
account_statement_sync_failed_webhook: {
|
|
19251
20522
|
parameters: {
|
|
19252
20523
|
query?: never;
|
|
19253
20524
|
header: {
|
|
19254
|
-
/** @description Stable event id and recipient idempotency key. */
|
|
19255
20525
|
"X-Omni-Event-Id": string;
|
|
19256
|
-
"X-Omni-Event-Type":
|
|
20526
|
+
"X-Omni-Event-Type": "account_statement.sync.failed";
|
|
19257
20527
|
"X-Omni-Timestamp": string;
|
|
19258
|
-
/** @description Hex HMAC-SHA256
|
|
20528
|
+
/** @description Hex HMAC-SHA256 of `{timestamp}.{rawBody}` using the subscription secret. */
|
|
19259
20529
|
"X-Omni-Signature": string;
|
|
19260
20530
|
};
|
|
19261
20531
|
path?: never;
|
|
@@ -19263,19 +20533,40 @@ interface operations {
|
|
|
19263
20533
|
};
|
|
19264
20534
|
requestBody: {
|
|
19265
20535
|
content: {
|
|
19266
|
-
"application/json": components["schemas"]["
|
|
20536
|
+
"application/json": components["schemas"]["AccountStatementSyncFailedWebhookEvent"];
|
|
19267
20537
|
};
|
|
19268
20538
|
};
|
|
19269
20539
|
responses: {
|
|
19270
|
-
/** @description Event
|
|
19271
|
-
|
|
20540
|
+
/** @description Event accepted. */
|
|
20541
|
+
"2XX": {
|
|
19272
20542
|
headers: {
|
|
19273
20543
|
[name: string]: unknown;
|
|
19274
20544
|
};
|
|
19275
20545
|
content?: never;
|
|
19276
20546
|
};
|
|
19277
|
-
|
|
19278
|
-
|
|
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": {
|
|
19279
20570
|
headers: {
|
|
19280
20571
|
[name: string]: unknown;
|
|
19281
20572
|
};
|
|
@@ -19485,6 +20776,24 @@ declare class AopClient {
|
|
|
19485
20776
|
*/
|
|
19486
20777
|
retry(request: OperationBody<operations["post_v1_aop_retry"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_aop_retry"]>>;
|
|
19487
20778
|
}
|
|
20779
|
+
declare class BrandsgatewayClient {
|
|
20780
|
+
protected readonly _http: OmniHttp;
|
|
20781
|
+
constructor(_http: OmniHttp);
|
|
20782
|
+
/**
|
|
20783
|
+
* Import BrandsGateway Products
|
|
20784
|
+
*
|
|
20785
|
+
* Requires catalog:write and a connected BrandsGateway account. Uses the same parameters and import service as the import_brandsgateway_products tool.
|
|
20786
|
+
|
|
20787
|
+
### Selection
|
|
20788
|
+
|
|
20789
|
+
Choose catalogProductIds or importAllMatching with filters. maxProducts limits new imports to 1–50 across pages (default 50); already imported products are skipped. Numeric brandIds, vendorIds (supplier warehouses), categoryIds, and conditionIds arrays match any value within each field and all supplied fields together. Omit a field for no restriction; empty arrays and legacy singular/string filters are rejected. Brands accept at most 500 IDs; other filter arrays accept at most 50 each. Broad combinations may exceed the supplier request budget and return a failure asking you to narrow the filters.
|
|
20790
|
+
|
|
20791
|
+
### Updated dates and enrichme
|
|
20792
|
+
*
|
|
20793
|
+
* `POST /api/v1/brandsgateway/import`
|
|
20794
|
+
*/
|
|
20795
|
+
importProducts(request: OperationBody<operations["post_v1_brandsgateway_import"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_brandsgateway_import"]>>;
|
|
20796
|
+
}
|
|
19488
20797
|
declare class CampaignsClient {
|
|
19489
20798
|
protected readonly _http: OmniHttp;
|
|
19490
20799
|
constructor(_http: OmniHttp);
|
|
@@ -19651,7 +20960,7 @@ declare class DocumentsClient {
|
|
|
19651
20960
|
*
|
|
19652
20961
|
* Upload one file to the knowledge base as multipart/form-data. Requires `documents:write`.
|
|
19653
20962
|
|
|
19654
|
-
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.
|
|
19655
20964
|
*
|
|
19656
20965
|
* `POST /api/v1/documents`
|
|
19657
20966
|
*/
|
|
@@ -20605,6 +21914,7 @@ declare class OmniGeneratedClient {
|
|
|
20605
21914
|
readonly agents: AgentsClient;
|
|
20606
21915
|
readonly analytics: AnalyticsClient;
|
|
20607
21916
|
readonly aop: AopClient;
|
|
21917
|
+
readonly brandsgateway: BrandsgatewayClient;
|
|
20608
21918
|
readonly campaigns: CampaignsClient;
|
|
20609
21919
|
readonly catalog: CatalogClient;
|
|
20610
21920
|
readonly checkoutSessions: CheckoutSessionsClient;
|
|
@@ -20642,6 +21952,7 @@ type OmniResources = {
|
|
|
20642
21952
|
agents: AgentsClient;
|
|
20643
21953
|
analytics: AnalyticsClient;
|
|
20644
21954
|
aop: AopClient;
|
|
21955
|
+
brandsgateway: BrandsgatewayClient;
|
|
20645
21956
|
campaigns: CampaignsClient;
|
|
20646
21957
|
catalog: CatalogClient;
|
|
20647
21958
|
checkoutSessions: CheckoutSessionsClient;
|
|
@@ -20716,7 +22027,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
|
|
|
20716
22027
|
toleranceInSeconds?: number;
|
|
20717
22028
|
}): Promise<ConstructedWebhookEvent>;
|
|
20718
22029
|
|
|
20719
|
-
declare const SDK_VERSION = "0.
|
|
22030
|
+
declare const SDK_VERSION = "0.7.0";
|
|
20720
22031
|
|
|
20721
22032
|
type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
|
|
20722
22033
|
type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];
|
|
@@ -20737,7 +22048,29 @@ type SettlementStatusChangedWebhookEvent = components["schemas"]["SettlementStat
|
|
|
20737
22048
|
type ReturnCreatedWebhookEvent = components["schemas"]["ReturnCreatedWebhookEvent"];
|
|
20738
22049
|
type ReturnUpdatedWebhookEvent = components["schemas"]["ReturnUpdatedWebhookEvent"];
|
|
20739
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"];
|
|
20740
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;
|
|
20741
22074
|
type index_FlattenedRequest<Op> = FlattenedRequest<Op>;
|
|
20742
22075
|
type index_LookCreatedWebhookEvent = LookCreatedWebhookEvent;
|
|
20743
22076
|
type index_LookDeletedWebhookEvent = LookDeletedWebhookEvent;
|
|
@@ -20769,7 +22102,7 @@ type index_components = components;
|
|
|
20769
22102
|
type index_operations = operations;
|
|
20770
22103
|
type index_paths = paths;
|
|
20771
22104
|
declare namespace index {
|
|
20772
|
-
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 };
|
|
20773
22106
|
}
|
|
20774
22107
|
|
|
20775
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 };
|