@blezgo/api-sdk 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/dist/account/generated.d.ts +180 -180
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +60 -60
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +83 -83
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +126 -126
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +83 -83
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +30 -30
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +64 -64
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +79 -79
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +30 -30
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +83 -83
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +204 -204
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +147 -147
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +33 -33
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +80 -80
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +198 -198
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +40 -40
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +95 -95
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +251 -251
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +69 -69
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +166 -166
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +54 -54
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +477 -477
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +77 -77
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +397 -397
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +99 -99
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +177 -177
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +30 -30
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +30 -30
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +30 -30
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +94 -94
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +146 -146
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +154 -154
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +71 -71
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +140 -140
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +30 -30
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +30 -30
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +123 -123
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +337 -337
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +170 -170
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +382 -382
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +30 -30
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +106 -106
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +83 -83
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +502 -502
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +30 -30
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +470 -470
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +87 -87
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +552 -552
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +272 -272
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +78 -78
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +145 -145
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +47 -47
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +217 -217
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +139 -139
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +989 -989
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +334 -334
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +390 -390
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +30 -30
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1465 -1465
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +157 -157
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +562 -562
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +67 -67
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +619 -619
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +59 -59
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +65 -65
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +130 -130
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +123 -117
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +298 -298
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
  138. package/test-commit.txt +1 -0
@@ -2055,107 +2055,174 @@ export interface paths {
2055
2055
  export type webhooks = Record<string, never>;
2056
2056
  export interface components {
2057
2057
  schemas: {
2058
- /** SmsTemplateUpdateRequest */
2059
- SmsTemplateUpdateRequest: {
2060
- /** Template Name */
2061
- template_name?: string | null;
2062
- /** Template Text */
2063
- template_text?: string | null;
2064
- /** Description */
2065
- description?: string | null;
2066
- };
2067
- /** EmailTemplateUpdateRequest */
2068
- EmailTemplateUpdateRequest: {
2069
- /** Template Name */
2070
- template_name?: string | null;
2071
- /** Template Html */
2072
- template_html?: string | null;
2073
- /** S3 Path */
2074
- s3_path?: string | null;
2075
- /** Description */
2076
- description?: string | null;
2077
- };
2078
- /** PushContentUpdateRequest */
2079
- PushContentUpdateRequest: {
2080
- /** Push Title */
2081
- push_title?: string | null;
2082
- /** Push Body */
2083
- push_body?: string | null;
2058
+ /** InAppContentUpdateRequest */
2059
+ InAppContentUpdateRequest: {
2060
+ /** Notification Title */
2061
+ notification_title?: string | null;
2062
+ /** Notification Body */
2063
+ notification_body?: string | null;
2084
2064
  /** Status */
2085
2065
  status?: string | null;
2086
- /** Org Push Template Id */
2087
- org_push_template_id?: number | null;
2066
+ /** Org Inapp Template Id */
2067
+ org_inapp_template_id?: number | null;
2088
2068
  };
2089
- /** SmsContentCreateRequest */
2090
- SmsContentCreateRequest: {
2069
+ InvalidParam: {
2070
+ /** @example items[0].quantity */
2071
+ field?: string;
2072
+ /** @example Input should be greater than or equal to 1 */
2073
+ error?: string;
2074
+ };
2075
+ /**
2076
+ * WebhookEndpointRegisterRequest
2077
+ * @description Register a new org webhook endpoint.
2078
+ */
2079
+ WebhookEndpointRegisterRequest: {
2091
2080
  /**
2092
- * Event Id
2093
- * @description Event ID from msd_events_tbl
2081
+ * Event Code
2082
+ * @description Event code to subscribe to (e.g. order.created)
2094
2083
  */
2095
- event_id: number;
2084
+ event_code: string;
2096
2085
  /**
2097
- * Language
2098
- * @default en-US
2086
+ * Endpoint Name
2087
+ * @description Human-friendly label
2099
2088
  */
2100
- language: string;
2089
+ endpoint_name: string;
2101
2090
  /**
2102
- * Sms Text
2103
- * @description SMS message text with {{placeholders}}
2091
+ * Endpoint Url
2092
+ * @description HTTPS URL that will receive POST deliveries
2104
2093
  */
2105
- sms_text?: string | null;
2094
+ endpoint_url: string;
2106
2095
  /**
2107
- * Status
2108
- * @description draft, active, disabled
2109
- * @default draft
2096
+ * Auth Type
2097
+ * @description Authentication method for deliveries. hmac_sha256: server generates HMAC signing secret (returned once). bearer_token: provide bearer_token or server generates one. api_key_header: provide api_key_header_name + api_key_value. basic_auth: provide basic_auth_username + basic_auth_password. none: no authentication.
2098
+ * @default hmac_sha256
2110
2099
  */
2111
- status: string;
2112
- /** Org Sms Template Id */
2113
- org_sms_template_id?: number | null;
2114
- };
2115
- /** WhatsAppTemplateCreateRequest */
2116
- WhatsAppTemplateCreateRequest: {
2100
+ auth_type: string;
2117
2101
  /**
2118
- * Template Name
2119
- * @description Human-readable template name
2102
+ * Bearer Token
2103
+ * @description bearer_token auth only. Omit to have the server generate a secure token.
2120
2104
  */
2121
- template_name: string;
2105
+ bearer_token?: string | null;
2122
2106
  /**
2123
- * Language
2124
- * @default en-US
2107
+ * Api Key Header Name
2108
+ * @description api_key_header auth only. Header name (e.g. X-Api-Key).
2125
2109
  */
2126
- language: string;
2110
+ api_key_header_name?: string | null;
2127
2111
  /**
2128
- * Template Text
2129
- * @description WhatsApp template text with {{placeholders}}
2112
+ * Api Key Value
2113
+ * @description api_key_header auth only. API key value.
2130
2114
  */
2131
- template_text?: string | null;
2132
- /** Description */
2133
- description?: string | null;
2134
- };
2135
- /** InAppTemplateCreateRequest */
2136
- InAppTemplateCreateRequest: {
2115
+ api_key_value?: string | null;
2137
2116
  /**
2138
- * Template Name
2139
- * @description Human-readable template name
2117
+ * Basic Auth Username
2118
+ * @description basic_auth only.
2140
2119
  */
2141
- template_name: string;
2120
+ basic_auth_username?: string | null;
2142
2121
  /**
2143
- * Language
2144
- * @default en-US
2122
+ * Basic Auth Password
2123
+ * @description basic_auth only.
2145
2124
  */
2146
- language: string;
2125
+ basic_auth_password?: string | null;
2147
2126
  /**
2148
- * Notification Title Template
2149
- * @description In-App notification title template
2127
+ * Ssl Verify
2128
+ * @default true
2150
2129
  */
2151
- notification_title_template?: string | null;
2130
+ ssl_verify: boolean;
2152
2131
  /**
2153
- * Notification Body Template
2154
- * @description In-App notification body template
2132
+ * Timeout Seconds
2133
+ * @default 10
2155
2134
  */
2156
- notification_body_template?: string | null;
2157
- /** Description */
2158
- description?: string | null;
2135
+ timeout_seconds: number;
2136
+ /**
2137
+ * Max Retries
2138
+ * @default 3
2139
+ */
2140
+ max_retries: number;
2141
+ /**
2142
+ * Max Requests Per Minute
2143
+ * @default 60
2144
+ */
2145
+ max_requests_per_minute: number;
2146
+ /**
2147
+ * Event Filter Json
2148
+ * @description AND-logic event filter conditions: [{"field":"data.status","operator":"eq","value":"completed"}]
2149
+ */
2150
+ event_filter_json?: {
2151
+ [key: string]: unknown;
2152
+ }[] | null;
2153
+ /**
2154
+ * Payload Template
2155
+ * @description Custom payload template with {{field}} placeholders substituted from event data
2156
+ */
2157
+ payload_template?: {
2158
+ [key: string]: unknown;
2159
+ } | null;
2160
+ /**
2161
+ * Custom Headers
2162
+ * @description Static headers merged into every delivery request
2163
+ */
2164
+ custom_headers?: {
2165
+ [key: string]: string;
2166
+ } | null;
2167
+ /**
2168
+ * Skip Verification
2169
+ * @description Skip the verification ping (useful for localhost/testing)
2170
+ * @default false
2171
+ */
2172
+ skip_verification: boolean;
2173
+ /**
2174
+ * Msd Webhook Endpoint Id
2175
+ * @description Platform webhook endpoint this org endpoint overrides
2176
+ */
2177
+ msd_webhook_endpoint_id?: number | null;
2178
+ };
2179
+ /** SuppressionCreateRequest */
2180
+ SuppressionCreateRequest: {
2181
+ /**
2182
+ * Channel Type
2183
+ * @description email, sms, whatsapp, push
2184
+ */
2185
+ channel_type: string;
2186
+ /**
2187
+ * Target
2188
+ * @description Email address or phone number
2189
+ */
2190
+ target: string;
2191
+ /**
2192
+ * Reason
2193
+ * @description Must be 'manual' for API-created suppressions
2194
+ * @default manual
2195
+ */
2196
+ reason: string;
2197
+ /** Expires At */
2198
+ expires_at?: string | null;
2199
+ };
2200
+ /**
2201
+ * @example {
2202
+ * "status": "success",
2203
+ * "message": "Operation successful",
2204
+ * "message_code": "api_suc_20001",
2205
+ * "data": {},
2206
+ * "metadata": {
2207
+ * "timestamp": "2026-03-26T10:00:00.000Z",
2208
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
2209
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
2210
+ * "version": "v1",
2211
+ * "executionTime": 42,
2212
+ * "language": "en-US"
2213
+ * }
2214
+ * }
2215
+ */
2216
+ StandardResponse: {
2217
+ /** @example success */
2218
+ status?: string;
2219
+ data?: Record<string, never> | null;
2220
+ /** @example Operation successful */
2221
+ message?: string | null;
2222
+ /** @example api_suc_20001 */
2223
+ message_code?: string | null;
2224
+ metadata?: Record<string, never> | null;
2225
+ error?: components["schemas"]["ErrorResponse"];
2159
2226
  };
2160
2227
  /** PushTemplateCreateRequest */
2161
2228
  PushTemplateCreateRequest: {
@@ -2191,37 +2258,47 @@ export interface components {
2191
2258
  /** Description */
2192
2259
  description?: string | null;
2193
2260
  };
2194
- /** PushTemplateUpdateRequest */
2195
- PushTemplateUpdateRequest: {
2196
- /** Template Name */
2197
- template_name?: string | null;
2198
- /** Push Title Template */
2199
- push_title_template?: string | null;
2200
- /** Push Body Template */
2201
- push_body_template?: string | null;
2202
- /** Description */
2203
- description?: string | null;
2204
- };
2205
- /** SuppressionCreateRequest */
2206
- SuppressionCreateRequest: {
2261
+ /** InAppTemplateCreateRequest */
2262
+ InAppTemplateCreateRequest: {
2207
2263
  /**
2208
- * Channel Type
2209
- * @description email, sms, whatsapp, push
2264
+ * Template Name
2265
+ * @description Human-readable template name
2210
2266
  */
2211
- channel_type: string;
2267
+ template_name: string;
2212
2268
  /**
2213
- * Target
2214
- * @description Email address or phone number
2269
+ * Language
2270
+ * @default en-US
2215
2271
  */
2216
- target: string;
2272
+ language: string;
2217
2273
  /**
2218
- * Reason
2219
- * @description Must be 'manual' for API-created suppressions
2220
- * @default manual
2274
+ * Notification Title Template
2275
+ * @description In-App notification title template
2221
2276
  */
2222
- reason: string;
2223
- /** Expires At */
2224
- expires_at?: string | null;
2277
+ notification_title_template?: string | null;
2278
+ /**
2279
+ * Notification Body Template
2280
+ * @description In-App notification body template
2281
+ */
2282
+ notification_body_template?: string | null;
2283
+ /** Description */
2284
+ description?: string | null;
2285
+ };
2286
+ /** EmailContentUpdateRequest */
2287
+ EmailContentUpdateRequest: {
2288
+ /** Org Email Template Id */
2289
+ org_email_template_id?: number | null;
2290
+ /** Email Subject */
2291
+ email_subject?: string | null;
2292
+ /** Email Greet */
2293
+ email_greet?: string | null;
2294
+ /** Email Body */
2295
+ email_body?: string | null;
2296
+ /** Email Signoff */
2297
+ email_signoff?: string | null;
2298
+ /** Email Security Footer */
2299
+ email_security_footer?: string | null;
2300
+ /** Status */
2301
+ status?: string | null;
2225
2302
  };
2226
2303
  Extensions: {
2227
2304
  /** @example GENERIC_ERROR */
@@ -2232,34 +2309,28 @@ export interface components {
2232
2309
  /** @example Detailed debug information */
2233
2310
  debug?: string | null;
2234
2311
  };
2235
- ErrorResponse: {
2236
- /** @example about:blank */
2237
- type?: string;
2238
- /** @example GENERIC_ERROR */
2239
- code?: string;
2240
- /** @example Client Error */
2241
- title?: string;
2242
- /** @example 400 */
2243
- status?: number;
2244
- /** @example An error occurred */
2245
- detail?: string;
2246
- /** @example /v1/cart/items */
2247
- instance?: string;
2248
- extensions?: components["schemas"]["Extensions"];
2249
- };
2250
- /** InAppContentUpdateRequest */
2251
- InAppContentUpdateRequest: {
2252
- /** Notification Title */
2253
- notification_title?: string | null;
2254
- /** Notification Body */
2255
- notification_body?: string | null;
2312
+ /** SmsContentUpdateRequest */
2313
+ SmsContentUpdateRequest: {
2314
+ /** Sms Text */
2315
+ sms_text?: string | null;
2256
2316
  /** Status */
2257
2317
  status?: string | null;
2258
- /** Org Inapp Template Id */
2259
- org_inapp_template_id?: number | null;
2318
+ /** Org Sms Template Id */
2319
+ org_sms_template_id?: number | null;
2260
2320
  };
2261
- /** EmailContentCreateRequest */
2262
- EmailContentCreateRequest: {
2321
+ /** EmailTemplateUpdateRequest */
2322
+ EmailTemplateUpdateRequest: {
2323
+ /** Template Name */
2324
+ template_name?: string | null;
2325
+ /** Template Html */
2326
+ template_html?: string | null;
2327
+ /** S3 Path */
2328
+ s3_path?: string | null;
2329
+ /** Description */
2330
+ description?: string | null;
2331
+ };
2332
+ /** SmsContentCreateRequest */
2333
+ SmsContentCreateRequest: {
2263
2334
  /**
2264
2335
  * Event Id
2265
2336
  * @description Event ID from msd_events_tbl
@@ -2270,40 +2341,17 @@ export interface components {
2270
2341
  * @default en-US
2271
2342
  */
2272
2343
  language: string;
2273
- /** Org Email Template Id */
2274
- org_email_template_id?: number | null;
2275
- /** Email Subject */
2276
- email_subject?: string | null;
2277
- /** Email Greet */
2278
- email_greet?: string | null;
2279
- /** Email Body */
2280
- email_body?: string | null;
2281
- /** Email Signoff */
2282
- email_signoff?: string | null;
2283
- /** Email Security Footer */
2284
- email_security_footer?: string | null;
2344
+ /**
2345
+ * Sms Text
2346
+ * @description SMS message text with {{placeholders}}
2347
+ */
2348
+ sms_text?: string | null;
2285
2349
  /**
2286
2350
  * Status
2287
2351
  * @description draft, active, disabled
2288
2352
  * @default draft
2289
2353
  */
2290
2354
  status: string;
2291
- };
2292
- /** WhatsAppContentUpdateRequest */
2293
- WhatsAppContentUpdateRequest: {
2294
- /** Whatsapp Text */
2295
- whatsapp_text?: string | null;
2296
- /** Status */
2297
- status?: string | null;
2298
- /** Org Whatsapp Template Id */
2299
- org_whatsapp_template_id?: number | null;
2300
- };
2301
- /** SmsContentUpdateRequest */
2302
- SmsContentUpdateRequest: {
2303
- /** Sms Text */
2304
- sms_text?: string | null;
2305
- /** Status */
2306
- status?: string | null;
2307
2355
  /** Org Sms Template Id */
2308
2356
  org_sms_template_id?: number | null;
2309
2357
  };
@@ -2338,117 +2386,76 @@ export interface components {
2338
2386
  /** Org Push Template Id */
2339
2387
  org_push_template_id?: number | null;
2340
2388
  };
2341
- /**
2342
- * @example {
2343
- * "status": "success",
2344
- * "message": "Operation successful",
2345
- * "message_code": "api_suc_20001",
2346
- * "data": {},
2347
- * "metadata": {
2348
- * "timestamp": "2026-03-26T10:00:00.000Z",
2349
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
2350
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
2351
- * "version": "v1",
2352
- * "executionTime": 42,
2353
- * "language": "en-US"
2354
- * }
2355
- * }
2356
- */
2357
- StandardResponse: {
2358
- /** @example success */
2359
- status?: string;
2360
- data?: Record<string, never> | null;
2361
- /** @example Operation successful */
2362
- message?: string | null;
2363
- /** @example api_suc_20001 */
2364
- message_code?: string | null;
2365
- metadata?: Record<string, never> | null;
2366
- error?: components["schemas"]["ErrorResponse"];
2389
+ /** SmsTemplateUpdateRequest */
2390
+ SmsTemplateUpdateRequest: {
2391
+ /** Template Name */
2392
+ template_name?: string | null;
2393
+ /** Template Text */
2394
+ template_text?: string | null;
2395
+ /** Description */
2396
+ description?: string | null;
2367
2397
  };
2368
- /** EventChannelUpdateRequest */
2369
- EventChannelUpdateRequest: {
2370
- /** Is Enabled */
2371
- is_enabled?: boolean | null;
2372
- /** Priority */
2373
- priority?: number | null;
2398
+ /** PushContentUpdateRequest */
2399
+ PushContentUpdateRequest: {
2400
+ /** Push Title */
2401
+ push_title?: string | null;
2402
+ /** Push Body */
2403
+ push_body?: string | null;
2404
+ /** Status */
2405
+ status?: string | null;
2406
+ /** Org Push Template Id */
2407
+ org_push_template_id?: number | null;
2374
2408
  };
2375
- /**
2376
- * WebhookEndpointUpdateRequest
2377
- * @description Partial update for an org webhook endpoint.
2378
- */
2379
- WebhookEndpointUpdateRequest: {
2380
- /** Endpoint Name */
2381
- endpoint_name?: string | null;
2382
- /** Endpoint Url */
2383
- endpoint_url?: string | null;
2384
- /** Ssl Verify */
2385
- ssl_verify?: boolean | null;
2386
- /** Timeout Seconds */
2387
- timeout_seconds?: number | null;
2388
- /** Max Retries */
2389
- max_retries?: number | null;
2390
- /** Max Requests Per Minute */
2391
- max_requests_per_minute?: number | null;
2392
- /** Event Filter Json */
2393
- event_filter_json?: {
2394
- [key: string]: unknown;
2395
- }[] | null;
2396
- /** Payload Template */
2397
- payload_template?: {
2398
- [key: string]: unknown;
2399
- } | null;
2400
- /** Custom Headers */
2401
- custom_headers?: {
2402
- [key: string]: string;
2403
- } | null;
2409
+ /** WhatsAppTemplateCreateRequest */
2410
+ WhatsAppTemplateCreateRequest: {
2404
2411
  /**
2405
- * Bearer Token
2406
- * @description bearer_token auth only.
2412
+ * Template Name
2413
+ * @description Human-readable template name
2407
2414
  */
2408
- bearer_token?: string | null;
2415
+ template_name: string;
2409
2416
  /**
2410
- * Api Key Value
2411
- * @description api_key_header auth only.
2417
+ * Language
2418
+ * @default en-US
2412
2419
  */
2413
- api_key_value?: string | null;
2420
+ language: string;
2414
2421
  /**
2415
- * Api Key Header Name
2416
- * @description api_key_header auth only.
2422
+ * Template Text
2423
+ * @description WhatsApp template text with {{placeholders}}
2417
2424
  */
2418
- api_key_header_name?: string | null;
2425
+ template_text?: string | null;
2426
+ /** Description */
2427
+ description?: string | null;
2428
+ };
2429
+ /** InAppContentCreateRequest */
2430
+ InAppContentCreateRequest: {
2419
2431
  /**
2420
- * Basic Auth Username
2421
- * @description basic_auth only.
2432
+ * Event Id
2433
+ * @description Event ID from msd_events_tbl
2422
2434
  */
2423
- basic_auth_username?: string | null;
2435
+ event_id: number;
2424
2436
  /**
2425
- * Basic Auth Password
2426
- * @description basic_auth only.
2437
+ * Language
2438
+ * @default en-US
2427
2439
  */
2428
- basic_auth_password?: string | null;
2429
- };
2430
- /** EmailContentUpdateRequest */
2431
- EmailContentUpdateRequest: {
2432
- /** Org Email Template Id */
2433
- org_email_template_id?: number | null;
2434
- /** Email Subject */
2435
- email_subject?: string | null;
2436
- /** Email Greet */
2437
- email_greet?: string | null;
2438
- /** Email Body */
2439
- email_body?: string | null;
2440
- /** Email Signoff */
2441
- email_signoff?: string | null;
2442
- /** Email Security Footer */
2443
- email_security_footer?: string | null;
2444
- /** Status */
2445
- status?: string | null;
2446
- };
2447
- InvalidParam: {
2448
- /** @example items[0].quantity */
2449
- field?: string;
2450
- /** @example Input should be greater than or equal to 1 */
2451
- error?: string;
2440
+ language: string;
2441
+ /**
2442
+ * Notification Title
2443
+ * @description In-App notification title
2444
+ */
2445
+ notification_title?: string | null;
2446
+ /**
2447
+ * Notification Body
2448
+ * @description In-App notification body
2449
+ */
2450
+ notification_body?: string | null;
2451
+ /**
2452
+ * Status
2453
+ * @description draft, active, disabled
2454
+ * @default draft
2455
+ */
2456
+ status: string;
2457
+ /** Org Inapp Template Id */
2458
+ org_inapp_template_id?: number | null;
2452
2459
  };
2453
2460
  /** WhatsAppContentCreateRequest */
2454
2461
  WhatsAppContentCreateRequest: {
@@ -2476,8 +2483,8 @@ export interface components {
2476
2483
  /** Org Whatsapp Template Id */
2477
2484
  org_whatsapp_template_id?: number | null;
2478
2485
  };
2479
- /** EmailTemplateCreateRequest */
2480
- EmailTemplateCreateRequest: {
2486
+ /** SmsTemplateCreateRequest */
2487
+ SmsTemplateCreateRequest: {
2481
2488
  /**
2482
2489
  * Template Name
2483
2490
  * @description Human-readable template name
@@ -2489,121 +2496,37 @@ export interface components {
2489
2496
  */
2490
2497
  language: string;
2491
2498
  /**
2492
- * Template Html
2493
- * @description Full HTML template body
2499
+ * Template Text
2500
+ * @description SMS template text with {{placeholders}}
2494
2501
  */
2495
- template_html?: string | null;
2496
- /** S3 Path */
2497
- s3_path?: string | null;
2502
+ template_text?: string | null;
2498
2503
  /** Description */
2499
2504
  description?: string | null;
2500
2505
  };
2501
- /**
2502
- * WebhookEndpointRegisterRequest
2503
- * @description Register a new org webhook endpoint.
2504
- */
2505
- WebhookEndpointRegisterRequest: {
2506
- /**
2507
- * Event Code
2508
- * @description Event code to subscribe to (e.g. order.created)
2509
- */
2510
- event_code: string;
2511
- /**
2512
- * Endpoint Name
2513
- * @description Human-friendly label
2514
- */
2515
- endpoint_name: string;
2516
- /**
2517
- * Endpoint Url
2518
- * @description HTTPS URL that will receive POST deliveries
2519
- */
2520
- endpoint_url: string;
2521
- /**
2522
- * Auth Type
2523
- * @description Authentication method for deliveries. hmac_sha256: server generates HMAC signing secret (returned once). bearer_token: provide bearer_token or server generates one. api_key_header: provide api_key_header_name + api_key_value. basic_auth: provide basic_auth_username + basic_auth_password. none: no authentication.
2524
- * @default hmac_sha256
2525
- */
2526
- auth_type: string;
2527
- /**
2528
- * Bearer Token
2529
- * @description bearer_token auth only. Omit to have the server generate a secure token.
2530
- */
2531
- bearer_token?: string | null;
2532
- /**
2533
- * Api Key Header Name
2534
- * @description api_key_header auth only. Header name (e.g. X-Api-Key).
2535
- */
2536
- api_key_header_name?: string | null;
2537
- /**
2538
- * Api Key Value
2539
- * @description api_key_header auth only. API key value.
2540
- */
2541
- api_key_value?: string | null;
2542
- /**
2543
- * Basic Auth Username
2544
- * @description basic_auth only.
2545
- */
2546
- basic_auth_username?: string | null;
2547
- /**
2548
- * Basic Auth Password
2549
- * @description basic_auth only.
2550
- */
2551
- basic_auth_password?: string | null;
2552
- /**
2553
- * Ssl Verify
2554
- * @default true
2555
- */
2556
- ssl_verify: boolean;
2557
- /**
2558
- * Timeout Seconds
2559
- * @default 10
2560
- */
2561
- timeout_seconds: number;
2562
- /**
2563
- * Max Retries
2564
- * @default 3
2565
- */
2566
- max_retries: number;
2567
- /**
2568
- * Max Requests Per Minute
2569
- * @default 60
2570
- */
2571
- max_requests_per_minute: number;
2572
- /**
2573
- * Event Filter Json
2574
- * @description AND-logic event filter conditions: [{"field":"data.status","operator":"eq","value":"completed"}]
2575
- */
2576
- event_filter_json?: {
2577
- [key: string]: unknown;
2578
- }[] | null;
2579
- /**
2580
- * Payload Template
2581
- * @description Custom payload template with {{field}} placeholders substituted from event data
2582
- */
2583
- payload_template?: {
2584
- [key: string]: unknown;
2585
- } | null;
2506
+ /** EmailTemplateCreateRequest */
2507
+ EmailTemplateCreateRequest: {
2586
2508
  /**
2587
- * Custom Headers
2588
- * @description Static headers merged into every delivery request
2509
+ * Template Name
2510
+ * @description Human-readable template name
2589
2511
  */
2590
- custom_headers?: {
2591
- [key: string]: string;
2592
- } | null;
2512
+ template_name: string;
2593
2513
  /**
2594
- * Skip Verification
2595
- * @description Skip the verification ping (useful for localhost/testing)
2596
- * @default false
2514
+ * Language
2515
+ * @default en-US
2597
2516
  */
2598
- skip_verification: boolean;
2517
+ language: string;
2599
2518
  /**
2600
- * Msd Webhook Endpoint Id
2601
- * @description Platform webhook endpoint this org endpoint overrides
2519
+ * Template Html
2520
+ * @description Full HTML template body
2602
2521
  */
2603
- msd_webhook_endpoint_id?: number | null;
2522
+ template_html?: string | null;
2523
+ /** S3 Path */
2524
+ s3_path?: string | null;
2525
+ /** Description */
2526
+ description?: string | null;
2604
2527
  };
2605
- /** InAppContentCreateRequest */
2606
- InAppContentCreateRequest: {
2528
+ /** EmailContentCreateRequest */
2529
+ EmailContentCreateRequest: {
2607
2530
  /**
2608
2531
  * Event Id
2609
2532
  * @description Event ID from msd_events_tbl
@@ -2614,24 +2537,24 @@ export interface components {
2614
2537
  * @default en-US
2615
2538
  */
2616
2539
  language: string;
2617
- /**
2618
- * Notification Title
2619
- * @description In-App notification title
2620
- */
2621
- notification_title?: string | null;
2622
- /**
2623
- * Notification Body
2624
- * @description In-App notification body
2625
- */
2626
- notification_body?: string | null;
2540
+ /** Org Email Template Id */
2541
+ org_email_template_id?: number | null;
2542
+ /** Email Subject */
2543
+ email_subject?: string | null;
2544
+ /** Email Greet */
2545
+ email_greet?: string | null;
2546
+ /** Email Body */
2547
+ email_body?: string | null;
2548
+ /** Email Signoff */
2549
+ email_signoff?: string | null;
2550
+ /** Email Security Footer */
2551
+ email_security_footer?: string | null;
2627
2552
  /**
2628
2553
  * Status
2629
2554
  * @description draft, active, disabled
2630
2555
  * @default draft
2631
2556
  */
2632
2557
  status: string;
2633
- /** Org Inapp Template Id */
2634
- org_inapp_template_id?: number | null;
2635
2558
  };
2636
2559
  /** InAppTemplateUpdateRequest */
2637
2560
  InAppTemplateUpdateRequest: {
@@ -2644,23 +2567,100 @@ export interface components {
2644
2567
  /** Description */
2645
2568
  description?: string | null;
2646
2569
  };
2647
- /** SmsTemplateCreateRequest */
2648
- SmsTemplateCreateRequest: {
2570
+ /** WhatsAppContentUpdateRequest */
2571
+ WhatsAppContentUpdateRequest: {
2572
+ /** Whatsapp Text */
2573
+ whatsapp_text?: string | null;
2574
+ /** Status */
2575
+ status?: string | null;
2576
+ /** Org Whatsapp Template Id */
2577
+ org_whatsapp_template_id?: number | null;
2578
+ };
2579
+ /**
2580
+ * WebhookEndpointUpdateRequest
2581
+ * @description Partial update for an org webhook endpoint.
2582
+ */
2583
+ WebhookEndpointUpdateRequest: {
2584
+ /** Endpoint Name */
2585
+ endpoint_name?: string | null;
2586
+ /** Endpoint Url */
2587
+ endpoint_url?: string | null;
2588
+ /** Ssl Verify */
2589
+ ssl_verify?: boolean | null;
2590
+ /** Timeout Seconds */
2591
+ timeout_seconds?: number | null;
2592
+ /** Max Retries */
2593
+ max_retries?: number | null;
2594
+ /** Max Requests Per Minute */
2595
+ max_requests_per_minute?: number | null;
2596
+ /** Event Filter Json */
2597
+ event_filter_json?: {
2598
+ [key: string]: unknown;
2599
+ }[] | null;
2600
+ /** Payload Template */
2601
+ payload_template?: {
2602
+ [key: string]: unknown;
2603
+ } | null;
2604
+ /** Custom Headers */
2605
+ custom_headers?: {
2606
+ [key: string]: string;
2607
+ } | null;
2649
2608
  /**
2650
- * Template Name
2651
- * @description Human-readable template name
2609
+ * Bearer Token
2610
+ * @description bearer_token auth only.
2652
2611
  */
2653
- template_name: string;
2612
+ bearer_token?: string | null;
2654
2613
  /**
2655
- * Language
2656
- * @default en-US
2614
+ * Api Key Value
2615
+ * @description api_key_header auth only.
2657
2616
  */
2658
- language: string;
2617
+ api_key_value?: string | null;
2659
2618
  /**
2660
- * Template Text
2661
- * @description SMS template text with {{placeholders}}
2619
+ * Api Key Header Name
2620
+ * @description api_key_header auth only.
2662
2621
  */
2663
- template_text?: string | null;
2622
+ api_key_header_name?: string | null;
2623
+ /**
2624
+ * Basic Auth Username
2625
+ * @description basic_auth only.
2626
+ */
2627
+ basic_auth_username?: string | null;
2628
+ /**
2629
+ * Basic Auth Password
2630
+ * @description basic_auth only.
2631
+ */
2632
+ basic_auth_password?: string | null;
2633
+ };
2634
+ /** EventChannelUpdateRequest */
2635
+ EventChannelUpdateRequest: {
2636
+ /** Is Enabled */
2637
+ is_enabled?: boolean | null;
2638
+ /** Priority */
2639
+ priority?: number | null;
2640
+ };
2641
+ ErrorResponse: {
2642
+ /** @example about:blank */
2643
+ type?: string;
2644
+ /** @example GENERIC_ERROR */
2645
+ code?: string;
2646
+ /** @example Client Error */
2647
+ title?: string;
2648
+ /** @example 400 */
2649
+ status?: number;
2650
+ /** @example An error occurred */
2651
+ detail?: string;
2652
+ /** @example /v1/cart/items */
2653
+ instance?: string;
2654
+ extensions?: components["schemas"]["Extensions"];
2655
+ };
2656
+ /** PushTemplateUpdateRequest */
2657
+ PushTemplateUpdateRequest: {
2658
+ /** Template Name */
2659
+ template_name?: string | null;
2660
+ /** Push Title Template */
2661
+ push_title_template?: string | null;
2662
+ /** Push Body Template */
2663
+ push_body_template?: string | null;
2664
2664
  /** Description */
2665
2665
  description?: string | null;
2666
2666
  };